/* RESET Y VARIABLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #26B5A6;
    --dark-blue: #1A2A33;
    --white: #FFFFFF;
    --accent-red: #E63946;
    --light-gray: #F8F9FA;
    --text-gray: #6C757D;
    --shadow: 0 2px 15px rgba(26, 42, 51, 0.1);
    
    /* 
    ===========================================
    SISTEMA DE TIPOGRAFÍAS - POPPINS
    ===========================================
    
    FUENTE PRINCIPAL: 'Poppins' - Elegida para look médico profesional
    - Es una tipografía sans-serif moderna y legible
    - Ideal para aplicaciones médicas por su claridad
    - Incluye pesos: 300 (light), 400 (regular), 500 (medium), 600 (semibold), 700 (bold)
    
    JERARQUÍA DE TAMAÑOS:
    */
    --font-primary: 'Poppins', sans-serif;
    --font-size-display: 48px;     /* HERO TITLES - Títulos principales en sección hero (weight: 700) */
    --font-size-h1: 36px;          /* SECTION TITLES - Títulos de sección principales (weight: 600-700) */
    --font-size-h2: 28px;          /* SUBSECTION TITLES - Subtítulos de sección (weight: 400-500) */
    --font-size-h3: 22px;          /* CARD TITLES - Títulos de cards y componentes (weight: 600) */
    --font-size-h4: 18px;          /* NAVIGATION & LABELS - Navegación, botones, labels (weight: 500) */
    --font-size-body: 16px;        /* BODY TEXT - Texto de párrafos normales (weight: 400) */
    --font-size-small: 14px;       /* SMALL TEXT - Texto pequeño, metadata, tags (weight: 400-500) */
    
    /*
    UBICACIONES ESPECÍFICAS:
    
    HERO SECTION:
    - .hero-title: var(--font-size-display) + weight 700
    - .hero-subtitle: var(--font-size-h2) + weight 400
    
    SECCIONES:
    - .section-title: var(--font-size-display) + weight 700
    - .section-subtitle: var(--font-size-h2) + weight 400
    
    ABOUT US:
    - .about-text h3: var(--font-size-h1) + weight 600
    - .team-info h4: var(--font-size-h3) + weight 600
    - .team-role: var(--font-size-h4) + weight 500
    
    SERVICES:
    - .membership-title: var(--font-size-h1) + weight 600
    - .service-card h3: var(--font-size-h3) + weight 600
    - .feature-tag: var(--font-size-small) + weight 500
    
    NAVIGATION:
    - .nav-link: var(--font-size-h4) + weight 400
    
    BUTTONS:
    - .btn: var(--font-size-h4) + weight 500
    
    FORMS:
    - form inputs: var(--font-size-body) + weight 400
    */
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-blue);
    font-size: var(--font-size-body);
    font-weight: 400;
    padding-top: 80px; /* Espacio para el header fijo */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(38, 181, 166, 0.1);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(26, 42, 51, 0.15);
    border-bottom: 1px solid rgba(38, 181, 166, 0.2);
}

.header.hidden {
    transform: translateY(-100%);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 60px;
    width: auto;
}

.nav {
    display: none;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-blue);
    font-size: var(--font-size-h4);
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* HAMBURGER MENU */
.hamburger {
    display: flex;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--dark-blue);
    margin: 3px 0;
    transition: 0.3s;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* MOBILE NAVIGATION */
.nav.active {
    display: block;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 2rem;
    animation: slideDown 0.3s ease;
}

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

.nav.active .nav-list {
    flex-direction: column;
    gap: 1.5rem;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e9688 50%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite reverse;
}

.hero .container {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.hero-title {
    font-size: var(--font-size-display);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: slideInLeft 1s ease;
}

.hero-subtitle {
    font-size: var(--font-size-h2);
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: slideInLeft 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: slideInLeft 1s ease 0.4s both;
}

.hero-image {
    text-align: center;
    animation: fadeIn 1s ease 0.6s both;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* ANIMACIONES AVANZADAS Y ATRACTIVAS */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 60%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    80% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 4px 15px rgba(38, 181, 166, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(38, 181, 166, 0.5), 0 0 20px rgba(38, 181, 166, 0.3);
    }
    100% {
        box-shadow: 0 4px 15px rgba(38, 181, 166, 0.3);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes cardHover {
    0% {
        transform: translateY(0) scale(1);
        box-shadow: 0 4px 15px rgba(26, 42, 51, 0.1);
    }
    100% {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 15px 35px rgba(26, 42, 51, 0.2);
    }
}

/* BUTTONS */
.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: var(--font-size-h4);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

/* BUTTONS */
.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: var(--font-size-h4);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #1e9688);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(38, 181, 166, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e9688, var(--primary-color));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(38, 181, 166, 0.4);
    animation: pulse 1.5s infinite;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* SECTION HEADERS */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: var(--font-size-display);
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: var(--font-size-h2);
    font-weight: 400;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ABOUT SECTION */
.about {
    padding: 80px 0;
    background: var(--light-gray);
}

.about-content {
    display: grid;
    gap: 4rem;
}

/* ABOUT CARDS - Nuevas cards visuales para misión, visión, valores */
.about-cards-top {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 3rem;
}

.about-cards {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.about-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(26, 42, 51, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(38, 181, 166, 0.1);
    animation: fadeInScale 0.8s ease-out;
}

.values-card {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(38, 181, 166, 0.05), rgba(30, 150, 136, 0.1));
}

.values-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.values-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), #1e9688);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(38, 181, 166, 0.3);
}

.values-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.values-text h3 {
    font-size: var(--font-size-h1);
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
}

.values-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(38, 181, 166, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.value-item:hover {
    background: rgba(38, 181, 166, 0.1);
    transform: translateX(5px);
}

.value-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.value-item span {
    font-size: var(--font-size-small);
    color: var(--dark-blue);
    font-weight: 500;
}

.about-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(26, 42, 51, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(38, 181, 166, 0.1);
    animation: fadeInScale 0.8s ease-out;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #1e9688);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.about-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(38, 181, 166, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 20px 40px rgba(26, 42, 51, 0.2);
    border-color: rgba(38, 181, 166, 0.3);
}

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

.about-card:hover::after {
    opacity: 1;
}

.about-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #1e9688);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 8px 20px rgba(38, 181, 166, 0.3);
}

.about-card-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #1e9688);
    animation: pulse 2s infinite;
    z-index: -1;
}

.about-card-icon i {
    font-size: 2.2rem;
    color: var(--white);
    transition: transform 0.3s ease;
}

.about-card:hover .about-card-icon i {
    transform: scale(1.2) rotate(5deg);
}

.about-card-content h3 {
    font-size: var(--font-size-h2);
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    position: relative;
}

.about-card-content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), #1e9688);
    transition: width 0.5s ease;
}

.about-card:hover .about-card-content h3::after {
    width: 50px;
}

.about-card-content p {
    font-size: var(--font-size-body);
    font-weight: 400;
    line-height: 1.8;
    color: var(--text-gray);
    transition: color 0.3s ease;
}

.about-card:hover .about-card-content p {
    color: var(--dark-blue);
}

/* CARDS ESPECÍFICAS CON COLORES DIFERENTES */
.mission-card::before {
    background: var(--primary-color);
}

.vision-card::before {
    background: var(--accent-red);
}

.values-card::before {
    background: var(--dark-blue);
}

/* ESTADÍSTICAS */
.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    background: linear-gradient(135deg, var(--white), rgba(38, 181, 166, 0.02));
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(26, 42, 51, 0.1);
    border: 1px solid rgba(38, 181, 166, 0.1);
    position: relative;
    overflow: hidden;
}

.about-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2326B5A6' fill-opacity='0.03'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10zm10 0c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10z'/%3E%3C/g%3E%3C/svg%3E");
}

.stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), #1e9688);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    display: block;
    position: relative;
    animation: pulse 2s infinite;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #1e9688);
    border-radius: 2px;
}

.stat-label {
    font-size: var(--font-size-body);
    font-weight: 500;
    color: var(--dark-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

/* Clase team-section eliminada - ahora es sección separada */

.team-cards {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.team-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(26, 42, 51, 0.08);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(38, 181, 166, 0.05);
    animation: fadeInScale 0.8s ease-out;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(38, 181, 166, 0.05), transparent);
    transition: left 0.6s ease;
}

.team-card:hover::before {
    left: 100%;
}

.team-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 45px rgba(26, 42, 51, 0.15);
    border-color: rgba(38, 181, 166, 0.2);
}

.team-image {
    margin-bottom: 1.5rem;
    position: relative;
}

.team-image img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.team-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), #1e9688);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.team-card:hover .team-image::before {
    opacity: 0.2;
    width: 150px;
    height: 150px;
}

.team-card:hover .team-image img {
    transform: scale(1.1) rotate(5deg);
    border-color: #1e9688;
    box-shadow: 0 10px 25px rgba(38, 181, 166, 0.3);
}

.team-info h4 {
    font-size: var(--font-size-h3);
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.team-role {
    font-size: var(--font-size-h4);
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.team-description {
    font-size: var(--font-size-body);
    font-weight: 400;
    color: var(--text-gray);
    line-height: 1.6;
}

/* TEAM SECTION - Sección separada del equipo */
.team {
    padding: 80px 0;
    background: var(--white);
}

.team-content {
    display: grid;
    gap: 4rem;
}

/* SERVICES SECTION */
.services {
    padding: 80px 0;
    background: var(--light-gray);
}

/* SERVICES SEGMENTS */
.services-segment {
    margin-bottom: 5rem;
}

.services-segment:last-child {
    margin-bottom: 0;
}

.segment-header {
    text-align: center;
    margin-bottom: 3rem;
}

.segment-title {
    font-size: var(--font-size-h1);
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    position: relative;
}

.segment-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #1e9688);
    border-radius: 2px;
}

.segment-subtitle {
    font-size: var(--font-size-h4);
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.patients-segment {
    background: var(--white);
    padding: 4rem 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    border: 1px solid rgba(38, 181, 166, 0.1);
}

.hospitals-segment {
    background: linear-gradient(135deg, rgba(26, 42, 51, 0.03), rgba(38, 181, 166, 0.03));
    padding: 4rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(26, 42, 51, 0.1);
}

/* MEMBERSHIP INFO */
.membership-info {
    background: var(--light-gray);
    padding: 3rem 2rem;
    border-radius: 15px;
    margin-bottom: 4rem;
    text-align: center;
}

.membership-title {
    font-size: var(--font-size-h1);
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.membership-description {
    font-size: var(--font-size-body);
    font-weight: 400;
    color: var(--text-gray);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    margin-bottom: 4rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(38, 181, 166, 0.1);
    box-shadow: 0 8px 25px rgba(26, 42, 51, 0.08);
    animation: fadeInScale 0.8s ease-out;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(38, 181, 166, 0.02), rgba(26, 42, 51, 0.02));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card.featured {
    background: linear-gradient(135deg, var(--primary-color), #1e9688);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(38, 181, 166, 0.3);
    animation: glow 2s infinite;
}

.service-card.featured .service-icon {
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.service-card.featured h3 {
    color: var(--white);
}

.service-card.featured p {
    color: rgba(255, 255, 255, 0.95);
}

.service-card:hover {
    transform: translateY(-15px) rotateY(5deg);
    box-shadow: 0 25px 45px rgba(26, 42, 51, 0.15);
    border-color: rgba(38, 181, 166, 0.3);
}

.service-card.featured:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 50px rgba(38, 181, 166, 0.4);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(38, 181, 166, 0.1), rgba(26, 42, 51, 0.05));
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #1e9688);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card:hover .service-icon::before {
    opacity: 0.15;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
    color: var(--primary-color);
    animation: bounce 0.6s ease;
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.service-card.featured .service-icon::before {
    background: rgba(255, 255, 255, 0.1);
    opacity: 1;
}

.service-card h3 {
    font-size: var(--font-size-h3);
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.service-card p {
    font-size: var(--font-size-body);
    font-weight: 400;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* FEATURE TAGS */
.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.feature-tag {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: var(--font-size-small);
    font-weight: 500;
}

.service-card.featured .feature-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* PRICING INFO */
.pricing-info {
    background: var(--dark-blue);
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
}

.pricing-info h3 {
    font-size: var(--font-size-h1);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.pricing-info p {
    font-size: var(--font-size-body);
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* SERVICES MODERN DESIGN - NUEVOS ESTILOS */
.segment-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(38, 181, 166, 0.05), rgba(30, 150, 136, 0.1));
    border-radius: 20px;
}

.segment-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.segment-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #1e9688);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(38, 181, 166, 0.3);
}

.segment-icon i {
    font-size: 2rem;
    color: var(--white);
}

.segment-text h3 {
    font-size: var(--font-size-h1);
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.segment-text p {
    font-size: var(--font-size-body);
    color: var(--text-gray);
    margin: 0;
}

.segment-stats {
    display: flex;
    gap: 2rem;
}

.mini-stat {
    text-align: center;
    padding: 1rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(26, 42, 51, 0.1);
    min-width: 80px;
}

.mini-stat .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.mini-stat .stat-label {
    font-size: 0.8rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.services-grid-modern {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
    margin-bottom: 3rem;
}

.service-card-modern {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(26, 42, 51, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: 2px solid transparent;
    overflow: hidden;
}

.service-card-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(38, 181, 166, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(26, 42, 51, 0.15);
    border-color: rgba(38, 181, 166, 0.2);
}

.service-card-modern:hover::before {
    opacity: 1;
}

.service-card-modern.primary {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(38, 181, 166, 0.05), rgba(30, 150, 136, 0.1));
}

.service-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), #1e9688);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
    font-size: 0.9rem;
}

.service-card-modern .service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), #1e9688);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(38, 181, 166, 0.3);
    transition: all 0.3s ease;
}

.service-card-modern:hover .service-icon {
    transform: scale(1.1) rotateY(10deg);
}

.service-card-modern .service-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.service-card-modern h3 {
    font-size: var(--font-size-h3);
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card-modern p {
    font-size: var(--font-size-body);
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: var(--font-size-small);
    color: var(--dark-blue);
}

.service-benefits i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.segment-cta {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), #1e9688);
    border-radius: 20px;
    color: var(--white);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: var(--font-size-body);
    font-weight: 600;
}

.cta-subtitle {
    margin-top: 1rem;
    font-size: var(--font-size-small);
    opacity: 0.9;
}

.membership-highlight {
    background: linear-gradient(135deg, rgba(26, 42, 51, 0.05), rgba(108, 117, 125, 0.1));
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border-left: 5px solid var(--primary-color);
}

.membership-highlight h4 {
    font-size: var(--font-size-h3);
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.membership-highlight p {
    font-size: var(--font-size-body);
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.membership-benefits {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(26, 42, 51, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 42, 51, 0.15);
}

.benefit-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.benefit-item span {
    font-size: var(--font-size-small);
    color: var(--dark-blue);
    font-weight: 500;
}

/* HISTORIA SECTION */
.historia {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark-blue), #16222a);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.historia::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.historia .section-title {
    color: var(--white);
}

.historia .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.historia-content {
    position: relative;
    z-index: 2;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), #1e9688);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #1e9688);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    position: relative;
    z-index: 3;
    box-shadow: 0 8px 25px rgba(38, 181, 166, 0.3);
}

.timeline-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    margin: 0 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-content h3 {
    font-size: var(--font-size-h3);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.timeline-content p {
    font-size: var(--font-size-body);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.historia-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.historia-stat {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.historia-stat h4 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.historia-stat p {
    font-size: var(--font-size-small);
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.historia-mission {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: rgba(38, 181, 166, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(38, 181, 166, 0.2);
}

.historia-mission h3 {
    font-size: var(--font-size-h1);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.historia-mission p {
    font-size: var(--font-size-body);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* TESTIMONIALS SECTION */
.testimonials {
    padding: 80px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(26, 42, 51, 0.08);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(38, 181, 166, 0.1);
    animation: fadeInScale 0.8s ease-out;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #1e9688);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.testimonial-card::after {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    color: rgba(38, 181, 166, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(26, 42, 51, 0.15);
    border-color: rgba(38, 181, 166, 0.3);
}

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

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-size: var(--font-size-h4);
    color: var(--dark-blue);
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: var(--font-size-h4);
    color: var(--dark-blue);
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: var(--font-size-small);
    color: var(--primary-color);
}

/* CONTACT SECTION */
.contact {
    padding: 80px 0;
    background: var(--light-gray);
}

.contact-content {
    display: grid;
    gap: 3rem;
}

.contact-info h3 {
    font-size: var(--font-size-h2);
    color: var(--dark-blue);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-item i {
    font-size: 1.25rem;
    color: var(--primary-color);
    width: 20px;
}

.contact-item span {
    font-size: var(--font-size-body);
    color: var(--text-gray);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
}

/* CONTACT FORM */
.contact-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid transparent;
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: var(--font-size-body);
    font-weight: 400;
    background: var(--white);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* FOOTER */
.footer {
    background: linear-gradient(135deg, var(--dark-blue), #0f1419);
    color: var(--white);
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-content {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr;
    margin-bottom: 3rem;
}

.brand-section {
    text-align: center;
}

.brand-section .footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1.5rem;
    filter: brightness(1.1);
}

.brand-section p {
    font-size: var(--font-size-body);
    line-height: 1.7;
    opacity: 0.9;
    max-width: 400px;
    margin: 0 auto 2rem;
}

.footer-section h4 {
    font-size: var(--font-size-h3);
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    position: relative;
    text-align: center;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    opacity: 0.7;
}

.footer-section ul {
    list-style: none;
    text-align: center;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: var(--font-size-body);
    transition: all 0.3s ease;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    background: rgba(38, 181, 166, 0.1);
    transform: translateX(5px);
}

.contact-info {
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-body);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.1em;
    width: 20px;
    text-align: center;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(38, 181, 166, 0.1);
    border: 2px solid rgba(38, 181, 166, 0.3);
    border-radius: 50%;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2em;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(38, 181, 166, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.3);
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-bottom p {
    font-size: var(--font-size-body);
    opacity: 0.8;
    margin: 0;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: var(--font-size-small);
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

.footer-legal span {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--font-size-small);
}

/* ANIMATIONS REMOVED - Sin animaciones molestas de scroll */

/* Elementos aparecen normalmente sin animaciones de entrada */
.team-card, .service-card, .testimonial-card, .section-header {
    opacity: 1;
    transform: none;
}

/* TABLET STYLES */
@media (min-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .hero-buttons {
        flex-direction: row;
    }
    
    /* About cards responsive */
    .about-cards-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .about-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .values-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-content {
        flex-direction: row;
        text-align: left;
    }

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

    .team-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .services-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .segment-hero {
        flex-direction: row;
        text-align: left;
    }
    
    .segment-stats {
        flex-direction: row;
    }    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

/* DESKTOP STYLES */
@media (min-width: 1024px) {
    .nav {
        display: block;
    }
    
    .hamburger {
        display: none;
    }
    
    .hero-title {
        font-size: 60px;
    }
    
    .section-title {
        font-size: 56px;
    }
    
    .services-grid-modern {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .values-list {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .values-content {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }
    
    /* About cards en 3 columnas */
    .about-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* La tercera card (valores) ocupa las 3 columnas */
    .values-card {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .team-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* LARGE DESKTOP */
@media (min-width: 1200px) {
    .team-cards {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .container {
        padding: 0 40px;
    }
}

/* ANIMACIONES DE ENTRADA PARA INTERSECTION OBSERVER */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ANIMACIONES ESPECÍFICAS PARA DIFERENTES ELEMENTOS */
.section-header.animate-on-scroll {
    transform: translateY(50px) scale(0.95);
}

.section-header.animate-in {
    transform: translateY(0) scale(1);
}

.about-card.animate-on-scroll {
    transform: translateX(-30px) rotateY(-15deg);
}

.team-card.animate-on-scroll {
    transform: translateY(40px) rotateX(15deg);
}

.service-card.animate-on-scroll {
    transform: translateY(30px) scale(0.9);
}

.testimonial-card.animate-on-scroll {
    transform: translateX(30px) rotateY(15deg);
}

/* RESPONSIVE IMPROVEMENTS - MOBILE */
@media (max-width: 767px) {
    .about-cards-top {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .values-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .values-list {
        grid-template-columns: 1fr;
    }
    
    .segment-hero {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .segment-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .segment-stats {
        flex-direction: row;
        justify-content: center;
    }
    
    .services-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .membership-benefits {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        padding: 0.75rem 2rem;
        font-size: var(--font-size-small);
    }
}

/* RESPONSIVE IMPROVEMENTS */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        transform: none;
        transition: opacity 0.3s ease;
    }
}

/* SMOOTH SCROLLING */
html {
    scroll-behavior: smooth;
}

/* FAQ SECTION */
.faq {
    padding: 80px 0;
    background: var(--light-gray);
}

.faq-content {
    max-width: 900px;
    margin: 0 auto;
}

.faq-segment {
    margin-bottom: 4rem;
}

.faq-segment-title {
    font-size: var(--font-size-h1);
    font-weight: 600;
    color: var(--dark-blue);
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.faq-segment-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #1e9688);
    border-radius: 2px;
}

.faq-item {
    background: var(--white);
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(26, 42, 51, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(38, 181, 166, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(26, 42, 51, 0.12);
}

.faq-item:hover::before {
    opacity: 0.5;
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(38, 181, 166, 0.15);
    margin-bottom: 1.5rem;
    background: linear-gradient(to bottom, white, rgba(38, 181, 166, 0.03));
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    background: none;
    border: none;
    text-align: left;
    font-size: var(--font-size-h4);
    font-weight: 500;
    color: var(--dark-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    outline: none;
}

.faq-question:hover {
    background: rgba(38, 181, 166, 0.05);
}

.faq-question:focus {
    outline: none;
}

.faq-question:active {
    transform: scale(0.99);
}

.faq-item.active .faq-question {
    background: rgba(38, 181, 166, 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

.faq-question i {
    font-size: 1rem;
    transition: all 0.3s ease;
    color: var(--primary-color);
    background: rgba(38, 181, 166, 0.1);
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    background: var(--primary-color);
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    opacity: 0;
    visibility: hidden;
    padding: 0;
    border-top: 0px solid transparent;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    opacity: 1;
    visibility: visible;
    padding: 1rem 0;
    border-top: 1px solid rgba(38, 181, 166, 0.2);
}

.faq-answer p {
    padding: 1rem 2rem 1.5rem;
    font-size: var(--font-size-body);
    line-height: 1.8;
    color: var(--text-gray);
    margin: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease 0.1s;
    opacity: 0;
    background-color: rgba(38, 181, 166, 0.03);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 10px rgba(38, 181, 166, 0.05) inset;
}

.faq-item.active .faq-answer p {
    transform: translateY(0);
    opacity: 1;
}

.faq-contact {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), #1e9688);
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    margin-top: 3rem;
}

.faq-contact h3 {
    font-size: var(--font-size-h1);
    font-weight: 600;
    margin-bottom: 1rem;
}

.faq-contact p {
    font-size: var(--font-size-body);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-options .btn {
    min-width: 160px;
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* FOOTER RESPONSIVE DESIGN */
/* Tablets */
@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        text-align: left;
    }
    
    .brand-section {
        text-align: left;
        grid-column: 1 / -1;
    }
    
    .footer-section h4 {
        text-align: left;
    }
    
    .footer-section h4::after {
        left: 0;
        transform: none;
    }
    
    .footer-section ul {
        text-align: left;
    }
    
    .contact-info {
        text-align: left;
    }
    
    .contact-item {
        justify-content: flex-start;
    }
    
    .footer-social {
        justify-content: flex-start;
    }
    
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 3rem;
    }
    
    .brand-section {
        grid-column: 1;
        max-width: none;
    }
    
    .brand-section p {
        max-width: 350px;
        margin: 0 0 2rem;
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .footer-content {
        gap: 4rem;
    }
}