:root {
  --bg: #0b0d10;
  --bg-2: #12161b;
  --line: rgba(255, 255, 255, .1);
  --text: #f2f4f6;
  --muted: #9aa3ad;
  --accent: #8fd3ff;
  --accent-ink: #06121b;
  --radius: 14px;
  --max: 1180px;
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0; }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0; }

.eyebrow {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: var(--text); }
.btn-small { padding: 9px 18px; font-size: .85rem; }

/* ---------- Logo ---------- */
.logo {
  display: inline-flex; align-items: baseline; flex-wrap: wrap;
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 1.3rem;
  line-height: 1;
  position: relative;
  padding-bottom: 12px;
}
.logo-sky { font-weight: 800; letter-spacing: .02em; }
.logo-mode { font-weight: 300; font-style: italic; letter-spacing: .02em; }
.logo small {
  position: absolute; left: 0; right: 0; bottom: 0;
  text-align: center;
  font-size: .5rem; letter-spacing: .5em; color: var(--muted);
  padding-left: .5em;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(16px, 4vw, 48px);
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 13, 16, .82);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) {
  text-decoration: none; font-size: .9rem; color: var(--muted);
  transition: color .2s;
}
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 120px clamp(16px, 5vw, 64px) clamp(64px, 10vh, 120px);
  overflow: hidden;
  /* Fondo de respaldo mientras no haya video */
  background:
    radial-gradient(120% 80% at 70% 10%, #2a5c7d 0%, transparent 60%),
    radial-gradient(90% 70% at 10% 100%, #183245 0%, transparent 60%),
    linear-gradient(180deg, #0f1e2a 0%, var(--bg) 100%);
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,13,16,.7) 0%, rgba(11,13,16,.25) 55%, transparent 80%),
    linear-gradient(180deg, rgba(11,13,16,.45) 0%, rgba(11,13,16,.15) 40%, rgba(11,13,16,.9) 100%);
}
.hero-content { position: relative; max-width: 760px; }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 22px;
}
.hero h1 em { font-weight: 300; font-style: italic; }
.lead { font-size: clamp(1rem, 1.6vw, 1.2rem); color: #c9d0d7; max-width: 560px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.scroll-hint {
  position: absolute; left: 50%; margin-left: -13px; bottom: 28px;
  width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 20px;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  background: #fff; border-radius: 2px; animation: drop 1.8s infinite;
}
@keyframes drop { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Secciones ---------- */
.section { padding: clamp(72px, 11vw, 140px) clamp(16px, 5vw, 64px); }
.section > * { max-width: var(--max); margin-inline: auto; }
.section-dark { background: var(--bg-2); }
.section-head { margin-bottom: clamp(36px, 6vw, 64px); }
.section-sub { color: var(--muted); margin-top: 14px; max-width: 560px; }
.section-sub a { color: var(--accent); }

/* ---------- Servicios ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.service { background: var(--bg); padding: 32px 28px 36px; transition: background .3s; }
.service:hover { background: #10151a; }
.service-num { font-family: var(--font-head); font-size: .85rem; color: var(--accent); margin-bottom: 40px; }
.service h3 { font-size: 1.5rem; margin-bottom: 12px; }
.service p { color: var(--muted); font-size: .95rem; margin-bottom: 20px; }
.service ul { list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.service li { padding: 8px 0; border-top: 1px solid var(--line); }

/* ---------- Galería ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 14px;
}
.shot {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 18px;
  background-size: cover; background-position: center;
  isolation: isolate;
}
.shot::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.7));
}
.shot::after {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: inherit; background-size: cover; background-position: center;
  transition: transform .6s ease;
}
.shot:hover::after { transform: scale(1.06); }
.gallery { grid-auto-flow: dense; }
.shot { margin: 0; background-color: #16202a; }
.shot-tall { grid-row: span 2; }
.shot-wide { grid-column: span 2; }
.shot-tag {
  align-self: flex-start;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(0,0,0,.35); backdrop-filter: blur(6px);
}
.shot-title { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; line-height: 1.1; }
.shot-title small { display: block; font-weight: 300; font-style: italic; font-size: .9rem; color: #d6dde3; margin-top: 4px; }

/* ---------- Caso real ---------- */
.case-grid {
  display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px); align-items: center;
}
.case-media {
  border-radius: 28px; overflow: hidden; aspect-ratio: 9 / 16;
  border: 1px solid var(--line); background: #000;
  box-shadow: 0 40px 80px -40px rgba(143, 211, 255, .25);
}
.case-video { width: 100%; height: 100%; object-fit: cover; }
.case-text > p:not(.eyebrow) { color: var(--muted); margin: 18px 0 24px; max-width: 560px; }
.case-list { list-style: none; padding: 0; margin: 0 0 28px; }
.case-list li { padding: 11px 0 11px 26px; border-top: 1px solid var(--line); position: relative; font-size: .95rem; color: var(--muted); }
.case-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }
.case-list strong { color: var(--text); font-weight: 500; }
.case-thumb { border-radius: var(--radius); width: 100%; max-height: 220px; object-fit: cover; }
@media (max-width: 860px) {
  .case-grid { grid-template-columns: 1fr; }
  .case-media { max-width: 340px; width: 100%; margin-inline: auto; }
}

/* ---------- Proceso ---------- */
.steps {
  list-style: none; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px;
  counter-reset: step;
}
.steps li { counter-increment: step; border-top: 1px solid var(--line); padding-top: 24px; }
.steps li::before {
  content: "0" counter(step);
  display: block; font-family: var(--font-head); font-weight: 300; font-style: italic;
  font-size: 2.6rem; color: var(--accent); margin-bottom: 14px;
}
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .95rem; }

/* ---------- Paquetes ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; align-items: stretch; }
.plan {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; display: flex; flex-direction: column;
  background: var(--bg);
}
.plan h3 { font-size: 1.4rem; margin-bottom: 8px; }
.plan-desc { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.plan-price {
  font-family: var(--font-head); font-weight: 800; font-size: 2.2rem;
  letter-spacing: -.02em; line-height: 1; margin-bottom: 22px;
}
.plan-featured .plan-price { color: var(--accent); }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; font-size: .93rem; }
.plan li { padding: 9px 0 9px 26px; position: relative; border-top: 1px solid var(--line); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }
.plan-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 30px 60px -30px rgba(143,211,255,.35); }
.plan-badge {
  position: absolute; top: -12px; left: 28px;
  background: var(--accent); color: var(--accent-ink);
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 22px 40px 22px 0; position: relative;
  font-family: var(--font-head); font-weight: 600; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-weight: 300; font-size: 1.6rem; color: var(--accent); transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; max-width: 680px; }

/* ---------- Contacto ---------- */
.contact {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px); align-items: start;
  padding-inline: max(clamp(16px, 5vw, 64px), calc((100% - var(--max)) / 2));
}
.contact > * { margin-inline: 0; max-width: none; }
.contact-text p:not(.eyebrow) { color: var(--muted); margin-top: 18px; max-width: 440px; }
.contact-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.contact-link {
  text-decoration: none; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: .92rem;
  transition: border-color .2s;
}
.contact-link:hover { border-color: var(--accent); }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: .85rem; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 14px; width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form .btn { justify-self: start; margin-top: 6px; }

/* ---------- Footer ---------- */
.footer { text-align: center; padding: 64px 16px 48px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer .logo { margin-bottom: 18px; color: var(--text); }
.footer-small { font-size: .78rem; margin-top: 6px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 76px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.6);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Animación al aparecer ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .scroll-hint span { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .nav-toggle {
    display: grid; gap: 6px; background: none; border: 0; padding: 8px; cursor: pointer; z-index: 2;
  }
  .nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); transition: transform .3s; }
  .nav.open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav-links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px;
    background: rgba(11,13,16,.97);
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav-links a:not(.btn) { font-size: 1.3rem; color: var(--text); }
  .nav.open .nav-links { opacity: 1; pointer-events: auto; }

  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .shot-wide { grid-column: span 2; }
  .contact { grid-template-columns: 1fr; }
  .scroll-hint { display: none; }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .shot-tall { grid-row: span 1; }
  .shot-wide { grid-column: span 1; }
  .hero-cta .btn { flex: 1; padding: 14px 14px; white-space: nowrap; font-size: .9rem; }
}
