/* MAYK'S — estilos. Paleta: azul andino, naranja MAYK'S, grafito, blanco hueso. */
:root {
  --ink: #0E1420;
  --ink-2: #151D2C;
  --navy: #1F3A5F;
  --orange: #E09F3E;
  --orange-2: #F0B659;
  --graphite: #2B2B2B;
  --bone: #FBFAF7;
  --bone-2: #F1EEE7;
  --line-dark: rgba(251, 250, 247, .14);
  --line-light: rgba(31, 58, 95, .16);
  --muted-dark: rgba(251, 250, 247, .72);
  --muted-light: #55606E;
  --display: "Montserrat", "Segoe UI", Arial, sans-serif;
  --body: "Inter", "Segoe UI", Arial, sans-serif;
  --wrap: 1180px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }

/* ---------- Encabezado ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px clamp(20px, 4vw, 48px);
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.top.is-stuck {
  background: rgba(14, 20, 32, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line-dark);
  padding-block: 10px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 40px; height: 28px; fill: none; stroke: var(--orange); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.brand__road { stroke: var(--bone); stroke-width: 2; opacity: .7; }
.brand__text { display: grid; line-height: 1.1; }
.brand__text strong { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: .02em; }
.brand__text em { font-style: normal; font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark); margin-top: 3px; }
.nav { display: flex; gap: 30px; font-size: 15px; font-weight: 500; }
.nav a { position: relative; white-space: nowrap; padding: 6px 0; color: var(--muted-dark); transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:hover { color: var(--bone); }
.nav a:hover::after { transform: scaleX(1); }
.top__actions { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; align-items: center; min-height: 44px; border: 1px solid var(--line-dark); border-radius: 999px; background: transparent; padding: 3px; cursor: pointer; }
.lang span { padding: 5px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; color: var(--muted-dark); transition: background .2s, color .2s; }
.lang span.is-on { background: var(--bone); color: var(--ink); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; cursor: pointer;
  font-weight: 600; font-size: 15.5px; line-height: 1;
  padding: 15px 24px;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--orange); color: var(--ink); box-shadow: 0 10px 28px rgba(224, 159, 62, .28); }
.btn--primary:hover { background: var(--orange-2); }
.btn--wa { border: 1px solid var(--line-dark); color: var(--bone); min-height: 44px; padding: 11px 18px; font-size: 14.5px; }
.btn--wa:hover { background: var(--bone); color: var(--ink); }
.btn--full { width: 100%; padding-block: 17px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #0B101A 0%, #101A2B 55%, #16263F 100%); }
.hero__glow { position: absolute; width: 70vmax; height: 70vmax; right: -18vmax; top: -30vmax; border-radius: 50%; background: radial-gradient(circle, rgba(224, 159, 62, .2), rgba(224, 159, 62, 0) 62%); transform: translate3d(var(--mx, 0px), var(--my, 0px), 0); transition: transform .6s ease-out; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; animation: zoomOut 2.4s cubic-bezier(.2, .8, .2, 1) both; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(11, 16, 26, .94) 0%, rgba(11, 16, 26, .78) 42%, rgba(11, 16, 26, .38) 100%),
  linear-gradient(180deg, rgba(11, 16, 26, .7) 0%, rgba(11, 16, 26, 0) 30%, rgba(11, 16, 26, .85) 100%); }
@keyframes zoomOut { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(60px); } to { opacity: .9; transform: translateY(0); } }

.hero__inner { width: min(100% - 40px, var(--wrap)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow, .kicker { font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); }
.eyebrow { animation: fadeUp .8s .1s both; }
.hero__title { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -.02em; margin: 18px 0 24px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: inline-block; animation: lineUp 1s cubic-bezier(.2, .8, .2, 1) both; }
.hero__title .line:nth-child(1) > span { animation-delay: .2s; }
.hero__title .line:nth-child(2) > span { animation-delay: .36s; }
.accent { color: var(--orange); }
@keyframes lineUp { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.hero__lead { max-width: 54ch; font-size: clamp(17px, 1.35vw, 19.5px); color: var(--muted-dark); animation: fadeUp .9s .55s both; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line-dark); animation: fadeUp .9s .7s both; }
.hero__facts li { display: grid; gap: 2px; }
.hero__facts strong { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -.01em; }
.hero__facts span { font-size: 13.5px; color: var(--muted-dark); }

/* ---------- Formulario ---------- */
.book { background: var(--bone); color: var(--graphite); border-radius: 22px; padding: clamp(22px, 2.6vw, 32px); box-shadow: 0 40px 90px rgba(0, 0, 0, .45); display: grid; gap: 14px; animation: fadeUp 1s .45s both; }
.book__title { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--navy); }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--bone-2); border-radius: 12px; padding: 4px; }
.tab { border: 0; background: transparent; border-radius: 9px; padding: 11px 6px; font-size: 14px; font-weight: 600; color: var(--muted-light); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.tab.is-on { background: var(--navy); color: var(--bone); box-shadow: 0 6px 16px rgba(31, 58, 95, .28); }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-light); }
.field input, .field select { width: 100%; min-width: 0; height: 50px; padding: 0 14px; border: 1px solid var(--line-light); border-radius: 11px; background: #fff; color: var(--graphite); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field input::placeholder { color: #6B7480; }
.field input:focus, .field select:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(31, 58, 95, .14); }
.field.is-bad input { border-color: #C0392B; box-shadow: 0 0 0 3px rgba(192, 57, 43, .12); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.book__note { font-size: 13.5px; color: var(--muted-light); }
.book__note.is-bad { color: #A93226; font-weight: 600; }
.book__legal { font-size: 12.5px; line-height: 1.5; color: var(--muted-light); text-align: center; }
.book__legal a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Secciones ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section--light { background: var(--bone); color: var(--graphite); }
.section--dark { background: var(--ink); }
.section--navy { background: var(--navy); }
.h2 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.08; letter-spacing: -.02em; margin-top: 14px; max-width: 18ch; }
.section--light .h2 { color: var(--navy); }
.section--light .kicker { color: #8A5A12; }
.lead { margin-top: 20px; max-width: 52ch; font-size: 18px; color: var(--muted-light); }
.section h3 { font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.25; }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--line-light); }
.step { padding: 32px 32px 8px 0; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line-light); }
.step__n { font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .1em; color: var(--orange); }
.step h3 { margin: 14px 0 10px; color: var(--navy); }
.step p { color: var(--muted-light); }

/* Servicios */
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 56px; }
.card { grid-column: span 2; display: flex; flex-direction: column; gap: 12px; padding: 30px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: linear-gradient(180deg, var(--ink-2), rgba(21, 29, 44, .4)); transition: transform .3s ease, border-color .3s ease, background .3s ease; }
.card:nth-child(4), .card:nth-child(5) { grid-column: span 3; }
.card:hover { transform: translateY(-6px); border-color: rgba(224, 159, 62, .6); }
.card__icon { width: 44px; height: 44px; fill: none; stroke: var(--orange); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.card p { color: var(--muted-dark); flex: 1; }
.card__link { align-self: flex-start; margin-top: 0; font-weight: 600; font-size: 15px; color: var(--orange); border-bottom: 1px solid rgba(224, 159, 62, .4); padding: 12px 0 10px; transition: border-color .2s, letter-spacing .2s; }
.card__link::after { content: " →"; }
.card__link:hover { border-color: var(--orange); letter-spacing: .01em; }

/* Van */
.van { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.specs { display: grid; gap: 0; margin-top: 34px; border-top: 1px solid var(--line-light); }
.specs li { display: grid; grid-template-columns: 84px 1fr; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-light); }
.specs strong { font-family: var(--display); font-weight: 800; font-size: 28px; color: var(--navy); }
.specs span { color: var(--muted-light); }
.van__photos { position: relative; padding: 0 0 56px 0; }
.van__photos img { display: block; width: 100%; height: auto; object-fit: cover; }
.van__main { border-radius: 22px; aspect-ratio: 4 / 3; box-shadow: 0 30px 60px rgba(31, 58, 95, .22); }
.van__photos .van__inside { position: absolute; right: -14px; bottom: 0; width: 38%; aspect-ratio: 4 / 5; border-radius: 16px; border: 6px solid var(--bone); box-shadow: 0 20px 44px rgba(31, 58, 95, .28); }

/* Galería */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.shot { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bone-2); }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.shot:hover img { transform: scale(1.06); }
.shots__credits { margin-top: 18px; font-size: 13px; line-height: 1.6; color: var(--muted-light); }
.shots__credits a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 18px 14px; color: var(--bone); font-family: var(--display); font-weight: 600; font-size: 16px; background: linear-gradient(180deg, rgba(11, 16, 26, 0), rgba(11, 16, 26, .82)); }

/* Acompañamiento */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.tier { padding: 30px; border: 1px solid rgba(251, 250, 247, .22); border-radius: var(--radius); display: grid; gap: 12px; align-content: start; }
.tier--mark { background: var(--bone); color: var(--graphite); border-color: var(--bone); }
.tier__tag { justify-self: start; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(251, 250, 247, .14); }
.tier--mark .tier__tag { background: var(--orange); color: var(--ink); }
.tier--mark h3 { color: var(--navy); }
.tier p:last-child { color: var(--muted-dark); }
.tier--mark p:last-child { color: var(--muted-light); }

/* Por qué */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.why__list li { padding: 26px 0; border-top: 1px solid var(--line-dark); }
.why__list li:last-child { border-bottom: 1px solid var(--line-dark); }
.why__list h3 { margin-bottom: 8px; }
.why__list p { color: var(--muted-dark); }

/* Preguntas */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq details { border-top: 1px solid var(--line-light); }
.faq details:last-child { border-bottom: 1px solid var(--line-light); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--display); font-weight: 600; font-size: 18.5px; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--orange); transition: transform .25s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 44px 24px 0; color: var(--muted-light); max-width: 62ch; }

/* Cierre */
.cta { background: linear-gradient(180deg, #16263F, var(--ink)); padding: clamp(72px, 9vw, 120px) 0; }
.cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta .h2 { margin: 0; max-width: 16ch; }

/* Pie */
.foot { background: #090D15; padding: 44px 0 110px; font-size: 14.5px; color: var(--muted-dark); }
.foot__inner { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr; gap: 28px 40px; align-items: start; }
.foot__contact, .foot__links { display: grid; gap: 4px; }
.foot a { display: inline-block; padding: 10px 0; overflow-wrap: anywhere; color: var(--bone); text-decoration: underline; text-decoration-color: rgba(251, 250, 247, .35); text-underline-offset: 3px; }
.foot a:hover { text-decoration-color: var(--orange); }
.foot__legal { grid-column: 1 / 3; }
.foot__copy { text-align: right; }
.foot__brand { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--bone); margin-bottom: 6px; }
.foot__copy { white-space: nowrap; }

/* Barra fija de WhatsApp (móvil) */
.wa-bar { display: none; position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 60; background: var(--orange); color: var(--ink); text-align: center; font-weight: 600; padding: 16px; border-radius: 999px; box-shadow: 0 14px 34px rgba(0, 0, 0, .45); }

/* ---------- Aparición al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* ---------- Tablet y móvil ---------- */
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-dark); border-radius: 999px; background: transparent; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--bone); transition: transform .25s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Páginas legales ---------- */
.legal-page { background: var(--bone); color: var(--graphite); }
.legal-page .top { position: sticky; top: 0; color: var(--bone); }
.legal-page .top .btn--wa { display: inline-flex; white-space: nowrap; }
.legal { width: min(100% - 40px, 780px); margin: 0 auto; padding: clamp(40px, 6vw, 72px) 0 96px; }
.legal h1 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -.02em; color: var(--navy); }
.legal__date { margin-top: 12px; font-size: 14.5px; color: var(--muted-light); }
.legal h2 { font-family: var(--display); font-weight: 800; font-size: 23px; line-height: 1.2; color: var(--navy); margin: 44px 0 12px; }
.legal h3 { font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--navy); margin: 26px 0 10px; }
.legal p { margin-top: 14px; }
.legal ul { margin-top: 12px; padding-left: 22px; list-style: disc; display: grid; gap: 8px; }
.legal a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal table { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: 16px; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border: 1px solid var(--line-light); }
.legal th { background: var(--bone-2); font-weight: 600; color: var(--navy); }
.legal__back { margin-top: 48px !important; padding-top: 24px; border-top: 1px solid var(--line-light); }

@media (max-width: 1100px) {
  .burger { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; gap: 0; padding: 8px clamp(20px, 4vw, 48px) 18px; background: rgba(14, 20, 32, .97); box-shadow: 0 24px 40px rgba(0, 0, 0, .4); }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; font-size: 17px; color: var(--bone); border-bottom: 1px solid var(--line-dark); }
  .nav a::after { display: none; }
}
@media (max-width: 980px) {
  .hero { padding: 104px 0 72px; align-items: flex-start; }
  .hero__inner { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card, .card:nth-child(4), .card:nth-child(5) { grid-column: auto; }
  .card:nth-child(5) { grid-column: 1 / -1; }
  .van, .why, .faq { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr 1fr; }
  .van__photos .van__inside { right: 0; }
  .hero__shade { background: linear-gradient(180deg, rgba(11, 16, 26, .9) 0%, rgba(11, 16, 26, .82) 45%, rgba(11, 16, 26, .92) 100%); }
  .foot__inner { grid-template-columns: 1fr; align-items: start; }
  .foot__legal { grid-column: auto; }
  .foot__copy { text-align: left; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand__text em { display: none; }
  .top .btn--wa { display: none; }
  .hero__facts { gap: 16px 24px; }
  .hero__facts strong { font-size: 20px; }
  .tab { font-size: 13px; padding-inline: 2px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 26px 0 22px; border-left: 0; border-bottom: 1px solid var(--line-light); }
  .cards { grid-template-columns: 1fr; }
  .card:nth-child(5) { grid-column: auto; }
  .card, .tier { padding: 24px; }
  .shots { grid-template-columns: 1fr; margin-top: 36px; }
  .specs li { grid-template-columns: 64px 1fr; }
  .cta__inner .btn { width: 100%; }
  .wa-bar { display: block; }
}
