/* ============================================ */
/* VARIABLES CSS - COLORES DE MARCA CAMINO SALUDABLE */
/* ============================================ */
:root {
    /* Colores principales de la marca */
    --primary: #114246;
    --primary-rgb: 17, 66, 70;
    --accent: #2ECC6E;
    --accent-rgb: 46, 204, 110;
    --light-green: #D3FFBF;
    --light-green-rgb: 211, 255, 191;
    --white: #FFFFFF;
    --dark: #231F20;
    --dark-rgb: 35, 31, 32;
    --gold: #F4C842;
    --gray-light: #F8F9FA;
    --gray: #6c757d;
    --gray-dark: #343a40;

    /* Tipografías */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', 'Segoe UI', sans-serif;

    /* Espaciado */
    --section-padding: 100px 0;
    --container-max: 1200px;
    --border-radius: 16px;
    --border-radius-sm: 8px;

    /* Sombras */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --shadow-accent: 0 8px 30px rgba(46, 204, 110, 0.3);

    /* Transiciones */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================ */
/* RESET Y BASE */
/* ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
    position: relative;
}

/* ============================================ */
/* CURSOR PERSONALIZADO */
/* ============================================ */
.custom-cursor {
    width: 30px;
    height: 30px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.15s ease, opacity 0.15s ease;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.custom-cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: transform 0.08s ease;
}

body:hover .custom-cursor,
body:hover .custom-cursor-dot {
    opacity: 1;
}

.custom-cursor.hover {
    transform: translate(-50%, -50%) scale(1.5);
    border-color: var(--gold);
    background: rgba(46, 204, 110, 0.1);
}

/* ============================================ */
/* PANTALLA DE CARGA */
/* ============================================ */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
    margin-bottom: 20px;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(46, 204, 110, 0.2);
    border-top-color: var(--accent);
    border-radius: 50%;
    margin: 0 auto 15px;
    animation: spin 0.8s linear infinite;
}

.loader-text {
    color: var(--light-green);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 1px;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================ */
/* NAVBAR */
/* ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition-slow);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(17, 66, 70, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.navbar-logo-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.navbar-logo-text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--white);
    line-height: 1.2;
    font-weight: 300;
}

.navbar-logo-text strong {
    font-weight: 700;
    color: var(--accent);
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 400;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--accent);
}

/* Botón CTA del navbar */
.navbar-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 0.85rem;
}

/* Botones generales */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.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 ease;
}

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

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    background: #27ae5f;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(46, 204, 110, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-cta {
    background: var(--accent);
    color: var(--white);
    box-shadow: var(--shadow-accent);
}

.btn-cta:hover {
    background: #27ae5f;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(46, 204, 110, 0.5);
}

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

.hamburger-line {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

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

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

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

/* ============================================ */
/* HERO SECTION */
/* ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://images.unsplash.com/photo-1490818387583-1baba5e638af?w=1920&h=1080&fit=crop') center/cover no-repeat fixed;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(17, 66, 70, 0.92) 0%, 
        rgba(17, 66, 70, 0.8) 40%, 
        rgba(46, 204, 110, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 120px 20px 60px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 20px;
    min-height: 120px;
    line-height: 1.2;
}

.typewriter-cursor {
    animation: blink 0.7s step-end infinite;
    color: var(--accent);
    font-weight: 300;
}

@keyframes blink {
    50% { opacity: 0; }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 35px;
    font-weight: 300;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

/* Stats / Contadores */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 900;
    color: var(--accent);
    display: inline;
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--accent);
    font-weight: 700;
}

.stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-top: 5px;
    font-weight: 300;
}

/* Indicador de scroll */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scroll-anim 2s ease-in-out infinite;
}

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

@keyframes scroll-anim {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(10px); }
}

/* ============================================ */
/* ENCABEZADOS DE SECCIÓN */
/* ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--light-green);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.3;
}

.section-description {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* ============================================ */
/* SERVICIOS */
/* ============================================ */
.servicios {
    background: var(--gray-light);
}

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

.servicio-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.servicio-card:hover {
    transform: perspective(1000px) rotateY(3deg) translateY(-10px);
    box-shadow: var(--shadow-lg);
}

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

.servicio-card.destacado {
    border: 2px solid var(--accent);
    transform: scale(1.03);
}

.servicio-card.destacado:hover {
    transform: scale(1.03) perspective(1000px) rotateY(3deg) translateY(-10px);
}

.servicio-badge {
    position: absolute;
    top: 15px;
    right: -35px;
    background: var(--accent);
    color: var(--white);
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(45deg);
    letter-spacing: 0.5px;
}

.servicio-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--light-green), rgba(46, 204, 110, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.servicio-card:hover .servicio-icon {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.servicio-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.servicio-desc {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.servicio-features {
    text-align: left;
    margin-bottom: 25px;
}

.servicio-features li {
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--dark);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.servicio-features li i {
    color: var(--accent);
    margin-top: 4px;
    flex-shrink: 0;
}

.servicio-precio {
    margin-bottom: 20px;
    padding: 15px;
    background: var(--light-green);
    border-radius: var(--border-radius-sm);
}

.precio-desde {
    display: block;
    font-size: 0.75rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.precio-cantidad {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
}

.precio-periodo {
    display: block;
    font-size: 0.8rem;
    color: var(--gray);
}

.btn-servicio {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
}

.btn-servicio:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

/* ============================================ */
/* SOBRE NOSOTROS */
/* ============================================ */
.nosotros {
    background: var(--white);
}

.equipo-member {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
    padding: 45px;
    background: var(--white);
    border-radius: 24px;
    overflow: visible;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.4s ease;
}

.equipo-member:hover {
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.1);
}

.equipo-member.reverse {
    grid-template-columns: 1.2fr 1fr;
}

.equipo-member.reverse .member-image {
    order: 2;
}

.equipo-member.reverse .member-info {
    order: 1;
}

.member-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 480px;
    box-shadow:
        0 20px 60px rgba(17, 66, 70, 0.2),
        0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.5s ease;
}

.member-image:hover {
    transform: translateY(-8px);
    box-shadow:
        0 30px 80px rgba(17, 66, 70, 0.25),
        0 15px 35px rgba(0, 0, 0, 0.12);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.member-image:hover img {
    transform: scale(1.05);
}

.member-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(transparent, rgba(17, 66, 70, 0.85));
    pointer-events: none;
}

.member-specialty {
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.member-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.member-role {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), #1a7a5c);
    color: var(--white);
    padding: 5px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: 0.3px;
}

.member-bio {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

.member-quote {
    position: relative;
    padding: 18px 24px;
    background: linear-gradient(135deg, #f0faf4, #e8f6ed);
    border-left: 3px solid var(--primary);
    border-radius: 0 16px 16px 0;
    font-style: italic;
    color: #3a5a50;
    font-size: 0.9rem;
    margin-bottom: 25px;
    line-height: 1.7;
}

.member-quote i {
    color: var(--primary);
    margin-right: 8px;
    font-size: 1.1rem;
    opacity: 0.6;
}

/* Etiquetas de especialidad (reemplazan barras) */
.member-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.member-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: #f0faf4;
    color: var(--primary);
    border: 1px solid rgba(17, 66, 70, 0.12);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    transition: all 0.3s ease;
    letter-spacing: 0.2px;
}

.member-tag:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(17, 66, 70, 0.2);
}

.member-tag i {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Timeline */
.timeline {
    padding: 40px 0;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    text-align: center;
    color: var(--primary);
    margin-bottom: 50px;
}

.timeline-line {
    position: relative;
    padding-left: 40px;
}

.timeline-line::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent), var(--primary));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 30px;
}

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

.timeline-dot {
    position: absolute;
    left: -34px;
    top: 5px;
    width: 18px;
    height: 18px;
    background: var(--accent);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--accent);
}

.timeline-content {
    background: var(--gray-light);
    padding: 20px 25px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
}

.timeline-year {
    display: inline-block;
    background: var(--primary);
    color: var(--accent);
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-content h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.timeline-content p {
    color: var(--gray);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ============================================ */
/* PROCESO DE TRABAJO */
/* ============================================ */
.proceso {
    background: var(--primary);
    color: var(--white);
}

.proceso .section-tag {
    background: rgba(46, 204, 110, 0.2);
    color: var(--accent);
}

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

.proceso .section-description {
    color: rgba(255, 255, 255, 0.7);
}

.proceso-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.proceso-step {
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    padding: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(46, 204, 110, 0.15);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent);
}

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.2rem;
    color: var(--white);
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--accent);
}

.step-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.proceso-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    color: var(--accent);
    font-size: 1.2rem;
    opacity: 0.5;
}

.connector-line {
    width: 30px;
    height: 2px;
    background: var(--accent);
    margin-right: 5px;
}

/* ============================================ */
/* TESTIMONIOS */
/* ============================================ */
.testimonios {
    background: var(--gray-light);
    overflow: hidden;
}

.testimonios-slider {
    padding: 20px 0 60px;
}

.testimonio-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 35px 30px;
    box-shadow: var(--shadow-sm);
    position: relative;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonio-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--light-green);
    line-height: 1;
    opacity: 0.5;
}

.testimonio-stars {
    margin-bottom: 15px;
}

.testimonio-stars i {
    color: var(--gold);
    font-size: 1rem;
    margin-right: 2px;
}

.testimonio-text {
    font-size: 0.95rem;
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
    flex-grow: 1;
}

.testimonio-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--gray-light);
    padding-top: 15px;
}

.testimonio-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.testimonio-author h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--primary);
}

.testimonio-author span {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 500;
}

/* Swiper Customization */
.swiper-button-prev,
.swiper-button-next {
    color: var(--accent) !important;
    background: var(--white);
    width: 45px !important;
    height: 45px !important;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 1rem !important;
}

.swiper-pagination-bullet {
    background: var(--accent) !important;
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    transform: scale(1.3);
}

/* ============================================ */
/* GALERÍA */
/* ============================================ */
.galeria {
    background: var(--white);
}

.galeria-filtros {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filtro-btn {
    padding: 8px 22px;
    border-radius: 50px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filtro-btn.active,
.filtro-btn:hover {
    background: var(--primary);
    color: var(--white);
}

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

.galeria-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/2;
    transition: var(--transition);
}

.galeria-item.hidden {
    display: none;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.galeria-item:hover img {
    transform: scale(1.1);
}

.galeria-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 66, 70, 0.8), rgba(46, 204, 110, 0.6));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: var(--transition);
}

.galeria-item:hover .galeria-overlay {
    opacity: 1;
}

.galeria-overlay i {
    color: var(--white);
    font-size: 1.5rem;
    background: rgba(255,255,255,0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.galeria-overlay span {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 2.5rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.lightbox-img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* ============================================ */
/* BLOG */
/* ============================================ */
.blog {
    background: var(--gray-light);
}

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

.blog-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.08);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-content {
    padding: 25px;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.blog-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-excerpt {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-link:hover {
    color: var(--primary);
    gap: 12px;
}

/* ============================================ */
/* PRECIOS */
/* ============================================ */
.precios {
    background: var(--white);
}

.precios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.precio-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(17, 66, 70, 0.08);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.precio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.precio-card.destacado {
    border: 2px solid var(--accent);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.precio-card.destacado:hover {
    transform: scale(1.05) translateY(-5px);
}

.precio-badge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--accent);
    color: var(--white);
    text-align: center;
    padding: 8px;
    font-size: 0.85rem;
    font-weight: 700;
}

.precio-header {
    background: var(--primary);
    padding: 35px 25px 25px;
    text-align: center;
}

.precio-card.destacado .precio-header {
    padding-top: 50px;
}

.precio-plan {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 5px;
}

.precio-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.precio-body {
    padding: 30px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.precio-amount {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--gray-light);
}

.precio-currency {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    vertical-align: super;
}

.precio-value {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
}

.precio-period {
    display: block;
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 2px;
}

.precio-features {
    margin-bottom: 25px;
    flex-grow: 1;
}

.precio-features li {
    padding: 8px 0;
    font-size: 0.88rem;
    color: var(--dark);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.precio-features li.included i {
    color: var(--accent);
}

.precio-paquetes {
    background: var(--light-green);
    border-radius: var(--border-radius-sm);
    padding: 15px;
    margin-bottom: 20px;
}

.paquete {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.88rem;
}

.paquete:not(:last-child) {
    border-bottom: 1px solid rgba(17, 66, 70, 0.1);
}

.paquete-name {
    color: var(--gray-dark);
}

.paquete-price {
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.05rem;
}

.btn-precio {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--border-radius-sm);
}

.btn-precio:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.btn-precio-destacado {
    background: var(--accent);
}

.btn-precio-destacado:hover {
    background: var(--primary);
}

/* ============================================ */
/* FAQ */
/* ============================================ */
.faq {
    background: var(--gray-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    text-align: left;
    gap: 15px;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    font-size: 1rem;
    color: var(--accent);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: var(--gray);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ============================================ */
/* CONTACTO */
/* ============================================ */
.contacto {
    background: var(--white);
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contacto-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(17, 66, 70, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 6px;
}

.form-group label i {
    color: var(--accent);
    font-size: 0.85rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(17, 66, 70, 0.1);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--dark);
    transition: var(--transition);
    background: var(--gray-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(46, 204, 110, 0.1);
}

.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
    border-color: var(--accent);
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
    border-color: #e74c3c;
}

.form-error {
    display: none;
    color: #e74c3c;
    font-size: 0.78rem;
    margin-top: 4px;
}

.form-group input.invalid ~ .form-error,
.form-group select.invalid ~ .form-error,
.form-group textarea.invalid ~ .form-error {
    display: block;
}

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

.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-submit:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Info cards de contacto */
.info-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: var(--gray-light);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    flex-shrink: 0;
}

.whatsapp-icon { background: #25D366; }
.email-icon { background: var(--primary); }
.location-icon { background: #e74c3c; }
.instagram-icon { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

.info-card h4 {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 2px;
}

.info-card a,
.info-card p {
    font-size: 0.85rem;
    color: var(--gray);
}

.info-card a:hover {
    color: var(--accent);
}

/* Mapa */
.mapa-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* ============================================ */
/* FOOTER */
/* ============================================ */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.footer-logo-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--white);
    line-height: 1.2;
}

.footer-logo-text strong {
    color: var(--accent);
    font-weight: 700;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--white);
    transition: var(--transition);
}

.social-link.whatsapp:hover {
    background: #25D366;
    transform: translateY(-3px);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    transform: translateY(-3px);
}

.social-link.email-social:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

/* Newsletter */
.footer-newsletter h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--accent);
}

.footer-newsletter p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.newsletter-input-wrapper {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.newsletter-input-wrapper:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(46, 204, 110, 0.15);
}

.newsletter-input-wrapper input {
    flex: 1;
    padding: 12px 18px;
    background: transparent;
    border: none;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.88rem;
    outline: none;
}

.newsletter-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-input-wrapper button {
    padding: 12px 18px;
    background: var(--accent);
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.newsletter-input-wrapper button:hover {
    background: #27ae5f;
}

/* Footer bottom */
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.82rem;
}

.footer-bottom p:first-child {
    margin-bottom: 3px;
}

/* ============================================ */
/* BOTÓN WHATSAPP FLOTANTE */
/* ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 9999;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    animation: pulse-green 2s infinite;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--white);
    color: var(--dark);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============================================ */
/* SCROLL TO TOP */
/* ============================================ */
.scroll-top {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* ============================================ */
/* RESPONSIVE - MOBILE FIRST */
/* ============================================ */

/* Tablets pequeñas y móviles grandes */
@media (max-width: 1024px) {
    .servicios-grid,
    .precios-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .precio-card.destacado {
        transform: scale(1);
    }

    .precio-card.destacado:hover {
        transform: translateY(-5px);
    }

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

    .equipo-member,
    .equipo-member.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }

    .equipo-member.reverse .member-image,
    .equipo-member.reverse .member-info {
        order: unset;
    }

    .member-image {
        height: 380px;
    }

    .contacto-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .proceso-connector {
        display: none;
    }

    .proceso-steps {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .proceso-step {
        max-width: none;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }

    /* Navbar mobile */
    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 350px;
        height: 100vh;
        background: var(--primary);
        padding: 100px 30px 30px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
        z-index: 1000;
    }

    .navbar-menu.active {
        right: 0;
    }

    .navbar-links {
        flex-direction: column;
        gap: 0;
    }

    .nav-link {
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .navbar-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .servicios-grid,
    .precios-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .hero-title {
        min-height: 80px;
    }

    .contacto-form {
        padding: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .proceso-steps {
        grid-template-columns: 1fr;
    }

    .timeline-line {
        padding-left: 30px;
    }

    .timeline-item {
        padding-left: 20px;
    }

    .timeline-dot {
        left: -24px;
        width: 14px;
        height: 14px;
    }
}

/* Móviles */
@media (max-width: 480px) {
    :root {
        --section-padding: 50px 0;
    }

    html {
        font-size: 14px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .galeria-grid {
        grid-template-columns: 1fr;
    }

    .galeria-filtros {
        gap: 8px;
    }

    .filtro-btn {
        padding: 6px 14px;
        font-size: 0.8rem;
    }

    .equipo-member {
        padding: 20px;
        border-radius: 18px;
    }

    .member-image {
        height: 300px;
        border-radius: 14px;
    }

    .member-tags {
        gap: 8px;
    }

    .member-tag {
        padding: 6px 14px;
        font-size: 0.78rem;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
        bottom: 15px;
        right: 15px;
    }

    .scroll-top {
        width: 38px;
        height: 38px;
        bottom: 15px;
        left: 15px;
    }

    .custom-cursor,
    .custom-cursor-dot {
        display: none !important;
    }
}

/* Pantallas grandes */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }

    .hero-title {
        font-size: 4.5rem;
    }
}

/* ============================================ */
/* ANIMACIONES EXTRA */
/* ============================================ */

/* Fade in up para AOS fallback */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gradient animation para cards destacadas */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Shine effect para botones */
@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Reduce motion para accesibilidad */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .custom-cursor,
    .custom-cursor-dot {
        display: none !important;
    }

    .hero {
        background-attachment: scroll;
    }
}

/* ============================================ */
/* OVERLAY PARA MENÚ MÓVIL */
/* ============================================ */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}
