/* ========================================================================== 
   GLOBAL MED COSTA RICA
   Hoja de estilos principal
   Compatible con Bootstrap 5.3 + Bootstrap Icons
   ========================================================================== */

/* ========================================================================== 
   1. VARIABLES / DESIGN TOKENS
   ========================================================================== */
:root {
  --navy: #073b60;
  --navy-dark: #052e4b;
  --blue: #0872b7;
  --teal: #08a78f;
  --teal-dark: #078f7b;
  --mint: #e8faf6;
  --ice: #eff8fc;
  --ink: #0b3553;
  --muted: #617587;
  --white: #ffffff;
  --border: #dce9ef;

  --shadow-sm: 0 12px 35px rgba(7, 59, 96, 0.06);
  --shadow: 0 20px 60px rgba(3, 57, 91, 0.12);
  --shadow-lg: 0 30px 70px rgba(3, 57, 91, 0.16);

  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

/* ========================================================================== 
   2. BASE
   ========================================================================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

a {
  transition: color 0.25s ease, background-color 0.25s ease,
    border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

/* ========================================================================== 
   3. NAVEGACIÓN / BRANDING
   ========================================================================== */
.gm-nav {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(7, 59, 96, 0.08);
  padding: 0.8rem 0;
}

.gm-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy);
  text-decoration: none;
}

.gm-brand:hover {
  color: var(--navy);
}

.gm-brand strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1;
}

.gm-brand small {
  display: block;
  margin-top: 0.2rem;
  color: var(--teal);
  font-size: 0.55rem;
  letter-spacing: 0.23em;
}

.gm-logo-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: var(--white);
  font-size: 1.45rem;
  box-shadow: 0 8px 20px rgba(8, 167, 143, 0.22);
}

.gm-nav .nav-link {
  position: relative;
  padding-left: 0.65rem !important;
  padding-right: 0.65rem !important;
  color: var(--ink) !important;
  font-size: 0.9rem;
  font-weight: 700;
}

.gm-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.gm-nav .nav-link:hover::after,
.gm-nav .nav-link.active::after {
  transform: scaleX(1);
}

/* ========================================================================== 
   4. BOTONES
   ========================================================================== */
.btn {
  font-weight: 800;
  border-radius: 999px;
}

.btn-gm-primary,
.btn-whatsapp {
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
}

.btn-gm-primary:hover,
.btn-whatsapp:hover {
  color: var(--white);
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-1px);
}

.btn-whatsapp-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--teal);
  background: var(--white);
  border: 1px solid var(--teal);
}

.btn-whatsapp-icon:hover {
  color: var(--white);
  background: var(--teal);
}

.btn-gm-dark {
  padding: 0.8rem 1.5rem;
  color: var(--white);
  background: var(--navy);
  border: 0;
}

.btn-gm-dark:hover {
  color: var(--white);
  background: var(--navy-dark);
  transform: translateY(-1px);
}

.btn-gm-light {
  color: var(--navy);
  background: var(--white);
  border: 1px solid #cfe3ec;
}

.btn-gm-light:hover {
  color: var(--navy);
  background: #f8fcfe;
  border-color: #aecfdd;
  transform: translateY(-1px);
}

/* ========================================================================== 
   5. HERO PRINCIPAL
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 35%, rgba(8, 167, 143, 0.14), transparent 30%),
    linear-gradient(110deg, #f4fbff 0%, #edf8fc 48%, #e7f6f4 100%);
}

.hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: -240px;
  bottom: -260px;
  border-radius: 50%;
  border: 70px solid rgba(8, 114, 183, 0.045);
  pointer-events: none;
}

.min-vh-hero {
  min-height: 650px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-right: 3rem;
}

.eyebrow {
  display: inline-block;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.28em;
}

.hero h1 {
  margin: 1.2rem 0;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

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

.hero .lead {
  max-width: 620px;
  color: #45667b;
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-visual {
  position: relative;
  padding: 2.5rem 0 2.5rem 2rem;
}

.hero-photo {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #dceff4;
  box-shadow: var(--shadow-lg);
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 25%);
}

.hero-photo-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s ease;
}

.hero-photo:hover .hero-photo-img {
  transform: scale(1.025);
}

/* ========================================================================== 
   6. SOLUCIONES: EMPRESAS / PERSONAS
   ========================================================================== */
.business-lines {
  position: relative;
  z-index: 3;
  margin-top: -2rem;
  padding: 2rem 0 6rem;
}

.line-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  color: var(--white);
  box-shadow: var(--shadow);
}

.line-business {
  background: linear-gradient(135deg, #0b659d, #07416b);
}

.line-people {
  background: linear-gradient(135deg, #0bb099, #087f77);
}

.line-content {
  position: relative;
  min-height: 335px;
  padding: 2rem 2rem 1.6rem;
  overflow: hidden;
}

.line-content::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -50px;
  top: -45px;
  border: 45px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

.line-content > * {
  position: relative;
  z-index: 1;
}

.line-icon {
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.line-card h2 {
  font-size: 2rem;
  line-height: 1.05;
}

.line-card h2 strong {
  font-size: 2.6rem;
}

.line-tagline {
  max-width: 460px;
  font-size: 1.08rem;
  font-weight: 800;
}

.line-content > p:not(.line-tagline) {
  max-width: 500px;
  opacity: 0.9;
}

.line-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 1.2rem 0.7rem;
  background: rgba(0, 30, 60, 0.18);
}

.line-people .line-features {
  grid-template-columns: repeat(5, 1fr);
}

.line-features span {
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.2;
}

.line-features i {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
}

/* ========================================================================== 
   7. ¿POR QUÉ GLOBAL MED?
   ========================================================================== */
.why-section {
  padding: 2rem 0 7rem;
}

.section-heading h2 {
  margin-top: 0.8rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.section-heading p {
  color: var(--muted);
}

.why-grid {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-item {
  height: 100%;
  padding: 2.2rem 1.3rem;
  text-align: center;
  border-right: 1px solid var(--border);
}

.why-grid > div:last-child .why-item {
  border-right: 0;
}

.why-item i {
  color: var(--blue);
  font-size: 2.4rem;
}

.why-item h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 800;
}

.why-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

/* ========================================================================== 
   8. EXPERIENCIA GLOBAL MED
   ========================================================================== */
.experience-section {
  background: var(--ice);
}

.experience-art {
  min-height: 430px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #dbeef5, #f9ffff);
}

.clinic-illustration {
  text-align: center;
  color: var(--blue);
}

.clinic-illustration i {
  display: block;
  font-size: 8rem;
}

.clinic-illustration span {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
}

.clinic-illustration small {
  color: var(--teal);
  letter-spacing: 0.3em;
}

.experience-copy {
  padding: 5rem clamp(2rem, 7vw, 7rem);
  display: flex;
  align-items: center;
}

.experience-copy h2 {
  margin: 1rem 0;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.experience-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.05rem;
}

@media (max-width: 575.98px) {

    .experience-copy .d-flex {
        flex-direction: column;
    }

    .experience-copy .btn {
        width: 100%;
    }

}
@media (max-width: 359.98px) {

    .hero h1 {
        font-size: 2.35rem;
        letter-spacing: -0.045em;
    }

}

/* ========================================================================== 
   9. CTA FINAL
   ========================================================================== */
.cta-section {
  padding: 4rem 0;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem 3rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(110deg, #f0fbff, #e7faf6);
}

.cta-card h2 {
  margin: 0.6rem 0;
  font-size: 2.3rem;
  font-weight: 800;
}

.cta-card h2 span {
  color: var(--teal);
}

.cta-card p {
  margin: 0;
  color: var(--muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  flex: 0 0 auto;
}

/* ========================================================================== 
   10. FOOTER
   ========================================================================== */
.gm-footer {
  padding: 4rem 0 1.5rem;
  color: #d8e9f2;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
}

.footer-brand {
  color: var(--white);
}

.gm-footer h3 {
  margin-bottom: 1.2rem;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
}

.gm-footer p {
  margin-bottom: 0.7rem;
  font-size: 0.82rem;
}

.gm-footer a:not(.gm-brand) {
  display: block;
  margin: 0.55rem 0;
  color: #d8e9f2;
  text-decoration: none;
  font-size: 0.82rem;
}

.gm-footer a:hover {
  color: var(--white);
}

.socials {
  display: flex;
  gap: 0.6rem;
}

.socials a {
  width: 36px;
  height: 36px;
  margin: 0 !important;
  display: grid !important;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}

.socials a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.footer-phrase {
  color: var(--white);
  font-size: 1.7rem;
  font-style: italic;
  line-height: 1.15;
  transform: rotate(-4deg);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.3rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.7rem;
}

/* ========================================================================== 
   11. ANIMACIONES
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero-photo-img,
  a {
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ========================================================================== 
   12. RESPONSIVE - TABLET / NOTEBOOK
   ========================================================================== */
@media (max-width: 991.98px) {
  .gm-nav .navbar-collapse {
    padding: 1rem 0;
  }

  .gm-nav .nav-link::after {
    left: 0;
    right: auto;
    width: 32px;
  }

  .min-vh-hero {
    min-height: auto;
  }

  .hero-copy {
    padding-right: 0;
    padding-top: 4rem !important;
    padding-bottom: 2.5rem !important;
    text-align: center;
  }

  .hero .lead {
    margin-inline: auto;
  }

  .hero-copy .d-flex {
    justify-content: center;
  }

  .hero-visual {
    padding: 0 0 4rem;
  }

  .hero-photo {
    height: 460px;
    max-width: 760px;
    margin-inline: auto;
    border-radius: 28px;
  }

  .business-lines {
    margin-top: 1rem;
  }

  .why-item {
    border-bottom: 1px solid var(--border);
  }

  .why-grid > div:nth-child(2) .why-item {
    border-right: 0;
  }

  .why-grid > div:nth-last-child(-n + 2) .why-item {
    border-bottom: 0;
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ========================================================================== 
   13. RESPONSIVE - MÓVIL
   ========================================================================== */
@media (max-width: 575.98px) {
  .gm-nav {
    padding: 0.6rem 0;
  }

  .gm-brand strong {
    font-size: 1.3rem;
  }

  .gm-logo-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .hero-copy {
    padding-top: 3rem !important;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 3.15rem);
  }

  .hero .lead {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-copy .d-flex {
    flex-direction: column;
  }

  .hero-copy .btn {
    width: 100%;
  }

  .hero-visual {
    padding-bottom: 3rem;
  }

  .hero-photo {
    height: 330px;
    border-radius: 22px;
  }

  .hero-photo-img {
    object-position: 60% center;
  }

  .business-lines {
    padding-bottom: 4.5rem;
  }

  .line-content {
    min-height: 310px;
    padding: 1.6rem;
  }

  .line-card h2 {
    font-size: 1.8rem;
  }

  .line-card h2 strong {
    font-size: 2.3rem;
  }

  /* =========================================================
   IMÁGENES - EMPRESAS / PERSONAS
========================================================= */

.line-image {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
}

.line-image-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;

    transition: transform .6s ease;
}

/* Zoom muy sutil al pasar el mouse */
.line-card:hover .line-image-img {
    transform: scale(1.035);
}


/* Tablet */
@media (max-width: 991.98px) {

    .line-image {
        height: 300px;
    }

}


/* Celular */
@media (max-width: 575.98px) {

    .line-image {
        height: 220px;
    }

    .line-content > .d-flex {
        flex-direction: column;
    }

    .line-content > .d-flex .btn {
        width: 100%;
    }    

}

  .line-features,
  .line-people .line-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .line-people .line-features span:last-child {
    grid-column: 1 / -1;
  }

  .why-section {
    padding-bottom: 5rem;
  }

  .why-item {
    padding: 1.5rem 0.7rem;
  }

  .why-grid > div:nth-child(even) .why-item {
    border-right: 0;
  }

  .experience-art {
    min-height: 320px;
  }

  .clinic-illustration i {
    font-size: 6rem;
  }

  .clinic-illustration span {
    font-size: 1.8rem;
  }

  .experience-copy {
    padding: 3.5rem 1.5rem;
  }

  .cta-card {
    padding: 2rem;
  }

  .cta-card h2 {
    font-size: 1.9rem;
  }

  .cta-actions {
    width: 100%;
  }

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

  .footer-phrase {
    font-size: 1.35rem;
  }


}
/* =========================================================
   GLOBAL MED EMPRESAS
========================================================= */


/* =========================================================
   HERO EMPRESAS
========================================================= */

.subhero-business {
    position: relative;
    overflow: hidden;
    padding: 70px 0 80px;

    background:
        radial-gradient(
            circle at 78% 25%,
            rgba(24, 178, 158, .18),
            transparent 30%
        ),
        linear-gradient(
            125deg,
            #063b5c 0%,
            #07547a 52%,
            #087b8d 100%
        );

    color: #fff;
}


/* Decoración suave de fondo */

.subhero-business::before {
    content: "";
    position: absolute;

    width: 420px;
    height: 420px;

    right: -180px;
    bottom: -230px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .05);
}


.subhero-business::after {
    content: "";
    position: absolute;

    width: 280px;
    height: 280px;

    right: 34%;
    top: -190px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .035);
}


.subhero-business .container {
    position: relative;
    z-index: 2;
}


/* Eyebrow */

.subhero-business .eyebrow {
    color: #8fe6d8;
}


/* Título */

.subhero-business h1 {
    max-width: 700px;

    margin: 18px 0 22px;

    font-size: clamp(3rem, 5vw, 5.1rem);
    line-height: .98;

    font-weight: 800;
    letter-spacing: -.055em;

    color: #fff;
}


.subhero-business h1 span {
    display: block;
    color: #72ddce;
}


/* Tagline */

.subhero-tag {
    max-width: 600px;

    margin-bottom: 15px;

    font-size: 1.25rem;
    line-height: 1.5;

    font-weight: 700;

    color: #fff;
}


/* Texto */

.subhero-business .lead {
    max-width: 610px;

    font-size: 1.05rem;
    line-height: 1.75;

    color: rgba(255, 255, 255, .78);
}


/* Botones */

.subhero-business .btn-light {
    border: 0;
    border-radius: 999px;

    padding: .9rem 1.6rem;

    font-weight: 700;

    color: #06476b;

    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}


.subhero-business .btn-light:hover {
    transform: translateY(-2px);
}


.subhero-business .btn-outline-light {
    padding: .9rem 1.6rem;

    font-weight: 700;

    border-color: rgba(255, 255, 255, .55);
}


.subhero-business .btn-outline-light:hover {
    color: #06476b;
}



/* =========================================================
   FOTO HERO EMPRESAS
========================================================= */

.subhero-photo {
    position: relative;
    width: 100%;
    overflow: hidden;

    border-radius: 34px;

    background: #eef7fa;

    border: 1px solid rgba(255, 255, 255, .18);

    box-shadow:
        0 35px 80px rgba(0, 20, 40, .30);
}

.subhero-photo-img {
    width: 100%;
    height: auto;

    display: block;

    object-fit: contain;

    transition: transform .7s ease;
}

.subhero-photo:hover .subhero-photo-img {
    transform: scale(1.015);
}


/* Tarjeta flotante */

.subhero-float {
    position: absolute;

    left: 28px;
    bottom: 28px;

    display: flex;
    align-items: center;
    gap: 14px;

    max-width: 310px;

    padding: 16px 20px;

    border-radius: 18px;

    color: #073e5e;

    background: rgba(255, 255, 255, .94);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow:
        0 18px 45px rgba(0, 34, 54, .18);
}


.subhero-float-icon {
    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    display: grid;
    place-items: center;

    border-radius: 14px;

    font-size: 1.25rem;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #0877b9,
            #12a990
        );
}


.subhero-float strong {
    font-size: .88rem;
    line-height: 1.35;
}



/* =========================================================
   FRANJA DE BENEFICIOS
========================================================= */

/* =========================================================
   PROPUESTA DE VALOR - EMPRESAS
========================================================= */

.benefit-strip {
    position: relative;
    padding: 100px 0;
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(0, 174, 199, 0.07),
            transparent 30%
        ),
        #ffffff;
    overflow: hidden;
}

.benefit-strip .section-heading {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.mini-benefit {
    position: relative;

    display: flex;
    align-items: flex-start;
    gap: 25px;

    height: 100%;
    min-height: 190px;

    padding: 34px 36px;

    background: #ffffff;

    border: 1px solid rgba(15, 75, 110, 0.10);
    border-radius: 26px;

    box-shadow:
        0 12px 35px rgba(15, 75, 110, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.mini-benefit:hover {
    transform: translateY(-6px);

    border-color: rgba(0, 174, 199, 0.28);

    box-shadow:
        0 22px 50px rgba(15, 75, 110, 0.12);
}


/* ICONO */

.mini-benefit-icon {
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 68px;
    height: 68px;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            rgba(0, 174, 199, 0.13),
            rgba(20, 184, 166, 0.13)
        );

    color: var(--teal);

    font-size: 1.7rem;
}


/* CONTENIDO */

.mini-benefit-content {
    flex: 1;
    padding-top: 4px;
}

.mini-benefit h3 {
    margin: 0 0 12px;

    color: var(--navy);

    font-size: 1.3rem;
    font-weight: 800;
}

.mini-benefit p {
    margin: 0;

    max-width: 460px;

    color: #64748b;

    font-size: 0.98rem;
    line-height: 1.75;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 575.98px) {

    .benefit-strip {
        padding: 70px 0;
    }

    .mini-benefit {
        min-height: auto;

        padding: 26px 24px;
        gap: 18px;

        border-radius: 22px;
    }

    .mini-benefit-icon {
        width: 54px;
        height: 54px;

        border-radius: 16px;

        font-size: 1.35rem;
    }

    .mini-benefit-content {
        padding-top: 0;
    }

    .mini-benefit h3 {
        margin-bottom: 8px;

        font-size: 1.12rem;
    }

    .mini-benefit p {
        font-size: 0.9rem;
        line-height: 1.65;
    }
}



/* =========================================================
   SERVICIOS EMPRESAS
========================================================= */

.services-page {
    position: relative;

    padding: 90px 0 105px;

    background: #f7fbfd;
}


.services-page .section-heading {
    max-width: 760px;
    margin: 0 auto 45px;
}


.services-page .section-heading h2 {
    margin: 12px 0;

    font-size: clamp(2.1rem, 4vw, 3.25rem);

    font-weight: 800;
    letter-spacing: -.04em;

    color: var(--navy);
}


.services-page .section-heading p {
    color: #6b8596;
    font-size: 1.05rem;
}


/* Tarjeta */

.service-card {
    position: relative;

    min-height: 310px;

    display: flex;
    flex-direction: column;

    padding: 30px;

    overflow: hidden;

    border-radius: 24px;

    border: 1px solid #e3edf2;

    background: #fff;

    box-shadow:
        0 10px 30px rgba(8, 62, 88, .055);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}


.service-card:hover {
    transform: translateY(-7px);

    border-color: rgba(8, 137, 180, .25);

    box-shadow:
        0 24px 55px rgba(7, 60, 88, .12);
}


/* Línea superior */

.service-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    transform: scaleX(0);
    transform-origin: left;

    background:
        linear-gradient(
            90deg,
            var(--blue),
            var(--teal)
        );

    transition: transform .3s ease;
}


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


/* Icono */

.service-icon {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    margin-bottom: 24px;

    border-radius: 17px;

    font-size: 1.5rem;

    color: var(--blue);

    background:
        linear-gradient(
            135deg,
            #eaf7fc,
            #e9faf5
        );
}


/* Título */

.service-card h3 {
    margin-bottom: 13px;

    font-size: 1.08rem;
    line-height: 1.35;

    font-weight: 800;

    color: var(--navy);
}


/* Descripción */

.service-card p {
    margin-bottom: 20px;

    font-size: .9rem;
    line-height: 1.65;

    color: #698394;
}


/* Flecha */

.service-arrow {
    width: 38px;
    height: 38px;

    margin-top: auto;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: var(--navy);

    background: #f0f7fa;

    transition:
        transform .3s ease,
        background .3s ease,
        color .3s ease;
}


.service-card:hover .service-arrow {
    transform: translateX(4px);

    color: #fff;

    background: var(--blue);
}



/* =========================================================
   PROGRAMAS A TU MEDIDA
========================================================= */

.industry-section {
    padding: 90px 0;

    background: #fff;
}


.industry-card {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    overflow: hidden;

    padding: 55px 60px;

    border-radius: 30px;

    background:
        linear-gradient(
            120deg,
            #eaf7fb 0%,
            #eaf9f5 100%
        );
}


.industry-card::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: -130px;
    bottom: -180px;

    border-radius: 50%;

    background: rgba(7, 135, 180, .08);
}


.industry-card > * {
    position: relative;
    z-index: 2;
}


.industry-card > div {
    max-width: 720px;
}


.industry-card h2 {
    margin: 12px 0;

    font-size: clamp(2rem, 3.5vw, 3rem);

    line-height: 1.08;

    font-weight: 800;
    letter-spacing: -.04em;

    color: var(--navy);
}


.industry-card p {
    margin: 0;

    color: #668294;

    font-size: 1rem;
    line-height: 1.7;
}



/* =========================================================
   PROPUESTA EMPRESARIAL
========================================================= */

.proposal-section {
    position: relative;

    padding: 100px 0;

    background:
        linear-gradient(
            125deg,
            #f5fbfe,
            #edf9f6
        );
}


.proposal-section h2 {
    max-width: 760px;

    margin: 12px 0 18px;

    font-size: clamp(2.2rem, 4vw, 3.5rem);

    line-height: 1.05;

    font-weight: 800;
    letter-spacing: -.045em;

    color: var(--navy);
}


.proposal-section p {
    max-width: 700px;

    margin: 0;

    color: #647f90;

    font-size: 1.04rem;
    line-height: 1.75;
}


.proposal-actions {
    display: flex;
    flex-direction: column;

    gap: 14px;
}


.proposal-actions .btn {
    width: 100%;

    padding: 15px 24px;

    border-radius: 999px;

    font-weight: 700;
}


.proposal-actions .btn-whatsapp {
    border: 0;

    color: #fff;

    background: #25d366;
}


.proposal-actions .btn-whatsapp:hover {
    color: #fff;

    background: #1fbd5a;

    transform: translateY(-2px);
}



/* =========================================================
   RESPONSIVE EMPRESAS
========================================================= */

@media (max-width: 991.98px) {



    .subhero-business {
        padding-top: 45px;
    }


    .subhero-business h1 {
        font-size: clamp(2.8rem, 8vw, 4.4rem);
    }


    .subhero-photo {
        height: auto;
        margin-bottom: 25px;
    }


    .benefit-strip {
        margin-top: -15px;
    }


    .mini-benefit {
        border-bottom: 1px solid #e7f0f4;
    }


    .industry-card {
        flex-direction: column;
        align-items: flex-start;

        padding: 45px;
    }


    .industry-card .btn {
        align-self: flex-start;
    }


    .proposal-actions {
        max-width: 520px;
    }

}



@media (max-width: 575.98px) {

    .subhero-business {
        padding: 30px 0 60px;
    }


    .subhero-business h1 {
        font-size: 2.8rem;
    }


    .subhero-tag {
        font-size: 1.05rem;
    }


    .subhero-business .d-flex {
        flex-direction: column;
    }


    .subhero-business .btn {
        width: 100%;
    }


    .subhero-photo {
        height: auto;
        border-radius: 24px;
    }


    .subhero-float {
        left: 16px;
        right: 16px;
        bottom: 16px;

        max-width: none;
    }


    .benefit-strip .container {
        border-radius: 18px;
    }


    .mini-benefit {
        min-height: 155px;

        flex-direction: column;
        align-items: flex-start;

        padding: 20px 16px;
    }


    .services-page {
        padding: 70px 0;
    }


    .service-card {
        min-height: auto;

        padding: 26px;
    }


    .industry-section {
        padding: 65px 0;
    }


    .industry-card {
        padding: 32px 26px;

        border-radius: 24px;
    }


    .industry-card .btn {
        width: 100%;
    }


    .proposal-section {
        padding: 70px 0;
    }

}

/* =========================================================
   GLOBAL MED PERSONAS
========================================================= */


/* =========================================================
   HERO PERSONAS
========================================================= */

.subhero-people {
    position: relative;
    overflow: hidden;

    padding: 75px 0 85px;

    background:
        radial-gradient(
            circle at 82% 25%,
            rgba(16, 173, 148, .14),
            transparent 30%
        ),
        linear-gradient(
            120deg,
            #f3fbfe 0%,
            #edf9f7 55%,
            #e7f7f3 100%
        );
}


.subhero-people::before {
    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    right: -190px;
    bottom: -240px;

    border-radius: 50%;

    background: rgba(11, 151, 164, .06);
}


.subhero-people::after {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    right: 35%;
    top: -200px;

    border-radius: 50%;

    background: rgba(14, 176, 150, .05);
}


.subhero-people .container {
    position: relative;
    z-index: 2;
}


/* Eyebrow */

.subhero-people .eyebrow {
    color: var(--teal);
}


/* Título */

.subhero-people h1 {
    max-width: 690px;

    margin: 18px 0 24px;

    font-size: clamp(3rem, 5vw, 5rem);
    line-height: .98;

    font-weight: 800;
    letter-spacing: -.055em;

    color: var(--navy);
}


.subhero-people h1 span {
    color: var(--blue);
}


/* Descripción */

.subhero-people .lead {
    max-width: 610px;

    font-size: 1.08rem;
    line-height: 1.75;

    color: #587487;
}


/* Botón WhatsApp */

.subhero-people .btn-whatsapp {
    padding: .9rem 1.55rem;

    border: 0;
    border-radius: 999px;

    color: #fff;

    font-weight: 700;

    background: #25d366;

    box-shadow:
        0 12px 28px rgba(37, 211, 102, .20);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}


.subhero-people .btn-whatsapp:hover {
    color: #fff;

    background: #20bd5a;

    transform: translateY(-2px);

    box-shadow:
        0 16px 34px rgba(37, 211, 102, .25);
}


/* Botón secundario */

.subhero-people .btn-outline-primary {
    padding: .9rem 1.55rem;

    font-weight: 700;

    color: var(--navy);

    border-color: rgba(6, 66, 98, .25);
}


.subhero-people .btn-outline-primary:hover {
    color: #fff;

    border-color: var(--blue);

    background: var(--blue);
}



/* =========================================================
   HIGHLIGHTS DEL HERO
========================================================= */

.people-highlights {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 32px;
}


.people-highlights span {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    padding: 9px 14px;

    border-radius: 999px;

    font-size: .78rem;
    font-weight: 700;

    color: #466a7d;

    background: rgba(255, 255, 255, .72);

    border: 1px solid rgba(7, 104, 142, .10);
}


.people-highlights i {
    font-size: 1rem;

    color: var(--teal);
}



/* =========================================================
   FOTO HERO PERSONAS
========================================================= */

.people-hero-photo {
    position: relative;

    width: 100%;

    overflow: hidden;

    border-radius: 34px;

    background: #e7f4f6;

    border: 1px solid rgba(8, 104, 136, .08);

    box-shadow:
        0 30px 70px rgba(7, 65, 90, .16);
}


.people-hero-photo-img {
    width: 100%;
    height: auto;

    display: block;

    object-fit: contain;

    transition: transform .7s ease;
}


.people-hero-photo:hover .people-hero-photo-img {
    transform: scale(1.015);
}


/* Tarjeta flotante */

.people-hero-float {
    position: absolute;

    left: 26px;
    bottom: 26px;

    display: flex;
    align-items: center;

    gap: 13px;

    padding: 15px 19px;

    max-width: 290px;

    border-radius: 18px;

    color: var(--navy);

    background: rgba(255, 255, 255, .94);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow:
        0 16px 40px rgba(6, 54, 77, .16);
}


.people-hero-float-icon {
    width: 44px;
    height: 44px;

    flex: 0 0 44px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    font-size: 1.2rem;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--teal)
        );
}


.people-hero-float strong {
    font-size: .86rem;
    line-height: 1.35;
}



/* =========================================================
   SERVICIOS PERSONAS
========================================================= */

.people-services {
    padding: 100px 0;

    background: #fff;
}


.people-services .section-heading {
    max-width: 760px;

    margin: 0 auto 45px;

    text-align: center;
}


.people-services .section-heading h2 {
    margin: 12px 0;

    font-size: clamp(2.2rem, 4vw, 3.4rem);

    font-weight: 800;
    letter-spacing: -.045em;

    color: var(--navy);
}


.people-services .section-heading p {
    color: #698494;

    font-size: 1.03rem;
}


/* Tarjetas */

.people-service-card {
    min-height: 300px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #fbfdfe
        );
}


.people-service-card .service-icon {
    color: var(--teal);

    background:
        linear-gradient(
            135deg,
            #eaf8fb,
            #e9faf5
        );
}


/* Última tarjeta especial */

.service-feature {
    min-height: 300px;

    color: #fff;

    border: none;

    background:
        linear-gradient(
            135deg,
            #075476,
            #079b91
        );
}


.service-feature .service-icon {
    color: var(--teal);

    background: #fff;
}


.service-feature h3 {
    color: #fff;
}


.service-feature p {
    color: rgba(255, 255, 255, .80);
}



/* =========================================================
   POR QUÉ GLOBAL MED - PERSONAS
========================================================= */

.people-why {
    padding: 100px 0;

    background:
        linear-gradient(
            180deg,
            #f6fbfd 0%,
            #eef8f7 100%
        );
}


.people-why .section-heading h2 {
    margin-top: 12px;

    font-size: clamp(2.2rem, 4vw, 3.4rem);

    font-weight: 800;
    letter-spacing: -.045em;

    color: var(--navy);
}


.people-why .why-grid {
    overflow: hidden;

    border: 1px solid #e1edf1;
    border-radius: 28px;

    background: #fff;

    box-shadow:
        0 18px 50px rgba(7, 62, 87, .08);
}


.people-why .why-item {
    height: 100%;
    min-height: 245px;

    padding: 36px 30px;

    border-right: 1px solid #e7eff2;

    transition:
        transform .3s ease,
        background .3s ease;
}


.people-why .why-item:hover {
    background: #f7fbfc;
}


.people-why .why-item > i {
    width: 54px;
    height: 54px;

    display: grid;
    place-items: center;

    margin-bottom: 22px;

    border-radius: 16px;

    font-size: 1.4rem;

    color: var(--teal);

    background: #eaf8f5;
}


.people-why .why-item h3 {
    margin-bottom: 10px;

    font-size: 1.05rem;
    font-weight: 800;

    color: var(--navy);
}


.people-why .why-item p {
    margin: 0;

    font-size: .88rem;
    line-height: 1.6;

    color: #718997;
}



/* =========================================================
   RESERVAR CITA
========================================================= */

.booking-section {
    padding: 95px 0;

    background: #fff;
}


.booking-card {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;

    overflow: hidden;

    padding: 58px 60px;

    border-radius: 32px;

    background:
        linear-gradient(
            125deg,
            #eaf7fb,
            #e9f9f4
        );
}


.booking-card::after {
    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    right: -140px;
    bottom: -200px;

    border-radius: 50%;

    background: rgba(8, 152, 160, .08);
}


.booking-card > * {
    position: relative;
    z-index: 2;
}


.booking-card > div:first-child {
    max-width: 700px;
}


.booking-card h2 {
    margin: 12px 0 15px;

    font-size: clamp(2rem, 3.5vw, 3.1rem);

    line-height: 1.07;

    font-weight: 800;
    letter-spacing: -.04em;

    color: var(--navy);
}


.booking-card p {
    margin: 0;

    color: #658192;

    line-height: 1.7;
}


.booking-actions {
    min-width: 310px;

    display: flex;
    flex-direction: column;

    gap: 12px;
}


.booking-actions .btn {
    width: 100%;

    padding: 14px 22px;

    border-radius: 999px;

    font-weight: 700;
}



/* =========================================================
   RESPONSIVE PERSONAS
========================================================= */

@media (max-width: 991.98px) {

    .subhero-people {
        padding: 50px 0 70px;
    }

    .subhero-people h1 {
        font-size: clamp(2.8rem, 8vw, 4.3rem);
    }

    .people-hero-photo {
        max-width: 760px;

        margin: 10px auto 0;
    }

    .booking-card {
        flex-direction: column;
        align-items: flex-start;

        padding: 45px;
    }

    .booking-actions {
        width: 100%;
        max-width: 520px;
    }

}


@media (max-width: 575.98px) {

    .subhero-people {
        padding: 35px 0 55px;
    }

    .subhero-people h1 {
        font-size: 2.75rem;
    }

    .subhero-people .d-flex {
        flex-direction: column;
    }

    .subhero-people .btn {
        width: 100%;
    }

    .people-highlights {
        gap: 8px;
    }

    .people-highlights span {
        width: 100%;
        justify-content: flex-start;
    }

    .people-hero-photo {
        border-radius: 24px;
    }

    .people-hero-float {
        left: 14px;
        right: 14px;
        bottom: 14px;

        max-width: none;
    }

    .people-services {
        padding: 70px 0;
    }

    .people-service-card,
    .service-feature {
        min-height: auto;
    }

    .people-why {
        padding: 70px 0;
    }

    .people-why .why-grid {
        border-radius: 22px;
    }

    .people-why .why-item {
        min-height: 220px;

        padding: 26px 20px;
    }

    .booking-section {
        padding: 65px 0;
    }

    .booking-card {
        padding: 32px 25px;

        border-radius: 24px;
    }

    .booking-actions {
        min-width: 0;
    }

}
/* =========================================================
   LOGO NAVBAR
========================================================= */

.gm-brand {
    display: flex;
    align-items: center;

    padding: 0;
    margin-right: 2rem;
}

.gm-navbar-logo {
    display: block;

    width: auto;
    height: 48px;

    object-fit: contain;
}


/* Tablet / móvil */
@media (max-width: 991.98px) {

    .gm-navbar-logo {
        height: 43px;
    }

}


/* Celulares pequeños */
@media (max-width: 575.98px) {

    .gm-navbar-logo {
        height: 39px;
    }

}

/* =========================================================
   GLOBAL MED EMPRESAS
   SECCIONES COMERCIALES
========================================================= */


/* =========================================================
   ENCABEZADOS GENERALES DE SECCIÓN
========================================================= */

.section-heading {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.section-heading h2 {
    margin-top: 12px;
    margin-bottom: 18px;

    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;

    color: var(--navy);
}

.section-heading p {
    margin: 0 auto;

    max-width: 680px;

    font-size: 1.05rem;
    line-height: 1.8;

    color: #64748b;
}


/* =========================================================
   PROPUESTA DE VALOR
   PREVENIR · ATENDER · GESTIONAR · MEDIR
========================================================= */

.benefit-strip {
    position: relative;

    padding: 100px 0;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(0, 174, 199, 0.07),
            transparent 30%
        ),
        #ffffff;

    overflow: hidden;
}


.mini-benefit {
    position: relative;

    height: 100%;
    min-height: 285px;

    padding: 32px 28px;

    background: #ffffff;

    border: 1px solid rgba(15, 75, 110, 0.09);
    border-radius: 26px;

    box-shadow:
        0 12px 35px rgba(15, 75, 110, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.mini-benefit:hover {
    transform: translateY(-7px);

    border-color: rgba(0, 174, 199, 0.25);

    box-shadow:
        0 22px 50px rgba(15, 75, 110, 0.12);
}


.mini-benefit-icon {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    margin-bottom: 24px;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(0, 174, 199, 0.12),
            rgba(20, 184, 166, 0.12)
        );

    color: var(--teal);

    font-size: 1.55rem;
}


.mini-benefit h3 {
    margin-bottom: 13px;

    color: var(--navy);

    font-size: 1.25rem;
    font-weight: 800;
}


.mini-benefit p {
    margin: 0;

    color: #64748b;

    font-size: 0.96rem;
    line-height: 1.75;
}



/* =========================================================
   CÓMO TRABAJAMOS
========================================================= */

.gm-process-section {
    position: relative;

    padding: 110px 0;

    background:
        linear-gradient(
            180deg,
            #f5fbfd 0%,
            #eef9f8 100%
        );

    overflow: hidden;
}


.gm-process {
    position: relative;

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 22px;
}


/* Línea horizontal */

.gm-process::before {
    content: "";

    position: absolute;

    top: 65px;
    left: 9%;
    right: 9%;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            rgba(0, 174, 199, 0.15),
            rgba(0, 174, 199, 0.8),
            rgba(20, 184, 166, 0.8),
            rgba(20, 184, 166, 0.15)
        );

    z-index: 0;
}


.gm-process-item {
    position: relative;

    z-index: 1;

    text-align: center;

    padding: 0 10px;
}


.gm-process-number {
    display: block;

    margin-bottom: 12px;

    color: rgba(15, 75, 110, 0.38);

    font-size: 0.8rem;
    font-weight: 800;

    letter-spacing: 0.16em;
}


.gm-process-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 74px;
    height: 74px;

    margin: 0 auto 25px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--teal)
        );

    color: #ffffff;

    font-size: 1.65rem;

    border: 7px solid #eef9f8;

    box-shadow:
        0 14px 35px rgba(0, 125, 170, 0.22);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.gm-process-item:hover .gm-process-icon {
    transform:
        translateY(-5px)
        scale(1.05);

    box-shadow:
        0 20px 42px rgba(0, 125, 170, 0.28);
}


.gm-process-item h3 {
    margin-bottom: 12px;

    color: var(--navy);

    font-size: 1.08rem;
    font-weight: 800;
}


.gm-process-item p {
    margin: 0 auto;

    max-width: 210px;

    color: #64748b;

    font-size: 0.9rem;
    line-height: 1.7;
}



/* =========================================================
   ¿POR QUÉ GLOBAL MED?
========================================================= */

.gm-why-business {
    position: relative;

    padding: 110px 0;

    background: #ffffff;

    overflow: hidden;
}


.gm-why-business::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    left: -230px;
    bottom: -200px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(0, 174, 199, 0.08),
            transparent 70%
        );

    pointer-events: none;
}


.gm-why-business h2 {
    margin-top: 14px;
    margin-bottom: 22px;

    color: var(--navy);

    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.08;

    letter-spacing: -0.04em;
}


.gm-why-business .lead {
    max-width: 540px;

    color: #64748b;

    font-size: 1.05rem;
    line-height: 1.85;
}


.gm-business-advantage {
    height: 100%;

    min-height: 230px;

    padding: 28px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f7fbfc
        );

    border: 1px solid rgba(15, 75, 110, 0.09);
    border-radius: 24px;

    box-shadow:
        0 12px 35px rgba(15, 75, 110, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.gm-business-advantage:hover {
    transform: translateY(-6px);

    border-color: rgba(0, 174, 199, 0.25);

    box-shadow:
        0 22px 45px rgba(15, 75, 110, 0.12);
}


.gm-business-advantage-icon {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    margin-bottom: 20px;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            rgba(0, 174, 199, 0.13),
            rgba(20, 184, 166, 0.13)
        );

    color: var(--teal);

    font-size: 1.4rem;
}


.gm-business-advantage h3 {
    margin-bottom: 10px;

    color: var(--navy);

    font-size: 1.08rem;
    font-weight: 800;
}


.gm-business-advantage p {
    margin: 0;

    color: #64748b;

    font-size: 0.93rem;
    line-height: 1.7;
}



/* =========================================================
   EXPERIENCIA / INDICADORES
========================================================= */

.gm-experience-business {
    position: relative;

    padding: 110px 0;

    background:
        linear-gradient(
            135deg,
            #063c55 0%,
            #075b70 50%,
            #087f82 100%
        );

    overflow: hidden;
}


.gm-experience-business::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    top: -280px;
    right: -180px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.045);
}


.gm-experience-business::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    left: -170px;
    bottom: -220px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.04);
}


.gm-experience-business .container {
    position: relative;

    z-index: 2;
}


.gm-experience-business .eyebrow {
    color: #70e3df;
}


.gm-experience-business .section-heading h2 {
    color: #ffffff;
}


.gm-experience-business .section-heading p {
    color: rgba(255, 255, 255, 0.72);
}


.gm-stats-grid {
    display: grid;

    grid-template-columns: repeat(5, 1fr);

    border: 1px solid rgba(255, 255, 255, 0.13);

    border-radius: 30px;

    overflow: hidden;

    background:
        rgba(255, 255, 255, 0.06);

    backdrop-filter: blur(8px);
}


.gm-stat {
    position: relative;

    min-height: 185px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 30px 18px;

    text-align: center;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}


.gm-stat:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 30px;
    bottom: 30px;
    right: 0;

    width: 1px;

    background:
        rgba(255, 255, 255, 0.12);
}


.gm-stat:hover {
    background:
        rgba(255, 255, 255, 0.08);
}


.gm-stat strong {
    display: block;

    margin-bottom: 10px;

    color: #ffffff;

    font-size: clamp(2.1rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1;

    letter-spacing: -0.05em;
}


.gm-stat span {
    max-width: 150px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 0.88rem;
    font-weight: 600;

    line-height: 1.45;
}


/* =========================================================
   TESTIMONIOS
========================================================= */

.gm-testimonials {
    position: relative;

    padding: 110px 0 120px;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f5fbfc 100%
        );

    overflow: hidden;
}


/* =========================================================
   SLIDER
========================================================= */

.gm-testimonials-slider {
    position: relative;

    margin-top: 50px;

    padding: 0 60px 55px;
}


/* =========================================================
   VIEWPORT
========================================================= */

.gm-testimonials-viewport {
    width: 100%;

    overflow: hidden;

    padding: 8px 4px 20px;
}


/* =========================================================
   TRACK
========================================================= */

.gm-testimonials-track {
    display: flex;

    margin: 0 -12px;

    transition: transform 0.65s ease;

    will-change: transform;
}


/* =========================================================
   SLIDE
========================================================= */

.gm-testimonial-slide {
    flex: 0 0 50%;

    min-width: 0;

    padding: 0 12px;
}


/* =========================================================
   TARJETA
========================================================= */

.gm-testimonial-card {
    position: relative;

    display: flex;
    flex-direction: column;

    height: 100%;
    min-height: 360px;

    padding: 38px;

    background: #ffffff;

    border:
        1px solid rgba(15, 75, 110, 0.09);

    border-radius: 28px;

    box-shadow:
        0 18px 50px rgba(15, 75, 110, 0.08);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.gm-testimonial-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 25px 60px rgba(15, 75, 110, 0.13);
}


/* =========================================================
   COMILLAS
========================================================= */

.gm-testimonial-quote {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    margin-bottom: 22px;

    border-radius: 17px;

    background:
        linear-gradient(
            135deg,
            rgba(0, 174, 199, 0.13),
            rgba(20, 184, 166, 0.13)
        );

    color: var(--teal);

    font-size: 1.8rem;
}


/* =========================================================
   TEXTO
========================================================= */

.gm-testimonial-card blockquote {
    flex: 1;

    margin: 0 0 30px;

    color: #334155;

    font-size: 1.04rem;
    font-weight: 500;

    line-height: 1.8;
}


/* =========================================================
   PERSONA
========================================================= */

.gm-testimonial-person {
    display: flex;

    align-items: center;

    gap: 16px;

    padding-top: 22px;

    border-top:
        1px solid rgba(15, 75, 110, 0.08);
}


/* =========================================================
   FOTO
========================================================= */

.gm-testimonial-photo {
    flex: 0 0 auto;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 72px;
    height: 72px;

    overflow: hidden;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--teal)
        );

    box-shadow:
        0 8px 22px rgba(0, 125, 170, 0.18);

    color: #ffffff;

    font-size: 1.35rem;
    font-weight: 800;
}


.gm-testimonial-photo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* =========================================================
   INFORMACIÓN
========================================================= */

.gm-testimonial-info {
    flex: 1;

    display: flex;
    flex-direction: column;

    min-width: 0;
}


.gm-testimonial-info strong {
    color: var(--navy);

    font-size: 1rem;
    font-weight: 800;
}


.gm-testimonial-info span {
    margin-top: 3px;

    color: #64748b;

    font-size: 0.84rem;
}


.gm-testimonial-info small {
    margin-top: 3px;

    color: var(--teal);

    font-size: 0.8rem;
    font-weight: 700;
}


/* =========================================================
   LOGO EMPRESA
========================================================= */

.gm-testimonial-company-logo {
    flex: 0 0 auto;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 85px;
    height: 45px;
}


.gm-testimonial-company-logo img {
    display: block;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
}


/* =========================================================
   FLECHAS
========================================================= */

.gm-testimonial-arrow {
    position: absolute;

    top: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    padding: 0;

    border:
        1px solid rgba(15, 75, 110, 0.10);

    border-radius: 50%;

    background: #ffffff;

    color: var(--navy);

    box-shadow:
        0 8px 25px rgba(15, 75, 110, 0.12);

    cursor: pointer;

    transform: translateY(-50%);

    transition:
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}


.gm-testimonial-arrow:hover {
    background: var(--teal);

    color: #ffffff;

    box-shadow:
        0 12px 30px rgba(0, 174, 199, 0.20);
}


.gm-testimonial-prev {
    left: 0;
}


.gm-testimonial-next {
    right: 0;
}


/* =========================================================
   INDICADORES
========================================================= */

.gm-testimonial-dots {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;
}


.gm-testimonial-dot {
    width: 8px;
    height: 8px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: #cbd5e1;

    cursor: pointer;

    transition:
        width 0.3s ease,
        background 0.3s ease,
        border-radius 0.3s ease;
}


.gm-testimonial-dot.active {
    width: 25px;

    border-radius: 10px;

    background: var(--teal);
}


/* =========================================================
   DEMO
========================================================= */

.gm-demo-label {
    position: absolute;

    top: 22px;
    right: 22px;

    padding: 6px 10px;

    border-radius: 50px;

    background: #fff7ed;

    color: #c2410c;

    font-size: 0.62rem;
    font-weight: 800;

    letter-spacing: 0.04em;

    text-transform: uppercase;
}

/* =========================================================
   CTA EMPRESARIAL
========================================================= */

.proposal-section {
    padding: 90px 0;

    background: #ffffff;
}


.proposal-card {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 45px;

    padding: 55px 60px;

    border-radius: 34px;

    background:
        linear-gradient(
            135deg,
            #063c55 0%,
            #076b78 55%,
            #09998e 100%
        );

    box-shadow:
        0 30px 70px rgba(6, 60, 85, 0.2);

    overflow: hidden;
}


.proposal-card::before {
    content: "";

    position: absolute;

    width: 330px;
    height: 330px;

    top: -190px;
    right: -80px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.06);

    pointer-events: none;
}


.proposal-content {
    position: relative;

    z-index: 2;

    max-width: 650px;
}


.proposal-content .eyebrow {
    color: #76e6dc;
}


.proposal-content h2 {
    margin: 12px 0 16px;

    color: #ffffff;

    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1.1;

    letter-spacing: -0.04em;
}


.proposal-content p {
    margin: 0;

    max-width: 600px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 1rem;
    line-height: 1.75;
}


.proposal-actions {
    position: relative;

    z-index: 2;

    flex: 0 0 auto;

    display: flex;

    flex-direction: column;

    gap: 12px;

    min-width: 235px;
}


.proposal-actions .btn {
    white-space: nowrap;
}



/* =========================================================
   RESPONSIVE
   TABLET
========================================================= */

@media (max-width: 1199.98px) {

    /* PROCESO */

    .gm-process {
        grid-template-columns: repeat(3, 1fr);

        row-gap: 50px;
    }


    .gm-process::before {
        display: none;
    }


    /* INDICADORES */

    .gm-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }


    .gm-stat::after {
        display: none;
    }


    .gm-stat {
        border-bottom:
            1px solid rgba(255, 255, 255, 0.1);
    }


    /* CTA */

    .proposal-card {
        padding: 50px;
    }

}



/* =========================================================
   RESPONSIVE
   TABLET / MÓVIL
========================================================= */

@media (max-width: 991.98px) {

    .benefit-strip,
    .gm-process-section,
    .gm-why-business,
    .gm-experience-business,
    .gm-testimonials {
        padding: 80px 0;
    }


    /* CÓMO TRABAJAMOS */

    .gm-process {
        grid-template-columns: 1fr 1fr;

        gap: 35px;
    }


    .gm-process-item {
        padding: 25px;

        background: rgba(255, 255, 255, 0.65);

        border: 1px solid rgba(15, 75, 110, 0.07);

        border-radius: 24px;
    }


    /* POR QUÉ GLOBAL MED */

    .gm-why-business .lead {
        max-width: 100%;
    }


    /* INDICADORES */

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


    /* CTA */

    .proposal-card {
        flex-direction: column;

        align-items: flex-start;

        padding: 45px;
    }


    .proposal-actions {
        width: 100%;

        flex-direction: row;

        flex-wrap: wrap;
    }

}



/* =========================================================
   RESPONSIVE
   CELULAR
========================================================= */

@media (max-width: 575.98px) {

    .benefit-strip,
    .gm-process-section,
    .gm-why-business,
    .gm-experience-business,
    .gm-testimonials {
        padding: 65px 0;
    }


    .section-heading h2 {
        font-size: 2rem;
    }


    .section-heading p {
        font-size: 0.95rem;
        line-height: 1.7;
    }


    /* BENEFICIOS */

    .mini-benefit {
        min-height: auto;

        padding: 27px 24px;

        border-radius: 22px;
    }


    /* PROCESO */

    .gm-process {
        display: block;
    }


    .gm-process-item {
        position: relative;

        margin-bottom: 20px;

        padding:
            25px
            22px
            25px
            92px;

        text-align: left;
    }


    .gm-process-item:last-child {
        margin-bottom: 0;
    }


    .gm-process-number {
        margin-bottom: 6px;
    }


    .gm-process-icon {
        position: absolute;

        top: 28px;
        left: 20px;

        width: 54px;
        height: 54px;

        margin: 0;

        border-width: 4px;

        font-size: 1.2rem;
    }


    .gm-process-item p {
        max-width: none;

        margin: 0;

        font-size: 0.88rem;
    }


    /* POR QUÉ GLOBAL MED */

    .gm-why-business h2 {
        font-size: 2.2rem;
    }


    .gm-business-advantage {
        min-height: auto;

        padding: 25px;

        border-radius: 22px;
    }


    /* INDICADORES */

    .gm-stats-grid {
        grid-template-columns: 1fr 1fr;

        border-radius: 24px;
    }


    .gm-stat {
        min-height: 145px;

        padding: 25px 12px;
    }


    .gm-stat strong {
        font-size: 2rem;
    }


    .gm-stat span {
        font-size: 0.78rem;
    }


    /* El último indicador ocupa todo el ancho */

    .gm-stat:last-child {
        grid-column: 1 / -1;
    }


    /* TESTIMONIOS */

    .gm-testimonial-card {
        min-height: auto;

        padding: 28px 24px;

        border-radius: 23px;
    }


    .gm-testimonial-card blockquote {
        font-size: 0.95rem;
    }


    .gm-demo-label {
        position: static;

        display: inline-block;

        align-self: flex-start;

        margin-top: 22px;
    }


    /* CTA */

    .proposal-section {
        padding: 60px 0;
    }


    .proposal-card {
        padding: 35px 25px;

        border-radius: 26px;
    }


    .proposal-content h2 {
        font-size: 2rem;
    }


    .proposal-actions {
        flex-direction: column;

        width: 100%;
    }


    .proposal-actions .btn {
        width: 100%;

        white-space: normal;
    }

}
@media (max-width: 767.98px) {

    .gm-testimonials {
        padding:
            75px
            0
            90px;
    }


    .gm-testimonials-slider {
        margin-top: 35px;

        padding:
            0
            5px
            65px;
    }


    .gm-testimonials-track {
        margin: 0;
    }


    .gm-testimonial-slide {
        flex: 0 0 100%;

        padding: 0;
    }


    .gm-testimonial-card {
        min-height: 340px;

        padding: 28px 24px;

        border-radius: 24px;
    }


    .gm-testimonial-card blockquote {
        font-size: 0.95rem;

        line-height: 1.7;
    }


    .gm-testimonial-photo {
        width: 60px;
        height: 60px;
    }


    .gm-testimonial-company-logo {
        display: none;
    }


    .gm-testimonial-arrow {
        top: auto;
        bottom: 0;

        width: 42px;
        height: 42px;

        transform: none;
    }


    .gm-testimonial-prev {
        left: 15px;
    }


    .gm-testimonial-next {
        right: 15px;
    }


    .gm-demo-label {
        position: static;

        display: inline-block;

        align-self: flex-start;

        margin-top: 20px;
    }

}

/* =========================================================
   PROPUESTA EMPRESARIAL - MODAL
========================================================= */

.gm-proposal-modal {
    border: 0;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 31, 51, .22);
}

.gm-proposal-modal .modal-header {
    padding: 32px 34px 18px;
}

.gm-proposal-modal .modal-body {
    padding: 10px 34px 34px;
}

.gm-proposal-modal .modal-title {
    margin-top: 8px;
    font-size: clamp(1.55rem, 3vw, 2rem);
    font-weight: 800;
    color: #102c3c;
}

.gm-proposal-modal .form-label {
    font-weight: 700;
    color: #173747;
    font-size: .91rem;
}

.gm-proposal-modal .form-control {
    min-height: 52px;
    border-radius: 14px;
    border: 1px solid #d8e4e9;
    padding: .8rem 1rem;
    box-shadow: none;
}

.gm-proposal-modal textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.gm-proposal-modal .form-control:focus {
    border-color: #21a9b5;
    box-shadow: 0 0 0 .22rem rgba(33, 169, 181, .11);
}

.gm-proposal-help {
    height: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border-radius: 14px;
    background: #f1f9fa;
    color: #49646f;
    font-size: .83rem;
    line-height: 1.45;
}

.gm-proposal-help i {
    flex: 0 0 auto;
    font-size: 1.35rem;
    color: #1599a6;
}

.gm-proposal-privacy {
    padding: 15px 16px 15px 42px;
    border-radius: 14px;
    background: #f7fafb;
}

.gm-proposal-privacy a {
    font-weight: 700;
}

.gm-proposal-form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid #edf1f3;
}

@media (max-width: 575.98px) {

    .gm-proposal-modal {
        border-radius: 22px;
    }

    .gm-proposal-modal .modal-header {
        padding: 24px 20px 14px;
        align-items: flex-start;
    }

    .gm-proposal-modal .modal-body {
        padding: 8px 20px 24px;
    }

    .gm-proposal-form-actions {
        flex-direction: column-reverse;
    }

    .gm-proposal-form-actions .btn {
        width: 100%;
    }
}
/* =========================================================
   PERSONAS - EXPERIENCIA QUE GENERA CONFIANZA
========================================================= */

.people-why {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.people-why::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(17, 147, 157, .06);
    top: -180px;
    right: -140px;
    pointer-events: none;
}

.people-why .section-heading {
    max-width: 720px;
    margin: 0 auto;
}

.people-why .section-heading p {
    max-width: 650px;
    margin: 18px auto 0;
    color: #64767c;
    line-height: 1.75;
}


/* Estadísticas */

.people-trust-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1050px;
    margin: 60px auto 0;
    border: 1px solid rgba(8, 124, 134, .12);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 25px 65px rgba(20, 55, 65, .08);
    overflow: hidden;
}

.people-trust-stat {
    position: relative;
    padding: 45px 35px;
    text-align: center;
}

.people-trust-stat:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 20%;
    right: 0;
    width: 1px;
    height: 60%;
    background: rgba(8, 124, 134, .12);
}


/* Icono */

.people-trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: rgba(8, 124, 134, .09);
    font-size: 24px;
    color: #087c86;
}


/* Número */

.people-trust-stat > strong {
    display: block;
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    color: #087c86;
}


/* Título */

.people-trust-stat h3 {
    margin: 14px 0 8px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #18383f;
}


/* Descripción */

.people-trust-stat p {
    max-width: 230px;
    margin: 0 auto;
    color: #6b7d82;
    font-size: .92rem;
    line-height: 1.6;
}


/* Beneficios inferiores */

.people-trust-benefits {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px 35px;
    margin-top: 32px;
}

.people-trust-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #39575e;
    font-size: .94rem;
    font-weight: 700;
}

.people-trust-benefits i {
    color: #087c86;
    font-size: 1rem;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767.98px) {

    .people-why {
        padding: 75px 0;
    }

    .people-trust-stats {
        grid-template-columns: 1fr;
        margin-top: 40px;
        border-radius: 24px;
    }

    .people-trust-stat {
        padding: 35px 25px;
    }

    .people-trust-stat:not(:last-child)::after {
        top: auto;
        right: 10%;
        bottom: 0;
        width: 80%;
        height: 1px;
    }

    .people-trust-stat > strong {
        font-size: 3rem;
    }

    .people-trust-benefits {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-top: 28px;
    }

}

/* =========================================================
   PERSONAS - PAQUETES DESTACADOS
========================================================= */

.featured-packages {
    position: relative;
    padding: 100px 0;
    background: #f6fafb;
    overflow: hidden;
}

.featured-packages .section-heading {
    max-width: 720px;
    margin: 0 auto;
}

.featured-packages .section-heading p {
    max-width: 650px;
    margin: 18px auto 0;
    color: #64767c;
    line-height: 1.75;
}


/* Tarjeta */

.featured-package-card {
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(8, 124, 134, .10);
    border-radius: 26px;
    box-shadow: 0 18px 50px rgba(20, 55, 65, .07);
    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.featured-package-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 28px 65px rgba(20, 55, 65, .13);
}


/* Imagen */

.featured-package-image {
    position: relative;
    height: 230px;
    overflow: hidden;
    background: #eaf3f4;
}

.featured-package-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .6s ease;
}

.featured-package-card:hover .featured-package-image img {
    transform: scale(1.045);
}


/* Badge */

.featured-package-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: #087c86;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .03em;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
}


/* Contenido */

.featured-package-content {
    display: flex;
    flex-direction: column;
    min-height: 255px;
    padding: 28px;
}

.featured-package-content h3 {
    margin: 0 0 12px;
    color: #18383f;
    font-size: 1.25rem;
    font-weight: 800;
}

.featured-package-content p {
    margin-bottom: 22px;
    color: #687b80;
    font-size: .94rem;
    line-height: 1.65;
}


/* Precio */

.featured-package-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 18px;
}

.featured-package-price small {
    color: #71858a;
    font-size: .78rem;
}

.featured-package-price strong {
    color: #087c86;
    font-size: 1.35rem;
    font-weight: 800;
}


/* Link */

.featured-package-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: auto;
    color: #087c86;
    font-weight: 800;
    text-decoration: none;
}

.featured-package-link i {
    transition: transform .25s ease;
}

.featured-package-link:hover i {
    transform: translateX(5px);
}


/* Botón ver todos */

.featured-packages-all {
    margin-top: 45px;
    text-align: center;
}


/* Responsive */

@media (max-width: 767.98px) {

    .featured-packages {
        padding: 75px 0;
    }

    .featured-package-image {
        height: 210px;
    }

    .featured-package-content {
        min-height: auto;
        padding: 24px;
    }

    .featured-packages-all {
        margin-top: 35px;
    }
}
/* =========================================================
   RESERVA PÚBLICA
========================================================= */

.gm-public-booking {
    padding: 90px 0;
}

.gm-booking-shell {
    max-width: 900px;
    margin: 45px auto 0;
    padding: 38px;

    background: #fff;

    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 28px;

    box-shadow:
        0 24px 70px rgba(0, 0, 0, .07);
}


/* Pasos */

@media (max-width: 575.98px) {

    .gm-booking-steps {
        grid-template-columns: repeat(5, 1fr);
        gap: 2px;
    }

    .gm-booking-step span {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .gm-booking-step small {
        font-size: 9px;
        line-height: 1.15;
        margin-top: 7px;
        white-space: nowrap;
    }
}

.gm-booking-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);


    position: relative;

    margin-bottom: 40px;
}

.gm-booking-step {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;

    color: #8a9199;
}

.gm-booking-step span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    background: #eef2f4;

    font-size: 13px;
    font-weight: 800;
}

.gm-booking-step small {
    font-size: 11px;
    font-weight: 700;
}

.gm-booking-step.active {
    color: var(--bs-primary);
}

.gm-booking-step.active span {
    background: var(--bs-primary);
    color: #fff;
}


/* Campos */

.gm-booking-controls {
    max-width: 760px;
    margin: 0 auto;
}

.gm-booking-label {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 9px;

    font-size: 13px;
    font-weight: 800;
}

.gm-booking-label i {
    color: var(--bs-primary);
}

.gm-booking-input {
    min-height: 54px;

    border-radius: 15px;
    border-color: #dfe5e8;

    padding-left: 16px;

    font-size: 14px;
}

.gm-booking-input:focus {
    border-color: var(--bs-primary);

    box-shadow:
        0 0 0 .2rem rgba(13, 110, 253, .08);
}


/* Consultar */

.gm-booking-search {
    display: flex;
    justify-content: center;

    margin-top: 28px;
}


/* Resultado */

.gm-booking-result {
    margin-top: 35px;
}

.gm-booking-placeholder {
    padding: 35px;

    border-radius: 20px;

    background: #f7f9fa;

    text-align: center;
}

.gm-booking-placeholder > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    margin: 0 auto 15px;

    border-radius: 50%;

    background: #fff;

    color: var(--bs-primary);

    font-size: 22px;
}

.gm-booking-placeholder strong {
    display: block;

    margin-bottom: 4px;
}

.gm-booking-placeholder p {
    margin: 0;

    color: #7b848c;

    font-size: 13px;
}


/* Horarios */

.gm-booking-times-title {
    margin-bottom: 17px;

    font-size: 15px;
    font-weight: 800;
}

.gm-booking-times {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 10px;
}

.gm-booking-time {
    padding: 12px 8px;

    border: 1px solid #dce4e8;
    border-radius: 12px;

    background: #fff;

    color: #26343d;

    font-size: 13px;
    font-weight: 800;

    transition: .2s ease;
}

.gm-booking-time:hover {
    transform: translateY(-2px);

    border-color: var(--bs-primary);

    color: var(--bs-primary);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, .06);
}


/* Modal */

.gm-booking-modal {
    border: 0;
    border-radius: 25px;
    overflow: hidden;
}

.gm-booking-modal .modal-header {
    padding: 25px 28px;

    border-bottom: 1px solid #eef1f2;
}

.gm-booking-modal .modal-body {
    padding: 28px;
}

.gm-booking-modal .modal-title {
    margin-top: 3px;

    font-size: 24px;
    font-weight: 800;
}

.gm-booking-summary {
    display: flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 25px;
    padding: 15px;

    border-radius: 16px;

    background: #f5f8fa;
}

.gm-booking-summary-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 42px;
    height: 42px;

    border-radius: 12px;

    background: #fff;

    color: var(--bs-primary);

    font-size: 18px;
}

.gm-booking-summary strong,
.gm-booking-summary span {
    display: block;
}

.gm-booking-summary strong {
    font-size: 14px;
}

.gm-booking-summary div > span {
    margin-top: 2px;

    color: #768089;

    font-size: 12px;
}

.gm-booking-privacy {
    margin-top: 20px;

    font-size: 12px;
}


/* Éxito */

.gm-booking-success {
    padding: 15px 5px;

    text-align: center;
}

.gm-booking-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 70px;
    height: 70px;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: #eaf8ef;

    color: #249453;

    font-size: 32px;
}

.gm-booking-success h3 {
    font-weight: 800;
}

.gm-booking-code {
    display: inline-block;

    margin: 4px 0 18px;

    font-size: 20px;
}

.gm-booking-success-details {
    padding: 15px;

    border-radius: 15px;

    background: #f6f8f9;

    font-size: 13px;
}


/* Responsive */

@media (max-width: 767.98px) {

    .gm-public-booking {
        padding: 65px 0;
    }

    .gm-booking-shell {
        padding: 25px 18px;

        border-radius: 22px;
    }

    .gm-booking-step small {
        font-size: 9px;
    }

    .gm-booking-step span {
        width: 32px;
        height: 32px;
    }

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

}

/* =========================================================
   MODAL RESERVA
========================================================= */

.gm-booking-modal {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
}

.gm-booking-modal .modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid #edf0f2;
}

.gm-booking-modal .modal-body {
    padding: 28px;
}

.gm-booking-modal .modal-title {
    margin-top: 3px;
    font-size: 23px;
    font-weight: 800;
}

.gm-booking-summary {
    display: flex;
    align-items: center;
    gap: 14px;

    margin-bottom: 25px;
    padding: 16px;

    background: #f5f8fa;
    border-radius: 16px;
}

.gm-booking-summary-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 44px;

    width: 44px;
    height: 44px;

    background: #fff;
    border-radius: 12px;

    color: var(--bs-primary);
    font-size: 19px;
}

.gm-booking-summary strong,
.gm-booking-summary div > span {
    display: block;
}

.gm-booking-summary strong {
    font-size: 14px;
    font-weight: 800;
}

.gm-booking-summary div > span {
    margin-top: 3px;
    color: #737e86;
    font-size: 12px;
}

.gm-booking-privacy {
    margin-top: 20px;
    font-size: 12px;
}

.gm-booking-success {
    padding: 10px 4px 15px;
    text-align: center;
}

.gm-booking-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 70px;
    height: 70px;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: #eaf8ef;
    color: #249453;

    font-size: 31px;
}

.gm-booking-success h3 {
    font-weight: 800;
}

.gm-booking-code {
    display: inline-block;

    margin: 5px 0 18px;

    font-size: 21px;
    font-weight: 800;
}

.gm-booking-success-details {
    padding: 16px;

    background: #f6f8f9;
    border-radius: 15px;

    line-height: 1.8;
    font-size: 13px;
}

/* =========================================================
   MODALIDAD DE CITA
========================================================= */

.gm-booking-modality {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.gm-booking-modality-btn {
    width: 100%;
    min-height: 82px;

    display: flex;
    align-items: center;
    gap: 14px;

    padding: 16px 18px;

    border: 2px solid #e6e9ee;
    border-radius: 16px;

    background: #fff;
    color: #243247;

    text-align: left;

    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.gm-booking-modality-btn:hover {
    border-color: var(--bs-primary);
    transform: translateY(-1px);
}

.gm-booking-modality-btn.active {
    border-color: var(--bs-primary);
    background: rgba(13, 110, 253, .06);
    box-shadow: 0 8px 24px rgba(13, 110, 253, .10);
}

.gm-booking-modality-icon {
    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #f2f5f8;

    font-size: 20px;
}

.gm-booking-modality-btn.active
.gm-booking-modality-icon {
    background: var(--bs-primary);
    color: #fff;
}

.gm-booking-modality-btn strong,
.gm-booking-modality-btn small {
    display: block;
}

.gm-booking-modality-btn strong {
    font-size: 15px;
    margin-bottom: 2px;
}

.gm-booking-modality-btn small {
    color: #7a8494;
    font-size: 12px;
    line-height: 1.3;
}


/* Móvil */

@media (max-width: 575.98px) {

    .gm-booking-modality {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .gm-booking-modality-btn {
        min-height: 94px;
        padding: 12px 8px;

        flex-direction: column;
        justify-content: center;

        text-align: center;
        gap: 7px;
    }

    .gm-booking-modality-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        font-size: 17px;
    }

    .gm-booking-modality-btn small {
        font-size: 10px;
    }

}

/* =========================================================
   TARJETAS DE SERVICIOS CLICKEABLES
========================================================= */

.service-card-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.service-card-link:hover,
.service-card-link:focus,
.service-card-link:active,
.service-card-link:visited {
    color: inherit;
    text-decoration: none;
}

/* Evita estilos de enlace en todo el contenido */
.service-card-link h3,
.service-card-link p,
.service-card-link span,
.service-card-link i {
    color: inherit;
    text-decoration: none;
}

/* Mantiene el comportamiento visual de la tarjeta */
.service-card-link .service-card {
    height: 100%;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

/* Efecto al pasar el mouse */
.service-card-link:hover .service-card {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(15, 50, 75, 0.12);
}

/* Pequeño movimiento de la flecha */
.service-card-link .service-arrow {
    transition: transform 0.25s ease;
}

.service-card-link:hover .service-arrow {
    transform: translate(3px, -3px);
}

/* Accesibilidad con teclado */
.service-card-link:focus-visible {
    outline: none;
}

.service-card-link:focus-visible .service-card {
    outline: 3px solid rgba(18, 125, 141, 0.25);
    outline-offset: 3px;
}

/* =========================================================
   MODELO GLOBAL MED 360°
========================================================= */

.gm-360-section {
    position: relative;
    padding: 110px 0;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(24, 139, 156, 0.08),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            #f7fafb 0%,
            #ffffff 100%
        );
}

.gm-360-heading {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.gm-360-heading h2 span {
    color: var(--gm-primary, #167d8d);
}


/* =========================================================
   ÁREA DEL MODELO
========================================================= */

.gm-360-model {
    position: relative;
    max-width: 1150px;
    min-height: 720px;
    margin: 70px auto 0;
}


/* =========================================================
   CENTRO 360
========================================================= */

.gm-360-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 280px;
    height: 280px;
    transform: translate(-50%, -50%);
    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #123c69,
            #167d8d
        );

    box-shadow:
        0 30px 70px rgba(18, 60, 105, 0.22);
}


/* Anillo exterior */

.gm-360-center::before {
    content: "";
    position: absolute;
    inset: -18px;

    border: 1px solid rgba(22, 125, 141, 0.20);
    border-radius: 50%;
}


/* Segundo anillo */

.gm-360-center::after {
    content: "";
    position: absolute;
    inset: -42px;

    border: 1px dashed rgba(22, 125, 141, 0.15);
    border-radius: 50%;
}


.gm-360-center-ring {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: center;

    color: #ffffff;
    text-align: center;
}


.gm-360-center-small {
    margin-bottom: 5px;

    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;

    opacity: 0.75;
}


.gm-360-center-ring strong {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}


.gm-360-number {
    margin: -2px 0;

    font-size: 4.3rem;
    line-height: 1;
    font-weight: 800;
}


.gm-360-center-ring small {
    margin-top: 8px;

    font-size: 0.82rem;
    font-weight: 600;

    opacity: 0.82;
}


/* =========================================================
   PILARES
========================================================= */

.gm-360-pillar {
    position: absolute;
    width: 330px;
    min-height: 155px;

    padding: 24px 24px 22px;

    border: 1px solid rgba(18, 60, 105, 0.08);
    border-radius: 22px;

    background: rgba(255, 255, 255, 0.96);

    box-shadow:
        0 15px 45px rgba(15, 50, 75, 0.08);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;

    z-index: 4;
}


.gm-360-pillar:hover {
    transform: translateY(-5px);

    border-color: rgba(22, 125, 141, 0.20);

    box-shadow:
        0 22px 55px rgba(15, 50, 75, 0.13);
}


.gm-360-pillar-number {
    position: absolute;
    top: 18px;
    right: 20px;

    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;

    color: rgba(18, 60, 105, 0.30);
}


.gm-360-pillar-icon {
    width: 48px;
    height: 48px;

    margin-bottom: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: rgba(22, 125, 141, 0.10);
    color: #167d8d;

    font-size: 1.25rem;
}


.gm-360-pillar h3 {
    margin: 0 0 8px;

    color: #123c69;

    font-size: 1.05rem;
    font-weight: 800;
}


.gm-360-pillar p {
    margin: 0;

    color: #637381;

    font-size: 0.88rem;
    line-height: 1.6;
}


/* =========================================================
   POSICIONES
========================================================= */

.gm-360-pillar-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}


.gm-360-pillar-1:hover {
    transform: translateX(-50%) translateY(-5px);
}


.gm-360-pillar-2 {
    top: 175px;
    right: 0;
}


.gm-360-pillar-3 {
    right: 90px;
    bottom: 0;
}


.gm-360-pillar-4 {
    left: 90px;
    bottom: 0;
}


.gm-360-pillar-5 {
    top: 175px;
    left: 0;
}


/* =========================================================
   LÍNEAS DECORATIVAS
========================================================= */

.gm-360-model::before {
    content: "";
    position: absolute;

    top: 50%;
    left: 50%;

    width: 520px;
    height: 520px;

    transform: translate(-50%, -50%);

    border: 1px solid rgba(22, 125, 141, 0.10);
    border-radius: 50%;

    pointer-events: none;
}


/* =========================================================
   PIE DEL MODELO
========================================================= */

.gm-360-footer {
    max-width: 1000px;

    margin: 60px auto 0;
    padding: 25px 28px;

    display: flex;
    align-items: center;
    gap: 20px;

    border: 1px solid rgba(18, 60, 105, 0.08);
    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 15px 40px rgba(15, 50, 75, 0.06);
}


.gm-360-footer-icon {
    flex: 0 0 auto;

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background: rgba(22, 125, 141, 0.10);
    color: #167d8d;

    font-size: 1.35rem;
}


.gm-360-footer > div:nth-child(2) {
    flex: 1;
}


.gm-360-footer strong {
    display: block;

    margin-bottom: 4px;

    color: #123c69;

    font-size: 1rem;
    font-weight: 800;
}


.gm-360-footer p {
    margin: 0;

    color: #637381;

    font-size: 0.88rem;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1199.98px) {

    .gm-360-model {
        max-width: 900px;
    }

    .gm-360-pillar {
        width: 285px;
    }

    .gm-360-pillar-3 {
        right: 25px;
    }

    .gm-360-pillar-4 {
        left: 25px;
    }

}


/* =========================================================
   MOBILE / TABLET VERTICAL
========================================================= */

@media (max-width: 991.98px) {

    .gm-360-section {
        padding: 80px 0;
    }


    .gm-360-model {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;

        min-height: auto;
        margin-top: 45px;
    }


    .gm-360-model::before {
        display: none;
    }


    .gm-360-center {
        position: relative;

        top: auto;
        left: auto;

        grid-column: 1 / -1;

        width: 230px;
        height: 230px;

        margin: 0 auto 25px;

        transform: none;
    }


    .gm-360-number {
        font-size: 3.6rem;
    }


    .gm-360-pillar {
        position: relative;

        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        width: 100%;
        min-height: 100%;

        transform: none;
    }


    .gm-360-pillar:hover,
    .gm-360-pillar-1:hover {
        transform: translateY(-4px);
    }


    .gm-360-pillar-5 {
        grid-column: 1 / -1;
    }


    .gm-360-footer {
        margin-top: 35px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 575.98px) {

    .gm-360-section {
        padding: 65px 0;
    }


    .gm-360-model {
        grid-template-columns: 1fr;
        gap: 14px;
    }


    .gm-360-center {
        grid-column: auto;

        width: 200px;
        height: 200px;

        margin-bottom: 20px;
    }


    .gm-360-center::after {
        inset: -30px;
    }


    .gm-360-number {
        font-size: 3.1rem;
    }


    .gm-360-pillar,
    .gm-360-pillar-5 {
        grid-column: auto;
    }


    .gm-360-pillar {
        display: grid;
        grid-template-columns: 48px 1fr;
        column-gap: 15px;

        min-height: auto;
        padding: 20px;
    }


    .gm-360-pillar-icon {
        grid-column: 1;
        grid-row: 1 / 3;

        margin: 0;
    }


    .gm-360-pillar-content {
        grid-column: 2;
    }


    .gm-360-pillar-number {
        display: none;
    }


    .gm-360-footer {
        flex-direction: column;
        align-items: flex-start;

        padding: 22px;
    }


    .gm-360-footer .btn {
        width: 100%;
    }

}

/* =========================================================
   CASOS DE ÉXITO
========================================================= */

/* =========================================================
   GLOBAL MED
   CASOS DE ÉXITO
   ========================================================= */


/* =========================================================
   1. LISTADO / CARRUSEL EN EMPRESAS
========================================================= */

.gm-success-cases {
    position: relative;
    overflow: hidden;

    padding: 100px 0;

    background: #ffffff;
}


/* =========================================================
   ENCABEZADO
========================================================= */

.gm-success-heading {
    max-width: 760px;

    margin: 0 auto 50px;

    text-align: center;
}

.gm-success-heading .gm-section-eyebrow {
    display: inline-block;

    margin-bottom: 12px;

    font-size: 0.75rem;
    font-weight: 800;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}

.gm-success-heading h2 {
    margin: 0 0 16px;

    font-size: clamp(
        2rem,
        4vw,
        3rem
    );

    font-weight: 800;
    line-height: 1.15;

    letter-spacing: -0.035em;
}

.gm-success-heading p {
    max-width: 680px;

    margin: 0 auto;

    color: #667085;

    font-size: 1rem;
    line-height: 1.75;
}


/* =========================================================
   SLIDER
========================================================= */

.gm-success-slider {
    position: relative;

    width: 100%;
}

.gm-success-viewport {
    position: relative;

    width: 100%;

    overflow: hidden;
}

.gm-success-track {
    display: flex;

    gap: 24px;

    width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    padding: 4px 2px 30px;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
}

.gm-success-track::-webkit-scrollbar {
    display: none;
}


/* =========================================================
   SLIDE
   DESKTOP = 3 TARJETAS
========================================================= */

.gm-success-slide {
    flex:
        0
        0
        calc(
            (100% - 48px) / 3
        );

    min-width: 0;

    scroll-snap-align: start;
    scroll-snap-stop: always;
}


/* =========================================================
   TARJETA
========================================================= */

.gm-success-card {
    position: relative;

    display: flex;

    height: 100%;

    overflow: hidden;

    flex-direction: column;

    border:
        1px solid
        rgba(15, 23, 42, 0.08);

    border-radius: 24px;

    background: #ffffff;

    box-shadow:
        0 12px 36px
        rgba(15, 23, 42, 0.06);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.gm-success-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(15, 23, 42, 0.12);

    box-shadow:
        0 22px 50px
        rgba(15, 23, 42, 0.10);
}


/* =========================================================
   IMAGEN DE TARJETA
========================================================= */

.gm-success-card-image {
    position: relative;

    width: 100%;

    overflow: hidden;

    background: #f4f7f6;
}

.gm-success-card-image::after {
    position: absolute;

    inset: 0;

    content: "";

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            transparent 65%,
            rgba(0, 0, 0, 0.06)
        );
}

.gm-success-card-image img {
    display: block;

    width: 100%;

    aspect-ratio: 16 / 10;

    object-fit: cover;

    transition:
        transform 0.45s ease;
}

.gm-success-card:hover
.gm-success-card-image img {
    transform: scale(1.035);
}


/* =========================================================
   CUERPO DE TARJETA
========================================================= */

.gm-success-card-body {
    display: flex;

    flex: 1;

    flex-direction: column;

    padding: 27px 28px 28px;
}

.gm-success-card-label {
    display: inline-flex;

    align-self: flex-start;

    align-items: center;

    margin-bottom: 12px;

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}

.gm-success-card-body h3 {
    margin: 0 0 13px;

    font-size: 1.25rem;
    font-weight: 800;

    line-height: 1.35;

    letter-spacing: -0.02em;
}

.gm-success-card-body p {
    display: -webkit-box;

    overflow: hidden;

    margin: 0 0 24px;

    color: #667085;

    font-size: 0.94rem;
    line-height: 1.7;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}


/* =========================================================
   ENLACE VER CASO
========================================================= */

.gm-success-card-link {
    display: inline-flex;

    align-items: center;

    align-self: flex-start;

    gap: 8px;

    margin-top: auto;

    font-size: 0.94rem;
    font-weight: 800;

    text-decoration: none;

    transition:
        gap 0.2s ease;
}

.gm-success-card-link i {
    font-size: 1rem;

    transition:
        transform 0.2s ease;
}

.gm-success-card-link:hover {
    gap: 11px;
}

.gm-success-card-link:hover i {
    transform: translateX(3px);
}


/* =========================================================
   CONTROLES DEL CARRUSEL
========================================================= */

.gm-success-controls {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 18px;

    margin-top: 8px;
}


/* =========================================================
   FLECHAS
========================================================= */

.gm-success-arrow {
    display: inline-flex;

    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    align-items: center;
    justify-content: center;

    padding: 0;

    border:
        1px solid
        rgba(15, 23, 42, 0.12);

    border-radius: 50%;

    background: #ffffff;

    font-size: 1.1rem;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease,
        border-color 0.2s ease;
}

.gm-success-arrow:hover:not(:disabled) {
    transform: translateY(-2px);

    border-color:
        rgba(15, 23, 42, 0.20);

    box-shadow:
        0 8px 22px
        rgba(15, 23, 42, 0.10);
}

.gm-success-arrow:focus-visible {
    outline: 3px solid rgba(0, 0, 0, 0.12);
    outline-offset: 3px;
}

.gm-success-arrow:disabled {
    cursor: default;

    opacity: 0.3;

    box-shadow: none;

    transform: none;
}


/* =========================================================
   INDICADORES
========================================================= */

.gm-success-dots {
    display: flex;

    min-height: 24px;

    align-items: center;
    justify-content: center;

    gap: 8px;
}

.gm-success-dot {
    display: block;

    width: 8px;
    height: 8px;

    flex: 0 0 8px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #d0d5dd;

    cursor: pointer;

    transition:
        width 0.2s ease,
        flex-basis 0.2s ease,
        border-radius 0.2s ease,
        background-color 0.2s ease;
}

.gm-success-dot.active {
    width: 24px;

    flex-basis: 24px;

    border-radius: 20px;
}


/* =========================================================
   2. DETALLE DEL CASO
   caso-exito.php
========================================================= */

.gm-case-detail {
    overflow: hidden;

    background: #ffffff;
}


/* =========================================================
   HERO DEL CASO
========================================================= */

.gm-case-detail-hero {
    position: relative;

    padding: 85px 0 65px;

    background:
        linear-gradient(
            135deg,
            rgba(245, 250, 249, 0.98),
            rgba(255, 255, 255, 1)
        );
}


/* =========================================================
   VOLVER A CASOS
========================================================= */

.gm-case-detail-back {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 26px;

    font-size: 0.88rem;
    font-weight: 700;

    text-decoration: none;

    transition:
        gap 0.2s ease,
        opacity 0.2s ease;
}

.gm-case-detail-back i {
    transition:
        transform 0.2s ease;
}

.gm-case-detail-back:hover {
    gap: 11px;
}

.gm-case-detail-back:hover i {
    transform: translateX(-3px);
}


/* =========================================================
   TÍTULO
========================================================= */

.gm-case-detail-hero h1 {
    max-width: 700px;

    margin: 13px 0 20px;

    font-size: clamp(
        2.3rem,
        5vw,
        4.2rem
    );

    font-weight: 800;
    line-height: 1.05;

    letter-spacing: -0.045em;
}


/* =========================================================
   DESCRIPCIÓN CORTA
========================================================= */

.gm-case-detail-hero .lead {
    max-width: 650px;

    margin: 0;

    color: #667085;

    font-size: 1.08rem;
    line-height: 1.8;
}


/* =========================================================
   IMAGEN PRINCIPAL
========================================================= */

.gm-case-detail-image {
    position: relative;

    overflow: hidden;

    border-radius: 26px;

    background: #f4f7f6;

    box-shadow:
        0 22px 55px
        rgba(15, 23, 42, 0.11);
}

.gm-case-detail-image img {
    display: block;

    width: 100%;

    aspect-ratio: 4 / 3;

    object-fit: cover;
}


/* =========================================================
   CONTENIDO COMPLETO DEL CASO
========================================================= */

.gm-case-detail-content {
    padding: 48px 0 85px;

    background: #ffffff;
}

.gm-case-detail-text {
    max-width: 920px;

    color: #475467;

    font-size: 1.08rem;
    line-height: 1.9;
}

.gm-case-detail-text br + br {
    display: block;

    content: "";

    margin-top: 14px;
}


/* =========================================================
   CTA DEL CASO
========================================================= */

.gm-case-detail-cta {
    padding: 0 0 100px;

    background: #ffffff;
}

.gm-case-detail-cta-card {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 45px;

    padding: 46px 48px;

    border:
        1px solid
        rgba(15, 23, 42, 0.06);

    border-radius: 28px;

    background: #f7faf9;
}

.gm-case-detail-cta-card > div:first-child {
    max-width: 680px;
}

.gm-case-detail-cta-card h2 {
    margin: 10px 0 12px;

    font-size: clamp(
        1.7rem,
        3vw,
        2.35rem
    );

    font-weight: 800;
    line-height: 1.2;

    letter-spacing: -0.03em;
}

.gm-case-detail-cta-card p {
    margin: 0;

    color: #667085;

    line-height: 1.75;
}


/* =========================================================
   BOTONES CTA
========================================================= */

.gm-case-detail-cta-actions {
    display: flex;

    flex: 0 0 auto;

    flex-direction: column;

    gap: 12px;
}

.gm-case-detail-cta-actions .btn {
    white-space: nowrap;
}


/* =========================================================
   404 - CASO NO ENCONTRADO
========================================================= */

.gm-case-not-found {
    display: flex;

    min-height: 65vh;

    align-items: center;

    padding: 100px 0;

    background:
        linear-gradient(
            135deg,
            #f7faf9,
            #ffffff
        );
}

.gm-case-not-found-content {
    max-width: 680px;

    margin: 0 auto;

    text-align: center;
}

.gm-case-not-found-content h1 {
    margin: 14px 0;

    font-size: clamp(
        2rem,
        4vw,
        3.2rem
    );

    font-weight: 800;

    letter-spacing: -0.035em;
}

.gm-case-not-found-content p {
    max-width: 520px;

    margin: 0 auto 28px;

    color: #667085;

    line-height: 1.75;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    /*
     * Carrusel:
     * dos tarjetas visibles.
     */

    .gm-success-slide {
        flex:
            0
            0
            calc(
                (100% - 24px) / 2
            );
    }


    /*
     * Detalle
     */

    .gm-case-detail-hero {
        padding: 70px 0 50px;
    }

    .gm-case-detail-content {
        padding: 42px 0 75px;
    }

    .gm-case-detail-cta {
        padding-bottom: 80px;
    }

    .gm-case-detail-cta-card {
        flex-direction: column;

        align-items: flex-start;

        gap: 30px;

        padding: 40px;
    }

    .gm-case-detail-cta-actions {
        width: 100%;

        flex-direction: row;
    }

    .gm-case-detail-cta-actions .btn {
        flex: 1;
    }

}


/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 767.98px) {

    /*
     * Sección
     */

    .gm-success-cases {
        padding: 75px 0;
    }

    .gm-success-heading {
        margin-bottom: 36px;
    }


    /*
     * Mostramos casi una tarjeta completa.
     *
     * El pequeño fragmento de la siguiente tarjeta
     * ayuda a indicar visualmente que existe swipe.
     */

    .gm-success-slide {
        flex: 0 0 88%;
    }

    .gm-success-card-body {
        padding: 24px;
    }


    /*
     * CTA
     */

    .gm-case-detail-cta-actions {
        flex-direction: column;
    }

    .gm-case-detail-cta-actions .btn {
        width: 100%;
    }

}


/* =========================================================
   MÓVIL PEQUEÑO
========================================================= */

@media (max-width: 575.98px) {

    /*
     * Carrusel
     */

    .gm-success-cases {
        padding: 65px 0;
    }

    .gm-success-heading h2 {
        font-size: 2rem;
    }

    .gm-success-slide {
        flex: 0 0 94%;
    }

    .gm-success-card {
        border-radius: 20px;
    }

    .gm-success-card-body {
        padding: 22px;
    }

    .gm-success-controls {
        gap: 13px;
    }

    .gm-success-arrow {
        width: 42px;
        height: 42px;

        flex-basis: 42px;
    }


    /*
     * Hero detalle
     */

    .gm-case-detail-hero {
        padding: 55px 0 40px;
    }

    .gm-case-detail-back {
        margin-bottom: 22px;
    }

    .gm-case-detail-hero h1 {
        font-size: 2.25rem;

        line-height: 1.08;
    }

    .gm-case-detail-hero .lead {
        font-size: 1rem;

        line-height: 1.7;
    }

    .gm-case-detail-image {
        border-radius: 20px;
    }


    /*
     * Texto completo
     */

    .gm-case-detail-content {
        padding: 34px 0 60px;
    }

    .gm-case-detail-text {
        font-size: 1rem;

        line-height: 1.8;
    }


    /*
     * CTA
     */

    .gm-case-detail-cta {
        padding-bottom: 65px;
    }

    .gm-case-detail-cta-card {
        gap: 25px;

        padding: 30px 24px;

        border-radius: 22px;
    }

}


/* =========================================================
   ACCESIBILIDAD / REDUCIR MOVIMIENTO
========================================================= */

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

    .gm-success-track {
        scroll-behavior: auto;
    }

    .gm-success-card,
    .gm-success-card-image img,
    .gm-success-card-link,
    .gm-success-card-link i,
    .gm-success-arrow,
    .gm-case-detail-back,
    .gm-case-detail-back i {
        transition: none;
    }

}

/* =========================================================
   GLOBAL MED - PAQUETES
========================================================= */

.packages-page {
    min-height: 70vh;
    padding: 72px 0 90px;

    background:
        linear-gradient(
            180deg,
            #f7fbfc 0%,
            #ffffff 300px
        );
}


/* =========================================================
   ENCABEZADO
========================================================= */

.packages-header {
    max-width: 760px;

    margin: 0 auto 45px;

    text-align: center;
}

.packages-eyebrow {
    display: inline-block;

    margin-bottom: 10px;

    color: #087ca7;

    font-size: .76rem;
    font-weight: 800;

    letter-spacing: .11em;
    text-transform: uppercase;
}

.packages-header h1 {
    margin: 0 0 14px;

    color: #102a43;

    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 800;

    line-height: 1.12;
    letter-spacing: -.04em;
}

.packages-header p {
    margin: 0;

    color: #667f8c;

    font-size: 1rem;
    line-height: 1.75;
}


/* =========================================================
   GRID
========================================================= */

.packages-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}


/* =========================================================
   CARD
========================================================= */

.package-card {
    position: relative;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e3edf1;
    border-radius: 22px;

    box-shadow:
        0 10px 35px rgba(16, 42, 67, .055);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.package-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(8, 124, 167, .20);

    box-shadow:
        0 18px 45px rgba(16, 42, 67, .10);
}


/* =========================================================
   IMAGEN CARD
========================================================= */

.package-image {
    position: relative;

    height: 220px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    padding: 12px;

    background: #f3f8f9;
}

.package-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;

    border-radius: 14px;

    transition:
        transform .35s ease;
}

.package-card:hover .package-image img {
    transform: scale(1.02);
}


/* =========================================================
   DESTACADO
========================================================= */

.package-featured {
    position: absolute;

    top: 16px;
    left: 16px;

    z-index: 2;

    display: inline-flex;
    align-items: center;

    gap: 6px;

    padding: 7px 11px;

    border-radius: 999px;

    background:
        rgba(255, 255, 255, .95);

    color: #087ca7;

    font-size: .68rem;
    font-weight: 800;

    box-shadow:
        0 5px 18px rgba(16, 42, 67, .10);
}


/* =========================================================
   CONTENIDO CARD
========================================================= */

.package-body {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding: 23px;
}

.package-body h2 {
    margin: 0 0 10px;

    color: #102a43;

    font-size: 1.12rem;
    font-weight: 800;

    line-height: 1.35;
}

.package-description {
    min-height: 67px;

    margin: 0 0 19px;

    color: #657e8b;

    font-size: .87rem;
    line-height: 1.65;
}


/* =========================================================
   PRECIO
========================================================= */

.package-price {
    margin-top: auto;
    margin-bottom: 19px;
}

.package-price small {
    display: block;

    margin-bottom: 2px;

    color: #91a4ae;

    font-size: .66rem;
    font-weight: 700;

    letter-spacing: .07em;
    text-transform: uppercase;
}

.package-price strong {
    color: #087ca7;

    font-size: 1.48rem;
    font-weight: 800;

    letter-spacing: -.03em;
}


/* =========================================================
   BOTONES
========================================================= */

.package-actions {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 9px;
}

.package-btn {
    min-height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 9px 12px;

    border-radius: 12px;

    font-size: .78rem;
    font-weight: 750;

    text-decoration: none;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.package-btn-detail {
    border:
        1px solid #dce8ed;

    background: #ffffff;

    color: #526d7a;
}

.package-btn-detail:hover {
    border-color: #bcd8e1;

    background: #f6fafb;

    color: #087ca7;
}

.package-btn-cart {
    border: 0;

    background:
        linear-gradient(
            135deg,
            #087ca7,
            #16b8b0
        );

    color: #ffffff;
}

.package-btn-cart:hover {
    color: #ffffff;

    transform:
        translateY(-1px);

    box-shadow:
        0 8px 18px
        rgba(8, 124, 167, .18);
}


/* =========================================================
   SIN PAQUETES
========================================================= */

.packages-empty {
    max-width: 620px;

    margin: 30px auto 0;
    padding: 50px 25px;

    text-align: center;

    background: #ffffff;

    border:
        1px solid #e3edf1;

    border-radius: 22px;
}

.packages-empty i {
    display: block;

    margin-bottom: 14px;

    color: #087ca7;

    font-size: 2rem;
}

.packages-empty h2 {
    margin-bottom: 7px;

    color: #102a43;

    font-size: 1.2rem;
    font-weight: 800;
}

.packages-empty p {
    margin: 0;

    color: #7c919c;

    font-size: .87rem;
}


/* =========================================================
   MODAL DETALLE
========================================================= */

.package-detail-dialog {
    max-width: 850px;
}

.package-detail-modal {
    position: relative;

    overflow: hidden;

    border: 0;
    border-radius: 22px;

    background: #ffffff;

    box-shadow:
        0 30px 80px
        rgba(16, 42, 67, .20);
}

.package-detail-close {
    position: absolute;

    top: 14px;
    right: 14px;

    z-index: 20;

    width: 38px;
    height: 38px;

    margin: 0 !important;
    padding: 0;

    border-radius: 50%;

    background-color:
        rgba(255, 255, 255, .96);

    box-shadow:
        0 5px 18px
        rgba(16, 42, 67, .15);
}

.package-detail-layout {
    display: grid;

    grid-template-columns:
        minmax(0, .9fr)
        minmax(0, 1.1fr);

    min-height: 470px;
}


/* =========================================================
   IMAGEN MODAL
========================================================= */

.package-detail-media {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px;

    background: #f3f8f9;
}

.package-detail-image {
    width: 100%;
    height: auto;

    max-height: 410px;

    display: block;

    object-fit: contain;

    border-radius: 16px;
}


/* =========================================================
   INFORMACIÓN MODAL
========================================================= */

.package-detail-info {
    display: flex;
    flex-direction: column;

    padding: 40px 32px 28px;
}

.package-detail-content {
    padding: 0;
}

.package-detail-content h2 {
    margin: 3px 0 8px;

    color: #102a43;

    font-size: 1.55rem;
    font-weight: 800;

    line-height: 1.25;
}

.package-detail-price {
    margin-bottom: 17px;

    color: #087ca7;

    font-size: 1.5rem;
    font-weight: 800;
}

.package-detail-description {
    color: #607985;

    font-size: .88rem;
    line-height: 1.7;
}

.package-detail-section {
    margin-top: 20px;
}

.package-detail-section h3 {
    margin-bottom: 10px;

    color: #102a43;

    font-size: .88rem;
    font-weight: 800;
}

.package-detail-list {
    margin: 0;
    padding: 0;

    list-style: none;
}

.package-detail-list li {
    position: relative;

    margin-bottom: 8px;
    padding-left: 23px;

    color: #607985;

    font-size: .84rem;
    line-height: 1.5;
}

.package-detail-list li::before {
    content: "\F26E";

    position: absolute;

    top: 1px;
    left: 0;

    font-family:
        "bootstrap-icons";

    color: #16a67e;
}

.package-detail-conditions {
    margin: 0;

    color: #738995;

    font-size: .81rem;
    line-height: 1.65;
}

.package-detail-footer {
    margin-top: auto;

    padding-top: 24px;
}


/* =========================================================
   BOTÓN FLOTANTE CARRITO
========================================================= */

.package-cart-floating {
    position: fixed;

    right: 26px;
    bottom: 26px;

    z-index: 1035;

    width: 62px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #087ca7,
            #16b8b0
        );

    color: #ffffff;

    font-size: 1.35rem;

    box-shadow:
        0 12px 32px
        rgba(8, 124, 167, .28);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.package-cart-floating:hover {
    transform:
        translateY(-3px);

    box-shadow:
        0 16px 38px
        rgba(8, 124, 167, .34);
}

.package-cart-count {
    position: absolute;

    top: -4px;
    right: -3px;

    min-width: 23px;
    height: 23px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 6px;

    border:
        3px solid #ffffff;

    border-radius: 999px;

    background: #102a43;

    color: #ffffff;

    font-size: .67rem;
    font-weight: 800;
}


/* =========================================================
   OFFCANVAS CARRITO
========================================================= */

.package-cart {
    width:
        min(430px, 100vw) !important;

    border-left: 0 !important;

    box-shadow:
        -15px 0 50px
        rgba(16, 42, 67, .14);
}

.package-cart-header {
    padding:
        26px 25px 20px;

    border-bottom:
        1px solid #e8eff2;
}

.package-cart-header h2 {
    margin: 0;

    color: #102a43;

    font-size: 1.35rem;
    font-weight: 800;
}

.package-cart-body {
    padding:
        20px 24px;
}


/* =========================================================
   CARRITO VACÍO
========================================================= */

.package-cart-empty {
    height: 100%;
    min-height: 320px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    color: #7c919c;
}

.package-cart-empty-icon {
    width: 68px;
    height: 68px;

    margin-bottom: 17px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #eef7f8;

    color: #087ca7;

    font-size: 1.65rem;
}

.package-cart-empty h3 {
    margin-bottom: 6px;

    color: #102a43;

    font-size: 1rem;
    font-weight: 800;
}

.package-cart-empty p {
    max-width: 270px;

    margin: 0;

    font-size: .84rem;
    line-height: 1.6;
}


/* =========================================================
   ITEM CARRITO
========================================================= */

.package-cart-item {
    margin-bottom: 20px;
    padding-bottom: 20px;

    border-bottom:
        1px solid #edf2f4;
}

.package-cart-item-top {
    display: grid;

    grid-template-columns:
        68px
        minmax(0, 1fr)
        auto;

    gap: 13px;

    align-items: center;
}

.package-cart-item-image {
    width: 68px;
    height: 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    padding: 4px;

    border-radius: 13px;

    background: #f1f6f7;
}

.package-cart-item-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    border-radius: 9px;
}

.package-cart-item-info {
    min-width: 0;
}

.package-cart-item-info h3 {
    margin: 0 0 4px;

    color: #102a43;

    font-size: .88rem;
    font-weight: 800;

    line-height: 1.35;
}

.package-cart-item-price {
    color: #087ca7;

    font-size: .82rem;
    font-weight: 700;
}

.package-cart-remove {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: transparent;

    color: #a2b1b8;
}

.package-cart-remove:hover {
    background: #fff0f0;

    color: #d9534f;
}


/* =========================================================
   CANTIDAD
========================================================= */

.package-cart-item-bottom {
    margin-top: 15px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;
}

.package-quantity {
    display: inline-flex;
    align-items: center;

    overflow: hidden;

    border:
        1px solid #dce7eb;

    border-radius: 10px;
}

.package-quantity button {
    width: 34px;
    height: 34px;

    border: 0;

    background: #f7fafb;

    color: #526d7a;

    font-weight: 800;
}

.package-quantity button:hover {
    background: #edf5f7;

    color: #087ca7;
}

.package-quantity button:disabled {
    opacity: .4;

    cursor: not-allowed;
}

.package-quantity span {
    min-width: 38px;

    text-align: center;

    color: #102a43;

    font-size: .82rem;
    font-weight: 800;
}

.package-cart-subtotal {
    color: #102a43;

    font-size: .92rem;
    font-weight: 800;
}


/* =========================================================
   FOOTER CARRITO
========================================================= */

.package-cart-footer {
    padding:
        20px 24px 24px;

    border-top:
        1px solid #e8eff2;

    background: #ffffff;
}

.package-cart-total {
    margin-bottom: 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.package-cart-total span {
    color: #617985;

    font-size: .9rem;
    font-weight: 700;
}

.package-cart-total strong {
    color: #087ca7;

    font-size: 1.35rem;
    font-weight: 800;
}

.package-cart-continue {
    width: 100%;
    min-height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    border: 0;
    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            #087ca7,
            #16b8b0
        );

    color: #ffffff;

    font-size: .88rem;
    font-weight: 800;
}

.package-cart-continue:hover {
    box-shadow:
        0 8px 20px
        rgba(8, 124, 167, .18);
}

.package-cart-continue:disabled {
    opacity: .45;

    cursor: not-allowed;
}


/* =========================================================
   RESPONSIVE PAQUETES
========================================================= */

@media (max-width: 991.98px) {

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

    .package-detail-dialog {
        max-width:
            calc(100% - 30px);
    }

}


@media (max-width: 767.98px) {

    .package-detail-layout {
        grid-template-columns:
            1fr;

        min-height: 0;
    }

    .package-detail-media {
        padding: 18px;
    }

    .package-detail-image {
        max-height: 290px;
    }

    .package-detail-info {
        padding:
            25px 20px;
    }

}


@media (max-width: 575.98px) {

    .packages-page {
        padding:
            48px 0 65px;
    }

    .packages-header {
        margin-bottom: 30px;

        text-align: left;
    }

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

    .package-image {
        height: 210px;
    }

    .package-actions {
        grid-template-columns:
            1fr;
    }

    .package-detail-dialog {
        max-width:
            calc(100% - 16px);

        margin:
            8px auto;
    }

    .package-cart-floating {
        right: 18px;
        bottom: 18px;

        width: 56px;
        height: 56px;
    }

}

/* =========================================================
   SOLICITUD DE PAQUETES
========================================================= */

.package-request-modal {
    overflow: hidden;

    border: 0;
    border-radius: 22px;

    box-shadow:
        0 30px 80px rgba(16, 42, 67, .20);
}

.package-request-header {
    padding: 25px 28px 20px;

    border-bottom: 1px solid #e8eff2;
}

.package-request-header h2 {
    margin: 0 0 4px;

    color: #102a43;

    font-size: 1.45rem;
    font-weight: 800;
}

.package-request-header p {
    margin: 0;

    color: #738995;

    font-size: .84rem;
}

.package-request-body {
    padding: 25px 28px;
}

.package-request-section + .package-request-section {
    margin-top: 30px;
    padding-top: 26px;

    border-top: 1px solid #edf2f4;
}

.package-request-section > h3 {
    display: flex;
    align-items: center;

    gap: 8px;

    margin: 0 0 17px;

    color: #102a43;

    font-size: .98rem;
    font-weight: 800;
}

.package-request-section > h3 i {
    color: #087ca7;
}

.package-request-help {
    margin: -8px 0 15px;

    color: #7c919c;

    font-size: .8rem;
}


/* RESUMEN */

.package-request-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 10px 0;

    border-bottom: 1px solid #f0f3f5;
}

.package-request-item:last-child {
    border-bottom: 0;
}

.package-request-item-info {
    min-width: 0;
}

.package-request-item-info strong {
    display: block;

    color: #102a43;

    font-size: .86rem;
    font-weight: 800;
}

.package-request-item-info small {
    display: block;

    margin-top: 3px;

    color: #80949e;

    font-size: .75rem;
}

.package-request-item-price {
    flex-shrink: 0;

    color: #102a43;

    font-size: .87rem;
    font-weight: 800;
}

.package-request-total {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 13px;
    padding: 14px 16px;

    border-radius: 12px;

    background: #f4f9fa;
}

.package-request-total span {
    color: #526d7a;

    font-size: .86rem;
    font-weight: 700;
}

.package-request-total strong {
    color: #087ca7;

    font-size: 1.18rem;
    font-weight: 800;
}


/* CAMPOS */

.package-request-modal .form-label {
    margin-bottom: 7px;

    color: #344f5c;

    font-size: .78rem;
    font-weight: 700;
}

.package-request-modal .form-control {
    min-height: 46px;

    border: 1px solid #dce7eb;
    border-radius: 11px;

    font-size: .87rem;

    box-shadow: none;
}

.package-request-modal textarea.form-control {
    min-height: 90px;
}

.package-request-modal .form-control:focus {
    border-color: #55b7c3;

    box-shadow:
        0 0 0 3px rgba(8, 124, 167, .08);
}


/* MÉTODOS DE PAGO */

.package-payment-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 11px;
}

.package-payment-option {
    cursor: pointer;
}

.package-payment-option input {
    position: absolute;

    opacity: 0;
    pointer-events: none;
}

.package-payment-card {
    height: 100%;

    display: flex;
    align-items: flex-start;

    gap: 11px;

    padding: 15px;

    border: 1px solid #dce7eb;
    border-radius: 13px;

    background: #ffffff;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.package-payment-option:hover .package-payment-card {
    border-color: #a9d5dc;
}

.package-payment-option input:checked + .package-payment-card {
    border-color: #0aa7a0;

    background: #f1fbfa;

    box-shadow:
        0 0 0 2px rgba(10, 167, 160, .08);
}

.package-payment-icon {
    flex: 0 0 auto;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #edf7f8;

    color: #087ca7;
}

.package-payment-card strong {
    display: block;

    margin-bottom: 3px;

    color: #102a43;

    font-size: .8rem;
    font-weight: 800;
}

.package-payment-card small {
    display: block;

    color: #7a909a;

    font-size: .68rem;
    line-height: 1.4;
}


/* FOOTER */

.package-request-footer {
    display: flex;
    justify-content: space-between;

    padding: 18px 28px;

    border-top: 1px solid #e8eff2;

    background: #f9fbfc;
}

.package-request-back,
.package-request-submit {
    min-height: 45px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 10px 18px;

    border-radius: 11px;

    font-size: .8rem;
    font-weight: 800;
}

.package-request-back {
    border: 1px solid #dce7eb;

    background: #ffffff;

    color: #607985;
}

.package-request-submit {
    border: 0;

    background:
        linear-gradient(
            135deg,
            #087ca7,
            #16b8b0
        );

    color: #ffffff;
}

.package-request-submit:disabled {
    opacity: .65;

    cursor: not-allowed;
}

.package-request-submit-text,
.package-request-submit-loading {
    align-items: center;

    gap: 7px;
}

.package-request-submit-text {
    display: inline-flex;
}

.package-request-submit-loading:not(.d-none) {
    display: inline-flex;
}


/* RESPONSIVE */

@media (max-width: 767.98px) {

    .package-payment-grid {
        grid-template-columns: 1fr;
    }

    .package-request-header,
    .package-request-body,
    .package-request-footer {
        padding-left: 19px;
        padding-right: 19px;
    }

}

/* =========================================================
   PÁGINA PÚBLICA DE SERVICIO
========================================================= */

.gm-service-public-hero {
    position: relative;
    overflow: hidden;
    padding: 110px 0 90px;
}

.gm-service-public-company {
    background:
        linear-gradient(
            135deg,
            rgba(246, 249, 252, 1),
            rgba(235, 244, 247, 1)
        );
}

.gm-service-public-person {
    background:
        linear-gradient(
            135deg,
            rgba(250, 249, 247, 1),
            rgba(239, 247, 245, 1)
        );
}

.gm-service-public-eyebrow,
.gm-service-public-label {
    display: inline-block;
    margin-bottom: 12px;

    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gm-service-public-hero h1 {
    max-width: 850px;
    margin-bottom: 22px;

    font-size: clamp(2.3rem, 5vw, 4.4rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.gm-service-public-lead {
    max-width: 760px;
    margin-bottom: 30px;

    font-size: 1.15rem;
    line-height: 1.7;
}

.gm-service-public-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.gm-service-public-image {
    overflow: hidden;

    border-radius: 28px;

    box-shadow:
        0 24px 70px
        rgba(0, 0, 0, 0.12);
}

.gm-service-public-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;

    object-fit: cover;
}

.gm-service-public-section {
    padding: 90px 0;
}

.gm-service-public-soft {
    background: #f8f9fa;
}

.gm-service-public-intro {
    max-width: 900px;
}

.gm-service-public-intro h2,
.gm-service-public-heading h2 {
    margin-bottom: 20px;

    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 700;
    letter-spacing: -0.025em;
}

.gm-service-public-description {
    font-size: 1.05rem;
    line-height: 1.85;
}

.gm-service-public-heading {
    max-width: 720px;
    margin-bottom: 40px;
}

.gm-service-info-card {
    height: 100%;
    padding: 34px;

    background: #fff;

    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;

    box-shadow:
        0 14px 40px
        rgba(0, 0, 0, 0.05);
}

.gm-service-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;
    margin-bottom: 22px;

    border-radius: 14px;

    background: rgba(0, 0, 0, 0.05);

    font-size: 1.3rem;
}

.gm-service-info-card h2 {
    margin-bottom: 22px;

    font-size: 1.45rem;
    font-weight: 700;
}

.gm-service-public-list {
    display: grid;
    gap: 15px;

    padding: 0;
    margin: 0;

    list-style: none;
}

.gm-service-public-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    line-height: 1.55;
}

.gm-service-public-list i {
    margin-top: 2px;
}

.gm-service-process {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(220px, 1fr)
        );
    gap: 20px;
}

.gm-service-process-item {
    padding: 28px;

    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 22px;

    background: #fff;
}

.gm-service-process-number {
    margin-bottom: 20px;

    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.gm-service-process-item p {
    margin: 0;

    line-height: 1.65;
}

.gm-service-faq {
    max-width: 900px;
}

.gm-service-faq .accordion-item {
    overflow: hidden;

    margin-bottom: 12px;

    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 16px;
}

.gm-service-faq .accordion-button {
    padding: 20px 22px;

    font-weight: 600;
}

.gm-service-faq .accordion-button:not(.collapsed) {
    box-shadow: none;
}

.gm-service-faq .accordion-body {
    padding: 0 22px 22px;

    line-height: 1.7;
}

.gm-service-public-cta {
    padding: 70px 0 90px;
}

.gm-service-public-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;

    padding: 45px;

    border-radius: 28px;

    background: #212529;
    color: #fff;
}

.gm-service-public-cta-box h2 {
    max-width: 720px;
    margin-bottom: 12px;

    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 700;
}

.gm-service-public-cta-box p {
    max-width: 700px;
    margin: 0;

    color: rgba(255, 255, 255, 0.75);

    line-height: 1.7;
}


@media (max-width: 991.98px) {

    .gm-service-public-hero {
        padding: 80px 0 70px;
    }

    .gm-service-public-section {
        padding: 70px 0;
    }

    .gm-service-public-cta-box {
        flex-direction: column;
        align-items: flex-start;
    }

}


@media (max-width: 575.98px) {

    .gm-service-public-hero {
        padding: 60px 0;
    }

    .gm-service-public-section {
        padding: 55px 0;
    }

    .gm-service-public-hero-actions {
        flex-direction: column;
    }

    .gm-service-public-hero-actions .btn {
        width: 100%;
    }

    .gm-service-info-card {
        padding: 25px;
    }

    .gm-service-public-cta {
        padding: 50px 0 65px;
    }

    .gm-service-public-cta-box {
        padding: 30px 24px;
    }

}

/* =========================================================
   SERVICIOS DINÁMICOS
========================================================= */

.gm-service-back-link {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    color: var(--gm-primary, #167c80);
    font-weight: 700;
    text-decoration: none;
    transition:
        transform .2s ease,
        opacity .2s ease;
}

.gm-service-back-link:hover {
    transform: translateX(-4px);
    opacity: .8;
}


/* Personas */

.subhero-people {
    position: relative;
    overflow: hidden;
}


/* Contenido principal */

.gm-service-public-intro {
    max-width: 850px;
    margin-inline: auto;
}


/* FAQ */

.gm-service-faq {
    max-width: 900px;
    margin-inline: auto;
}

/* =========================================================
   RESPONSIVE QA FINAL
   HOME · EMPRESAS · PERSONAS · BOOKING · PAQUETES
   ========================================================= */


/* =========================================================
   TABLET / MÓVIL
   ========================================================= */

@media (max-width: 767.98px) {

    /* -----------------------------------------------------
       EMPRESAS - MODELO GLOBAL MED 360
       ----------------------------------------------------- */

    .gm-360-model {
        width: 100%;
        max-width: 100%;
    }

    .gm-360-pillar {
        max-width: 100%;
    }


    /* -----------------------------------------------------
       PAQUETES - DETALLE
       El layout de una columna ya existe en el CSS.
       Solo reforzamos que el contenido no genere overflow.
       ----------------------------------------------------- */

    .package-detail-layout,
    .package-detail-content,
    .package-detail-media {
        min-width: 0;
        max-width: 100%;
    }

}


/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 575.98px) {

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

    /* Botones Global Med Personas */

    .line-content > .d-flex {
        flex-direction: column;
    }

    .line-content > .d-flex .btn {
        width: 100%;
    }


    /* Botones sección Experiencia */

    .experience-copy .d-flex {
        flex-direction: column;
    }

    .experience-copy .btn {
        width: 100%;
    }


    /* =====================================================
       EMPRESAS
       ===================================================== */

    /* Hero */

    .subhero-business .d-flex.flex-wrap {
        flex-direction: column;
        width: 100%;
    }

    .subhero-business .d-flex.flex-wrap .btn {
        width: 100%;
    }


    /* Métricas */

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


    /* Testimonios */

    .gm-testimonial-person {
        flex-wrap: wrap;
    }

    .gm-testimonial-info {
        min-width: 0;
        flex: 1;
    }

    .gm-testimonial-info strong,
    .gm-testimonial-info span,
    .gm-testimonial-info small {
        overflow-wrap: anywhere;
    }


    /* CTA empresarial */

    .proposal-actions {
        width: 100%;
    }

    .proposal-actions .btn {
        width: 100%;
    }


    /* =====================================================
       PERSONAS
       ===================================================== */

    /* Hero */

    .subhero-people .d-flex.flex-wrap {
        flex-direction: column;
        width: 100%;
    }

    .subhero-people .d-flex.flex-wrap .btn {
        width: 100%;
    }

    .people-highlights {
        width: 100%;
    }


    /* =====================================================
       BOOKING
       ===================================================== */

    /* Horarios cómodos para pantalla táctil */

    .gm-booking-time {
        width: 100%;
        min-height: 48px;
    }


    /* Modal de reserva */

    #modalReservarCita .modal-dialog {
        margin: 10px;
    }

    #modalReservarCita .modal-content {
        max-height: calc(100dvh - 20px);
        overflow-y: auto;
    }

    .gm-booking-summary {
        align-items: flex-start;
    }

}


/* =========================================================
   CELULARES MUY PEQUEÑOS
   ========================================================= */

@media (max-width: 359.98px) {

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

    .hero h1 {
        font-size: 2.35rem;
        letter-spacing: -0.045em;
    }


    /* =====================================================
       EMPRESAS
       ===================================================== */

    .gm-stats-grid {
        grid-template-columns: 1fr;
    }


    /* =====================================================
       BOOKING
       ===================================================== */

    /* En pantallas muy pequeñas dejamos solo los números
       de los pasos para evitar amontonamiento */

    .gm-booking-step small {
        display: none;
    }


    /* Presencial / Virtual pasan uno debajo del otro */

    .gm-booking-modality {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 575.98px) {

    .education-card-body {
        padding: 20px;
    }

    .education-card h2,
    .education-card p,
    .education-meta {
        overflow-wrap: anywhere;
    }

    .education-empty {
        padding: 40px 22px;
    }

}
/* =========================================================
   MODAL PROPUESTA EMPRESARIAL - RESPONSIVE
   ========================================================= */

@media (max-width: 575.98px) {

    #modalPropuestaEmpresarial .modal-dialog {
        margin: 10px;
    }

    #modalPropuestaEmpresarial .modal-content {
        max-height: calc(100dvh - 20px);
        overflow-y: auto;
    }

    #modalPropuestaEmpresarial .modal-header {
        align-items: flex-start;
    }

    #modalPropuestaEmpresarial .modal-title {
        font-size: 1.35rem;
        line-height: 1.25;
    }

    #modalPropuestaEmpresarial .gm-proposal-form-actions {
        flex-direction: column-reverse;
    }

    #modalPropuestaEmpresarial .gm-proposal-form-actions .btn {
        width: 100%;
    }

}