:root {
  --black: #080807;
  --blue: #080b72;
  --mid-blue: #11148f;
  --deep-blue: #04064f;
  --ink: #12133d;
  --yellow: #ffe51a;
  --paper: #f7f8ff;
  --muted: #5f6384;
  --line: #d8daf2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 8px clamp(18px, 5vw, 64px);
  background: var(--deep-blue);
  color: white;
  border-bottom: 3px solid var(--yellow);
}

.brand-logo {
  width: min(150px, 42vw);
  height: auto;
}

nav {
  display: flex;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 800;
}

nav a {
  padding: 10px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

nav a:hover {
  background: rgba(255, 229, 26, 0.14);
  color: var(--yellow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  align-items: center;
  min-height: 640px;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(28px, 5vw, 58px) clamp(18px, 5vw, 64px);
  color: white;
  background:
    radial-gradient(circle at 82% 38%, rgba(35, 41, 175, 0.82), transparent 34%),
    linear-gradient(125deg, #04064f 0%, #080b72 48%, #121699 100%),
    url("LOGO BLANCO.png") right 8% center / min(560px, 70vw) auto no-repeat,
    var(--blue);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.25rem, 4.7vw, 4.55rem);
  line-height: 0.98;
}

.mobile-title {
  display: none;
}

.hero p {
  max-width: 620px;
  color: #fff8c9;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.55;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--yellow);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.primary-link,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  background: var(--yellow);
  color: var(--deep-blue);
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(255, 229, 26, 0.2);
}

.hero-lookup {
  display: grid;
  align-content: center;
  gap: 14px;
}

.promo-logo {
  justify-self: end;
}

.promo-logo {
  display: block;
  width: min(500px, 100%);
  height: auto;
  margin-top: -28px;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.32));
}

.consulta-card {
  display: grid;
  gap: 14px;
  width: min(560px, 100%);
  margin-top: 22px;
}

.consulta-card .lookup-form,
.consulta-card .result {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.consulta-card .lookup-form {
  color: var(--deep-blue);
}

.consulta-card label {
  color: var(--deep-blue);
}

.consulta-card input {
  border-color: #d7d9ef;
  background: #f7f8ff;
}

.consulta-card .hint {
  color: var(--muted);
}

.consulta-card .result {
  min-height: 104px;
  color: white;
  border-color: rgba(255, 229, 26, 0.24);
  background: rgba(4, 6, 79, 0.82);
}

.consulta-card .coupon-list span {
  background: var(--yellow);
  color: var(--deep-blue);
}

.panel,
.content-grid,
.contact-band,
.promo-section {
  margin: 0 auto;
  padding: clamp(34px, 6vw, 70px) clamp(18px, 5vw, 64px);
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

.content-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.lookup-form {
  display: grid;
  gap: 10px;
}

label {
  font-weight: 900;
}

.field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

input {
  width: 100%;
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid #bbb49a;
  border-radius: 6px;
  font: inherit;
}

.hint {
  margin: 0;
  font-size: 0.9rem;
}

.disclaimer {
  max-width: 560px;
  margin: 12px 0 0;
  color: rgba(255, 248, 201, 0.86);
  font-size: 0.5rem;
  line-height: 1.45;
}

.hero-copy .disclaimer {
  color: rgba(255, 248, 201, 0.78);
  font-size: 0.5rem;
  line-height: 1.45;
}

.result {
  min-height: 116px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffbea;
}

.result strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.coupon-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.coupon-list span {
  padding: 8px 10px;
  border-radius: 4px;
  background: var(--deep-blue);
  color: white;
  font-weight: 800;
}

.promo-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  align-items: center;
  gap: clamp(22px, 5vw, 58px);
  background: #07106d;
  color: white;
}

.promo-section p {
  color: #fff8c9;
  line-height: 1.6;
}

.promo-copy strong {
  display: inline-flex;
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--yellow);
  color: var(--deep-blue);
  font-weight: 900;
}

.promo-section img {
  display: block;
  width: 100%;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.28));
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: clamp(24px, 5vw, 60px);
}

.steps {
  padding: 24px;
  border-left: 5px solid var(--yellow);
  background: #f2f3ff;
}

.steps h3 {
  margin-top: 0;
}

.steps li {
  margin: 10px 0;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(18px, 4vw, 44px);
  padding-block: clamp(24px, 4vw, 42px);
  background: var(--blue);
  color: white;
}

.contact-band h2 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
}

.contact-band .eyebrow {
  margin-bottom: 6px;
  font-size: 0.8rem;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 8px;
  width: 100%;
}

.branch-card {
  display: grid;
  grid-template-columns: minmax(72px, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
}

.branch-card strong {
  color: var(--yellow);
  font-size: 0.88rem;
}

.branch-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
  font-size: 0.82rem;
  text-decoration: none;
  white-space: nowrap;
}

.branch-card svg,
.social-links svg,
.hours svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.4;
}

.social-links svg {
  fill: none;
  stroke: currentColor;
}

.branch-card a:not(.map-link):hover {
  color: var(--yellow);
}

.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 9px;
  border-radius: 6px;
  border: 1px solid rgba(255, 229, 26, 0.5);
  color: var(--yellow);
}

.map-link:hover {
  background: var(--yellow);
  color: var(--deep-blue);
}

.hours {
  display: flex;
  align-items: center;
  gap: 8px;
  grid-column: 1 / 3;
  margin: 4px 0 0;
  color: #fff8c9;
  font-size: 0.78rem;
  font-weight: 800;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  justify-self: end;
  margin-top: 4px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
}

.social-links a:hover {
  background: var(--yellow);
  color: var(--deep-blue);
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 22px;
  background: var(--deep-blue);
  color: white;
}

footer img {
  width: 140px;
}

@media (max-width: 760px) {
  .topbar {
    position: static;
    align-items: center;
    min-height: auto;
    justify-content: center;
    padding: 12px 16px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand-logo {
    width: 148px;
  }

  nav {
    display: none;
  }

  .hero,
  .content-grid,
  .contact-band,
  .promo-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 18px;
    padding: 18px 16px 34px;
    background:
      radial-gradient(circle at 50% 18%, rgba(35, 41, 175, 0.78), transparent 42%),
      linear-gradient(160deg, #04064f 0%, #080b72 58%, #121699 100%),
      var(--blue);
  }

  .hero-lookup {
    order: 1;
  }

  .hero-copy {
    order: 2;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 12vw, 3.35rem);
    line-height: 1;
  }

  .desktop-title {
    display: none;
  }

  .mobile-title {
    display: inline;
  }

  .hero-copy > p {
    display: none;
  }

  .hero-copy > p.disclaimer {
    display: block;
    max-width: 100%;
    margin-top: 10px;
    font-size: 0.5rem;
  }

  .consulta-card,
  .promo-logo {
    justify-self: stretch;
    width: 100%;
  }

  .promo-logo {
    max-width: 360px;
    margin: 0 auto;
  }

  .consulta-card {
    margin-top: 16px;
  }

  .consulta-card .lookup-form,
  .consulta-card .result {
    padding: 16px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  button,
  input {
    width: 100%;
  }

  .result {
    grid-column: auto;
  }

  .panel,
  .content-grid,
  .contact-band,
  .promo-section {
    padding: 32px 16px;
  }

  .promo-section {
    gap: 18px;
  }

  .promo-section img {
    order: -1;
  }

  footer img {
    width: 120px;
  }

  .branch-card {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 8px;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

  .branch-card a {
    white-space: normal;
  }

  .map-link {
    width: fit-content;
  }

  .hours {
    grid-column: auto;
    align-items: flex-start;
    line-height: 1.45;
  }

  .social-links {
    justify-self: start;
  }
}

@media (max-width: 420px) {
  .hero {
    padding-inline: 14px;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 11vw, 2.75rem);
  }

  .promo-logo {
    max-width: 330px;
  }

  .hint {
    font-size: 0.82rem;
  }
}
