/**
 * Institutional front page.
 *
 * This file owns selectors used exclusively by page--front.html.twig. The
 * cascade order is intentional: foundational composition is followed by
 * responsive refinements and accessibility overrides.
 */

/* Header */
.header-inner {
  width: min(calc(100% - 4rem), 64rem);
  margin-inline: auto;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.25rem;
  gap: 2rem;
  padding-block: 0.75rem;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 0.25rem 0.75rem;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 11.5rem;
  max-height: 4rem;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  color: var(--cp-white);
  background: var(--cp-orange-500);
  font-weight: 700;
  text-decoration: none;
}

.header-cta:hover,
.header-cta:focus,
.header-cta:focus-visible,
.header-cta:active {
  color: var(--cp-white);
  background: #e96f27;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2.25rem;
  min-height: 3.25rem;
  margin: 0;
  padding: 0.85rem 0;
  border-top: 1px solid rgb(216 222 232 / 55%);
  background: transparent;
}

.nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--cp-text-ink);
  font-family: var(--cp-font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.is-active {
  color: var(--cp-blue-700);
}

.cp-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: none;
  border-radius: 8px;
  color: var(--cp-blue-700);
  background: transparent;
}

/* Hero Ruta Celeste */
.hero {
  position: relative;
  min-height: 31rem;
  padding-block: clamp(4rem, 7vw, 7rem);
  overflow: hidden;
  background-image:
    linear-gradient(90deg,
      rgb(225 235 246 / 96%) 0%,
      rgb(225 235 246 / 78%) 28%,
      rgb(225 235 246 / 18%) 48%,
      transparent 62%),
    url("../../images/campaigns/ruta-celeste/hero-desktop.png");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: auto 100%;
}

.hero>.container {
  width: min(calc(100% - 4rem), 64rem);
  margin-inline: auto;
}

.hero-grid {
  display: block;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 42rem);
}

.hero-copy h1 {
  max-width: 42rem;
  margin: 0 0 0.75rem;
  color: var(--cp-blue-700);
  font-family: var(--cp-font-heading);
  font-size: clamp(2rem, 2.6vw, 2.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.hero-copy .lead {
  max-width: 37rem;
  margin: 0;
  color: var(--cp-text-ink);
  font-size: 1.05rem;
  line-height: 1.4;
}

.hero-copy .lead strong {
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-block: 1.5rem 0;
}

.hero-actions .button--accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.75rem 1.25rem;
  border: 0;
  border-radius: 0.75rem;
  color: var(--cp-white);
  background: var(--cp-orange-500);
  font-weight: 700;
  text-decoration: none;
}

.hero-actions .button--accent:hover,
.hero-actions .button--accent:focus,
.hero-actions .button--accent:focus-visible,
.hero-actions .button--accent:active {
  color: var(--cp-white);
  background: #e96f27;
}

.hero-media {
  display: none;
}

/* ¿Qué ofrecemos? */
.offers-section {
  padding-block: 4rem;
  background: var(--cp-white);
}

.offers-heading {
  margin-bottom: 2rem;
}

.offers-heading h2,
.included-services-heading h2,
.audience-content h2 {
  margin: 0;
  color: var(--cp-blue-700);
  font-family: var(--cp-font-heading);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.offer-card {
  min-height: 11rem;
  padding: 1.5rem;
  border: 1px solid var(--cp-gray-300);
  border-radius: 0.5rem;
  background: var(--cp-white);
  box-shadow: 0 0.25rem 1rem rgb(35 31 32 / 6%);
}

.offer-icon {
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1.25rem;
  color: var(--cp-blue-700);
}

.offer-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.offer-card h3 {
  margin: 0;
  color: var(--cp-text-ink);
  font-family: var(--cp-font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
}

/* ==========================================================================
   Audience — ¿A quién está dirigido?
   ========================================================================== */
.audience-section {
  padding-block: clamp(3.5rem, 6vw, 5rem);
  overflow: hidden;
  background: var(--cp-gray-100);
}

.audience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(24rem, 0.85fr);
  align-items: center;
  gap: clamp(2.5rem, 4vw, 4rem);
}

.audience-video {
  width: 100%;
  overflow: hidden;
  border-radius: 0.25rem;
  background: var(--cp-black);
  box-shadow: var(--cp-shadow-sm);
}

.audience-video__player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--cp-black);
}

.audience-content {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.audience-content h2 {
  max-width: 32rem;
  margin: 0 0 1.75rem;
  color: var(--cp-blue-700);
  font-family: var(--cp-font-heading);
  font-size: clamp(2rem, 2.7vw, 3rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.audience-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.audience-list li {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  align-items: stretch;
  min-height: 3.5rem;
  overflow: hidden;
  border: 1px solid var(--cp-gray-300);
  border-radius: 0.65rem;
  color: var(--cp-text-ink);
  background: var(--cp-white);
  box-shadow: 0 0.25rem 1rem rgb(35 31 32 / 5%);
}

.audience-icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  min-height: 3.5rem;
  color: var(--cp-white);
  background: var(--cp-blue-700);
}

.audience-icon img {
  display: block;
  width: 1.7rem;
  height: 1.7rem;
  object-fit: contain;
}

.audience-label {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  line-height: 1.3;
}

@media (min-width: 901px) {
  .footer-bottom p {
    flex-wrap: nowrap;
    white-space: nowrap;
  }
}

@media (max-width: 1100px) {
  .audience-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(21rem, 0.7fr);
    gap: 2.5rem;
  }

  .audience-content h2 {
    font-size: 2.25rem;
  }
}

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

  .audience-content {
    width: min(100%, 34rem);
  }
}

@media (max-width: 600px) {
  .audience-section {
    padding-block: 3rem;
  }

  .audience-content h2 {
    margin-bottom: 1.5rem;
    font-size: clamp(2rem, 10vw, 2.6rem);
  }

  .audience-list li {
    grid-template-columns: 3.25rem minmax(0, 1fr);
    min-height: 3.25rem;
  }

  .audience-icon {
    width: 3.25rem;
    min-height: 3.25rem;
  }

  .audience-label {
    padding-inline: 1rem;
  }
}

/* Servicios incluidos */
.included-services {
  padding-block: 4rem;
  background: var(--cp-white);
}

.included-services-heading {
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 1100px) {
  .offers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nav {
    gap: 1rem;
  }

  .nav a,
  .nav-dropdown-toggle {
    font-size: 0.9rem;
  }
}

@media (max-width: 900px) {

  .header-inner,
  .hero>.container {
    width: min(calc(100% - 2rem), 64rem);
  }

  .header-top {
    min-height: 4.5rem;
  }

  .header-cta {
    margin-inline-start: auto;
  }

  .cp-nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 68px;
    right: auto;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    min-height: auto;
    width: 280px;
    max-width: 280px;
    margin: 0;
    padding: 8px 5px;
    border: 0;
    border-radius: 0 12px 12px 0;
    background: var(--cp-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    max-height: calc(100dvh - 6rem);
  }

  .nav.is-open {
    display: flex;
  }

  @media (max-width: 375px) {
    .nav {
      width: 280px;
      max-width: calc(100% - 16px);
      left: 0;
      right: auto;
    }

    .header-inner,
    .hero > .container {
      width: min(calc(100% - 1.5rem), 64rem);
    }
  }

  .nav a,
  .nav-dropdown-toggle,
  .nav-flyout__toggle {
    min-height: 1.5rem;
    padding: 4px 16px 4px 20px;
    font-size: 0.875rem;
    font-weight: 400;
    margin-left: 0;
  }

  .nav > a,
  .nav > .nav-item {
    margin-left: 0;
    padding-left: 0;
  }

  .nav {
    top: 68px;
    gap: 0;
    padding: 4px 5px;
    align-items: flex-start;
  }

  .hero {
    min-height: auto;
    background-image:
      url("../../images/campaigns/ruta-celeste/hero-mobile.png?v=20260729-102538-2");
    background-position: center;
    background-size: cover;
  }

  .audience-grid,
  .contact-grid,
  .cta-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .included-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .header-cta {
    display: inline-flex;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    min-height: auto;
  }

  .header-cta__icon {
    width: 14px;
    height: 14px;
  }

  .brand {
    padding-inline: 0;
  }

  .brand-logo {
    max-width: 9.5rem;
  }

  .offers-section,
  .audience-section,
  .included-services {
    padding-block: 3rem;
  }

  .offers-grid,
  .included-services-grid {
    grid-template-columns: 1fr;
  }

  .offer-card {
    min-height: auto;
  }

  .hero-copy h1 {
    white-space: normal;
  }

  .hero-copy .lead {
    font-size: 1rem;
  }
}

/* Submenú Ruta Celeste */
.nav-item {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--cp-text-ink);
  background: transparent;
  font-family: var(--cp-font-body);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible,
.nav-item--dropdown.is-open .nav-dropdown-toggle {
  color: var(--cp-blue-700);
  background: transparent;
  transform: none;
}

.nav-dropdown-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 160ms ease;
}

.nav-item--dropdown.is-open .nav-dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 1.25rem);
  left: 0;
  z-index: 200;
  display: none;
  width: 20rem;
  padding: 0.75rem 0;
  border: 1px solid var(--cp-gray-300);
  border-radius: 0.75rem;
  background: var(--cp-white);
  box-shadow: var(--cp-shadow-md);
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -0.55rem;
  left: 2.75rem;
  width: 1rem;
  height: 1rem;
  border-top: 1px solid var(--cp-gray-300);
  border-left: 1px solid var(--cp-gray-300);
  background: var(--cp-white);
  transform: rotate(45deg);
}

.nav-item--dropdown.is-open .nav-dropdown {
  display: block;
}

.nav-dropdown a {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  padding: 0.9rem 1.25rem;
  color: var(--cp-text-ink);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  color: var(--cp-blue-700);
  background: var(--cp-gray-100);
}

@media (max-width: 900px) {
  .nav-item--dropdown {
    width: 100%;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 8px 0;
    gap: 2px;
    min-height: 2.25rem;
    font-weight: 600;
    font-size: 0.875rem;
  }

  /* Selected parent item: blue bg, white text, taller (Figma 48px) */
  .nav-item--dropdown.is-open > .nav-dropdown-toggle {
    min-height: 3rem;
    padding: 12px 16px 12px 20px;
    background: #0B57C2;
    color: #FFFFFF;
    border-radius: 8px;
    font-weight: 700;
  }

  .nav-item--dropdown.is-open > .nav-dropdown-toggle .nav-chevron {
    color: #FFFFFF;
  }

  .nav-dropdown {
    position: static;
    width: 100%;
    margin-top: 0;
    padding: 5px;
    border: 0;
    border-radius: 10px;
    box-shadow: none;
    background: var(--cp-white);
  }

  .nav-dropdown::before {
    display: none;
  }

  .nav-dropdown a {
    min-height: 2.5625rem;
    padding: 12px 16px;
    color: #404040;
    font-size: 0.875rem;
    font-weight: 400;
    border-radius: 8px;
  }

  .nav-dropdown a:hover,
  .nav-dropdown a:focus-visible {
    color: #404040;
    background: var(--cp-gray-100);
  }
}

/* --------------------------------------------------------------------------
   Shared media helpers
   -------------------------------------------------------------------------- */
.offer-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ==========================================================================
   Nuestros estándares
   ========================================================================== */
.standards-section {
  padding-block: clamp(3.5rem, 5vw, 5rem);
  background: var(--cp-gray-100);
}

.standards-section h2 {
  margin: 0 0 2rem;
  color: var(--cp-blue-700);
  font-family: var(--cp-font-heading);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.standard-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 9.5rem;
  padding: 1.5rem;
  border: 1px solid var(--cp-gray-300);
  border-radius: 0.75rem;
  background: var(--cp-white);
  box-shadow: 0 0.25rem 1rem rgb(35 31 32 / 5%);
}

.standard-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.5rem;
  color: var(--cp-blue-700);
}

.standard-icon svg,
.standard-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.standard-card h3 {
  margin: 0;
  color: var(--cp-text-ink);
  font-family: var(--cp-font-body);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .standards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .footer-vigilado__logo {
    height: 1.75rem;
    max-width: 13rem;
  }
}



/* --------------------------------------------------------------------------
   Experience call to action
   -------------------------------------------------------------------------- */
.experience-cta {
  position: relative;
  overflow: hidden;
  color: var(--cp-white);
  background: var(--cp-blue-700);
}

.experience-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(15rem, 0.3fr);
  align-items: center;
  min-height: 22rem;
  gap: 2.5rem;
  padding-block: 4rem;
}

.experience-cta__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 58rem;
}

.experience-cta__content h2 {
  max-width: 58rem;
  margin: 0 0 1.5rem;
  color: var(--cp-white);
  font-family: var(--cp-font-heading);
  font-size: clamp(1.8rem, 2.25vw, 2.35rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.experience-cta__brand {
  align-self: center;
  justify-self: end;
  width: min(100%, 16rem);
  transform: none;
}

.experience-cta__brand img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.experience-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.65rem;
  color: var(--cp-white);
  background: var(--cp-orange-500);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.experience-cta__button:hover,
.experience-cta__button:focus,
.experience-cta__button:focus-visible,
.experience-cta__button:active {
  color: var(--cp-white);
  background: #e96f27;
  transform: translateY(-1px);
}

.experience-cta__button-icon {
  display: block;
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}


/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 0.8fr 0.75fr;
  align-items: start;
  gap: 60px;
}

.site-footer h3 {
  margin: 0 0 15px;
  color: var(--cp-white);
  font-family: var(--cp-font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 33px;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: var(--cp-white);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--cp-cyan-500);
}

.footer-contact {
  padding: 20px;
  border-radius: 15px;
  color: var(--cp-gray-700);
  background: var(--cp-white);
}

.footer-contact h3 {
  color: var(--cp-blue-700);
}

.footer-contact a {
  color: var(--cp-gray-700);
}

.footer-contact-list {
  display: grid;
  gap: 15px;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--cp-font-body);
  font-size: 14px;
  line-height: 17px;
  overflow-wrap: anywhere;
}

.footer-contact-list img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.footer-column ul {
  display: grid;
  gap: 15px;
}

.footer-column a {
  font-family: var(--cp-font-body);
  font-size: 14px;
  line-height: 17px;
}



/* --------------------------------------------------------------------------
   Footer social links — iconos finales de Figma 857:4514 (circulo blanco +
   glifo horneados en cada SVG, sin filtros de recolorado en estado normal).
   Hover/focus: circulo naranja con icono en blanco.
   -------------------------------------------------------------------------- */
.footer-social ul {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-social li {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 50%;
  color: var(--cp-footer, #35445b);
  background-color: var(--cp-white, #fff);
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 220ms ease,
    transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-social img {
  display: block;
  grid-area: 1 / 1;
  width: 34px;
  height: 34px;
  max-width: none;
  object-fit: contain;
  opacity: 1;
  visibility: visible;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.footer-social .footer-social__icon--hover {
  opacity: 0;
  visibility: hidden;
}

.footer-social a:hover .footer-social__icon--normal,
.footer-social a:focus-visible .footer-social__icon--normal {
  opacity: 0;
  visibility: hidden;
}

.footer-social a:hover .footer-social__icon--hover,
.footer-social a:focus-visible .footer-social__icon--hover {
  opacity: 1;
  visibility: visible;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  border-color: var(--cp-orange-500, #ff8444);
  background-color: var(--cp-orange-500, #ff8444);
  box-shadow: 0 0.55rem 1.15rem rgb(255 132 68 / 45%);
  transform: translateY(-3px) scale(1.1);
}

.footer-social a:focus-visible {
  outline: 3px solid rgb(255 132 68 / 35%);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

  .footer-social a,
  .footer-social img {
    transition: none;
  }

  .footer-social a:hover,
  .footer-social a:focus-visible {
    transform: none;
  }
}

.footer-bottom {
  margin-top: 0;
  padding-top: 20px;
  border-top: 1px solid #FFFFFF;
  text-align: center;
}

.footer-vigilado {
  margin-bottom: 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.footer-bottom p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin: 0;
  color: #FFFFFF;
  font-family: var(--cp-font-body);
  font-size: 12px;
  line-height: 15px;
  text-align: center;
}

.footer-bottom p a {
  color: rgb(255 255 255 / 88%);
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-bottom p a:hover,
.footer-bottom p a:focus-visible {
  color: var(--cp-orange-500, #ff8444);
}

.footer-bottom p span {
  color: rgb(255 255 255 / 60%);
}

.footer-bottom p strong {
  color: #fff;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Responsive refinements for final sections
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .experience-cta__inner {
    grid-template-columns: 1fr;
  }

  .experience-cta__brand {
    justify-self: center;
    width: min(65%, 13rem);
    transform: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-contact {
    padding: 1.25rem;
  }
}

.header-cta__icon {
  display: block;
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
}

.button__icon {
  display: block;
  flex: 0 0 auto;
  width: 1.35rem;
  height: 1.35rem;
}

/* Chevron used by desktop navigation and dropdown controls. */
.nav-chevron {
  display: block;
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  pointer-events: none;
}

/* ==========================================================================
   Ajuste final de iconos y colores
   ========================================================================== */

/* Agenda tu cita */
.header-cta {
  gap: 0.65rem;
  min-height: 3rem;
  padding: 0.8rem 1.4rem;
  border-radius: 0.7rem;
  color: #fff;
  background: #ff8444;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.header-cta:hover,
.header-cta:focus,
.header-cta:focus-visible,
.header-cta:active {
  color: #fff;
  background: #ed7031;
}

.header-cta__icon {
  display: block;
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Botones Solicitar información */
.hero-actions .button--accent,
.experience-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3rem;
  padding: 0.8rem 1.35rem;
  border: 0;
  border-radius: 0.7rem;
  color: #fff;
  background: #ff8444;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.hero-actions .button--accent:hover,
.hero-actions .button--accent:focus,
.hero-actions .button--accent:focus-visible,
.hero-actions .button--accent:active,
.experience-cta__button:hover,
.experience-cta__button:focus,
.experience-cta__button:focus-visible,
.experience-cta__button:active {
  color: #fff;
  background: #ed7031;
  transform: translateY(-1px);
}

.button__icon,
.experience-cta__button-icon {
  display: block;
  flex: 0 0 auto;
  width: 1.3rem;
  height: 1.3rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}


/* ==========================================================================
   Figma alignment overrides
   ========================================================================== */
.header-inner,
.hero>.container,
.offers-section>.container,
.audience-section>.container,
.included-services>.container,
.standards-section>.container,
.experience-cta>.container,
.site-footer>.container {
  width: min(calc(100% - 3rem), var(--cp-layout-max));
  margin-inline: auto;
}

.header-top {
  min-height: 4.5rem;
  padding-block: 0.5rem;
}

.brand-logo {
  max-width: 9rem;
  max-height: 3.25rem;
}

.nav {
  gap: clamp(1rem, 2vw, 2rem);
  min-height: 3rem;
  padding-block: 0.65rem;
}

.nav a,
.nav-dropdown-toggle {
  font-size: 0.94rem;
}

.hero {
  min-height: 29rem;
  padding-block: clamp(4rem, 6vw, 6.25rem);
  background-size: cover;
}

.hero-copy {
  width: min(100%, 39rem);
}

.hero-copy h1 {
  font-size: clamp(2.25rem, 3.2vw, 3.4rem);
}

.offers-grid {
  gap: 1rem;
}

.offer-card {
  min-height: 10rem;
}

.audience-grid {
  grid-template-columns: minmax(0, 1.5fr) minmax(22rem, 0.72fr);
  gap: clamp(2.5rem, 4vw, 4rem);
}

.audience-content h2 {
  font-size: clamp(2.25rem, 3vw, 3.25rem);
}

.audience-list li {
  grid-template-columns: 3.5rem minmax(0, 1fr);
  min-height: 3.5rem;
}

.included-services-grid {
  gap: 1.25rem;
}

.experience-cta__inner {
  grid-template-columns: minmax(0, 1.65fr) minmax(15rem, 0.35fr);
  min-height: 22rem;
  gap: 3rem;
  padding-block: 4rem;
}

.experience-cta__content {
  max-width: 58rem;
}

.experience-cta__content h2 {
  max-width: 58rem;
  font-size: clamp(2rem, 2.65vw, 2.8rem);
  line-height: 1.2;
  text-wrap: balance;
}

.experience-cta__brand {
  width: min(100%, 18rem);
}

@media (max-width: 900px) {

  .header-inner,
  .hero>.container,
  .offers-section>.container,
  .audience-section>.container,
  .included-services>.container,
  .standards-section>.container,
  .experience-cta>.container,
  .site-footer>.container {
    width: min(calc(100% - 2.5rem), var(--cp-layout-max));
  }

  .experience-cta__inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Final Figma refinement — header, navigation and section rhythm
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--cp-header-shadow);
}

.header-inner,
.hero>.container,
.offers-section>.container,
.audience-section>.container,
.included-services>.container,
.standards-section>.container,
.experience-cta>.container,
.site-footer>.container {
  width: min(calc(100% - 3rem), var(--cp-layout-max));
  margin-inline: auto;
}

.header-top {
  min-height: 4.75rem;
  padding-block: 0.55rem;
}

.brand {
  padding: 0;
}

.brand-logo {
  max-width: 10rem;
  max-height: 3.5rem;
}

.header-cta {
  min-height: 3rem;
  padding: 0.8rem 1.35rem;
  border-radius: 0.75rem;
}

.nav {
  position: relative;
  justify-content: flex-start;
  gap: clamp(0.9rem, 1.7vw, 1.75rem);
  min-height: 3.15rem;
  padding-block: 0.65rem;
}

.nav>a,
.nav-dropdown-toggle {
  min-height: 2.25rem;
  color: var(--cp-text-ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-dropdown-toggle {
  gap: 0.35rem;
}

.nav-chevron {
  width: 0.9rem;
  height: 0.9rem;
  transition: transform 180ms ease;
}

.nav-item--dropdown {
  position: relative;
}

.nav-dropdown {
  top: calc(100% + 0.75rem);
  left: 50%;
  width: max-content;
  min-width: 14rem;
  max-width: 20rem;
  padding: 0.55rem;
  border: 0;
  border-radius: 0.75rem;
  box-shadow: 0 0.75rem 2rem rgb(27 45 75 / 18%);
  transform: translateX(-50%);
}

.nav-dropdown--end {
  right: 0;
  left: auto;
  transform: none;
}

.nav-dropdown__heading {
  margin: 0;
  padding: 0.75rem 0.85rem 0.5rem;
  color: #1e1e1e;
  font-family: var(--cp-font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  cursor: default;
  user-select: none;
}

.nav-dropdown::before {
  top: -0.45rem;
  left: 50%;
  width: 0.85rem;
  height: 0.85rem;
  transform: translateX(-50%) rotate(45deg);
}

.nav-dropdown--end::before {
  right: 1.5rem;
  left: auto;
  transform: rotate(45deg);
}

.nav-dropdown a {
  min-height: 2.5rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.45rem;
  font-size: 0.92rem;
  line-height: 1.25;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  background: var(--cp-gray-100);
}

.hero {
  min-height: 30rem;
  padding-block: clamp(4.25rem, 6vw, 6.5rem);
  background-position: center right;
  background-size: cover;
}

.hero-copy {
  width: min(100%, 40rem);
}

.hero-copy h1 {
  font-size: clamp(2.3rem, 3.3vw, 3.5rem);
}

.offers-section,
.included-services,
.standards-section {
  padding-block: clamp(3.75rem, 5vw, 5rem);
}

.offer-card,
.standard-card {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.offer-card:hover,
.standard-card:hover {
  box-shadow: 0 0.65rem 1.5rem rgb(35 31 32 / 10%);
  transform: translateY(-2px);
}

.audience-section {
  padding-block: clamp(4rem, 6vw, 5.5rem);
}

.audience-video {
  border-radius: 0;
  box-shadow: none;
}

.standard-card {
  min-height: 9rem;
}

.experience-cta__inner {
  min-height: 21rem;
  padding-block: 3.75rem;
}

.experience-cta__content h2 {
  max-width: 50rem;
  font-size: clamp(2rem, 2.55vw, 2.7rem);
}

.experience-cta__brand {
  width: min(100%, 17rem);
}

.footer-social a {
  overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
  .nav-item--dropdown:hover>.nav-dropdown {
    display: block;
  }

  .nav-item--dropdown:hover>.nav-dropdown-toggle {
    color: var(--cp-blue-700);
  }

  .nav-item--dropdown:hover>.nav-dropdown-toggle .nav-chevron {
    transform: rotate(180deg);
  }
}

@media (max-width: 1100px) {
  .nav {
    gap: 0.8rem;
  }

  .nav>a,
  .nav-dropdown-toggle {
    font-size: 0.84rem;
  }
}

@media (max-width: 900px) {

  .header-inner,
  .hero>.container,
  .offers-section>.container,
  .audience-section>.container,
  .included-services>.container,
  .standards-section>.container,
  .experience-cta>.container,
  .site-footer>.container {
    width: min(calc(100% - 2.5rem), var(--cp-layout-max));
  }

  .nav {
    top: 55px;
    right: auto;
    left: 10px;
    width: 280px;
    max-width: 280px;
    overflow-y: auto;
    max-height: calc(100vh - 6rem);
    border-radius: 12px 12px 0 0;
  }

  .nav-item--dropdown,
  .nav-dropdown-toggle {
    width: 100%;
  }

  .nav-dropdown,
  .nav-dropdown--end {
    position: static;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin-top: 0;
    padding: 5px;
    border: 0;
    border-radius: 10px;
    box-shadow: none;
    transform: none;
    background: var(--cp-white);
  }

  .nav-dropdown::before,
  .nav-dropdown--end::before {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero-copy h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .experience-cta__content h2 {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
  }
}

/* ==========================================================================
   Mega-menú "Servicios" (columnas apilables de nivel 1-3)
   Estados: reposo (#3F3F46/400), hover (#E8F0FC/#1E1E1E),
   seleccionado (#0B57C2/blanco/600). Transiciones 200ms ease.
   ========================================================================== */

/* Chevron de la barra: rota al abrir el dropdown (por hover o por clic). */
.nav-item--dropdown.is-open>.nav-dropdown-toggle .nav-chevron {
  transform: rotate(180deg);
}

/* Columna 1 (nivel superior): fondo casi blanco. */
#servicios-menu {
  left: 0;
  width: 18rem;
  padding: 0;
  transform: none;
  background: #fafafb;
  animation: nav-dropdown-in 200ms ease;
}

#servicios-menu::before {
  display: none;
}

/* ítems de columna 1 y toggles con hijos (todas las columnas). */
#servicios-menu>a,
.nav-flyout__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem 1.25rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #3f3f46;
  font-family: var(--cp-font-body);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.3;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease;
}

#servicios-menu>a:hover,
#servicios-menu>a:focus-visible,
.nav-flyout__toggle:hover,
.nav-flyout__toggle:focus-visible {
  background: #e8f0fc;
  color: #1e1e1e;
}

/* Flyout: contenedor posicionado y panel lateral. */
.nav-flyout {
  position: relative;
}

.nav-flyout__chevron {
  flex: none;
  width: 1rem;
  height: 1rem;
  color: #98a2b3;
  transition: color 200ms ease;
}

.nav-flyout.is-open>.nav-flyout__toggle {
  background: #0b57c2;
  color: #ffffff;
  font-weight: 600;
}

.nav-flyout.is-open>.nav-flyout__toggle .nav-flyout__chevron {
  color: #ffffff;
}

.nav-flyout__panel {
  position: absolute;
  top: -0.75rem;
  left: calc(100% + 0.4rem);
  z-index: 210;
  display: none;
  width: 18rem;
  max-width: min(18rem, calc(100vw - 2rem));
  max-height: min(42rem, calc(100vh - 9rem));
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding: 0.5rem 0 0.25rem;
  border: 1px solid rgb(216 222 232 / 60%);
  border-radius: 0.75rem;
  background: #f1f2f4;
  box-shadow: var(--cp-shadow-md);
  animation: nav-flyout-in 200ms ease;
}

.nav-flyout.is-open>.nav-flyout__panel,
.nav-flyout:hover>.nav-flyout__panel {
  display: block;
}

/* Si el panel no cabe a la derecha, se abre a la izquierda del toggle. */
.nav-flyout.is-open-left>.nav-flyout__panel {
  left: auto;
  right: calc(100% + 0.4rem);
}

/* Columna 3 (nivel más profundo, p. ej. Ortopedia): fondo gris medio. */
.nav-flyout--sub>.nav-flyout__panel {
  background: #e5e6e8;
}

/* Encabezados de columna 2/3: bold, no clickeables. */
.nav-flyout__heading {
  margin: 0;
  padding: 0.75rem 1.25rem 0.5rem;
  color: #1e1e1e;
  font-family: var(--cp-font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
  cursor: default;
  user-select: none;
}

.nav-flyout__heading--link {
  cursor: pointer;
  text-decoration: none;
}

.nav-flyout__heading--link:hover {
  color: #0e4fbe;
}

a.nav-flyout__heading--link,
a.nav-flyout__heading--link:visited {
  padding: 0.75rem 1.25rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Enlaces hoja de columnas 2/3. */
.nav-flyout__panel a {
  display: block;
  width: 100%;
  padding: 0.9rem 1.25rem;
  border-radius: 0;
  background: transparent;
  color: #3f3f46;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease;
}

.nav-flyout__panel a:hover,
.nav-flyout__panel a:focus-visible {
  background: #e8f0fc;
  color: #1e1e1e;
}

@keyframes nav-dropdown-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nav-flyout-in {
  from {
    opacity: 0;
    transform: translateX(-6px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 900px) {
  #servicios-menu {
    width: 100%;
    padding: 5px 0;
  }

  .nav-flyout__panel {
    position: static;
    width: 100%;
    margin-top: 0;
    margin-left: 0;
    padding: 5px 0;
    border: 0;
    border-left: 0;
    border-radius: 5px;
    background: #FFFFFF;
    box-shadow: none;
    animation: none;
  }

  .nav-flyout--sub > .nav-flyout__panel {
    background: #EDEDED;
    border-radius: 0 10px 10px 0;
  }

  .nav-flyout__toggle {
    padding: 12px 16px;
    font-size: 0.875rem;
    font-weight: 400;
    border-radius: 8px;
  }

  .nav-flyout.is-open > .nav-flyout__toggle {
    background: #0B57C2;
    color: #FFFFFF;
    font-weight: 700;
    border-radius: 8px;
  }

  .nav-flyout.is-open > .nav-flyout__toggle .nav-flyout__chevron {
    color: #FFFFFF;
  }

  .nav-flyout__panel a {
    padding: 12px 16px 12px 20px;
    font-size: 0.875rem;
    border-radius: 8px;
  }

  .nav-flyout--sub .nav-flyout__toggle {
    padding-left: 30px;
  }

  .nav-flyout--sub .nav-flyout__panel a {
    padding-left: 30px;
    padding-right: 16px;
  }
}

/* ==========================================================================
   Final accessibility and footer refinements
   ========================================================================== */

/* Keep the audience heading on one line on desktop and tablets. */
.audience-content h2 {
  max-width: none;
  white-space: nowrap;
}

/* Supersalud logo replaces the text-only treatment in the footer. */
.footer-vigilado {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 2rem;
  margin-bottom: 0.75rem;
}

.footer-vigilado img {
  display: block;
  width: auto;
  height: 37px;
  max-width: min(100%, 12rem);
  object-fit: contain;
}

/* Unified social icon behaviour. */
.footer-social ul {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-social li {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 50%;
  color: var(--cp-footer, #35445b);
  background-color: var(--cp-white, #fff);
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 220ms ease,
    transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-social img {
  display: block;
  grid-area: 1 / 1;
  width: 34px;
  height: 34px;
  max-width: none;
  object-fit: contain;
  opacity: 1;
  visibility: visible;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.footer-social .footer-social__icon--hover {
  opacity: 0;
  visibility: hidden;
}

.footer-social a:hover .footer-social__icon--normal,
.footer-social a:focus-visible .footer-social__icon--normal {
  opacity: 0;
  visibility: hidden;
}

.footer-social a:hover .footer-social__icon--hover,
.footer-social a:focus-visible .footer-social__icon--hover {
  opacity: 1;
  visibility: visible;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  border-color: var(--cp-orange-500, #ff8444);
  background-color: var(--cp-orange-500, #ff8444);
  box-shadow: 0 0.55rem 1.15rem rgb(255 132 68 / 45%);
  transform: translateY(-3px) scale(1.1);
}

.footer-social a:focus-visible {
  outline: 3px solid rgb(255 132 68 / 35%);
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .audience-content h2 {
    white-space: normal;
  }

  .footer-vigilado {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    margin-bottom: 0.75rem;
  }

  .footer-vigilado__logo {
    display: block;
    width: auto;
    height: 2rem;
    max-width: 15rem;
    object-fit: contain;
    filter: none;
  }

}

@media (prefers-reduced-motion: reduce) {

  .footer-social a,
  .footer-social img {
    transition: none;
  }

  .footer-social a:hover,
  .footer-social a:focus-visible {
    transform: none;
  }
}

/* ==========================================================================
   Final footer legal line refinement
   ========================================================================== */
.footer-bottom {
  margin-top: 0;
  padding-top: 20px;
  border-top: 1px solid #FFFFFF;
  text-align: center;
}

.footer-bottom p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.2rem 0.35rem;
  margin: 0;
  color: #FFFFFF;
  font-family: var(--cp-font-body);
  font-size: 12px;
  line-height: 15px;
  text-align: center;
}

.footer-bottom p a {
  color: rgb(255 255 255 / 88%);
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-bottom p a:hover,
.footer-bottom p a:focus-visible {
  color: var(--cp-orange-500, #ff8444);
}

.footer-bottom p span {
  color: rgb(255 255 255 / 60%);
}

.footer-bottom p strong {
  color: #fff;
  font-weight: 700;
}

@media (min-width: 1101px) {
  .footer-bottom p {
    flex-wrap: nowrap;
    white-space: nowrap;
  }
}

@media (max-width: 700px) {
  .footer-bottom p {
    display: block;
    font-size: 0.7rem;
    line-height: 1.65;
  }

  .footer-bottom p span {
    display: none;
  }

  .footer-bottom p a,
  .footer-bottom p strong {
    display: inline;
  }
}

/* ==========================================================================
   Component refinement — services, standards and legal footer
   ========================================================================== */

/* Servicios incluidos. */
.included-services-grid {
  align-items: stretch;
  gap: 1.5rem;
}

/* Nuestros estándares. */
.standards-grid {
  align-items: stretch;
}

.standard-card {
  height: 100%;
  min-height: 9.25rem;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.standard-card:hover,
.standard-card:focus-within {
  border-color: rgb(0 82 183 / 24%);
  box-shadow: 0 0.65rem 1.5rem rgb(35 31 32 / 10%);
  transform: translateY(-2px);
}

.standard-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.25rem;
}

.standard-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Footer legal y sello Supersalud. */
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 45%);
  text-align: center;
}

.footer-vigilado {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  margin-bottom: 0.75rem;
}

.footer-vigilado__logo {
  display: block;
  width: auto;
  height: 2rem;
  max-width: min(100%, 15rem);
  object-fit: contain;
  filter: none;
}

.footer-legal {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  width: 100%;
  margin: 0;
  color: rgb(255 255 255 / 88%);
  background: transparent;
  font-size: clamp(0.68rem, 0.72vw, 0.78rem);
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
}

.footer-legal a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--cp-orange-500, #ff8444);
}

.footer-legal span {
  color: rgb(255 255 255 / 55%);
}

.footer-legal strong {
  color: var(--cp-white);
  font-weight: 700;
}

@media (max-width: 1100px) {
  .footer-legal {
    flex-wrap: wrap;
    white-space: normal;
  }
}

@media (max-width: 700px) {
  .footer-bottom {
    margin-top: 2rem;
    padding-top: 1.25rem;
  }

  .footer-vigilado__logo {
    height: 1.75rem;
    max-width: 13rem;
  }

  .footer-legal {
    display: block;
    font-size: 0.7rem;
    line-height: 1.65;
  }

  .footer-legal span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  .standard-card,
  .footer-legal a {
    transition: none;
  }

  .standard-card:hover,
  .standard-card:focus-within {
    transform: none;
  }
}

/* ==========================================================================
   Calibración visual de la portada

   Estas reglas fijan las proporciones de la composición aprobada a 1287 px.
   Los puntos de quiebre posteriores adaptan el mismo sistema sin depender de
   valores específicos del contenido.
   ========================================================================== */

/* Ritmo general y contenedores. */
.header-inner,
.hero>.container,
.offers-section>.container,
.audience-section>.container,
.included-services>.container,
.standards-section>.container,
.experience-cta>.container,
.site-footer>.container {
  width: min(calc(100% - 3rem), var(--cp-layout-max));
}

.offers-section,
.included-services,
.standards-section {
  padding-block: var(--cp-section-space);
}

.offers-section {
  padding-block: 3.5rem;
}

.standards-section {
  padding-block: 3.625rem;
}

/* Header más compacto y cercano a la referencia. */
.header-top {
  min-height: 4.35rem;
  padding-block: 0.4rem;
}

.brand-logo {
  width: 13rem;
  max-width: 100%;
  max-height: 3.75rem;
}

.nav {
  gap: clamp(1rem, 1.8vw, 1.75rem);
  min-height: 2.85rem;
  padding-block: 0.45rem;
}

.nav>a,
.nav-dropdown-toggle {
  min-height: 2rem;
  font-size: 0.88rem;
}

.header-cta {
  min-height: 2.75rem;
  padding: 0.72rem 1.35rem;
  font-size: 0.92rem;
}

/* Hero. */
.hero {
  min-height: 30.8125rem;
  padding-block: 0;
}

.hero>.container {
  display: flex;
  min-height: 30.8125rem;
  align-items: center;
}

.hero-copy {
  width: min(100%, 34rem);
}

.hero-copy h1 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.9rem, 2.5vw, 2.1rem);
}

.hero-copy .lead {
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.38;
}

.hero-actions {
  margin-top: 1.25rem;
}

/* ¿Qué ofrecemos? */
.offers-heading,
.included-services-heading {
  margin-bottom: 1.75rem;
}

.offers-heading h2,
.included-services-heading h2,
.audience-content h2,
.standards-section h2 {
  font-size: clamp(1.85rem, 2.5vw, 2.1rem);
}

.offers-grid {
  gap: 1.15rem;
}

.offer-card {
  min-width: 0;
  min-height: 11.875rem;
  padding: 1.25rem;
  border-color: var(--cp-card-border);
  border-radius: var(--cp-card-radius);
  box-shadow: var(--cp-card-shadow);
}

.offer-icon {
  width: 2.45rem;
  height: 2.45rem;
  margin-bottom: 0.95rem;
}

.offer-card h3 {
  font-size: 0.92rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

/* ¿A quién está dirigido? */
.audience-section {
  padding-block: clamp(3.75rem, 5vw, 5rem);
}

.audience-grid {
  grid-template-columns: minmax(0, 1.6fr) minmax(21.5rem, 0.7fr);
  gap: clamp(2.25rem, 3.7vw, 3.75rem);
}

.audience-content h2 {
  margin-bottom: 1.4rem;
}

.audience-list {
  gap: 1.25rem;
}

.audience-list li {
  grid-template-columns: 3.25rem minmax(0, 1fr);
  min-height: 3.25rem;
  border-radius: 0.55rem;
}

.audience-icon {
  width: 3.25rem;
  min-height: 3.25rem;
}

.audience-icon img {
  width: 1.55rem;
  height: 1.55rem;
}

.audience-label {
  padding: 0.65rem 1rem;
  font-size: 0.92rem;
}

/* Servicios incluidos. */
.included-services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

/* Nuestros estándares. */
.standards-section h2 {
  margin-bottom: 1.75rem;
}

.standards-grid {
  gap: 1rem;
}

.standard-card {
  min-height: 7.75rem;
  padding: 1.15rem;
  border-color: var(--cp-card-border);
  border-radius: var(--cp-card-radius);
  box-shadow: var(--cp-card-shadow);
}

.standard-icon {
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 0.85rem;
}

.standard-card h3 {
  font-size: 0.9rem;
  line-height: 1.3;
}

/* CTA azul. */
.experience-cta__inner {
  min-height: 34.75rem;
  gap: 2.5rem;
  padding-block: 3.15rem;
}

.experience-cta__content {
  max-width: 52rem;
}

.experience-cta__content h2 {
  max-width: 48rem;
  margin-bottom: 1.25rem;
  font-size: clamp(1.9rem, 2.4vw, 2.1rem);
  line-height: 1.18;
}

.experience-cta__brand {
  width: min(100%, 20rem);
}

/* Footer. */
.site-footer {
  min-height: auto;
  padding: 2.5rem 0 1.25rem;
}

.footer-grid {
  grid-template-columns: 23.5rem repeat(3, minmax(0, 1fr));
  gap: 3.5rem;
}

.footer-contact {
  min-height: auto;
  padding: 1.25rem;
}

.site-footer h3 {
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}

.footer-contact-list {
  gap: 0.9375rem;
}

.footer-contact-list li,
.footer-column a {
  font-size: 0.875rem;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
}

.footer-vigilado {
  min-height: 2.3125rem;
  margin-bottom: 0.625rem;
}

.footer-vigilado__logo {
  height: 2.3125rem;
  max-width: 11.5rem;
}

.footer-legal {
  font-size: 0.75rem;
  line-height: 1.22;
}

@media (max-width: 1100px) {
  .offers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .audience-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(20rem, 0.75fr);
  }

  .footer-grid {
    grid-template-columns: 1.3fr 0.75fr 0.85fr 0.75fr;
    gap: 2rem;
  }
}

@media (min-width: 901px) {
  .hero {
    background-image: url("../../images/campaigns/ruta-celeste/hero-desktop.png");
    background-position: center;
    background-size: 100% 100%;
  }
}

@media (max-width: 900px) {

  .header-inner,
  .hero>.container,
  .offers-section>.container,
  .audience-section>.container,
  .included-services>.container,
  .standards-section>.container,
  .experience-cta>.container,
  .site-footer>.container {
    width: min(calc(100% - 2.5rem), var(--cp-layout-max));
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .cp-nav-toggle {
    position: relative;
    z-index: 2;
    display: inline-flex;
    flex: 0 0 auto;
    margin-inline-start: auto;
    visibility: visible;
  }

  .hero,
  .hero>.container {
    min-height: auto;
  }

  .hero {
    padding-block: 3.5rem 14rem;
  }

  .included-services-grid,
  .standards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .experience-cta__inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {

  .offers-grid,
  .included-services-grid,
  .standards-grid {
    grid-template-columns: 1fr;
  }

  .offer-card {
    min-height: 9rem;
  }

  .hero {
    padding-block: 3rem 12rem;
  }

  .audience-content h2 {
    white-space: normal;
  }

  .experience-cta__brand {
    width: min(58%, 11rem);
  }
}

/* ==========================================================================
   Calibración móvil — referencia aprobada

   La composición móvil conserva el contenido y el orden de escritorio, pero
   reduce el ritmo vertical, controla los saltos de títulos y mantiene áreas
   táctiles de al menos 44 px. Estas reglas son la última capa responsive de
   la portada para evitar que ajustes de escritorio alteren el viewport móvil.
   ========================================================================== */
@media (max-width: 700px) {
  .header-top {
    min-height: 2.875rem;
    padding-block: 0.625rem;
  }

  .brand-logo {
    width: 4.6875rem;
    max-width: 4.6875rem;
    max-height: 1.625rem;
  }

  .cp-nav-toggle {
    width: 1.5rem;
    height: 1.5rem;
    border: 0;
    background: transparent;
  }

  .cp-nav-toggle svg {
    width: 1.375rem;
    height: 1.375rem;
  }

  .nav {
    position: absolute;
    top: 2.875rem;
    right: 0.75rem;
    left: 0.75rem;
    max-height: calc(100dvh - 3.625rem);
    padding: 0.625rem;
  }

  .nav a,
  .nav-dropdown-toggle {
    min-height: 3.5rem;
    font-size: 0.875rem;
    font-weight: 600;
  }

  .hero {
    padding-block: 2rem 9.5rem;
    background-image:
      url("../../images/campaigns/ruta-celeste/hero-mobile.png?v=20260729-102538-2");
    background-position: center;
    background-size: cover;
  }

  .hero-copy {
    width: min(100%, 19.375rem);
  }

  .hero-copy h1 {
    max-width: 19.375rem;
    margin-bottom: 0.5rem;
    font-size: 1.875rem;
    line-height: 1.167;
    letter-spacing: 0;
  }

  .hero-copy .lead {
    max-width: 19.375rem;
    font-size: 1.125rem;
    line-height: 1.219;
  }

  .hero-actions {
    margin-top: 1rem;
  }

  .hero-actions .button--accent,
  .experience-cta__button {
    gap: 0.5rem;
    min-height: 2.75rem;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
  }

  .button__icon,
  .experience-cta__button-icon {
    width: 1.5rem;
    height: 1.5rem;
  }

  .offers-section,
  .included-services,
  .standards-section {
    padding-block: 2.5rem;
  }

  .offers-heading,
  .included-services-heading {
    margin-bottom: 1.25rem;
  }

  .offers-heading h2,
  .included-services-heading h2,
  .audience-content h2,
  .standards-section h2 {
    font-size: 1.5rem;
    line-height: 1.366;
    letter-spacing: 0;
  }

  .offers-grid {
    gap: 1rem;
  }

  .offer-card {
    min-height: auto;
    padding: 1.25rem;
    gap: 1.25rem;
    border-radius: 16px;
  }

  .offer-icon {
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 0;
  }

  .offer-card h3 {
    font-size: 1rem;
    line-height: 1.22;
  }

  .audience-section {
    padding-block: 2.5rem;
  }

  .audience-grid {
    gap: 0.625rem;
  }

  .audience-video__player {
    aspect-ratio: 2 / 1;
  }

  .audience-content h2 {
    max-width: 20rem;
    margin-bottom: 1rem;
  }

  .audience-list {
    gap: 0.625rem;
  }

  .audience-list li {
    grid-template-columns: 3.125rem minmax(0, 1fr);
    min-height: 3.125rem;
    border-radius: 0.625rem;
    gap: 1.375rem;
    padding: 0;
  }

  .audience-icon {
    width: 3.125rem;
    min-height: 3.125rem;
    border-radius: 0.625rem;
    background: var(--cp-blue-700);
  }

  .audience-icon img {
    width: 1.875rem;
    height: 1.875rem;
  }

  .audience-label {
    padding: 0;
    font-size: 1rem;
    line-height: 1.22;
  }

  .included-services-grid {
    gap: 1rem;
  }

  .standards-section h2 {
    margin-bottom: 1.25rem;
  }

  .standards-grid {
    gap: 1rem;
  }

  .standard-card {
    min-height: auto;
    padding: 1.25rem;
    gap: 1.25rem;
  }

  .standard-icon {
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 0;
  }

  .standard-card h3 {
    font-size: 1rem;
    line-height: 1.22;
  }

  .experience-cta__inner {
    min-height: auto;
    gap: 1.25rem;
    padding-block: 1.5rem;
    flex-direction: column;
  }

  .experience-cta__content h2 {
    max-width: 100%;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    line-height: 1.366;
  }

  .experience-cta__brand {
    width: 4.1875rem;
    display: block;
    margin: 0 auto;
  }

  .site-footer {
    min-height: auto;
    padding: 2.5rem 0 1.25rem;
  }

  .footer-grid {
    gap: 1.25rem;
    grid-template-columns: 1fr;
  }

  .footer-contact {
    min-height: auto;
    padding: 1.25rem;
  }

  .site-footer h3 {
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
  }

  .footer-contact-list {
    gap: 0.9375rem;
  }

  .footer-contact-list li,
  .footer-column a {
    font-size: 0.875rem;
  }

  /* En móvil el email largo (nowrap por defecto como ítem flex) fuerza un
   * min-content de ~356px → overflow lateral de 16px en viewports de 360px. */
  .footer-contact-list li,
  .footer-contact-list li a {
    overflow-wrap: anywhere;
  }

  .footer-column ul {
    gap: 0.9375rem;
  }

  .footer-social ul {
    gap: 10px;
  }

  .footer-social a {
    width: 32px;
    height: 32px;
  }

  /* Icono final de Figma (circulo + glifo); solo se escala al circulo. */
  .footer-social img {
    width: 32px;
    height: 32px;
  }

  .footer-bottom {
    margin-top: 1rem;
    padding-top: 1rem;
  }

  .footer-vigilado {
    min-height: 2.3125rem;
    margin-bottom: 0.625rem;
  }

  .footer-vigilado__logo {
    height: 2rem;
    max-width: 10rem;
  }

  .footer-legal {
    font-size: 0.75rem;
    line-height: 1.22;
  }
}

/* ==========================================================================
   Ajustes finales de navegación y composición móvil.
   ========================================================================== */
html {
  scroll-padding-top: 7.75rem;
}

main section[id],
.site-footer[id] {
  scroll-margin-top: 7.75rem;
}

.footer-contact-list img {
  filter: none;
}

.footer-contact a,
.footer-contact a:visited,
.footer-contact a[x-apple-data-detectors] {
  color: var(--cp-gray-700) !important;
  -webkit-text-fill-color: var(--cp-gray-700);
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 4rem;
  }

  main section[id],
  .site-footer[id] {
    scroll-margin-top: 4rem;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: 31.25rem;
    padding-block: 0;
  }

  .hero>.container {
    min-height: 31.25rem;
    padding-block: 1.25rem;
    align-items: center;
  }

  .hero-copy {
    transform: translateY(0);
  }

  .audience-section {
    padding-block: 2.5rem;
    background-color: var(--cp-gray-100);
    background-image: none;
  }

  .audience-grid {
    display: block;
  }

  .audience-video {
    margin-bottom: 2rem;
  }

  .audience-content {
    width: 100%;
  }

  .experience-cta__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    gap: 1.5rem;
    padding-block: 2rem;
  }

  .experience-cta__brand {
    order: -1;
    align-self: flex-start;
    width: 4.1875rem;
    margin: 0;
  }

  .experience-cta__content {
    max-width: 100%;
  }

  .experience-cta__content h2 {
    max-width: 100%;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    line-height: 1.366;
    text-wrap: balance;
  }

  .experience-cta__button {
    min-height: 2.75rem;
    padding: 0.7rem 1rem;
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   Carousel / Hero banner (portada) — Ruta Celeste
   Especificación Figma exacta (componente "Propiedad 1=Slide 1", 1920×493).
   Columna de contenido FIJA de 1115px centrada en el banner full-width;
   las flechas se anclan a los bordes de esa columna (40px círculo blanco
   sólido, chevron #0E4FBE); el caption inicia 80px tras el borde izquierdo
   de la columna. Título Manrope 800/32 #0E4FBE; párrafo Montserrat 400/18
   #344054 (max-width 426px). Dots 11px bottom 40px (activo #0E4FBE,
   inactivos blancos). Overlay degradado y marca de agua fuera (vienen en la
   imagen).
   ========================================================================== */

.hero-carousel {
  position: relative;
  width: 100%;
  height: 493px; /* altura fija según Figma 1920×493 */
  overflow: hidden;
  font-family: var(--cp-font-body);
}

/* Viñeta sutil para profundidad */
.hero-carousel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(130% 60% at 50% -10%, rgb(255 255 255 / 35%), transparent 55%),
    linear-gradient(180deg, rgb(0 38 58 / 16%), transparent 22%, transparent 72%, rgb(0 38 58 / 20%));
}

/* Barrido de luz (aurora) - se mantiene */
.hero-carousel::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    transparent 40%,
    rgb(0 185 234 / 14%) 50%,
    transparent 60%
  );
  mix-blend-mode: screen;
  transform: translateX(-120%);
  animation: hero-sweep 7s ease-in-out infinite;
}

@keyframes hero-sweep {
  0% { transform: translateX(-120%); }
  55%, 100% { transform: translateX(120%); }
}

/* Aurora móvil en tonos de la paleta */
.hero-carousel__aurora {
  position: absolute;
  inset: -12%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-carousel__aurora-core {
  position: absolute;
  inset: 0;
  filter: blur(48px);
  mix-blend-mode: screen;
  opacity: 0.75;
  transform-origin: center;
  animation: aurora-drift 18s ease-in-out infinite alternate;
}
.hero-carousel__aurora-core::before,
.hero-carousel__aurora-core::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(24px);
}
.hero-carousel__aurora-core::before {
  width: 55%; height: 70%; top: -20%; left: -8%;
  background: radial-gradient(circle at 30% 30%, rgb(0 185 234 / 70%), transparent 70%);
}
.hero-carousel__aurora-core::after {
  width: 60%; height: 75%; right: -12%; bottom: -25%;
  background: radial-gradient(circle at 70% 70%, rgb(14 79 190 / 75%), transparent 70%);
}
@keyframes aurora-drift {
  0%   { transform: translate3d(-4%, 2%, 0) scale(1); }
  50%  { transform: translate3d(4%, -3%, 0) scale(1.08); }
  100% { transform: translate3d(-2%, 1%, 0) scale(1.04); }
}

/* ─── Contenedor full-width (las flechas se anclan a sus bordes) ─── */
.hero-carousel__container {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 3;
}

/* Track del carousel */
.hero-carousel__track {
  position: relative;
  display: flex;
  width: 300%; /* 3 slides × 100% */
  height: 100%;
  touch-action: pan-y;
  user-select: none;
  will-change: transform;
}
.hero-carousel__track.is-dragging { cursor: grabbing; }

/* Slide individual */
.hero-slide {
  position: relative;
  flex: 0 0 33.333333%;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* ─── Capa 0: Imagen responsive <picture> ─── */
.hero-slide__picture {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-slide__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center; /* alineada a la derecha según Figma */
  will-change: transform;
}

/* Ken Burns en la <img> directamente */
.hero-slide.is-active .hero-slide__img {
  animation: hero-kenburns 9s ease-out forwards;
}
@keyframes hero-kenburns {
  from { transform: scale(1.06) translateY(0); }
  to   { transform: scale(1.1) translateY(-1%); }
}

/* ─── Capa 1: Marca de agua (logotipo) en el fondo del slide ───
   Figma: logo posicionado en el área derecha, entre la imagen y el texto. */
.hero-slide__watermark {
  position: absolute;
  z-index: 1;
  right: 8%;
  bottom: 10%;
  width: 118px;
  height: auto;
  opacity: 0.14;
  pointer-events: none;
  user-select: none;
}

/* ─── Capa 2: Caption (texto administrable) ───
   Anclado a la columna centrada de 1115px: inicia 80px tras su borde izq. */
.hero-slide__caption {
  position: relative;
  z-index: 3;
  max-width: 480px;
  margin-left: calc(50% - 557.5px + 80px);
  top: 50%;
  transform: translateY(-50%);
  text-align: left;
  color: var(--cp-navy-900);
}
.hero-slide__title {
  margin: 0 0 14px;
  font-family: var(--cp-font-heading);
  font-size: 32px; /* Figma: 32px */
  font-weight: 800; /* Figma: 800 */
  line-height: 1.37; /* Figma: 43.7px */
  color: var(--cp-blue-700); /* Figma: #0E4FBE */
  white-space: nowrap;
}
.hero-slide__body {
  margin: 0;
  font-size: 18px; /* Figma: 18px */
  line-height: 1.22; /* Figma: 22px */
  color: var(--cp-text-ink); /* Figma: #344054 */
}
.hero-slide__cta { margin-top: 1.25rem; }

/* ─── CTA naranja del Slide 2 y Slide 3 (.slide-cta) ───
   Figma: botón de 196×44 en los componentes, pero el texto 16/700 con dos
   iconos de 24px no cabe en 196px fijos (se envolvía). Se usa auto-ancho:
   el contenido define el tamaño (mismo alto 44px, radio 10px), fondo
   #ff8c45 (--cp-orange-500), texto blanco, WhatsApp izq + ícono der. */
.slide-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding: 12px 24px;
  background: var(--cp-orange-500); /* #ff8c45 */
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  border-radius: 12px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.slide-cta:hover,
.slide-cta:focus,
.slide-cta:focus-visible,
.slide-cta:active {
  background: #e96f27; /* hover del CTA del header */
  color: #fff;
}
.slide-cta__icon {
  flex: none;
  width: 24px;
  height: 24px;
}
.slide-cta__icon:last-child {
  fill: none;
  stroke: #fff;
  stroke-width: 2;
}
/* Confirmación de copiado (JS cambia el icono a check y añade .is-copied). */
.slide-cta.is-copied {
  background: #1e7e34;
}
/* ─── Info de teléfono (slide 3): wrapper vertical ─── */
.slide-cta__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 20px;
}

/* Fila horizontal: label + botón + extensiones — Figma gap 10px, una sola línea */
.slide-cta__row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  line-height: 1; /* alinear el centro óptico de todos los elementos al botón */
}

/* Etiqueta "Llámanos al" (slide 3): 16/700 #344054 — Figma Montserrat 700/16 */
.slide-cta__label {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.22;
  color: var(--cp-text-ink); /* #344054 */
}

/* Botón de teléfono del slide 3 — naranja 10px radius, copy icon */
.hero-slide .slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: -2px; /* subir para alinear visualmente con los textos */
  padding: 10px 20px;
  background: var(--cp-orange-500); /* #ff8c45 */
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.hero-slide .slide-cta:hover,
.hero-slide .slide-cta:focus,
.hero-slide .slide-cta:focus-visible,
.hero-slide .slide-cta:active {
  background: #e96f27;
  color: #fff;
}
.hero-slide .slide-cta__icon {
  flex: none;
  width: 20px;
  height: 20px;
}

/* Extensiones telefónicas: Montserrat 700/16px #344054 */
.slide-cta__extensions {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.22;
  color: var(--cp-text-ink); /* #344054 */
}

/* Barra de horario — Figma: bg rgba(14,79,190,0.1), radius 10px */
.slide-cta__horario {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 20px;
  padding: 10px;
  background: #0e4fbe; /* Figma: sólido azul, no transparente */
  border-radius: 10px;
  color: #fff; /* texto blanco sobre fondo azul */
}

.slide-cta__horario-icon {
  flex: none;
  width: 24px;
  height: 24px;
  color: #fff; /* Figma: icono blanco sobre fondo azul #0e4fbe */
}

.slide-cta__horario-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.22;
  color: #fff; /* Figma: texto blanco sobre fondo azul */
}
.slide-cta__horario-text strong {
  font-weight: 700;
}

/* Botón "Agenda tu cita" del slider (slide 2): réplica exacta del CTA del
   header. Se neutralizan las reglas de layout propias del header para que no
   se oculte en móvil (display:none) ni se empuje a la derecha (auto-margin). */
.hero-slide .header-cta {
  display: inline-flex;
  margin-top: 24px; /* mismo espaciado que .slide-cta respecto al texto superior */
  margin-inline-start: 0;
}

/* ─── Flechas de navegación (círculo 40px, Figma exacto) ───
   Ancladas a los bordes de la columna centrada de 1115px. */
.hero-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #fff; /* blanco sólido */
  color: var(--cp-blue-700); /* #0E4FBE chevron */
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.hero-carousel__arrow:hover {
  background: #F08245; /* naranja sólido */
  color: #fff; /* chevron blanco */
}
.hero-carousel__arrow:focus-visible {
  outline: 3px solid var(--cp-cyan-500);
  outline-offset: 3px;
}
.hero-carousel__arrow--prev { left: calc(50% - 557.5px); }
.hero-carousel__arrow--next { right: calc(50% - 557.5px); }
.hero-carousel__arrow-icon { width: 52.5%; height: 52.5%; } /* 21px en 40px */

/* ─── Puntos de paginación (dots) ───
   Figma: 11px, activo #0E4FBE, inactivos blancos, gap 20px, bottom 40px. */
.hero-carousel__dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  z-index: 10;
  display: flex;
  gap: 20px;
  transform: translateX(-50%);
}
.hero-carousel__dot {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: #fff; /* inactivo blanco */
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease;
}
.hero-carousel__dot.is-active { background: var(--cp-blue-700); } /* #0E4FBE */
.hero-carousel__dot:focus-visible { outline: 2px solid var(--cp-cyan-500); outline-offset: 2px; }

/* ─── Responsive ───
   Bajo 1150px la columna de 1115px no cabe; flechas y caption se anclan
   a los bordes del banner. */
@media (max-width: 1150px) {
  .hero-slide__caption { margin-left: 24px; }
  .hero-carousel__arrow--prev { left: 16px; }
  .hero-carousel__arrow--next { right: 16px; }
}

@media (max-width: 767px) {
  .hero-carousel { height: 360px; }
  .hero-slide__caption { margin-left: 20px; max-width: 90%; }
  .hero-slide__title { font-size: 24px; color: var(--cp-blue-royal); }
  .hero-slide__body { font-size: 18px; }
  .hero-carousel__arrow { width: 36px; height: 36px; font-size: 1rem; }
  .hero-carousel__arrow--prev { left: 16px; }
  .hero-carousel__arrow--next { right: 16px; }
  .hero-carousel__dots { bottom: 20px; gap: 10px; }
  .hero-carousel__dot { width: 8px; height: 8px; }
  /* Mobile: horario en una sola línea — no daña desktop (>767px)
     PUNTO CONGELADO Ruta Celeste (desktop+mobile) 2026-08-28: no modificar
     sin alerta previa + documentar como ajuste a su punto. */
  .slide-cta__horario {
    max-width: calc(100vw - 40px);
    padding: 8px 10px;
    gap: 6px;
    flex-wrap: nowrap;
  }
  .slide-cta__horario-icon { width: 20px; height: 20px; }
  .slide-cta__horario-text { font-size: 12px; white-space: nowrap; }
  .slide-cta__row { flex-wrap: wrap; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-active .hero-slide__img,
  .hero-carousel::after,
  .hero-carousel__aurora-core {
    animation: none !important;
  }
}

/* ==========================================================================
   Menú — tipografía según manual de identidad (Figma 6:428)
   --------------------------------------------------------------------------
   Barra de navegación: Montserrat 14/600 (ítems de nivel superior).
   Enlaces de paneles (dropdown/flyout): Montserrat 14/400.
   Encabezado de columna del mega-menú: Manrope 700 (título del manual).
   Estas reglas ganan la cascada para unificar los bloques legacy previos.
   ========================================================================== */
.nav a,
.nav-dropdown-toggle {
  font-family: var(--cp-font-body);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
}

.nav-dropdown a,
#servicios-menu > a,
.nav-flyout__toggle,
.nav-flyout__panel a {
  font-family: var(--cp-font-body);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.3;
}

.nav-flyout__heading {
  font-family: var(--cp-font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
}

a.nav-flyout__heading--link,
a.nav-flyout__heading--link:visited {
  font-size: 0.875rem;
  font-weight: 700;
}

/* ==========================================================================
   Servicios incluidos — título de sección (Figma sub-seccion-servicios).
   "Servicios incluidos" en Manrope ExtraBold 32px, line-height 43.7px
   (interlineado intrínseco del tipo, no 1.36 exacto). Unificadora al final
   para ganar la cascada sobre el clamp compartido de los demás h2.
   ========================================================================== */
.included-services-heading h2 {
  font-family: var(--cp-font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #0e4fbe;
  line-height: 1.366;
}

@media (max-width: 700px) {
  .included-services-heading h2 {
    font-size: 1.875rem;
  }
}

/* ==========================================================================
   Experiencia (CTA) — botón "Llámanos al" (Figma exacto).
   ========================================================================== */
.experience-cta__label {
  margin: 0 0 0.6rem;
  color: var(--cp-white);
  font-family: var(--cp-font-body);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.22;
}

.experience-cta__button {
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  border-radius: 0.625rem;
  font-size: 1.125rem;
  line-height: 1;
  white-space: nowrap;
}

.experience-cta__button-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.experience-cta__button.is-copied {
  background: #1e7e34;
}

/* ==========================================================================
   Servicios incluidos — título de sección (Figma sub-seccion-servicios).
   "Servicios incluidos" en Manrope ExtraBold 32px, line-height 43.7px
   (interlineado intrínseco del tipo, no 1.36 exacto). Unificadora al final
   para ganar la cascada sobre el clamp compartido de los demás h2.
   ========================================================================== */
.included-services-heading h2 {
  font-family: var(--cp-font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #0e4fbe;
  line-height: 1.366;
}

@media (max-width: 700px) {
  .included-services-heading h2 {
    font-size: 1.875rem;
  }
}

/* ==========================================================================
   Enlace externo "Ver resultados de radiología" — menú Usuario (PACSON).
   Icono externo en línea al lado del texto; unificadora al final para ganar
   la cascada sobre el bloque .nav-dropdown a.
   ========================================================================== */
.nav-dropdown a .nav-dropdown__external {
  display: inline-block;
  width: 0.875rem;
  height: 0.875rem;
  margin-left: 0.4rem;
  vertical-align: -0.1em;
  opacity: 0.7;
}

/* ==========================================================================
   Puentes de hover en el menú principal (evitan parpadeo al cruzar el gap
   entre el botón y el panel del dropdown/flyout).
   Unificadora al final para ganar la cascada sobre los bloques anteriores.
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
  /* Dropdown superior: cubre el hueco vertical (top: calc(100% + 0.75rem))
     entre el toggle y el panel para que el hover no se pierda al cruzar. */
  .nav-item--dropdown > .nav-dropdown::after {
    content: "";
    position: absolute;
    top: -0.75rem;
    left: 0;
    width: 100%;
    height: 0.75rem;
    background: transparent;
  }

  /* Flyout (mega-menú Servicios): cubre el hueco horizontal
     (left: calc(100% + 0.4rem)) entre el toggle y el panel lateral. */
  .nav-flyout::after {
    content: "";
    position: absolute;
    top: 0;
    right: -0.4rem;
    width: 0.4rem;
    height: 100%;
    background: transparent;
  }

  /* Variante que abre el panel a la izquierda: el puente va a la izquierda. */
  .nav-flyout.is-open-left::after {
    right: auto;
    left: -0.4rem;
  }
}

/* En mobile el dropdown/flyout es estático (sin gap flotante): el puente
   absoluto sobraría, se elimina. */
@media (max-width: 900px) {
  .nav-item--dropdown > .nav-dropdown::after,
  .nav-flyout::after {
    display: none;
  }
}

/* Servicios incluidos: container más ancho para inner tabs (Apoyo diagnóstico) */
.included-services > .container {
  max-width: min(calc(100% - 2.5rem), 85rem);
}

