@font-face { font-family: 'Archivo'; src: url('../fonts/archivo-var.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --navy: #0c2340;
  --navy-deep: #071627;
  --white: #ffffff;
  --paper: #f6f6f4;
  --steel: #5b6472;
  --line: #e3e5e9;
  --on-navy: #b4c0d1;
  --line-on-navy: rgba(255, 255, 255, 0.16);
  --focus: var(--navy);

  --display: 'Archivo', 'Arial Black', system-ui, sans-serif;
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(84px, 11vw, 168px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  scrollbar-color: var(--navy) var(--paper);
}
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, summary, label { touch-action: manipulation; }
::selection { background: var(--navy); color: var(--white); }
.on-navy ::selection, .hero ::selection { background: var(--white); color: var(--navy); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.on-navy, .hero, .site-footer, .site-header.is-solid { --focus: var(--white); }
input, textarea, select { caret-color: var(--navy); }

.skip {
  position: absolute; left: 12px; top: -64px; z-index: 200;
  background: var(--white); color: var(--navy); padding: 10px 16px;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; text-wrap: balance; }
/* Títulos en mayúsculas con el trazo del logo; los h3 van en minúsculas para leerse mejor. */
h1, h2 { text-transform: uppercase; letter-spacing: 0.01em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.08; max-width: 24ch; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.15; letter-spacing: 0.005em; }
p { margin: 0; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--steel); max-width: 52ch; }
.on-navy .lede { color: var(--on-navy); }
.label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 30px;
  border: 1px solid var(--navy); border-radius: 2px;
  background: var(--navy); color: var(--white);
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: transparent; color: var(--navy); }
}
.btn--light { background: var(--white); color: var(--navy); border-color: var(--white); }
@media (hover: hover) and (pointer: fine) {
  .btn--light:hover { background: transparent; color: var(--white); }
}
.btn--outline { background: transparent; color: var(--navy); }
@media (hover: hover) and (pointer: fine) {
  .btn--outline:hover { background: var(--navy); color: var(--white); }
}
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
@media (hover: hover) and (pointer: fine) {
  .btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-top: env(safe-area-inset-top);
  transition: background-color 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
  color: var(--white);
}
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(7, 22, 39, 0.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; transition: opacity 0.3s ease;
}
.site-header.is-solid::before { opacity: 1; }
.site-header.is-solid { border-bottom-color: var(--line-on-navy); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.nav a:not(.btn) {
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; opacity: 0.86; padding: 8px 0;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: background-size 0.3s var(--ease-out), opacity 0.18s ease;
}
@media (hover: hover) and (pointer: fine) {
  .nav a:not(.btn):hover { opacity: 1; background-size: 100% 1px; }
}
.nav .btn { min-height: 44px; padding: 10px 22px; }
.menu-btn {
  display: none; width: 48px; height: 48px; margin-right: -10px;
  background: none; border: 0; cursor: pointer; color: inherit;
  align-items: center; justify-content: center;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 24px; height: 1.5px; background: currentColor; position: relative;
  transition: transform 0.25s var(--ease-out), background-color 0.2s ease;
}
.menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; left: 0; }
.menu-btn span::before { top: -7px; }
.menu-btn span::after { top: 7px; }
.menu-btn[aria-expanded='true'] span { background: transparent; }
.menu-btn[aria-expanded='true'] span::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded='true'] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px;
    padding: calc(var(--header-h) + 24px) var(--gutter) calc(40px + env(safe-area-inset-bottom));
    background: var(--navy-deep);
    opacity: 0; visibility: hidden;
    transition: opacity 0.25s ease, visibility 0s linear 0.25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transition: opacity 0.25s ease; }
  .nav a:not(.btn) { font-family: var(--display); font-size: 1.7rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; opacity: 1; padding: 10px 0; }
  .nav .btn { margin-top: 24px; font-family: var(--sans); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--navy-deep); color: var(--white);
  padding: calc(var(--header-h) + 40px) 0 0;
}
.hero__media { position: absolute; z-index: -2; inset: 0 0 auto 0; height: 58%; overflow: hidden; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%;
  animation: settle 2.4s var(--ease-out) both;
}
.hero__media {
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 22, 39, 0.55) 0%, rgba(7, 22, 39, 0) 22%);
}
@media (min-width: 900px) {
  .hero__media {
    inset: 0 0 0 auto; width: 70%; height: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.35) 28%, #000 62%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.35) 28%, #000 62%);
  }
  .hero__media img { object-position: 50% 58%; }
  .hero::after { background: linear-gradient(180deg, rgba(7, 22, 39, 0.5) 0%, rgba(7, 22, 39, 0) 20%, rgba(7, 22, 39, 0) 70%, rgba(7, 22, 39, 0.7) 100%); }
}.hero__body { padding-bottom: clamp(36px, 6vw, 72px); }
.hero h1 { font-size: clamp(2rem, 5.8vw, 4.7rem); line-height: 1.02; font-weight: 700; }
.hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; margin-top: clamp(24px, 3.4vw, 44px); }
.hero__row p { max-width: 44ch; color: rgba(255, 255, 255, 0.84); font-size: clamp(1.02rem, 1.4vw, 1.2rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__strip {
  border-top: 1px solid var(--line-on-navy);
  padding: 18px 0 calc(18px + env(safe-area-inset-bottom));
  color: rgba(255, 255, 255, 0.72);
}
.hero__strip .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.on-navy { background: var(--navy); color: var(--white); }
.section__head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 80px); }

/* Services — the rider */
.rider { display: grid; grid-template-columns: 1fr; gap: 0; }
.svc { border-top: 1px solid var(--line); padding-block: 30px 34px; display: grid; gap: 14px; }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc h3 { color: var(--steel); transition: color 0.2s ease; }
.svc.is-active h3 { color: var(--navy); }
.svc p { color: var(--steel); max-width: 46ch; }
.svc ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.svc li { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.svc img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-top: 10px; }
.rider__panel { display: none; }
@media (min-width: 900px) {
  .rider { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
  .svc { padding-block: 38px 44px; cursor: default; }
  .svc img { display: none; }
  .rider__panel {
    display: block; position: sticky; top: calc(var(--header-h) + 28px);
    aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy);
  }
  .rider__panel img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transition: opacity 0.45s ease;
  }
  .rider__panel img.is-on { opacity: 1; }
}

/* Work */
.work { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px) clamp(16px, 2.4vw, 32px); }
.work figure { margin: 0; grid-column: 1 / -1; }
.work button {
  display: block; width: 100%; padding: 0; border: 0; background: var(--navy); cursor: zoom-in; overflow: hidden;
}
.work img { width: 100%; aspect-ratio: var(--ar, 3 / 2); object-fit: cover; transition: transform 0.7s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .work button:hover img { transform: scale(1.035); }
}
.work figcaption { display: grid; gap: 2px; padding-top: 14px; }
.work figcaption strong { font-family: var(--display); font-weight: 600; font-size: 1.2rem; line-height: 1.2; letter-spacing: 0.005em; }
.work figcaption span { font-size: 0.8125rem; color: var(--steel); }
@media (min-width: 760px) {
  .work figure:nth-child(1) { grid-column: 1 / span 7; --ar: 4 / 3; }
  .work figure:nth-child(2) { grid-column: 8 / span 5; --ar: 3 / 4; align-self: end; }
  .work figure:nth-child(3) { grid-column: 1 / span 5; --ar: 4 / 5; }
  .work figure:nth-child(4) { grid-column: 6 / span 7; --ar: 3 / 2; align-self: start; margin-top: clamp(40px, 8vw, 120px); }
  .work figure:nth-child(5) { grid-column: 1 / span 6; --ar: 3 / 2; }
  .work figure:nth-child(6) { grid-column: 7 / span 6; --ar: 3 / 2; }
}

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: none; max-height: none;
  width: 100vw; height: 100vh; height: 100dvh; color: var(--white);
}
.lightbox::backdrop { background: rgba(7, 22, 39, 0.94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; max-width: min(1400px, 94vw); display: grid; gap: 14px; }
.lightbox img { max-height: 82vh; max-height: 82dvh; width: auto; margin-inline: auto; object-fit: contain; }
.lightbox figcaption { text-align: center; color: var(--on-navy); font-size: 0.9rem; }
.lightbox__close {
  position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 12px;
  width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.1);
  color: var(--white); font-size: 1.6rem; line-height: 1; cursor: pointer; --focus: var(--white);
}

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps li { border-top: 1px solid var(--line-on-navy); padding: 26px 0 32px; display: grid; gap: 12px; }
.steps .n { font-family: var(--display); font-size: 1.1rem; color: var(--on-navy); font-variant-numeric: tabular-nums; }
.steps p { color: var(--on-navy); max-width: 34ch; }
.steps h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); }
}
.process__cta { margin-top: clamp(40px, 6vw, 72px); display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }

/* FAQ */
.faq { display: grid; gap: clamp(36px, 6vw, 96px); }
@media (min-width: 900px) { .faq { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.faq__aside { display: grid; gap: 24px; align-content: start; }
.faq__aside a { font-weight: 600; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; font-weight: 600; font-size: 1.0625rem; min-height: 56px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ''; flex: none; width: 10px; height: 10px;
  border-right: 1.5px solid var(--steel); border-bottom: 1.5px solid var(--steel);
  transform: rotate(45deg) translateY(-2px); transition: transform 0.25s var(--ease-out);
}
details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
details p { padding: 0 40px 24px 0; color: var(--steel); max-width: 60ch; }

/* Contact */
.contact { display: grid; gap: clamp(40px, 6vw, 96px); }
@media (min-width: 900px) { .contact { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.contact__data { display: grid; gap: 30px; align-content: start; }
.contact__data dl { margin: 0; display: grid; gap: 22px; }
.contact__data dt { color: var(--steel); margin-bottom: 4px; }
.contact__data dd { margin: 0; font-size: 1.2rem; }
.contact__data a { text-decoration-color: var(--steel); }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 600px) { .field { grid-column: 1 / -1; } }
.field label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 14px; border: 1px solid #c9ced6; border-radius: 2px;
  background: var(--white); font-size: 1rem; appearance: none; -webkit-appearance: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--steel) 50%), linear-gradient(135deg, var(--steel) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat;
  padding-right: 40px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #a63a32; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 6px; }
.form__foot small { color: var(--steel); font-size: 0.875rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { grid-column: 1 / -1; padding: 12px 16px; border: 1px solid #e4bcb8; background: var(--white); color: #a63a32; font-size: 0.95rem; }
.form-note[hidden] { display: none; }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--on-navy); padding: clamp(48px, 7vw, 88px) 0 calc(36px + env(safe-area-inset-bottom)); }
.site-footer .wrap { display: grid; gap: 36px; }
.site-footer img { height: 40px; width: auto; }
.site-footer__cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 48px; }
.site-footer a { text-decoration-color: rgba(180, 192, 209, 0.4); }
.social { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.social a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--white); }
.social svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.social span { color: var(--on-navy); }
@media (hover: hover) and (pointer: fine) { .social a:hover { text-decoration: underline; text-underline-offset: 0.2em; } }
.site-footer small { display: block; border-top: 1px solid var(--line-on-navy); padding-top: 22px; font-size: 0.8125rem; }

/* WhatsApp floating */
.wa {
  position: fixed; right: calc(18px + env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 90;
  width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%;
  background: #1da851; color: var(--white); border: 2px solid var(--white);
  box-shadow: 0 12px 30px rgba(7, 22, 39, 0.4), 0 2px 8px rgba(7, 22, 39, 0.25);
  transition: transform 0.18s var(--ease-out), background-color 0.18s ease;
  --focus: var(--navy);
}
.wa:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.wa svg { width: 36px; height: 36px; fill: currentColor; }
@media (hover: hover) and (pointer: fine) { .wa:hover { background: #178f45; } }
.wa:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .wa:hover { transform: translateY(-3px); } }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero h1 .ln > span { display: block; animation: rise 1s var(--ease-out) both; animation-delay: calc(120ms + var(--i, 0) * 90ms); }
.hero__row, .hero__strip { animation: fade 1s var(--ease-out) 0.55s both; }
@keyframes settle { from { transform: scale(1.07); } to { transform: none; } }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transform: none; transition: opacity 0.4s ease; }
  .hero h1 .ln > span { animation: fade 0.6s ease both; animation-delay: 0ms; }
  .hero__row, .hero__strip { animation: fade 0.6s ease both; }
  .work img, .nav a:not(.btn), .rider__panel img { transition: none; }
  .hero__media img { animation: none; }
}

/* Thanks page */
.thanks { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: left; padding: 40px var(--gutter); background: var(--navy); color: var(--white); }
.thanks > div { max-width: 640px; display: grid; gap: 24px; justify-items: start; }
.thanks img { height: 40px; width: auto; }
.thanks h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.05; }
.thanks p { color: var(--on-navy); }





