/* Contacto: portada (hero) y animación de entrada. */
:root {
  --red: #163fb7;
  --red-2: #163fb7;
  --paper: #f5f5f2;
  --white: #fff;
  --ink: #0a0a0a;
  --line: rgba(10, 10, 10, 0.2);
}

/* Hero editorial */
.contact-hero {
  position: relative;
  min-height: 100dvh;
  padding: clamp(96px, 7.5vw, 122px) 0 clamp(34px, 4vw, 58px);
  overflow: hidden;
  background: #fff;
  color: #090909;
}
.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image: linear-gradient(rgba(9, 9, 9, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 9, 9, 0.12) 1px, transparent 1px);
  background-size:
    100% clamp(110px, 10vw, 154px),
    clamp(120px, 12.5vw, 200px) 100%;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}
.contact-hero-wrap {
  position: relative;
  z-index: 1;
  width: min(1480px, calc(100vw - 48px));
  margin-inline: auto;
}
.contact-hero-heading {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.55fr);
  align-items: end;
  gap: clamp(34px, 6vw, 112px);
  margin-bottom: 0;
}
.contact-hero-title {
  position: relative;
  z-index: 3;
  margin: 0;
  font-family: "Bebas Neue", "Barlow Condensed", sans-serif;
  font-size: clamp(5.15rem, 10vw, 10.4rem);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}
.contact-title-line {
  display: block;
  overflow: hidden;
  padding-right: 0.08em;
}
.contact-title-line > span {
  display: block;
  transform: translate3d(-105%, 0, 0);
  transition: transform 1.05s 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-title-line-alt > span {
  transform: translate3d(105%, 0, 0);
  transition-delay: 0.32s;
}
.contact-hero.is-ready .contact-title-line > span {
  transform: none;
}
.contact-hero-intro {
  position: relative;
  z-index: 4;
  max-width: 47ch;
  margin-bottom: clamp(136px, 12vw, 188px);
  padding: 18px 0 18px clamp(20px, 2vw, 32px);
  background: #fff;
  opacity: 0;
  transform: translate3d(42px, 0, 0);
  transition:
    opacity 0.75s 0.58s ease,
    transform 0.95s 0.58s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: "DM Sans", sans-serif;
  font-size: clamp(0.86rem, 0.95vw, 1rem);
  font-weight: 500;
  line-height: 1.55;
}
.contact-hero.is-ready .contact-hero-intro {
  opacity: 1;
  transform: none;
}
.contact-hero-kicker {
  margin-bottom: clamp(16px, 2vw, 28px);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #163fb7;
}
.contact-hero-media {
  position: relative;
  z-index: 1;
  height: clamp(460px, 51vw, 700px);
  margin: clamp(-185px, -13vw, -138px) 0 0;
  overflow: hidden;
  background: #d7d8d8;
}
.contact-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.08);
  transition: transform 1.45s 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  filter: grayscale(0.06) contrast(1.04);
}
.contact-hero.is-ready .contact-hero-media img {
  transform: scale(1);
}
.contact-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(222, 223, 223, 0.82) 0,
    rgba(222, 223, 223, 0.3) 27%,
    transparent 43% 72%,
    rgba(4, 4, 4, 0.14)
  );
}
.contact-hero-curtain {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  pointer-events: none;
}
.contact-hero-curtain i {
  display: block;
  background: #0a0a0a;
  transform: scaleY(1);
  transition: transform 1.08s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}
.contact-hero-curtain i:nth-child(1) {
  transform-origin: top;
  transition-delay: 0.08s;
}
.contact-hero-curtain i:nth-child(2) {
  transform-origin: bottom;
  transition-delay: 0.2s;
}
.contact-hero-curtain i:nth-child(3) {
  transform-origin: top;
  transition-delay: 0.32s;
}
.contact-hero.is-ready .contact-hero-curtain i {
  transform: scaleY(0);
}
.contact-hero-media figcaption {
  position: absolute;
  z-index: 3;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.6s 1s ease;
}
.contact-hero.is-ready .contact-hero-media figcaption {
  opacity: 1;
}
.contact-hero-media figcaption {
  left: clamp(18px, 2vw, 30px);
  bottom: clamp(18px, 2vw, 30px);
  color: #fff;
}
.contact-hero-number {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 2vw, 30px);
  bottom: clamp(10px, 1.3vw, 20px);
  transform: translate3d(24px, 0, 0);
  font-family: "Bebas Neue", "Barlow Condensed", sans-serif;
  font-size: clamp(5.2rem, 8.2vw, 9rem);
  font-weight: 400;
  line-height: 0.72;
  letter-spacing: -0.025em;
  color: rgba(255, 255, 255, 0.96);
  opacity: 0;
  transition:
    opacity 0.7s 0.9s ease,
    transform 0.9s 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-hero.is-ready .contact-hero-number {
  opacity: 1;
  transform: none;
}

/* Sistema editorial para el resto de Contacto */
.section {
  padding: clamp(92px, 10vw, 150px) 0;
  background: #f5f5f2 !important;
  color: #0a0a0a !important;
  border-top: 1px solid rgba(10, 10, 10, 0.2);
}
.section.dark {
  background: #0a0a0a !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.18);
}
.section-head {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: clamp(36px, 7vw, 120px);
  margin-bottom: clamp(46px, 6vw, 84px);
}
.section-title {
  font-family: "Bebas Neue", "Barlow Condensed", sans-serif;
  font-size: clamp(5rem, 11vw, 12rem);
  font-weight: 400;
  line-height: 0.72;
  letter-spacing: -0.035em;
}
.section-note {
  max-width: 48ch;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.65;
  text-transform: none;
  color: #646460 !important;
}
.section.dark .section-note {
  color: rgba(255, 255, 255, 0.56) !important;
}

.channels-shell {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.channels-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.32);
}
.channel,
.channel.black,
.channel.red {
  grid-column: auto;
  grid-row: auto;
  min-height: 360px;
  padding: clamp(28px, 3.5vw, 52px);
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  background: #0a0a0a;
  color: #fff;
}
.channel:nth-child(even) {
  border-right: 0;
}
.channel.red {
  background: #163fb7;
}
.channel.wide {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 34px;
}
.channel h3,
.channel.tall h3 {
  max-width: 10ch;
  font-family: "Bebas Neue", "Barlow Condensed", sans-serif;
  font-size: clamp(3.5rem, 6.2vw, 7rem);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.025em;
}
.channel p {
  max-width: 50ch;
}
.channel-img {
  display: none;
}
.channel .copy {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.86rem;
  line-height: 1.65;
  text-transform: none;
}
.channel .pill-link {
  margin-top: auto;
}
.route-list {
  margin-top: 36px;
}
.route-list div {
  height: auto;
  min-height: 44px;
  padding: 10px 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 0;
}

.form-shell {
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 0;
  border: 1px solid #0a0a0a;
  background: #0a0a0a;
}
.contact-aside {
  min-height: 720px;
  padding: clamp(32px, 4vw, 60px);
  background: #0a0a0a;
  color: #fff;
}
.contact-aside h2 {
  font-family: "Bebas Neue", "Barlow Condensed", sans-serif;
  font-size: clamp(4rem, 7vw, 8rem);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.025em;
}
.contact-aside > .copy {
  color: rgba(255, 255, 255, 0.54);
  text-transform: none;
}
.contact-list {
  gap: 0;
}
.contact-list a,
.contact-list div {
  min-height: 54px;
  padding: 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  color: #fff;
}
.form-panel {
  padding: clamp(32px, 4vw, 60px);
  background: #fff;
}
.form-grid {
  gap: 22px 18px;
}
.field {
  gap: 9px;
  margin: 0;
}
label {
  color: #565652;
}
input,
select,
textarea {
  border: 0;
  border-bottom: 1px solid #92928d;
  border-radius: 0;
  background: transparent;
  padding: 16px 0;
  font-weight: 500;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #163fb7;
  box-shadow: none;
  transform: none;
}
.radio-pill {
  min-height: 42px;
  border: 1px solid #aaa9a4;
  border-radius: 0;
}
.radio-pill.selected {
  background: #163fb7;
  border-color: #163fb7;
}
.form-panel .pill-link {
  margin-top: 32px !important;
  border-radius: 0;
  background: #163fb7;
}
.pill-link,
.pill-link.light,
.pill-link.red {
  border-radius: 0;
}
.pill-link i {
  border-radius: 0;
}

.benefit-grid {
  grid-template-columns: 1.3fr 0.7fr;
  gap: 0;
  border-top: 1px solid #0a0a0a;
  border-bottom: 1px solid #0a0a0a;
}
.benefit-main,
.benefit-stack article {
  border: 0;
  border-right: 1px solid #0a0a0a;
  border-radius: 0;
  background: transparent;
}
.benefit-main {
  min-height: 500px;
  padding: clamp(34px, 4vw, 62px);
}
.benefit-main h3 {
  max-width: 10ch;
  font-family: "Bebas Neue", "Barlow Condensed", sans-serif;
  font-size: clamp(4rem, 7vw, 8rem);
  font-weight: 400;
  line-height: 0.78;
  letter-spacing: -0.025em;
}
.benefit-main .copy {
  max-width: 50ch;
  text-transform: none;
}
.benefit-stack {
  gap: 0;
}
.benefit-stack article {
  min-height: 0;
  padding: 28px 34px;
  border-right: 0;
  border-bottom: 1px solid #0a0a0a;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
}
.benefit-stack article:last-child {
  border-bottom: 0;
}
.benefit-stack strong {
  font-family: "Bebas Neue", "Barlow Condensed", sans-serif;
  font-size: clamp(4rem, 7vw, 7rem);
  font-weight: 400;
}

.faq-grid {
  grid-template-columns: 1fr;
  gap: 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
}
.faq-item {
  min-height: 0;
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
}
.faq-item summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  font-family: "Bebas Neue", "Barlow Condensed", sans-serif;
  font-size: clamp(2.2rem, 4.6vw, 5rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.015em;
}
.faq-item summary::after {
  content: "+";
  font-family: "DM Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: #163fb7;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item p {
  max-width: 65ch;
  margin: 24px 0 4px;
  color: rgba(255, 255, 255, 0.58);
  text-transform: none;
}

.cta {
  padding: 0;
  background: #f5f5f2;
}
.cta .wrap {
  width: 100%;
}
.cta-panel {
  min-height: 620px;
  padding: clamp(48px, 7vw, 110px);
  border: 0;
  border-radius: 0;
  background: #163fb7;
}
.cta-panel h2 {
  max-width: 9ch;
  font-family: "Bebas Neue", "Barlow Condensed", sans-serif;
  font-size: clamp(5rem, 11vw, 12rem);
  font-weight: 400;
  line-height: 0.72;
  letter-spacing: -0.035em;
}
.cta-actions {
  margin-top: clamp(54px, 8vw, 100px);
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
}

@media (max-width: 820px) {
  .contact-hero {
    padding-top: 100px;
  }
  .contact-hero-wrap {
    width: calc(100vw - 24px);
  }
  .contact-hero-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .contact-hero-title {
    font-size: clamp(4.4rem, 19vw, 7.4rem);
    line-height: 0.81;
  }
  .contact-hero-intro {
    max-width: 55ch;
    margin-bottom: 0;
    padding: 20px 0;
    background: transparent;
  }
  .contact-hero-media {
    height: min(118vw, 620px);
    margin-top: -18px;
  }
  .contact-hero-media img {
    object-position: 58% center;
  }
  .contact-hero-number {
    right: 16px;
    bottom: 12px;
    font-size: clamp(4.8rem, 22vw, 7.5rem);
  }
  .contact-hero-media figcaption {
    left: 16px;
    bottom: 18px;
    max-width: 13ch;
    line-height: 1.35;
  }
  .section-head {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: clamp(5rem, 23vw, 8.5rem);
  }
  .channels-grid {
    grid-template-columns: 1fr;
  }
  .channel,
  .channel:nth-child(even) {
    min-height: 330px;
    border-right: 0;
  }
  .form-shell,
  .benefit-grid {
    grid-template-columns: 1fr;
  }
  .contact-aside {
    min-height: 560px;
  }
  .form-panel {
    padding: 34px 22px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .benefit-main {
    min-height: 460px;
    border-right: 0;
    border-bottom: 1px solid #0a0a0a;
  }
  .benefit-stack article {
    padding-inline: 22px;
  }
  .cta-panel {
    min-height: 560px;
  }
  .cta-actions {
    display: grid;
  }
  .cta-panel h2 {
    font-size: clamp(5rem, 22vw, 8.5rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  .contact-title-line > span,
  .contact-hero-intro,
  .contact-hero-media img,
  .contact-hero-number {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .contact-hero-curtain {
    display: none;
  }
}
