/* ============================================================
   Adsmovil — landing USA
   Design tokens extraídos del XD "Adsmovil new edition"
   Fuentes: supria-sans + bilo (Adobe Fonts) con fallbacks
   ============================================================ */

:root {
  /* Colores del diseño */
  --navy-hero: #161A3A;      /* hero / fondos principales */
  --navy-deep: #1C224A;      /* secciones insights / footer form */
  --navy-darker: #151937;    /* footer inferior */
  --navy-darkest: #0F1329;   /* clientele */
  --navy-alt: #1F2653;       /* menú móvil / gradientes */
  --navy-grad-b: #1A2045;
  --teal: #32C1C4;           /* teal principal (títulos, CTA) */
  --teal-light: #7ED8D9;     /* teal claro (títulos sobre navy) */
  --teal-muted: #73BFC2;     /* iconos sociales */
  --yellow: #FECD01;
  --magenta: #AC0075;
  --off-white: #FAF8F8;
  --light: #F5F5F5;
  --white: #FFFFFF;
  --gray-blue: #5D6688;

  --font-title: "supria-sans", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "bilo", "Poppins", "Helvetica Neue", Arial, sans-serif;

  --container: 1280px;
  --pad-x: 27px;
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--navy-hero);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea { font: inherit; color: inherit; background: none; border: none; }
button { cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* ---------- Tipografía ---------- */
h1, h2, h3, .t-title { font-family: var(--font-title); }

.section-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.2;
}
@media (min-width: 900px) {
  .section-title { font-size: 56px; }
}

/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 24px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header .logo img { width: 160px; height: auto; }
.main-nav { display: none; }
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 6px 0;
}
.hamburger span {
  width: 28px; height: 4px;
  background: var(--light);
  display: block;
}
@media (min-width: 900px) {
  .site-header { padding: 30px 0; }
  .site-header .logo img { width: 200px; }
  .hamburger { display: none; }
  .main-nav { display: flex; gap: 44px; align-items: center; }
  .main-nav a {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.2px;
  }
  .main-nav a:hover, .main-nav a.active { color: var(--teal-light); }
  .main-nav a.nav-contact { font-weight: 500; }
}

/* Menú móvil overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: linear-gradient(160deg, var(--navy-alt), var(--navy-grad-b));
  padding: 30px 27px;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.mobile-menu.open { display: flex; }
.mobile-menu .menu-close {
  align-self: flex-end;
  font-family: var(--font-title);
  font-weight: 300;
  font-size: 52px;
  line-height: 0.6;
  color: var(--teal-light);
  padding: 10px 4px;
}
.mobile-menu nav { margin-top: 90px; position: relative; z-index: 2; }
.mobile-menu nav a {
  display: block;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 25px;
  color: var(--white);
  padding: 17px 0;
}
.mobile-menu .menu-logo {
  margin: auto auto 60px;
  width: 190px;
  position: relative; z-index: 2;
}
.mobile-menu .deco-tl {
  position: absolute; top: -60px; left: -40px;
  width: 260px; opacity: .9;
  z-index: 1;
}
.mobile-menu .deco-br {
  position: absolute; bottom: -30px; right: -30px;
  width: 170px;
  z-index: 1;
}

/* ============================================================
   Botones
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 16px;
  min-height: 49px;
  padding: 0 42px;
  border-radius: 12px;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn-solid {
  background: var(--teal-light);
  color: var(--navy-hero);
  box-shadow: 4px 4px 0 0 var(--magenta);
}
.btn-solid:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 var(--magenta); }
.btn-solid--flat { box-shadow: none; background: var(--teal); }
.btn-solid--flat:hover { transform: none; background: var(--teal-light); }
.btn-outline {
  border: 2px solid var(--teal-light);
  color: var(--teal-light);
}
.btn-outline:hover { background: var(--teal-light); color: var(--navy-hero); }
@media (min-width: 900px) {
  .btn { font-size: 22px; min-height: 61px; padding: 0 60px; }
}

.learn-more {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 16px;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.learn-more::after { content: "→"; transition: transform .15s; }
.learn-more:hover::after { transform: translateX(4px); }
@media (min-width: 900px) { .learn-more { font-size: 20px; } }

/* ============================================================
   Secciones compartidas
   ============================================================ */

/* --- Clientele --- */
.clientele {
  background: var(--navy-darkest);
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}
.clientele .section-title {
  color: var(--teal-light);
  text-align: center;
  margin-bottom: 48px;
}
.clientele .logos {
  display: grid;
  grid-template-columns: repeat(3, 56px);
  gap: 26px 60px;
  justify-content: center;
  align-items: center;
}
.clientele .logos img {
  width: 56px; height: 56px;
  object-fit: contain;
  opacity: .8;
  filter: brightness(1);
}
@media (min-width: 900px) {
  .clientele { padding: 95px 0 100px; }
  .clientele .logos { grid-template-columns: repeat(6, 90px); gap: 34px 100px; }
  .clientele .logos img { width: 90px; height: 90px; }
}
.clientele .clientele-deco {
  display: none;
}
@media (min-width: 900px) {
  .clientele .clientele-deco {
    display: block;
    position: absolute;
    left: calc(50% - 640px - 2px);
    top: 322px;
    width: 100px;
    transform: none;
  }
}
.clientele .deco-bottom {
  position: absolute;
  left: 50%; bottom: -8px;
  transform: translateX(-50%);
  width: min(1423px, 110%);
  opacity: .9;
  pointer-events: none;
}

/* --- Join us --- */
.join {
  background: var(--light);
  color: var(--navy-hero);
  position: relative;
  overflow: hidden;
  padding: 90px 0 110px;
}
.join .section-title { color: var(--navy-hero); margin-bottom: 10px; }
.join .join-sub {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 40px;
}
.join .field-label {
  display: block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  color: var(--teal);
  margin-bottom: 8px;
}
.join input[type="email"] {
  width: min(336px, 100%);
  height: 49px;
  border: 1.5px solid var(--teal);
  padding: 0 16px;
  color: var(--navy-hero);
  background: transparent;
  margin-bottom: 28px;
  display: block;
}
.join .join-photo {
  position: absolute;
  left: 0; bottom: 0;
  width: 300px;
  pointer-events: none;
}
.join .join-inner { position: relative; z-index: 2; }
.join .join-waves {
  position: absolute;
  left: 50%; bottom: -4px;
  transform: translateX(-50%);
  width: max(1423px, 100%);
  opacity: .9;
  pointer-events: none;
}
@media (min-width: 900px) {
  .join { padding: 95px 0 105px; }
  .join .join-content { margin-left: 42%; }
  .join .join-head { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; }
  .join .join-sub { font-size: 26px; max-width: 340px; line-height: 1.2; }
  .join input[type="email"] { width: 479px; height: 51px; }
  .join .join-photo { width: 480px; left: -20px; }
  .join .field-label { font-size: 20px; }
}
@media (max-width: 899px) {
  .join .join-photo {
    display: block;
    position: static;
    width: 230px;
    margin: 34px auto 0;
  }
}

/* --- Footer --- */
.site-footer { background: var(--navy-deep); }
.footer-cta { padding: 90px 0 70px; position: relative; overflow: hidden; }
.footer-cta .cta-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.15;
  color: var(--teal-light);
  margin: 0 auto 40px;
  max-width: 640px;
  text-align: center;
}
.contact-form { display: grid; gap: 22px; }
.contact-form .field label {
  display: block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  color: var(--teal-light);
  margin-bottom: 7px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid var(--light);
  background: transparent;
  color: var(--white);
  height: 41px;
  padding: 0 14px;
}
.contact-form textarea { height: 133px; padding: 12px 14px; resize: vertical; }
.contact-form .form-submit { margin-top: 18px; }
@media (min-width: 900px) {
  .footer-cta { padding: 110px 0 90px; }
  .footer-cta .cta-title { font-size: 30px; line-height: 1.1; }
  .contact-form {
    grid-template-columns: 379px 379px;
    column-gap: 194px;
    justify-content: center;
  }
  .contact-form .col { display: grid; gap: 46px; align-content: start; }
  .contact-form input { height: 53px; }
  .contact-form textarea { height: 150px; }
  .contact-form .field label { font-size: 20px; }
  .contact-form .form-submit { justify-self: center; grid-column: 1 / -1; margin-top: 26px; }
}
.footer-cta .deco-corner {
  position: absolute;
  right: calc(50% - 640px - 1px);
  bottom: -6px;
  width: 215px;
  pointer-events: none;
}
.abs-deco { position: absolute; z-index: 1; pointer-events: none; }

.footer-bottom {
  background: var(--navy-darker);
  padding: 60px 0 40px;
  position: relative;
}
.footer-bottom .fb-grid {
  display: grid;
  gap: 40px;
}
.footer-bottom .fb-logo img { width: 190px; }
.footer-bottom nav a {
  display: block;
  font-family: var(--font-title);
  font-size: 18px;
  color: var(--white);
  padding: 7px 0;
}
.footer-bottom nav a:hover { color: var(--teal-light); }
.footer-bottom .fb-certs {
  display: flex;
  align-items: center;
  gap: 22px;
}
.footer-bottom .fb-certs .nmsdc { width: 78px; }
.footer-bottom .fb-certs .saving { width: 101px; }
.footer-bottom .social {
  display: flex;
  gap: 26px;
  align-items: center;
}
.footer-bottom .social img { width: 26px; height: 26px; }
.footer-bottom .social a:hover { opacity: .75; }
.footer-bottom .copyright {
  font-family: var(--font-title);
  font-weight: 300;
  font-size: 13px;
  color: var(--white);
  text-align: center;
  margin-top: 34px;
}
@media (max-width: 899px) {
  .footer-bottom .fb-grid { justify-items: center; text-align: center; }
  .footer-bottom .fb-col2 { order: 1; }
  .footer-bottom .fb-col3 { order: 2; display: grid; gap: 26px; justify-items: center; }
  .footer-bottom .fb-col1 { order: 3; }
  .footer-bottom .fb-logo img { width: 230px; }
  .footer-bottom nav a { padding: 9px 0; font-size: 19px; }
}
@media (min-width: 900px) {
  .footer-bottom { padding: 80px 0 50px; }
  .footer-bottom .fb-grid {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
    align-items: start;
  }
  .footer-bottom .fb-col2 { display: grid; gap: 36px; justify-items: start; }
  .footer-bottom .fb-certs .nmsdc { width: 124px; }
  .footer-bottom .fb-certs .saving { width: 182px; }
  .footer-bottom .fb-col3 { display: grid; gap: 30px; justify-items: center; align-self: end; }
  .footer-bottom .copyright { font-size: 20px; margin-top: 40px; text-align: center; }
}

/* ============================================================
   Utilidades
   ============================================================ */
.deco { pointer-events: none; user-select: none; }
.text-teal { color: var(--teal); }
.text-teal-light { color: var(--teal-light); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.noanim .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
