/* ===================================================
   TENEBIT 2026 -- HOMEPAGE SECTIONS
   =================================================== */

/* ===================================================
   HERO
   =================================================== */
.hero {
  padding: 140px 0 80px;
  background: var(--c1);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-content h1 {
  font-family: var(--ff-h);
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--c5);
  margin-bottom: 24px;
}

.hero-content h1 span {
  color: var(--c4);
}

.hero-content .lead {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.75;
  color: var(--c6);
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-form-card {
  background: var(--c2);
  border: 1px solid var(--c3);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
}

.hero-form-card h3 {
  font-family: var(--ff-h);
  font-size: 24px;
  font-weight: 700;
  color: var(--c5);
  margin-bottom: 6px;
  text-align: center;
}

.hero-form-card .form-subtitle {
  font-size: 14px;
  color: var(--c6);
  text-align: center;
  margin-bottom: 24px;
}

.hero-form-card input,
.hero-form-card textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--c3);
  border-radius: 6px;
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--c7);
  background: var(--c1);
  margin-bottom: 12px;
  transition: var(--tr);
  outline: none;
}
.hero-form-card input:focus,
.hero-form-card textarea:focus {
  border-color: var(--c4);
  box-shadow: 0 0 0 3px rgba(167,196,18,.15);
}

.hero-form-card .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 16px;
  margin-top: 4px;
}

@media (max-width: 860px) {
  .hero { padding: 110px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-form-card { max-width: 480px; }
}

/* ===================================================
   LOGOS MARQUEE
   =================================================== */
.logos-section {
  padding: 48px 0 56px;
  background: var(--c1);
  border-top: 1px solid rgba(0,0,0,.04);
}

.logos-section h2 {
  font-family: var(--ff-h);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  color: var(--c5);
  text-align: center;
  margin-bottom: 36px;
}

.logos-track {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.logos-slide {
  display: flex;
  gap: 24px;
  align-items: center;
  width: max-content;
  animation: marquee 54s linear infinite;
}

.logos-track:hover .logos-slide {
  animation-play-state: paused;
}

.logos-slide img {
  display: block;
  height: 82px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  flex: 0 0 auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  opacity: 1;
  filter: none;
  transition: var(--tr);
}

.logos-slide img:hover {
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .logos-slide {
    gap: 16px;
  }

  .logos-slide img {
    height: 66px;
    max-width: 180px;
  }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===================================================
   VIAJE DEL PACIENTE (dark section)
   =================================================== */
.viaje-wrapper {
  background: var(--c5);
  position: relative;
  overflow: hidden;
}

.viaje-wrapper::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167,196,18,.06) 0%, transparent 70%);
  pointer-events: none;
}

.viaje-section {
  padding: 80px 24px 100px;
  max-width: 1240px;
  margin: 0 auto;
}

.viaje-header {
  text-align: center;
  margin-bottom: 56px;
}

.viaje-header .section-badge {
  background: rgba(167,196,18,.1);
  border: 1px solid rgba(167,196,18,.3);
  color: var(--c4);
}

.viaje-header h2 {
  font-family: var(--ff-h);
  font-size: clamp(30px, 4.5vw, 50px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--c1);
  margin-bottom: 20px;
}

.viaje-header h2 span { color: var(--c4); }

.viaje-header p {
  max-width: 700px;
  margin: 0 auto;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.75;
  color: rgba(255,255,255,.55);
}

.viaje-header p strong {
  color: var(--c4);
  font-weight: 600;
}

/* Timeline */
.timeline-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
  padding: 0 12px;
}

.timeline-line {
  position: absolute;
  top: 50%; left: 28px; right: 28px;
  height: 3px;
  background: rgba(255,255,255,.07);
  border-radius: 3px;
  transform: translateY(-50%);
  overflow: hidden;
}

.timeline-line-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--c4), #c8e636);
  border-radius: 3px;
  transition: width .5s cubic-bezier(.4,0,.2,1);
}

.timeline-dot {
  position: relative;
  z-index: 2;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--c5-card);
  border: 2px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-sub);
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.35);
  cursor: pointer;
  transition: var(--tr);
  flex-shrink: 0;
}

.timeline-dot:hover {
  border-color: rgba(167,196,18,.4);
  color: rgba(255,255,255,.7);
  transform: scale(1.08);
}

.timeline-dot.active {
  background: var(--c4);
  border-color: var(--c4);
  color: var(--c5);
  box-shadow: 0 0 0 6px rgba(167,196,18,.2), 0 0 24px rgba(167,196,18,.3);
  transform: scale(1.15);
}

.timeline-dot.visited {
  background: var(--c5-light);
  border-color: var(--c4);
  color: var(--c4);
}

.timeline-dot-label {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-sub);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
  white-space: nowrap;
  color: rgba(255,255,255,.25);
  transition: var(--tr);
  pointer-events: none;
}

.timeline-dot.active .timeline-dot-label { color: var(--c4); }
.timeline-dot.visited .timeline-dot-label { color: rgba(167,196,18,.6); }

/* Card */
.card-stage { position: relative; min-height: 360px; }

.card-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: linear-gradient(160deg, var(--c5-card) 0%, var(--c5-card2) 100%);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(.985);
  transition: opacity .4s ease, transform .4s ease;
}

.card-inner.visible { opacity: 1; transform: translateY(0) scale(1); }

.card-left {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,.05);
  position: relative;
}

.stage-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.stage-tag-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 8px;
  font-family: var(--ff-sub);
  font-size: 15px;
  font-weight: 700;
  background: var(--c4);
  color: var(--c5);
}

.stage-tag-text {
  font-family: var(--ff-sub);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--c4);
}

.card-left h3 {
  font-family: var(--ff-h);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 14px;
  color: var(--c1);
}

.card-left p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,.5);
}

.pain-chip {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(224,0,0,.08);
  border: 1px solid rgba(224,0,0,.18);
  font-family: var(--ff-sub);
  font-size: 12px;
  font-weight: 600;
  color: var(--danger);
  align-self: flex-start;
}

.pain-chip svg { flex-shrink: 0; }

.card-right {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.sol-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-sub);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--c4);
  margin-bottom: 18px;
}

.sol-label svg { flex-shrink: 0; }

.card-right h4 {
  font-family: var(--ff-h);
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--c1);
}

.sol-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 28px;
}

.sol-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.65);
}

.sol-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--c4);
}

.sol-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  background: var(--c4);
  color: var(--c1);
  font-family: var(--ff-sub);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--tr);
  align-self: flex-start;
}
.sol-cta:hover {
  background: var(--c4-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--c4-glow);
}
.sol-cta svg { transition: transform .25s ease; }
.sol-cta:hover svg { transform: translateX(3px); }

/* Viaje nav */
.card-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.1);
  background: var(--c5-card);
  color: rgba(255,255,255,.45);
  cursor: pointer;
  transition: var(--tr);
}

.nav-btn:hover:not(:disabled) {
  border-color: var(--c4);
  color: var(--c4);
  background: rgba(167,196,18,.06);
}
.nav-btn:disabled { opacity: .25; cursor: not-allowed; }

.nav-counter {
  font-family: var(--ff-sub);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.35);
}
.nav-counter strong {
  color: var(--c4);
  font-weight: 700;
  font-size: 20px;
  margin-right: 2px;
}

.autoplay-bar {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.autoplay-track {
  width: 120px; height: 3px;
  border-radius: 3px;
  background: rgba(255,255,255,.06);
  overflow: hidden;
}
.autoplay-fill {
  height: 100%; width: 0%;
  background: var(--c4);
  border-radius: 3px;
  transition: width .1s linear;
}
.autoplay-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.08);
  background: transparent;
  color: rgba(255,255,255,.35);
  cursor: pointer;
  transition: var(--tr);
}
.autoplay-toggle:hover { border-color: var(--c4); color: var(--c4); }

.viaje-footer-cta-wrap {
  text-align: center;
  margin-top: 56px;
}
.viaje-footer-cta-wrap p {
  font-size: 16px;
  color: rgba(255,255,255,.45);
  margin-bottom: 24px;
  line-height: 1.7;
}
.viaje-footer-cta-wrap p strong {
  color: var(--c1);
  font-family: var(--ff-sub);
  font-weight: 600;
}

/* ===================================================
   3 PILARES
   =================================================== */
.pilares-section {
  padding: 100px 0;
  background: var(--c2);
}

.pilares-header {
  text-align: center;
  margin-bottom: 56px;
}

.pilares-header .section-badge {
  background: rgba(14,45,69,.06);
  border: 1px solid rgba(14,45,69,.12);
  color: var(--c5);
}

.pilares-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--c5);
  margin-bottom: 16px;
}

.pilares-header p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
  color: var(--c6);
}

.pilares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pilar-card {
  background: var(--c1);
  border: 1px solid var(--c3);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--tr);
  position: relative;
  overflow: hidden;
}

.pilar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--c4);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.pilar-card:hover::before { transform: scaleX(1); }

.pilar-card:hover {
  border-color: rgba(167,196,18,.3);
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
  transform: translateY(-4px);
}

.pilar-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(167,196,18,.1);
  color: var(--c4);
}

.pilar-card h3 {
  font-family: var(--ff-h);
  font-size: 22px;
  font-weight: 700;
  color: var(--c5);
  margin-bottom: 10px;
}

.pilar-card .pilar-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--c6);
  margin-bottom: 20px;
}

.pilar-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pilar-items li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--c7);
}

.pilar-items li svg {
  flex-shrink: 0;
  color: var(--c4);
}

.pilar-card .pilar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-sub);
  font-size: 14px;
  font-weight: 600;
  color: var(--c4);
  margin-top: 20px;
  transition: var(--tr);
}
.pilar-card .pilar-link:hover { gap: 10px; }

@media (max-width: 860px) {
  .pilares-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
}

/* ===================================================
   POR QUE TENEBIT (3 diferenciadores)
   =================================================== */
.why-section {
  padding: 100px 0;
  background: var(--c1);
}

.why-header {
  text-align: center;
  margin-bottom: 56px;
}

.why-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--c5);
  margin-bottom: 16px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-card {
  padding: 36px 28px;
  border-radius: var(--radius);
  background: var(--c5);
  color: var(--c1);
  transition: var(--tr);
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(14,45,69,.3);
}

.why-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(167,196,18,.15);
  color: var(--c4);
  margin-bottom: 20px;
}

.why-card h3 {
  font-family: var(--ff-h);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

.why-card p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,.65);
}

.why-card strong {
  color: var(--c4);
  font-weight: 600;
}

@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
}

/* ===================================================
   NUMEROS
   =================================================== */
.stats-section {
  padding: 80px 0;
  background: var(--c2);
}

.stats-header {
  text-align: center;
  margin-bottom: 48px;
}

.stats-header h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  color: var(--c5);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--c1);
  border: 1px solid var(--c3);
  border-radius: var(--radius);
  transition: var(--tr);
}

.stat-card:hover {
  border-color: var(--c4);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.stat-number {
  font-family: var(--ff-h);
  font-size: 42px;
  font-weight: 700;
  color: var(--c4);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--ff-sub);
  font-size: 14px;
  font-weight: 500;
  color: var(--c6);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===================================================
   TESTIMONIOS
   =================================================== */
.testimonials-section {
  padding: 100px 0;
  background: var(--c1);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 56px;
}

.testimonials-header h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  color: var(--c5);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--c2);
  border: 1px solid var(--c3);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--tr);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  border-color: rgba(167,196,18,.3);
  box-shadow: var(--shadow);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: var(--c4);
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c7);
  flex: 1;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--c5);
  color: var(--c1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-sub);
  font-size: 15px;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-name {
  font-family: var(--ff-sub);
  font-size: 14px;
  font-weight: 600;
  color: var(--c5);
}

.testimonial-role {
  font-size: 13px;
  color: var(--c6);
}

@media (max-width: 860px) {
  .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
}

/* ===================================================
   FAQ
   =================================================== */
.faq-section {
  padding: 100px 0;
  background: var(--c2);
}

.faq-shell {
  max-width: 920px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 40px;
}

.faq-header .section-badge {
  background: rgba(14,45,69,.06);
  border: 1px solid rgba(14,45,69,.12);
  color: var(--c5);
}

.faq-header h2 {
  font-family: var(--ff-h);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--c5);
  margin-bottom: 16px;
}

.faq-header p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: var(--c6);
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--c1);
  border: 1px solid var(--c3);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(14,45,69,.05);
  transition: border-color .24s ease, box-shadow .24s ease, transform .24s ease;
}

.faq-item:hover {
  border-color: rgba(167,196,18,.34);
  box-shadow: 0 18px 36px rgba(14,45,69,.08);
  transform: translateY(-2px);
}

.faq-item.is-open {
  border-color: rgba(167,196,18,.52);
  box-shadow: 0 22px 42px rgba(14,45,69,.1);
}

.faq-trigger {
  width: 100%;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color .24s ease;
}

.faq-trigger:hover,
.faq-trigger:focus-visible {
  background: rgba(167,196,18,.06);
}

.faq-trigger:focus-visible {
  outline: 2px solid rgba(167,196,18,.45);
  outline-offset: -2px;
}

.faq-question {
  font-family: var(--ff-h);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.28;
  color: var(--c5);
}

.faq-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(167,196,18,.12);
  color: var(--c5);
  transition: transform .25s ease, background-color .25s ease, color .25s ease, box-shadow .25s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--c4);
  color: var(--c5);
  box-shadow: 0 10px 22px rgba(167,196,18,.28);
}

.faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s ease;
}

.faq-item.is-open .faq-answer-wrap {
  grid-template-rows: 1fr;
}

.faq-answer {
  overflow: hidden;
}

.faq-answer-inner {
  padding: 2px 30px 26px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--c7);
  border-top: 1px solid rgba(14,45,69,.06);
}

.faq-answer-inner p {
  margin: 0;
}

@media (max-width: 860px) {
  .faq-section {
    padding: 76px 0;
  }

  .faq-trigger {
    padding: 20px 20px;
    gap: 14px;
  }

  .faq-question {
    font-size: 18px;
  }

  .faq-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .faq-answer-inner {
    padding: 2px 20px 20px;
    font-size: 15px;
  }
}

/* ===================================================
   MEDIA MENTIONS
   =================================================== */
.media-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--c1) 0%, rgba(244,247,250,.96) 100%);
}

.media-shell {
  position: relative;
}

.media-header {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.media-header .section-badge {
  background: rgba(167,196,18,.09);
  border: 1px solid rgba(167,196,18,.24);
  color: var(--c5);
}

.media-header h2 {
  font-family: var(--ff-h);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--c5);
  margin-bottom: 16px;
}

.media-header p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--c6);
}

.media-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.media-viewport {
  overflow: hidden;
}

.media-track {
  display: flex;
  gap: 22px;
  transition: transform .45s ease;
  will-change: transform;
}

.media-item {
  flex: 0 0 calc((100% - (22px * (var(--media-columns, 3) - 1))) / var(--media-columns, 3));
}

.media-image-link {
  display: block;
  transition: transform .28s ease, opacity .28s ease;
}

.media-image-link:hover,
.media-image-link:focus-visible {
  transform: translateY(-4px);
  opacity: .94;
}

.media-image-link:focus-visible {
  outline: 2px solid rgba(167,196,18,.42);
  outline-offset: 4px;
}

.media-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.media-nav-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(14,45,69,.12);
  background: rgba(255,255,255,.86);
  color: var(--c5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(14,45,69,.08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, opacity .25s ease;
}

.media-nav-btn svg {
  width: 20px;
  height: 20px;
}

.media-nav-btn:hover:not(:disabled),
.media-nav-btn:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(167,196,18,.34);
  box-shadow: 0 16px 34px rgba(14,45,69,.12);
}

.media-nav-btn:disabled {
  opacity: .38;
  cursor: not-allowed;
  box-shadow: none;
}

.media-dots {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.media-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(14,45,69,.18);
  transition: transform .2s ease, background-color .2s ease, width .2s ease;
}

.media-dot.is-active {
  width: 30px;
  border-radius: 999px;
  background: var(--c4);
}

@media (max-width: 860px) {
  .media-section {
    padding: 76px 0;
  }

  .media-carousel {
    grid-template-columns: 1fr;
  }

  .media-nav-btn {
    display: none;
  }
}

/* ===================================================
   CTA FINAL
   =================================================== */
.cta-section {
  padding: 132px 0;
  background: var(--c5);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -220px;
  right: -180px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167,196,18,.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -220px;
  left: -180px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 72%);
  pointer-events: none;
}

.cta-section h2 {
  font-family: var(--ff-h);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 700;
  color: var(--c1);
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 22px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.cta-section p {
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.8;
  color: rgba(255,255,255,.72);
  max-width: 760px;
  margin: 0 auto 42px;
  position: relative;
}

.cta-section .btn {
  font-size: 18px;
  padding: 22px 46px;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(167,196,18,.18);
  position: relative;
}

/* ===================================================
   VIAJE RESPONSIVE
   =================================================== */
@media (max-width: 860px) {
  .viaje-section { padding: 56px 16px 72px; }
  .viaje-header { margin-bottom: 44px; }
  .timeline-track { gap: 2px; padding: 0 4px; margin-bottom: 40px; }
  .timeline-dot { width: 38px; height: 38px; font-size: 13px; }
  .timeline-dot-label { font-size: 8px; top: calc(100% + 8px); }
  .timeline-line { left: 19px; right: 19px; }
  .card-inner { grid-template-columns: 1fr; }
  .card-left {
    padding: 32px 24px 26px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.05);
  }
  .card-right { padding: 26px 24px 32px; }
  .card-left h3 { font-size: 20px; }
  .card-right h4 { font-size: 19px; }
}

@media (max-width: 480px) {
  .viaje-section { padding: 44px 14px 60px; }
  .timeline-dot { width: 33px; height: 33px; font-size: 12px; }
  .timeline-dot-label { display: none; }
  .card-left, .card-right { padding: 24px 18px; }
  .card-left h3 { font-size: 18px; }
  .sol-list li { font-size: 13px; }
}
