/* ==========================================================================
   De Kok Auto - design system (no framework, no external requests)
   ========================================================================== */
:root {
	--bg: #fbfbfd; --bg-2: #f2f2f5; --ink: #1d1d1f; --muted: #6e6e73; --line: rgba(0, 0, 0, .09);
	--dark: #0b0b0d; --dark-2: #151517; --on-dark: #f5f5f7; --on-dark-muted: #a1a1a6;
	--accent: #feed00; --accent-2: #e84b3a; --accent-ink: #1d1d1f;
	--radius: 28px; --radius-sm: 18px;
	--ease: cubic-bezier(.16, 1, .3, 1); --ease-soft: cubic-bezier(.22, .61, .36, 1);
	--shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 40px -12px rgba(0, 0, 0, .18);
	--shadow-lg: 0 2px 4px rgba(0, 0, 0, .05), 0 30px 70px -20px rgba(0, 0, 0, .35);
	--header-h: 76px;
	--font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font: 400 1.0625rem/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(1.85rem, 3.6vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -.02em; }
p { text-wrap: pretty; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--muted); font-weight: 400; letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.i { width: 1.15em; height: 1.15em; flex: none; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 12px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(860px, 100% - 40px); }
.wrap.wide { width: min(1440px, 100% - 32px); }
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section > .wrap > h2 { margin-bottom: clamp(28px, 4vw, 48px); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 52px); display: grid; gap: 14px; }
.eyebrow { font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.dark-eyebrow { color: #8a7d00; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .85em 1.5em; border-radius: 980px; border: 1px solid transparent; font: 600 1rem/1 var(--font); letter-spacing: -.01em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .5s var(--ease), background-color .3s, box-shadow .5s var(--ease), color .3s, border-color .3s; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 20px -6px rgba(254, 237, 0, .55); }
.btn-primary:hover { background: #fff35a; transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(254, 237, 0, .6); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .28); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .22); transform: translateY(-2px); }
.btn-lg { padding: 1.05em 1.8em; font-size: 1.0625rem; }
.btn-sm { padding: .62em 1.1em; font-size: .9375rem; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips a { display: inline-flex; padding: .5em 1.05em; border-radius: 980px; font-size: .9375rem; font-weight: 500; text-decoration: none; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background .3s, transform .5s var(--ease), color .3s; }
.chips a:hover { background: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); color: #fff; transition: background-color .5s var(--ease), box-shadow .5s, color .4s, transform .6s var(--ease); }
.site-header .bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1360px, 100% - 32px); }
.site-header.is-scrolled { background: rgba(251, 251, 253, .76); color: var(--ink); -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px); box-shadow: 0 1px 0 var(--line); }
.brand { display: block; flex: none; }
.brand img { height: 46px; width: auto; border-radius: 10px; transition: transform .6s var(--ease); }
.brand:hover img { transform: scale(1.04); }
.nav ul { display: flex; align-items: center; gap: 2px; }
.nav a { display: block; padding: .55em .95em; border-radius: 980px; font-size: .9375rem; font-weight: 500; text-decoration: none; letter-spacing: -.01em; opacity: .92; transition: background-color .3s, opacity .3s; }
.nav > ul > li > a:hover, .nav a[aria-current="page"] { background: rgba(255, 255, 255, .16); opacity: 1; }
.site-header.is-scrolled .nav > ul > li > a:hover, .site-header.is-scrolled .nav a[aria-current="page"] { background: rgba(0, 0, 0, .06); }
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle { display: none; }
.sub { position: absolute; top: calc(100% + 10px); left: 50%; min-width: 260px; padding: 8px; flex-direction: column; align-items: stretch; background: rgba(29, 29, 31, .92); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .08); opacity: 0; visibility: hidden; transform: translate(-50%, 10px) scale(.97); transform-origin: top center; transition: opacity .35s var(--ease), transform .5s var(--ease), visibility .35s; display: flex; }
.sub a { color: #f5f5f7; border-radius: 12px; }
.sub a:hover, .sub a[aria-current="page"] { background: rgba(255, 255, 255, .12) !important; }
.has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.is-open .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.bar-end { display: flex; align-items: center; gap: 10px; flex: none; }
.lang { padding: .45em .8em; border-radius: 980px; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; border: 1px solid currentColor; opacity: .85; transition: background .3s, color .3s, opacity .3s; }
.lang:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); opacity: 1; }
.burger { display: none; position: relative; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; border-radius: 50%; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.nav-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1100px) { .call span { display: none; } .call { padding: .7em; } }
@media (max-width: 980px) {
	:root { --header-h: 66px; }
	.brand img { height: 40px; }
	.burger { display: block; }
	.nav { position: fixed; inset: 0; padding: calc(var(--header-h) + 16px) 24px 40px; background: rgba(11, 11, 13, .97); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); color: #fff; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
	.nav-open .nav { opacity: 1; visibility: visible; }
	.nav ul { flex-direction: column; align-items: stretch; gap: 0; max-width: 560px; margin-inline: auto; }
	.nav ul > li { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
	.nav-open .nav ul > li { opacity: 1; transform: none; transition-delay: calc(var(--n, 0) * 45ms + 120ms); }
	.nav a { padding: .55em 0; font-size: clamp(1.4rem, 5.5vw, 1.9rem); font-weight: 650; letter-spacing: -.02em; border-radius: 0; }
	.nav > ul > li > a:hover, .nav a[aria-current="page"] { background: none; color: var(--accent); }
	.has-sub { flex-wrap: wrap; }
	.has-sub::after { display: none; }
	.sub-toggle { display: none; }
	.sub { position: static; flex: 0 0 100%; min-width: 0; background: none; box-shadow: none; border: 0; padding: 0 0 8px 14px; opacity: 1; visibility: inherit; transform: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-left: 1px solid rgba(255, 255, 255, .16); margin-left: 2px; }
	.sub a { font-size: 1.05rem; font-weight: 500; padding: .35em 0; opacity: .8; }
	.nav-open .site-header, .site-header.nav-open { color: #fff; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
	body.nav-open { overflow: hidden; }
	.site-header.nav-open .brand, .site-header.nav-open .bar-end { position: relative; z-index: 2; }
}

/* ---------- hero ---------- */
.hero, .page-hero { position: relative; color: #fff; background: var(--dark); overflow: hidden; isolation: isolate; }
.hero { min-height: 100svh; min-height: max(640px, 100svh); display: grid; align-items: end; }
.hero-bg, .page-hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s var(--ease-soft); }
.hero-slide.is-active { opacity: 1; }
.hero-slide img, .page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide img { transform: scale(1.1); transition: transform 9s linear; }
.hero-slide.is-active img { transform: scale(1); }
.page-hero-bg img { transform: scale(1.06); transition: transform 2.4s var(--ease); }
.is-ready .page-hero-bg img { transform: scale(1); }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 11, 13, .62) 0%, rgba(11, 11, 13, .18) 38%, rgba(11, 11, 13, .86) 100%), linear-gradient(90deg, rgba(11, 11, 13, .62) 0%, rgba(11, 11, 13, 0) 65%); }
.hero-shade.solid { background: radial-gradient(900px 420px at 85% 0%, rgba(254, 237, 0, .16), transparent 60%), linear-gradient(180deg, #1c1c1f, #0b0b0d); }
.hero-inner { padding: calc(var(--header-h) + 60px) 0 clamp(72px, 11vh, 120px); }
.hero h1 { font-size: clamp(2.5rem, 7vw, 5.6rem); letter-spacing: -.045em; line-height: 1; max-width: 15ch; margin-bottom: 22px; }
.hero .lead, .page-hero .lead { color: rgba(255, 255, 255, .82); max-width: 40em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-dots { position: absolute; right: max(20px, calc((100% - 1200px) / 2)); bottom: 38px; display: flex; gap: 8px; }
.hero-dots button { width: 34px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .3); cursor: pointer; position: relative; overflow: hidden; }
.hero-dots button::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-dots button.is-active::after { animation: dot 6s linear forwards; }
@keyframes dot { to { transform: scaleX(1); } }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 24px; height: 38px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 14px; transform: translateX(-50%); display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: #fff; animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (min-width: 900px) and (min-height: 700px) { .scroll-cue { display: block; } }

.page-hero { min-height: clamp(440px, 64svh, 640px); display: grid; align-items: end; }
.page-hero.compact { min-height: clamp(340px, 46svh, 460px); }
.page-hero-inner { padding: calc(var(--header-h) + 36px) 0 clamp(44px, 7vh, 80px); }
.page-hero h1 { font-size: clamp(2.2rem, 5.4vw, 4.2rem); letter-spacing: -.04em; max-width: 18ch; margin-bottom: 18px; }
.page-hero .count { display: inline-block; margin-left: .4em; padding: .15em .7em; font-size: .85em; border-radius: 980px; background: rgba(255, 255, 255, .12); color: #fff; }
.crumbs { margin-bottom: 26px; font-size: .875rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; color: rgba(255, 255, 255, .7); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: #fff; }

/* hero entrance (above the fold: runs on load, not on scroll) */
.js [data-hero-in] { opacity: 0; transform: translate3d(0, 30px, 0); filter: blur(6px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease), filter 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 110ms + 150ms); }
.js .is-ready [data-hero-in] { opacity: 1; transform: none; filter: none; }

/* ---------- reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 38px, 0); transition: opacity 1s var(--ease), transform 1.25s var(--ease); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
.js [data-reveal="scale"] { transform: translate3d(0, 44px, 0) scale(.955); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal].is-done { will-change: auto; transition-delay: 0ms; }

/* ---------- stats ---------- */
.stats { padding: clamp(40px, 6vw, 72px) 0 0; margin-top: -1px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { padding: 28px 26px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.stat strong { display: block; font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 750; letter-spacing: -.04em; line-height: 1; margin-bottom: 14px; }
.stat h3 { font-size: 1rem; margin-bottom: 6px; }
.stat p { font-size: .9375rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- bento services ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.tile { position: relative; grid-column: span 12; min-height: 340px; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; display: flex; align-items: flex-end; background: var(--dark); box-shadow: var(--shadow); transition: box-shadow .6s var(--ease); }
.tile:hover { box-shadow: var(--shadow-lg); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 11, 13, 0) 30%, rgba(11, 11, 13, .88) 100%); }
.tile-body { padding: clamp(22px, 3vw, 36px); max-width: 34em; }
.tile h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 8px; }
.tile p { color: rgba(255, 255, 255, .82); font-size: 1rem; line-height: 1.45; }
.more { display: inline-flex; align-items: center; gap: .4em; margin-top: 14px; font-weight: 600; font-size: .9375rem; }
.more .i { transition: transform .5s var(--ease); }
.tile:hover .more .i, .card-sm:hover .more .i { transform: translateX(5px); }
@media (min-width: 900px) {
	.tile { min-height: 420px; }
	.tile:nth-child(4n+1), .tile:nth-child(4n+4) { grid-column: span 7; }
	.tile:nth-child(4n+2), .tile:nth-child(4n+3) { grid-column: span 5; }
	.tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------- split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.rev .split-text { order: 2; }
.split-text { display: grid; gap: 18px; align-content: start; }
.split-text h2 { margin-bottom: 4px; }
.split-text p { color: var(--muted); }
.split-text .lead { color: var(--ink); font-weight: 500; }
.frame { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--bg-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0) scale(1.14); will-change: transform; }
.split-media { margin: 0; }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; } .split.rev .split-text { order: 0; } }

.dark { background: var(--dark); color: var(--on-dark); }
.dark .split-text p, .dark .lead { color: var(--on-dark-muted); }
.dark .split-text .lead { color: #fff; }
.dark .eyebrow { color: var(--accent); }
.dark a { text-decoration-color: rgba(255, 255, 255, .4); }

/* ---------- checklist ---------- */
.checklist { background: var(--bg-2); }
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.check-grid li { display: flex; gap: 14px; align-items: flex-start; padding: 22px; background: #fff; border-radius: var(--radius-sm); border: 1px solid var(--line); font-weight: 500; line-height: 1.4; letter-spacing: -.01em; }
.check-grid .i, .points .i { flex: none; width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); stroke-width: 2.4; }
@media (max-width: 900px) { .check-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .check-grid { grid-template-columns: 1fr; } }

/* ---------- article layout ---------- */
.split-article { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.prose { display: grid; gap: 22px; max-width: 64ch; }
.prose p { color: var(--muted); font-size: 1.125rem; }
.prose .lead { color: var(--ink); font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.4; }
.points { position: sticky; top: calc(var(--header-h) + 24px); padding: 34px; border-radius: var(--radius); background: var(--dark); color: var(--on-dark); box-shadow: var(--shadow-lg); display: grid; gap: 18px; }
.points h2 { font-size: 1.5rem; margin: 0; }
.points ul { display: grid; gap: 14px; }
.points li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.4; }
.points .btn { margin-top: 8px; }
.price-card { margin-top: 12px; padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.price-card h2 { font-size: 1.5rem; margin-bottom: 18px; }
.price-card dl { margin: 0; display: grid; }
.price-card dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.price-card dt { color: var(--muted); } .price-card dd { margin: 0; font-weight: 700; text-align: right; }
.price-card .note { margin-top: 14px; font-size: .875rem; color: var(--muted); }
@media (max-width: 899px) { .split-article { grid-template-columns: 1fr; } .points { position: static; } }

/* ---------- steps ---------- */
.steps { background: var(--bg-2); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.steps-grid li { padding: 32px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: grid; gap: 10px; }
.steps-grid .num { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; margin-bottom: 8px; }
.steps-grid p { color: var(--muted); }
@media (max-width: 800px) { .steps-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item { border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); transition: box-shadow .5s var(--ease), border-color .3s; }
.faq-item[open] { box-shadow: var(--shadow); border-color: rgba(0, 0, 0, .14); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 26px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.0625rem; letter-spacing: -.015em; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .i { width: 22px; height: 22px; transition: transform .5s var(--ease); color: var(--muted); }
.faq-item[open] summary .i { transform: rotate(180deg); }
.faq-a { padding: 0 26px 24px; color: var(--muted); }
.faq-item[open] .faq-a { animation: faqIn .6s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- related cards ---------- */
.related { background: var(--bg); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card-sm { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; box-shadow: var(--shadow); transition: box-shadow .6s var(--ease); }
.card-sm:hover { box-shadow: var(--shadow-lg); }
.card-sm-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-2); }
.card-sm-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card-sm:hover .card-sm-img img { transform: scale(1.06); }
.card-sm-body { padding: 24px 26px 28px; display: grid; gap: 8px; }
.card-sm-body p { color: var(--muted); font-size: .9375rem; line-height: 1.45; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact { position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 700px; height: 700px; right: -220px; top: -260px; background: radial-gradient(closest-side, rgba(254, 237, 0, .14), transparent); pointer-events: none; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; position: relative; }
.contact-info { display: grid; gap: 20px; }
.contact-info h2 { color: #fff; }
.info-list { display: grid; gap: 14px; margin-top: 12px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .i { width: 44px; height: 44px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .08); color: var(--accent); }
.info-list span { display: block; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 2px; }
.info-list a { text-decoration: none; font-weight: 600; } .info-list a:hover { color: var(--accent); }
.form { display: grid; gap: 16px; padding: clamp(24px, 3.5vw, 40px); border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: .875rem; font-weight: 500; color: var(--on-dark-muted); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .07); color: #fff; font: inherit; font-size: 1rem; transition: border-color .3s, background .3s, box-shadow .3s; }
.form textarea { resize: vertical; min-height: 130px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); background: rgba(255, 255, 255, .1); box-shadow: 0 0 0 4px rgba(254, 237, 0, .16); }
.form .check { display: flex; gap: 12px; align-items: flex-start; font-size: .875rem; line-height: 1.45; }
.form .check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.form .btn { justify-self: start; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.form-status { min-height: 1.4em; font-size: .9375rem; }
.form-status.ok { color: #7ee787; } .form-status.err { color: #ff8a80; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; } .form .row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: #000; color: var(--on-dark-muted); padding: 72px 0 36px; font-size: .9375rem; }
.site-footer a { text-decoration: none; transition: color .3s; } .site-footer a:hover { color: var(--accent); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.foot-brand img { height: 52px; width: auto; border-radius: 10px; margin-bottom: 18px; }
.foot-brand p { line-height: 1.8; }
.site-footer h3 { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 16px; font-weight: 600; }
.site-footer li { margin-bottom: 10px; }
.partner { background: #fff; border-radius: 12px; padding: 8px 12px; width: auto; height: 56px; object-fit: contain; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 28px; font-size: .875rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } .site-footer { padding-bottom: 96px; } }

.mobile-cta { display: none; }
@media (max-width: 720px) {
	.hero-actions { display: none; } /* the fixed call bar below already carries both actions */
	.hero-inner { padding-bottom: 110px; }
	.mobile-cta { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90; display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; padding: 8px; border-radius: 22px; background: rgba(29, 29, 31, .78); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%); box-shadow: var(--shadow-lg); transition: transform .6s var(--ease), opacity .4s; }
	.mobile-cta.is-hidden { transform: translateY(140%); opacity: 0; }
	.mobile-cta .btn { padding: .85em 1em; }
}

/* ---------- masonry gallery ---------- */
.gallery { padding-top: clamp(40px, 6vw, 72px); }
.masonry { column-count: 2; column-gap: 10px; }
@media (min-width: 700px) { .masonry { column-count: 3; column-gap: 16px; } }
@media (min-width: 1200px) { .masonry { column-count: 4; column-gap: 20px; } }
.m-item { position: relative; display: block; width: 100%; margin: 0 0 10px; border-radius: 16px; overflow: hidden; break-inside: avoid; aspect-ratio: var(--ar); background: linear-gradient(110deg, #e9e9ee 30%, #f6f6f9 50%, #e9e9ee 70%) 0 0 / 200% 100%; cursor: zoom-in; -webkit-tap-highlight-color: transparent; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); transition: box-shadow .7s var(--ease); }
@media (min-width: 700px) { .m-item { margin-bottom: 16px; border-radius: 20px; } }
@media (min-width: 1200px) { .m-item { margin-bottom: 20px; border-radius: 22px; } }
.m-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease), opacity .9s var(--ease-soft); }
.js .m-item img { opacity: 0; }
.js .m-item img.is-loaded { opacity: 1; }
.m-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .35)); opacity: 0; transition: opacity .6s var(--ease); }
.m-item:hover { box-shadow: var(--shadow-lg); }
.m-item:hover img { transform: scale(1.06); }
.m-item:hover::after { opacity: 1; }
.js .m-item { opacity: 0; transform: translate3d(0, 34px, 0) scale(.97); transition: opacity 1s var(--ease), transform 1.2s var(--ease), box-shadow .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .m-item.is-in { opacity: 1; transform: none; }
.js .m-item.is-done { transition-delay: 0ms; }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(0, 0, 0, .93); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; touch-action: pan-y; }
.lb.is-open { opacity: 1; visibility: visible; }
.lb-stage { width: 100%; height: 100%; display: grid; place-items: center; padding: 64px 16px; }
.lb-img { max-width: min(94vw, 1500px); max-height: calc(100svh - 128px); width: auto; height: auto; border-radius: 14px; box-shadow: 0 40px 100px rgba(0, 0, 0, .6); opacity: 0; transform: scale(.96); transition: opacity .45s var(--ease), transform .7s var(--ease); }
.lb.is-open .lb-img.is-shown { opacity: 1; transform: none; }
.lb button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .3s, transform .5s var(--ease); }
.lb button:hover { background: rgba(255, 255, 255, .24); }
.lb-close { top: 16px; right: 16px; } .lb-prev { left: 16px; top: 50%; margin-top: -24px; } .lb-next { right: 16px; top: 50%; margin-top: -24px; }
.lb-prev:hover { transform: translateX(-3px); } .lb-next:hover { transform: translateX(3px); }
.lb-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .7); font-size: .875rem; letter-spacing: .08em; }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 14px; margin: 0; } .lb-prev { left: 14px; } .lb-next { right: 14px; } }
body.lb-open { overflow: hidden; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
	.js [data-reveal], .js [data-hero-in], .js .m-item { opacity: 1 !important; transform: none !important; filter: none !important; }
	.hero-slide img, .page-hero-bg img, .frame img { transform: none !important; }
}
@media print { .site-header, .mobile-cta, .hero-dots, .scroll-cue { display: none !important; } }
