
:root {
  --teal: #32b5be;
  --teal-dark: #078b95;
  --teal-deep: #056b75;
  --teal-pale: #eaf8f9;
  --orange: #f58220;
  --orange-dark: #e86e0c;
  --ink: #183e55;
  --body: #526a7c;
  --muted: #78909e;
  --white: #fff;
  --surface: #f6f9fa;
  --line: #dce9ec;
  --shadow: 0 12px 34px rgba(21, 68, 83, .10);
  --radius: 16px;
  --content: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  color: var(--body);
  background: #fff;
  font-family: "Open Sans", sans-serif;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(var(--content), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 84px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal-dark);
  font: 700 .78rem/1.3 Montserrat, sans-serif;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 4px;
  background: var(--orange);
  border-radius: 4px;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-family: Montserrat, sans-serif;
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -.035em;
}

p {
  margin: 0;
}

.section-heading {
  margin-bottom: 38px;
  text-align: center;
}

.section-heading .eyebrow {
  justify-content: center;
}

.section-heading h2 {
  margin-top: 12px;
}

.section-heading p {
  max-width: 680px;
  margin: 14px auto 0;
}

/* BOTONES */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 700 16px Montserrat, sans-serif;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-orange {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 8px 18px rgba(245,130,32,.22);
}

.btn-orange:hover {
  background: var(--orange-dark);
}

.btn-teal {
  color: #fff;
  background: var(--teal-dark);
}

.btn-teal:hover {
  background: var(--teal-deep);
}

.btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.06);
}

.btn-outline-dark {
  color: var(--teal-dark);
  border-color: var(--teal);
  background: #fff;
}

.btn-outline-dark:hover {
  color: #fff;
  background: var(--teal-dark);
}

/* ========================================
   CARRUSEL PRINCIPAL TECNOSALUD
======================================== */


/* ==========================================
   CARRUSEL PRINCIPAL - TECNOSALUD
   DISEÑO: TEXTO IZQUIERDA / IMAGEN DERECHA
========================================== */

.ts-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #ffffff;
}

/* CONTENEDOR */
.ts-slides {
    position: relative;
    width: 100%;
}

/* DIAPOSITIVA */
.ts-slide {
    display: none;
    width: 100%;
    min-height: 620px;
    grid-template-columns: 45% 55%;
    background: #ffffff;
}

.ts-slide.active {
    display: grid;
    animation: tsSlideFade .6s ease;
}

@keyframes tsSlideFade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* LADO IZQUIERDO */
.ts-slide-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 65px clamp(35px, 6vw, 100px);
    background: #ffffff;
    min-width: 0;
}

.ts-text-content {
    width: 100%;
    max-width: 510px;
}

/* ETIQUETA */
.ts-eyebrow {
    display: inline-block;
    position: relative;
    color: #159da5;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding-left: 35px;
    margin-bottom: 22px;
}

.ts-eyebrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 3px;
    background: #f58220;
}

/* TÍTULO */
.ts-text-content h1 {
    color: #183b50;
    font-size: clamp(32px, 3.2vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 22px;
}

/* DESCRIPCIÓN */
.ts-text-content p {
    color: #526a7c;
    font-size: 17px;
    line-height: 1.8;
    margin: 0 0 30px;
    max-width: 470px;
}

/* BOTÓN */
.ts-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 15px 24px;
    background: #f58220;
    color: #ffffff !important;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all .3s ease;
}

.ts-btn:hover {
    background: #e86e0c;
    color: #ffffff !important;
    transform: translateY(-4px);
}

.ts-btn span {
    font-size: 21px;
    transition: transform .3s ease;
}

.ts-btn:hover span {
    transform: translateX(5px);
}

/* LADO DERECHO - IMAGEN */
.ts-slide-image {
    width: 100%;
    height: 620px;
    overflow: hidden;
    background: #eef5f6;
}

.ts-slide-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* FLECHAS */
.ts-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    color: #087b86;
    font-size: 17px;
    cursor: pointer;
    transition: all .25s ease;
}

.ts-arrow:hover {
    background: #159da5;
    color: #ffffff;
}

.ts-prev {
    left: 15px;
}

.ts-next {
    right: 15px;
}

/* INDICADORES */
.ts-dots {
    position: absolute;
    left: 45%;
    bottom: 22px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    z-index: 10;
}

.ts-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 20px;
    background: #cbdadd;
    cursor: pointer;
    transition: all .3s ease;
}

.ts-dots button.active {
    width: 28px;
    background: #159da5;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1024px) {

    .ts-slide {
        min-height: 500px;
        grid-template-columns: 45% 55%;
    }

    .ts-slide-content {
        padding: 45px 35px;
    }

    .ts-slide-image {
        height: 500px;
    }

    .ts-text-content h1 {
        font-size: 32px;
    }

    .ts-text-content p {
        font-size: 15px;
        line-height: 1.7;
    }

    .ts-eyebrow {
        font-size: 11px;
    }

    .ts-dots {
        left: 45%;
        bottom: 15px;
    }
}


/* ==========================================
   CELULAR
========================================== */

@media (max-width: 767px) {

    .ts-slide,
    .ts-slide.active {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    /* TEXTO PRIMERO */
    .ts-slide-content {
        order: 1;
        padding: 45px 28px 55px;
        min-height: 330px;
    }

    .ts-text-content {
        max-width: 100%;
    }

    .ts-eyebrow {
        font-size: 11px;
        margin-bottom: 17px;
    }

    .ts-text-content h1 {
        font-size: 30px;
        line-height: 1.2;
        margin-bottom: 17px;
    }

    .ts-text-content p {
        font-size: 15px;
        line-height: 1.65;
        margin-bottom: 23px;
    }

    /* IMAGEN DEBAJO */
    .ts-slide-image {
        order: 2;
        height: 300px;
    }

    .ts-slide-image img {
        object-fit: contain;
    }

    /* FLECHAS */
    .ts-arrow {
        top: auto;
        bottom: 325px;
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .ts-prev {
        left: 10px;
    }

    .ts-next {
        right: 10px;
    }

    /* INDICADORES */
    .ts-dots {
        left: 50%;
        bottom: 12px;
        transform: translateX(-50%);
    }
}


/* ACCESOS RÁPIDOS */

.quick-links {
  position: relative;
  z-index: 2;
  margin-top: -1px;
  color: #fff;
  background: var(--teal-dark);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.quick-item {
  display: flex;
  min-height: 138px;
  align-items: center;
  gap: 20px;
  padding: 28px 34px;
  border-right: 1px solid rgba(255,255,255,.2);
  transition: background .2s;
}

.quick-item:last-child {
  border-right: 0;
}

.quick-item:hover {
  background: var(--teal-deep);
}

.quick-icon {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
}

.quick-item h3 {
  margin-bottom: 5px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.quick-item p {
  color: rgba(255,255,255,.86);
  font-size: 16px;
}

.quick-item .quick-arrow {
  margin-left: auto;
  color: #ffbd83;
}

/* SOBRE TECNOSALUD */

.about-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
}

.about-photo {
  position: relative;
  min-height: 360px;
}

.about-photo img {
  width: 100%;
  height: 360px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.about-photo::after {
  position: absolute;
  right: -14px;
  bottom: -14px;
  z-index: -1;
  width: 44%;
  height: 44%;
  border-right: 5px solid var(--orange);
  border-bottom: 5px solid var(--orange);
  border-radius: 0 0 16px 0;
  content: "";
}

.about-copy h2 {
  margin: 14px 0 18px;
}

.about-copy p {
  margin-bottom: 24px;
}

.about-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 25px 0 28px;
}

.about-point {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

.about-point i {
  color: var(--orange);
}

/* MISIÓN Y VALORES */

.essence {
  background: linear-gradient(135deg, #eefafb 0%, #e2f5f6 100%);
}

.essence-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: stretch;
  gap: 48px;
}

.mission {
  padding: 30px 34px;
  border-left: 4px solid var(--orange);
  border-radius: 0 14px 14px 0;
  background: rgba(255,255,255,.78);
}

.mission .mission-icon {
  margin-bottom: 17px;
  color: var(--teal-dark);
  font-size: 2rem;
}

.mission h3 {
  margin-bottom: 13px;
  font-size: 1.4rem;
}

.values-wrap h3 {
  margin-bottom: 22px;
  font-size: 1.2rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.value {
  padding: 8px 16px;
  text-align: center;
  border-right: 1px solid #b8dfe2;
}

.value:last-child {
  border-right: 0;
}

.value-icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 13px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--teal-dark);
  font-size: 1.45rem;
  box-shadow: 0 7px 15px rgba(7,139,149,.16);
}

.value h4 {
  margin-bottom: 7px;
  color: var(--teal-dark);
  font-size: .9rem;
}

.value p {
  font-size: .78rem;
  line-height: 1.55;
}


/* =====================================
   CARRUSEL DE PROGRAMAS TÉCNICOS
===================================== */


/* CARRUSEL */

.program-carousel {
  position: relative;
  width: 100%;
  margin: 35px auto 0;
}

.program-viewport {
  width: 100%;
  overflow: hidden;
}

.program-track {
  display: flex;
  gap: 22px;
  width: 100%;
  transition: transform .5s ease;
  will-change: transform;
}

.program-card {
  box-sizing: border-box;
  flex: 0 0 calc((100% - 66px) / 4);
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e3ecee;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(18,66,82,.06);
  transition: transform .3s ease, box-shadow .3s ease;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(18,66,82,.13);
}

.program-card > a:first-child {
  display: block;
  overflow: hidden;
}

.program-card img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform .4s ease;
}

.program-card:hover img {
  transform: scale(1.04);
}

.program-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 23px 21px 21px;
}

.program-body h3 {
  min-height: 52px;
  margin: 0 0 12px;
  color: #183b50;
  font-size: 20px;
  line-height: 1.3;
}

.program-body p {
  margin: 0 0 22px;
  color: #536b7c;
  font-size: 15px;
  line-height: 1.7;
}

.program-body .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  margin-top: auto;
  padding: 9px 19px;
  border: 1px solid #159da5;
  border-radius: 30px;
  color: #087b86;
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s ease;
}

.program-body .btn:hover {
  color: #fff;
  background: #159da5;
  border-color: #159da5;
}

.program-body .btn i {
  transition: transform .3s ease;
}

.program-body .btn:hover i {
  transform: translateX(5px);
}

/* FLECHAS */

.round-control {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  color: #fff;
  background: #159da5;
  box-shadow: 0 4px 14px rgba(0,0,0,.16);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .3s ease, opacity .3s ease;
}

.program-prev {
  left: -55px;
}

.program-next {
  right: -55px;
}

.round-control:hover {
  background: #087b86;
}

.round-control:disabled {
  opacity: .3;
  cursor: not-allowed;
}

/* TABLET */

@media (max-width: 1024px) and (min-width: 768px) {
  .program-track {
    gap: 20px;
  }

  .program-card {
    flex-basis: calc((100% - 20px) / 2);
  }

  .program-card img {
    height: 190px;
  }

  .program-body {
    padding: 20px 18px;
  }

  .program-body h3 {
    font-size: 18px;
  }

  .program-prev {
    left: -42px;
  }

  .program-next {
    right: -42px;
  }

  .round-control {
    width: 38px;
    height: 38px;
  }
}

/* CELULAR */

@media (max-width: 767px) {
  .program-viewport {
    overflow: visible;
  }

  .program-track {
    flex-direction: column;
    gap: 22px;
    transform: none !important;
    transition: none;
  }

  .program-card {
    flex: 0 0 auto;
    width: 100%;
  }

  .program-card img {
    height: 210px;
  }

  .program-body {
    padding: 20px;
  }

  .program-body h3 {
    min-height: auto;
    font-size: 19px;
  }

  .program-controls,
  .round-control {
    display: none !important;
  }
}


/* SERVICIOS EN LÍNEA */

.online {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(3,126,137,.97), rgba(6,157,166,.91)),
    url("tecnosalud/img/inicio-tecnosalud.webp") center/cover;
}

.online::after {
  position: absolute;
  right: -90px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  content: "";
}

.online .eyebrow {
  color: #baf7f7;
}

.online h2 {
  margin: 13px 0 12px;
  color: #fff;
}

.online .section-intro {
  max-width: 570px;
  color: rgba(255,255,255,.88);
}

.online-layout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
}

.online-features {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 28px;
}

.online-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.online-feature i {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  font-size: 18px;
}

.online-feature strong {
  display: block;
  color: #fff;
  font: 700 .82rem Montserrat, sans-serif;
}

.online-feature span {
  display: block;
  color: rgba(255,255,255,.8);
  font-size: 16px;
}

.online-action {
  flex-shrink: 0;
}

/* CONTACTO */

.contact-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 55px;
  align-items: center;
}

.contact-intro h2 {
  margin: 13px 0;
}

.contact-intro p {
  margin-bottom: 22px;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 94px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: border .2s, transform .2s;
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: var(--teal);
}

.contact-card i {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--teal-dark);
  background: var(--teal-pale);
  font-size: 18px;
}

.contact-card strong {
  display: block;
  color: var(--ink);
  font: 700 16px Montserrat, sans-serif;
}

.contact-card span,
.contact-card a {
  overflow-wrap: anywhere;
  font-size: 15px;
}

.contact-card a:hover {
  color: var(--teal-dark);
}

/* PIE DE PÁGINA */

.site-footer {
  padding: 36px 0 18px;
  color: rgba(255,255,255,.78);
  background: #32b5be;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 26px;
}

.footer-brand {
  color: #fff;
  font: 800 1.8rem Montserrat, sans-serif;
  letter-spacing: -.06em;
}

.footer-brand span {
  color: #ff9b45;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a {
  color: #fff;
  font-size: 18px;
}

.footer-links a:hover {
  color: #ffb777;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: #fff;
}

.socials a:hover {
  color: #fff;
  border-color: var(--orange);
  background: var(--orange);
}

.copyright {
  padding-top: 17px;
  border-top: 1px solid rgba(255,255,255,.17);
  font-size: 15px;
  text-align: center;
}

/* BOTÓN PARA VOLVER ARRIBA */

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
  box-shadow: 0 8px 20px rgba(245,130,32,.28);
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  transition: .2s;
}

.to-top.show {
  opacity: 1;
  visibility: visible;
}

.to-top:hover {
  background: var(--orange-dark);
  transform: translateY(-3px);
}

/* TABLET Y PANTALLAS MEDIANAS */

@media (max-width: 1050px) {
  .brand img {
    width: 195px;
  }

  .nav-links {
    gap: 15px;
  }

  .nav-links a {
    font-size: .7rem;
  }

  .program-track {
    gap: 14px;
  }

  .program-card img {
    height: 160px;
  }

  .program-body {
    padding: 18px 16px;
  }

  .quick-item {
    padding: 24px 20px;
  }

  .essence-grid {
    gap: 28px;
  }

  .value {
    padding-inline: 9px;
  }
}

/* CELULARES Y TABLETAS */

@media (max-width: 820px) {
  .container {
    width: min(100% - 36px, var(--content));
  }

  .slides,
  .slide {
    min-height: 530px;
  }

  .slide {
    padding: 60px 0;
    background-position: 58% center;
  }

  .slide-content {
    width: min(580px, 83%);
  }

  .slide-content h1 {
    font-size: clamp(2.3rem, 7vw, 3.5rem);
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }

  .quick-item {
    min-height: 100px;
    padding: 20px 10px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.2);
  }

  .quick-item:last-child {
    border-bottom: 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-photo {
    order: 2;
    min-height: 0;
  }

  .about-photo img {
    height: 310px;
  }

  .essence-grid {
    grid-template-columns: 1fr;
  }

  .program-track {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .program-card img {
    height: 190px;
  }

  .online-layout {
    align-items: flex-start;
    flex-direction: column;
  }

  .online-action {
    margin-top: 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-main {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}

/* CELULARES PEQUEÑOS */

@media (max-width: 520px) {
  .container {
    width: calc(100% - 30px);
  }

  .section {
    padding: 60px 0;
  }

  .brand img {
    width: 165px;
  }

  .slides,
  .slide {
    min-height: 500px;
  }

  .slide {
    align-items: flex-end;
    padding: 65px 0 76px;
    background-position: 60% center;
  }

  .slide::before {
    background: linear-gradient(
      0deg,
      rgba(5,36,46,.9) 0%,
      rgba(5,36,46,.65) 54%,
      rgba(5,36,46,.12) 100%
    );
  }

  .slide-content {
    width: 100%;
  }

  .slide-content h1 {
    font-size: 2.35rem;
  }

  .slide-content p {
    font-size: .94rem;
  }

  .carousel-arrow {
    top: 38%;
    width: 38px;
    height: 38px;
  }

  .carousel-arrow.prev {
    left: 10px;
  }

  .carousel-arrow.next {
    right: 10px;
  }

  .quick-item {
    gap: 14px;
  }

  .quick-icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .about-photo img {
    height: 245px;
  }

  .about-points {
    flex-direction: column;
    gap: 10px;
  }

  .mission {
    padding: 25px 22px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 24px;
  }

  .value:nth-child(2) {
    border-right: 0;
  }

  .value:nth-child(3),
  .value:nth-child(4) {
    padding-top: 18px;
    border-top: 1px solid #b8dfe2;
  }

  .program-track {
    grid-template-columns: 1fr;
  }

  .program-card img {
    height: 220px;
  }

  .program-body h3 {
    min-height: auto;
  }

  .online-features {
    flex-direction: column;
    gap: 17px;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

  .footer-main {
    flex-direction: column;
    gap: 20px;
  }

  .footer-links {
    gap: 14px 18px;
  }
}

/* RESPETAR LA PREFERENCIA DE MOVIMIENTO REDUCIDO */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}


/* SECCIÓN SOBRE TECNOSALUD */
.sobre-tecnosalud {
  padding: 75px 20px;
  background: #f5fbfc;
}

.sobre-container {
  max-width: 1180px;
  margin: 0 auto;
}

.sobre-heading {
  text-align: center;
  margin-bottom: 40px;
}

.sobre-heading span {
  color: #078b95;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
}

.sobre-heading h2 {
  color: #244653;
  font-size: 34px;
  margin: 10px 0;
  font-weight: 700;
}

.sobre-heading p {
  color: #687c84;
  font-size: 16px;
}

.sobre-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.sobre-card {
  background: #fff;
  padding: 32px 26px;
  border-radius: 12px;
  border-bottom: 4px solid #078b95;
  box-shadow: 0 5px 22px rgba(25, 75, 85, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sobre-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(25, 75, 85, 0.14);
}

.sobre-icono {
  font-size: 30px;
  margin-bottom: 16px;
}

.sobre-card h3 {
  color: #078b95;
  font-size: 22px;
  margin-bottom: 14px;
}

.sobre-card p {
  color: #586d75;
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}

/* TABLET Y CELULAR */
@media (max-width: 768px) {
  .sobre-tecnosalud {
    padding: 50px 18px;
  }

  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .sobre-heading h2 {
    font-size: 28px;
  }

  .sobre-card {
    padding: 26px 22px;
  }
}


/* SERVICIOS EN LÍNEA ACTUALIZADO */
.servicios-linea {
  padding: 75px 20px;
  background: #f4fafb;
}

.servicios-container {
  max-width: 1180px;
  margin: 0 auto;
}

.servicios-heading {
  text-align: center;
  margin-bottom: 38px;
}

.servicios-heading > span {
  color: #078b95;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
}

.servicios-heading h2 {
  color: #254653;
  font-size: 36px;
  font-weight: 700;
  margin: 10px 0;
}

.servicios-heading p {
  color: #687c84;
  font-size: 19px;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.servicio-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  background: #fff;
  border: 1px solid #e2eff0;
  border-radius: 12px;
  text-decoration: none !important;
  box-shadow: 0 5px 18px rgba(30, 75, 85, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.servicio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(30, 75, 85, 0.12);
  border-color: #078b95;
}

.servicio-icono {
  font-size: 32px;
  margin-bottom: 15px;
}

.servicio-item h3 {
  color: #254653;
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 10px;
}

.servicio-item p {
  color: #687c84;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.servicio-enlace {
  margin-top: auto;
  color: #078b95;
  font-size: 16px;
  font-weight: 700;
}

@media (max-width: 850px) {
  .servicios-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .servicios-linea {
    padding: 50px 18px;
  }

  .servicios-grid {
    grid-template-columns: 1fr;
  }

  .servicios-heading h2 {
    font-size: 28px;
  }
}

/* Reducir espacio en la sección Conócenos */
/* AJUSTE DE ESPACIOS ENTRE SOBRE TECNOSALUD Y CONÓCENOS */

#sobre-tecnosalud {
    padding-bottom: 25px !important;
}

#conocenos {
    padding-top: 25px !important;
    padding-bottom: 40px !important;
    margin-top: 0 !important;
    min-height: auto !important;
}

#conocenos .sobre-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

#conocenos .section-heading {
    margin-top: 0 !important;
    margin-bottom: 25px !important;
}


