/* ==========================================================================
   Zaki Production: styles.css
   Mobile-first. Brand tokens live in :root. Change them here to restyle.
   ========================================================================== */

:root {
  --bg: #0B0B0C;
  --bg-alt: #111113;
  --surface: #17171A;
  --line: rgba(243, 237, 228, .12);
  --text: #F3EDE4;          /* warm off-white: 17:1 on --bg */
  --muted: #B3ABA0;         /* 8.6:1 on --bg (AA+) */
  --gold: #C9A96E;          /* 9:1 on --bg */
  --gold-soft: rgba(201, 169, 110, .14);
  --ink: #0B0B0C;

  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 2px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 11vw, 9rem);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 300 1rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2.25rem, 7vw, 4.25rem); }
h3, .h3 { font-size: clamp(1.6rem, 4vw, 2rem); }
p { margin: 0 0 1rem; }
em { font-style: italic; color: var(--gold); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: fixed; left: 1rem; top: 1rem; transform: translateY(-200%); z-index: 200;
  background: var(--gold); color: var(--ink); padding: .75rem 1rem; font-weight: 500;
}
.skip-link:focus { transform: none; }
[hidden] { display: none !important; }

/* Film grain over everything: cinematic texture, zero network cost */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section-tight { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section-cta { margin-top: 3rem; text-align: center; }
.lead { color: var(--muted); font-size: 1.075rem; margin-top: 1.25rem; }

.eyebrow {
  display: flex; align-items: center; gap: .75rem;
  font: 500 .72rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.25rem;
}
.eyebrow .num { font-family: var(--serif); font-style: italic; font-size: 1rem; letter-spacing: 0; }
.eyebrow .num::after { content: ""; display: inline-block; width: 2.5rem; height: 1px; background: currentColor; margin-left: .75rem; vertical-align: middle; opacity: .6; }

/* ---------- Buttons ---------- */
.btn {
  --pad: 1rem 1.75rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: var(--pad);
  font: 500 .78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; border-radius: var(--radius); white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #d8bc86; }
.btn-ghost { border-color: rgba(243, 237, 228, .35); color: var(--text); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { --pad: .7rem 1.1rem; min-height: 40px; font-size: .7rem; }
.btn-block { width: 100%; }
.link-btn { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .2em; color: inherit; }

.icon { width: 20px; height: 20px; }
.social-row { display: flex; gap: .25rem; }
.social-row a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--text); transition: color .3s, background .3s;
}
.social-row a:hover { color: var(--gold); background: var(--gold-soft); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .nav-open .site-header {
  background: rgba(11, 11, 12, .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-color: var(--line);
}
/* backdrop-filter would trap the fixed mobile menu inside the header */
body.nav-open .site-header { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; }
.brand-name { font: 500 1.3rem/1 var(--serif); letter-spacing: .02em; display: none; }
.brand-name em { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-social { display: none; }

.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.lang-switch button {
  font: 500 .66rem/1 var(--sans); letter-spacing: .12em; padding: .5rem .55rem; border-radius: 999px;
  color: var(--muted); min-width: 34px; min-height: 30px; transition: color .3s, background .3s;
}
.lang-switch button[aria-pressed="true"] { background: var(--gold); color: var(--ink); }
.lang-switch button:hover:not([aria-pressed="true"]) { color: var(--text); }

.header-actions .btn-sm { display: none; }

.nav-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; }
.nav-toggle .bar { display: block; width: 24px; height: 1px; background: var(--text); transition: transform .4s var(--ease); }
.nav-toggle[aria-expanded="true"] .bar:first-of-type { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:last-of-type { transform: translateY(-4px) rotate(-45deg); }

.main-nav {
  position: fixed; inset: var(--header-h) 0 0; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2.5rem;
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
}
.nav-open .main-nav { opacity: 1; visibility: visible; }
.main-nav ul { text-align: center; }
.main-nav li a {
  display: block; padding: .45rem 1rem; text-decoration: none;
  font: 400 2.2rem/1.2 var(--serif); transition: color .3s;
}
.main-nav li a:hover { color: var(--gold); }
.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
  padding-block: calc(var(--header-h) + 3rem) clamp(5rem, 12vh, 8rem);
}
.hero-media { position: absolute; inset: -8% 0 0; z-index: -2; will-change: transform; }
.hero-video { width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,11,12,.55) 0%, rgba(11,11,12,.1) 35%, rgba(11,11,12,.85) 100%),
    radial-gradient(ellipse at 50% 40%, transparent 30%, rgba(11,11,12,.6) 100%);
}
/* Letterbox bars: open on load for a "cinema" moment */
.letterbox { position: absolute; left: 0; right: 0; height: 50vh; background: var(--bg); z-index: 2; pointer-events: none; animation: letterbox 1.6s .2s var(--ease) forwards; }
.letterbox-top { top: 0; transform-origin: top; }
.letterbox-bottom { bottom: 0; transform-origin: bottom; }
@keyframes letterbox { to { transform: scaleY(.06); } }

.hero-hud {
  position: absolute; top: calc(var(--header-h) + 1.25rem); right: var(--gutter); z-index: 3;
  display: flex; gap: 1rem; font: 500 .7rem/1 var(--sans); letter-spacing: .18em; color: rgba(243,237,228,.75);
  font-variant-numeric: tabular-nums; opacity: 0; animation: fade 1s 1.6s forwards;
}
.rec { display: inline-flex; align-items: center; gap: .45rem; }
.rec i { width: 7px; height: 7px; border-radius: 50%; background: #e0493a; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .2; } }
@keyframes fade { to { opacity: 1; } }

.hero-content { position: relative; z-index: 3; }
.hero-eyebrow { letter-spacing: .2em; line-height: 1.5; opacity: 0; animation: rise 1s 1.3s var(--ease) forwards; }
.hero-title { font-size: clamp(3.1rem, 13vw, 8.5rem); font-weight: 400; line-height: .95; margin-bottom: 1.5rem; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > * { display: inline-block; transform: translateY(105%); animation: lineup 1.2s var(--ease) forwards; }
.hero-title .line:nth-child(1) > * { animation-delay: 1.4s; }
.hero-title .line:nth-child(2) > * { animation-delay: 1.55s; }
@keyframes lineup { to { transform: none; } }
.hero-sub { max-width: 34rem; color: rgba(243,237,228,.85); font-size: 1.05rem; opacity: 0; animation: rise 1s 1.8s var(--ease) forwards; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; opacity: 0; animation: rise 1s 2s var(--ease) forwards; }
.hero-ctas .btn { flex: 1 1 12rem; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.scroll-cue { position: absolute; bottom: 1.5rem; left: 50%; translate: -50% 0; z-index: 3; width: 44px; height: 56px; display: grid; place-items: center; }
.scroll-cue span { width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Portfolio ---------- */
.filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter {
  min-height: 44px; padding: .6rem 1.1rem; border: 1px solid var(--line); border-radius: 999px;
  font: 500 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  transition: all .3s var(--ease);
}
.filter:hover { color: var(--text); border-color: rgba(243,237,228,.35); }
.filter.is-active { background: var(--text); color: var(--ink); border-color: var(--text); }

.masonry { columns: 2 150px; column-gap: .6rem; }
.m-item { break-inside: avoid; margin-bottom: .6rem; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.m-item.is-hidden { display: none; }
.m-item.is-entering { animation: rise .6s var(--ease) both; }
.m-open { position: relative; display: block; width: 100%; overflow: hidden; background: var(--surface); }
.m-open img { width: 100%; transition: transform 1.2s var(--ease), filter .8s; filter: saturate(.92); }
.m-open:hover img, .m-open:focus-visible img { transform: scale(1.045); filter: saturate(1.05); }
.m-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem .85rem .75rem; text-align: left;
  font: 400 .95rem/1.2 var(--serif); font-style: italic;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  opacity: 0; transform: translateY(8px); transition: all .5s var(--ease);
}
.m-open:hover .m-cap, .m-open:focus-visible .m-cap { opacity: 1; transform: none; }
@media (hover: none) { .m-cap { opacity: 1; transform: none; } }
.play {
  position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; translate: -50% -50%;
  border: 1px solid rgba(243,237,228,.7); border-radius: 50%; backdrop-filter: blur(4px);
  transition: transform .5s var(--ease), background .4s;
}
.play::after { content: ""; position: absolute; top: 50%; left: 54%; translate: -50% -50%; border: 9px solid transparent; border-left: 14px solid var(--text); border-right: 0; }
.m-open:hover .play { transform: scale(1.1); background: var(--gold-soft); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 150; background: rgba(6,6,7,.96);
  display: grid; place-items: center; padding: 4rem .5rem 3.5rem;
  animation: fade .35s forwards;
}
.lb-stage { width: 100%; height: 100%; display: grid; place-items: center; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; }
.lb-stage .lb-video { width: min(100%, 1100px); aspect-ratio: 16/9; background: #000; }
.lb-stage iframe, .lb-stage video { width: 100%; height: 100%; border: 0; }
.lb-empty { display: grid; place-items: center; height: 100%; color: var(--muted); text-align: center; padding: 1rem; font-family: var(--serif); font-size: 1.3rem; }
.lb-btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; color: var(--text); border-radius: 50%; transition: background .3s; }
.lb-btn:hover { background: var(--gold-soft); color: var(--gold); }
.lb-btn .icon { width: 26px; height: 26px; }
.lb-close { top: .75rem; right: .75rem; }
.lb-prev { left: .25rem; top: 50%; translate: 0 -50%; }
.lb-next { right: .25rem; top: 50%; translate: 0 -50%; }
.lb-caption { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; font: italic 1.05rem var(--serif); color: var(--muted); margin: 0; }

/* ---------- Services ---------- */
.cards { display: grid; gap: 1.25rem; }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 2.25rem 1.75rem; background: var(--surface); border: 1px solid var(--line);
}
.card h3 { font-size: 2.25rem; }
.card-sub { color: var(--muted); font-style: italic; font-family: var(--serif); font-size: 1.15rem; margin-top: .35rem; }
.price { margin: 1.5rem 0; padding-block: 1.25rem; border-block: 1px solid var(--line); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.price-val { display: block; margin-top: .4rem; font: 400 3rem/1 var(--serif); letter-spacing: 0; color: var(--text); text-transform: none; }
.checklist { margin-bottom: 2rem; flex: 1; }
.checklist li { position: relative; padding: .5rem 0 .5rem 1.75rem; color: rgba(243,237,228,.88); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: .85rem; height: 1px; background: var(--gold); }
.card-featured { border-color: var(--gold); background: linear-gradient(180deg, rgba(201,169,110,.10), var(--surface) 45%); }
.badge {
  position: absolute; top: 0; right: 1.5rem; translate: 0 -50%;
  background: var(--gold); color: var(--ink); padding: .45rem .85rem;
  font: 600 .64rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
}

/* ---------- About ---------- */
.about { display: grid; gap: 3rem; align-items: center; }
.about-photo { margin: 0; position: relative; }
.about-photo img { width: 100%; }
.about-frame { display: block; position: relative; isolation: isolate; margin-right: 1.25rem; }
.about-frame::before { content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; border: 1px solid var(--gold); opacity: .45; z-index: -1; }
.about-photo figcaption { margin-top: 2rem; font: italic 1rem var(--serif); color: var(--muted); }
.about-text h2 { margin-bottom: 1.5rem; }
.about-text > p { color: rgba(243,237,228,.88); font-size: 1.05rem; }
.pillars { display: grid; gap: 1rem; margin: 2rem 0; }
.pillars li { padding-left: 1rem; border-left: 1px solid var(--gold); }
.pillars strong { display: block; font: 500 1.35rem/1.2 var(--serif); }
.pillars span { color: var(--muted); font-size: .95rem; }

/* ---------- Process ---------- */
.steps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { background: var(--bg-alt); padding: 2rem 1.5rem; display: flex; flex-direction: column; }
.step-num { font: italic 400 3.5rem/1 var(--serif); color: var(--gold); margin-bottom: 1rem; }
.step h3 { margin-bottom: .75rem; }
.step p { color: var(--muted); flex: 1; }
.step-time { display: inline-block; margin-top: .75rem; font: 500 .7rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }

/* ---------- Testimonials ---------- */
.carousel { position: relative; }
.carousel-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  scroll-behavior: smooth; gap: 1rem;
}
.carousel-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; margin: 0; padding: 1rem 0; text-align: center; }
.stars { color: var(--gold); letter-spacing: .3em; margin-bottom: 1.5rem; }
.slide blockquote { margin: 0 auto 1.75rem; max-width: 50rem; font: 400 clamp(1.6rem, 4.6vw, 2.6rem)/1.25 var(--serif); font-style: italic; }
.slide figcaption { color: var(--muted); font-size: .9rem; letter-spacing: .06em; }
.slide figcaption strong { color: var(--text); font-weight: 500; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; }
.c-btn { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: border-color .3s, color .3s; }
.c-btn:hover { border-color: var(--gold); color: var(--gold); }
.dots { display: flex; gap: .25rem; }
.dots button { width: 32px; height: 44px; display: grid; place-items: center; }
.dots button::after { content: ""; width: 20px; height: 2px; background: var(--line); transition: background .3s, width .3s; }
.dots button[aria-selected="true"]::after { background: var(--gold); width: 28px; }

/* ---------- Instagram ---------- */
.insta-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.insta-head h2 a { text-decoration: none; }
.insta-head h2 a:hover { color: var(--gold); }
.insta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .35rem; }
.insta-grid a { display: block; overflow: hidden; }
.insta-grid img { transition: transform 1s var(--ease), opacity .4s; }
.insta-grid a:hover img { transform: scale(1.06); opacity: .8; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; gap: 1rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.5rem 3rem 1.5rem 0; font: 500 1.3rem/1.3 var(--serif); transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before {
  content: ""; position: absolute; right: .5rem; top: 50%; width: 16px; height: 1px; background: var(--gold);
  transition: transform .4s var(--ease);
}
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0); }
.faq summary:hover { color: var(--gold); }
.faq-a { padding: 0 2rem 1.5rem 0; color: var(--muted); }
.faq details[open] .faq-a { animation: rise .5s var(--ease); }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 3rem; }
.contact-intro h2 { margin-bottom: .5rem; }
.contact-direct { display: grid; gap: .75rem; margin-top: 2rem; }
.direct-link {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; min-height: 64px;
  border: 1px solid var(--line); text-decoration: none; transition: border-color .3s, background .3s;
}
.direct-link:hover { border-color: var(--gold); background: var(--gold-soft); }
.direct-link .icon { width: 26px; height: 26px; color: var(--gold); flex: none; }
.direct-link small { display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.direct-link strong { font-weight: 400; word-break: break-all; }
.direct-wa .icon { color: #25D366; }

.form { display: grid; gap: 1.1rem; background: var(--surface); border: 1px solid var(--line); padding: clamp(1.5rem, 4vw, 2.5rem); }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label { font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .8rem .9rem;
  background: var(--bg); border: 1px solid rgba(243,237,228,.22); border-radius: var(--radius);
  font-size: 1rem; /* 16px prevents iOS zoom */ transition: border-color .3s;
  color-scheme: dark;
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23C9A96E' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.field [aria-invalid="true"] { border-color: #e28a7e; }
.field-check { flex-direction: row; align-items: flex-start; gap: .75rem; }
.field-check input { width: 22px; height: 22px; min-height: 0; flex: none; margin-top: .1rem; accent-color: var(--gold); }
.field-check label { text-transform: none; letter-spacing: 0; font-size: .88rem; font-weight: 300; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-actions .btn { flex: 1 1 14rem; }
.form-status { margin: 0; font-size: .92rem; flex: 1 1 100%; }
.form-status.ok { color: #9fd3a8; }
.form-status.err { color: #f0a597; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-top: 4rem; background: var(--bg); }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand img { margin-bottom: 1.25rem; }
.footer-brand p { color: var(--muted); max-width: 22rem; font-size: .95rem; }
.footer-brand .social-row { margin-left: -.6rem; }
.footer-h { font: 500 .72rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.footer-links li { padding: .3rem 0; font-size: .95rem; color: var(--muted); }
.footer-links a { text-decoration: none; color: var(--text); display: inline-block; padding-block: .2rem; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.5rem calc(1.5rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.footer-bottom p { margin: 0; }
.to-top { text-decoration: none; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.45);
  transition: transform .4s var(--ease);
  animation: rise .8s 2.6s var(--ease) both;
}
.wa-float .icon { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ping 2.6s 3.5s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 120;
  background: var(--surface); border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0,0,0,.6);
  animation: rise .6s var(--ease);
}
.cookie-inner { padding: 1.25rem; }
.cookie-title { font-size: 1.4rem; margin-bottom: .5rem; }
.cookie p { color: var(--muted); font-size: .9rem; }
.cookie-prefs { display: grid; gap: .6rem; margin-bottom: 1rem; font-size: .92rem; }
.cookie-prefs label { display: flex; align-items: center; gap: .6rem; min-height: 32px; }
.cookie-prefs input { width: 20px; height: 20px; accent-color: var(--gold); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-actions .btn { flex: 1 1 auto; }
.cookie-link { display: inline-block; margin-top: .75rem; font-size: .8rem; color: var(--muted); }
.cookie-open .wa-float { bottom: calc(1rem + var(--cookie-h, 0px)); }

/* ==========================================================================
   Breakpoints (mobile-first)
   ========================================================================== */
@media (min-width: 560px) {
  .brand-name { display: inline; }
  .masonry { columns: 2; column-gap: .9rem; }
  .m-item { margin-bottom: .9rem; }
  .contact-direct { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr 1fr; }
  .field-full { grid-column: 1 / -1; }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .cookie { right: auto; left: 1.25rem; bottom: 1.25rem; max-width: 440px; }
}

@media (min-width: 800px) {
  :root { --header-h: 80px; }
  .header-actions .btn-sm { display: inline-flex; }
  .masonry { columns: 3; }
  .cards { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .card-featured { transform: translateY(-1rem); }
  .js .card-featured.reveal.is-visible { transform: translateY(-1rem); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 5fr 6fr; gap: clamp(3rem, 7vw, 6rem); }
  .insta-grid { grid-template-columns: repeat(6, 1fr); }
  .faq-wrap { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; }
  .contact { grid-template-columns: 5fr 7fr; gap: 4rem; align-items: start; }
  .contact-direct { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1.3fr 1.3fr; }
  .lb-prev { left: 1rem; } .lb-next { right: 1rem; }
  .hero-ctas .btn { flex: 0 0 auto; }
}

@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .header-social { display: flex; }
  .main-nav {
    position: static; inset: auto; background: none; opacity: 1; visibility: visible;
    flex-direction: row; gap: 0;
  }
  .main-nav ul { display: flex; gap: .25rem; }
  .main-nav li a {
    font: 400 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
    padding: .9rem .75rem; position: relative;
  }
  .main-nav li a::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .55rem; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
  .main-nav li a:hover::after, .main-nav li a.is-current::after { transform: scaleX(1); }
  .nav-mobile-extra { display: none; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .masonry { column-gap: 1.1rem; }
  .m-item { margin-bottom: 1.1rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .grain { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
