:root {
  --ink: #061b42;
  --navy: #09243d;
  --blue: #053d56;
  --muted: #586e86;
  --red: #e60020;
  --green: #008c3c;
  --white: #fff;
  --pad: clamp(24px, 5.5vw, 108px);
  --font: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); }
img, picture { display: block; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid #2d92e1; outline-offset: 4px; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2 { font-weight: 850; letter-spacing: -.054em; line-height: .99; }
h3 { line-height: 1.14; }
em { color: var(--red); font-style: normal; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: fixed; z-index: 10; left: 12px; top: 12px; padding: 10px 16px; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.rule::before { content: ""; display: block; width: clamp(30px, 4.4vw, 74px); height: 4px; margin-bottom: .36em; background: var(--red); border-radius: 3px; }

.button {
  display: inline-grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  justify-items: center;
  gap: clamp(8px, 1.5vw, 24px);
  min-height: 47px;
  border: 0;
  border-radius: clamp(9px, 1.3vw, 22px);
  padding: .72em 1em;
  background: var(--red);
  color: white;
  text-align: center;
  text-transform: uppercase;
  font-size: clamp(13px, 1.8vw, 30px);
  font-weight: 750;
  line-height: 1.15;
}
.button--leading { grid-template-columns: auto 1fr auto; }
.button--leading > .icon:first-child { width: 2em; height: 2em; }
.button--leading > span { width: 100%; padding-left: .8em; border-left: 1px solid #ffffff88; }
.button .arrow { width: 1em; height: 1em; }
a.button:hover { background: #c6001b; }
.button:disabled { cursor: default; }

.hero {
  min-height: clamp(470px, 56.28vw, 1000px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(24px, 2.4vw, 44px) var(--pad) 6vw;
  background:
    linear-gradient(90deg, #fff 0%, #fffffffc 23%, #fffffff2 31%, #ffffffb8 40%, #ffffff00 57%),
    url("assets/hero.webp") center / cover no-repeat;
}
.hero__header { width: 100%; display: flex; justify-content: space-between; align-items: flex-start; }
.brand { width: clamp(140px, 18vw, 305px); height: auto; mix-blend-mode: multiply; }
.hero__copy { margin-top: clamp(26px, 3.1vw, 58px); }
.hero h1 { font-size: clamp(40px, 5.45vw, 102px); }
.hero p, .contact__copy p, .process__copy p { color: var(--muted); font-size: clamp(19px, 2.55vw, 45px); line-height: 1.04; letter-spacing: -.029em; }
.hero p { margin-top: .35em; font-weight: 550; }
.hero .button { margin-top: 1.45em; box-shadow: 0 9px 21px #8c092b40; }
.menu { display: none; }

.services { padding: 5.75vw max(var(--pad), 7.2vw) 5.3vw; }
.services h2 { text-align: center; font-size: clamp(36px, 5vw, 84px); }
.services .rule::before { display: none; }
.services__related { margin-top: 1.2rem; text-align: center; font-weight: 700; }
.services__related a, .detail-text-link { text-decoration: underline; text-underline-offset: .18em; }
.service-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65vw; margin-top: 2.5vw; }
.service-list li { display: flex; }
.service {
  width: 100%;
  display: grid;
  grid-template-columns: 43% minmax(0, 1fr);
  align-items: center;
  gap: 4%;
  position: relative;
  border-radius: 1.25vw;
  padding: .86vw 1.12vw .86vw .86vw;
  background: var(--blue);
  color: white;
}
.service:hover { background: #07516e; }
.service img { width: 100%; height: auto; border-radius: .74vw; }
.service div { padding: .8em 1em .8em .75vw; border-left: 1px solid #b3cbdbb5; }
.service h3 { font-size: clamp(12px, 1.64vw, 30px); font-weight: 760; }
.service p { margin-top: .45em; font-size: clamp(11px, 1.37vw, 24px); line-height: 1.23; color: #e3eff8; }
.service .arrow { position: absolute; right: 3%; width: clamp(13px, 1.9vw, 31px); height: auto; aspect-ratio: 1; }

.video {
  position: relative;
  min-height: 56.28vw;
  display: grid;
  align-items: center;
  background: #0a2c48;
  color: white;
  isolation: isolate;
}
.video::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 56%;
  z-index: -1;
  background: linear-gradient(90deg, #0a2c48, transparent 15%), url("assets/video.webp") center / cover no-repeat;
}
.video__copy { max-width: 52%; padding-left: var(--pad); }
.video h2 { font-size: clamp(42px, 7.72vw, 132px); }
.video em { display: inline-block; background: var(--red); color: white; padding: .03em .13em .1em; border-radius: .16em; }
.video p { max-width: 27ch; margin-top: .52em; color: #d1e3f0; font-size: clamp(18px, 2.55vw, 43px); line-height: 1.1; letter-spacing: -.036em; }
.video p::after { content: ""; display: block; width: 2.3em; height: 4px; margin-top: .88em; border-radius: 3px; background: var(--red); }
.video__status { position: absolute; left: 55%; top: 50%; transform: translate(-50%, -39%); display: grid; justify-items: center; gap: 8px; }
.play { display: grid; place-items: center; width: clamp(66px, 13.9vw, 216px); aspect-ratio: 1; border-radius: 50%; background: white; color: var(--ink); }
.play svg { width: 50%; height: 50%; fill: currentColor; }
.video__badge { padding: 4px 9px; border-radius: 30px; background: #09243de8; color: white; font-size: clamp(11px, 1vw, 16px); white-space: nowrap; }

.process {
  display: grid;
  grid-template-columns: minmax(0, 34%) minmax(0, 66%);
  align-items: start;
  padding: 5.4vw 3.5vw 2.8vw 4vw;
  min-height: 43.9vw;
  background: linear-gradient(180deg, #fff 0%, #ffffffea 50%, #ffffff00 100%) top left / 36% 63% no-repeat, url("assets/proceso.webp") center bottom / cover no-repeat;
}
.process__copy h2 { font-size: clamp(39px, 6.4vw, 107px); line-height: .89; }
.process__copy .rule::before { display: none; }
.process__copy p { margin-top: .44em; font-size: clamp(16px, 2.16vw, 37px); }
.process__body { display: grid; justify-items: center; padding-top: 2.2vw; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9vw; width: 100%; }
.step {
  --step-desktop: url("assets/paso-1.webp");
  --step-mobile: url("assets/paso-1-movil.webp");
  min-height: 24.2vw;
  padding: 11vw 1.35vw .85vw;
  border: 1px solid #ffffff6b;
  border-radius: clamp(8px, 1vw, 17px);
  background: var(--step-desktop) center top / 100% 10.2vw no-repeat, #073952;
  color: white;
  box-shadow: 0 4px 9px #0c233344;
}
.step--two { --step-desktop: url("assets/paso-2.webp"); --step-mobile: url("assets/paso-2-movil.webp"); }
.step--three { --step-desktop: url("assets/paso-3.webp"); --step-mobile: url("assets/paso-3-movil.webp"); }
.step--four { --step-desktop: url("assets/paso-4.webp"); --step-mobile: url("assets/paso-4-movil.webp"); }
.step__number { display: block; font-size: clamp(18px, 2.9vw, 51px); font-weight: 850; line-height: 1; color: #bdd4e4; }
.step__number::after { content: ""; display: block; width: 1.35em; margin: .34em 0 .48em; border-bottom: 1px solid currentColor; }
.step h3 { font-size: clamp(10px, 1.53vw, 27px); letter-spacing: -.028em; }
.step p { margin-top: .42em; font-size: clamp(10px, 1.18vw, 21px); line-height: 1.2; color: #edf4f9; }
.button--whatsapp { margin-top: 1vw; min-width: 78%; background: var(--green); box-shadow: 0 7px 15px #00793e3c; }
.pending { color: var(--muted); font-size: clamp(11px, 1.02vw, 16px); line-height: 1.3; }
.process .pending { margin-top: 8px; padding: 2px 6px; border-radius: 3px; background: #ffffffea; text-align: center; }

.contact {
  min-height: 56.28vw;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 29vw);
  align-items: start;
  gap: 2vw;
  padding: 9.7vw 3.8vw 7vw var(--pad);
  background:
    linear-gradient(116deg, #fffffffe 4%, #ffffffe5 17%, #ffffff00 42%),
    url("assets/contacto.webp") center / cover no-repeat;
}
.contact__copy { padding-top: 1.25vw; }
.contact h2 { font-size: clamp(43px, 5.6vw, 100px); line-height: .91; }
.contact__copy p { margin-top: .4em; font-weight: 550; }
.contact-form {
  display: grid;
  padding: clamp(16px, 2vw, 35px);
  border-radius: clamp(11px, 1.35vw, 23px);
  background: #fffffff9;
  box-shadow: 0 5px 24px #09243d22;
}
.contact-form label { font-size: clamp(13px, 1.17vw, 21px); font-weight: 760; margin: .15em 0 .28em; }
.field { display: flex; align-items: center; gap: .6em; border-radius: 8px; background: #edf2f6; margin-bottom: clamp(11px, 1.42vw, 24px); padding-left: .7em; color: var(--muted); font-size: clamp(14px, 1.06vw, 19px); }
.field .icon { width: 1.25em; height: 1.25em; }
.field input, .field textarea { width: 100%; min-width: 0; min-height: 38px; background: none; border: 0; border-radius: 6px; padding: .66em .65em; color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { opacity: 1; color: var(--muted); }
.field textarea { resize: vertical; }
.button--submit { width: 100%; border-radius: 8px; font-size: clamp(13px, 1.28vw, 23px); }
.contact-form .pending { margin-top: .65em; text-align: center; }

.footer { padding: 2.45vw 5.5vw 1.75vw; background: var(--navy); color: white; }
.footer__body { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1fr); margin: 0 auto; }
.footer__body > * { padding: 0 3.5vw; border-right: 1px solid #ffffff24; }
.footer__body > :first-child { padding-left: 2.5vw; }
.footer__body > :last-child { border: 0; padding-right: 0; }
.footer__brand img { width: clamp(98px, 11.8vw, 205px); height: auto; }
.footer p, .footer a, .footer h2, .footer address { font-size: clamp(12px, 1.06vw, 18px); }
.footer__brand p { line-height: 1.2; margin: .55em 0 .9em; color: #e1edf7; }
.footer__brand .button { min-height: 37px; border-radius: 7px; font-size: clamp(10px, .9vw, 15px); }
.footer h2 { letter-spacing: -.01em; font-weight: 750; }
.footer h2::after { content: ""; display: block; width: 2.1em; border-bottom: 2px solid var(--red); margin: .55em 0 .7em; }
.footer__services a { display: flex; justify-content: space-between; align-items: center; gap: 4px; border-bottom: 1px solid #ffffff24; padding: .65em 0; }
.footer__services a:hover { text-decoration: underline; }
.footer__contact address { display: grid; gap: .5em; color: #e1edf7; font-style: normal; line-height: 1.35; }
.footer__contact strong { color: white; }
.footer__contact a { width: fit-content; max-width: 100%; overflow-wrap: anywhere; color: white; text-decoration: underline; text-underline-offset: .18em; }
.footer__legal { margin-top: 2vw; padding-top: 1.25vw; border-top: 1px solid #ffffff24; font-size: clamp(10px, .9vw, 15px); color: #e1edf7; }

@media (min-width: 1800px) {
  body { max-width: 1920px; margin-inline: auto; }
}

@media (max-width: 760px) {
  :root { --pad: 6.1vw; }
  .rule::before { height: 3px; }
  .hero { min-height: auto; padding: 2.5vw var(--pad) 4.8vw; background: #fff linear-gradient(150deg, #fff 20%, #f4f6f8 100%); }
  .hero__header { align-items: center; }
  .brand { width: clamp(96px, 27.8vw, 170px); }
  .menu { display: block; position: relative; }
  .menu summary { display: grid; place-items: center; width: 44px; height: 44px; list-style: none; cursor: pointer; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu summary .icon { width: 30px; height: 30px; stroke-width: 2.3; }
  .menu nav { position: absolute; z-index: 3; top: calc(100% + 6px); right: 0; width: max-content; max-width: 74vw; border-radius: 10px; background: white; box-shadow: 0 6px 26px #09243d33; }
  .menu nav a { display: block; padding: 12px 16px; font-weight: 650; }
  .menu nav a:hover { color: var(--red); }
  .hero__copy { margin-top: 6.4vw; width: 100%; }
  .hero h1 { font-size: clamp(29px, 9.35vw, 63px); }
  .hero p, .contact__copy p, .process__copy p { font-size: clamp(15px, 4.7vw, 28px); }
  .hero .button { margin-top: 1em; width: 100%; }
  .button { font-size: clamp(12px, 3.8vw, 23px); border-radius: 10px; min-height: 49px; }
  .button--leading { padding-inline: 1.5em 1em; }
  .services { padding: 1.5vw var(--pad) 5.3vw; }
  .services h2 { font-size: clamp(24px, 6.75vw, 46px); text-align: left; }
  .services .rule::before { display: block; }
  .service-list { grid-template-columns: 1fr; gap: 1.2vw; margin-top: 2.7vw; }
  .service { grid-template-columns: 29% minmax(0, 1fr); gap: 3.2%; padding: 1.6vw 2.6vw 1.6vw 1.6vw; border-radius: 10px; box-shadow: 0 4px 8px #0c233332; }
  .service img { border-radius: 7px; }
  .service div { padding: .12em .45em .12em 3.4vw; }
  .service h3 { font-size: clamp(13px, 3.77vw, 25px); }
  .service p { max-width: 26ch; margin-top: .3em; font-size: clamp(11px, 3.05vw, 20px); }
  .service .arrow { display: none; }
  .video { margin: 0 2.4vw 3.3vw; min-height: unset; aspect-ratio: 941 / 1672; border-radius: 7.7vw; overflow: hidden; align-items: start; }
  .video::before { inset: auto 0 0; width: 100%; height: 71%; background: linear-gradient(#0a2c48, #0a2c4800 12%), url("assets/video-movil.webp") center / cover no-repeat; }
  .video__copy { max-width: 100%; padding: 11vw 8.8vw 0; }
  .video h2 { font-size: clamp(34px, 12.4vw, 85px); }
  .video p { margin-top: .58em; max-width: none; font-size: clamp(14px, 4.6vw, 28px); }
  .video p::after { display: none; }
  .video__status { left: 50%; top: 62%; }
  .play { width: clamp(66px, 24.5vw, 154px); }
  .process { grid-template-columns: 1fr; padding: 21vw var(--pad) 5vw; background: linear-gradient(90deg, #fff 2%, #ffffffed 23%, #ffffff00 60%) center top / 100% 54vw no-repeat, url("assets/proceso-movil.webp") center top / 100% auto no-repeat; }
  .process__copy h2, .contact h2 { font-size: clamp(34px, 10.1vw, 70px); }
  .process__copy .rule::before { display: block; }
  .process__copy p { margin-top: .38em; }
  .process__body { padding-top: 4.5vw; }
  .steps { grid-template-columns: 1fr; gap: 2.25vw; }
  .step { display: grid; grid-template-columns: clamp(40px, 12vw, 80px) 1fr; align-items: center; gap: 4vw; min-height: 19.6vw; padding: 1.6vw 2.4vw 1.6vw 3vw; background: linear-gradient(90deg, #07395240 0%, #073952e8 36%, #073952a8 57%, #07395200 78%), var(--step-mobile) center / cover no-repeat, var(--blue); }
  .step__number { align-self: stretch; display: grid; align-items: center; border-right: 1px solid #ffffff75; font-size: clamp(22px, 6.3vw, 47px); }
  .step__number::after { display: none; }
  .step h3 { font-size: clamp(13px, 3.6vw, 25px); }
  .step p { max-width: 24ch; font-size: clamp(10px, 2.65vw, 18px); }
  .button--whatsapp { width: 100%; margin-top: 3.5vw; background: var(--red); box-shadow: 0 6px 15px #8c092b40; }
  .contact { grid-template-columns: 1fr; gap: 0; padding: 0 0 4.3vw; background: white; }
  .contact__copy { min-height: 64vw; padding: 17vw var(--pad) 0; background: linear-gradient(90deg, #fff 0%, #ffffffee 24%, #ffffff00 59%), url("assets/contacto-movil.webp") center top / 100% auto no-repeat; }
  .contact__copy p { margin-top: .34em; }
  .contact-form { margin: -4.5vw 4vw 0; position: relative; padding: 3.7vw 4.3vw 4.2vw; }
  .contact-form label { font-size: clamp(13px, 3.35vw, 22px); }
  .field { font-size: clamp(16px, 3.5vw, 22px); margin-bottom: 3.25vw; }
  .field input::placeholder, .field textarea::placeholder { font-size: .88em; }
  .button--submit { font-size: clamp(14px, 3.7vw, 22px); }
  .footer { padding: 5vw var(--pad) 4vw; }
  .footer__body { grid-template-columns: 1fr 1fr; column-gap: 5vw; row-gap: 5vw; }
  .footer__body > *, .footer__body > :first-child { padding: 0; border: 0; }
  .footer__contact { grid-column: 1 / -1; }
  .footer__brand .button { padding-inline: .9em; }
  .footer__legal { margin-top: 4vw; padding-top: 3vw; }
}

@media (max-width: 380px) {
  .footer__body { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
