/* ==========================================================================
   VARIABLES Y CONFIGURACIÓN GLOBAL
   ========================================================================== */
:root {
    /* Colores principales */
    --primary-color: black;
    --secondary-color: #4a4a4a;
    --accent-color: #0056b3;
    --accent-light: #4d94ff;
    --light-color: #f8f9fa;
    --border-color: #e0e0e0;
    --text-light: #6c757d;
    --white: #ffffff;
    
    /* Sombras */
    --shadow-soft: 0 8px 25px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.15);
    
    /* Colores de estado */
    --success-color: #28a745;
    
    /* Tipografía */
    --font-primary: 'Inter', 'Segoe UI', sans-serif;
    
    /* Espaciados */
    --section-padding: 8rem 0;
}

/* ==========================================================================
   RESET Y CONFIGURACIÓN BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    font-family: var(--font-primary);
    scroll-behavior: smooth;
}

body {
    color: var(--primary-color);
    background-color: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 80px;
}

/* =========================================================
   VARIABLES
========================================================= */
:root {
  --bg: #ffffff;
  --text: #1f2933;
  --muted: #6b7280;
  --primary: #9ecae3;
  --border: #e5e7eb;
  --shadow: 0 20px 45px rgba(0,0,0,.12);
}

/* =========================================================
   RESET
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f8fafc;
  color: var(--text);
}

/* =========================================================
   NAVBAR SCROLL HIDE/SHOW - SOLO LO NECESARIO
========================================================= */
.navbar {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1250px;
  background: var(--bg);
  border-radius: 14px;
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  pointer-events: all;
}

.navbar.hidden {
  transform: translate(-50%, -120%);
  opacity: 0;
  pointer-events: none;
}

.page-content {
  padding-top: 80px;
}

.navbar-inner {
  display: flex;
  align-items: center;
  padding: 14px 26px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 36px;
  width: auto;
  border-radius: 8px;
}

.logo-text {
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}

/* =========================================================
   DESKTOP MENU
========================================================= */
.menu-desktop {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    flex: 1;
}

.menu-desktop a {
    text-decoration: none;
    font-size: .95rem;
    font-weight: 600;
    color: black;
    transition: color .2s ease;
}

.menu-desktop a:hover {
    color: var(--accent-light);
}

.menu-desktop .active {
    color: var(--accent-light);
    position: relative;
}

.menu-desktop .active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-light);
}

/* =========================================================
   DESKTOP DROPDOWN (EDUCACIÓN CONTINUA)
========================================================= */
.desktop-dropdown {
  position: relative;
}

.desktop-dropdown > a::after {
  content: "▾";
  font-size: .1rem;
  margin-left: 6px;
  opacity: .6;
}

.desktop-dropdown .dropdown {
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  border-radius: 12px;
  box-shadow: var(--shadow);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all .25s ease;
  overflow: hidden;
}

.desktop-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
}

.dropdown a {
  display: block;
  padding: 14px 22px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
  text-decoration: none;
  transition: background .2s ease;
}

.dropdown a:hover {
  background: #f1f5f9;
}

/* =========================================================
   DESKTOP ACTIONS
========================================================= */
.btn-outline {
  padding: 8px 18px;
  background: #ffffff;
  border: 1.5px solid #000;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  color: #000;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease;
}

.btn-outline:hover,
.btn-outline:focus-visible,
.btn-outline:active {
  background: var(--primary);
  color: #000;
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15), 0 8px 20px rgb(0, 0, 0);
  transform: translateY(-1px);
}

.btn-outline:focus {
  outline: none;
}

.btn-primary {
  padding: 8px 18px;
  background: var(--primary);
  border: 1.5px solid #000;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: #000;
  transition: box-shadow 0.25s ease, transform 0.15s ease, filter 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible,
.btn-primary:active {
  background: white;
  filter: brightness(0.95);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2), 0 6px 18px rgb(0, 0, 0);
  transform: translateY(-1px);
}

.btn-primary:focus {
  outline: none;
}

/* =========================================================
   MOBILE MENU BUTTON
========================================================= */
.menu-btn {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
}

/* =========================================================
   MOBILE MENU
========================================================= */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  transform: translateX(100%);
  transition: transform .4s ease;
  z-index: 1100;
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}

.close-btn {
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
}

.mobile-links {
  list-style: none;
  padding: 24px;
  flex: 1;
}

.mobile-links li {
  border-bottom: 1px solid var(--border);
}

.mobile-links a,
.accordion-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  background: white;
  border: none;
  cursor: pointer;
}

.accordion-content {
  display: none;
  padding-left: 12px;
}

.accordion-content a {
  display: block;
  padding: 14px 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.accordion.active .accordion-content {
  display: block;
}

.plus {
  font-size: 1.4rem;
  transition: transform .3s ease;
}

.accordion.active .plus {
  transform: rotate(45deg);
}

.mobile-actions {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  z-index: 1050;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   CONTENEDORES Y ESTRUCTURA
   ========================================================================== */
.container {
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================================================
   HERO SECTION "ACERCA DE"
   ========================================================================== */

.about-hero {
    position: relative;
    height: 85vh;
    min-height: 700px;
    overflow: hidden;
    margin-top: -160px;
}

.about-hero .hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.about-hero .hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-hero .hero-container {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    color: #fff;
    padding: 4rem 0;
    margin-left: -7.7%;
    margin-top: -2.5%;
    animation: fadeInUp 1s ease 0.2s forwards;
}

.about-hero .hero-title {
    font-size: 6.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: #fff;
}

.about-hero .hero-subtitle {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: rgba(255,255,255,0.95);
    line-height: 1.5;
}

.about-hero .hero-description {
    font-size: 1.8rem;
    margin-bottom: 4rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    max-width: 700px;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary);
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.stat-label {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.8);
    margin-top: 0.5rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   SECCIÓN MISIÓN Y VISIÓN
   ========================================================================== */
.mission-vision {
    position: relative;
    padding: 8rem 0 !important;
    overflow: hidden;
}

.mission-vision .section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.mission-vision .section-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: none;
}

.mission-vision .section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-weight: 500;
}



.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.mission-card, .vision-card {
    background: var(--bg);
    border-radius: 20px;
    padding: 4rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.card-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.card-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.card-description {
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

.card-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.4rem;
    color: var(--primary-color);
}

.feature i {
    color: var(--success-color);
    font-size: 1.6rem;
}

/* ==========================================================================
   SECCIÓN DOCTOR – FONDO (OBLIGATORIO) + ESPACIO ABAJO
   ========================================================================== */
.doctor-profile-section {
    position: relative;
    padding: 8rem 0 12rem 0 !important; /* 👈 espacio extra abajo para que no toque la siguiente sección */
    overflow: hidden;
}

.doctor-profile-section .section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.doctor-profile-section .section-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.doctor-profile-section .section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   SECCIÓN DOCTOR – CARD VERTICAL CON MARCO BLANCO
   (TAL CUAL LO TENÍAS)
   ========================================================================== */

/* Mantiene el grid pero lo centra */
.doctor-profile-content {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* Card completa */
.doctor-card {
    max-width: 520px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;

    /* MARCO BLANCO (NO cambia de color) */
    border: 5px solid var(--white);

    box-shadow: var(--shadow);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
    cursor: pointer;
}

/* Hover / touch (solo profundidad, NO color) */
.doctor-card:hover,
.doctor-card:focus-within {
    transform: translateY(-10px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.2);
}

/* Imagen arriba (la tuya, solo ajustada) */
.doctor-image {
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.doctor-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;  /* 👈 se queda igual (recorte como en tu diseño) */
    object-position: center;
    display: block;
}

/* Contenido */
.doctor-details {
    padding: 3rem;
    text-align: justify;
}

.doctor-role {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

/* Texto */
.doctor-description p {
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

/* Stats (se quedan igual, solo bien integradas) */
.doctor-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.doctor-stat {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
}

.doctor-card:hover .doctor-stat {
    transform: translateY(-4px);
}

/* Responsive */
@media (max-width: 768px) {
    .doctor-image img {
        height: 300px;
    }

    .doctor-stats {
        grid-template-columns: 1fr;
    }

    .doctor-details {
        padding: 2.5rem;
    }
}

/* GRID 4 CARDS (2 ARRIBA / 2 ABAJO) */
.doctor-profile-content.grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    position: relative;
    z-index: 2;
}

/* Ajuste responsive */
@media (max-width: 1024px) {
    .doctor-profile-content.grid-4 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}


/* ==========================================================================
   SECCIÓN VALORES
   ========================================================================== */
.values-section {
    position: relative;
    padding: 8rem 0 !important;
    overflow: hidden;
}

.values-section .section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.values-section .section-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.values-section .section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.value-card {
    background: var(--bg);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.value-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.value-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.value-description {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--secondary-color);
}

/* ==========================================================================
   SECCIÓN ENFOQUE
   ========================================================================== */
.approach-section {
    position: relative;
    padding: 8rem 0 !important;
    overflow: hidden;
}

.approach-section .section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.approach-section .section-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.approach-section .section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.approach-card {
    background: var(--bg);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.approach-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.approach-content {
    margin-bottom: 2rem;
}

.approach-quote {
    font-size: 6rem;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 1rem;
}

.approach-text {
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--secondary-color);
    font-style: italic;
}

.approach-author {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.author-info h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.author-info p {
    font-size: 1.4rem;
    color: var(--text-light);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: #0046a5;
    color: white;
    padding: 8rem 0 4rem;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 5rem;
    margin-bottom: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.footer-logo span {
    font-size: 2.4rem;
    font-weight: 800;
}

.footer-section p {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 35rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    background-color: black;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.8rem;
}

.social-links a:hover {
    background-color: white;
    color: black;
    transform: translateY(-3px);
}

.footer-section h4 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 1.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: #9ecae3;
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 3rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* TABLET GRANDE (≤1200px) */
@media (max-width: 1200px) {
    .values-grid,
    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .doctor-stats {
        grid-template-columns: 1fr;
    }
}

/* TABLET (≤1024px) */
@media (max-width: 1024px) {
    html {
        font-size: 55%;
    }
    
    .about-hero {
        height: 75vh;
        min-height: 620px;
    }
    
    .about-hero .hero-title {
        font-size: 4rem;
    }
    
    .about-hero .hero-subtitle {
        font-size: 2rem;
    }
    
    .about-hero .hero-description {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .mission-vision-grid,
    .doctor-profile-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .doctor-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
    }
}

/* TABLET PEQUEÑA (≤768px) */
@media (max-width: 768px) {
    /* Oculta desktop */
    .menu-desktop,
    .actions-desktop {
        display: none;
    }
    
    .menu-btn {
        display: block;
        margin-left: auto;
    }
    
    .navbar {
        width: calc(100% - 32px);
        top: 12px;
    }
    
    .navbar-inner {
        padding: 12px 18px;
    }
    
    .about-hero {
        height: auto;
        min-height: 0;
        padding: 6rem 0 4rem;
        margin-top: -180px;
    }
    
    .hero-content {
        margin-top: 50px;
        padding: 0;
        margin-left: 5%;
        margin-right: 150px;
    }
    
    .about-hero .hero-title {
        font-size: 2.6rem;
    }
    
    .about-hero .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .about-hero .hero-description {
        font-size: 1.4rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .values-grid,
    .approach-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2.4rem;
    }
}

/* MÓVIL GRANDE (≤480px) */
@media (max-width: 480px) {
    .logo-text {
        font-size: 1.05rem;
    }
    
    .logo-img {
        height: 28px;
    }
    
    .navbar {
        top: 10px;
        width: calc(100% - 20px);
    }
    
    .hero-content {
        margin-right: 50px;
    }
    
    .about-hero .hero-title {
        font-size: 2rem;
    }
    
    .stat-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .mission-card, .vision-card,
    .value-card, .approach-card,
    .doctor-stat {
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Para reducir movimiento en preferencias de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================================
   MODAL "ARTÍCULOS PRÓXIMAMENTE" (ESTILO DE TUS SECCIONES)
========================================================= */
.articulos-soon-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 99990;
}

.articulos-soon-modal{
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(.96);
  width: min(680px, 92vw);
  background: #fff;
  border-radius: 24px;
  border: 2px solid #000;
  box-shadow: var(--shadow, 0 20px 45px rgba(0,0,0,.12));
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transition: transform .25s ease, opacity .25s ease, visibility .25s ease;
  z-index: 99999;
  overflow: hidden; /* CLAVE para el ribbon */
}

/* franja suave tipo "sección overlay" */
.articulos-soon-modal::before{
  content:"";
  position:absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(158, 202, 227, .35), rgba(0,0,0,0) 55%);
  pointer-events:none;
  z-index: 0;
}

/* =========================================================
   RIBBON DIAGONAL "PRÓXIMAMENTE" (COMO LA IMAGEN)
========================================================= */
.articulos-soon-ribbon{
  position: absolute;
  top: 18px;
  right: -70px;
  width: 260px;
  height: 56px;
  transform: rotate(35deg);
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 14px 18px rgba(0,0,0,.2));
}

.articulos-soon-ribbon span{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(
    135deg,
    #63df63 0%,
    #34c84c 55%,
    #1fa833 100%
  );

  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 2px;

  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.35),
    inset 0 -2px 0 rgba(0,0,0,.15);
}

/* =========================================================
   ESTADO ACTIVO
========================================================= */
.articulos-soon-overlay.active{
  opacity: 1;
  visibility: visible;
}
.articulos-soon-modal.active{
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
/* titulo y texto */
.articulos-soon-title{
  position: relative;
  z-index: 1;
  margin-top: 18px;
  font-size: 2.4rem;
  font-weight: 900;
  color: #000;
  text-transform: uppercase;
  line-height: 1.15;
}

.articulos-soon-desc{
  position: relative;
  z-index: 1;
  margin-top: 12px;
  font-size: 1.55rem;
  color: #111;
  line-height: 1.7;
  font-weight: 600;
  max-width: 62ch;
}

/* acciones */
.articulos-soon-actions{
  position: relative;
  z-index: 1;
  margin-top: 18px;
  display: flex;
  gap: 12px;
}

.articulos-soon-btn{
  width: 100%;
  padding: 14px 18px;
  border-radius: 999px;
  border: 2px solid #000;
  background: #9ecae3;
  color: #000;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease;
}

.articulos-soon-btn:hover{
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(0,0,0,.18);
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 480px){
  .articulos-soon-modal{
    padding: 20px;
    border-radius: 18px;
  }

  .articulos-soon-title{
    font-size: 2rem;
  }

  .articulos-soon-desc{
    font-size: 1.35rem;
  }

  .articulos-soon-ribbon{
    top: 14px;
    right: -78px;
    width: 210px;
    height: 48px;
  }

  .articulos-soon-ribbon span{
    font-size: 1.15rem;
    letter-spacing: 1.6px;
  }
}
