/* RF Digital: design tokens. Dark is the default look; light is the toggle. */
:root {
  --brand: #0F766E;
  --brand-dark: #115E59;
  --brand-mid: #0D9488;
  --brand-light: #DDF6F1;
  --accent: #E0653A;           /* warm coral: eyebrows, focus rings */
  --accent-dark: #B8481F;
  --accent-light: #FCEDE6;
  --ink: #0B1F22;
  --slate: #47606A;
  --border: #D8E8E6;
  --bg: #F4FAF9;
  --bg-alt: #E9F4F2;
  --on-accent: #04161A;        /* dark text on the bright gradient buttons and badges */
  --check: #047857;            /* emerald hero checkmarks */

  --grad: linear-gradient(95deg, #06B6D4, #10B981 60%, #6EE7B7);
  --grad-cta: linear-gradient(95deg, #06B6D4, #2DD4BF);
  --glow-a: rgba(6, 182, 212, .2);
  --glow-b: rgba(16, 185, 129, .18);

  --font-heading: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-card: 0 4px 14px rgba(8, 40, 44, .07);
  --shadow-lift: 0 18px 44px rgba(8, 40, 44, .16);

  --header-h: 76px;

  /* Theme-aware roles */
  --brand-text: #0F766E;       /* used for text, icons, outlines */
  --surface: #FFFFFF;          /* cards, form, FAQ */
  --header-bg: rgba(244, 250, 249, .9);
  --input-border: #C2D8D5;
  --band: #0B2A2E;             /* "How it works" + footer */
  --band-deep: #081E21;
  --check-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  color-scheme: light;
}

:root[data-theme="dark"] {
  --brand: #0E7490;
  --brand-dark: #155E75;
  --brand-mid: #06B6D4;
  --brand-light: #0F2E30;
  --brand-text: #6EE7B7;
  --accent: #F0936A;
  --accent-dark: #F0936A;
  --accent-light: #33211A;
  --check: #6EE7B7;
  --ink: #F1F8F7;
  --slate: #A3B6B8;
  --border: #1E3336;
  --bg: #081214;
  --bg-alt: #0B181B;
  --surface: #101E21;
  --header-bg: rgba(8, 18, 20, .85);
  --input-border: #2C4649;
  --band: #0C1F22;
  --band-deep: #0A191C;
  --glow-a: rgba(6, 182, 212, .34);
  --glow-b: rgba(16, 185, 129, .3);
  --shadow-card: 0 4px 14px rgba(0, 0, 0, .35);
  --shadow-lift: 0 18px 44px rgba(0, 0, 0, .55);
  --check-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236EE7B7' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand-text); }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.12; margin: 0 0 .5em; color: var(--ink); font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 4.7vw, 4.1rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 16px; border-radius: var(--radius-sm); z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.02rem;
  padding: 14px 28px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, transform .15s, box-shadow .15s, filter .15s;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: var(--on-accent); box-shadow: 0 8px 26px rgba(16, 185, 129, .35); }
.btn-primary:hover { filter: brightness(1.1); box-shadow: 0 10px 32px rgba(16, 185, 129, .5); }
.btn-cta { background: var(--grad-cta); color: var(--on-accent); box-shadow: 0 6px 22px rgba(6, 182, 212, .4); }
.btn-cta:hover { filter: brightness(1.1); box-shadow: 0 8px 28px rgba(6, 182, 212, .55); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--input-border); }
.btn-outline:hover { background: var(--brand-light); border-color: var(--brand-text); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-sm { padding: 10px 20px; font-size: .95rem; white-space: nowrap; }
.btn.full { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Scroll progress */
.scroll-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 70; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--border); box-shadow: 0 2px 16px rgba(5,6,20,.25); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .2s; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-cta-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; align-items: center; gap: 4px; color: var(--border); font-size: .9rem; }
.lang button { background: none; border: 0; padding: 6px 4px; font: 600 .9rem var(--font-body); color: var(--slate); cursor: pointer; }
.lang button[aria-pressed="true"] { color: var(--brand-text); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px 6px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2.5px; background: var(--brand-text); border-radius: 2px; margin: 5px 0; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 48px 0 72px;
  background:
    radial-gradient(720px 620px at 76% 36%, var(--glow-a), transparent 70%),
    radial-gradient(520px 440px at 100% 72%, var(--glow-b), transparent 70%),
    var(--bg);
}
.hero-grid {
  display: grid; max-width: 1320px; gap: 24px 40px; align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "copy stage" "tiles stage";
}
.hero-copy { grid-area: copy; }
.hero h1 { white-space: nowrap; margin-bottom: .3em; }
.eyebrow { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; color: var(--accent-dark); margin-bottom: 12px; }
.eyebrow-light { color: #F0936A; }
.lead { font-size: 1.15rem; color: var(--slate); max-width: 34em; margin-bottom: 24px; }
.hero-points { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .84rem; color: var(--slate); }
.hero-points li { display: flex; align-items: center; gap: 6px; }
.hero-points .icon { color: var(--check); width: 16px; height: 16px; stroke-width: 3; }

/* Collage of real client work */
.hero-stage { grid-area: stage; position: relative; aspect-ratio: 1 / 1.12; align-self: center; }
.piece { position: absolute; border-radius: 10px; box-shadow: 0 24px 50px rgba(5, 6, 20, .55); transform-origin: center; transition: transform .35s ease; }
.p-cover { left: 3%; top: 1%; width: 31%; transform: perspective(1200px) rotateY(14deg) rotateZ(-7deg); }
.p-menu { left: 30%; top: 4%; width: 33%; transform: perspective(1200px) rotateY(-10deg) rotateZ(4deg); }
.p-logo { right: 1%; top: 3%; width: 30%; border-radius: 16px; background: #fff; transform: perspective(1200px) rotateY(-16deg) rotateZ(6deg); }
.p-sign { left: 5%; top: 50%; width: 36%; transform: perspective(1200px) rotateY(12deg) rotateZ(-4deg); }
.p-invite {
  right: 0; top: 37%; width: 36%; aspect-ratio: 3 / 4; padding: 7% 5%; container-type: inline-size;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; color: #fff;
  background:
    radial-gradient(70% 50% at 80% 12%, rgba(255,255,255,.35), transparent 70%),
    linear-gradient(150deg, #0E7490, #0F766E 50%, #047857);
  border: 1px solid rgba(255,255,255,.3);
  transform: perspective(1200px) rotateY(-14deg) rotateZ(5deg);
}
.p-invite small { font: 600 7cqw var(--font-body); letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.p-invite b { font: 900 15cqw/1.02 var(--font-heading); }
.p-phone {
  left: 42%; top: 64%; width: 22%; padding: 1.1%; border-radius: 22px; background: #0B0D18;
  border: 1px solid rgba(255,255,255,.2); transform: perspective(1200px) rotateY(10deg) rotateZ(-3deg);
}
.p-phone img { width: 100%; aspect-ratio: 9 / 18.5; object-fit: cover; object-position: top; border-radius: 16px; }
.p-phone-2 { left: 67%; top: 67%; transform: perspective(1200px) rotateY(-12deg) rotateZ(4deg); }

@keyframes piece-float { from { translate: 0 0; } to { translate: 0 -10px; } }
.hero-stage .piece { animation: piece-float 6s ease-in-out infinite alternate; transition: scale .3s ease; }
.hero-stage .piece:nth-child(2n) { animation-duration: 7.5s; animation-delay: -2s; }
.hero-stage .piece:nth-child(3n) { animation-duration: 9s; animation-delay: -4s; }
@media (hover: hover) { .hero-stage .piece:hover { scale: 1.05; z-index: 5; } }

/* Service tiles */
.hero-tiles { grid-area: tiles; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.tile {
  grid-column: span 2; position: relative; overflow: hidden; display: block; min-height: 132px; padding: 14px 14px 12px;
  border: 1px solid transparent; border-radius: var(--radius-md); text-decoration: none; color: var(--ink);
  background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, #06B6D4, #10B981 55%, #6EE7B7) border-box;
  transition: transform .2s, box-shadow .2s;
}
.tile-wide { grid-column: span 3; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(16, 185, 129, .3); }
.tile h2 { font-size: 1.02rem; font-weight: 700; margin: 0 0 4px; letter-spacing: 0; }
.tile p { position: relative; z-index: 1; margin: 0; font-size: .78rem; line-height: 1.35; color: var(--slate); max-width: 58%; }
.tile h2 { position: relative; z-index: 1; }
.tile img, .tile-invite { position: absolute; right: -8px; top: 46px; width: 38%; aspect-ratio: 4 / 5; object-fit: cover; object-position: left top; border-radius: 8px; transform: rotate(6deg); box-shadow: 0 8px 20px rgba(5, 6, 20, .5); }
.tile-wide img, .tile-wide .tile-invite { top: 18px; width: 25%; }
.tile-invite { display: grid; place-items: center; background: linear-gradient(150deg, #0E7490, #0F766E 50%, #047857); }
.tile-invite svg { width: 45%; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }


/* Proof bar */
.proof { border-block: 1px solid var(--border); background: var(--bg-alt); padding: 18px 0; }
.proof-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; }
.proof-clients { display: flex; align-items: center; gap: 16px; font-size: .85rem; color: var(--slate); }
.proof-clients img { width: 52px; height: 52px; border-radius: 50%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.proof-clients img:hover { filter: none; opacity: 1; }
@media (hover: none) { .proof-clients img { filter: none; opacity: 1; } }
.proof-facts { list-style: none; display: flex; gap: 32px; margin: 0; padding: 0; }
.proof-facts li { display: flex; flex-direction: column; line-height: 1.3; }
.proof-facts b { font: 700 1rem var(--font-heading); }
.proof-facts span { font-size: .82rem; color: var(--slate); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head p:not(.eyebrow) { color: var(--slate); font-size: 1.1rem; }
.center-cta { text-align: center; margin-top: 48px; }

/* Services */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid-4 { grid-template-columns: repeat(2, 1fr); }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 32px 28px; box-shadow: var(--shadow-card); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--brand-mid); }
.card p { color: var(--slate); margin: 0; font-size: 1rem; }
.card-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--brand-light); display: grid; place-items: center; margin-bottom: 20px; }
.svc-group .checklist { margin: 20px 0 0; font-size: 1rem; }
.svc-group .checklist li:last-child { margin-bottom: 0; }
.card-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--brand-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Service hub */
.svc-hub { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.svc-hub .card { grid-column: span 2; display: flex; flex-direction: column; padding: 16px 20px 22px; }
.svc-hub .card:nth-child(n+4) { grid-column: span 3; }
.svc-hub .checklist { flex: 1; margin-bottom: 20px; }
.svc-thumb { aspect-ratio: 16 / 9; margin: 0 -4px 18px; overflow: hidden; border-radius: var(--radius-sm); background: var(--bg-alt); }
.svc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.svc-thumb-top img { object-position: top; }
.svc-thumb-logo { background: #fff; }
.svc-thumb-logo img { object-fit: contain; }
.svc-thumb-invite { display: grid; place-items: center; background: linear-gradient(150deg, #0E7490, #0F766E 50%, #047857); }
.svc-thumb-invite svg { width: 56px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; }
.card-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; font-size: .92rem; font-weight: 600; }
.card-links a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.card-links a:hover { text-decoration: underline; }
.card-links a:last-child { color: var(--slate); }
.card-links .icon { width: 16px; height: 16px; }

/* About */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.owner { margin: 0; }
.owner-photo {
  aspect-ratio: 1 / 1; max-width: 440px; border-radius: var(--radius-lg); position: relative; overflow: hidden;
  background: var(--brand-light);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 24px 70px var(--glow-a);
}
.owner-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.owner figcaption { margin-top: 28px; display: flex; flex-direction: column; }
.owner figcaption b { font-family: var(--font-heading); font-size: 1.15rem; }
.owner figcaption span { color: var(--slate); font-size: .95rem; }
.about-copy > p:not(.eyebrow) { color: var(--slate); }

.checklist { list-style: none; padding: 0; margin: 0 0 28px; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-light) var(--check-icon) center / 13px no-repeat;
}

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; }
.why { display: flex; gap: 16px; }
.why h3 { font-size: 1.15rem; margin-bottom: 4px; }
.why p { color: var(--slate); font-size: 1rem; margin: 0; }
.check { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--grad); display: grid; place-items: center; }
.check svg { width: 20px; height: 20px; fill: none; stroke: var(--on-accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* How it works */
.section-band { background: var(--band); color: #fff; position: relative; overflow: hidden; }
.section-band h2, .section-band h3 { color: #fff; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: s; position: relative; }
.steps li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-md); padding: 32px 28px; }
.steps p { color: rgba(255,255,255,.82); margin: 0; font-size: 1rem; }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--grad); color: var(--on-accent); display: grid; place-items: center; font: 900 1.4rem var(--font-heading); margin-bottom: 18px; }

/* Work */
.soon { position: absolute; top: 18px; right: 18px; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-dark); background: var(--accent-light); padding: 3px 10px; border-radius: 99px; }
:root[data-theme="dark"] .soon { color: var(--accent); }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-text); background: var(--brand-light); padding: 3px 10px; border-radius: 99px; margin-bottom: 10px; }

/* Gallery */
.g-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.g-filters button { font: 600 .95rem var(--font-body); color: var(--slate); background: transparent; border: 1px solid var(--input-border); border-radius: 999px; padding: 9px 18px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.g-filters button:hover { color: var(--ink); border-color: var(--brand-text); }
.g-filters button[aria-pressed="true"] { background: var(--grad); color: var(--on-accent); border-color: transparent; }
.g-filters button[hidden] { display: none; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.g-item { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--bg-alt); color: #fff; text-decoration: none; }
.g-item[hidden] { display: none; }
.g-item img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .3s; }
.g-logo { background: #fff; }
.g-logo img { object-fit: contain; }
.g-play { position: absolute; left: 12px; top: 12px; width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: rgba(4, 22, 26, .75); fill: #fff; }
.g-over { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 16px; background: rgba(4, 18, 21, .86); opacity: 0; transition: opacity .2s; }
.g-over small { font-size: .75rem; color: #6EE7B7; }
.g-over b { font: 700 1.02rem/1.25 var(--font-heading); }
.g-detail { font-size: .85rem; line-height: 1.4; color: rgba(255,255,255,.82); }
.g-item:hover .g-over, .g-item:focus-visible .g-over { opacity: 1; }
.g-item:hover img { transform: scale(1.04); }
@media (hover: none) {
  .g-over { opacity: 1; inset: auto 0 0 0; background: linear-gradient(transparent, rgba(4, 18, 21, .92) 45%); padding-top: 36px; }
  .g-detail { display: none; }
}

/* Lightbox */
.lightbox { width: min(980px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); overflow: auto; }
.lightbox[open] { display: grid; grid-template-columns: 1.4fr 1fr; }
.lightbox::backdrop { background: rgba(3, 10, 12, .82); backdrop-filter: blur(6px); }
.lb-media { display: grid; place-items: center; background: #050C0E; min-height: 320px; }
.lb-media img, .lb-media video { width: 100%; height: 100%; max-height: calc(100vh - 34px); object-fit: contain; }
.lb-info { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 56px 28px 28px; }
.lb-info small { color: var(--brand-text); font-weight: 600; font-size: .85rem; }
.lb-info h3 { margin: 0; }
.lb-info p { margin: 0 0 8px; color: var(--slate); font-size: 1rem; }
.lb-info .btn[hidden] { display: none; }
.lb-close { position: absolute; right: 12px; top: 12px; z-index: 1; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-grid.price-grid-single { grid-template-columns: minmax(0, 420px); justify-content: center; }
.price-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 36px 30px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.price-card .checklist { flex: 1; font-size: 1rem; }
.price-card.featured { border: 1px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: 0 18px 50px var(--glow-a); }
.badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--grad); color: var(--on-accent); font: 700 .8rem var(--font-heading); text-transform: uppercase; letter-spacing: .08em; padding: 6px 14px; border-radius: 99px; white-space: nowrap; }
.badge-soon { background: var(--brand-light); color: var(--brand-text); box-shadow: inset 0 0 0 1px var(--brand-text); }
.price-card.is-soon .price, .price-card.is-soon .checklist { opacity: .75; }
.price { display: flex; align-items: baseline; gap: 4px; margin: 4px 0 0; }
.amt { font: 900 3rem var(--font-heading); color: var(--brand-text); letter-spacing: -.02em; }
.per { color: var(--slate); font-weight: 500; }
.price-note { color: var(--slate); font-size: .92rem; margin: 4px 0 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }

.menu-pricing { margin-top: 40px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 32px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: center; }
.section-head + .menu-pricing { margin-top: 0; }
.menu-pricing + .menu-pricing { margin-top: 24px; }
.ev-packs { margin-top: 48px; }
.price-terms { text-align: center; color: var(--slate); font-size: .95rem; max-width: 640px; margin: 32px auto 0; }
.menu-pricing h3 { margin-bottom: 4px; }
.menu-pricing p { color: var(--slate); font-size: 1rem; margin: 0; }
.menu-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.menu-list div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--border); }
.menu-list dt { font-weight: 500; }

/* FAQ */
.faq details { border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); margin-bottom: 12px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-card); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font: 700 1.05rem var(--font-heading); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--brand-text); border-bottom: 2.5px solid var(--brand-text); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--slate); font-size: 1rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact-copy > p:not(.eyebrow) { color: var(--slate); }
.direct-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list small { display: block; font-size: .8rem; color: var(--slate); text-transform: uppercase; letter-spacing: .08em; }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.ci { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center; }
.ci svg { width: 22px; height: 22px; fill: none; stroke: var(--brand-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-card); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full, .contact-form .btn, .form-hint, .form-error { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1px solid var(--input-border); border-radius: var(--radius-sm); padding: 12px 14px; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-text); box-shadow: 0 0 0 3px rgba(6,182,212,.3); }
.field [aria-invalid="true"] { border-color: #c0392b; }
.form-error { color: #c0392b; font-size: .95rem; margin: 0; }
:root[data-theme="dark"] .form-error { color: #FF9C8F; }
.form-hint { color: var(--slate); font-size: .85rem; margin: 0; text-align: center; }

/* Closing */
.closing { background: radial-gradient(700px 360px at 85% 50%, rgba(6,182,212,.4), transparent 70%), radial-gradient(600px 320px at 10% 80%, rgba(16,185,129,.3), transparent 70%), var(--band-deep); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.closing::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.04); right: -120px; top: -160px; }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; }
.closing h2 { color: #fff; margin: 0; max-width: 16em; }

/* Footer */
.site-footer { background: var(--band); color: rgba(255,255,255,.82); padding: 64px 0 24px; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 26em; }
.site-footer h4 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: .9rem; }
.footer-bottom p { margin: 0; }

.mobile-bar { display: none; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .card-grid, .why-grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .svc-hub { grid-template-columns: repeat(2, 1fr); }
  .svc-hub .card, .svc-hub .card:nth-child(n+4) { grid-column: auto; }
  .svc-hub .card:last-child { grid-column: 1 / -1; }
  .proof-inner { flex-direction: column; align-items: flex-start; }
  .price-grid .featured { order: -1; grid-column: 1 / -1; max-width: 480px; justify-self: center; width: 100%; }
  .menu-pricing { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "stage" "tiles"; }
  .hero-stage { width: 100%; max-width: 620px; margin: 0 auto; }
}

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: var(--surface);
    flex-direction: column; gap: 0; padding: 8px 24px 24px; margin: 0;
    border-bottom: 1px solid var(--border); box-shadow: 0 16px 30px rgba(5,6,20,.35);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 1.1rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav-cta-mobile { display: flex; margin-top: 16px; }
  .header-actions { margin-left: auto; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .owner { max-width: 340px; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 64px; }
  :root { --header-h: 64px; }
  .container { padding: 0 16px; }
  .brand img { height: 38px; }
  .section { padding: 64px 0; }
  .hero { padding: 32px 0 48px; }
  .hero h1 { white-space: normal; }
  .hero-tiles { grid-template-columns: 1fr 1fr; }
  .tile, .tile-wide { grid-column: span 1; }
  .tile-wide:last-child { grid-column: 1 / -1; }
  .tile { min-height: 168px; }
  .tile img, .tile-invite, .tile-wide img, .tile-wide .tile-invite { top: auto; bottom: -22px; width: 34%; }
  .tile:not(:last-child) p { max-width: 62%; }
  .p-phone { border-radius: 14px; }
  .p-phone img { border-radius: 10px; }
  .section-head { margin-bottom: 32px; text-align: left; }
  .lead { font-size: 1.08rem; }
  .btn-row .btn { flex: 1 1 auto; }
  .card-grid, .why-grid, .price-grid, .svc-hub { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .g-filters { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding: 2px 16px; scrollbar-width: none; }
  .g-filters button { flex: none; }
  .lightbox[open] { grid-template-columns: 1fr; }
  .lb-media { min-height: 0; }
  .lb-media img, .lb-media video { max-height: 58vh; }
  .lb-info { padding: 20px; }
  .proof-facts { flex-direction: column; gap: 10px; }
  .direct-btns .btn { flex: 1 1 100%; }
  .price-grid .featured { max-width: none; }
  .menu-list { grid-template-columns: 1fr; }
  .menu-pricing, .contact-form { padding: 24px 20px; }
  .contact-form { grid-template-columns: 1fr; }
  .closing { padding: 56px 0; }
  .closing .btn-row { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    box-shadow: 0 -4px 16px rgba(0,0,0,.12);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 56px; font: 800 1.05rem var(--font-heading); text-decoration: none; }
  .mobile-bar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
  .mb-call { background: var(--band-deep); color: #fff; }
  .mb-text { background: var(--grad); color: var(--on-accent); }
}

/* Theme toggle + logo swap */
.theme-toggle { background: none; border: 1px solid var(--border); border-radius: 50%; width: 38px; height: 38px; display: grid; place-items: center; cursor: pointer; color: var(--ink); padding: 0; transition: border-color .15s, background .15s; }
.theme-toggle:hover { border-color: var(--brand-text); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .sun, :root[data-theme="dark"] .theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
.brand .logo-dark, :root[data-theme="dark"] .brand .logo-light { display: none; }
:root[data-theme="dark"] .brand .logo-dark { display: block; }
body, .site-header, .card, .price-card, .faq details, .contact-form, .menu-pricing { transition: background-color .25s, border-color .25s, color .25s; }
@media (max-width: 640px) { .header-actions { gap: 10px; } .theme-toggle { width: 36px; height: 36px; } }

/* Contact form states */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form { position: relative; }
.form-status { grid-column: 1 / -1; margin: 0; padding: 12px 14px; border-radius: var(--radius-sm); font-size: .95rem; font-weight: 500; }
.form-status.ok { background: var(--brand-light); color: var(--brand-text); }
.form-status.fail { background: var(--accent-light); color: var(--ink); }
.form-status a { color: inherit; font-weight: 600; }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Simple content pages (privacy, 404) */
.page-hero { padding: 64px 0 24px; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.page-hero p { color: var(--slate); margin: 0; }
.prose { padding: 48px 0 96px; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose p, .prose li { color: var(--slate); font-size: 1.02rem; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--ink); }
html[lang="es"] [data-lang-block="en"], html[lang="en"] [data-lang-block="es"] { display: none; }
.simple-actions { margin-left: auto; }
.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.not-found .code { font: 900 clamp(5rem, 18vw, 9rem)/1 var(--font-heading); color: var(--accent); margin: 0; }
.not-found p { color: var(--slate); }
.not-found .btn-row { justify-content: center; margin-top: 24px; }
