@charset "utf-8";
/* CSS Document — DAME Institucional (unified) */

/*=============================================================================
  FONTS
=============================================================================*/

@font-face {
  font-family: 'Outfit';
  src: url('fonts/Outfit-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('fonts/Outfit-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('fonts/Outfit-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('fonts/Outfit-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('fonts/Outfit-SemiBold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lora';
  src: url('fonts/Lora-Italic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Lora';
  src: url('fonts/Lora-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/*=============================================================================
  TOKENS / VARIABLES
=============================================================================*/

:root {
  /* Base palette (reset compatibility) */
  --white: #ffffff;
  --black: #000000;
  --gray: #999999;
  --dark-gray: #333333;

  /* DAME brand */
  --dark: #173630;
  --teal: #294647;
  --teal-mid: #265048;
  --green: #4eac46;
  --bg-light: #dfe5dc;
  --bg-grey: #eeeeee;

  /* Radius */
  --r-card: 30px;
  --r-hero: 30px;
  --r-pill: 50px;
  --r-tag: 11px;

  /* Marquee */
  --space: 1rem;
  --gap: 1rem;

  /* iOS safe areas (requires viewport-fit=cover) */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --mobile-header-top: calc(16px + var(--safe-top));
}

/*=============================================================================
  GLOBAL / HOME
=============================================================================*/

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: auto;
  overflow-x: clip;
  scrollbar-gutter: stable;
}

body {
  background: var(--bg-grey);
  color: var(--teal);
  font-family: 'Outfit', Arial, Helvetica, sans-serif;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }

#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  will-change: transform;
}

.loader-logo {
  width: auto;
  height: 52px;
  display: block;
  will-change: opacity, transform;
}

.loader-logo svg {
  display: block;
  width: auto;
  height: 52px;
  overflow: visible;
}

.loader-logo--static path,
.loader-logo--static .leaf,
.loader-logo--static .swoosh,
.loader-logo--static .g {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

#page-curtain {
  position: fixed;
  inset: 0;
  z-index: 9997;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal);
  pointer-events: none;
  transform: translateY(-100%);
  will-change: transform, opacity;
}

#page-curtain .loader-logo {
  position: relative;
  z-index: 1;
  opacity: 0;
}

html.is-entering #page-curtain,
#page-curtain.is-covering {
  transform: translateY(0);
  pointer-events: auto;
}

html.is-entering #page-curtain .loader-logo,
#page-curtain.is-covering .loader-logo {
  opacity: 1;
}

/* Evita flash del page-loader encima del curtain en transiciones */
html.is-entering #page-loader {
  display: none !important;
}

#main-content {
  position: relative;
  z-index: 2;
  background: var(--bg-grey);
  border-radius: 0 0 28px 28px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.25, 0.8, 0.25, 1),
              transform 0.7s cubic-bezier(0.22, 0.68, 0, 1.1);
}

.reveal { transform: translateY(32px); }

.reveal-left { transform: translateX(-44px); }

.reveal-right { transform: translateX(44px); }

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: none;
}

@keyframes revealUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

@keyframes revealUpItem {
  from { transform: translateY(20px); }
  to { transform: none; }
}

.why-right.visible .why-features li {
  opacity: 1;
  animation: 0.55s cubic-bezier(0.22, 0.68, 0, 1.1) forwards revealUpItem;
}

.why-right.visible .why-features li:nth-child(1) { animation-delay: 80ms; }

.why-right.visible .why-features li:nth-child(2) { animation-delay: 0.16s; }

.why-right.visible .why-features li:nth-child(3) { animation-delay: 0.24s; }

.why-right.visible .why-features li:nth-child(4) { animation-delay: 0.32s; }

.why-right.visible .why-features li:nth-child(5) { animation-delay: 0.4s; }

.why-right.visible .why-features li:nth-child(6) { animation-delay: 0.48s; }

.stats-inner.visible .stat-box,
.stats-inner.visible .stats-cta {
  opacity: 0;
  animation: 0.55s cubic-bezier(0.22, 0.68, 0, 1.1) forwards revealUp;
}

.stats-inner.visible .stat-box:nth-child(1) { animation-delay: 80ms; }

.stats-inner.visible .stat-box:nth-child(2) { animation-delay: 0.2s; }

.stats-inner.visible .stats-cta { animation-delay: 0.32s; }

form.visible .form-field {
  opacity: 0;
  animation: 0.5s cubic-bezier(0.22, 0.68, 0, 1.1) forwards revealUp;
}

form.visible .form-field:nth-child(1) { animation-delay: 50ms; }

form.visible .form-field:nth-child(2) { animation-delay: 0.1s; }

form.visible .form-field:nth-child(3) { animation-delay: 0.15s; }

form.visible .form-field:nth-child(4) { animation-delay: 0.2s; }

form.visible .form-field:nth-child(5) { animation-delay: 0.25s; }

form.visible .form-field:nth-child(6) { animation-delay: 0.3s; }

form.visible .form-field:nth-child(7) { animation-delay: 0.35s; }

form.visible .form-field:nth-child(8) { animation-delay: 0.4s; }

.site-header {
  position: absolute;
  top: 25px;
  left: 69px;
  right: 69px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.site-header__logo img {
  height: 66px;
  width: auto;
  display: block;
}

.site-header__menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 22px;
  height: 42px;
  padding: 11px 22px;
  border-radius: 15px;
  background: #fff;
  backdrop-filter: blur(17px);
  -webkit-backdrop-filter: blur(17px);
}

.site-header__menu a {
  color: #000;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

.site-header__menu a:hover { color: var(--green); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.site-header__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  flex-shrink: 0;
}

.site-header__toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.25s ease;
  transform-origin: center;
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.site-header__toggle[aria-expanded="true"] .site-header__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-wrapper .site-header__toggle {
  background: rgba(255, 255, 255, 0.12);
}

.nav-wrapper .site-header__toggle-bar {
  background: #fff;
}

.mobile-nav__backdrop {
  display: none;
}

.mobile-nav {
  position: fixed;
  /* Mismo origen que el nav: el fondo nace detrás y crece hacia abajo */
  top: var(--mobile-nav-top, 0px);
  left: var(--mobile-nav-left, 20px);
  right: auto;
  z-index: 250;
  width: var(--mobile-nav-width, calc(100% - 40px));
  padding: 0;
  pointer-events: none;
  visibility: hidden;
}

.mobile-nav.is-open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-nav__panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: var(--mobile-nav-panel-h, calc(100dvh - var(--mobile-nav-top, 0px) - 24px));
  min-height: 0;
  max-height: none;
  padding: 0 0 24px;
  border-radius: 12px;
  background: var(--dark);
  overflow: hidden;
  /* Arranca exactamente del alto del nav y crece hacia abajo — mismo radio que el header */
  clip-path: inset(0 0 calc(100% - var(--mobile-nav-header-h, 53px)) 0 round 12px);
  transition: clip-path 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: clip-path;
}

.mobile-nav.is-open .mobile-nav__panel {
  clip-path: inset(0 round 12px);
}

/* Misma geometría que el site-header cerrado: sin inset extra */
.mobile-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  width: 100%;
  height: var(--mobile-nav-header-h, 53px);
  padding: 0 8px 0 16px;
  border-radius: 12px;
  background: var(--teal-mid);
  box-sizing: border-box;
}

.mobile-nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.mobile-nav__logo img {
  height: 22px;
  width: auto;
  display: block;
}

.mobile-nav__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: var(--dark);
  cursor: pointer;
  flex-shrink: 0;
}

.mobile-nav__close-icon {
  position: relative;
  width: 18px;
  height: 18px;
}

.mobile-nav__close-icon::before,
.mobile-nav__close-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
}

.mobile-nav__close-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-nav__close-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  flex: 1;
  justify-content: flex-start;
  margin: 0;
  padding: 43px 20px 0;
}

.mobile-nav__links a {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  opacity: 0;
  transform: translateY(-14px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    color 0.2s;
  transition-delay: 0s;
}

.mobile-nav__links a:hover {
  color: #fff;
}

.mobile-nav.is-open .mobile-nav__links a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav.is-open .mobile-nav__links a:nth-child(1) { transition-delay: 0.1s; }

.mobile-nav.is-open .mobile-nav__links a:nth-child(2) { transition-delay: 0.15s; }

.mobile-nav.is-open .mobile-nav__links a:nth-child(3) { transition-delay: 0.2s; }

.mobile-nav.is-open .mobile-nav__links a:nth-child(4) { transition-delay: 0.25s; }

.mobile-nav.is-open .mobile-nav__links a:nth-child(5) { transition-delay: 0.3s; }

.mobile-nav__actions {
  display: flex;
  flex-direction: column;
  gap: 17px;
  width: 100%;
  margin-top: auto;
  padding: 0 17px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.mobile-nav__actions .btn {
  opacity: 0;
  transform: translateY(-14px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  transition-delay: 0s;
}

.mobile-nav.is-open .mobile-nav__actions .btn {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav.is-open .mobile-nav__actions .btn:nth-child(1) { transition-delay: 0.35s; }

.mobile-nav.is-open .mobile-nav__actions .btn:nth-child(2) { transition-delay: 0.4s; }

.mobile-nav__actions .btn {
  width: 100%;
  min-width: 0;
}

.mobile-nav__guia {
  justify-content: center;
}

.mobile-nav__guia .btn__label {
  display: inline-block;
}

.mobile-nav__contacto {
  min-width: 0;
}

html.is-mobile-nav-open,
body.is-mobile-nav-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.is-mobile-nav-open {
  /* Evita que al ocultar el scrollbar se ensanche el layout */
  padding-right: var(--scrollbar-comp, 0px);
  touch-action: none;
}

body.is-mobile-nav-open .mobile-nav,
body.is-mobile-nav-open .mobile-nav__panel {
  touch-action: pan-y;
}

.nav-wrapper {
  position: fixed;
  top: calc(10px + var(--safe-top));
  left: 50%;
  z-index: 200;
  width: calc(100% - 28px);
  max-width: 1412px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%);
  transition: opacity 0.35s, visibility 0.35s;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(23, 54, 48, 0.95);
  backdrop-filter: blur(14px);
}

.nav-wrapper.scrolled {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-header--sticky {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  height: 66px;
}

/* logo_.svg es 163×34 — no usar el 66px del header del hero */
.site-header--sticky .site-header__logo img,
.nav-wrapper .site-header__logo img {
  height: 33px;
  width: auto;
}

/* Páginas internas: mismo logo horizontal y tamaño que el sticky (nunca el stacked de home) */
.page-inner .site-header__logo-img--light,
.page-inner .site-header__logo-img--dark {
  height: 33px;
  width: auto;
}

.site-header--sticky .site-header__menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-wrapper .site-header__menu {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav-wrapper .site-header__menu a {
  color: #fff;
}

.nav-wrapper .site-header__menu a:hover {
  color: var(--green);
}

.nav-wrapper .site-header__menu a.is-active {
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

.nav-wrapper .site-header__menu a.is-active:hover {
  color: rgba(255, 255, 255, 0.4);
}

@keyframes heroFadeIn { from { opacity: 0; } to { opacity: 1; } }

@keyframes heroFadeUp { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }

@keyframes heroSlideDown { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }

@keyframes heroSlideDownCenter { from { opacity: 0; transform: translate(-50%, -18px); } to { opacity: 1; transform: translate(-50%, 0); } }

@keyframes heroScaleIn { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: scale(1); } }

@keyframes shimmer { from { background-position: -900px 0; } to { background-position: 900px 0; } }

.hero-wrap { padding: calc(10px + var(--safe-top)) 14px 0; }

.hero {
  position: relative;
  height: 608px;
  border-radius: var(--r-hero);
  background: var(--dark);
  overflow: hidden;
  animation: heroFadeIn 0.4s both;
}

.hero-skeleton {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--r-hero);
  background: linear-gradient(90deg, #1c3f38 0% 30%, #285a50 50%, #1c3f38 70% 100%) 0 0 / 900px 100%;
  animation: shimmer 1.8s linear infinite;
  transition: opacity 0.6s 0.2s;
}

.hero-skeleton.loaded { opacity: 0; pointer-events: none; }

.hero-bg {
  position: absolute;
  top: -15px;
  left: -19px;
  z-index: 2;
  width: calc(100% + 38px);
  height: calc(100% + 30px);
  border-radius: var(--r-hero);
  overflow: hidden;
  animation: heroScaleIn 1.4s cubic-bezier(0.22, 0.68, 0, 1.1) 50ms both;
}

.hero-bg video,
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-hero);
  background: rgba(0, 0, 0, 0.5);
}

/* Home desktop: nav arriba como siempre; solo el logo grande va 40px arriba del texto */
.hero .site-header {
  justify-content: flex-end;
}

.hero .site-header__logo {
  position: absolute;
  left: 0;
  top: calc(200px - 25px - 25px - 130px);
  animation: heroSlideDown 0.6s cubic-bezier(0.22, 0.68, 0, 1.2) 0.3s both;
  z-index: 4;
}

.hero .site-header__menu {
  animation: heroSlideDownCenter 0.6s cubic-bezier(0.22, 0.68, 0, 1.2) 0.38s both;
}

.hero .site-header__actions {
  margin-left: auto;
  animation: heroSlideDown 0.6s cubic-bezier(0.22, 0.68, 0, 1.2) 0.46s both;
}

.hero .site-header__logo-img--dark {
  display: none;
}

.hero .site-header__logo-img--light {
  height: 130px;
  width: auto;
}

.hero-copy {
  position: absolute;
  top: 200px;
  bottom: 48px;
  left: 69px;
  right: 69px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 711px;
  pointer-events: none;
}

.hero-headline {
  position: static;
  top: auto;
  left: auto;
  width: 100%;
  margin: 0;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.08;
  pointer-events: auto;
}

.hero-headline em {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-weight: 300;
}

.hero-line {
  display: block;
  animation: heroFadeUp 0.82s cubic-bezier(0.22, 0.68, 0, 1.2) both;
}

.hero-line:nth-child(1) { animation-delay: 0.55s; }

.hero-line:nth-child(2) { animation-delay: 0.69s; }

/* Espacio título → CTA (~70% del hueco libre; el resto queda debajo del botón) */
.hero-spacer {
  flex: 0.35 1 0;
  min-height: 0;
  width: 100%;
  pointer-events: none;
}

.hero-copy::after {
  content: '';
  flex: 0.65 1 0;
  min-height: 0;
  pointer-events: none;
}

.hero .hero-cta {
  position: static;
  top: auto;
  left: auto;
  margin-top: 0;
  margin-bottom: 0;
  pointer-events: auto;
  animation: heroFadeUp 0.85s cubic-bezier(0.22, 0.68, 0, 1.2) 0.95s both;
}

@keyframes whatsappWave {
  0%, 72%, 100% {
    transform: translateY(2px) rotate(0deg);
  }
  8% {
    transform: translateY(2px) rotate(20deg);
  }
  16% {
    transform: translateY(2px) rotate(-10deg);
  }
  24% {
    transform: translateY(2px) rotate(16deg);
  }
  32% {
    transform: translateY(2px) rotate(-6deg);
  }
  40% {
    transform: translateY(2px) rotate(0deg);
  }
}

.whatsapp-widget {
  position: fixed;
  bottom: calc(40px + var(--safe-bottom));
  right: calc(40px + var(--safe-right));
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.whatsapp-widget:hover {
  transform: translateY(-2px);
}

.whatsapp-bubble {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 99px;
  height: 40px;
  flex-shrink: 0;
}

.whatsapp-bubble__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.whatsapp-bubble__label {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 18px 0 16px;
  color: var(--teal);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 20px;
  pointer-events: none;
}

.whatsapp-bubble__emoji {
  display: inline-block;
  transform-origin: 70% 70%;
  font-size: 1.25rem;
  line-height: 1;
  animation: whatsappWave 5s ease-in-out infinite;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.whatsapp-btn__icon {
  width: 39px;
  height: 39px;
  display: block;
  pointer-events: none;
}

.badges-wrap {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 19px;
  margin-top: -45px;
  padding: 0 67px;
}

.badge {
  position: relative;
  height: 90px;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s, transform 0.55s cubic-bezier(0.22, 0.68, 0, 1.1);
  overflow: hidden;
}

.badge.visible { opacity: 1; transform: none; }

.badge-icon {
  position: absolute;
  top: 50%;
  left: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  transform: translateY(-50%);
}

.badge:nth-child(4) .badge-icon { width: 41px; left: 30px; }

.badge-icon img { width: 100%; height: 100%; object-fit: contain; }

.badge p {
  position: absolute;
  top: 50%;
  left: 76px;
  right: 12px;
  transform: translateY(-50%);
  color: var(--teal);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.3;
}

.badge:nth-child(3) p { left: 71px; }

.badge:nth-child(4) p { left: 92px; }

.about-section {
  padding: 80px 67px 40px;
}

.about-card {
  display: grid;
  grid-template-columns: minmax(280px, 566px) 1fr;
  gap: 37px;
  align-items: center;
  min-height: 426px;
  padding: 22px 24px 22px 22px;
  border-radius: var(--r-card);
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
  touch-action: pan-y;
}

.about-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 382px;
  isolation: isolate;
}

.about-media__layer,
.about-media__layer img,
.about-media__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.about-media__layer--bg img {
  width: 137.4%;
  height: 135.7%;
  max-width: none;
  top: -35.29%;
  left: 0;
  object-fit: cover;
}

.about-media__overlay {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.24);
  pointer-events: none;
}

.about-media__photo {
  object-fit: cover;
  object-position: center;
  transform-origin: 50% 50%;
}

.about-date,
.about-title,
.about-copy {
  will-change: transform, opacity;
}

.about-content {
  display: flex;
  flex-direction: column;
  min-height: 382px;
  padding: 0 14px 0 0;
}

.about-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.about-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px 0 10px;
  border-radius: 8px;
  background: var(--bg-light);
  color: var(--dark);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.about-tag .dot {
  position: relative;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  animation: about-tag-dot-pulse 2.4s ease-in-out infinite;
}

.about-tag .dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.45;
  transform: scale(1);
  animation: about-tag-dot-ring 2.4s ease-out infinite;
}

@keyframes about-tag-dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.88); opacity: 0.75; }
}

@keyframes about-tag-dot-ring {
  0% { transform: scale(1); opacity: 0.4; }
  70%, 100% { transform: scale(2.1); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .about-tag .dot,
  .about-tag .dot::after {
    animation: none;
  }

  .about-tag .dot {
    opacity: 1;
    transform: none;
  }
}

.about-date {
  color: rgba(41, 70, 71, 0.5);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  white-space: nowrap;
}

.about-title {
  margin-bottom: 90px;
  color: var(--teal);
  font-size: 2.625rem;
  font-weight: 400;
  line-height: 45px;
}

.about-copy {
  max-width: 635px;
  margin: 0 0 37px;
  color: #525252;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: -0.5px;
}

.about-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.about-dots {
  display: flex;
  align-items: center;
  gap: 17px;
}

.about-dots button {
  width: 14px;
  height: 14px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #d9d9d9;
  cursor: pointer;
  transition: background 0.25s;
}

.about-dots button.active {
  background: var(--teal);
}

.tagline {
  position: relative;
  padding: 160px 14px 80px;
  text-align: center;
}

.tagline h2 {
  max-width: 980px;
  margin: 0 auto;
  color: var(--teal);
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
}

.tagline-word { display: inline; will-change: opacity; }

.morph-scene {
  position: relative;
  height: 260vh;
}

.morph-sticky {
  position: relative;
  width: 100%;
  height: 100vh;
  background: var(--bg-grey);
  overflow: hidden;
}

.morph-panel {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transform-origin: 50% 50%;
  will-change: transform, border-radius;
}

.morph-panel__poster,
.morph-panel__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.morph-panel__poster {
  z-index: 1;
  object-position: 28% 42%;
  transition: opacity 0.35s ease;
}

.morph-panel__video {
  z-index: 0;
  object-position: center 20%;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.morph-panel.is-video-active .morph-panel__poster {
  opacity: 0;
}

.morph-panel.is-video-active .morph-panel__video {
  opacity: 1;
}

.morph-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(transparent 35%, rgba(0, 0, 0, 0.48)),
    rgba(0, 0, 0, 0.24);
}

.morph-content {
  position: absolute;
  inset: auto 121px 60px;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(0, 404px);
  justify-content: space-between;
  align-items: start;
  gap: 34px;
  pointer-events: none;
}

.morph-content-left {
  position: relative;
  max-width: 760px;
  pointer-events: auto;
}

.morph-content-left h2 {
  margin-bottom: 40px;
  color: #fff;
  font-size: 3.25rem;
  font-weight: 400;
  line-height: 1.1;
}

.morph-content-right {
  position: relative;
  max-width: 404px;
  justify-self: end;
  pointer-events: auto;
}

.morph-content-right p {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 26px;
}

.morph-content-right p + p {
  margin-top: 26px;
}

.morph-scene.is-mobile-static {
  height: auto;
  background: var(--dark);
}

.morph-scene.is-mobile-static .morph-sticky {
  position: relative;
  height: auto;
  min-height: 617px;
  background: var(--dark);
}

.morph-scene.is-mobile-static .morph-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  transform: none;
  background: var(--dark);
}

/* Mobile: pleno de color — la imagen/video no ayuda a leer con tanto texto */
.morph-scene.is-mobile-static .morph-panel__poster,
.morph-scene.is-mobile-static .morph-panel__video {
  display: none !important;
}

.morph-scene.is-mobile-static .morph-overlay {
  opacity: 0;
  display: none;
}

.morph-scene.is-mobile-static .morph-content {
  position: relative;
  z-index: 2;
  inset: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 617px;
  padding: 48px 20px 32px;
  justify-content: flex-end;
}

.morph-scene.is-mobile-static .morph-content-left {
  display: contents;
}

.morph-scene.is-mobile-static .morph-content-left h2 {
  order: 1;
  color: #fff;
  margin-bottom: 0;
  font-size: clamp(1.75rem, 7vw, 2.25rem);
  line-height: 1.15;
}

.morph-scene.is-mobile-static .morph-content-right {
  order: 2;
  opacity: 1;
  transform: none;
  max-width: none;
}

.morph-scene.is-mobile-static .morph-content-left .btn--pill-arrow {
  order: 3;
  width: 100%;
  margin-top: 8px;
}

.morph-scene.is-mobile-static .morph-content-right p {
  color: #fff;
  font-size: 1rem;
  line-height: 1.5;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-wrap {
  padding: 80px 0 24px;
  background: var(--bg-grey);
  overflow: hidden;
}

.marquee-inner {
  display: flex;
  white-space: nowrap;
  animation: marqueeScroll 22s linear infinite;
}

.marquee-inner span {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  padding-right: 60px;
  color: #466c6f;
  font-size: clamp(3.5rem, 8vw, 6.9375rem);
  font-weight: 500;
  line-height: 1;
}

.marquee-icon {
  display: inline-block;
  width: auto;
  max-width: none;
  height: 80px;
  object-fit: contain;
  vertical-align: middle;
}

.why-dame {
  margin: 0 14px;
  padding: 60px;
  border-radius: var(--r-card);
  background: var(--bg-grey);
  overflow: hidden;
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
  max-width: 1400px;
  margin: 0 auto;
}

.why-left {
  display: flex;
  flex-direction: column;
  min-height: 480px;
  padding: 20px 0;
}

.why-label {
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 3.2px;
  text-transform: uppercase;
}

.why-left h2 {
  margin-bottom: 0;
  color: var(--teal);
  font-size: 2.75rem;
  font-weight: 400;
  line-height: 48px;
}

.why-left h2 em {
  color: var(--green);
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
}

.why-left .why-cta {
  margin-top: 30px;
  align-self: flex-start;
}

.why-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 40px;
}

.why-img-small {
  width: 162px;
  height: 196px;
  border-radius: var(--r-card);
  overflow: hidden;
  flex-shrink: 0;
}

.why-img-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
}

.why-right { align-self: stretch; padding: 20px 0; }

.why-features { list-style: none; border-top: 1px solid rgba(41, 70, 71, 0.15); }

.why-features li {
  border-bottom: 1px solid rgba(41, 70, 71, 0.15);
  overflow: hidden;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.why-features:has(.feat-header:hover) li:not(:hover),
.why-features:has(li.is-hover) li:not(.is-hover) {
  opacity: 0.4;
}

.feat-icon-v {
  opacity: 1;
  transition: opacity 0.25s ease;
}

.why-features li.open .feat-icon-v,
.why-features li:not(.open):hover .feat-icon-v,
.why-features li.is-hover:not(.open) .feat-icon-v {
  opacity: 0;
}

.feat-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  cursor: pointer;
  user-select: none;
}

.feat-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  color: var(--teal);
  flex-shrink: 0;
}

.feat-header > span:last-child {
  color: var(--teal);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 38px;
}

.accordion-body {
  max-height: 0;
  padding: 0 0 0 48px;
  overflow: hidden;
  color: var(--teal);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 22px;
  transition: max-height 0.35s, padding 0.35s;
}

.why-features li.open .accordion-body {
  max-height: 180px;
  padding-bottom: 18px;
}

.stats-inner {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 400px) 1fr;
  gap: 40px 60px;
  align-items: end;
  max-width: 1400px;
  margin: 200px auto 0;
}

.stat-box h3 {
  margin-bottom: 16px;
  color: var(--dark);
  font-size: 5.25rem;
  font-weight: 400;
  line-height: 54px;
}

.stat-box .stat-label {
  margin-bottom: 12px;
  color: var(--dark);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 34px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.stat-box .stat-desc {
  max-width: 360px;
  color: var(--teal);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  text-wrap: pretty;
}

.stats-cta {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  justify-self: end;
}

.services { padding: 60px 42px; background: var(--bg-grey); }

.services-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  grid-template-columns: min(700px, 52%) 1fr;
  min-height: 795px;
  border-radius: 40px;
  background: var(--bg-light);
  overflow: hidden;
  touch-action: pan-y;
}

.service-left { grid-area: 1 / 1 / span 2; padding: 12px; }

.service-img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--r-card);
  overflow: hidden;
}

.service-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform-origin: center;
  will-change: opacity, transform;
}

.service-arrows {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 4;
  display: flex;
  gap: 10px;
}

.service-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--teal);
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.service-arrow svg {
  width: 16px;
  height: 16px;
  display: block;
}

.service-arrow:hover,
.service-arrow:focus-visible {
  background: var(--teal);
  color: #fff;
  outline: none;
  transform: scale(1.04);
}

.services-title {
  grid-area: 1 / 2;
  padding: 60px 60px 0;
  color: var(--teal);
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2.625rem, 4vw, 4rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
}

.service-slides-wrapper {
  grid-area: 2 / 2;
  position: relative;
  overflow: hidden;
}

.service-slide {
  position: absolute;
  inset: 0;
  padding: 60px 60px 72px;
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform;
}

.service-slide h3 {
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 2.625rem;
  font-weight: 400;
  line-height: 46px;
}

.service-slide p {
  margin-bottom: 30px;
  color: var(--teal);
  font-size: 2rem;
  font-weight: 300;
  line-height: 34px;
}

.service-checklist { margin-bottom: 40px; list-style: none; }

.service-checklist li {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 3px;
  color: var(--teal);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 28px;
}

.service-checklist li svg { flex-shrink: 0; width: 19px; height: 19px; }

.service-pager {
  position: absolute;
  right: 48px;
  bottom: 36px;
  z-index: 12;
  display: flex;
  align-items: flex-end;
  gap: 18px;
}

.service-pager__dot {
  position: relative;
  padding: 0 0 8px;
  border: none;
  background: transparent;
  color: var(--teal);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.service-pager__dot::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 14px;
  height: 2px;
  border-radius: 1px;
  background: var(--teal);
  opacity: 0;
  transform: translateX(-50%) scaleX(0.4);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.service-pager__dot.active {
  font-weight: 600;
}

.service-pager__dot.active::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.service-pager__dot:hover,
.service-pager__dot:focus-visible {
  opacity: 0.7;
  outline: none;
}

.form-section { padding: 100px 42px 100px; background: var(--bg-grey); }

.form-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 26px;
}

.form-title {
  max-width: 670px;
  margin: 0 auto 50px;
  text-align: center;
  color: var(--teal);
  font-size: 2.75rem;
  font-weight: 400;
  line-height: 48px;
}

#formulario[data-form-success="home"] .form-title,
.page-contacto #formulario .form-title {
  margin-bottom: 36px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 22px;
  max-width: 858px;
  margin: 0 auto;
}

.form-field {
  position: relative;
  margin-bottom: 41px;
}

#formulario[data-form-success="home"] .form-field,
.page-contacto #formulario .form-field {
  margin-bottom: 24px;
}

.form-field > label {
  display: block;
  margin-bottom: 10px;
  color: var(--teal);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 26px;
  transition: color 0.25s;
}

#formulario[data-form-success="home"] .form-field > label,
.page-contacto #formulario .form-field > label {
  margin-bottom: 4px;
  line-height: 1.2;
}

.form-field input {
  width: 100%;
  padding: 8px 0;
  border: none;
  border-bottom: 1px solid rgba(41, 70, 71, 0.18);
  background: transparent;
  color: var(--teal);
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 26px;
  outline: none;
  transition: border-color 0.25s;
}

#formulario[data-form-success="home"] .form-field input,
.page-contacto #formulario .form-field input {
  padding: 4px 0;
  line-height: 1.3;
}

.form-field input::placeholder {
  color: rgba(41, 70, 71, 0.35);
  font-size: 1.25rem;
  font-weight: 400;
}

.form-field:focus-within label { color: var(--teal); }

.form-field input:focus { border-bottom-color: var(--teal); }

@keyframes fieldShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(3px); }
}

.form-field.error label { color: #c0392b; }

.form-field.error input { border-bottom-color: #c0392b; animation: fieldShake 0.35s; }

.field-error {
  display: block;
  margin-top: 7px;
  color: #c0392b;
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s;
}

.form-field.error .field-error { opacity: 1; transform: translateY(0); }

.form-note {
  grid-column: 1 / -1;
  margin-top: 0;
  color: #797979;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4;
}

.form-submit { margin-top: 32px; text-align: center; }

#formulario[data-form-success="home"] .form-submit,
.page-contacto #formulario .form-submit {
  margin-top: 20px;
}

.form-submit .btn--pill-arrow {
  margin: 0 auto;
}

@keyframes formShake {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-8px); }
  35% { transform: translateX(7px); }
  55% { transform: translateX(-5px); }
  75% { transform: translateX(4px); }
  90% { transform: translateX(-2px); }
}

#affiliateForm.shake,
#cvApplyForm.shake { animation: formShake 0.45s; }

.form-section--success .form-icon,
.form-section--success .form-title,
.form-section--success #affiliateForm {
  display: none;
}

.form-success-card {
  display: none;
  flex-direction: column;
  max-width: 672px;
  margin: 0 auto;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
}

.form-section--success .form-success-card {
  display: flex;
}

.form-success-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  flex-shrink: 0;
}

.form-success-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 40px 44px;
  gap: 16px;
}

.form-success-card__title {
  margin: 0;
  font-size: clamp(1.75rem, 3.5vw, 2.375rem);
  font-weight: 400;
  line-height: 1.15;
  color: #1a1a1a;
}

.form-success-card__text {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 28px;
  color: #1a1a1a;
  max-width: 440px;
}

.form-success-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 57px;
  margin-top: 8px;
  padding: 0 28px;
  border-radius: 50px;
  background: #294647;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, transform 0.2s ease;
}

.partners-section {
  padding: 96px 0 146px;
  background: var(--bg-grey);
  overflow: hidden;
}

.partners-label {
  margin-bottom: 21px;
  padding: 0 42px;
  text-align: center;
  color: #000;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1.92px;
  text-transform: uppercase;
}

.partners-track {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

.partners-track-inner {
  display: flex;
  width: max-content;
  animation: partnersMarquee 40s linear infinite;
  will-change: transform;
}

.partners-set {
  display: flex;
  flex-shrink: 0;
  gap: 13px;
  padding-right: 13px;
}

@keyframes partnersMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(var(--partners-shift, -50%)); }
}

.partner-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 123px;
  border-radius: var(--r-card);
  background: #fff;
  padding: 18px 22px;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.convenios {
  padding: 0 42px 80px;
  background: var(--bg-grey);
}

.convenios-inner {
  display: grid;
  grid-template-columns: minmax(0, 636px) minmax(0, 604px);
  justify-content: space-between;
  gap: 106px;
  align-items: start;
}

.convenios-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 636px;
  padding-top: 15px;
}

.convenios-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 37px;
  margin-bottom: 17px;
  padding: 0 14px 0 14px;
  border-radius: var(--r-tag);
  background: var(--bg-light);
  color: var(--teal);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 2.8px;
  text-transform: uppercase;
}

.convenios-tag .dot {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}

.convenios-left h2 {
  margin-bottom: 72px;
  max-width: 636px;
  color: var(--teal);
  font-size: 4rem;
  font-weight: 500;
  line-height: 63px;
}

.convenios-nav { display: flex; gap: 9px; }

.nav-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 14px;
  border: none;
  border-radius: 22px;
  background: var(--teal);
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

.nav-arrow:hover { opacity: 0.75; transform: scale(1.08); }

.nav-arrow svg { width: 16px; height: 16px; }

.convenios-slider {
  position: relative;
  width: 100%;
  max-width: 604px;
  height: 381px;
  margin-left: auto;
  overflow: visible;
  perspective: 1200px;
  touch-action: pan-y;
}

.convenios-slider::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 7;
  border-radius: var(--r-card);
  background: #d6ddd3;
  transform: translate(-40px, -34px) rotate(-4.5deg) scale(0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  pointer-events: none;
}

.convenios-slider.is-three-deck::before {
  opacity: 0;
}

.convenio-slide {
  position: absolute;
  inset: 0;
  border-radius: var(--r-card);
  overflow: hidden;
  transform-origin: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
}

.convenio-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.convenio-slide {
  pointer-events: none;
}

.convenio-slide.is-front {
  pointer-events: auto;
}

.convenio-link {
  position: absolute;
  top: 30px;
  right: 29px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--teal);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.convenio-link svg {
  width: 16px;
  height: 16px;
  color: inherit;
}

.convenio-slide:hover .convenio-link,
.convenio-slide:focus-within .convenio-link,
.convenio-link:hover,
.convenio-link:focus-visible {
  background: var(--green);
  color: #fff;
  opacity: 1;
  outline: none;
}

.convenio-slide .btn--ghost {
  position: absolute;
  bottom: 28px;
  left: 30px;
  z-index: 2;
  min-width: 120px;
  height: 42px;
  padding: 8px 9px;
  transition: background 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.convenio-slide:hover .btn--ghost,
.convenio-slide:focus-within .btn--ghost,
.convenio-slide .btn--ghost:hover,
.convenio-slide .btn--ghost:focus-visible {
  background: var(--green);
  color: #fff;
  opacity: 1;
  outline: none;
}

.convenios-brands {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 21px;
  margin-top: 96px;
  padding-left: 0;
  min-width: 0;
}

.convenios-brands__label {
  flex-shrink: 0;
  margin: 0;
  padding: 0 42px;
  text-align: center;
  color: #000;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1.92px;
  text-transform: uppercase;
  white-space: nowrap;
}

.convenios-brands__marquee {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

.convenios-brands__track {
  display: flex;
  width: max-content;
  animation: conveniosBrandsMarquee 28s linear infinite;
}

.convenios-brands__group {
  display: flex;
  align-items: center;
  gap: 96px;
  padding-right: 96px;
  flex-shrink: 0;
}

.convenios-brands__logo {
  display: block;
  width: auto;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
}

.convenios-brands__logo--ted { height: 47px; }

.convenios-brands__logo--netflix { height: 38px; }

.convenios-brands__logo--nickjr { height: 36px; }

.convenios-brands__logo--paramount { height: 47px; }

@keyframes conveniosBrandsMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .convenios-brands__track {
    animation: none;
  }
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto;
  grid-template-columns: minmax(0, 1fr) 650px;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}

.footer-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 65px 44px 64px;
  min-height: 0;
  overflow: hidden;
}

.footer-right {
  padding: 65px 38px 64px 38px;
}

.footer-headline {
  max-width: 609px;
  margin-bottom: 40px;
  font-size: 2rem;
  font-weight: 400;
  line-height: 38px;
}

.footer-headline em {
  color: var(--green);
  font-style: normal;
}

.footer-nav-area {
  display: grid;
  grid-template-columns: 178px 137px auto;
  column-gap: 0;
  align-items: start;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-social-item {
  display: grid;
  grid-template-columns: 28.9px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 28.9px;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28.9px;
  height: 28.9px;
  border-radius: 14.4px;
  background: #fff;
  flex-shrink: 0;
}

.footer-social-icon img { width: 15px; height: 15px; }

.footer-social-item span {
  font-size: 0.875rem;
  letter-spacing: -0.14px;
  width: fit-content;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 137px;
  padding-top: 8px;
  align-items: flex-start;
}

.footer-links a {
  display: inline-block;
  line-height: 14px;
  color: #fff;
  font-size: 0.875rem;
  letter-spacing: -0.14px;
  text-decoration: none;
}

.footer-social-item span,
.footer-links a,
.footer-bottom a {
  position: relative;
}

.footer-social-item:hover,
.footer-links a:hover,
.footer-bottom a:hover {
  color: #fff;
  opacity: 1;
}

.footer-social-item span::after,
.footer-links a::after,
.footer-bottom a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 100%;
  transition: transform 0.45s cubic-bezier(0.76, 0, 0.24, 1);
}

.footer-social-item:hover span::after,
.footer-links a:hover::after,
.footer-bottom a:hover::after {
  transform: scaleX(1);
  transform-origin: 0;
}

.footer-cta {
  margin-left: 69px;
  flex-shrink: 0;
}

.footer-wordmark {
  margin-top: auto;
  margin-left: 0;
  padding-top: 36px;
  padding-bottom: 8px;
  min-height: 0;
  flex-shrink: 1;
}

.footer-wordmark img {
  display: block;
  width: min(672px, 100%);
  height: auto;
  aspect-ratio: 672 / 437;
  object-fit: contain;
  object-position: left center;
  margin-top: -50px;
}

.branches-title {
  margin: 0 0 17px;
  padding-left: 2px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.64px;
  text-transform: uppercase;
}

.branches-list {
  display: flex;
  flex-direction: column;
}

.branch-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.25s ease, border-radius 0.25s ease, border-color 0.25s ease, margin 0.25s ease;
}

.branch-item:not(.is-open):hover {
  border-bottom-color: transparent;
  border-radius: 7px;
  background: var(--teal-mid);
}

/* Evita que la línea del ítem de arriba pise la card abierta */
.branch-item:has(+ .branch-item.is-open),
.branch-item:has(+ .branch-item:not(.is-open):hover) {
  border-bottom-color: transparent;
}

.branch-item.is-open {
  border-bottom: none;
  border-radius: 7px;
  background: var(--teal-mid);
  margin: 8px 0;
}

.branch-item__head {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto 14px;
  align-items: center;
  gap: 17px;
  width: 100%;
  min-height: 64px;
  padding: 16px 13px;
  border: none;
  background: transparent;
  color: #fff;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.branch-item.is-open .branch-item__head {
  position: relative;
  min-height: 0;
  padding-bottom: 14px;
}

.branch-item.is-open .branch-item__head::after {
  content: '';
  position: absolute;
  left: 62px;
  right: 13px;
  bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.branch-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.branch-item__toggle {
  position: relative;
  display: block;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  box-sizing: border-box;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease;
}

.branch-item__toggle-bar {
  position: absolute;
  top: 50%;
  left: 50%;
  background: #fff;
  border-radius: 1px;
  pointer-events: none;
}

.branch-item__toggle-bar--h {
  width: 8px;
  height: 1px;
  transform: translate(-50%, -50%);
}

.branch-item__toggle-bar--v {
  width: 1px;
  height: 8px;
  transform: translate(-50%, -50%) scaleY(1);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

/* + → − : la barra vertical colapsa; el círculo gira 180° */
.branch-item.is-open .branch-item__toggle,
.branch-item:not(.is-open):hover .branch-item__toggle {
  transform: rotate(180deg);
}

.branch-item.is-open .branch-item__toggle-bar--v,
.branch-item:not(.is-open):hover .branch-item__toggle-bar--v {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .branch-item__toggle,
  .branch-item__toggle-bar--v {
    transition: none;
  }
}

.branch-item__name {
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.2;
}

.branch-item__address {
  font-size: 1rem;
  line-height: 24px;
  text-align: right;
  white-space: nowrap;
}

.branch-item__link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.branch-item__link img {
  display: block;
  width: 14px;
  height: 14px;
  transform: rotate(0deg);
  transform-origin: center;
  transition: transform 0.45s cubic-bezier(0.76, 0, 0.24, 1);
}

.branch-item__head:hover .branch-item__link img,
.branch-item.is-open .branch-item__link img {
  transform: rotate(45deg);
}

.branch-item__details {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 24px;
  max-height: 0;
  overflow: hidden;
  padding: 0 13px 0 62px;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.branch-item.is-open .branch-item__details {
  max-height: 140px;
  padding-top: 14px;
  padding-bottom: 18px;
}

.branch-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 30px;
}

.branch-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.branch-phone__icon {
  display: block;
  flex-shrink: 0;
}

.branch-phone__icon--phone {
  width: 12.611px;
  height: 11.911px;
}

.branch-phone__icon--whatsapp {
  width: 13.287px;
  height: 13.287px;
}

.branch-hours {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 21px;
  text-align: right;
  color: #fff;
}

.footer-bottom {
  grid-column: 1 / -1;
  grid-row: 2;
  position: relative;
  z-index: 151;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 45px;
  padding: 0 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--dark);
}

.footer-bottom p {
  justify-self: start;
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
}

.footer-bottom__terms {
  justify-self: center;
}

.footer-bottom__credit {
  justify-self: end;
  color: rgba(255, 255, 255, 0.5);
}

.branch-item__address-detail {
  display: none;
}

.footer-bottom a {
  display: inline-block;
  color: #fff;
  font-size: 0.75rem;
  text-decoration: none;
}

/* --- Responsive (desktop → mobile) --- */

@media (min-width: 1201px) {
  .footer-left {
    min-height: 0;
  }

  .footer-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 0;
    overflow-y: auto;
  }

  .branches-panel {
    width: 100%;
    margin-top: auto;
  }
}

@media (max-width: 1200px) {
  .site-header {
    left: 32px;
    right: 32px;
  }

  .hero-copy {
    left: 32px;
    right: 32px;
  }

  .hero-headline {
    width: 100%;
  }

  .hero .hero-cta {
    left: auto;
  }

  .about-title {
    margin-bottom: 48px;
  }

  .badges-wrap { grid-template-columns: repeat(2, 1fr); }

  .why-inner { grid-template-columns: 1fr; gap: 40px; }

  .morph-content {
    inset: auto 40px 40px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .morph-content-left {
    max-width: none;
  }

  .morph-content-left h2 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    margin-bottom: 24px;
  }

  .morph-content-right {
    max-width: none;
    justify-self: start;
  }

  .morph-scene {
    height: 200vh;
  }

  .stats-inner {
    grid-template-columns: 1fr 1fr;
    margin-top: 120px;
    gap: 32px 40px;
  }

  .stat-box h3 {
    font-size: clamp(3rem, 10vw, 4.5rem);
  }

  .stats-cta {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .services-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: auto;
  }

  .service-left {
    grid-area: auto;
    min-height: 320px;
  }

  .services-title,
  .service-slides-wrapper {
    grid-area: auto;
  }

  .service-slides-wrapper {
    min-height: 520px;
  }

  .service-slide {
    padding: 32px 24px 56px;
  }

  .service-pager {
    right: 24px;
    bottom: 20px;
    gap: 14px;
  }

  .service-arrows {
    bottom: 16px;
  }

  .service-arrow {
    width: 44px;
    height: 44px;
  }

  .convenios-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .convenios-left {
    max-width: none;
    padding-top: 0;
  }

  .convenios-left h2 {
    font-size: clamp(2.25rem, 7vw, 4rem);
    line-height: 1.02;
    margin-bottom: 48px;
  }

  .convenios-slider {
    max-width: none;
    margin-left: 0;
  }

  .convenios-brands {
    flex-direction: column;
    align-items: stretch;
    gap: 21px;
    margin-top: 64px;
    padding-left: 0;
  }

  .convenios-brands__label {
    margin: 0;
    padding: 0 24px;
    text-align: center;
  }

  .convenios-brands__group {
    gap: 64px;
    padding-right: 64px;
  }

  .footer {
    position: static;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    height: auto;
    overflow: visible;
  }

  .footer-nav-area {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .footer-cta {
    margin-left: 0;
  }

  .footer-right {
    padding: 0 44px 44px;
    overflow: visible;
  }

  .branch-item__head {
    grid-template-columns: 32px minmax(0, 1fr) auto 14px;
    grid-template-rows: auto;
    gap: 12px 14px;
  }

  .branch-item__address {
    grid-column: auto;
    text-align: right;
  }

  .branch-item__link {
    display: flex;
  }

  .branch-item__details {
    grid-template-columns: 1fr;
    padding-left: 62px;
  }

  .branch-hours {
    text-align: left;
  }

  #main-content {
    margin-bottom: 0 !important;
    box-shadow: none;
    border-radius: 0;
  }
}

@media (max-width: 1024px) {
  /* El nav original se oculta sin moverse; la barra del panel lo reemplaza 1:1 */
  body.is-mobile-nav-open .site-header.is-menu-active,
  body.is-mobile-nav-open .hero .site-header.is-menu-active {
    visibility: hidden;
    pointer-events: none;
  }

  body.is-mobile-nav-open .nav-wrapper {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    padding: 0;
  }

  .mobile-nav__links {
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  .site-header__menu {
    display: none;
  }

  .site-header__toggle {
    display: inline-flex;
  }

  .site-header__actions {
    display: none;
  }

  /* El sticky es position:relative: los offsets de arriba lo corren */
  .nav-wrapper .site-header--sticky {
    left: auto;
    right: auto;
    top: auto;
  }

  /*
   * iPad + mobile: misma geometría que el header cerrado
   * (alto, padding, inset). Barra oscura + logo blanco.
   */
  .nav-wrapper {
    top: calc(25px + var(--safe-top));
    left: calc(32px + var(--safe-left));
    right: calc(32px + var(--safe-right));
    width: auto;
    max-width: none;
    transform: none;
    padding: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }

  .nav-wrapper .site-header--sticky {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 53px;
    max-height: 53px;
    padding: 0 8px 0 16px;
    border-radius: 12px;
    background: var(--dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    box-sizing: border-box;
    overflow: hidden;
  }

  .nav-wrapper .site-header__logo {
    display: flex;
    align-items: center;
    height: 100%;
    flex-shrink: 0;
  }

  .nav-wrapper .site-header__logo img {
    height: 22px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    object-position: left center;
    display: block;
  }

  .page-inner .site-header__logo-img--light,
  .page-inner .site-header__logo-img--dark {
    height: 22px;
    width: auto;
  }

  /* Home mobile: logo stacked (como desktop home); sticky/fixed no cambia */
  .hero .site-header {
    justify-content: space-between;
    align-items: flex-start;
    height: auto;
    min-height: 90px;
    padding: 0;
    box-sizing: border-box;
  }

  .hero .site-header__logo {
    position: static;
    top: auto;
    left: auto;
    z-index: auto;
  }

  .hero .site-header__actions {
    margin-left: 0;
  }

  .hero .site-header__logo-img--light {
    width: 130px;
    height: auto;
  }

  .nav-wrapper .site-header__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--teal);
    flex-shrink: 0;
  }

  .nav-wrapper .site-header__toggle-bar {
    background: #fff;
  }

  .page-inner .nav-wrapper.scrolled {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }

  .page-inner .nav-wrapper.scrolled .site-header--sticky {
    background: var(--dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  }

  .page-inner .nav-wrapper.scrolled .site-header__menu a {
    color: #fff;
  }

  .page-inner .nav-wrapper.scrolled .site-header__menu a:hover {
    color: var(--green);
  }

  .page-inner .nav-wrapper.scrolled .site-header__menu a.is-active {
    color: rgba(255, 255, 255, 0.4);
  }

  .page-inner .nav-wrapper.scrolled .site-header__toggle {
    background: var(--teal);
  }

  .page-inner .nav-wrapper.scrolled .site-header__toggle-bar {
    background: #fff;
  }
}

@media (max-width: 768px) {
  .mobile-nav {
    padding: 0;
  }

  .form-success-card__body {
    padding: 28px 24px 36px;
  }

  .form-success-card__img {
    height: 180px;
  }

  .form-success-card__title {
    font-size: 1.625rem;
  }

  .form-success-card__text {
    font-size: 1rem;
    line-height: 24px;
  }

  .form-success-card__btn {
    width: 100%;
    align-self: stretch;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  .site-header {
    left: 20px;
    right: 20px;
    top: 16px;
  }

  /* El sticky es position:relative: los offsets de arriba lo corren */
  .nav-wrapper .site-header--sticky {
    left: auto;
    right: auto;
    top: auto;
  }

  /* Misma posición/inset que el header cerrado en mobile */
  .nav-wrapper {
    top: var(--mobile-header-top);
    left: calc(20px + var(--safe-left));
    right: calc(20px + var(--safe-right));
  }

  /* Hero header: white rounded card on mobile */
  .hero .site-header {
    justify-content: space-between;
    align-items: flex-start;
    background: transparent;
    border-radius: 0;
    padding: 0;
    height: auto;
    min-height: 90px;
    transition:
      background 0.35s ease,
      width 0.35s ease,
      left 0.35s ease;
  }

  .hero .site-header__logo {
    position: static;
    top: auto;
    left: auto;
    z-index: auto;
  }

  .hero .site-header__actions {
    margin-left: 0;
  }

  .hero .site-header__logo-img--light {
    display: block;
    width: 130px;
    height: auto;
  }

  .hero .site-header__logo-img--dark {
    display: none;
  }

  .hero .site-header .site-header__toggle {
    background: #fff;
    border-radius: 10px;
    width: 36px;
    height: 36px;
  }

  .hero .site-header .site-header__toggle-bar {
    background: #173630;
  }

  .hero-copy {
    /* logo (top 16 + 90) + 20px aire hasta el texto */
    top: calc(16px + 90px + 20px);
    bottom: calc(24px + var(--safe-bottom));
    left: calc(20px + var(--safe-left));
    right: calc(20px + var(--safe-right));
    max-width: none;
  }

  .hero-headline {
    top: auto;
    left: auto;
    width: 100%;
    font-size: 2.75rem;
    line-height: 1.08;
    letter-spacing: -0.02em;
  }

  .hero .hero-cta {
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    width: 100%;
    max-width: none;
    align-self: stretch;
    margin-top: 0;
    margin-bottom: 0;
    box-sizing: border-box;
  }

  /* Mobile: antes todo el hueco estaba arriba del botón → ahora 70% */
  .hero-spacer {
    flex: 0.7 1 0;
  }

  .hero-copy::after {
    flex: 0.3 1 0;
  }

  .site-header__actions {
    gap: 8px;
  }

  .nav-wrapper .site-header__logo img {
    height: 22px;
    max-width: 140px;
  }

  .page-inner .inner-hero-wrap ~ section {
    scroll-margin-top: 80px;
  }

  .hero-wrap {
    padding: calc(8px + var(--safe-top)) 8px 0;
    margin-bottom: 0;
  }

  .hero {
    height: min(520px, 80vh);
    height: min(520px, 80dvh);
    min-height: min(440px, 80dvh);
  }

  .hero-bg video {
    object-position: center 35%;
  }

  .badges-wrap {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px;
    padding: 0 11px 24px;
    background: var(--bg-grey);
  }

  .badge {
    display: flex;
    align-items: center;
    gap: 12px;
    height: auto;
    min-height: 54px;
    padding: 15px 16px;
    border-radius: 10px;
    overflow: visible;
  }

  .badge-icon {
    position: static;
    left: auto;
    width: 24px;
    height: 24px;
    transform: none;
    flex-shrink: 0;
  }

  .badge:nth-child(4) .badge-icon {
    left: auto;
    width: 24px;
  }

  .badge p,
  .badge:nth-child(3) p,
  .badge:nth-child(4) p {
    position: static;
    transform: none;
    left: auto;
    right: auto;
    flex: 1;
    min-width: 0;
    font-size: 1rem;
    line-height: 1.35;
  }

  .about-section {
    padding: 0 11px 32px;
    background: var(--bg-grey);
  }

  .about-card {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 11px 11px 0;
    min-height: auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
  }

  .about-media {
    height: 234px;
    border-radius: 12px;
  }

  .about-content {
    min-height: auto;
    padding: 25px 16px 20px;
  }

  .about-title {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
    line-height: 1.15;
    margin-bottom: 16px;
  }

  .about-copy {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 24px;
  }

  .about-top {
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 16px;
  }

  .about-date {
    font-size: 0.75rem;
    letter-spacing: 1px;
  }

  .about-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .about-footer .btn {
    width: 100%;
  }

  .about-dots {
    align-self: center;
    width: 100%;
    justify-content: center;
  }

  .tagline {
    /* Mobile: ~96px total al about (32 bottom about + 64), laterales y bottom según mock */
    padding: 64px 24px 64px;
  }

  .tagline-scrub {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
    line-height: 1.2;
  }

  .morph-scene:not(.is-mobile-static) {
    height: 160vh;
  }

  .morph-scene:not(.is-mobile-static) .morph-content {
    inset: auto 20px 24px;
    gap: 24px;
  }

  .morph-scene:not(.is-mobile-static) .morph-content-left h2 {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }

  .morph-panel__video {
    object-position: center 35%;
  }

  .marquee-wrap {
    padding: 48px 0 0;
  }

  .marquee-inner span {
    font-size: clamp(2.25rem, 10vw, 3.5rem);
    gap: 24px;
    padding-right: 32px;
  }

  .marquee-icon {
    height: 48px;
  }

  .why-dame {
    margin: 0;
    padding: 96px 40px 40px;
  }

  .why-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .why-left {
    min-height: auto;
    padding: 0;
    order: 1;
  }

  .why-right {
    order: 2;
    width: 100%;
  }

  .why-left h2 {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
    line-height: 1.15;
    margin-bottom: 0;
  }

  .why-label {
    font-size: 0.8125rem;
    letter-spacing: 2px;
    line-height: 1.4;
    margin-bottom: 20px;
  }

  .why-left .why-cta {
    display: flex;
    width: 100%;
    max-width: none;
    margin-top: 30px;
    margin-bottom: 8px;
  }

  .why-left .why-cta.btn--pill-arrow {
    width: 100%;
  }

  .why-img-small {
    display: none;
  }

  .why-bottom {
    display: none;
  }

  .why-features li {
    border-radius: 0;
    overflow: visible;
    border-bottom: 1px solid rgba(41, 70, 71, 0.14);
  }

  .why-features li:first-child {
    border-top: 1px solid rgba(41, 70, 71, 0.14);
  }

  .why-features li.open {
    background: transparent;
  }

  .feat-header {
    padding: 16px 0;
  }

  .feat-header > span:last-child {
    font-size: 1.25rem;
    line-height: 1.3;
  }

  .accordion-body {
    font-size: 1rem;
    line-height: 1.45;
    padding-left: 38px;
  }

  .why-features li.open .accordion-body {
    max-height: 320px;
  }

  .stats-inner {
    grid-template-columns: 1fr;
    margin-top: 48px;
    gap: 40px;
    text-align: center;
  }

  .stat-box {
    text-align: center;
  }

  .stat-box h3 {
    font-size: clamp(3.5rem, 14vw, 4.5rem);
  }

  .stat-box .stat-desc {
    max-width: none;
    margin: 0 auto;
  }

  .stats-cta {
    justify-self: center;
    justify-content: center;
    width: 100%;
  }

  .stats-cta .btn {
    width: 100%;
  }

  .services {
    padding: 40px 11px;
  }

  .services-card {
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    min-height: auto;
  }

  .service-left {
    order: 1;
    position: relative;
    height: 280px;
    min-height: 280px;
    width: 100%;
    padding: 12px 12px 0;
    flex-shrink: 0;
  }

  .service-img {
    height: 100%;
    min-height: 256px;
  }

  .service-arrows {
    bottom: 14px;
    gap: 8px;
  }

  .service-arrow {
    width: 40px;
    height: 40px;
  }

  .services-title {
    order: 2;
    padding: 28px 20px 0;
    font-size: clamp(2rem, 8vw, 2.625rem);
  }

  .service-slides-wrapper {
    order: 3;
    min-height: 420px;
    width: 100%;
  }

  .service-slide {
    padding: 24px 20px 32px;
  }

  /* Mobile: el paginador numérico queda raro bajo el texto;
     navegación con las flechas sobre la imagen */
  .service-pager {
    display: none;
  }

  .service-slide h3 {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .service-slide p {
    font-size: 1.125rem;
    line-height: 1.4;
  }

  .service-checklist li {
    font-size: 1rem;
    line-height: 1.45;
  }

  .service-slide .btn--pill-arrow {
    width: 100%;
  }

  .form-section {
    padding: 64px 21px;
  }

  .form-title {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
    line-height: 1.2;
    margin-bottom: 32px;
    text-align: left;
  }

  .form-grid {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .form-field:nth-child(1) { order: 1; }
  .form-field:nth-child(2) { order: 5; }
  .form-field:nth-child(3) { order: 2; }
  .form-field:nth-child(4) { order: 6; }
  .form-field:nth-child(5) { order: 3; }
  .form-field:nth-child(6) { order: 7; }
  .form-field:nth-child(7) { order: 4; }
  .form-field:nth-child(8) { order: 8; }
  .form-note {
    order: 9;
    text-align: center;
  }

  .form-field {
    margin-bottom: 28px;
  }

  #formulario[data-form-success="home"] .form-field,
  .page-contacto #formulario .form-field {
    margin-bottom: 20px;
  }

  #formulario[data-form-success="home"] .form-field > label,
  .page-contacto #formulario .form-field > label {
    margin-bottom: 4px;
  }

  .form-field > label,
  .form-field input {
    font-size: 1rem;
  }

  .form-submit {
    display: block;
    width: 100%;
  }

  .form-submit .btn {
    width: 100%;
    max-width: none;
  }

  .form-icon svg {
    width: 80px;
    height: auto;
  }

  .partners-section {
    padding: 48px 0 48px;
  }

  .partners-label {
    padding: 0 20px;
    font-size: 0.875rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
  }

  .partner-logo {
    width: 120px;
    height: 92px;
    padding: 12px 16px;
  }

  .convenios {
    padding: 56px 24px 48px;
  }

  .convenios-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .convenios-left {
    display: contents;
  }

  .convenios-slider {
    order: 1;
    height: clamp(220px, 56vw, 320px);
  }

  .convenios-slider::before {
    display: none;
  }

  .convenios-tag {
    order: 2;
    margin: 16px 0 0;
  }

  .convenios-left h2 {
    order: 3;
    font-size: clamp(1.75rem, 7vw, 2.25rem);
    margin: 12px 0 0;
    line-height: 1.15;
  }

  .convenios-nav {
    order: 4;
    margin-top: 16px;
  }

  .convenios-brands {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 40px;
    padding-left: 0;
  }

  .convenios-brands__label {
    margin: 0;
    padding: 0 20px;
    text-align: center;
    font-size: 0.875rem;
    letter-spacing: 2px;
    text-transform: uppercase;
  }

  .convenios-brands__marquee {
    mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 12%,
      #000 88%,
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 12%,
      #000 88%,
      transparent 100%
    );
  }

  .convenios-brands__group {
    gap: 48px;
    padding-right: 48px;
  }

  .convenios-brands__logo--ted { height: 36px; }

  .convenios-brands__logo--netflix { height: 28px; }

  .convenios-brands__logo--nickjr { height: 28px; }

  .convenios-brands__logo--paramount { height: 36px; }

  .convenio-link {
    width: 48px;
    height: 48px;
    top: 16px;
    right: 16px;
  }

  .convenio-slide .btn--ghost {
    bottom: 16px;
    left: 16px;
  }

  .footer {
    display: flex;
    flex-direction: column;
    overflow: visible;
    width: 100%;
    height: auto;
    min-height: 0;
  }

  .footer-left {
    order: 1;
    display: contents;
  }

  .footer-left > div:first-child {
    order: 1;
    width: 100%;
    box-sizing: border-box;
    padding: 40px 16px 0;
  }

  .footer-right {
    order: 2;
    width: 100%;
    box-sizing: border-box;
    padding: 24px 16px 8px;
    overflow: visible;
    flex: 0 0 auto;
    min-height: auto;
  }

  .branches-panel {
    overflow: visible;
  }

  .branches-list {
    overflow: visible;
  }

  .footer-wordmark {
    order: 3;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 32px 16px 48px;
  }

  .footer-wordmark img {
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 672 / 437;
    object-fit: contain;
    object-position: left center;
    display: block;
    margin-top: 0;
  }

  .footer-bottom {
    order: 4;
    width: 100%;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "copy copy"
      "terms credit";
    align-items: center;
    gap: 16px 12px;
    height: auto;
    min-height: 0;
    padding: 16px 16px 28px;
    border-top: none;
  }

  .footer-bottom p {
    grid-area: copy;
    margin: 0;
    max-width: none;
    justify-self: start;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.6875rem;
    line-height: 1.4;
  }

  .footer-bottom__terms {
    grid-area: terms;
    justify-self: start;
  }

  .footer-bottom__credit {
    grid-area: credit;
    justify-self: end;
    color: #fff;
  }

  .footer-bottom a {
    font-size: 0.8125rem;
    line-height: 1.4;
  }

  .footer-headline {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 24px;
  }

  .footer-nav-area {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
  }

  .footer-links {
    display: none;
  }

  .footer-cta {
    margin: 0;
    width: auto;
    max-width: 100%;
    justify-self: end;
  }

  .footer-cta.btn--pill-arrow {
    --btn-pill-arrow-width: 226px;
    width: var(--btn-pill-arrow-width);
    max-width: 100%;
  }

  .footer-cta.btn--pill-arrow .btn__label {
    left: 20px;
    transform: translateY(-50%);
  }

  .footer-cta.btn--pill-arrow:hover .btn__label {
    transform: translateY(-50%);
  }

  .branches-title {
    font-size: 0.875rem;
    letter-spacing: 0.56px;
    margin-bottom: 14px;
    padding-left: 0;
  }

  .branch-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
  }

  .branch-item.is-open {
    border-bottom: none;
    border-radius: 10px;
    background: var(--teal-mid);
    margin: 8px 0;
  }

  .branch-item:not(.is-open):hover {
    border-radius: 10px;
  }

  .branch-item__head {
    position: relative;
    grid-template-columns: 32px minmax(0, 1fr) auto 14px;
    grid-template-rows: none;
    gap: 10px 12px;
    min-height: 56px;
    padding: 14px 12px;
  }

  .branch-item__head .branch-item__address {
    display: block;
    grid-column: auto;
    grid-row: auto;
    font-size: 0.875rem;
    line-height: 1.2;
    text-align: right;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.85);
  }

  .branch-item__name {
    grid-column: auto;
    grid-row: auto;
    font-size: 1.25rem;
    line-height: 1.2;
  }

  .branch-item__link {
    display: flex;
    grid-column: auto;
    grid-row: auto;
  }

  .branch-item.is-open .branch-item__head {
    grid-template-columns: 32px minmax(0, 1fr) auto 14px;
    min-height: 0;
    padding-bottom: 14px;
  }

  .branch-item.is-open .branch-item__head::after {
    content: '';
    position: absolute;
    left: 56px;
    right: 12px;
    bottom: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
  }

  .branch-item__address-detail {
    display: none;
  }

  .branch-item__details {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-left: 56px;
  }

  .branch-item.is-open .branch-item__details {
    max-height: 200px;
    padding: 14px 12px 16px 56px;
    overflow: visible;
  }

  .branch-phone {
    font-size: 0.875rem;
  }

  .branch-phones {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px 28px;
    margin: 0;
  }

  .branch-item.is-open .branch-phones {
    margin-bottom: 0;
  }

  .branch-item.is-open .branch-hours {
    font-size: 0.8125rem;
    line-height: 1.45;
    text-align: left;
    color: rgba(255, 255, 255, 0.85);
  }

  .whatsapp-widget {
    top: auto;
    bottom: calc(24px + var(--safe-bottom));
    right: calc(16px + var(--safe-right));
    gap: 8px;
    transform: scale(0.88);
    transform-origin: bottom right;
  }

  .whatsapp-widget:hover {
    transform: scale(0.88) translateY(-2px);
  }

  .whatsapp-bubble {
    width: 88px;
    height: 36px;
  }

  .whatsapp-bubble__label {
    font-size: 1.0625rem;
    padding: 0 14px 0 12px;
  }

  .whatsapp-btn {
    width: 68px;
    height: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-bubble__emoji {
    animation: none;
    transform: translateY(2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .partners-track-inner { animation-play-state: paused; }
}

@media (prefers-reduced-motion: reduce) {
  .branch-item__link img {
    transition: none;
  }
}

/*=============================================================================
  COMPONENTS — MARQUEE
=============================================================================*/

.marquee {
  --duration: 10s;
  --gap: var(--space);
  display: flex;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  gap: var(--gap);
}

.marquee-content-items {
  height: 75px;
  margin: 0 0 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--gap);
  -webkit-animation: marquee_animation var(--duration) linear infinite;
  animation: marquee_animation var(--duration) linear infinite;
  will-change: transform;
}

.marquee--reverse .marquee-content-items {
  animation-direction: reverse;
  -webkit-animation-delay: calc(var(--duration) / -2);
  animation-delay: calc(var(--duration) / -2);
}

@-webkit-keyframes marquee_animation {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-100% - var(--gap)));
  }
}

@keyframes marquee_animation {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-100% - var(--gap)));
  }
}

/* --- Responsive (desktop → mobile) --- */

@media (prefers-reduced-motion: reduce) {
  .marquee-content-items {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
  }
}

/*=============================================================================
  COMPONENTS — BUTTONS
=============================================================================*/

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, background 0.5s cubic-bezier(0.4, 0, 0.2, 1), color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.btn__label {
  display: inline-block;
}

.btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn__icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.btn--size-sm {
  height: 42px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  font-size: 1rem;
  font-weight: 600;
}

.btn--affiliate-compact {
  width: 166px;
  height: 42px;
  padding: 8px 9px;
  border-radius: var(--r-pill);
  font-size: 1rem;
  font-weight: 500;
}

.btn--size-md {
  height: 60px;
  min-width: 140px;
  padding: 0 32px;
  border-radius: var(--r-pill);
  font-size: 1rem;
}

.btn--size-lg {
  padding: 18px 52px;
  border-radius: var(--r-pill);
  font-size: 1.125rem;
}

.btn--pill-arrow {
  --btn-pill-arrow-width: 226px;
  --btn-pill-arrow-label-shift: 55px;
  --btn-pill-arrow-icon-shift: -165px;

  width: var(--btn-pill-arrow-width);
  height: 60px;
  padding: 0 61px 0 20px;
  border-radius: var(--r-pill);
  background: #fff;
  overflow: hidden;
}

.btn--pill-arrow .btn__label {
  position: absolute;
  top: 50%;
  left: 20px;
  color: var(--teal);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%) translateX(0);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn--pill-arrow .btn__icon {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 53px;
  height: 53px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  transform: translateY(-50%) translateX(0);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), background 0.5s cubic-bezier(0.4, 0, 0.2, 1), color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn--pill-arrow:hover {
  background: var(--teal);
}

.btn--pill-arrow:hover .btn__label {
  color: #fff;
  transform: translateY(-50%) translateX(var(--btn-pill-arrow-label-shift));
}

.btn--pill-arrow:hover .btn__icon {
  background: #fff;
  color: var(--teal);
  transform: translateY(-50%) translateX(var(--btn-pill-arrow-icon-shift));
}

.btn--solid {
  background: var(--teal);
  color: #fff;
  transition: color 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, transform 0.2s;
}

.btn--solid:active {
  transform: scale(0.98);
}

.btn--solid.btn--size-lg:active {
  transform: scale(0.98);
}

.btn--ghost {
  height: auto;
  padding: 10px 28px;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--teal);
  font-size: 1rem;
}

.btn--ghost:hover {
  opacity: 0.85;
}

.btn--green {
  min-width: 99px;
  height: 42px;
  padding: 8px 9px;
  border-radius: var(--r-pill);
  background: var(--green);
  color: #fff;
  font-weight: 600;
}

.btn--green .btn__icon svg {
  width: 19px;
  height: 19px;
}

.btn--green:hover,
.btn--green:focus-visible {
  background: var(--dark);
  opacity: 1;
}

.btn--download .btn__icon {
  overflow: hidden;
}

.btn--download .btn-download-icon {
  display: block;
  width: 19px;
  height: 19px;
}

.btn--download .btn-download-icon__arrow {
  transform-box: fill-box;
  transform-origin: center;
}

.btn--download:hover .btn-download-icon__arrow,
.btn--download:focus-visible .btn-download-icon__arrow {
  animation: btn-download-arrow-cycle 1.05s ease-in-out infinite;
}

@keyframes btn-download-arrow-cycle {
  0%, 18% {
    opacity: 1;
    transform: translateY(0);
  }

  42% {
    opacity: 0;
    transform: translateY(5px);
  }

  43% {
    opacity: 0;
    transform: translateY(-6px);
  }

  72%, 100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn--contact {
  min-width: 132px;
  background: #436c6e;
  color: #fff;
}

.btn--contact:hover {
  opacity: 0.92;
}

.btn--outline {
  height: 42px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--r-pill);
  background: transparent;
  color: #fff;
  font-size: 1rem;
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* --- Responsive (desktop → mobile) --- */

@media (max-width: 768px) {
  .btn--pill-arrow {
    --btn-pill-arrow-width: 100%;
    --btn-pill-arrow-label-shift: 55px;
    --btn-pill-arrow-icon-shift: -165px;
    width: 100%;
    max-width: none;
    height: 60px;
    padding: 0 61px 0 20px;
  }

  .btn--pill-arrow .btn__label {
    left: 50%;
    font-size: 1.125rem;
    transform: translate(-50%, -50%);
  }

  .btn--pill-arrow:hover {
    background: #fff;
  }

  .btn--pill-arrow:hover .btn__label {
    color: var(--teal);
    transform: translate(-50%, -50%);
  }

  .btn--pill-arrow:hover .btn__icon {
    background: var(--teal);
    color: #fff;
    transform: translateY(-50%) translateX(0);
  }

  .btn--pill-arrow .btn__icon {
    width: 53px;
    height: 53px;
  }

  .btn--solid.btn--size-lg,
  .btn--solid.btn--affiliate-compact,
  .btn--solid.btn--size-md {
    width: 100%;
    max-width: none;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn--download:hover .btn-download-icon__arrow,
  .btn--download:focus-visible .btn-download-icon__arrow {
    animation: none;
    opacity: 1;
    transform: translateY(2px);
  }
}

/*=============================================================================
  PAGE — NOSOTROS
=============================================================================*/

body.page-inner {
  background: var(--bg-grey);
}

.inner-hero-wrap {
  padding: calc(10px + var(--safe-top)) 14px 0;
}

.inner-hero {
  position: relative;
  margin: 0;
  min-height: 540px;
  border-radius: var(--r-hero);
  overflow: hidden;
  background: var(--dark);
}

.inner-hero__bg {
  position: absolute;
  top: -15px;
  left: -19px;
  z-index: 0;
  width: calc(100% + 38px);
  height: calc(100% + 30px);
  border-radius: var(--r-hero);
  overflow: hidden;
}

.inner-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.inner-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.5);
}

.inner-hero .site-header {
  position: absolute;
  top: 25px;
  left: 56px;
  right: 56px;
  z-index: 3;
}

.inner-hero .site-header__menu a.is-active {
  color: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.inner-hero .site-header__menu a.is-active:hover {
  color: rgba(0, 0, 0, 0.3);
}

.inner-hero .site-header__logo-img--dark {
  display: none;
}

.inner-hero .site-header__logo-img--light {
  height: 33px;
  width: auto;
}

.inner-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 915px;
  margin: 0 auto;
  padding: 127px 24px 64px;
  text-align: center;
  color: #fff;
}

.inner-hero__eyebrow {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  line-height: 20px;
}

.inner-hero__title {
  margin: 0;
  font-size: clamp(2.5rem, 5.14vw, 4.625rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.5px;
}

.inner-hero__title em {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-weight: 300;
}

.br-mobile {
  display: none;
}

.br-desktop {
  display: inline;
}

@media (max-width: 768px) {
  .br-mobile {
    display: inline;
  }

  .br-desktop {
    display: none;
  }
}

.inner-hero__intro {
  margin: 0;
  max-width: 921px;
  font-size: clamp(1.125rem, 1.39vw, 1.25rem);
  font-weight: 300;
  line-height: 1.2;
}

.nosotros-serif {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-weight: 300;
}

.nosotros-title {
  margin: 0;
  color: var(--dark);
  font-size: clamp(2.5rem, 5.14vw, 4.625rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.5px;
}

.nosotros-title--center {
  text-align: center;
}

.history-intro {
  padding: 103px 55px 0;
}

.history-intro__grid {
  display: grid;
  grid-template-columns: 231px 1fr;
  gap: 140px;
  align-items: start;
}

.history-intro__media img {
  width: 100%;
  height: 308px;
  object-fit: cover;
  border-radius: 20px;
}

.history-intro__copy p {
  margin: 0;
  color: var(--teal);
}

.history-intro__copy p:first-child {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.33;
  margin-bottom: 60px;
}

.history-intro__copy p:last-child {
  max-width: 612px;
  font-size: clamp(1.125rem, 1.67vw, 1.5rem);
  line-height: 1.33;
  color: rgba(41, 70, 71, 0.7);
}

.mission-vision {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  padding: 80px 66px 0;
}

.mission-vision__card {
  min-height: 606px;
  padding: 63px 39px 48px;
  border-radius: var(--r-card);
  display: flex;
  flex-direction: column;
}

.mission-vision__card--mission {
  background: var(--bg-light);
  color: var(--teal-mid);
}

.mission-vision__card--vision {
  background: #bfcbb9;
  color: var(--dark);
}

.mission-vision__card h2 {
  margin: 0 0 auto;
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.25rem, 3.61vw, 3.25rem);
  line-height: 1;
}

.mission-vision__card p {
  margin: 0;
  font-size: clamp(1.125rem, 1.67vw, 1.5rem);
  line-height: 1.58;
  max-width: 562px;
}

.quality-policy {
  padding: 120px 55px 80px;
}

.quality-policy__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}

.quality-policy__header {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  padding-top: 4px;
}

.quality-policy__subtitle {
  margin: 32px 0 0;
  max-width: 376px;
  font-size: clamp(1.125rem, 1.67vw, 1.5rem);
  font-weight: 600;
  line-height: 1.33;
  color: rgba(41, 70, 71, 0.7);
}

.quality-policy__card {
  min-height: 0;
  height: 100%;
  padding: 28px 24px;
  border-radius: var(--r-card);
  background: var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 28px;
  box-sizing: border-box;
}

@media (min-width: 769px) {
  .quality-policy__card {
    min-height: 320px;
  }
}

.quality-policy__card--pos-1 { grid-column: 2; grid-row: 1; }

.quality-policy__card--pos-2 { grid-column: 3; grid-row: 1; }

.quality-policy__card--pos-3 { grid-column: 1; grid-row: 2; }

.quality-policy__card--pos-4 { grid-column: 2; grid-row: 2; }

.quality-policy__card--pos-5 { grid-column: 3; grid-row: 2; }

.quality-policy__card img,
.reveal-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
  transform-origin: center;
}

.quality-policy__card img {
  margin: 0;
  flex-shrink: 0;
}

.reveal.visible .reveal-icon {
  opacity: 0;
  transform: scale(0.86);
  animation: nosotros-icon-scale-in 0.52s cubic-bezier(0.22, 0.68, 0, 1.1) 0.12s forwards;
}

@keyframes nosotros-icon-scale-in {
  from {
    opacity: 0;
    transform: scale(0.86);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.quality-policy__card p {
  margin: 0;
  font-size: clamp(1.125rem, 1.67vw, 1.5rem);
  line-height: 1.33;
  color: rgba(255, 255, 255, 0.7);
}

.values {
  padding: 80px 55px 100px;
  background: var(--bg-grey);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 322px));
  justify-content: center;
  gap: 57px;
  margin-top: 36px;
}

.values__card-wrap {
  min-width: 0;
}

.values__card {
  min-height: 333px;
  padding: 29px 25px 32px;
  border-radius: var(--r-card);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  will-change: transform;
}

.values__card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 28px;
  flex-shrink: 0;
}

.values__card h3 {
  margin: 0 0 18px;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.values__card p {
  margin: 0;
  font-size: 1.25rem;
  line-height: 23px;
  letter-spacing: -0.5px;
  color: rgba(41, 70, 71, 0.7);
}

.values__closing {
  max-width: 902px;
  margin: 34px auto 0;
  text-align: center;
  font-size: 1.5rem;
  line-height: 30px;
  color: var(--teal);
}

.history-timeline {
  --timeline-row-height: clamp(260px, calc(100svh - 320px), 585px);
  --timeline-tall-width: calc(var(--timeline-row-height) * 439 / 585);
  --timeline-thumb-width: calc(var(--timeline-row-height) * 342 / 585);
  --timeline-thumb-height: calc(var(--timeline-row-height) * 183 / 585);
  --timeline-col-width: calc(var(--timeline-row-height) * 342 / 585);
  --timeline-col-mid-width: calc(var(--timeline-row-height) * 340 / 585);
  --timeline-icon-width: calc(var(--timeline-row-height) * 320 / 585);
  --timeline-icon-height: calc(var(--timeline-row-height) * 306 / 585);
  --timeline-oval-width: calc(var(--timeline-row-height) * 278 / 585);
  --timeline-oval-height: calc(var(--timeline-row-height) * 443 / 585);
  background: var(--bg-light);
  overflow: visible;
  padding-bottom: 48px;
}

.history-timeline__sticky {
  display: flex;
  flex-direction: column;
  max-height: 100svh;
  min-height: calc(var(--timeline-row-height) + 220px);
  padding: 80px 0 64px 59px;
  overflow: visible;
  box-sizing: border-box;
}

.history-timeline__sticky > .nosotros-title {
  flex-shrink: 0;
  padding-right: 59px;
}

.history-timeline__viewport {
  flex: none;
  margin-top: 48px;
  width: 100%;
  min-height: var(--timeline-row-height);
  overflow: visible;
}

.history-timeline__track {
  display: flex;
  align-items: stretch;
  gap: 32px;
  width: max-content;
  min-height: var(--timeline-row-height);
  padding: 0 59px 48px 0;
  will-change: transform;
}

.history-timeline__panel {
  flex-shrink: 0;
  position: relative;
}

.history-timeline__figure {
  position: relative;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
}

.history-timeline__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-timeline__figure--tall {
  width: var(--timeline-tall-width);
  height: var(--timeline-row-height);
}

.history-timeline__panel--column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: var(--timeline-col-width);
  height: var(--timeline-row-height);
}

.history-timeline__panel--column-mid {
  width: var(--timeline-col-mid-width);
}

.history-timeline__panel--text h3 {
  margin: 0 0 12px;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.history-timeline__panel--text p {
  margin: 0;
  max-width: 340px;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--teal);
}

.history-timeline__panel--thumb {
  position: relative;
  width: 100%;
  height: var(--timeline-thumb-height);
  border-radius: 20px;
  overflow: hidden;
  flex-shrink: 0;
}

.history-timeline__panel--thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.history-timeline__panel--accent {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--timeline-tall-width);
  height: var(--timeline-row-height);
  border-radius: 20px;
  background: var(--teal);
  overflow: hidden;
}

.history-timeline__oval {
  width: var(--timeline-oval-width);
  height: var(--timeline-oval-height);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}

.history-timeline__oval img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.history-timeline__panel--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: var(--timeline-icon-height);
  border-radius: 20px;
  background: #bfcbb9;
  flex-shrink: 0;
}

.history-timeline__panel--icon img {
  width: 38px;
  height: 38px;
}

.history-timeline__panel--hero {
  width: var(--timeline-tall-width);
  height: var(--timeline-row-height);
  border-radius: 20px;
  overflow: hidden;
}

.history-timeline__panel--hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.history-timeline__panel--hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.history-timeline__badge {
  position: absolute;
  top: 28px;
  right: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.5px;
  color: #fff;
  pointer-events: none;
}

.history-timeline__badge--lg {
  font-size: clamp(3.25rem, 5.7vw, 5.125rem);
}

.history-timeline__year {
  position: absolute;
  right: 24px;
  bottom: 24px;
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.5px;
  color: #fff;
}

.history-timeline__caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 28px;
  margin: 0;
  font-size: clamp(1.125rem, 1.39vw, 1.25rem);
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
  z-index: 1;
}

.history-timeline.is-slider {
  padding-bottom: 24px;
}

.history-timeline.is-slider .history-timeline__sticky {
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 40px 16px 16px;
  overflow: visible;
}

.history-timeline.is-slider .history-timeline__sticky > .nosotros-title {
  padding-right: 16px;
}

.history-timeline.is-slider .history-timeline__viewport {
  margin-top: 24px;
  min-height: 0;
  overflow: hidden;
  width: 100%;
  touch-action: pan-y;
}

.history-timeline.is-slider .history-timeline__track {
  flex-direction: row;
  align-items: flex-start;
  width: max-content;
  min-height: 0;
  gap: 16px;
  padding: 0;
  will-change: transform;
}

.history-timeline.is-slider .history-timeline__panel {
  flex: 0 0 var(--history-slide-width, 100%);
  width: var(--history-slide-width, 100%);
  max-width: none;
}

.history-timeline.is-slider .history-timeline__figure--tall,
.history-timeline.is-slider .history-timeline__panel--hero {
  width: 100%;
  height: 240px;
}

.history-timeline.is-slider .history-timeline__panel--accent {
  width: 100%;
  height: 240px;
}

.history-timeline.is-slider .history-timeline__panel--column,
.history-timeline.is-slider .history-timeline__panel--column-mid {
  width: 100%;
  height: auto;
  min-height: 0;
  gap: 12px;
}

.history-timeline.is-slider .history-timeline__panel--thumb {
  height: 160px;
}

.history-timeline.is-slider .history-timeline__panel--icon {
  min-height: 140px;
}

.history-timeline.is-slider .history-timeline__panel--text p {
  max-width: none;
  font-size: 1rem;
}

.history-timeline.is-slider .history-timeline__oval {
  width: min(70%, 220px);
  height: auto;
  aspect-ratio: 278 / 443;
}

.history-timeline__controls {
  display: none;
}

.history-timeline.is-slider .history-timeline__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
  padding-right: 16px;
}

.history-timeline__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.history-timeline__arrow:hover:not(:disabled) {
  opacity: 0.85;
  transform: scale(1.05);
}

.history-timeline__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.history-timeline__arrow svg {
  width: 16px;
  height: 16px;
  display: block;
}

.history-timeline__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.history-timeline__dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(41, 70, 71, 0.25);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.history-timeline__dots button.is-active {
  background: var(--teal);
  transform: scale(1.15);
}

.team-photo {
  padding: 0 72px 80px;
  background: var(--bg-light);
}

.team-photo__wrap {
  border-radius: var(--r-card);
  overflow: hidden;
}

.team-photo__wrap img {
  width: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
}

/* --- Responsive (desktop → mobile) --- */

@media (max-width: 1200px) {
  .inner-hero .site-header {
    left: 32px;
    right: 32px;
  }

  .history-intro {
    padding: 75px 32px 0;
  }

  .history-intro__grid {
    gap: 48px;
  }

  .mission-vision {
    padding: 64px 32px 0;
  }

  .quality-policy {
    padding: 80px 32px 64px;
  }

  .values,
  .history-timeline__sticky {
    padding-left: 32px;
  }

  .history-timeline__sticky > .nosotros-title {
    padding-right: 32px;
  }

  .history-timeline__track {
    padding-right: 32px;
  }

  .team-photo {
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media (max-width: 768px) {
  /* Pin + scrub: el bloque debe entrar entero en el viewport */
  .history-timeline {
    --timeline-row-height: min(340px, calc(100dvh - 200px));
    padding-bottom: 0;
    overflow: clip;
    touch-action: pan-y;
  }

  .history-timeline__sticky {
    height: 100dvh;
    max-height: 100dvh;
    min-height: 0;
    padding: 72px 0 20px 16px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .history-timeline__sticky > .nosotros-title {
    padding-right: 16px;
    margin: 0;
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    line-height: 1.1;
  }

  .history-timeline__viewport {
    flex: 1 1 auto;
    margin-top: 20px;
    min-height: 0;
    height: auto;
    overflow: hidden;
  }

  .history-timeline__track {
    gap: 16px;
    padding-right: 16px;
    padding-bottom: 0;
    align-items: center;
  }

  .history-timeline__panel--text h3 {
    font-size: 1.25rem;
  }

  .history-timeline__panel--text p {
    font-size: 0.9375rem;
    line-height: 1.35;
    max-width: none;
  }

  .history-timeline__badge--lg {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
    top: 16px;
    right: 16px;
  }

  .history-timeline__year {
    font-size: 1.25rem;
    right: 14px;
    bottom: 14px;
  }

  .history-timeline__caption {
    left: 14px;
    right: 14px;
    bottom: 14px;
    font-size: 0.875rem;
  }

  .history-timeline__controls {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .history-intro__grid {
    grid-template-columns: 200px 1fr;
    gap: 40px;
  }

  .mission-vision__card {
    min-height: 520px;
    padding: 48px 28px 36px;
  }

  .values__grid {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .inner-hero-wrap {
    padding: calc(8px + var(--safe-top)) 8px 0;
  }

  .inner-hero {
    min-height: 480px;
    border-radius: var(--r-hero);
  }

  .inner-hero .site-header {
    left: 16px;
    right: 16px;
    top: 16px;
  }

  .inner-hero .site-header {
    background: transparent;
    border-radius: 0;
    padding: 0;
    height: auto;
    min-height: 90px;
    align-items: flex-start;
  }

  /* Logo stacked blanco (como home); oculta horizontal */
  .inner-hero .site-header__logo {
    width: 130px;
    height: 90px;
    position: relative;
  }

  .inner-hero .site-header__logo img {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
  }

  .inner-hero .site-header__logo::before {
    content: "";
    display: block;
    width: 130px;
    height: 90px;
    background: url("../../img/logo.svg") left center / contain no-repeat;
  }

  .inner-hero .site-header .site-header__toggle {
    background: #fff;
    border-radius: 12px;
    width: 36px;
    height: 36px;
  }

  .inner-hero .site-header .site-header__toggle-bar {
    background: #173630;
  }

  .inner-hero__content {
    /* header top 16 + logo 90 + 20px hasta el contenido */
    padding: calc(16px + 90px + 20px) 16px 48px;
    gap: 16px;
    align-items: flex-start;
    text-align: left;
    margin: 0;
    max-width: none;
  }

  .history-intro {
    padding: 43px 16px 0;
  }

  .history-intro__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .history-intro__media {
    width: min(200px, 55%);
  }

  .history-intro__media img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 24px;
  }

  .history-intro__copy p:first-child {
    margin-bottom: 24px;
  }

  .mission-vision {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 48px 16px 0;
  }

  .mission-vision__card {
    min-height: auto;
    padding: 32px 24px;
  }

  .mission-vision__card h2 {
    margin-bottom: 32px;
  }

  .quality-policy {
    padding: 48px 16px 40px;
  }

  .quality-policy__grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 16px;
  }

  .quality-policy__header,
  .quality-policy__card--pos-1,
  .quality-policy__card--pos-2,
  .quality-policy__card--pos-3,
  .quality-policy__card--pos-4,
  .quality-policy__card--pos-5 {
    grid-column: auto;
    grid-row: auto;
  }

  .quality-policy__header {
    text-align: center;
    margin-bottom: 16px;
    padding-top: 0;
  }

  .quality-policy__subtitle {
    margin: 15px auto 0;
    max-width: none;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.35;
    color: rgba(41, 70, 71, 0.55);
  }

  .quality-policy__card {
    min-height: 0;
    height: auto;
    padding: 28px 24px;
    gap: 28px;
  }

  .values {
    padding: 48px 16px 64px;
  }

  .values__grid {
    grid-template-columns: 1fr;
    justify-content: stretch;
    margin-top: 20px;
    gap: 16px;
  }

  .values__card {
    min-height: auto;
    will-change: auto;
  }

  .values__closing {
    margin-top: 32px;
    font-size: 1.25rem;
    line-height: 1.3;
  }

  .team-photo {
    padding: 0 16px 48px;
  }

  .team-photo__wrap img {
    min-height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal.visible .reveal-icon {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/*=============================================================================
  PAGE — SERVICIOS
=============================================================================*/

.inner-hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}

.btn--hero-outline {
  height: 60px;
  padding: 0 32px;
  border: none;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--teal);
  font-family: 'Outfit', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, opacity 0.25s ease;
}

.btn--hero-outline:hover {
  background: #fff;
  opacity: 0.92;
}

.servicios-section-title {
  margin: 0;
  color: var(--dark);
  font-size: clamp(2.25rem, 4.2vw, 3.75rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.5px;
}

.servicios-section-title--sm {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
}

.servicios-plans {
  padding: 88px 55px 80px;
}

.servicios-plans__header {
  text-align: center;
  max-width: 902px;
  margin: 0 auto 64px;
}

.servicios-plans__header .servicios-section-title {
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 4.2vw, 3.25rem);
  line-height: 1;
}

.servicios-plans__subtitle {
  margin: 0;
  font-size: clamp(1.125rem, 1.67vw, 1.5rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--teal);
}

.servicios-plans__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1180px;
  margin: 0 auto;
  gap: 36px;
  align-items: stretch;
}

.plan-card-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.plan-card-wrap--featured {
  padding-top: 17px;
}

.plan-card-wrap--featured .plan-card {
  margin-top: 0;
  min-height: 560px;
}

.plan-card-wrap--featured .plan-card__tag {
  position: absolute;
  top: 17px;
  left: 50%;
  z-index: 2;
  margin: 0;
  transform: translate(-50%, -50%);
}

.plan-card {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 540px;
  border-radius: var(--r-card);
  background: #fff;
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

.plan-card__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-bottom: 22px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}

.plan-card__eyebrow {
  margin: 0 0 14px;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: rgba(41, 70, 71, 0.7);
}

.plan-card__title {
  margin: 0 0 20px;
  max-width: none;
  width: 100%;
  font-size: clamp(2.25rem, 3.4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.plan-card__desc {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-width: none;
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.55;
  letter-spacing: -0.2px;
  color: var(--teal);
}

.plan-card__includes {
  align-self: stretch;
  width: 100%;
  margin: 0 0 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(41, 70, 71, 0.1);
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.2px;
  text-align: left;
  color: var(--teal);
}

.plan-card__checklist {
  list-style: none;
  align-self: stretch;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.plan-card__checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: -0.2px;
  color: rgba(41, 70, 71, 0.7);
}

.plan-card__check {
  width: 13px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 3px;
  overflow: visible;
}

.btn--plan-outline,
.btn--plan-filled {
  width: 100%;
  max-width: none;
  height: 46px;
  margin: 28px 0 0;
  flex-shrink: 0;
  border-radius: var(--r-pill);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.btn--plan-outline {
  border: 1px solid var(--teal);
  background: #fff;
  color: var(--teal);
}

.btn--plan-outline:hover,
.btn--plan-outline:focus-visible {
  opacity: 1;
  color: var(--green);
  background: #fff;
  border-color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}

.btn--plan-filled {
  border: none;
  background: var(--teal);
  color: #fff;
}

.servicios-features {
  padding: 0 14px 80px;
  --servicios-features-view-height: clamp(560px, calc(100dvh - 128px), 795px);
}

.servicios-features__card {
  position: relative;
  display: grid;
  grid-template-columns: min(700px, 52%) 1fr;
  align-items: stretch;
  min-height: var(--servicios-features-view-height);
  height: var(--servicios-features-view-height);
  max-height: var(--servicios-features-view-height);
  border-radius: 40px;
  background: var(--bg-light);
  overflow: hidden;
}

.servicios-features__media {
  position: relative;
  padding: 12px;
  min-height: 0;
  height: 100%;
}

.servicios-features__img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 30px;
  display: block;
}

.servicios-features__badge {
  position: absolute;
  top: auto;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  width: min(320px, calc(100% - 36px));
  padding: 16px;
  border: 1px solid #f5f5f5;
  border-radius: 20px;
  background: #fff;
  box-shadow:
    0 4px 3px rgba(0, 0, 0, 0.1),
    0 10px 7.5px rgba(0, 0, 0, 0.1);
}

.servicios-features__badge-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.servicios-features__badge-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  flex-shrink: 0;
}

.servicios-features__badge-icon-wrap img {
  width: 16px;
  height: 14px;
  display: block;
  transform-origin: center;
}

.servicios-features__card.reveal.visible .servicios-features__badge-icon-wrap img {
  animation: servicios-star-pop 0.65s cubic-bezier(0.22, 0.68, 0, 1.15) 0.18s both;
}

@keyframes servicios-star-pop {
  0% {
    opacity: 0;
    transform: scale(0.35) rotate(-28deg);
  }

  55% {
    opacity: 1;
    transform: scale(1.18) rotate(10deg);
  }

  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .servicios-features__card.reveal.visible .servicios-features__badge-icon-wrap img {
    animation: none;
  }
}

.servicios-features__badge-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.5px;
  color: #171717;
}

.servicios-features__badge-label {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 16px;
  color: #737373;
}

.servicios-features__badge-desc {
  margin: 10px 0 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 21px;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.servicios-features__content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 54px 34px 48px 57px;
  min-width: 0;
  min-height: 0;
  height: 100%;
  box-sizing: border-box;
}

.servicios-features__title {
  margin: 0 0 39px;
  font-family: 'Lora', Georgia, serif;
  font-size: 4rem;
  font-style: italic;
  font-weight: 400;
  line-height: 72px;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.servicios-features__title span {
  display: block;
  white-space: nowrap;
}

.servicios-features__rows {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 32px;
  min-height: 0;
  max-width: 592px;
}

.servicios-features__row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.servicios-features__row-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #e5e5e5;
  background: var(--teal);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
}

.servicios-features__row-icon img {
  width: 18px;
  height: 18px;
  display: block;
  filter: brightness(0) invert(1);
}

.servicios-features__row-copy {
  flex: 1;
  min-width: 0;
  max-width: 528px;
}

.servicios-features__row-copy h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.5px;
  color: #171717;
}

.servicios-features__row-copy p {
  margin: 0;
  font-size: 1rem;
  line-height: 26px;
  letter-spacing: -0.5px;
  color: #525252;
}

.servicios-features__cta {
  --btn-pill-arrow-width: 360px;
  --btn-pill-arrow-label-shift: 32px;
  --btn-pill-arrow-icon-shift: -283px;
  width: var(--btn-pill-arrow-width);
  max-width: 100%;
  margin-top: auto;
  padding-top: 48px;
  align-self: flex-start;
  flex-shrink: 0;
  justify-content: flex-start;
  padding-right: 64px;
  padding-bottom: 0;
  padding-left: 20px;
  box-sizing: border-box;
}

.servicios-features__cta .btn__label {
  left: 20px;
  right: 64px;
  width: auto;
  max-width: calc(100% - 84px);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transform: translateY(-50%);
}

.servicios-features__cta:hover .btn__label {
  transform: translateY(-50%) translateX(var(--btn-pill-arrow-label-shift));
}

.servicios-beyond {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "eyebrow catalog"
    "grid grid";
  align-items: center;
  column-gap: 24px;
  row-gap: 24px;
  padding: 0 70px 60px;
}

.servicios-beyond__eyebrow {
  grid-area: eyebrow;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--teal);
}

.servicios-beyond > .btn--catalog {
  grid-area: catalog;
  justify-self: end;
}

.btn--catalog {
  height: 42px;
  padding: 0 18px;
  border: none;
  border-radius: var(--r-pill);
  background: var(--teal);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: color 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.servicios-beyond__grid {
  grid-area: grid;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

.plan-card__title a {
  color: inherit;
  text-decoration: none;
}

.plan-card__title a:hover {
  opacity: 0.85;
}

.beyond-card {
  min-height: 249px;
  padding: 18px 20px 20px;
  border-radius: 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.beyond-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 53px;
  height: 53px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--bg-light);
  flex-shrink: 0;
}

.beyond-card__icon-wrap img,
.beyond-card__icon {
  width: 29px;
  height: 29px;
  display: block;
  object-fit: contain;
}

.beyond-card__icon--meds {
  overflow: visible;
  flex-shrink: 0;
}

.beyond-card__icon--equipment {
  overflow: visible;
  flex-shrink: 0;
}

.beyond-card__icon--doctor {
  overflow: visible;
  flex-shrink: 0;
}

.beyond-card__icon-doctor-body {
  fill: #294647;
  transform-origin: center;
  transform-box: fill-box;
}

.beyond-card__icon-doctor-head {
  fill: #294647;
  transform-origin: center bottom;
  transform-box: fill-box;
}

.beyond-card.reveal.visible .beyond-card__icon-doctor-body {
  animation: beyond-doctor-body 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

.beyond-card.reveal.visible .beyond-card__icon-doctor-head {
  animation: beyond-doctor-head 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

.beyond-card.reveal.visible:hover .beyond-card__icon-doctor-body {
  animation: beyond-doctor-body-hover 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

.beyond-card.reveal.visible:hover .beyond-card__icon-doctor-head {
  animation: beyond-doctor-head-hover 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

@keyframes beyond-doctor-body {
  0% { opacity: 0; transform: scale(0) rotate(-14deg); }
  12% { opacity: 1; }
  26% { transform: scale(1.1) rotate(4deg); }
  36% { transform: scale(0.96) rotate(-1deg); }
  46%, 100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes beyond-doctor-head {
  0%, 42% { opacity: 0; transform: scale(0) translateY(4px); }
  54% { opacity: 1; }
  68% { transform: scale(1.18) translateY(0); }
  78% { transform: scale(0.95); }
  88%, 100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes beyond-doctor-body-hover {
  0% { opacity: 0; transform: scale(0) rotate(-14deg); }
  12% { opacity: 1; }
  26% { transform: scale(1.1) rotate(4deg); }
  36% { transform: scale(0.96) rotate(-1deg); }
  46%, 100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes beyond-doctor-head-hover {
  0%, 42% { opacity: 0; transform: scale(0) translateY(4px); }
  54% { opacity: 1; }
  68% { transform: scale(1.18) translateY(0); }
  78% { transform: scale(0.95); }
  88%, 100% { opacity: 1; transform: scale(1) translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .beyond-card.reveal.visible .beyond-card__icon-doctor-body,
  .beyond-card.reveal.visible .beyond-card__icon-doctor-head,
  .beyond-card.reveal.visible:hover .beyond-card__icon-doctor-body,
  .beyond-card.reveal.visible:hover .beyond-card__icon-doctor-head {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.beyond-card__icon-equipment-body,
.beyond-card__icon-equipment-head {
  fill: #173630;
  transform-origin: center;
  transform-box: fill-box;
}

.beyond-card.reveal.visible .beyond-card__icon-equipment-body {
  animation: beyond-equipment-body 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

.beyond-card.reveal.visible .beyond-card__icon-equipment-head {
  animation: beyond-equipment-head 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

.beyond-card.reveal.visible:hover .beyond-card__icon-equipment-body {
  animation: beyond-equipment-body-hover 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

.beyond-card.reveal.visible:hover .beyond-card__icon-equipment-head {
  animation: beyond-equipment-head-hover 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

@keyframes beyond-equipment-body {
  0% { opacity: 0; transform: scale(0) rotate(-18deg); }
  12% { opacity: 1; }
  26% { transform: scale(1.12) rotate(5deg); }
  36% { transform: scale(0.96) rotate(-2deg); }
  46%, 100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes beyond-equipment-head {
  0%, 42% { opacity: 0; transform: scale(0) rotate(30deg); }
  54% { opacity: 1; }
  68% { transform: scale(1.15) rotate(-6deg); }
  78% { transform: scale(0.95) rotate(2deg); }
  88%, 100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes beyond-equipment-body-hover {
  0% { opacity: 0; transform: scale(0) rotate(-18deg); }
  12% { opacity: 1; }
  26% { transform: scale(1.12) rotate(5deg); }
  36% { transform: scale(0.96) rotate(-2deg); }
  46%, 100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes beyond-equipment-head-hover {
  0%, 42% { opacity: 0; transform: scale(0) rotate(30deg); }
  54% { opacity: 1; }
  68% { transform: scale(1.15) rotate(-6deg); }
  78% { transform: scale(0.95) rotate(2deg); }
  88%, 100% { opacity: 1; transform: scale(1) rotate(0); }
}

@media (prefers-reduced-motion: reduce) {
  .beyond-card.reveal.visible .beyond-card__icon-equipment-body,
  .beyond-card.reveal.visible .beyond-card__icon-equipment-head,
  .beyond-card.reveal.visible:hover .beyond-card__icon-equipment-body,
  .beyond-card.reveal.visible:hover .beyond-card__icon-equipment-head {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.beyond-card__icon-meds-cap,
.beyond-card__icon-meds-pill {
  fill: #294647;
  transform-origin: center;
  transform-box: fill-box;
}

.beyond-card.reveal.visible .beyond-card__icon-meds-cap {
  animation: beyond-meds-cap 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

.beyond-card.reveal.visible .beyond-card__icon-meds-pill {
  animation: beyond-meds-pill 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

.beyond-card.reveal.visible:hover .beyond-card__icon-meds-cap {
  animation: beyond-meds-cap-hover 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

.beyond-card.reveal.visible:hover .beyond-card__icon-meds-pill {
  animation: beyond-meds-pill-hover 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

@keyframes beyond-meds-cap {
  0% { opacity: 0; transform: scale(0) rotate(-35deg); }
  12% { opacity: 1; }
  26% { transform: scale(1.18) rotate(6deg); }
  36% { transform: scale(0.95) rotate(-2deg); }
  46%, 100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes beyond-meds-pill {
  0%, 42% { opacity: 0; transform: scale(0) rotate(35deg); }
  54% { opacity: 1; }
  68% { transform: scale(1.18) rotate(-6deg); }
  78% { transform: scale(0.95) rotate(2deg); }
  88%, 100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes beyond-meds-cap-hover {
  0% { opacity: 0; transform: scale(0) rotate(-35deg); }
  12% { opacity: 1; }
  26% { transform: scale(1.18) rotate(6deg); }
  36% { transform: scale(0.95) rotate(-2deg); }
  46%, 100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes beyond-meds-pill-hover {
  0%, 42% { opacity: 0; transform: scale(0) rotate(35deg); }
  54% { opacity: 1; }
  68% { transform: scale(1.18) rotate(-6deg); }
  78% { transform: scale(0.95) rotate(2deg); }
  88%, 100% { opacity: 1; transform: scale(1) rotate(0); }
}

@media (prefers-reduced-motion: reduce) {
  .beyond-card.reveal.visible .beyond-card__icon-meds-cap,
  .beyond-card.reveal.visible .beyond-card__icon-meds-pill,
  .beyond-card.reveal.visible:hover .beyond-card__icon-meds-cap,
  .beyond-card.reveal.visible:hover .beyond-card__icon-meds-pill {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.beyond-card__icon--wellness {
  overflow: visible;
  flex-shrink: 0;
}

.beyond-card__icon-wellness-leaves,
.beyond-card__icon-wellness-sprout {
  fill: #173630;
  transform-origin: center bottom;
  transform-box: fill-box;
}

.beyond-card.reveal.visible .beyond-card__icon-wellness-leaves {
  animation: beyond-wellness-leaves 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

.beyond-card.reveal.visible .beyond-card__icon-wellness-sprout {
  animation: beyond-wellness-sprout 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

.beyond-card.reveal.visible:hover .beyond-card__icon-wellness-leaves {
  animation: beyond-wellness-leaves-hover 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

.beyond-card.reveal.visible:hover .beyond-card__icon-wellness-sprout {
  animation: beyond-wellness-sprout-hover 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

@keyframes beyond-wellness-leaves {
  0% { opacity: 0; transform: scale(0) rotate(-12deg); }
  12% { opacity: 1; }
  26% { transform: scale(1.12) rotate(4deg); }
  36% { transform: scale(0.96) rotate(-1deg); }
  46%, 100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes beyond-wellness-sprout {
  0%, 42% { opacity: 0; transform: scale(0) translateY(4px); }
  54% { opacity: 1; }
  68% { transform: scale(1.15) translateY(0); }
  78% { transform: scale(0.95); }
  88%, 100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes beyond-wellness-leaves-hover {
  0% { opacity: 0; transform: scale(0) rotate(-12deg); }
  12% { opacity: 1; }
  26% { transform: scale(1.12) rotate(4deg); }
  36% { transform: scale(0.96) rotate(-1deg); }
  46%, 100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes beyond-wellness-sprout-hover {
  0%, 42% { opacity: 0; transform: scale(0) translateY(4px); }
  54% { opacity: 1; }
  68% { transform: scale(1.15) translateY(0); }
  78% { transform: scale(0.95); }
  88%, 100% { opacity: 1; transform: scale(1) translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .beyond-card.reveal.visible .beyond-card__icon-wellness-leaves,
  .beyond-card.reveal.visible .beyond-card__icon-wellness-sprout,
  .beyond-card.reveal.visible:hover .beyond-card__icon-wellness-leaves,
  .beyond-card.reveal.visible:hover .beyond-card__icon-wellness-sprout {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.beyond-card__title {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.5px;
  color: var(--dark);
}

.beyond-card__desc {
  margin: 0 0 20px;
  font-size: 1rem;
  line-height: 20px;
  letter-spacing: -0.5px;
  color: #436c6e;
  flex: 1;
}

.beyond-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  text-decoration: none;
  color: var(--teal);
}

.beyond-card__footer-label {
  font-size: 1rem;
  font-weight: 400;
  line-height: 17px;
  letter-spacing: -0.5px;
}

.beyond-card__footer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 38px;
  border-radius: 22px;
  background: var(--teal);
  flex-shrink: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.beyond-card__footer-icon img {
  width: 16px;
  height: 16px;
  display: block;
  filter: brightness(0) invert(1);
  transform: rotate(90deg);
}

.beyond-card__footer:hover .beyond-card__footer-icon {
  opacity: 0.9;
}

.servicios-contact {
  padding: 60px 55px 100px;
  background: var(--bg-grey);
}

.servicios-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.servicios-contact__eyebrow {
  margin: 0 0 16px;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--teal);
}

.servicios-contact__title {
  margin: 0 0 20px;
  font-size: 2.625rem;
  font-weight: 400;
  line-height: 48px;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.servicios-contact__title-line {
  display: block;
}

.servicios-contact__title em {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.servicios-contact__desc {
  margin: 0 0 40px;
  font-size: 1.125rem;
  line-height: 30px;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.servicios-contact__items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
}

.contact-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item__icon img {
  display: block;
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.contact-item__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-item__name {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.contact-item__value {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.7px;
  color: var(--teal);
  text-decoration: none;
}

.contact-item__value:hover {
  text-decoration: underline;
}

.contact-item__sub {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.contact-item:nth-child(2) .contact-item__value {
  letter-spacing: -0.5px;
}

.servicios-contact__privacy {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 20px;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 8px;
  align-items: start;
  margin-top: 28px;
}

.contact-privacy__icon {
  grid-column: 1;
  grid-row: 1;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
}

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

.contact-privacy__content {
  display: contents;
}

.contact-privacy__title {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.contact-privacy__text {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.875rem;
  line-height: 23px;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.servicios-contact__form-card {
  background: #fff;
  border-radius: 30px;
  padding: 44px;
}

.servicios-form__title {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.servicios-form__subtitle {
  margin: 0 0 32px;
  font-size: 1rem;
  line-height: 24px;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.servicios-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.servicios-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.servicios-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.servicios-form__field label {
  font-size: 1rem;
  font-weight: 400;
  line-height: 17px;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.servicios-form__field input,
.servicios-form__field select,
.servicios-form__field textarea {
  width: 100%;
  height: 50px;
  padding: 0 15px;
  border: 1px solid var(--teal);
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--teal);
  background: transparent;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.servicios-form__field textarea {
  height: auto;
  padding: 12px 15px;
}

.servicios-form__field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23294647' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: transparent;
  padding-right: 40px;
  cursor: pointer;
}

.servicios-form__field input:focus,
.servicios-form__field select:focus,
.servicios-form__field textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(41, 70, 71, 0.1);
}

.servicios-form__field textarea {
  resize: vertical;
  min-height: 122px;
  line-height: 1.5;
}

.servicios-form__field input::placeholder,
.servicios-form__field textarea::placeholder {
  color: rgba(23, 23, 23, 0.5);
}

.servicios-form__field.error input,
.servicios-form__field.error select,
.servicios-form__field.error textarea {
  border-color: #e54444;
  box-shadow: 0 0 0 3px rgba(229, 68, 68, 0.1);
}

.servicios-urgency {
  display: flex;
  gap: 8px;
}

.servicios-urgency__btn {
  flex: 1;
  height: 46px;
  padding: 0 10px;
  border: 1px solid var(--teal);
  border-radius: 10px;
  background: transparent;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.5px;
  color: var(--teal);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-align: center;
}

.servicios-urgency__btn:hover {
  background: rgba(41, 70, 71, 0.06);
}

.servicios-urgency__btn.is-active {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.servicios-form__terms {
  margin-top: -4px;
}

.servicios-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.servicios-form__checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--teal);
  cursor: pointer;
  padding: 0;
  border: 0.5px solid var(--teal);
  background: transparent;
  border-radius: 5px;
}

.servicios-form__checkbox span {
  font-size: 0.875rem;
  line-height: 19px;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.servicios-form__checkbox span a {
  color: var(--teal);
  text-decoration: underline;
}

.servicios-form__submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

@media (min-width: 1025px) and (max-height: 860px) {
  .servicios-features {
    --servicios-features-view-height: clamp(520px, calc(100dvh - 112px), 795px);
  }

  .servicios-features__content {
    padding: 40px 34px 36px 48px;
  }

  .servicios-features__title {
    margin-bottom: 24px;
    font-size: 3.25rem;
    line-height: 1.12;
  }

  .servicios-features__rows {
    gap: 20px;
  }

  .servicios-features__row-copy h3 {
    margin-bottom: 4px;
    font-size: 1.125rem;
    line-height: 1.35;
  }

  .servicios-features__row-copy p {
    line-height: 1.45;
  }
}

/* --- Responsive (desktop → mobile) --- */

@media (max-width: 1200px) {
  .servicios-plans {
    padding: 80px 32px 64px;
  }

  .servicios-features {
    padding: 0 12px 64px;
  }

  .servicios-beyond {
    padding: 0 32px 48px;
  }

  .servicios-contact {
    padding: 48px 32px 80px;
  }

  .servicios-contact__form-card {
    padding: 36px;
  }
}

@media (max-width: 1024px) {
  .servicios-plans__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 760px;
    margin: 0 auto;
  }

  .servicios-plans__grid > .plan-card:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: 380px;
  }

  .plan-card-wrap {
    width: 100%;
  }

  .servicios-features__card {
    grid-template-columns: 1fr;
    min-height: 0;
    height: auto;
    max-height: none;
  }

  .servicios-features__media {
    min-height: 0;
  }

  .servicios-features__img {
    min-height: 360px;
    height: 360px;
  }

  .servicios-features__content {
    padding: 32px 24px 40px;
    min-height: 0;
    height: auto;
  }

  .servicios-features__rows {
    flex: none;
  }

  .servicios-features__title {
    margin-bottom: 28px;
  }

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

  .servicios-contact__grid {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .inner-hero__actions {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    max-width: none;
  }

  .btn--hero-outline {
    width: 100%;
    height: 54px;
    font-size: 1.0625rem;
  }

  .servicios-plans {
    padding: 64px 16px 48px;
  }

  .servicios-plans__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
    gap: 28px;
  }

  .servicios-plans__grid .plan-card:last-child {
    grid-column: auto;
    max-width: none;
    width: 100%;
  }

  .plan-card__title {
    font-size: clamp(2.25rem, 7.2vw, 2.75rem);
    line-height: 1.05;
  }

  .plan-card {
    min-height: 0;
    padding: 32px 24px 36px;
  }

  .plan-card-wrap--featured .plan-card {
    min-height: 0;
  }

  .servicios-features {
    padding: 0 8px 48px;
  }

  .servicios-features__card {
    border-radius: 24px;
  }

  .servicios-features__img {
    min-height: 280px;
    height: 280px;
  }

  .servicios-features__badge {
    top: auto;
    bottom: 30px;
    left: 30px;
    right: 30px;
    width: auto;
    max-width: none;
    padding: 15px;
  }

  .servicios-features__content {
    padding: 24px 20px 32px;
    min-height: 0;
    gap: 24px;
  }

  .servicios-features__title {
    margin-bottom: 0;
    font-size: 2.625rem;
    line-height: 48px;
  }

  .servicios-features__title span {
    white-space: normal;
  }

  .servicios-features__rows {
    flex: none;
    gap: 24px;
  }

  .servicios-features__cta {
    --btn-pill-arrow-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    max-width: none;
    align-self: stretch;
    margin-top: 32px;
    padding-top: 0;
    height: auto;
    min-height: 60px;
    padding: 10px 6px 10px 18px;
    overflow: visible;
  }

  .servicios-features__cta .btn__label {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    flex: 1;
    min-width: 0;
    max-width: none;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    text-align: left;
    font-size: 1rem;
    line-height: 1.25;
    transform: none;
  }

  .servicios-features__cta .btn__icon {
    position: static;
    top: auto;
    right: auto;
    transform: none;
    flex-shrink: 0;
  }

  .servicios-features__cta:hover .btn__label {
    color: var(--teal);
    transform: none;
  }

  .servicios-features__cta:hover .btn__icon {
    transform: none;
  }

  .servicios-beyond {
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "grid"
      "catalog";
    row-gap: 16px;
    padding: 0 16px 38px;
  }

  .servicios-beyond__eyebrow {
    text-align: center;
  }

  .servicios-beyond > .btn--catalog {
    justify-self: stretch;
    width: 100%;
    height: 54px;
  }

  .servicios-beyond__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    margin-bottom: 8px;
  }

  .servicios-contact {
    padding: 38px 20px 64px;
  }

  .servicios-contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .servicios-contact__eyebrow {
    margin-bottom: 12px;
  }

  .servicios-contact__title {
    margin-bottom: 14px;
    font-size: 2rem;
    line-height: 1.15;
  }

  .servicios-contact__title-line {
    display: inline;
  }

  .servicios-contact__title-line + .servicios-contact__title-line::before {
    content: ' ';
  }

  .servicios-contact__desc {
    margin-bottom: 28px;
    font-size: 1rem;
    line-height: 1.5;
  }

  .servicios-contact__items {
    gap: 4px;
  }

  .contact-item {
    gap: 14px;
    padding: 12px 0;
    align-items: center;
  }

  .contact-item__info {
    gap: 0;
    min-width: 0;
  }

  .contact-item__name {
    font-size: 1.0625rem;
    line-height: 1.35;
  }

  .contact-item__value,
  .contact-item__sub {
    overflow-wrap: anywhere;
  }

  .servicios-contact__privacy {
    margin-top: 20px;
    padding: 18px 18px;
    column-gap: 10px;
    row-gap: 8px;
  }

  .servicios-contact__form-card {
    padding: 28px 20px;
  }

  .servicios-form__title,
  .servicios-form__subtitle {
    text-align: center;
  }

  .servicios-form__row {
    grid-template-columns: 1fr;
  }

  .servicios-urgency {
    flex-direction: row;
    gap: 6px;
  }

  .servicios-urgency__btn {
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .servicios-beyond__grid {
    grid-template-columns: 1fr;
  }
}

/*=============================================================================
  PAGE — PLAN DETALLE
=============================================================================*/

.page-plan-detail {
  background: var(--bg-grey);
}

.page-plan-detail #main-content {
  padding: 0;
}

.btn--catalog {
  height: 42px;
  padding: 0 18px;
  border: none;
  border-radius: var(--r-pill);
  background: var(--teal);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.plan-detail-header-wrap {
  padding: 10px 14px 0;
}

.plan-detail-header {
  position: relative;
  min-height: 67px;
  margin: 0;
}

.plan-detail-header .site-header {
  position: absolute;
  top: 25px;
  left: 56px;
  right: 56px;
  z-index: 3;
}

.plan-detail-header .site-header__menu a.is-active {
  color: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.plan-detail-header .site-header__menu a.is-active:hover {
  color: rgba(0, 0, 0, 0.3);
}

.plan-detail-header .site-header__logo-img--light {
  display: none;
}

.plan-detail-header .site-header__logo-img--dark {
  height: 33px;
  width: auto;
  display: block;
}

.plan-detail__hero {
  max-width: 787px;
  margin: 0 auto;
  padding: 48px 24px 56px;
  text-align: center;
}

.plan-detail__eyebrow {
  margin: 0 0 24px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--teal);
}

.plan-detail__title {
  margin: 0 0 24px;
  font-size: clamp(2.625rem, 5.5vw, 4.625rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.5px;
  color: var(--dark);
}

.plan-detail__title em {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.plan-detail__subtitle {
  margin: 0 auto;
  max-width: 634px;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 26px;
  color: #436c6e;
}

.plan-detail__body {
  padding: 0 70px 80px;
}

.plan-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 850px) minmax(280px, 420px);
  gap: 30px;
  align-items: start;
  max-width: 1300px;
  margin: 0 auto;
}

.plan-detail__main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}

.plan-detail__content {
  padding: 30px 27px 36px;
  border-radius: var(--r-card);
  background: #fafafa;
}

.plan-detail__section-title {
  margin: 0 0 16px;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 36px;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.plan-detail__desc {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.plan-detail__desc p {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 26px;
  color: var(--teal);
}

.plan-detail__divider {
  display: block;
  width: 100%;
  height: 1px;
  margin: 0 0 28px;
  border: 0;
  background: rgba(41, 70, 71, 0.15);
}

.plan-detail__services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 40px;
}

.plan-detail__service {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.plan-detail__service-icon {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-detail__service-icon img {
  display: block;
  width: 100%;
  height: auto;
}

.plan-detail__service-copy h3 {
  margin: 0 0 4px;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.plan-detail__service-copy p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 20px;
  letter-spacing: -0.5px;
  color: rgba(41, 70, 71, 0.7);
}

.plan-detail__sidebar {
  position: sticky;
  top: 90px;
}

.plan-detail-card {
  padding: 34px 28px 28px;
  border-radius: var(--r-card);
  background: #fafafa;
  text-align: center;
}

.plan-detail-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--bg-light);
}

.plan-detail-card__icon img {
  width: 30px;
  height: auto;
  display: block;
}

.plan-detail-card__title {
  margin: 0 0 6px;
  font-size: 2rem;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.plan-detail-card__subtitle {
  margin: 0 0 24px;
  font-size: 1rem;
  line-height: 20px;
  color: var(--teal);
}

.plan-detail-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 362px;
  height: 42px;
  margin: 0 auto 24px;
  border-radius: var(--r-pill);
  background: var(--teal);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.plan-detail-card__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  font-size: 1rem;
  line-height: 20px;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.plan-detail-card__phone img {
  width: 14px;
  height: 14px;
  display: block;
}

.plan-detail__modalities {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plan-modality {
  position: relative;
  padding: 18px 21px 20px 54px;
  border-radius: 20px;
  background: #fafafa;
  min-height: 130px;
  box-sizing: border-box;
}

.plan-modality__icon {
  position: absolute;
  left: 21px;
  top: 19px;
  width: 24px;
  height: 24px;
}

.plan-modality__icon img {
  display: block;
  width: 100%;
  height: auto;
}

.plan-modality__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 8px 9px;
  border-radius: 10px;
  background: var(--bg-light);
  font-size: 1rem;
  font-weight: 600;
  line-height: 20px;
  color: var(--teal);
  white-space: nowrap;
}

.plan-modality__title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.plan-modality__highlight {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 20px;
  color: var(--teal);
}

.plan-modality__desc {
  margin: 0;
  font-size: 1rem;
  font-weight: 300;
  line-height: 26px;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.plan-detail__related {
  margin-top: 80px;
  padding: 80px 70px 100px;
  background: var(--bg-light);
}

.plan-detail__related-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.plan-detail__related-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.plan-detail__related-copy h2 {
  margin: 0 0 8px;
  font-size: 2.625rem;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.plan-detail__related-copy p {
  margin: 0;
  font-size: 1.25rem;
  line-height: 28px;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.plan-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.plan-related-card {
  min-height: 249px;
  padding: 18px 20px 20px;
  border-radius: 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.plan-related-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 53px;
  height: 53px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--bg-light);
  flex-shrink: 0;
}

.plan-related-card__icon img {
  width: 22px;
  height: auto;
  display: block;
}

.plan-related-card__title {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.5px;
  color: var(--dark);
}

.plan-related-card__desc {
  margin: 0 0 20px;
  font-size: 1rem;
  line-height: 20px;
  letter-spacing: -0.5px;
  color: #436c6e;
  flex: 1;
}

.plan-related-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  text-decoration: none;
  color: var(--teal);
}

.plan-related-card__footer-label {
  font-size: 1rem;
  font-weight: 400;
  line-height: 17px;
  letter-spacing: -0.5px;
}

.plan-related-card__footer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 38px;
  border-radius: 22px;
  background: var(--teal);
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.plan-related-card__footer-icon img {
  width: 16px;
  height: 16px;
  display: block;
  filter: brightness(0) invert(1);
  transform: rotate(90deg);
}

.plan-related-card__footer:hover .plan-related-card__footer-icon {
  opacity: 0.9;
}

/* --- Responsive (desktop → mobile) --- */

@media (max-width: 1200px) {
  .plan-detail-header .site-header {
    left: 32px;
    right: 32px;
  }
}

@media (max-width: 1100px) {
  .plan-detail__body {
    padding: 0 40px 64px;
  }

  .plan-detail__layout {
    grid-template-columns: 1fr;
  }

  .plan-detail__sidebar {
    position: static;
    max-width: 420px;
  }

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

  .plan-detail__related {
    padding: 64px 40px 80px;
  }
}

@media (max-width: 768px) {
  .plan-detail-header-wrap {
    padding: calc(8px + var(--safe-top)) 20px 0;
  }

  .plan-detail-header .site-header {
    left: auto;
    right: auto;
    top: auto;
    position: relative;
    background: transparent;
    border-radius: 0;
    padding: 0 0 20px;
    height: auto;
    min-height: 90px;
    align-items: flex-start;
  }

  .plan-detail-header .site-header__logo {
    width: 130px;
    height: 90px;
    position: relative;
  }

  .plan-detail-header .site-header__logo img {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
  }

  .plan-detail-header .site-header__logo::before {
    content: "";
    display: block;
    width: 130px;
    height: 90px;
    background: url("../../img/logo-stacked-dark.svg") left center / contain no-repeat;
  }

  .plan-detail-header .site-header .site-header__toggle {
    background: var(--teal);
    border-radius: 12px;
    width: 36px;
    height: 36px;
  }

  .plan-detail-header .site-header .site-header__toggle-bar {
    background: #fff;
  }
}

@media (max-width: 768px) {
  .plan-detail__hero {
    padding: 32px 20px 40px;
  }

  .plan-detail__body {
    padding: 0 16px 48px;
  }

  .plan-detail__content {
    padding: 24px 20px;
  }

  .plan-detail__services {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .plan-modality {
    padding: 56px 20px 20px;
  }

  .plan-modality__icon {
    left: 20px;
    top: 18px;
  }

  .plan-modality__badge {
    top: 14px;
    right: 14px;
    font-size: 0.875rem;
  }

  .plan-detail__related {
    padding: 48px 16px 64px;
  }

  .plan-detail__related-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .plan-related-grid {
    grid-template-columns: 1fr;
  }
}

/*=============================================================================
  PAGE — NOVEDADES
=============================================================================*/

.page-novedades {
  background: var(--bg-grey);
}

.page-novedades #main-content {
  padding: 0;
}

.novedades-header-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 70px 0;
}

.novedades-header {
  position: relative;
  /* Reserva el espacio del site-header absolute (top 25 + height 42) */
  min-height: 67px;
  margin: 0;
}

.novedades-header .site-header {
  position: absolute;
  top: 25px;
  left: 0;
  right: 0;
  z-index: 3;
  height: 42px;
}

.novedades-header .site-header__menu a.is-active {
  color: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.novedades-header .site-header__menu a.is-active:hover {
  color: rgba(0, 0, 0, 0.3);
}

/* Header claro: solo logo oscuro horizontal, mismo tamaño que sticky */
.novedades-header .site-header__logo img {
  height: 33px;
  width: auto;
  display: block;
}

/* Especificidad > `.site-header__logo img` para no mostrar light + dark a la vez */
.novedades-header .site-header__logo .site-header__logo-img--light {
  display: none;
}

.novedades-header .site-header__logo .site-header__logo-img--dark {
  height: 33px;
  width: auto;
  display: block;
}

.novedades-layout {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 70px;
}

.novedades-intro {
  width: 100%;
}

.novedades-breadcrumb {
  padding: 14px 0 0;
}

.novedades-breadcrumb__inner {
  display: flex;
  align-items: center;
  gap: 8px;
}

.novedades-breadcrumb__link {
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.25px;
  color: #737373;
  text-decoration: none;
  transition: color 0.2s ease;
}

.novedades-breadcrumb__link:hover {
  color: #171717;
}

.novedades-breadcrumb__sep {
  display: flex;
  align-items: center;
}

.novedades-breadcrumb__sep img {
  width: 6px;
  height: 10px;
  display: block;
}

.novedades-breadcrumb__current {
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.25px;
  color: #171717;
}

.novedades-hero {
  padding: 34px 0 56px;
  text-align: center;
}

.novedades-hero__inner {
  max-width: 760px;
  margin: 0 auto;
}

.novedades-hero__eyebrow {
  margin: 0 0 24px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--teal);
}

.novedades-hero__title {
  margin: 0 0 24px;
  font-size: 4.625rem;
  font-weight: 400;
  line-height: 70px;
  letter-spacing: -0.5px;
  color: #173630;
}

.novedades-hero__subtitle {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 22px;
  color: #436c6e;
}

.novedades-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px 0 10px;
  border-radius: 10px;
  background: #dfe5dc;
  font-size: 0.875rem;
  font-weight: 400;
  color: #173630;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.novedades-tag img {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.novedades-featured-card__date {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(41, 70, 71, 0.5);
  white-space: nowrap;
}

.novedades-card__date {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(41, 70, 71, 0.5);
  white-space: nowrap;
}

.novedades-featured {
  padding: 0 0 56px;
}

.novedades-featured__inner {
  width: 100%;
}

.novedades-featured-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #fff;
  border-radius: var(--r-card);
  overflow: hidden;
  min-height: 426px;
  cursor: pointer;
}

.novedades-featured-card__image {
  padding: 24px;
  display: flex;
  align-items: center;
}

.novedades-featured-card__image-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 378px;
  border-radius: 20px;
  overflow: hidden;
}

.novedades-featured-card__image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.24);
  pointer-events: none;
  z-index: 1;
}

.novedades-featured-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.novedades-featured-card:hover .novedades-featured-card__image img {
  transform: scale(1.03);
}

.novedades-featured-card__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 48px 48px 40px 32px;
}

.novedades-featured-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-bottom: 20px;
}

.novedades-featured-card__title {
  margin: 0 0 16px;
  font-size: 2.625rem;
  font-weight: 400;
  line-height: 45px;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.novedades-featured-card__excerpt {
  margin: 0 0 auto;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: -0.5px;
  color: #525252;
  padding-bottom: 32px;
}

.novedades-featured-card__footer {
  position: static;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 0;
  padding-top: 24px;
  border-top: 1px solid rgba(41, 70, 71, 0.1);
  text-decoration: none;
  color: var(--teal);
}

.novedades-featured-card__footer::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.novedades-featured-card__footer-label {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.novedades-featured-card__footer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 38px;
  border-radius: 22px;
  background: var(--teal);
  flex-shrink: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.novedades-featured-card__footer-icon img {
  width: 16px;
  height: 16px;
  display: block;
  filter: brightness(0) invert(1);
  transform: rotate(90deg);
}

.novedades-featured-card__footer:hover .novedades-featured-card__footer-icon,
.novedades-featured-card:hover .novedades-featured-card__footer-icon {
  transform: scale(1.08);
  opacity: 0.85;
}

.novedades-section {
  padding: 0 0 80px;
}

.novedades-section__inner {
  width: 100%;
}

.novedades-section__head {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin-bottom: 24px;
}

.novedades-section__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 17px;
  width: 100%;
  flex-shrink: 0;
}

.novedades-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.novedades-filter {
  height: 38px;
  padding: 0 16px;
  border: none;
  border-radius: var(--r-pill);
  background: #fff;
  color: #436c6e;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 17px;
  letter-spacing: -0.5px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.22s ease, color 0.22s ease;
}

.novedades-filter:hover {
  background: rgba(255, 255, 255, 0.85);
}

.novedades-filter.is-active {
  background: var(--teal);
  color: #fff;
}

.novedades-search {
  position: relative;
  flex-shrink: 0;
}

.novedades-search__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  pointer-events: none;
  opacity: 0.7;
}

.novedades-search__input {
  height: 38px;
  width: 310px;
  padding: 0 16px 0 38px;
  border: none;
  border-radius: var(--r-pill);
  background: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 17px;
  letter-spacing: -0.5px;
  color: #436c6e;
  outline: none;
  appearance: none;
}

.novedades-search__input::placeholder {
  color: var(--teal);
  opacity: 0.4;
}

.novedades-search__input:focus {
  outline: none;
}

.novedades-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 52px;
}

.novedades-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 17px 20px 20px;
  min-height: 467px;
  cursor: pointer;
}

.novedades-card__image {
  position: relative;
  height: 199px;
  border-radius: 15px;
  overflow: hidden;
  flex-shrink: 0;
  margin-bottom: 15px;
}

.novedades-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 15px;
  transition: transform 0.45s ease;
}

.novedades-card:hover .novedades-card__image img {
  transform: scale(1.04);
}

.novedades-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0;
  min-height: 0;
}

.novedades-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-bottom: 12px;
}

.novedades-card__title {
  margin: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.novedades-card__excerpt {
  margin: 0 0 auto;
  font-size: 1rem;
  font-weight: 300;
  line-height: 20px;
  letter-spacing: -0.5px;
  color: var(--teal);
  padding-bottom: 0;
}

.novedades-card__footer {
  position: static;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 0;
  border-top: none;
  text-decoration: none;
  color: var(--teal);
}

.novedades-card__footer::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.novedades-card__footer-label {
  font-size: 1rem;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.5px;
}

.novedades-card__footer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 38px;
  border-radius: 22px;
  background: var(--teal);
  flex-shrink: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.novedades-card__footer-icon img {
  width: 16px;
  height: 16px;
  display: block;
  filter: brightness(0) invert(1);
  transform: rotate(90deg);
}

.novedades-card__footer:hover .novedades-card__footer-icon,
.novedades-card:hover .novedades-card__footer-icon {
  transform: scale(1.08);
  opacity: 0.85;
}

.novedades-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 0;
}

.novedades-pagination__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.novedades-pagination__btn:hover {
  background: rgba(41, 70, 71, 0.08);
}

.novedades-pagination__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.novedades-pagination__btn img {
  width: 10px;
  height: 16px;
  display: block;
}

.novedades-pagination__pages {
  display: flex;
  align-items: center;
  gap: 8px;
}

.novedades-pagination__page {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.5px;
  color: #436c6e;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.novedades-pagination__page:hover {
  background: rgba(255, 255, 255, 0.85);
}

.novedades-pagination__page.is-active {
  background: #173630;
  color: #fff;
  font-weight: 400;
}

.novedades-pagination__ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 40px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.5px;
  color: #436c6e;
}

.novedades-newsletter {
  padding: 0 0 80px;
}

.novedades-newsletter__inner {
  width: 100%;
}

.novedades-newsletter-card {
  background: #173630;
  border-radius: 30px;
  min-height: 310px;
  padding: 36px 40px 38px;
  overflow: hidden;
}

.novedades-newsletter-card__eyebrow {
  margin: 0 0 2px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #eee;
}

.novedades-newsletter-card__grid {
  display: grid;
  grid-template-columns: minmax(0, 472px) minmax(0, 1fr);
  gap: 48px 72px;
  align-items: start;
}

.novedades-newsletter-card__copy {
  padding-top: 28px;
}

.novedades-newsletter-card__title {
  margin: 0;
  font-size: 3.25rem;
  font-weight: 400;
  line-height: 52px;
  letter-spacing: -0.5px;
  color: #fff;
}

.novedades-newsletter-card__aside {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.novedades-newsletter-card__desc {
  margin: 0 0 28px;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.5px;
  color: #fff;
}

.novedades-newsletter-card__form {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 488px;
}

.novedades-newsletter-card__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.novedades-newsletter-card__email-label {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 26px;
  color: #fff;
  cursor: text;
}

.novedades-newsletter-card__email {
  width: 100%;
  padding: 0;
  border: none;
  border-bottom: 1px solid #fff;
  border-radius: 0;
  background: transparent;
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 26px;
  color: #fff;
  outline: none;
}

.novedades-newsletter-card__email:focus {
  border-bottom-color: rgba(255, 255, 255, 0.85);
}

.novedades-newsletter-card__privacy {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 17px;
  letter-spacing: -0.5px;
  color: #fff;
  cursor: pointer;
}

.novedades-newsletter-card__checkbox {
  appearance: none;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: none;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
}

.novedades-newsletter-card__checkbox:checked {
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23173630' d='M6.2 11.1 3.4 8.3l-1 1 3.8 3.8 7.4-7.4-1-1z'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}

.novedades-newsletter-card__privacy-link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.novedades-newsletter-card__privacy-link:hover {
  opacity: 0.85;
}

.novedades-newsletter-card__submit {
  width: 100%;
  height: 57px;
  padding: 0 32px;
  border: none;
  border-radius: 50px;
  background: #fff;
  color: #173630;
  font-family: 'Outfit', sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.5px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.novedades-newsletter-card__submit:hover,
.novedades-newsletter-card__submit:focus-visible {
  background: transparent;
  color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}

.novedades-newsletter-card__submit:active {
  transform: none;
}

/* --- Responsive (desktop → mobile) --- */

@media (max-width: 1200px) {
  .novedades-header-wrap {
    padding-left: 40px;
    padding-right: 40px;
  }

  .novedades-layout {
    padding-left: 40px;
    padding-right: 40px;
  }

  .novedades-hero__title {
    font-size: 3.625rem;
  }

  .novedades-newsletter-card {
    padding: 32px 36px;
  }
}

@media (max-width: 1024px) {
  .novedades-header-wrap {
    padding-left: 40px;
    padding-right: 40px;
  }

  .novedades-layout {
    padding-left: 40px;
    padding-right: 40px;
  }

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

  .novedades-newsletter-card {
    padding: 32px 28px;
    min-height: auto;
  }

  .novedades-newsletter-card__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .novedades-newsletter-card__copy {
    padding-top: 16px;
  }

  .novedades-newsletter-card__title {
    font-size: 2.125rem;
    line-height: 1.1;
  }

  .novedades-newsletter-card__desc {
    font-size: 1.125rem;
    line-height: 1.45;
    margin-bottom: 24px;
  }

  .novedades-newsletter-card__form {
    max-width: none;
  }

  .novedades-section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .novedades-section__toolbar {
    width: 100%;
    justify-content: space-between;
  }

  .novedades-search__input {
    width: 220px;
  }
}

@media (max-width: 768px) {
  .novedades-header-wrap {
    padding: calc(12px + var(--safe-top)) 20px 0;
  }

  .novedades-header {
    min-height: 90px;
  }

  .novedades-header .site-header {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    height: auto;
    min-height: 90px;
    padding: 0 0 20px;
    background: transparent;
    border-radius: 0;
    box-sizing: border-box;
    align-items: flex-start;
  }

  .novedades-header .site-header__logo {
    width: 130px;
    height: 90px;
    position: relative;
  }

  .novedades-header .site-header__logo img,
  .novedades-header .site-header__logo-img--dark {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
  }

  .novedades-header .site-header__logo::before {
    content: "";
    display: block;
    width: 130px;
    height: 90px;
    background: url("../../img/logo-stacked-dark.svg") left center / contain no-repeat;
  }

  .novedades-header .site-header__toggle {
    background: var(--teal);
    border-radius: 12px;
    width: 36px;
    height: 36px;
  }

  .novedades-header .site-header__toggle-bar {
    background: #fff;
  }

  .novedades-layout {
    padding-left: 20px;
    padding-right: 20px;
  }

  .novedades-breadcrumb {
    padding-top: 0;
  }

  .novedades-hero {
    padding-top: 24px;
    padding-bottom: 20px;
    text-align: left;
  }

  .novedades-hero__inner {
    max-width: none;
    margin: 0;
    text-align: left;
  }

  .novedades-hero__eyebrow {
    margin-bottom: 14px;
  }

  .novedades-hero__title {
    margin-bottom: 14px;
    font-size: 2.25rem;
    line-height: 1.12;
    letter-spacing: -0.5px;
  }

  .novedades-hero__subtitle {
    font-size: 1rem;
    line-height: 1.45;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .novedades-featured {
    padding-bottom: 40px;
  }

  .novedades-featured-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .novedades-featured-card__image {
    height: auto;
    padding: 14px 14px 0;
  }

  .novedades-featured-card__image-frame {
    min-height: 0;
    height: 220px;
  }

  .novedades-featured-card__content {
    padding: 20px 18px 22px;
  }

  .novedades-featured-card__title {
    font-size: 1.875rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
  }

  .novedades-section__head {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 20px;
  }

  .novedades-section__toolbar {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }

  .novedades-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .novedades-filters::-webkit-scrollbar {
    display: none;
  }

  .novedades-search,
  .novedades-search__input {
    width: 100%;
  }

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

  .novedades-newsletter-card {
    padding: 28px 20px;
  }

  .novedades-newsletter-card__title {
    font-size: 1.625rem;
  }

  .novedades-newsletter-card__email-label,
  .novedades-newsletter-card__email {
    font-size: 1.125rem;
    line-height: 24px;
  }

  .novedades-newsletter-card__submit {
    height: 52px;
    font-size: 1rem;
  }

  .novedades-pagination__page:nth-child(n+3):not(:last-child):not(.is-active) {
    display: none;
  }
}

/*=============================================================================
  PAGE — NOVEDADES DETALLE
=============================================================================*/

/* Solo detalle de artículo: misma columna que hero / imagen / cuerpo (860px) */
.page-novedades-detalle .nd-breadcrumb {
  max-width: 860px;
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 8px;
}

.page-novedades-detalle .nd-breadcrumb .novedades-breadcrumb__inner {
  min-width: 0;
}

.page-novedades-detalle .nd-breadcrumb .novedades-breadcrumb__current {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
}

.nd-hero {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 0 0;
  text-align: left;
}

.nd-hero__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.nd-hero__date {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #294647;
  white-space: nowrap;
}

.nd-hero__title {
  margin: 0 0 20px;
  font-size: 3.25rem;
  font-weight: 400;
  line-height: 52px;
  letter-spacing: -0.5px;
  color: #173630;
}

.nd-hero__subtitle {
  margin: 0 0 32px;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: -0.5px;
  color: #294647;
}

.nd-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 32px;
}

.nd-author__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
  flex-shrink: 0;
}

.nd-author__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nd-author__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nd-author__name {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.5px;
  color: #294647;
}

.nd-author__role {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: -0.5px;
  color: rgba(41, 70, 71, 0.7);
}

.nd-main-image {
  max-width: 860px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 860 / 450;
}

.nd-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nd-content {
  max-width: 864px;
  margin: 48px auto 0;
}

.nd-article-body {
  margin: 0;
}

.nd-article-body--after {
  margin-top: 40px;
}

.nd-p {
  margin: 0 0 20px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: -0.5px;
  color: #294647;
}

.nd-h2 {
  margin: 32px 0 16px;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: -0.5px;
  color: #294647;
}

.nd-h2:first-child {
  margin-top: 0;
}

.nd-list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nd-list li {
  position: relative;
  padding: 0 0 0 16px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: -0.5px;
  color: #294647;
}

.nd-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #294647;
}

.nd-blockquote {
  margin: 32px 0 40px;
  padding: 32px 32px 28px;
  border-left: 4px solid #173630;
  background: #fafafa;
  border-radius: 0 10px 10px 0;
}

.nd-blockquote p {
  margin: 0 0 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 300;
  font-style: normal;
  line-height: 28px;
  letter-spacing: -0.5px;
  color: #173630;
}

.nd-blockquote cite {
  font-size: 0.875rem;
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.5px;
  color: #173630;
}

.nd-strategies {
  margin: 24px 0 0;
}

.nd-strategies__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
}

.nd-strategy-card {
  background: #fff;
  border-radius: 10px;
  padding: 25px 25px 22px;
  min-height: 147px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nd-strategy-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nd-strategy-card__icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #dfe5dc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nd-strategy-card__icon-wrap img {
  width: 16px;
  height: 16px;
  display: block;
}

.nd-strategy-card__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.5px;
  color: #294647;
}

.nd-strategy-card__text {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.5px;
  color: #294647;
}

.nd-cta {
  display: grid;
  grid-template-columns: 389px minmax(0, 1fr);
  gap: 0;
  background: #173630;
  border-radius: 20px;
  overflow: hidden;
  margin: 48px 0 0;
  height: 263px;
}

.nd-cta__image-col {
  position: relative;
  overflow: hidden;
  min-height: 263px;
}

.nd-cta__image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 20% center;
  display: block;
}

.nd-cta__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 31px 40px 31px 20px;
  min-height: 263px;
}

.nd-cta__title {
  margin: 0 0 8px;
  max-width: 426px;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: -0.5px;
  color: #fff;
}

.nd-cta__text {
  margin: 0 0 42px;
  max-width: 426px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.5px;
  color: #d4d4d4;
}

.nd-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  width: 190px;
  height: 42px;
  padding: 0 12px;
  border-radius: 9999px;
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.5px;
  color: #173630;
  text-decoration: none;
  transition: background 0.22s ease;
  margin-top: auto;
}

.nd-cta__btn:hover {
  background: rgba(255, 255, 255, 0.92);
}

.nd-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 30px 0 56px;
}

.nd-share__label {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.5px;
  color: #294647;
  white-space: nowrap;
}

.nd-share__icons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nd-share__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #dfe5dc;
  text-decoration: none;
  transition: background 0.22s ease, border-color 0.22s ease;
}

.nd-share__icon img {
  width: auto;
  height: 16px;
  max-width: 16px;
  display: block;
}

.nd-share__icon:hover {
  background: #fafafa;
  border-color: #294647;
}

.nd-related-outer {
  background: var(--bg-light);
  padding: 56px 0 72px;
  margin-top: 0;
}

.nd-related {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "title all"
    "grid grid";
  align-items: center;
  column-gap: 24px;
  row-gap: 32px;
  padding-top: 0;
  padding-bottom: 0;
}

.nd-related__title {
  grid-area: title;
  margin: 0;
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: -0.5px;
  color: #294647;
}

.nd-related__all {
  grid-area: all;
  flex-shrink: 0;
  justify-self: end;
}

.nd-related__grid {
  grid-area: grid;
  margin-bottom: 0;
}

.nd-related__grid .novedades-card {
  background: #fff;
}

/* --- Responsive (desktop → mobile) --- */

@media (max-width: 1200px) {
  .nd-hero__title {
    font-size: 2.75rem;
    line-height: 48px;
  }

  .nd-cta {
    grid-template-columns: 300px 1fr;
  }
}

@media (max-width: 1024px) {
  .page-novedades-detalle .nd-breadcrumb,
  .nd-hero,
  .nd-main-image,
  .nd-content {
    max-width: 100%;
  }

  .nd-strategies__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nd-cta {
    grid-template-columns: 260px 1fr;
  }

  .nd-cta__title {
    font-size: 1.25rem;
    line-height: 28px;
  }

  .nd-related__title {
    font-size: 2rem;
    line-height: 36px;
  }
}

@media (max-width: 768px) {
  .nd-hero__title {
    font-size: 2rem;
    line-height: 36px;
  }

  .nd-hero__subtitle {
    font-size: 1.0625rem;
    line-height: 24px;
  }

  .nd-hero {
    padding-top: 28px;
  }

  .nd-main-image {
    border-radius: 14px;
    aspect-ratio: 4 / 3;
  }

  .nd-content {
    margin-top: 32px;
  }

  .nd-h2 {
    font-size: 1.25rem;
    line-height: 28px;
  }

  .nd-blockquote {
    padding: 20px 20px 18px;
  }

  .nd-blockquote p {
    font-size: 1.125rem;
    line-height: 26px;
  }

  .nd-strategies__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nd-strategy-card {
    padding: 20px;
    min-height: auto;
  }

  .nd-cta {
    grid-template-columns: 1fr;
    height: auto;
    border-radius: 24px;
  }

  .nd-cta__image-col {
    height: 280px;
    min-height: 280px;
  }

  .nd-cta__image-col img {
    object-position: center 20%;
  }

  .nd-cta__content {
    min-height: auto;
    padding: 32px 28px 36px;
  }

  .nd-cta__title,
  .nd-cta__text {
    max-width: none;
  }

  .nd-cta__title {
    margin: 0 0 16px;
    font-size: 1.625rem;
    line-height: 1.25;
    letter-spacing: -0.4px;
  }

  .nd-cta__text {
    margin: 0 0 32px;
    font-size: 1.0625rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
  }

  .nd-cta__btn {
    align-self: center;
    width: auto;
    min-width: 220px;
    height: 48px;
    padding: 0 28px;
    margin-top: 0;
    font-size: 1rem;
  }

  .nd-share {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 48px 16px 56px;
    text-align: center;
  }

  .nd-share__label {
    white-space: normal;
    max-width: 18em;
    line-height: 1.4;
  }

  .nd-share__icons {
    gap: 14px;
  }

  .nd-share__icon {
    width: 44px;
    height: 44px;
  }

  .nd-related-outer {
    padding: 40px 0 56px;
  }

  .nd-related {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "grid"
      "all";
    row-gap: 20px;
  }

  .nd-related__title {
    text-align: center;
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .nd-related__all {
    justify-self: stretch;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    box-sizing: border-box;
  }

  .page-novedades-detalle .nd-breadcrumb {
    padding-top: 28px;
    padding-bottom: 4px;
  }

  .page-novedades-detalle .nd-breadcrumb .novedades-breadcrumb__current {
    max-width: none;
  }
}

/*=============================================================================
  PAGE — CONTACTO
=============================================================================*/

.page-contacto {
  background: var(--bg-grey);
}

.page-contacto .reveal {
  transform: translateY(18px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-contacto .reveal.visible {
  opacity: 1;
  transform: none;
}

.page-contacto .contacto-hero__eyebrow.reveal {
  transition-delay: 40ms;
}

.page-contacto .contacto-hero__title.reveal {
  transition-delay: 0.12s;
}

.page-contacto .contacto-hero__subtitle.reveal {
  transition-delay: 0.22s;
}

.page-contacto .contacto-card--whatsapp.reveal {
  transition-delay: 60ms;
}

.page-contacto .contacto-card--phone.reveal {
  transition-delay: 0.16s;
}

.page-contacto .form-icon.reveal {
  transition-delay: 40ms;
}

.page-contacto .form-title.reveal {
  transition-delay: 0.1s;
}

.page-contacto #affiliateForm.reveal {
  transition-delay: 0.14s;
}

.page-contacto form.visible .form-field {
  animation-duration: 0.65s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.page-contacto form.visible .form-note,
.page-contacto form.visible .form-submit {
  opacity: 0;
  animation: 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards revealUp;
}

.page-contacto form.visible .form-note {
  animation-delay: 0.42s;
}

.page-contacto form.visible .form-submit {
  animation-delay: 0.5s;
}

.page-contacto .footer-left.reveal,
.page-contacto .branches-panel.reveal {
  transition-delay: 60ms;
}

@media (prefers-reduced-motion: reduce) {
  .page-contacto .reveal,
  .page-contacto .reveal.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .page-contacto form.visible .form-field,
  .page-contacto form.visible .form-note,
  .page-contacto form.visible .form-submit {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.page-contacto #main-content {
  padding: 0;
}

.contacto-header-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 70px 0;
}

.contacto-header {
  position: relative;
  min-height: 67px;
  margin: 0;
}

.contacto-header .site-header {
  position: absolute;
  top: 25px;
  left: 0;
  right: 0;
  z-index: 3;
}

.contacto-header .site-header__logo-img--light {
  display: none;
}

.contacto-header .site-header__logo-img--dark {
  height: 33px;
  width: auto;
  display: block;
}

.contacto-header .btn--contact.is-current {
  opacity: 1;
  pointer-events: none;
}

.contacto-layout {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 70px;
}

.contacto-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 40px 0 40px;
  max-width: 787px;
  margin: 0 auto;
}

.contacto-hero__eyebrow {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #294647;
}

.contacto-hero__title {
  margin: 0;
  font-size: clamp(2.75rem, 5.2vw, 4.625rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.5px;
  color: #173630;
}

.contacto-hero__title em {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-weight: 300;
}

.contacto-hero__subtitle {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.3px;
  color: #436c6e;
  max-width: 787px;
}

.contacto-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto 56px;
}

.contacto-card {
  position: relative;
  min-height: 235px;
  min-width: 0;
  border-radius: 30px;
  padding: 32px 30px 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}

.contacto-card--whatsapp {
  background: #fff;
}

.contacto-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.contacto-card__icon {
  position: static;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contacto-card__icon img,
.contacto-card__svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.contacto-card__svg--phone,
.contacto-card__svg--whatsapp {
  overflow: visible;
}

.contacto-card__wa-bubble,
.contacto-card__wa-phone {
  transform-origin: center;
  transform-box: fill-box;
}

.contacto-card__wa-bubble {
  fill: #294647;
}

.contacto-card__wa-phone {
  fill: #ffffff;
}

.contacto-card--whatsapp.reveal.visible .contacto-card__wa-bubble {
  animation: contacto-wa-bubble 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

.contacto-card--whatsapp.reveal.visible .contacto-card__wa-phone {
  animation: contacto-wa-phone 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

.contacto-card--whatsapp.reveal.visible:hover .contacto-card__wa-bubble {
  animation: contacto-wa-bubble-hover 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

.contacto-card--whatsapp.reveal.visible:hover .contacto-card__wa-phone {
  animation: contacto-wa-phone-hover 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

@keyframes contacto-wa-bubble {
  0% { opacity: 0; transform: scale(0) rotate(-14deg); }
  12% { opacity: 1; }
  28% { transform: scale(1.12) rotate(5deg); }
  40% { transform: scale(0.96) rotate(-2deg); }
  52%, 100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes contacto-wa-phone {
  0%, 42% { opacity: 0; transform: scale(0); }
  56% { opacity: 1; }
  72% { transform: scale(1.18); }
  84% { transform: scale(0.95); }
  92%, 100% { opacity: 1; transform: scale(1); }
}

@keyframes contacto-wa-bubble-hover {
  0% { opacity: 0; transform: scale(0) rotate(-14deg); }
  12% { opacity: 1; }
  28% { transform: scale(1.12) rotate(5deg); }
  40% { transform: scale(0.96) rotate(-2deg); }
  52%, 100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes contacto-wa-phone-hover {
  0%, 42% { opacity: 0; transform: scale(0); }
  56% { opacity: 1; }
  72% { transform: scale(1.18); }
  84% { transform: scale(0.95); }
  92%, 100% { opacity: 1; transform: scale(1); }
}

.contacto-card__phone-handset {
  fill: #ffffff;
  transform-origin: center;
  transform-box: fill-box;
}

.contacto-card__phone-wave {
  fill: #ffffff;
  transform-origin: 17px 22px;
  transform-box: view-box;
}

.contacto-card--phone.reveal.visible .contacto-card__phone-handset {
  animation: contacto-phone-handset 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

.contacto-card--phone.reveal.visible .contacto-card__phone-wave--1 {
  animation: contacto-phone-wave-1 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

.contacto-card--phone.reveal.visible .contacto-card__phone-wave--2 {
  animation: contacto-phone-wave-2 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

.contacto-card--phone.reveal.visible:hover .contacto-card__phone-handset {
  animation: contacto-phone-handset-hover 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

.contacto-card--phone.reveal.visible:hover .contacto-card__phone-wave--1 {
  animation: contacto-phone-wave-1-hover 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

.contacto-card--phone.reveal.visible:hover .contacto-card__phone-wave--2 {
  animation: contacto-phone-wave-2-hover 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

@keyframes contacto-phone-handset {
  0% { opacity: 0; transform: scale(0) rotate(-14deg); }
  12% { opacity: 1; }
  26% { transform: scale(1.12) rotate(6deg); }
  36% { transform: scale(0.96) rotate(-2deg); }
  46%, 100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes contacto-phone-wave-1 {
  0%, 38% { opacity: 0; transform: scale(0.2); }
  50% { opacity: 1; transform: scale(1.12); }
  62% { transform: scale(0.98); }
  70%, 100% { opacity: 1; transform: scale(1); }
}

@keyframes contacto-phone-wave-2 {
  0%, 58% { opacity: 0; transform: scale(0.2); }
  70% { opacity: 1; transform: scale(1.12); }
  82% { transform: scale(0.98); }
  90%, 100% { opacity: 1; transform: scale(1); }
}

@keyframes contacto-phone-handset-hover {
  0% { opacity: 0; transform: scale(0) rotate(-14deg); }
  12% { opacity: 1; }
  26% { transform: scale(1.12) rotate(6deg); }
  36% { transform: scale(0.96) rotate(-2deg); }
  46%, 100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes contacto-phone-wave-1-hover {
  0%, 38% { opacity: 0; transform: scale(0.2); }
  50% { opacity: 1; transform: scale(1.12); }
  62% { transform: scale(0.98); }
  70%, 100% { opacity: 1; transform: scale(1); }
}

@keyframes contacto-phone-wave-2-hover {
  0%, 58% { opacity: 0; transform: scale(0.2); }
  70% { opacity: 1; transform: scale(1.12); }
  82% { transform: scale(0.98); }
  90%, 100% { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .contacto-card--phone.reveal.visible .contacto-card__phone-handset,
  .contacto-card--phone.reveal.visible .contacto-card__phone-wave--1,
  .contacto-card--phone.reveal.visible .contacto-card__phone-wave--2,
  .contacto-card--phone.reveal.visible:hover .contacto-card__phone-handset,
  .contacto-card--phone.reveal.visible:hover .contacto-card__phone-wave--1,
  .contacto-card--phone.reveal.visible:hover .contacto-card__phone-wave--2,
  .contacto-card--whatsapp.reveal.visible .contacto-card__wa-bubble,
  .contacto-card--whatsapp.reveal.visible .contacto-card__wa-phone,
  .contacto-card--whatsapp.reveal.visible:hover .contacto-card__wa-bubble,
  .contacto-card--whatsapp.reveal.visible:hover .contacto-card__wa-phone {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.contacto-card__title {
  margin: 0;
  padding-right: 0;
  flex: 1;
  min-width: 0;
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.5px;
}

.contacto-card--whatsapp .contacto-card__icon {
  width: 42px;
  height: 42px;
}

.contacto-card--whatsapp .contacto-card__title {
  color: #445e5f;
}

.contacto-card__text {
  margin: 0;
  max-width: 320px;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: -0.3px;
}

.contacto-card--whatsapp .contacto-card__text {
  color: #294647;
}

.contacto-card__phone {
  margin-top: auto;
  padding-top: 24px;
  align-self: flex-start;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.3px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  color: inherit;
  transition: opacity 0.2s ease;
}

.contacto-card__phone:hover {
  opacity: 0.8;
}

.contacto-card--phone {
  background: #173630;
  color: #fff;
  padding: 36px 32px 32px;
}

.contacto-card--phone .contacto-card__head {
  align-items: flex-start;
  margin-bottom: 18px;
}

.contacto-card--phone .contacto-card__icon {
  width: 37px;
  height: 44px;
  margin-top: 4px;
}

.contacto-card--phone .contacto-card__title {
  color: #fff;
  font-size: clamp(2.25rem, 3.4vw, 3.25rem);
  line-height: 0.98;
}

.contacto-card--phone .contacto-card__text {
  color: #fff;
  max-width: 340px;
  font-size: 1.125rem;
  line-height: 1.45;
}

.contacto-card--phone .contacto-card__phone {
  margin-top: auto;
  padding-top: 36px;
  font-size: 1.5rem;
  color: #fff;
  text-underline-offset: 5px;
}

.page-contacto .form-title {
  font-size: 2.625rem;
  line-height: 48px;
}

/* --- Responsive (desktop → mobile) --- */

@media (max-width: 1024px) {
  .contacto-header-wrap,
  .contacto-layout {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 960px) {
  .contacto-cards {
    grid-template-columns: 1fr;
    max-width: 630px;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .contacto-header-wrap {
    padding: calc(12px + var(--safe-top)) 20px 0;
  }

  .contacto-header {
    min-height: 90px;
  }

  .contacto-header .site-header {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    height: auto;
    min-height: 90px;
    padding: 0 0 20px;
    background: transparent;
    border-radius: 0;
    box-sizing: border-box;
    align-items: flex-start;
  }

  .contacto-header .site-header__logo {
    width: 130px;
    height: 90px;
    position: relative;
  }

  .contacto-header .site-header__logo img {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
  }

  .contacto-header .site-header__logo::before {
    content: "";
    display: block;
    width: 130px;
    height: 90px;
    background: url("../../img/logo-stacked-dark.svg") left center / contain no-repeat;
  }

  .contacto-header .site-header__toggle {
    background: var(--teal);
    border-radius: 12px;
    width: 36px;
    height: 36px;
  }

  .contacto-header .site-header__toggle-bar {
    background: #fff;
  }

  .contacto-layout {
    padding-left: 20px;
    padding-right: 20px;
  }

  .contacto-hero {
    gap: 14px;
    padding-top: 0;
    padding-bottom: 24px;
  }

  .contacto-hero__title {
    font-size: 2.5rem;
    line-height: 1.08;
  }

  .contacto-hero__subtitle {
    font-size: 1rem;
    line-height: 1.45;
    max-width: 30em;
  }

  .contacto-cards {
    margin-bottom: 40px;
    gap: 16px;
  }

  .contacto-card {
    min-height: auto;
    padding: 24px 22px 26px;
    border-radius: 24px;
  }

  .contacto-card__head {
    align-items: flex-start;
    margin-bottom: 12px;
  }

  .contacto-card__title {
    font-size: 1.875rem;
    line-height: 1.1;
  }

  .contacto-card__icon {
    width: 44px;
    height: 44px;
  }

  .contacto-card__text {
    max-width: none;
    font-size: 1rem;
    line-height: 1.45;
  }

  .contacto-card__phone {
    align-self: flex-start;
    margin-top: 28px;
    padding-top: 0;
    font-size: 1.25rem;
    text-underline-offset: 5px;
  }

  .contacto-card--phone {
    padding: 28px 24px 30px;
  }

  .contacto-card--phone .contacto-card__head {
    margin-bottom: 14px;
  }

  .contacto-card--phone .contacto-card__title {
    font-size: 2.125rem;
    line-height: 1;
  }

  .contacto-card--phone .contacto-card__icon {
    width: 32px;
    height: 38px;
    margin-top: 2px;
  }

  .contacto-card--phone .contacto-card__text {
    font-size: 1rem;
    line-height: 1.45;
  }

  .contacto-card--phone .contacto-card__phone {
    margin-top: 32px;
    padding-top: 0;
    font-size: 1.375rem;
  }

  .page-contacto .form-title {
    font-size: 1.75rem;
    line-height: 1.2;
    text-align: left;
  }
}

/*=============================================================================
  PAGE — TRABAJA CON NOSOTROS
=============================================================================*/

.trabaja-hero {
  display: flex;
  align-items: center;
  justify-content: center;
}

.trabaja-hero .inner-hero__overlay {
  background: rgba(0, 0, 0, 0.3);
}

.trabaja-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  padding: 120px 20px 56px;
  max-width: 900px;
}

.trabaja-hero__title {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(3rem, 5.4vw, 4.625rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.5px;
  color: #fff;
  text-wrap: balance;
}

.trabaja-hero__title em {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-weight: 300;
}

.trabaja-hero__subtitle {
  margin: 0;
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: -0.2px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 36em;
  text-wrap: pretty;
}

.trabaja-hero__cta {
  margin-top: 8px;
}

.trabaja-hero__cta.btn--pill-arrow .btn__label {
  left: calc((100% - 57px) / 2);
  transform: translate(-50%, -50%);
}

.trabaja-hero__cta.btn--pill-arrow:hover .btn__label {
  transform: translate(-50%, -50%) translateX(var(--btn-pill-arrow-label-shift));
}

.trabaja-layout {
  max-width: 1440px;
  margin: 0 auto;
  padding: 64px 70px 80px;
}

.trabaja-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.trabaja-toolbar__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.trabaja-section-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.trabaja-section-header__eyebrow {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  color: var(--teal);
}

.trabaja-section-header__title {
  margin: 0;
  font-size: clamp(2.25rem, 3vw, 2.625rem);
  font-weight: 400;
  line-height: 1.14;
  color: var(--teal);
}

.trabaja-location {
  position: relative;
}

.trabaja-location__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 16px 0 20px;
  border-radius: var(--r-pill);
  border: 1px solid #436c6e;
  background: var(--teal);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -0.5px;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.trabaja-location__chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.trabaja-location.is-open .trabaja-location__chevron {
  transform: rotate(180deg);
}

.trabaja-location__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  min-width: 200px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(67, 108, 110, 0.2);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(23, 54, 48, 0.12);
}

.trabaja-location__menu[hidden] {
  display: none;
}

.trabaja-location__option {
  padding: 10px 14px;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--teal);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.trabaja-location__option:hover,
.trabaja-location__option.is-active {
  background: var(--bg-light);
}

.trabaja-location__option.is-active {
  font-weight: 500;
}

.trabaja-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.trabaja-filter {
  height: 38px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  border: 1px solid #436c6e;
  background: transparent;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #436c6e;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.trabaja-filter:hover {
  background: rgba(41, 70, 71, 0.08);
}

.trabaja-filter.is-active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.trabaja-jobs-wrap {
  position: relative;
}

.trabaja-jobs.is-hidden {
  display: none;
}

.trabaja-jobs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.trabaja-job-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 18px 18px 18px;
  min-height: 312px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.trabaja-job-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(23, 54, 48, 0.10);
}

.trabaja-job-card:hover .trabaja-job-card__arrow {
  background: var(--dark);
  transform: scale(1.08);
}

.trabaja-job-card.is-hidden {
  display: none;
}

.trabaja-jobs-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 320px;
  padding: 48px 32px;
  background: #fff;
  border-radius: 20px;
  text-align: center;
}

.trabaja-jobs-empty.is-hidden {
  display: none;
}

.trabaja-jobs-empty__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.trabaja-jobs-empty__title {
  margin: 0;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.trabaja-jobs-empty__text {
  margin: 0;
  max-width: 420px;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--teal);
}

.trabaja-jobs-empty__cta {
  margin-top: 8px;
  min-width: auto;
  padding: 0 28px;
}

.trabaja-job-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.trabaja-job-card__location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 37px;
  padding: 0 14px 0 10px;
  background: var(--bg-light);
  border-radius: 11px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  white-space: nowrap;
}

.trabaja-job-card__location svg {
  flex-shrink: 0;
}

.trabaja-job-card__schedule {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  white-space: nowrap;
}

.trabaja-job-card__title {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.17;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.trabaja-job-card__desc {
  margin: 0;
  flex: 1;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--teal);
}

.trabaja-job-card__footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid rgba(41, 70, 71, 0.12);
}

.trabaja-job-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trabaja-job-card__meta-label {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.5px;
  color: #a3a3a3;
}

.trabaja-job-card__meta-value {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.7px;
  color: var(--teal);
}

.trabaja-job-card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 38px;
  border-radius: 22px;
  background: var(--teal);
  flex-shrink: 0;
  pointer-events: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.trabaja-job-card__arrow img {
  width: 16px;
  height: 16px;
  display: block;
  transform: rotate(90deg);
  transform-origin: center;
}

@media (prefers-reduced-motion: reduce) {
  .trabaja-job-card:hover .trabaja-job-card__arrow {
    transform: none;
  }
}

.trabaja-benefits {
  background: var(--bg-light);
  overflow: hidden;
  padding-bottom: 80px;
}

.trabaja-benefits__marquee.marquee-wrap {
  padding: 72px 0 32px;
  background: transparent;
  overflow: hidden;
}

.trabaja-benefits__marquee .marquee-inner span {
  line-height: 1.12;
  padding-bottom: 0.06em;
}

.trabaja-benefits__body {
  max-width: 1440px;
  margin: 0 auto;
  padding: 48px 70px 0;
}

.trabaja-benefits__subtitle {
  margin: 0 0 48px;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 400;
  line-height: 1.18;
  color: var(--teal);
}

.trabaja-benefits__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.trabaja-benefit-card {
  position: relative;
  border-radius: var(--r-card);
  padding: 38px 30px 38px;
  min-height: 265px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
}

.trabaja-benefit-card--light {
  background: #fff;
}

.trabaja-benefit-card--teal {
  background: #445e5f;
}

.trabaja-benefit-card--dark {
  background: #222f30;
}

.trabaja-benefit-card__icon {
  position: absolute;
  top: 38px;
  right: 30px;
  width: 48px;
  height: 39px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trabaja-benefit-card__icon img,
.trabaja-benefit-card__svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.trabaja-benefit-card__svg--capacitacion,
.trabaja-benefit-card__svg--flexibilidad,
.trabaja-benefit-card__svg--respaldo {
  overflow: visible;
}

.trabaja-benefit-card__capacitacion-board {
  fill: #294647;
  transform-origin: center;
  transform-box: fill-box;
}

.trabaja-benefit-card__capacitacion-base {
  fill: #294647;
  transform-origin: center top;
  transform-box: fill-box;
}

.trabaja-benefits__body.reveal.visible .trabaja-benefit-card__capacitacion-board {
  animation: trabaja-capacitacion-board 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

.trabaja-benefits__body.reveal.visible .trabaja-benefit-card__capacitacion-base {
  animation: trabaja-capacitacion-base 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

.trabaja-benefits__body.reveal.visible .trabaja-benefit-card:hover .trabaja-benefit-card__capacitacion-board {
  animation: trabaja-capacitacion-board-hover 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

.trabaja-benefits__body.reveal.visible .trabaja-benefit-card:hover .trabaja-benefit-card__capacitacion-base {
  animation: trabaja-capacitacion-base-hover 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

@keyframes trabaja-capacitacion-board {
  0% { opacity: 0; transform: scale(0) rotate(-16deg); }
  12% { opacity: 1; }
  26% { transform: scale(1.12) rotate(5deg); }
  36% { transform: scale(0.96) rotate(-2deg); }
  46%, 100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes trabaja-capacitacion-base {
  0%, 42% { opacity: 0; transform: scale(0) translateY(-4px); }
  54% { opacity: 1; }
  68% { transform: scale(1.12) translateY(0); }
  78% { transform: scale(0.96); }
  88%, 100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes trabaja-capacitacion-board-hover {
  0% { opacity: 0; transform: scale(0) rotate(-16deg); }
  12% { opacity: 1; }
  26% { transform: scale(1.12) rotate(5deg); }
  36% { transform: scale(0.96) rotate(-2deg); }
  46%, 100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes trabaja-capacitacion-base-hover {
  0%, 42% { opacity: 0; transform: scale(0) translateY(-4px); }
  54% { opacity: 1; }
  68% { transform: scale(1.12) translateY(0); }
  78% { transform: scale(0.96); }
  88%, 100% { opacity: 1; transform: scale(1) translateY(0); }
}

.trabaja-benefit-card__flexibilidad-disc,
.trabaja-benefit-card__flexibilidad-hands {
  transform-origin: 19.5px 19.5px;
  transform-box: view-box;
}

.trabaja-benefit-card__flexibilidad-disc {
  fill: #294647;
}

.trabaja-benefit-card__flexibilidad-hands {
  fill: #ffffff;
}

.trabaja-benefits__body.reveal.visible .trabaja-benefit-card__flexibilidad-disc {
  animation: trabaja-flexibilidad-disc 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

.trabaja-benefits__body.reveal.visible .trabaja-benefit-card__flexibilidad-hands {
  animation: trabaja-flexibilidad-hands 1.8s cubic-bezier(0.34, 1.35, 0.5, 1) both;
}

.trabaja-benefits__body.reveal.visible .trabaja-benefit-card:hover .trabaja-benefit-card__flexibilidad-disc {
  animation: trabaja-flexibilidad-disc-hover 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

.trabaja-benefits__body.reveal.visible .trabaja-benefit-card:hover .trabaja-benefit-card__flexibilidad-hands {
  animation: trabaja-flexibilidad-hands-hover 1.8s cubic-bezier(0.34, 1.35, 0.5, 1) both;
}

@keyframes trabaja-flexibilidad-disc {
  0% { opacity: 0; transform: scale(0); }
  12% { opacity: 1; }
  30% { transform: scale(1.1); }
  44% { transform: scale(0.97); }
  56%, 100% { opacity: 1; transform: scale(1); }
}

@keyframes trabaja-flexibilidad-hands {
  0%, 40% { opacity: 0; transform: rotate(-150deg); }
  52% { opacity: 1; }
  74% { transform: rotate(12deg); }
  86% { transform: rotate(-4deg); }
  94%, 100% { opacity: 1; transform: rotate(0); }
}

@keyframes trabaja-flexibilidad-disc-hover {
  0% { opacity: 0; transform: scale(0); }
  12% { opacity: 1; }
  30% { transform: scale(1.1); }
  44% { transform: scale(0.97); }
  56%, 100% { opacity: 1; transform: scale(1); }
}

@keyframes trabaja-flexibilidad-hands-hover {
  0%, 40% { opacity: 0; transform: rotate(-150deg); }
  52% { opacity: 1; }
  74% { transform: rotate(12deg); }
  86% { transform: rotate(-4deg); }
  94%, 100% { opacity: 1; transform: rotate(0); }
}

.trabaja-benefit-card__respaldo-head,
.trabaja-benefit-card__respaldo-hand {
  fill: #ffffff;
  transform-box: fill-box;
}

.trabaja-benefit-card__respaldo-head {
  transform-origin: center;
}

.trabaja-benefit-card__respaldo-hand {
  transform-origin: center bottom;
}

.trabaja-benefits__body.reveal.visible .trabaja-benefit-card__respaldo-head {
  animation: trabaja-respaldo-head 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

.trabaja-benefits__body.reveal.visible .trabaja-benefit-card__respaldo-hand {
  animation: trabaja-respaldo-hand 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

.trabaja-benefits__body.reveal.visible .trabaja-benefit-card:hover .trabaja-benefit-card__respaldo-head {
  animation: trabaja-respaldo-head-hover 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

.trabaja-benefits__body.reveal.visible .trabaja-benefit-card:hover .trabaja-benefit-card__respaldo-hand {
  animation: trabaja-respaldo-hand-hover 1.8s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

@keyframes trabaja-respaldo-head {
  0% { opacity: 0; transform: scale(0) rotate(-12deg); }
  12% { opacity: 1; }
  28% { transform: scale(1.14) rotate(4deg); }
  40% { transform: scale(0.95) rotate(-1deg); }
  52%, 100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes trabaja-respaldo-hand {
  0%, 40% { opacity: 0; transform: translateY(7px) scale(0.85); }
  54% { opacity: 1; }
  72% { transform: translateY(-1.5px) scale(1.04); }
  84% { transform: translateY(0) scale(0.99); }
  92%, 100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes trabaja-respaldo-head-hover {
  0% { opacity: 0; transform: scale(0) rotate(-12deg); }
  12% { opacity: 1; }
  28% { transform: scale(1.14) rotate(4deg); }
  40% { transform: scale(0.95) rotate(-1deg); }
  52%, 100% { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes trabaja-respaldo-hand-hover {
  0%, 40% { opacity: 0; transform: translateY(7px) scale(0.85); }
  54% { opacity: 1; }
  72% { transform: translateY(-1.5px) scale(1.04); }
  84% { transform: translateY(0) scale(0.99); }
  92%, 100% { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .trabaja-benefits__body.reveal.visible .trabaja-benefit-card__capacitacion-board,
  .trabaja-benefits__body.reveal.visible .trabaja-benefit-card__capacitacion-base,
  .trabaja-benefits__body.reveal.visible .trabaja-benefit-card:hover .trabaja-benefit-card__capacitacion-board,
  .trabaja-benefits__body.reveal.visible .trabaja-benefit-card:hover .trabaja-benefit-card__capacitacion-base,
  .trabaja-benefits__body.reveal.visible .trabaja-benefit-card__flexibilidad-disc,
  .trabaja-benefits__body.reveal.visible .trabaja-benefit-card__flexibilidad-hands,
  .trabaja-benefits__body.reveal.visible .trabaja-benefit-card:hover .trabaja-benefit-card__flexibilidad-disc,
  .trabaja-benefits__body.reveal.visible .trabaja-benefit-card:hover .trabaja-benefit-card__flexibilidad-hands,
  .trabaja-benefits__body.reveal.visible .trabaja-benefit-card__respaldo-head,
  .trabaja-benefits__body.reveal.visible .trabaja-benefit-card__respaldo-hand,
  .trabaja-benefits__body.reveal.visible .trabaja-benefit-card:hover .trabaja-benefit-card__respaldo-head,
  .trabaja-benefits__body.reveal.visible .trabaja-benefit-card:hover .trabaja-benefit-card__respaldo-hand {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.trabaja-benefit-card__icon--clock {
  width: 39px;
  height: 39px;
}

.trabaja-benefit-card__title {
  margin: 0 60px 28px 0;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.5px;
}

.trabaja-benefit-card__title em {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-weight: 300;
}

.trabaja-benefit-card--light .trabaja-benefit-card__title {
  color: #445e5f;
}

.trabaja-benefit-card--teal .trabaja-benefit-card__title,
.trabaja-benefit-card--dark .trabaja-benefit-card__title {
  color: #fff;
}

.trabaja-benefit-card__text {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.5px;
}

.trabaja-benefit-card--light .trabaja-benefit-card__text {
  color: var(--teal);
}

.trabaja-benefit-card--teal .trabaja-benefit-card__text,
.trabaja-benefit-card--dark .trabaja-benefit-card__text {
  color: rgba(255, 255, 255, 0.85);
}

/* --- Responsive (desktop → mobile) --- */

@media (max-width: 1200px) {
  .trabaja-layout,
  .trabaja-benefits__body {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 1024px) {
  .trabaja-jobs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .trabaja-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .trabaja-toolbar__actions {
    width: 100%;
    justify-content: flex-start;
  }

  .trabaja-location {
    max-width: 100%;
  }

  .trabaja-location__btn {
    max-width: 100%;
  }

  .trabaja-location__label {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .trabaja-location__menu {
    left: 0;
    right: auto;
    min-width: 100%;
    max-width: min(280px, calc(100vw - 40px));
  }

  .trabaja-location__option {
    white-space: normal;
  }

  .trabaja-jobs {
    grid-template-columns: repeat(2, 1fr);
  }

  .trabaja-benefits__cards {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .trabaja-benefit-card {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .trabaja-layout,
  .trabaja-benefits__body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .trabaja-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .trabaja-toolbar__actions {
    width: 100%;
    justify-content: flex-start;
  }

  .trabaja-layout {
    padding-top: 48px;
    padding-bottom: 56px;
  }

  .trabaja-hero {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .trabaja-hero__content {
    /* mismo eje y aire que nosotros/servicios: logo + 20px */
    padding: calc(16px + 90px + 20px) 16px 48px;
    align-items: flex-start;
    text-align: left;
    margin: 0;
    max-width: none;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
  }

  .trabaja-hero__cta.btn--pill-arrow:hover .btn__label {
    transform: translate(-50%, -50%);
  }

  .trabaja-hero__title {
    font-size: clamp(2.5rem, 9vw, 3.25rem);
    line-height: 1.08;
  }

  .trabaja-hero__subtitle {
    font-size: 1rem;
    line-height: 1.5;
    max-width: none;
    letter-spacing: -0.15px;
  }

  .trabaja-jobs {
    grid-template-columns: 1fr;
  }

  .trabaja-job-card {
    min-height: auto;
  }

  .trabaja-job-card__location {
    height: 28px;
    padding: 0 10px 0 8px;
    gap: 6px;
    font-size: 0.6125rem;
    letter-spacing: 1.4px;
  }

  .trabaja-job-card__location svg {
    width: 9px;
    height: 12px;
  }

  .trabaja-job-card__schedule {
    font-size: 0.6125rem;
    letter-spacing: 1.4px;
  }

  .trabaja-benefits__marquee.marquee-wrap {
    padding-top: 48px;
    padding-bottom: 24px;
  }

  .trabaja-benefits__subtitle {
    font-size: 1.625rem;
  }

  .trabaja-benefit-card__title {
    font-size: 2rem;
  }

  .trabaja-benefit-card__text {
    font-size: 1.0625rem;
  }
}

/*=============================================================================
  PAGE — TRABAJO DETALLE
=============================================================================*/

.page-trabajo-detail {
  background: var(--bg-grey);
}

.page-trabajo-detail #main-content {
  padding: 0;
}

.page-trabajo-detail .novedades-header .site-header__menu a.is-active {
  color: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.page-trabajo-detail .novedades-breadcrumb {
  padding-bottom: 32px;
}

.trabajo-detail-layout {
  padding-bottom: 80px;
}

.novedades-layout .novedades-breadcrumb__current {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trabajo-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 850px) minmax(280px, 420px);
  gap: 20px;
  align-items: start;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

.trabajo-detail-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
}

.trabajo-detail-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.trabajo-detail-card__meta-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.trabajo-detail-card__schedule {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
}

.trabajo-detail-card__date {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -0.5px;
  color: rgba(41, 70, 71, 0.7);
  white-space: nowrap;
}

.trabajo-detail-card__date img {
  width: 12px;
  height: 14px;
  flex-shrink: 0;
  display: block;
}

.trabajo-detail-card__title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.2vw, 2.625rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.trabajo-detail-card__intro {
  margin: 0 0 24px;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.trabajo-detail-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.trabajo-detail-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  background: rgba(203, 209, 200, 0.2);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: #436c6e;
}

.trabajo-detail-chip img {
  width: auto;
  height: 14px;
  max-width: 18px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.trabajo-detail-card__divider {
  margin: 0 0 32px;
  border: none;
  border-top: 1px solid rgba(41, 70, 71, 0.12);
}

.trabajo-detail-section {
  margin-bottom: 40px;
}

.trabajo-detail-section:last-child {
  margin-bottom: 0;
}

.trabajo-detail-section__title {
  margin: 0 0 16px;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.33;
  color: var(--teal);
}

.trabajo-detail-section__text {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.625;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.trabajo-detail-section__text:last-child {
  margin-bottom: 0;
}

.trabajo-detail-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trabajo-detail-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.trabajo-detail-checklist img {
  width: 12px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 5px;
}

.trabajo-detail-requisitos {
  background: #f5f6f4;
  border-radius: 20px;
  padding: 28px 32px 32px;
  margin-bottom: 40px;
}

.trabajo-detail-requisitos > .trabajo-detail-section__title {
  margin-bottom: 20px;
}

.trabajo-detail-requisitos__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.trabajo-detail-requisitos__col-title {
  margin: 0 0 16px;
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--teal);
}

.trabajo-detail-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.trabajo-detail-benefit {
  background: #fff;
  border: 1px solid #dfe5dc;
  border-radius: 10px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  padding: 24px 28px 20px;
  min-height: 182px;
}

.trabajo-detail-benefit__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.trabajo-detail-benefit__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  flex-shrink: 0;
}

.trabajo-detail-benefit__icon img {
  height: 16px;
  width: auto;
  display: block;
}

.trabajo-detail-benefit__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.trabajo-detail-benefit__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.trabajo-detail-benefit__list li {
  position: relative;
  padding-left: 14px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 17px;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.trabajo-detail-benefit__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
}

.trabajo-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
}

.trabajo-detail-apply {
  background: rgba(78, 172, 70, 0.5);
  border-radius: 20px;
  padding: 20px 22px 18px;
}

.trabajo-detail-apply__title {
  margin: 0 0 14px;
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.17;
  color: var(--teal);
}

.trabajo-detail-apply__row {
  display: flex;
  align-items: flex-end;
  gap: 14px;
}

.trabajo-detail-apply__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  width: auto;
  height: 48px;
  border: none;
  border-radius: 50px;
  background: var(--dark);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.5px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.trabajo-detail-apply__btn:hover {
  background: var(--green);
  color: #fff;
}

.trabajo-detail-apply__btn img,
.trabajo-detail-apply__btn .trabajo-detail-send {
  width: 14px;
  height: 14px;
  display: block;
  flex-shrink: 0;
  overflow: visible;
}

.trabajo-detail-send__plane {
  fill: #ffffff;
  transform-origin: center;
  transform-box: fill-box;
}

.trabajo-detail-apply__btn:hover .trabajo-detail-send__plane,
.trabajo-detail-apply-bar__btn:hover .trabajo-detail-send__plane {
  animation: trabajo-send-fly 1.5s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

@keyframes trabajo-send-fly {
  0% { opacity: 0; transform: translate(-9px, 9px) scale(0.55) rotate(-10deg); }
  45% { opacity: 1; }
  70% { transform: translate(2.5px, -2.5px) scale(1.06) rotate(2deg); }
  85% { transform: translate(0, 0) scale(0.98) rotate(0); }
  100% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0); }
}

@media (prefers-reduced-motion: reduce) {
  .trabajo-detail-apply__btn:hover .trabajo-detail-send__plane,
  .trabajo-detail-apply-bar__btn:hover .trabajo-detail-send__plane {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.trabajo-detail-apply__share {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex-shrink: 0;
}

.trabajo-detail-apply__share-label {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.trabajo-detail-apply__share-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.trabajo-detail-apply__share-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(67, 108, 110, 0.2);
  transition: background 0.2s ease;
}

.trabajo-detail-apply__share-icons a:hover {
  background: rgba(255, 255, 255, 0.85);
}

.trabajo-detail-apply__share-icons img {
  width: auto;
  height: 16px;
  display: block;
}

.trabajo-detail-related__title {
  margin: 0 0 20px;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.17;
  letter-spacing: -0.5px;
  color: var(--teal);
}

.trabajo-detail-related .trabaja-job-card {
  min-height: 280px;
}

.trabajo-detail-related .trabaja-jobs {
  grid-template-columns: 1fr;
  gap: 20px;
}

.trabajo-detail-apply-bar {
  display: none;
}

/* --- Responsive (desktop → mobile) --- */

@media (max-width: 1200px) {
  .trabajo-detail-grid {
    grid-template-columns: 1fr;
  }

  .trabajo-detail-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .trabajo-detail-apply-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 140;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(41, 70, 71, 0.1);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .trabajo-detail-apply-bar.is-hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
  }

  .trabajo-detail-apply-bar__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 50px;
    background: var(--dark);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.2px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, opacity 0.25s ease;
  }

  .trabajo-detail-apply-bar__btn:hover {
    background: var(--green);
    color: #fff;
  }

  .trabajo-detail-apply-bar__btn img,
  .trabajo-detail-apply-bar__btn .trabajo-detail-send {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
    overflow: visible;
  }

  .trabajo-detail-apply__btn {
    flex: none;
    width: 100%;
    min-height: 56px;
    height: 56px;
    font-size: 1.125rem;
    font-weight: 600;
    gap: 10px;
    padding: 0 24px;
    box-sizing: border-box;
  }

  .trabajo-detail-apply__btn img,
  .trabajo-detail-apply__btn .trabajo-detail-send {
    width: 18px;
    height: 18px;
  }

  .trabajo-detail-apply__row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .page-trabajo-detail .trabajo-detail-layout {
    padding-bottom: calc(56px + 76px + env(safe-area-inset-bottom, 0px));
  }

  .page-trabajo-detail.trabajo-apply-bar-hidden .trabajo-detail-layout {
    padding-bottom: 56px;
  }

  .page-trabajo-detail:not(.trabajo-apply-bar-hidden) .whatsapp-widget {
    bottom: calc(92px + env(safe-area-inset-bottom, 0px));
    gap: 0;
    transition: bottom 0.3s ease;
  }

  .page-trabajo-detail:not(.trabajo-apply-bar-hidden) .whatsapp-bubble {
    display: none;
  }

  .page-trabajo-detail.trabajo-apply-bar-hidden .whatsapp-widget {
    bottom: 24px;
  }

  .page-trabajo-detail.trabajo-apply-bar-hidden .whatsapp-bubble {
    display: flex;
  }

  .trabajo-detail-card {
    padding: 24px 20px;
  }

  .trabajo-detail-requisitos {
    padding: 24px 20px;
  }

  .trabajo-detail-requisitos__grid,
  .trabajo-detail-benefits {
    grid-template-columns: 1fr;
  }

  .trabajo-detail-card__meta {
    flex-direction: column;
    align-items: stretch;
  }

  .trabajo-detail-card__meta-left {
    width: 100%;
    justify-content: space-between;
  }

  .trabajo-detail-card__schedule {
    font-size: 0.6125rem;
    letter-spacing: 1.4px;
    margin-left: auto;
    text-align: right;
  }

  .trabajo-detail-apply__share {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .trabajo-detail-apply__share-icons {
    justify-content: flex-start;
  }
}

/*=============================================================================
  CV APPLY MODAL — Trabajo detalle
=============================================================================*/

.cv-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.cv-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cv-modal[hidden] {
  display: none;
}

.cv-modal.is-open[hidden] {
  display: flex;
}

.cv-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 54, 48, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.cv-modal__dialog {
  position: relative;
  z-index: 1;
  flex: 0 1 auto;
  width: min(640px, 100%);
  max-height: min(90vh, 90dvh, 820px);
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding: 36px 36px 32px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cv-modal.is-open .cv-modal__dialog {
  transform: none;
}

.cv-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(41, 70, 71, 0.08);
  cursor: pointer;
  transition: background 0.2s ease;
}

.cv-modal__close:hover {
  background: rgba(41, 70, 71, 0.14);
}

.cv-modal__close-icon {
  position: relative;
  width: 14px;
  height: 14px;
}

.cv-modal__close-icon::before,
.cv-modal__close-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--teal);
}

.cv-modal__close-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.cv-modal__close-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.cv-modal__eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.cv-modal__title {
  margin: 0 0 12px;
  max-width: 16em;
  color: var(--teal);
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.4px;
}

.cv-modal__title em {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  color: var(--green);
}

.cv-modal__subtitle {
  margin: 0 0 28px;
  max-width: 34em;
  color: rgba(41, 70, 71, 0.78);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.cv-modal__subtitle strong {
  color: var(--teal);
  font-weight: 600;
}

.cv-modal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

.cv-modal__grid .form-field {
  margin-bottom: 22px;
}

.cv-modal__grid .form-field--full {
  grid-column: 1 / -1;
}

.cv-modal__grid .form-field > label {
  font-size: 1rem;
  line-height: 1.3;
  margin-bottom: 6px;
}

.cv-modal__grid .form-field input,
.cv-modal__grid .form-field textarea {
  width: 100%;
  padding: 6px 0;
  border: none;
  border-bottom: 1px solid rgba(41, 70, 71, 0.18);
  background: transparent;
  color: var(--teal);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  outline: none;
  resize: vertical;
  transition: border-color 0.25s;
}

.cv-modal__grid .form-field input::placeholder,
.cv-modal__grid .form-field textarea::placeholder {
  color: rgba(41, 70, 71, 0.35);
}

.cv-modal__grid .form-field input:focus,
.cv-modal__grid .form-field textarea:focus {
  border-bottom-color: var(--teal);
}

.cv-modal__grid .form-field.error input,
.cv-modal__grid .form-field.error textarea,
.cv-modal__grid .form-field.error .cv-modal__file {
  border-bottom-color: #c0392b;
}

.cv-modal__file {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 0 12px;
  border-bottom: 1px solid rgba(41, 70, 71, 0.18);
}

.cv-modal__file input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.cv-modal__file-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 50px;
  background: rgba(41, 70, 71, 0.08);
  color: var(--teal);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  pointer-events: none;
  transition: background 0.2s ease;
}

.cv-modal__file:hover .cv-modal__file-btn {
  background: rgba(41, 70, 71, 0.14);
}

.cv-modal__file-name {
  color: rgba(41, 70, 71, 0.55);
  font-size: 0.875rem;
  line-height: 1.3;
  word-break: break-word;
}

.cv-modal__file.has-file .cv-modal__file-name {
  color: var(--teal);
}

.cv-modal__note {
  margin: 4px 0 24px;
  color: #797979;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.cv-modal__actions {
  display: flex;
  justify-content: flex-start;
}

.cv-modal__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 200px;
  height: 48px;
  padding: 0 24px;
  border: none;
  border-radius: 50px;
  background: var(--dark);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.3px;
  cursor: pointer;
  transition: background 0.25s ease;
}

.cv-modal__submit:hover {
  background: var(--green);
}

.cv-modal__submit .trabajo-detail-send {
  width: 14px;
  height: 14px;
  overflow: visible;
}

.cv-modal__submit:hover .trabajo-detail-send__plane {
  animation: trabajo-send-fly 1.5s cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

.cv-modal__success {
  padding-top: 12px;
  padding-bottom: 8px;
}

.cv-modal__success .cv-modal__submit {
  margin-top: 8px;
}

body.cv-modal-open {
  overflow: hidden;
}

html.lenis.lenis-stopped {
  overflow: hidden;
}

@media (max-width: 768px) {
  .cv-modal {
    padding: 12px;
    align-items: flex-end;
  }

  .cv-modal__dialog {
    width: 100%;
    max-height: min(92vh, 92dvh, 900px);
    min-height: 0;
    padding: 28px 20px 24px;
    border-radius: 24px 24px 16px 16px;
  }

  .cv-modal__grid {
    grid-template-columns: 1fr;
  }

  .cv-modal__actions {
    width: 100%;
  }

  .cv-modal__submit {
    width: 100%;
    height: 56px;
    font-size: 1.125rem;
    font-weight: 600;
  }

  .cv-modal__submit .trabajo-detail-send {
    width: 18px;
    height: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cv-modal,
  .cv-modal__dialog {
    transition: none;
  }

  .cv-modal__submit:hover .trabajo-detail-send__plane {
    animation: none;
  }
}

/*=============================================================================
  PAGE — EXPERIENCIAS
=============================================================================*/

.page-experiencias {
  background: var(--bg-grey);
}

.page-experiencias #main-content {
  padding: 0;
}

.page-experiencias .novedades-layout {
  padding-bottom: 24px;
}

.page-experiencias .novedades-breadcrumb {
  padding-bottom: 32px;
}

.exp-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  padding: 0 0 56px;
  max-width: 787px;
  margin: 0 auto;
}

.exp-hero__eyebrow {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #294647;
}

.exp-hero__title {
  margin: 0;
  font-size: clamp(2.75rem, 5.2vw, 4.625rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.5px;
  color: #173630;
}

.exp-hero__subtitle {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 22px;
  letter-spacing: -0.3px;
  color: #436c6e;
}

.exp-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto 105px;
  perspective: 1200px;
}

.exp-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: stretch;
  min-height: 410px;
  border-radius: 30px;
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow 0.35s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .exp-card.is-magnetic {
    box-shadow:
      0 18px 40px rgba(23, 54, 48, 0.14),
      0 4px 12px rgba(23, 54, 48, 0.08);
    z-index: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .exp-card {
    will-change: auto;
    transition: none;
  }
}

.exp-card--praise {
  background: #fff;
}

.exp-card--feedback {
  background: #dfe5dc;
}

.exp-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 24px 36px 34px;
  min-width: 0;
}

.exp-card__title {
  margin: 0 0 24px;
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2rem, 3vw, 2.625rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #445e5f;
}

.exp-card__text {
  margin: 0 0 auto;
  max-width: 260px;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: -0.3px;
  color: #294647;
}

.exp-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 192px;
  height: 57px;
  margin-top: 27px;
  padding: 0 20px;
  border-radius: 50px;
  background: #294647;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, transform 0.2s ease, background 0.25s ease;
}

.exp-card__media {
  position: relative;
  margin: 36px 34px 36px 0;
  border-radius: 10px;
  overflow: hidden;
  min-height: 342px;
}

.exp-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-experiencias-felicitar .novedades-layout {
  padding-bottom: 0;
}

.exp-form-section {
  padding: 8px 42px 100px;
}

.exp-form-hero {
  max-width: 670px;
  margin: 0 auto 48px;
  text-align: center;
}

.exp-form-hero__photos {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.exp-form-hero__photo-stack {
  position: relative;
  width: 124px;
  height: 122px;
  margin: 0 auto;
  overflow: visible;
}

.exp-form-hero__photo {
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -48px;
  width: 96px;
  height: 122px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  box-shadow: 0 8px 24px rgba(23, 54, 48, 0.14);
  transform-origin: 50% 90%;
  will-change: transform;
  transition: transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
}

.exp-form-hero__photo--left {
  z-index: 1;
  transform: translate3d(6px, 2px, 0) rotate(-1deg);
}

.exp-form-hero__photo--right {
  z-index: 2;
  transform: translate3d(-6px, -4px, 0) rotate(1deg) scale(0.96);
}

.exp-form-hero__photo-stack.is-open .exp-form-hero__photo--left {
  transform: translate3d(-22px, 2px, 0) rotate(-7deg);
}

.exp-form-hero__photo-stack.is-open .exp-form-hero__photo--right {
  transform: translate3d(22px, 0, 0) rotate(7deg) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .exp-form-hero__photo {
    transition: none;
  }
}

.exp-form-hero__copy {
  text-align: center;
}

.exp-form-hero__title {
  margin: 0 0 16px;
  font-size: clamp(2.125rem, 4vw, 2.625rem);
  font-weight: 400;
  line-height: 1.1;
  color: #294647;
}

.exp-form-hero__desc {
  margin: 0 auto;
  max-width: 496px;
  font-size: 1rem;
  font-weight: 300;
  line-height: 24px;
  color: #294647;
}

.page-experiencias-felicitar .form-grid {
  max-width: 857px;
}

.page-experiencias-felicitar .form-note {
  text-align: center;
}

.form-field--full {
  grid-column: 1 / -1;
}

.page-experiencias-felicitar .form-field select,
.page-experiencias-felicitar .form-field textarea {
  width: 100%;
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 26px;
  color: var(--teal);
  outline: none;
  transition: border-color 0.25s;
}

.page-experiencias-felicitar .form-field select {
  padding: 8px 28px 8px 0;
  border: none;
  border-bottom: 1px solid rgba(41, 70, 71, 0.18);
  background: transparent url("data:image/svg+xml,%3Csvg width='18' height='10' viewBox='0 0 18 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L9 8.5L17 1.5' stroke='%23294647' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 2px center;
  appearance: none;
  cursor: pointer;
}

.page-experiencias-felicitar .form-field select:invalid {
  color: rgba(41, 70, 71, 0.35);
}

.page-experiencias-felicitar .form-field select option {
  color: var(--teal);
}

.page-experiencias-felicitar .form-field select:focus {
  border-bottom-color: var(--teal);
}

.form-field--date .form-field__control {
  position: relative;
}

.form-field--date input[type="date"] {
  padding-right: 36px;
  color: var(--teal);
  cursor: pointer;
}

.form-field--date input[type="date"]:invalid {
  color: rgba(41, 70, 71, 0.35);
}

.form-field--date input[type="date"]:focus,
.form-field--date input[type="date"]:valid {
  color: var(--teal);
}

.form-field--date input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 36px;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.form-field__date-icon {
  position: absolute;
  right: 0;
  bottom: 10px;
  width: 22px;
  height: 20px;
  pointer-events: none;
  display: block;
}

.page-experiencias-felicitar .form-field textarea {
  min-height: 115px;
  margin-top: 4px;
  padding: 16px 18px;
  border: 1px solid #294647;
  border-radius: 10px;
  background: #fff;
  resize: vertical;
}

.page-experiencias-felicitar .form-field textarea::placeholder {
  color: rgba(41, 70, 71, 0.35);
}

.page-experiencias-felicitar .form-field:focus-within textarea {
  border-color: var(--teal);
}

.page-experiencias-felicitar .form-field.error select,
.page-experiencias-felicitar .form-field.error textarea {
  border-color: #c0392b;
  animation: fieldShake 0.35s;
}

.page-experiencias-felicitar .form-field.error select {
  border-bottom-color: #c0392b;
}

.page-experiencias-reclamo .novedades-layout {
  padding-bottom: 0;
}

.page-experiencias-reclamo .form-grid,
.page-experiencias-reclamo-exito .form-grid {
  max-width: 857px;
}

.page-experiencias-reclamo .form-note {
  text-align: center;
}

.exp-form-hero--no-photos {
  padding-top: 32px;
}

.page-experiencias-reclamo .form-field select,
.page-experiencias-reclamo .form-field textarea {
  width: 100%;
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 26px;
  color: var(--teal);
  outline: none;
  transition: border-color 0.25s;
}

.page-experiencias-reclamo .form-field select {
  padding: 8px 28px 8px 0;
  border: none;
  border-bottom: 1px solid rgba(41, 70, 71, 0.18);
  background: transparent url("data:image/svg+xml,%3Csvg width='18' height='10' viewBox='0 0 18 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L9 8.5L17 1.5' stroke='%23294647' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 2px center;
  appearance: none;
  cursor: pointer;
}

.page-experiencias-reclamo .form-field select:invalid {
  color: rgba(41, 70, 71, 0.35);
}

.page-experiencias-reclamo .form-field select option {
  color: var(--teal);
}

.page-experiencias-reclamo .form-field select:focus {
  border-bottom-color: var(--teal);
}

.page-experiencias-reclamo .form-field textarea {
  min-height: 115px;
  margin-top: 4px;
  padding: 16px 18px;
  border: 1px solid #294647;
  border-radius: 10px;
  background: #fff;
  resize: vertical;
}

.page-experiencias-reclamo .form-field textarea::placeholder {
  color: rgba(41, 70, 71, 0.35);
}

.page-experiencias-reclamo .form-field:focus-within textarea {
  border-color: var(--teal);
}

.page-experiencias-reclamo .form-field.error select {
  border-bottom-color: #c0392b;
  animation: fieldShake 0.35s;
}

.page-experiencias-reclamo .form-field.error textarea {
  border-color: #c0392b;
  animation: fieldShake 0.35s;
}

.form-grid-row--pair {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 22px;
  margin-bottom: 41px;
}

.form-grid-row--pair .form-field {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-grid-row--pair .form-field > label {
  flex-shrink: 0;
  margin-bottom: 10px;
}

.form-grid-row--pair .form-field__control {
  flex: 0 0 44px;
  height: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.form-grid-row--pair .form-field--select .form-field__control {
  border-bottom: 1px solid rgba(41, 70, 71, 0.18);
}

.form-grid-row--pair .form-field .field-error {
  position: absolute;
  left: 0;
  top: calc(100% + 7px);
  margin-top: 0;
}

.form-field--radio .form-field__control,
.form-field--select .form-field__control {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 42px;
}

.form-grid-row--pair .form-field--radio .form-field__control,
.form-grid-row--pair .form-field--select .form-field__control {
  flex: 0 0 44px;
  justify-content: center;
}

.form-field--radio {
  display: flex;
  flex-direction: column;
}

.form-field--radio > label {
  margin-bottom: 10px;
}

.form-grid-row--pair .form-field__radios {
  min-height: 0;
  height: auto;
  padding: 0;
  border-bottom: none;
}

.form-field__radios {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 100%;
  min-height: 42px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(41, 70, 71, 0.18);
  box-sizing: border-box;
}

.page-experiencias-reclamo .form-grid-row--pair .form-field select {
  height: 100%;
  padding: 0 28px 0 0;
  border-bottom: none;
  line-height: 26px;
}

.page-experiencias-reclamo .form-grid-row--pair .form-field.error select {
  border-bottom: none;
}

.page-experiencias-reclamo .form-grid-row--pair .form-field--select.error .form-field__control {
  border-bottom-color: #c0392b;
  animation: fieldShake 0.35s;
}

.form-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 26px;
  color: var(--teal);
  user-select: none;
}

.form-radio input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.form-radio__mark {
  flex-shrink: 0;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1.5px solid rgba(41, 70, 71, 0.45);
  background: transparent;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.form-radio__mark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.18s ease;
}

.form-radio input[type="radio"]:checked + .form-radio__mark {
  background: var(--teal);
  border-color: var(--teal);
}

.form-radio input[type="radio"]:checked + .form-radio__mark::after {
  transform: translate(-50%, -50%) scale(1);
}

.form-radio:hover .form-radio__mark {
  border-color: var(--teal);
}

.exp-success-section {
  padding: 8px 42px 100px;
}

.page-experiencias-felicitar-exito .novedades-layout,
.page-experiencias-reclamo-exito .novedades-layout {
  padding-bottom: 0;
}

.page-experiencias-felicitar-exito .exp-form-hero,
.page-experiencias-reclamo-exito .exp-form-hero {
  margin-bottom: 40px;
}

.exp-success-card {
  display: flex;
  flex-direction: column;
  max-width: 672px;
  margin: 0 auto;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
}

.exp-success-card__img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center center;
  display: block;
  flex-shrink: 0;
  background: #dfe5dc;
}

.exp-success-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 40px 44px;
  gap: 16px;
}

.exp-success-card__title {
  margin: 0;
  font-size: clamp(1.75rem, 3.5vw, 2.375rem);
  font-weight: 400;
  line-height: 1.15;
  color: #1a1a1a;
}

.exp-success-card__text {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 28px;
  color: #1a1a1a;
  max-width: 440px;
}

.exp-success-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 57px;
  margin-top: 8px;
  padding: 0 28px;
  border-radius: 50px;
  background: #294647;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, transform 0.2s ease;
}

/* Teal solid CTAs — unified hover */
.btn--solid:hover,
.btn--solid:focus-visible,
.btn--plan-filled:hover,
.btn--plan-filled:focus-visible,
.btn--catalog:hover,
.btn--catalog:focus-visible,
.plan-detail-card__cta:hover,
.plan-detail-card__cta:focus-visible,
.trabaja-location__btn:hover,
.trabaja-location__btn:focus-visible,
.form-success-card__btn:hover,
.form-success-card__btn:focus-visible,
.exp-card__btn:hover,
.exp-card__btn:focus-visible,
.exp-card:hover .exp-card__btn,
.exp-card:focus-visible .exp-card__btn,
.exp-success-card__btn:hover,
.exp-success-card__btn:focus-visible {
  opacity: 1;
  color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
  transform: none;
}

/* --- Responsive (desktop → mobile) --- */

@media (max-width: 1200px) {
  .exp-cards {
    margin-bottom: 80px;
  }
}

@media (max-width: 1024px) {
  .exp-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .exp-card__media {
    order: -1;
    margin: 20px 28px 0;
    min-height: 280px;
    aspect-ratio: 270 / 342;
  }

  .exp-card__body {
    padding: 24px 28px 32px;
  }

  .exp-card__text {
    max-width: none;
  }

  .exp-card__btn {
    margin-top: 24px;
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .exp-hero {
    padding-bottom: 40px;
    gap: 20px;
    align-items: flex-start;
    text-align: left;
    max-width: none;
    margin: 0;
  }

  .exp-hero__title {
    white-space: nowrap;
    font-size: clamp(1.75rem, 8.2vw, 2.75rem);
  }

  .exp-hero__subtitle,
  .exp-form-hero__desc {
    text-wrap: pretty;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }

  .exp-form-hero {
    margin-bottom: 36px;
    max-width: none;
    text-align: left;
  }

  .exp-form-hero__copy {
    text-align: left;
  }

  .exp-form-hero__photos {
    justify-content: center;
  }

  .exp-form-hero__photo-stack {
    margin: 0 auto;
  }

  .exp-card__title br {
    display: none;
  }

  .exp-card__title {
    white-space: nowrap;
    font-size: 2rem;
    line-height: 1.15;
    margin-bottom: 16px;
  }

  .exp-card--feedback .exp-card__title {
    white-space: normal;
  }

  .exp-card--feedback .exp-card__title br {
    display: inline;
  }

  .exp-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 64px;
  }

  .exp-card__body {
    padding: 20px 20px 28px;
  }

  .exp-card__btn {
    width: 100%;
    min-width: 0;
  }

  .exp-card__media {
    margin: 16px 16px 0;
    min-height: 0;
    height: 180px;
    aspect-ratio: auto;
  }
}

@media (max-width: 768px) {
  .exp-form-section {
    padding: 8px 20px 72px;
  }

  .page-experiencias-felicitar .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-experiencias-reclamo .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid-row--pair {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
  }

  .form-grid-row--pair .form-field {
    margin-bottom: 41px;
  }
}

@media (max-width: 768px) {
  .exp-success-section {
    padding: 8px 20px 72px;
  }

  .exp-success-card__body {
    padding: 28px 24px 36px;
  }

  .exp-success-card__img {
    height: 180px;
  }

  .exp-success-card__title {
    font-size: 1.625rem;
  }

  .exp-success-card__text {
    font-size: 1rem;
    line-height: 24px;
  }

  .exp-success-card__btn {
    width: 100%;
    align-self: stretch;
    box-sizing: border-box;
  }
}

/*=============================================================================
  PAGE — 404
=============================================================================*/

body.page-404 {
  background: var(--bg-grey);
}

.page-404 #main-content {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  margin-bottom: 0 !important;
  padding: 0;
}

.page-404 .footer {
  position: static;
  height: auto;
  overflow: visible;
}

.error-404-header-wrap {
  flex-shrink: 0;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: calc(10px + var(--safe-top)) 70px 0;
}

.error-404-header {
  position: relative;
}

.error-404-header .site-header {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  height: 42px;
  margin-top: 15px;
}

.error-404-header .site-header__logo-img--light {
  display: none;
}

.error-404-header .site-header__logo-img--dark {
  display: block;
  height: 33px;
  width: auto;
}

.error-404 {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 42px 64px;
  text-align: center;
}

.error-404__code {
  margin: 0 0 12px;
  font-size: clamp(5rem, 18vw, 9rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--green);
}

.error-404__title {
  margin: 0 0 16px;
  max-width: 720px;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--teal);
}

.error-404__title em {
  color: var(--green);
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
}

.error-404__text {
  margin: 0 0 32px;
  max-width: 520px;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--teal);
}

.error-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.error-404__actions .btn--solid,
.error-404__actions .btn--plan-outline {
  width: auto;
  min-width: 200px;
  max-width: none;
  height: 60px;
  margin: 0;
  padding: 0 32px;
}

@media (max-width: 1200px) {
  .error-404-header-wrap {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 768px) {
  .error-404-header-wrap {
    padding: calc(8px + var(--safe-top)) 20px 0;
  }

  .error-404-header .site-header {
    height: auto;
    min-height: 90px;
    margin-top: 8px;
    padding: 0 0 20px;
    border-radius: 0;
    background: transparent;
    align-items: flex-start;
  }

  .error-404-header .site-header__logo {
    width: 130px;
    height: 90px;
    position: relative;
  }

  .error-404-header .site-header__logo img {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
  }

  .error-404-header .site-header__logo::before {
    content: "";
    display: block;
    width: 130px;
    height: 90px;
    background: url("../../img/logo-stacked-dark.svg") left center / contain no-repeat;
  }

  .error-404-header .site-header__toggle {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--teal);
  }

  .error-404-header .site-header__toggle-bar {
    background: #fff;
  }

  .error-404 {
    padding: 24px 20px 48px;
  }

  .error-404__actions {
    flex-direction: column;
    width: 100%;
    max-width: 360px;
  }

  .error-404__actions .btn--solid,
  .error-404__actions .btn--plan-outline {
    width: 100%;
  }
}
