/* =========================================================
   SKYVIEW IBIZA · Hoja de estilos única
   Paleta y tipografías de marca: navy + teal + sand,
   Syne (titulares) + Space Grotesk (texto).
   ========================================================= */

@font-face { font-family: 'Syne'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/syne-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Syne'; font-weight: 800; font-style: normal; font-display: swap; src: url('../fonts/syne-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 300; font-style: normal; font-display: swap; src: url('../fonts/space-grotesk-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/space-grotesk-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/space-grotesk-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 700; font-style: normal; font-display: swap; src: url('../fonts/space-grotesk-latin-700-normal.woff2') format('woff2'); }

:root {
  --ink:       #0F1B2D;
  --ink-2:     #142438;
  --ink-3:     #1A2D45;
  --paper:     #F7F5EF;
  --paper-2:   #EFEBE0;
  --sea:       #0E8C9C;
  --sea-dk:    #0A6F7C;
  --sea-light: #3FC1CF;
  --sand:      #E9E2D2;
  --cream:     #F4F2EA;
  --line:      rgba(217, 211, 196, 0.14);
  --line-dk:   rgba(15, 27, 45, 0.12);
  --muted:     rgba(244, 242, 234, 0.70);
  --muted-dk:  #535B67;

  --max: 1240px;
  --pad-x: clamp(20px, 5vw, 64px);
  --sec-y: clamp(80px, 10vw, 140px);
  --radius: 4px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --f-display: 'Syne', system-ui, sans-serif;
  --f-body:    'Space Grotesk', system-ui, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  background: var(--ink);
  color: var(--cream);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--sea-light); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sea-light); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--sea-light); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { left: 12px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-x); }
.sea { color: var(--sea-light); }
.on-paper .sea { color: var(--sea); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* =========================================================
   HEADER
   ========================================================= */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 27, 45, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.topbar-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 14px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand {
  font-family: var(--f-display); font-weight: 800;
  font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase;
  display: flex; align-items: baseline; gap: 8px; white-space: nowrap;
}
.brand .dot { color: var(--sea-light); font-size: 20px; line-height: 0; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
  color: var(--muted); transition: color .2s;
  padding: 6px 0; position: relative;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--cream); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--sea-light);
}
.nav-cta {
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  padding: 9px 18px; border: 1px solid var(--sea-light); border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .25s, color .25s;
}
.nav-cta:hover { background: var(--sea-light); color: var(--ink); }
.nav-cta svg { width: 15px; height: 15px; }

.menu-btn {
  display: none; background: none; border: 1px solid var(--line); border-radius: 999px;
  width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 16px; height: 1.5px; background: var(--cream); position: relative; transition: transform .3s var(--ease), background .2s;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 63px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line);
    padding: 8px var(--pad-x) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .3s var(--ease), visibility .25s;
  }
  .menu-open .nav-links { opacity: 1; transform: none; visibility: visible; }
  .nav-links a { display: block; padding: 16px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav { gap: 12px; }
}
@media (max-width: 420px) {
  .nav-cta .label { display: none; }
  .nav-cta { padding: 0; width: 44px; height: 44px; justify-content: center; }
}

/* =========================================================
   BUTTONS & SHARED TYPE
   ========================================================= */
.btn {
  font-family: var(--f-body); font-size: 14px; font-weight: 500;
  padding: 15px 28px; letter-spacing: 0.04em;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn svg { width: 14px; height: 14px; transition: transform .25s; }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--sea-light); color: var(--ink); font-weight: 700; }
.btn-primary:hover { background: #FFF; transform: translateY(-1px); }
.btn-ghost { color: var(--cream); border-color: rgba(244, 242, 234, 0.32); }
.btn-ghost:hover { border-color: var(--sea-light); color: var(--sea-light); }
.on-paper .btn-ghost { color: var(--ink); border-color: var(--line-dk); }
.on-paper .btn-ghost:hover { border-color: var(--sea); color: var(--sea); }
.on-paper .btn-primary { background: var(--ink); color: var(--cream); }
.on-paper .btn-primary:hover { background: var(--sea); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--sea-light); flex-shrink: 0; }
.on-paper .eyebrow { color: var(--muted-dk); }
.on-paper .eyebrow::before { background: var(--sea); }

.sec-num {
  font-family: var(--f-display); font-weight: 800;
  font-size: 13px; letter-spacing: 0.22em; color: var(--sea-light); text-transform: uppercase;
}
.on-paper .sec-num { color: var(--sea); }
.sec-head { display: grid; grid-template-columns: 200px 1fr minmax(0, 340px); gap: 24px 40px; align-items: baseline; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-title {
  font-family: var(--f-display); font-weight: 800; overflow-wrap: break-word;
  font-size: clamp(1.8rem, 3.8vw, 2.9rem);
  text-transform: uppercase; letter-spacing: -0.005em; line-height: 1.04;
}
.sec-note { font-size: 15px; color: var(--muted); }
.on-paper .sec-note { color: var(--muted-dk); }
@media (max-width: 900px) { .sec-head { grid-template-columns: 1fr; gap: 14px; } }

.section { padding: var(--sec-y) 0; }
.on-paper { background: var(--paper); color: var(--ink); }
.on-ink-2 { background: var(--ink-2); }

.prose { max-width: 720px; font-size: clamp(1rem, 1.3vw, 1.1rem); color: var(--muted); font-weight: 300; }
.prose p + p { margin-top: 1.1em; }
.prose b, .prose strong { color: var(--cream); font-weight: 500; }
.on-paper .prose { color: var(--muted-dk); }
.on-paper .prose b, .on-paper .prose strong { color: var(--ink); }
.prose a { color: var(--sea-light); border-bottom: 1px solid currentColor; }
.on-paper .prose a { color: var(--sea); }

/* =========================================================
   HERO (home) — rectángulo de vídeo contenido
   ========================================================= */
.hero { padding: 20px var(--pad-x) 0; }
.hero-frame {
  position: relative; max-width: 1400px; margin: 0 auto;
  min-height: min(86vh, 860px);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(96px, 12vw, 160px) clamp(24px, 5vw, 64px) clamp(28px, 4vw, 48px);
  background: #000 center / cover no-repeat;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media video { opacity: 0; transition: opacity 1.2s ease; position: absolute; inset: 0; }
.hero-media video.ready { opacity: 1; }
.hero-frame::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15,27,45,0.15) 0%, rgba(15,27,45,0.25) 40%, rgba(15,27,45,0.9) 100%);
}
.hero-content { max-width: 860px; }
.hero h1 { margin: 22px 0 22px; }
.hero h1 .kicker {
  display: block; font-family: var(--f-body); font-weight: 500;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sea-light);
  margin-bottom: 18px;
}
.hero h1 .big {
  display: block; font-family: var(--f-display); font-weight: 800;
  font-size: clamp(1.85rem, 5.2vw, 4.6rem); line-height: 0.98;
  letter-spacing: -0.02em; text-transform: uppercase;
}
.hero-lead { max-width: 560px; font-size: clamp(1rem, 1.4vw, 1.15rem); color: rgba(244,242,234,0.82); font-weight: 300; margin-bottom: 32px; }
.hero-foot {
  margin-top: clamp(32px, 5vw, 56px);
  display: flex; align-items: center; gap: 20px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(244,242,234,0.6);
}
.hero-foot .rule { flex: 1; height: 1px; background: rgba(244,242,234,0.25); }
@media (max-width: 700px) {
  .hero { padding: 12px 12px 0; }
  .hero-frame { height: auto; min-height: 88svh; }
  .hero-foot .hide-sm { display: none; }
}

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 20px 0; margin-top: clamp(40px, 6vw, 72px); background: var(--ink-2); }
.marquee-track {
  display: flex; gap: 60px; width: max-content;
  animation: marquee 45s linear infinite;
  font-family: var(--f-display); font-weight: 700;
  font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap;
}
.marquee-track span { color: var(--sea-light); margin: 0 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   MANIFESTO
   ========================================================= */
.manifesto-grid { display: grid; grid-template-columns: 200px 1fr; gap: 24px 40px; }
.manifesto-quote {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2rem, 4.8vw, 4rem); line-height: 1.1; letter-spacing: -0.015em;
  margin-bottom: clamp(32px, 4vw, 48px);
}
@media (max-width: 900px) { .manifesto-grid { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.stat { padding: 28px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat-num { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1; margin-bottom: 10px; }
.stat-label { font-size: 13px; color: var(--muted); max-width: 200px; }
@media (max-width: 800px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 28px; }
}

/* =========================================================
   SERVICES GRID
   ========================================================= */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dk); border: 1px solid var(--line-dk); border-radius: var(--radius); overflow: hidden; }
.svc {
  background: var(--paper); padding: clamp(28px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 14px; min-height: 300px;
  transition: background .3s;
  position: relative;
}
.svc:hover { background: #FFF; }
.svc-top { display: flex; justify-content: space-between; align-items: center; }
.svc-n { font-family: var(--f-display); font-weight: 800; font-size: 13px; letter-spacing: 0.2em; color: var(--sea); }
.svc-icon { width: 40px; height: 40px; color: var(--ink); opacity: 0.85; }
.svc h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.12; text-transform: uppercase; letter-spacing: -0.005em; margin-top: auto; }
.svc p { font-size: 14.5px; color: var(--muted-dk); }
.svc-more { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.svc-more svg { width: 12px; height: 12px; transition: transform .25s; }
.svc:hover .svc-more { color: var(--sea); }
.svc:hover .svc-more svg { transform: translateX(4px); }
.svc a.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }

.svc.featured { grid-column: span 2; background: var(--ink); color: var(--cream); flex-direction: row; gap: clamp(24px, 4vw, 48px); align-items: stretch; }
.svc.featured:hover { background: var(--ink-3); }
.svc.featured .svc-body { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.svc.featured .svc-n { color: var(--sea-light); }
.svc.featured p { color: var(--muted); }
.svc.featured .svc-more { color: var(--sea-light); }
.svc.featured h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.svc-badge { align-self: flex-start; font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--sea-light); color: var(--ink); }
.svc-phone { width: clamp(130px, 16vw, 180px); flex-shrink: 0; aspect-ratio: 9/16; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); position: relative; align-self: center; }
.svc-phone img { width: 100%; height: 100%; object-fit: cover; }
.svc-phone .rec { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; align-items: center; font-size: 9px; letter-spacing: 0.14em; font-weight: 700; text-transform: uppercase; background: rgba(15,27,45,.7); padding: 4px 8px; border-radius: 999px; }
.svc-phone .rec::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #FF5A5F; }
.svc.cta { grid-column: span 2; background: var(--sea-light); color: var(--ink); justify-content: space-between; }
.svc.cta:hover { background: #59CDD9; }
.svc.cta h3 { margin-top: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.svc.cta p { color: rgba(15,27,45,0.78); max-width: 440px; }
.svc.cta .svc-n { color: var(--ink); }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: 1fr 1fr; } .svc.cta { grid-column: span 1; } }
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc.featured { grid-column: auto; flex-direction: column; }
  .svc.cta { grid-column: auto; }
  .svc-phone { align-self: flex-start; width: 140px; }
  .svc { min-height: 0; }
}

/* =========================================================
   PORTFOLIO CARDS
   ========================================================= */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; } }
.card { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover img { transform: scale(1.05); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,27,45,0.9) 0%, rgba(15,27,45,0.2) 45%, transparent 70%); }
.card-tag { position: absolute; top: 16px; left: 16px; z-index: 2; padding: 5px 12px; background: rgba(15,27,45,0.8); color: var(--sea-light); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; border-radius: 999px; backdrop-filter: blur(6px); }
.card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(20px, 3vw, 32px); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.card-loc { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sea-light); font-weight: 700; margin-bottom: 8px; }
.card-title { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.05; text-transform: uppercase; }
.card-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(244,242,234,0.4); display: grid; place-items: center; flex-shrink: 0; transition: background .25s, border-color .25s, color .25s; }
.card-arrow svg { width: 16px; height: 16px; }
.card:hover .card-arrow { background: var(--sea-light); border-color: var(--sea-light); color: var(--ink); }
.clients { margin-top: 40px; display: flex; align-items: center; gap: 14px 32px; flex-wrap: wrap; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.clients b { font-family: var(--f-display); font-weight: 800; font-size: 15px; letter-spacing: 0.08em; color: var(--cream); }

/* =========================================================
   PROCESS
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; border-top: 1px solid var(--line-dk); }
.step { padding: 28px 28px 0 0; counter-increment: step; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line-dk); }
.step::before { content: "0" counter(step); display: block; font-family: var(--f-display); font-weight: 800; font-size: 13px; letter-spacing: 0.2em; color: var(--sea); margin-bottom: 22px; }
.step h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.15rem; text-transform: uppercase; margin-bottom: 10px; line-height: 1.15; }
.step p { font-size: 14.5px; color: var(--muted-dk); }
.on-ink .step::before, .section:not(.on-paper) .step::before { color: var(--sea-light); }
.section:not(.on-paper) .steps { border-top-color: var(--line); }
.section:not(.on-paper) .step + .step { border-left-color: var(--line); }
.section:not(.on-paper) .step p { color: var(--muted); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(n+3) { margin-top: 32px; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 24px 0 0; border-left: 0; }
  .step + .step { margin-top: 24px; border-top: 1px solid var(--line-dk); }
  .section:not(.on-paper) .step + .step { border-top-color: var(--line); }
}

/* =========================================================
   FEATURES / CHECK LISTS
   ========================================================= */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; background: var(--ink-2); }
.on-paper .feature { border-color: var(--line-dk); background: #FFF; }
.feature-k { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--sea-light); margin-bottom: 14px; }
.on-paper .feature-k { color: var(--sea); }
.feature h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; margin-bottom: 10px; line-height: 1.2; }
.feature p { font-size: 14.5px; color: var(--muted); }
.on-paper .feature p { color: var(--muted-dk); }

.checks { list-style: none; display: grid; gap: 0; }
.checks li { padding: 16px 0 16px 34px; position: relative; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks li::before { content: "→"; position: absolute; left: 2px; top: 15px; color: var(--sea-light); font-weight: 700; }
.checks li b { color: var(--cream); font-weight: 500; }
.on-paper .checks li { border-color: var(--line-dk); color: var(--muted-dk); }
.on-paper .checks li::before { color: var(--sea); }
.on-paper .checks li b { color: var(--ink); }

/* =========================================================
   SERVICE / PAGE HERO
   ========================================================= */
.crumb { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 500; display: flex; flex-wrap: wrap; gap: 10px; padding-top: 28px; }
.crumb a:hover { color: var(--sea-light); }
.crumb .sep { color: var(--sea-light); }
.crumb [aria-current] { color: var(--cream); }

.page-hero { padding: clamp(36px, 6vw, 72px) 0 clamp(56px, 7vw, 96px); }
.page-hero-grid > * { min-width: 0; }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero h1 {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(1.7rem, 4.2vw, 3.5rem); line-height: 1.0; letter-spacing: -0.018em;
  text-transform: uppercase; margin: 22px 0 24px; overflow-wrap: break-word;
}
.page-hero .lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); font-weight: 300; max-width: 560px; margin-bottom: 32px; }
.page-hero-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--ink-2); position: relative; }
.page-hero-media.wide { aspect-ratio: 16/11; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.media-label { position: absolute; left: 14px; bottom: 14px; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; background: rgba(15,27,45,0.8); padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); }
@media (max-width: 860px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-media { aspect-ratio: 4/3; }
}
.meta-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pill { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }

.split { display: grid; grid-template-columns: 200px 1fr; gap: 24px clamp(30px, 5vw, 80px); }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .split, .split-2 { grid-template-columns: 1fr; } }
.h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.06; text-transform: uppercase; letter-spacing: -0.005em; margin-bottom: 22px; }
.h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; line-height: 1.2; margin: 32px 0 12px; }

/* Illustrations (360 / planos) */
.illus { background: var(--ink-2); display: grid; place-items: center; }
.illus svg { width: 78%; height: auto; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { border-top: 1px solid var(--line-dk); }
.faq details { border-bottom: 1px solid var(--line-dk); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(1.02rem, 1.5vw, 1.2rem); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  color: var(--sea); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 26px; max-width: 760px; color: var(--muted-dk); font-size: 15.5px; }
.faq .answer p + p { margin-top: .8em; }
.section:not(.on-paper) .faq, .section:not(.on-paper) .faq details { border-color: var(--line); }
.section:not(.on-paper) .faq summary::after { color: var(--sea-light); }
.section:not(.on-paper) .faq .answer { color: var(--muted); }

/* =========================================================
   RELATED + CTA BAND
   ========================================================= */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .related { grid-template-columns: 1fr; } }
.related a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s, transform .25s; }
.related a:hover { border-color: var(--sea-light); transform: translateY(-3px); }
.related .k { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sea-light); font-weight: 700; margin-bottom: 6px; }
.related .t { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.related svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--sea-light); }

.cta-band { background: var(--ink-2); padding: clamp(80px, 11vw, 140px) 0; text-align: center; border-top: 1px solid var(--line); }
.cta-band .sec-num { margin-bottom: 20px; }
.cta-band h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 5vw, 3.8rem); line-height: 1.02; text-transform: uppercase; letter-spacing: -0.015em; margin-bottom: 20px; }
.cta-band p { color: var(--muted); max-width: 520px; margin: 0 auto 34px; }
.cta-band .btn-row { justify-content: center; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-title { font-family: var(--f-display); font-weight: 800; font-size: clamp(2rem, 4.4vw, 3.4rem); text-transform: uppercase; line-height: 1.02; margin: 20px 0; letter-spacing: -0.01em; }
.contact-intro { color: var(--muted-dk); font-size: 15.5px; margin-bottom: 36px; max-width: 440px; }
.contact-methods { display: grid; gap: 14px; }
.contact-method { display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: #FFF; border: 1px solid var(--sand); border-radius: var(--radius); transition: border-color .25s, transform .25s, box-shadow .25s; }
.contact-method:hover { border-color: var(--sea); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(15,27,45,0.07); }
.contact-method svg { width: 22px; height: 22px; color: var(--sea); flex-shrink: 0; }
.cm-label { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-dk); font-weight: 700; }
.cm-value { font-family: var(--f-display); font-weight: 700; font-size: 16px; }
.zone { margin-top: 28px; font-size: 13.5px; color: var(--muted-dk); }

.form-card { background: var(--ink); color: var(--cream); padding: clamp(28px, 4vw, 46px); border-radius: var(--radius); }
.form-title { font-family: var(--f-display); font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 6px; }
.form-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 28px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
@media (max-width: 520px) { .form-2 { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(244,242,234,0.22);
  color: var(--cream); font-family: var(--f-body); font-size: 16px; padding: 10px 0; outline: none; border-radius: 0;
  transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--sea-light); }
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; cursor: pointer; padding-right: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233FC1CF' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 4px center; }
.field select option { background: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { position: relative; }
.chip input { position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 8px 14px; border: 1px solid rgba(244,242,234,0.22); border-radius: 999px; font-size: 13px; cursor: pointer; transition: all .2s; user-select: none; }
.chip input:checked + span { background: var(--sea-light); border-color: var(--sea-light); color: var(--ink); font-weight: 500; }
.chip input:focus-visible + span { outline: 2px solid var(--sea-light); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); margin: 6px 0 20px; }
.consent input { margin-top: 3px; accent-color: var(--sea-light); width: 16px; height: 16px; flex-shrink: 0; }
.consent a { color: var(--sea-light); border-bottom: 1px solid currentColor; }
.form-card .btn-primary { background: var(--sea-light); color: var(--ink); }
.form-card .btn-primary:hover { background: #FFF; }
.form-submit { width: 100%; justify-content: center; padding: 17px; text-transform: uppercase; letter-spacing: 0.08em; }
.form-submit:disabled { opacity: .5; cursor: not-allowed; }
.form-msg { margin-top: 14px; font-size: 14px; min-height: 1.4em; }
.form-msg.ok { color: var(--sea-light); }
.form-msg.err { color: #FF8A8F; }
.hp { position: absolute; left: -9999px; }

/* =========================================================
   PROJECT PAGE
   ========================================================= */
.p-hero-img { max-width: 1400px; margin: 0 auto; padding: 0 var(--pad-x); }
.p-hero-img .frame { aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius); background: var(--ink-2); }
.p-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.p-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: clamp(48px, 6vw, 80px) 0; border-bottom: 1px solid var(--line); }
@media (max-width: 780px) { .p-meta { grid-template-columns: 1fr 1fr; } }
.p-meta dt { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sea-light); font-weight: 700; margin-bottom: 8px; }
.p-meta dd { font-family: var(--f-display); font-weight: 700; font-size: 15px; line-height: 1.35; }

.videos { display: grid; grid-template-columns: 1fr minmax(0, 340px); gap: 20px; align-items: start; }
@media (max-width: 860px) { .videos { grid-template-columns: 1fr; } .videos .yt.v { max-width: 340px; } }
.yt { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); cursor: pointer; border: 0; padding: 0; width: 100%; display: block; }
.yt.h { aspect-ratio: 16/9; }
.yt.v { aspect-ratio: 9/16; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .3s; opacity: .85; }
.yt:hover img { transform: scale(1.03); opacity: 1; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; background: var(--sea-light); color: var(--ink); display: grid; place-items: center; transition: transform .25s, background .25s; }
.yt .play svg { width: 22px; height: 22px; margin-left: 3px; }
.yt:hover .play { transform: translate(-50%, -50%) scale(1.08); background: #FFF; }
.yt .yt-label { position: absolute; left: 14px; top: 14px; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; background: rgba(15,27,45,0.8); padding: 6px 12px; border-radius: 999px; }

.gallery { columns: 3 280px; column-gap: 14px; }
.gallery button { display: block; width: 100%; margin: 0 0 14px; border: 0; padding: 0; background: var(--paper-2); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; break-inside: avoid; position: relative; }
.gallery img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.gallery button:hover img { transform: scale(1.04); }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15,27,45,0.96); backdrop-filter: blur(10px); display: none; align-items: center; justify-content: center; padding: 56px 72px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 86vh; object-fit: contain; border-radius: var(--radius); }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid var(--line); color: var(--cream); display: grid; place-items: center; cursor: pointer; transition: all .25s; }
.lb-btn:hover { background: var(--sea-light); color: var(--ink); border-color: var(--sea-light); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-close { right: 16px; top: 16px; }
.lb-cap { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
@media (max-width: 700px) { .lightbox { padding: 64px 12px; } .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; } .lb-cap { bottom: 22px; } }

.p-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; padding: clamp(40px, 6vw, 72px) 0; }
.p-nav a { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); transition: color .25s; }
.p-nav a:hover { color: var(--sea-light); }
.p-nav .next { justify-self: end; text-align: right; }
.p-nav .lbl { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.p-nav .ttl { font-family: var(--f-display); font-weight: 700; color: var(--cream); }
.p-nav svg { width: 18px; height: 18px; }
@media (max-width: 700px) { .p-nav { grid-template-columns: 1fr 1fr; } .p-nav .center { grid-column: 1 / -1; order: -1; justify-self: center; } }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { border-top: 1px solid var(--line); padding: clamp(60px, 8vw, 96px) 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .brand { margin-bottom: 18px; }
.footer-about { font-size: 14px; color: var(--muted); max-width: 320px; }
.footer h2 { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sea-light); font-weight: 700; margin-bottom: 16px; font-family: var(--f-body); }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer li a, .footer address { font-size: 14px; color: var(--muted); font-style: normal; transition: color .2s; }
.footer li a:hover { color: var(--cream); }
.footer-bottom { margin-top: clamp(48px, 6vw, 72px); padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 12px; color: var(--muted); }
.footer-bottom a:hover { color: var(--cream); }
.footer-bottom nav { display: flex; gap: 20px; }

/* Floating WhatsApp (mobile) */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 45; width: 56px; height: 56px; border-radius: 50%; background: var(--sea-light); color: var(--ink); display: none; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,0.35); transition: transform .25s; }
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { transform: scale(1.06); }
@media (max-width: 760px) { .wa-float { display: grid; } }

/* =========================================================
   REVEAL (solo con JS)
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Legal pages */
.legal h2 { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; margin: 40px 0 12px; color: var(--cream); }
.legal p, .legal li { color: var(--muted); font-size: 15.5px; }
.legal ul { padding-left: 20px; margin: 10px 0; }
.legal .todo { background: rgba(63,193,207,0.15); color: var(--sea-light); padding: 1px 6px; border-radius: 3px; }
