/* =====================================================================
   GOPIKA – Digital Marketer in Kerala · style.css
   Design system: cinematic dark, one accent (gold), film grain, vignette.
   Change the whole palette from the :root block only.
   Fonts (put in every <head>, see README in main.js header):
   Instrument Serif (display) + Hanken Grotesk (body)
   ===================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  --bg: #07070a;            /* film black */
  --bg-2: #0e0e13;          /* raised surface */
  --bg-3: #16161d;          /* card surface */
  --ink: #f3efe6;           /* warm white text */
  --ink-2: #b9b4a7;         /* secondary text (AA on --bg) */
  --ink-3: #8a8679;         /* tertiary, large text only */
  --accent: #e8b04a;        /* GOLD. Alt: electric red #ff3b30 / neon teal #19f0d0 */
  --accent-2: #ffd98a;      /* lighter accent for glows */
  --accent-rgb: 232, 176, 74;
  --line: rgba(243, 239, 230, .12);
  --glass: rgba(255, 255, 255, .045);
  --glass-b: rgba(255, 255, 255, .1);

  --f-display: "Instrument Serif", "Times New Roman", Georgia, serif;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: clamp(.82rem, .8rem + .1vw, .9rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.1rem);
  --step-1: clamp(1.25rem, 1.1rem + .7vw, 1.6rem);
  --step-2: clamp(1.7rem, 1.3rem + 1.8vw, 2.6rem);
  --step-3: clamp(2.3rem, 1.5rem + 3.6vw, 4.2rem);
  --step-hero: clamp(3.4rem, 1.2rem + 11vw, 11.5rem);

  --wrap: 1240px;
  --gut: clamp(1.1rem, 4vw, 2.5rem);
  --sec: clamp(4.5rem, 10vw, 9rem);
  --r-sm: 10px; --r-md: 18px; --r-lg: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 72px;
}

/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--step-0)/1.7 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
::selection { background: var(--accent); color: #000; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.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: -4rem; z-index: 10001; background: var(--accent); color: #000; padding: .6rem 1rem; border-radius: var(--r-sm); transition: top .2s; }
.skip-link:focus { top: 1rem; }

/* ---------- 3. TYPOGRAPHY ---------- */
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: .98; letter-spacing: -.015em; }
h1 { font-size: var(--step-hero); }
.h1-inner { font-size: var(--step-3); line-height: 1; }   /* use on inner pages: <h1 class="h1-inner"> */
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); line-height: 1.05; }
h4 { font-family: var(--f-body); font-size: var(--step-1); font-weight: 600; line-height: 1.25; }
p { max-width: 68ch; color: var(--ink-2); }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--ink); max-width: 56ch; }
.muted { color: var(--ink-3); }
.accent { color: var(--accent); }
em.serif { font-family: var(--f-display); font-style: italic; }
.tag { display: inline-block; font-size: var(--step--1); font-weight: 600; letter-spacing: .02em; color: var(--accent); border: 1px solid rgba(var(--accent-rgb), .4); padding: .25rem .8rem; border-radius: 99px; }

/* ---------- 4. LAYOUT ---------- */
.wrap { width: min(100% - var(--gut) * 2, var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--sec); position: relative; }
.section--tight { padding-block: calc(var(--sec) * .6); }
.section-head { display: grid; gap: 1.2rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
.grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--wide-l { grid-template-columns: 1.2fr .8fr; } }
main { display: block; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); border: 0; margin: 0; }

/* ---------- 5. FILM LAYERS (grain, vignette, glow) ---------- */
.grain, .vignette { position: fixed; inset: 0; pointer-events: none; z-index: 9000; }
.grain { opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1s 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)} }
.vignette { background: radial-gradient(ellipse at center, transparent 55%, rgba(0,0,0,.55) 100%); z-index: 8999; }
.glow-orb { position: absolute; width: 36vw; height: 36vw; max-width: 520px; max-height: 520px; border-radius: 50%; filter: blur(80px); pointer-events: none;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .35), transparent 65%); animation: float 9s ease-in-out infinite; }
@keyframes float { 50% { transform: translate3d(3%, -6%, 0) scale(1.08); } }

/* Cinematic image treatment: dark duotone + overlay. Wrap images in .cine */
.cine { position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--bg-3); isolation: isolate; }
.cine img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.45) contrast(1.08) brightness(.8) saturate(1.1); transition: transform 1.2s var(--ease), filter .6s; }
.cine::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,7,10,.1) 30%, rgba(7,7,10,.78)), linear-gradient(135deg, rgba(var(--accent-rgb), .22), transparent 55%); mix-blend-mode: normal; }
.cine:hover img { transform: scale(1.07); filter: grayscale(.1) contrast(1.05) brightness(.92); }
.cine--art { aspect-ratio: 4/3; background: radial-gradient(circle at 30% 20%, rgba(var(--accent-rgb), .45), transparent 55%), linear-gradient(160deg, #1b1b24, #0a0a0e); }

/* ---------- 6. PRELOADER & PAGE TRANSITION ---------- */
.preloader { position: fixed; inset: 0; z-index: 10000; background: var(--bg); display: grid; place-items: center; transition: transform .9s var(--ease) .1s; }
.preloader__inner { display: grid; justify-items: center; gap: 1.2rem; }
.preloader svg { width: clamp(90px, 18vw, 150px); overflow: visible; }
.preloader__path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.4s var(--ease) forwards; }
.preloader__name { font-family: var(--f-display); font-size: var(--step-2); letter-spacing: .02em; opacity: 0; animation: fadeIn .8s .7s forwards; }
.preloader__bar { width: min(220px, 50vw); height: 2px; background: var(--line); overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; animation: bar 1.5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes bar { to { transform: scaleX(1); } }
.is-loaded .preloader { transform: translateY(-100%); pointer-events: none; }
.wipe { position: fixed; inset: 0; z-index: 9999; background: var(--accent); transform: translateY(101%); pointer-events: none; transition: transform .55s var(--ease); }
.wipe.is-in { transform: translateY(0); }
.wipe.is-out { transform: translateY(-101%); }

/* ---------- 7. CURSOR ---------- */
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; z-index: 10002; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .3s; will-change: transform; }
.cursor-dot { width: 7px; height: 7px; background: var(--accent); margin: -3.5px 0 0 -3.5px; }
.cursor-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(var(--accent-rgb), .6); transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s, opacity .3s; }
.has-cursor .cursor-dot, .has-cursor .cursor-ring { opacity: 1; }
.cursor-ring.is-hover { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: rgba(var(--accent-rgb), .14); }
@media (hover: hover) and (pointer: fine) { .has-cursor, .has-cursor a, .has-cursor button { cursor: none; } }

/* ---------- 8. NAV ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 800; height: var(--nav-h); transition: background .4s, backdrop-filter .4s, transform .5s var(--ease); }
.site-header.is-scrolled { background: rgba(7,7,10,.72); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--f-display); font-size: 1.6rem; line-height: 1; }
.logo svg { width: 30px; height: 30px; } .logo svg path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 1.6s 1s var(--ease) forwards; }
.nav__list { display: none; gap: clamp(1rem, 2vw, 2rem); align-items: center; }
.nav__link { font-size: .95rem; font-weight: 500; color: var(--ink-2); position: relative; padding: .4rem 0; transition: color .3s; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ink); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: none; }
.burger { width: 46px; height: 46px; display: grid; place-content: center; gap: 6px; background: var(--glass); border: 1px solid var(--glass-b); border-radius: 50%; cursor: pointer; }
.burger span { display: block; width: 20px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 790; background: rgba(7,7,10,.97); display: grid; align-content: center; padding: calc(var(--nav-h) + 1rem) var(--gut) 2rem; clip-path: circle(0 at calc(100% - 2.2rem) 2.2rem); transition: clip-path .8s var(--ease); visibility: hidden; }
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 2.2rem) 2.2rem); visibility: visible; }
.mobile-menu a { display: block; font-family: var(--f-display); font-size: clamp(2rem, 8vw, 3.2rem); line-height: 1.25; border-bottom: 1px solid var(--line); padding: .35rem 0; }
.mobile-menu a[aria-current="page"] { color: var(--accent); }
@media (min-width: 1060px) { .nav__list { display: flex; } .nav__cta { display: inline-flex; } .burger, .mobile-menu { display: none; } }

/* ---------- 9. BUTTONS ---------- */
.btn { --pad: .95rem 1.7rem; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: var(--pad); border-radius: 99px; font-weight: 600; font-size: .98rem; border: 1px solid transparent; cursor: pointer; position: relative; overflow: hidden; isolation: isolate; transition: color .4s, border-color .4s, box-shadow .4s; will-change: transform; }
.btn--primary { background: var(--accent); color: #0a0a0a; box-shadow: 0 0 0 0 rgba(var(--accent-rgb), .5); }
.btn--primary:hover { box-shadow: 0 10px 40px -8px rgba(var(--accent-rgb), .7); }
.btn--ghost { border-color: var(--glass-b); background: var(--glass); backdrop-filter: blur(8px); }
.btn--ghost::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); transform: translateY(101%); transition: transform .5s var(--ease); border-radius: inherit; }
.btn--ghost:hover { color: #0a0a0a; border-color: var(--accent); } .btn--ghost:hover::before { transform: translateY(0); }
.btn--wa { background: #1fae54; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.text-link { color: var(--accent); font-weight: 600; background: linear-gradient(currentColor, currentColor) 0 100%/100% 1px no-repeat; transition: background-size .4s var(--ease); padding-bottom: 2px; }
.text-link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- 10. HERO ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; padding: calc(var(--nav-h) + 3rem) 0 clamp(2.5rem, 6vw, 5rem); overflow: hidden; isolation: isolate; }
.hero--inner { min-height: 62svh; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__bg { position: absolute; inset: 0; z-index: -3; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6) brightness(.35) contrast(1.15); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,7,10,.5), var(--bg) 96%), radial-gradient(ellipse at 70% 30%, rgba(var(--accent-rgb), .22), transparent 60%); }
.hero__content { display: grid; gap: clamp(1.2rem, 3vw, 2rem); }
.hero h1 { max-width: 12ch; }
.hero .shape { position: absolute; z-index: -1; border: 1px solid rgba(var(--accent-rgb), .3); border-radius: 50%; animation: float 10s ease-in-out infinite; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 2rem 3rem; border-top: 1px solid var(--line); padding-top: 1.6rem; margin-top: 1rem; }
.scroll-cue { position: absolute; right: var(--gut); bottom: 2rem; width: 1px; height: 70px; background: var(--line); overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; inset: 0; background: var(--accent); animation: cue 2s var(--ease) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

/* Split text: JS wraps each word => .w > .wi (masked line reveal) */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
[data-split] .wi { display: inline-block; transform: translateY(110%); will-change: transform; }
.no-js [data-split] .wi, .reduced [data-split] .wi { transform: none; }

/* ---------- 11. QUICK ANSWER (AEO) ---------- */
.quick-answer { position: relative; padding: clamp(1.3rem, 3vw, 2rem) clamp(1.3rem, 3vw, 2.2rem); border-radius: var(--r-md); border: 1px solid rgba(var(--accent-rgb), .35); background: linear-gradient(135deg, rgba(var(--accent-rgb), .1), var(--glass)); backdrop-filter: blur(10px); }
.quick-answer h2 { font-family: var(--f-body); font-size: var(--step--1); font-weight: 700; letter-spacing: .01em; color: var(--accent); line-height: 1.3; margin-bottom: .6rem; }
.quick-answer p { color: var(--ink); font-size: var(--step-0); max-width: 75ch; }

/* ---------- 12. CARDS (glass, tilt, glow) ---------- */
.card { position: relative; padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--glass); border: 1px solid var(--glass-b); border-radius: var(--r-md); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); overflow: hidden; display: grid; gap: .9rem; align-content: start; transition: border-color .4s; }
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--accent-rgb), .16), transparent 45%); }
.card:hover { border-color: rgba(var(--accent-rgb), .45); } .card:hover::before { opacity: 1; }
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s var(--ease); transform-style: preserve-3d; }
.icon-draw { width: 56px; height: 56px; } .icon-draw * { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 260; stroke-dashoffset: 260; }
.in-view .icon-draw *, .icon-draw.in-view * { animation: draw 1.8s var(--ease) forwards; }
.service-card h3 { font-size: var(--step-2); }
.check-list li { padding-left: 1.7rem; position: relative; color: var(--ink-2); margin-block: .5rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 1rem; height: 1px; background: var(--accent); }

/* ---------- 13. STATS ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2rem; }
.stat__num { font-family: var(--f-display); font-size: var(--step-3); line-height: 1; color: var(--ink); display: block; }
.stat__num sup { color: var(--accent); font-size: .5em; }
.stat__label { font-size: .92rem; color: var(--ink-3); }

/* ---------- 14. MARQUEE ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 1.1rem; background: var(--bg-2); }
.marquee__track { display: flex; width: max-content; gap: 3rem; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--f-display); font-size: var(--step-2); white-space: nowrap; display: inline-flex; align-items: center; gap: 3rem; color: var(--ink); }
.marquee__track span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 15. HORIZONTAL PORTFOLIO STRIP ---------- */
.hscroll { overflow: hidden; position: relative; }
.hscroll__track { display: flex; gap: clamp(1rem, 2vw, 2rem); padding-inline: var(--gut); width: max-content; }
.hcard { width: clamp(280px, 78vw, 520px); flex: none; display: grid; gap: 1rem; }
.hcard .cine { aspect-ratio: 4/5; }
.hcard__body { display: grid; gap: .4rem; }
.hcard__result { font-family: var(--f-display); font-size: var(--step-2); color: var(--accent); line-height: 1; }
@media (max-width: 767px) { .hscroll { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 1rem; } .hcard { scroll-snap-align: start; } }

/* ---------- 16. PINNED STORY ---------- */
.story { position: relative; }
.story__stage { display: grid; gap: 2rem; align-items: center; min-height: 100svh; padding-block: calc(var(--nav-h) + 1rem) 2rem; }
.story__steps { position: relative; display: grid; }
.story__step { grid-area: 1/1; opacity: .12; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; display: grid; gap: 1rem; align-content: center; }
.story__step.is-active { opacity: 1; transform: none; pointer-events: auto; }
.story__num { font-family: var(--f-display); font-size: clamp(5rem, 16vw, 12rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(var(--accent-rgb), .55); }
.story__progress { height: 2px; background: var(--line); margin-top: 1rem; } .story__progress i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
@media (min-width: 900px) { .story__stage { grid-template-columns: .8fr 1.2fr; } }
@media (max-width: 899px), (prefers-reduced-motion: reduce) { .story__stage { min-height: 0; } .story__step { opacity: 1; transform: none; grid-area: auto; margin-bottom: 2.5rem; } .story__steps { display: block; } .story__progress { display: none; } }

/* ---------- 17. GROWTH GRAPH ---------- */
.graph { width: 100%; background: var(--glass); border: 1px solid var(--glass-b); border-radius: var(--r-md); padding: clamp(1rem, 3vw, 2rem); }
.graph svg { width: 100%; height: auto; overflow: visible; }
.graph .grid-line { stroke: var(--line); stroke-width: 1; }
.graph .line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(var(--accent-rgb), .6)); }
.graph .area { fill: url(#areaGrad); opacity: 0; transition: opacity 1.2s .8s; } .graph.in-view .area { opacity: 1; }
.graph .dot { fill: var(--accent); opacity: 0; transition: opacity .4s 1.6s; } .graph.in-view .dot { opacity: 1; }
.graph text { fill: var(--ink-3); font-size: 12px; font-family: var(--f-body); }

/* ---------- 18. PROCESS / TIMELINE ---------- */
.timeline { position: relative; display: grid; gap: 2rem; padding-left: 2rem; border-left: 1px solid var(--line); }
.timeline__item { position: relative; display: grid; gap: .4rem; }
.timeline__item::before { content: ""; position: absolute; left: calc(-2rem - 5px); top: .6rem; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(var(--accent-rgb), .18); }
.timeline__year { font-family: var(--f-display); font-size: var(--step-1); color: var(--accent); }

/* ---------- 19. TABLES, TESTIMONIALS, BLOG ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--glass-b); border-radius: var(--r-md); background: var(--glass); }
table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .96rem; }
th, td { text-align: left; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--ink); background: rgba(255,255,255,.03); } td { color: var(--ink-2); } tr:last-child td { border-bottom: 0; }
.quote { display: grid; gap: 1.2rem; } .quote blockquote { font-family: var(--f-display); font-size: var(--step-1); line-height: 1.35; color: var(--ink); }
.quote cite { font-style: normal; font-size: .92rem; color: var(--ink-3); }
.stars { color: var(--accent); letter-spacing: .15em; }
.post-card { display: grid; gap: 1rem; } .post-card .cine { aspect-ratio: 16/10; }
.post-meta { font-size: var(--step--1); color: var(--ink-3); }
.article { max-width: 760px; margin-inline: auto; } .article h2 { font-size: var(--step-2); margin: 2.5rem 0 1rem; } .article h3 { font-size: var(--step-1); margin: 1.8rem 0 .6rem; font-family: var(--f-body); font-weight: 600; } .article p, .article li { color: var(--ink-2); max-width: none; } .article p { margin-bottom: 1.1rem; } .article ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1.2rem; } .article ol { list-style: decimal; padding-left: 1.3rem; margin-bottom: 1.2rem; }

/* ---------- 20. BREADCRUMB ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .9rem; color: var(--ink-3); margin-bottom: 1.4rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: var(--line); }
.breadcrumb a:hover { color: var(--accent); } .breadcrumb [aria-current] { color: var(--ink-2); }

/* ---------- 21. FAQ ACCORDION ---------- */
.faq { display: grid; gap: .8rem; }
.faq__item { border: 1px solid var(--glass-b); border-radius: var(--r-md); background: var(--glass); overflow: hidden; transition: border-color .3s; }
.faq__item.is-open { border-color: rgba(var(--accent-rgb), .45); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; text-align: left; background: none; border: 0; padding: 1.2rem 1.4rem; cursor: pointer; font-family: var(--f-display); font-size: var(--step-1); line-height: 1.2; }
.faq__q .ico { flex: none; width: 28px; height: 28px; position: relative; border: 1px solid var(--glass-b); border-radius: 50%; }
.faq__q .ico::before, .faq__q .ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--accent); transform: translate(-50%, -50%); transition: transform .4s var(--ease); }
.faq__q .ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .ico::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { height: 0; overflow: hidden; transition: height .5s var(--ease); }
.faq__a-inner { padding: 0 1.4rem 1.4rem; display: grid; gap: .8rem; } .faq__a-inner p { color: var(--ink-2); } .faq__a-inner strong { color: var(--ink); font-weight: 600; }
.no-js .faq__a { height: auto; }
/* FAQ headings: put the question in <h3 class="faq__h"> wrapping the button */
.faq__h { font: inherit; letter-spacing: 0; line-height: inherit; }

/* ---------- 22. FORMS ---------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .45rem; } .field label { font-size: .92rem; font-weight: 600; color: var(--ink); }
.input { width: 100%; padding: .95rem 1.1rem; background: var(--bg-2); border: 1px solid var(--glass-b); border-radius: var(--r-sm); transition: border-color .3s, box-shadow .3s; }
.input::placeholder { color: var(--ink-3); } .input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .15); }
textarea.input { min-height: 140px; resize: vertical; }
.form__note { font-size: .88rem; color: var(--ink-3); }
.map-ph { aspect-ratio: 16/10; border-radius: var(--r-md); border: 1px solid var(--glass-b); display: grid; place-items: center; text-align: center; padding: 1.5rem; background: repeating-linear-gradient(45deg, var(--bg-2), var(--bg-2) 14px, var(--bg-3) 14px, var(--bg-3) 28px); }

/* ---------- 23. CTA BAND ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; padding: clamp(3rem, 8vw, 6rem) var(--gut); border: 1px solid rgba(var(--accent-rgb), .3); border-radius: var(--r-lg); background: radial-gradient(ellipse at 50% 0, rgba(var(--accent-rgb), .22), transparent 70%), var(--bg-2); display: grid; justify-items: center; gap: 1.4rem; }
.cta-band h2 { max-width: 16ch; }

/* ---------- 24. FOOTER & FLOATING WHATSAPP ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: clamp(3rem, 7vw, 5rem) 0 2rem; position: relative; z-index: 2; }
.footer__grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.footer__grid h2 { font-family: var(--f-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; margin-bottom: 1rem; line-height: 1.3; }
.footer__grid li { margin-block: .5rem; } .footer__grid a { color: var(--ink-2); transition: color .3s; } .footer__grid a:hover { color: var(--accent); }
.footer__grid address { font-style: normal; color: var(--ink-2); display: grid; gap: .5rem; }
.footer__bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .88rem; color: var(--ink-3); }
.social { display: flex; gap: .6rem; } .social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--glass-b); border-radius: 50%; transition: background .3s, color .3s, border-color .3s; } .social a:hover { background: var(--accent); color: #000; border-color: var(--accent); } .social svg { width: 18px; height: 18px; fill: currentColor; }
.wa-float { position: fixed; right: clamp(.9rem, 3vw, 1.6rem); bottom: clamp(.9rem, 3vw, 1.6rem); z-index: 850; width: 58px; height: 58px; border-radius: 50%; background: #1fae54; display: grid; place-items: center; box-shadow: 0 10px 30px -6px rgba(31,174,84,.7); transition: transform .4s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1fae54; animation: ping 2.4s ease-out infinite; }
.wa-float:hover { transform: scale(1.1); } .wa-float svg { width: 30px; height: 30px; fill: #fff; }
@keyframes ping { to { transform: scale(1.7); opacity: 0; } }

/* ---------- 25. REVEAL STATES (JS adds .in-view) ---------- */
/* Hidden only when JS is running (.js on <html>), so content never disappears if JS fails */
.js [data-reveal] { opacity: 0; will-change: transform, opacity; }
.js [data-reveal="up"] { transform: translateY(46px); }
.js [data-reveal="left"] { transform: translateX(-60px); }
.js [data-reveal="right"] { transform: translateX(60px); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal="mask"] { opacity: 1; clip-path: inset(0 0 100% 0); }
.js .reduced [data-reveal], .reduced [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }

/* ---------- 26. UTILITIES ---------- */
.center { text-align: center; justify-items: center; } .center p { margin-inline: auto; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.flex { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.pill-list { display: flex; flex-wrap: wrap; gap: .6rem; } .pill-list li { padding: .45rem 1rem; border: 1px solid var(--glass-b); border-radius: 99px; background: var(--glass); font-size: .92rem; color: var(--ink-2); }

/* ---------- 27. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { animation: none; } .marquee__track { animation: none; } .hero__canvas { display: none; }
  .icon-draw *, .preloader__path, .logo svg path { stroke-dashoffset: 0; }
}
@media print { .grain, .vignette, .preloader, .cursor-dot, .cursor-ring, .wa-float, .site-header { display: none; } body { background: #fff; color: #000; } }

/* ---------- 28. PAGE-LEVEL ADDITIONS (stage 2-5) ---------- */
.hero h1.h1-inner { max-width: 18ch; }
.hero--inner { align-items: end; }
.hcard h3 { font-size: var(--step-1); line-height: 1.15; }
.card h3 { font-size: var(--step-1); }
.service-card h3 { font-size: var(--step-2); }
a.card, a.post-card { color: inherit; }
.post-card p { color: var(--ink-2); }
.cine--art svg { width: 100%; height: 100%; }
.timeline[role], ol.timeline { margin: 0; }
.hscroll .hcard { color: inherit; }
.hero__bg img { position: absolute; inset: 0; }
article[id], section[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
