:root {
    --primary: #146f05;      /* Verde Principal */
    --primary-light: #1b9107; /* Verde Claro */
    --primary-accent: #f78b1e; /* Naranja para iconos y detalles activos */
    --secondary: #f78b1e;    /* Naranja Secundario (CTAs) */
    
    --bg-main: #FFFFFF;
    --bg-light: #f5f4f0;     /* Beige cálido muy suave (Roto) */
    --bg-dark: #07191e;
    
    --text-main: #2b3a3f;
    --text-muted: #6b7a80;
    --text-light: #f9f9f6;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-full: 999px;
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    --shadow-soft: 0 10px 30px -10px rgba(10, 37, 44, 0.08);
    --shadow-medium: 0 20px 40px -15px rgba(10, 37, 44, 0.12);
    --shadow-heavy: 0 30px 60px -20px rgba(10, 37, 44, 0.2);
    
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; width: 100%; }

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; color: var(--text-muted); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }
/* Tratamiento Visual de Imágenes (Premium/Natural) */
.hero-main-img, .portrait-img, .sb-hero-image img, .scp-image img, .review-img-wrapper img, .audience-bg img {
    filter: contrast(0.95) saturate(0.9) sepia(0.02) brightness(1.02);
}
/* Suavizado moderado y tono natural de color para Trayectoria y Osteopatía (ROBERTO-7 y ROBERTO-16) */
.portrait-img, .sb-hero-image img {
    filter: contrast(0.96) saturate(0.98) sepia(0.02) brightness(1.01) blur(0.15px);
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4.5rem 0; }
.mobile-br { display: none; }
.desktop-br { display: block; }
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }
.text-white { color: white; }
.text-light { color: rgba(255,255,255,0.8); }
.text-muted { color: var(--text-muted); }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 1.5rem; }
.relative { position: relative; }

/* Kicker (Pequeño texto encima del título) */
.section-kicker {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-accent);
    margin-bottom: 1rem;
}

/* Glassmorphism Util */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

/* Premium Card */
.premium-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
}
.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

/* Botones Premium */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
}
.btn i { width: 20px; height: 20px; }

.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.9rem; }
.btn-lg { padding: 0.95rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
    background-color: var(--secondary);
    color: white;
}
.btn-primary:hover {
    background-color: #e57a0d;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(247, 139, 30, 0.4);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}
.btn-glow::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: all 0.7s ease;
}
.btn-glow:hover::after {
    left: 200%;
}

.btn-outline {
    background-color: transparent;
    color: var(--secondary);
    border: 1px solid var(--secondary);
}
.btn-outline:hover {
    background-color: var(--secondary);
    color: white;
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(247, 139, 30, 0.2);
}

.btn-glass {
    background: rgba(255,255,255,0.9);
    color: var(--primary);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.5);
}
.btn-glass:hover {
    background: white;
    box-shadow: var(--shadow-soft);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    transition: var(--transition);
}
.navbar-transparent {
    background-color: transparent;
    padding: 1.5rem 0;
}
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.8rem 0;
    box-shadow: var(--shadow-soft);
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 1rem; }
.logo-img { width: 55px; height: auto; border-radius: 8px; box-shadow: var(--shadow-soft); transition: var(--transition); }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; color: var(--primary); line-height: 1; }
.logo-title { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }

.nav-links { display: flex; gap: 2.5rem; }
.nav-links a { font-weight: 500; color: var(--text-main); transition: var(--transition); font-size: 0.95rem; }
.nav-links a:hover { color: var(--primary-accent); }

/* Hero Section Premium */
.hero-premium {
    position: relative;
    padding-top: 140px;
    padding-bottom: 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f5f4f0 0%, #ffffff 100%);
    overflow: hidden;
}

.hero-premium-bg {
    position: absolute;
    top: -50%; right: -20%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(44, 110, 125, 0.05) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.glass-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary-accent);
}

.hero-title { margin-bottom: 1.5rem; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.12; max-width: 95%; }
.hero-subtitle { font-size: 1.2rem; margin-bottom: 2.5rem; max-width: 540px; color: var(--text-muted); }

.hero-buttons { display: flex; gap: 1rem; margin-bottom: 2rem; }

.trust-microcopy {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.trust-microcopy li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
}
.trust-microcopy i { color: var(--primary-accent); width: 18px; height: 18px; }

/* Hero Right Column */
.hero-image-wrapper { position: relative; border-radius: var(--radius-lg); }
.hero-main-img {
    width: 100%;
    aspect-ratio: 4/4.4;
    object-fit: cover;
    object-position: center 65%;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px -15px rgba(10, 37, 44, 0.25);
    border: 1px solid rgba(0,0,0,0.04);
}
.image-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(10,37,44,0.4) 0%, rgba(10,37,44,0) 50%);
    border-radius: var(--radius-lg);
}

.floating-card {
    position: absolute;
    bottom: -63px;
    left: -50px;
    padding: 1.8rem 2rem;
    border-radius: var(--radius-md);
    width: 90%;
    max-width: 360px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 30px 60px -15px rgba(10, 37, 44, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.8);
}
.fc-header { display: flex; align-items: center; gap: 1rem; }
.fc-avatar { flex-shrink: 0; }
.fc-avatar img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 2px solid white; }
.fc-info { display: flex; flex-direction: column; }
.fc-info strong { color: var(--primary); font-size: 1.05rem; }
.fc-info span { color: var(--text-muted); font-size: 0.85rem; }
.fc-divider { height: 1px; background: rgba(0,0,0,0.08); margin: 1rem 0; }
.fc-footer { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 600; color: var(--primary-accent); }
.fc-footer i { width: 16px; height: 16px; }

/* Sobre Mí */
.about-container { display: grid; grid-template-columns: 45% 55%; gap: 4rem; align-items: center; }
.image-frame { position: relative; }
.portrait-img { 
    width: 100%;
    aspect-ratio: 3/4; /* Formato vertical 3:4 */
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-lg); 
    box-shadow: 0 25px 50px -12px rgba(10, 37, 44, 0.15); 
    border: 1px solid rgba(0,0,0,0.04);
}

.logos-overlay {
    position: absolute; bottom: 10%; right: -10px;
    display: flex; flex-direction: column; gap: 0.5rem;
    padding: 1rem; border-radius: var(--radius-md);
}
.logo-box { font-weight: 700; font-size: 0.85rem; color: var(--primary); }

.highlight-box {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-accent);
}
.highlight-box i { color: var(--primary-accent); margin-bottom: 0.5rem; opacity: 0.5; }
.highlight-box p { margin: 0; font-size: 1.1rem; font-weight: 500; color: var(--primary); }

/* Diferencial */
.differentiator-grid {
    margin-top: 3rem; padding-bottom: 3rem;
}
.icon-wrapper {
    width: 56px; height: 56px;
    background: var(--bg-light);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.5rem; color: var(--primary-accent);
}
.icon-wrapper i { width: 26px; height: 26px; }

/* Servicios Premium */
.services-intro { max-width: 600px; margin: 0 auto; font-size: 1.15rem; }

/* Osteopatía Hero Block */
.service-block-hero {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 4rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
}
.service-block-hero:hover { transform: translateY(-5px); box-shadow: var(--shadow-heavy); }

.sb-hero-content { padding: 4rem; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.sb-badge {
    align-self: flex-start; background: var(--bg-light); color: var(--primary-accent);
    padding: 0.4rem 1rem; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.5rem;
}
.sb-title-wrap { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.sb-title-wrap i { width: 36px; height: 36px; color: var(--primary-accent); }
.sb-title-wrap h3 { font-size: 2.5rem; margin: 0; }
.sb-desc { font-size: 1.15rem; color: var(--text-main); margin-bottom: 2rem; }

.sb-bullets { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2rem; }
.sb-bullets li { display: flex; align-items: center; gap: 0.5rem; font-weight: 500; font-size: 0.95rem; }
.sb-bullets i { color: var(--primary-accent); width: 18px; height: 18px; }

.sb-hero-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }

/* Dynamic Grid Services */
.services-dynamic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card-premium {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.02);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.service-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.scp-image { position: relative; height: 200px; }
.scp-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.scp-icon {
    position: absolute; bottom: -20px; right: 20px;
    width: 48px; height: 48px; background: white; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-soft); color: var(--primary-accent); z-index: 2;
}

.scp-content { padding: 2rem 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.scp-content p { font-size: 0.95rem; margin-bottom: 1.5rem; flex-grow: 1; }

.sc-bullets { display: flex; flex-direction: column; gap: 0.5rem; }
.sc-bullets li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 500; color: var(--primary); }
.sc-bullets i { color: var(--primary-accent); width: 16px; height: 16px; }

/* Público Objetivo Premium */
.audience-premium-section { position: relative; color: white; padding: 6rem 0; }
.audience-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; }
.audience-bg img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.audience-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(3, 10, 12, 0.93), rgba(3, 10, 12, 0.97)); z-index: -1; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

.audience-content { text-align: center; max-width: 900px; margin: 0 auto; }
.audience-content h2.text-white { font-weight: 800; letter-spacing: -0.01em; }

.tags-premium-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; }
.tag-premium {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.5rem 1rem; border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600; color: white;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition); cursor: default;
}
.tag-premium:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.tag-premium i, .tag-premium svg { width: 16px; height: 16px; color: white !important; stroke: white !important; }

.emotional-block {
    margin-top: 2rem; padding: 1.2rem; border-radius: var(--radius-md);
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
}
.heart-icon, .heart-icon svg { color: white !important; stroke: white !important; width: 24px; height: 24px; margin-bottom: 0.4rem; }
.emotional-block p { font-size: 1.1rem; font-style: italic; color: white; font-family: var(--font-heading); font-weight: 300; margin: 0; }

/* Filosofía */
.philosophy-section { background-color: var(--primary); color: white; }
.philosophy-section h2 { color: white; font-size: clamp(1.8rem, 3.5vw, 2.8rem); max-width: 900px; margin: 0 auto 2rem; font-weight: 400; }
.philosophy-sub { color: rgba(255,255,255,0.7); font-size: 1.2rem; max-width: 700px; margin: 0 auto; }
.quote-icon { color: var(--secondary); width: 48px; height: 48px; margin-bottom: 2rem; opacity: 0.8; }

/* Testimonios Imágenes */
.reviews-image-grid {
    padding-bottom: 3rem;
}
.review-img-wrapper {
    background: white;
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}
.review-img-wrapper:hover { transform: translateY(-5px); box-shadow: var(--shadow-heavy); }
.review-img-wrapper img { width: 100%; height: auto; border-radius: var(--radius-sm); border: 1px solid rgba(0,0,0,0.05); }
.trust-note { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; font-weight: 500; }
.trust-note i { color: #fbbc04; width: 18px; height: 18px; fill: currentColor; }

/* Testimonial Stars & Layout */
.review-stars { color: var(--secondary); display: flex; gap: 4px; margin-bottom: 1rem; justify-content: center; }
.review-stars i, .review-stars svg { width: 18px; height: 18px; fill: var(--secondary) !important; color: var(--secondary) !important; stroke: var(--secondary) !important; }
.swiper-testimonios .swiper-wrapper {
    align-items: flex-start;
}

/* Contacto */
.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: stretch; }

/* Tarjeta de Contacto Unificada */
.contact-card-unified {
    padding: 1.8rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: var(--transition);
}

.unified-contact-row {
    width: 100%;
}

.unified-link {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0.8rem 0;
    transition: var(--transition);
}

.unified-link:hover {
    padding-left: 0.4rem;
}

.unified-icon-circle {
    width: 44px;
    height: 44px;
    background-color: var(--bg-light);
    color: var(--primary-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.unified-icon-circle.whatsapp {
    background-color: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

.unified-link:hover .unified-icon-circle {
    transform: scale(1.05);
}

.unified-link:hover .unified-icon-circle.whatsapp {
    background-color: #25D366;
    color: white;
}

.unified-icon-circle i,
.unified-icon-circle svg {
    width: 20px;
    height: 20px;
}

.unified-info {
    display: flex;
    flex-direction: column;
}

.unified-info span {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 2px;
}

.unified-info strong {
    color: var(--primary);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
}

.unified-separator {
    height: 1px;
    background-color: rgba(0, 0, 0, 0.05);
    margin: 0.5rem 0;
}

/* Tarjeta de Accesibilidad (Acordeones) */
.access-accordions-card {
    padding: 1.2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: var(--transition);
}

.access-accordion-item {
    width: 100%;
}

.access-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 0;
    cursor: pointer;
    user-select: none;
}

.access-accordion-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: var(--transition);
}

.access-accordion-header h3 i,
.access-accordion-header h3 svg {
    width: 18px;
    height: 18px;
    color: var(--secondary);
}

.access-chevron {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.access-accordion-item:hover .access-accordion-header h3 {
    color: var(--primary-light);
}

.access-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
    padding: 0;
}

.access-accordion-item.active .access-accordion-content {
    max-height: 350px;
    padding: 0.3rem 0 1rem;
}

.access-accordion-item.active .access-chevron {
    transform: rotate(180deg);
    color: var(--secondary);
}

.access-accordion-content ul {
    margin-left: 1.3rem;
    list-style: none;
}

.access-accordion-content li {
    position: relative;
    margin-bottom: 0.4rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 500;
}

.access-accordion-content li::before {
    content: "•";
    color: var(--primary-accent);
    position: absolute;
    left: -1rem;
    font-size: 1.2rem;
    line-height: 1;
    top: -2px;
}

.access-accordion-separator {
    height: 1px;
    background-color: rgba(0, 0, 0, 0.05);
}

.access-sub-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    font-weight: 600;
}

/* Formulario de Contacto Compacto */
.contact-form-wrapper.premium-card {
    padding: 2rem 2.2rem;
}

.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; margin-bottom: 0.35rem; font-weight: 600; color: var(--primary); font-size: 0.88rem; }
.form-group input, .form-group textarea { width: 100%; padding: 0.9rem 1.1rem; border: 1px solid rgba(0,0,0,0.1); border-radius: var(--radius-sm); font-family: var(--font-body); background: var(--bg-light); transition: var(--transition); font-size: 0.92rem; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-accent); background: white; box-shadow: 0 0 0 4px rgba(20, 111, 5, 0.08); }

.contact-form textarea {
    min-height: 90px;
    resize: vertical;
}

.form-group-checkbox {
    margin-bottom: 1.2rem;
}

/* Botón CTA del Formulario Optimizado */
.contact-form button[type="submit"] {
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    background-color: var(--secondary);
    color: white;
    box-shadow: 0 6px 15px -3px rgba(247, 139, 30, 0.35);
    transition: var(--transition);
}

.contact-form button[type="submit"]:hover {
    background-color: #e57a0d;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(247, 139, 30, 0.45);
}

/* Google Maps Integrado */
.contact-map-wrapper {
    width: 100%;
    height: 380px;
    margin-top: 4.5rem;
    margin-bottom: -4.5rem; /* Ajuste para encajar con el footer */
    overflow: hidden;
    border-top: 1px solid rgba(0,0,0,0.05);
    box-shadow: inset 0 10px 25px -10px rgba(0,0,0,0.08);
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(20%) contrast(1.02) brightness(0.98);
    transition: var(--transition);
}

.contact-map-wrapper iframe:hover {
    filter: none;
}

@media (max-width: 768px) {
    .contact-map-wrapper {
        margin-top: 3rem;
        margin-bottom: -2.5rem;
        height: 300px;
    }
}

/* Footer */
.footer { background-color: var(--bg-dark); color: rgba(255,255,255,0.5); padding: 3rem 0; font-size: 0.9rem; }
.footer-links { margin-bottom: 1rem; }
.footer-links a { color: rgba(255,255,255,0.8); transition: var(--transition); }
.footer-links a:hover { color: var(--secondary); }

/* Cookie Banner */
.cookie-banner {
    position: fixed; bottom: -100%; left: 50%; transform: translateX(-50%);
    width: 90%; max-width: 600px;
    background: rgba(7, 25, 30, 0.95); color: white;
    padding: 1.5rem; border-radius: var(--radius-md);
    display: flex; flex-direction: column; gap: 1rem;
    z-index: 10000; box-shadow: var(--shadow-heavy);
    transition: bottom 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-banner.show { bottom: 20px; }
.cookie-content { display: flex; gap: 1rem; align-items: flex-start; }
.cookie-icon { color: var(--secondary); width: 32px; height: 32px; flex-shrink: 0; }
.cookie-content p { margin: 0; font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.cookie-content a { color: var(--secondary); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 1rem; justify-content: flex-end; }
.cookie-buttons .btn { padding: 0.6rem 1.2rem; font-size: 0.9rem; border-radius: 8px; }

/* Mobile Floating Bar */
.mobile-floating-bar {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.08);
    display: none; /* hidden on desktop */
    z-index: 9999;
}

/* Animaciones Util */
.fade-in-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; } .delay-3 { transition-delay: 0.3s; } .delay-4 { transition-delay: 0.4s; } .delay-5 { transition-delay: 0.5s; }

/* Utility Styles for Desktop/Mobile Swap */
.accordion-header-mobile { display: none; }

/* Desktop Swiper Overrides (act as grids) */
@media (min-width: 769px) {
    /* Permitir Swiper en Desktop pero con estilos de grid si están deshabilitados, 
       o con su layout normal si están habilitados */
    .swiper-enfoque.swiper-disabled .swiper-wrapper {
        display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem;
    }
    .swiper-testimonios.swiper-disabled .swiper-wrapper {
        display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
    }
    .swiper-credenciales.swiper-disabled .swiper-wrapper {
        display: grid; grid-template-columns: repeat(4, 1fr); gap: 3rem; align-items: center; justify-items: center;
    }
    
    /* Mostrar paginación en desktop si el swiper está activo */
    .swiper-pagination-bullet-active { background: var(--secondary) !important; }
    .swiper-button-next, .swiper-button-prev { color: var(--secondary) !important; transform: scale(0.8); }
    
    .swiper-slide { height: auto !important; }
    .accordion-content { display: block !important; padding: 0; max-height: none !important; }

    /* Restaurar layout de las tarjetas de servicio en Desktop (compensar el wrapper accordion-content) */
    .service-block-hero .accordion-content {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
    }
    .service-card-premium .accordion-content {
        display: flex !important;
        flex-direction: column;
        height: 100%;
    }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .hero-grid, .contact-container { grid-template-columns: 1fr; gap: 3rem; }
    .about-container { display: flex; flex-direction: column-reverse; gap: 3rem; }
    .hero-premium { padding-top: 120px; }
    .hero-content { text-align: center; }
    .hero-subtitle { margin: 0 auto 2.5rem; }
    .hero-buttons { justify-content: center; }
    .floating-card { left: 50%; transform: translateX(-50%); bottom: -55px; padding: 1.2rem 1.5rem; max-width: 310px; }
    
    .service-block-hero .accordion-content { grid-template-columns: 1fr; }
    .sb-bullets { grid-template-columns: 1fr; }
    .reviews-image-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    
    /* A partir de tablet: ocultar menú horizontal y botón de reservar del header, mostrar hamburguesa */
    .nav-links { display: none !important; }
    .nav-actions { display: none !important; }
    .menu-toggle { display: flex !important; }
}

@media (max-width: 768px) {
    .section { padding: 2.5rem 0; }
    .mobile-br { display: block; }
    .desktop-br { display: none; }
    .container { padding: 0 1.2rem; }
    
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    h2 { font-size: 1.8rem; }
    
    .hero-buttons { flex-direction: column; width: 100%; gap: 1rem; align-items: center; }
    .trust-microcopy { align-items: flex-start; text-align: left; }
    .trust-microcopy li { align-items: flex-start; text-align: left; }
    .trust-microcopy li i, .trust-microcopy li svg { margin-top: 3px; flex-shrink: 0; }
    
    /* Grids a 1 columna estricta */
    .differentiator-grid,
    .services-dynamic-grid,
    .contact-container { 
        grid-template-columns: 1fr; 
        gap: 1.5rem; 
    }
    
    /* Ajustes de tarjetas para ancho completo */
    .premium-card { padding: 1.5rem; width: 100%; }
    .service-card-premium { padding: 0; width: 100%; }
    
    /* Utility overrides for mobile */
    .desktop-only { display: none !important; }
    .desktop-only-img { display: none; }
    
    /* Acordeón Servicios en Móvil */
    .accordion-item { overflow: hidden; }
    .accordion-header-mobile {
        display: flex; justify-content: space-between; align-items: center;
        padding: 1.5rem; background: white; cursor: pointer;
        border-bottom: 1px solid rgba(0,0,0,0.03);
    }
    .acc-header-left { display: flex; align-items: center; gap: 1rem; }
    .acc-icon { color: var(--secondary); width: 24px; height: 24px; }
    .acc-header-left h3 { margin: 0; font-size: 1.2rem; color: var(--primary); }
    .acc-chevron { color: var(--secondary); transition: transform 0.3s ease; }
    
    .accordion-content {
        max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease;
        padding: 0 1.5rem; background: var(--bg-light);
    }
    .accordion-item.active .accordion-content {
        max-height: 1400px; padding: 1.5rem;
        display: flex !important;
        flex-direction: column;
        gap: 1rem;
    }
    .accordion-item.active .acc-chevron { transform: rotate(180deg); }
    .accordion-item.active .desktop-only-img {
        display: block !important;
        order: -1;
        width: 100%;
        margin-bottom: 1rem;
    }
    .accordion-item.active .desktop-only-img img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        border-radius: var(--radius-sm);
    }
    
    /* Service Block Hero Fix */
    .sb-hero-content { padding: 1.5rem 0; text-align: center; display: flex; flex-direction: column; }
    .sb-bullets { grid-template-columns: 1fr; gap: 1rem; justify-items: center; }
    .sb-bullets li { justify-content: center; }
    
    .scp-content { text-align: center; padding: 1.5rem 0; }
    .sc-bullets { align-items: center; }
    
    .cta-premium-section { padding: 3rem 0; }
    .audience-premium-section { padding: 3rem 0; }
    .cta-premium-block { padding: 0; }
    .cta-premium-buttons { flex-direction: column; width: 100%; gap: 1rem; align-items: center; }
    
    .contact-link { flex-direction: column; text-align: center; gap: 1rem; padding: 1.5rem 1rem; }
    .contact-details { gap: 1rem; }
    
    .tags-premium-container { 
        flex-direction: row; 
        flex-wrap: wrap; 
        justify-content: center; 
        gap: 0.6rem; 
    }
    .tag-premium { 
        width: auto; 
        padding: 0.4rem 0.8rem; 
        justify-content: center; 
    }
    
    .micro-cta-container { flex-direction: column; text-align: center; gap: 1.5rem; }
    
    /* Centrar iconos en Diferenciadores */
    .diff-card { text-align: center; }
    .diff-card .icon-wrapper { margin: 0 auto 1.5rem; }
    
    /* Swiper Styling on Mobile */
    .swiper-pagination-bullet-active { background: var(--secondary) !important; }
    .swiper-button-next, .swiper-button-prev { color: var(--secondary) !important; transform: scale(0.6); }
    
    /* Ocultar paginacion de testimonios en movil */
    .swiper-testimonios .swiper-pagination {
        display: none !important;
    }
    
    /* Frase testimonios en una sola linea */
    .trust-note {
        font-size: 0.8rem !important;
        white-space: nowrap;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 0.3rem;
        width: 100%;
        margin-top: 1rem;
    }
    .trust-note svg, .trust-note i {
        width: 14px !important;
        height: 14px !important;
        color: #fbbc04 !important;
        fill: #fbbc04 !important;
        margin-top: -2px;
    }
    
    /* Ocultar botones de contacto repetidos al final (ya estan en la barra flotante) */
    .contact-details .contact-link[href^="tel:"],
    .contact-details .contact-link[href*="wa.me"],
    .contact-form-wrapper .text-muted,
    .contact-form-wrapper a[href*="kairos365.com"] {
        display: none !important;
    }
    
    
    
    /* Floating Bar Mobile */
    .mobile-floating-bar { display: flex; }
    body { padding-bottom: 70px; } /* Prevent footer from being covered */
    .mfb-btn {
        flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
        padding: 10px 5px; text-decoration: none; font-size: 0.75rem; font-weight: 600; color: var(--primary);
        transition: var(--transition); border-right: 1px solid rgba(0,0,0,0.05);
    }
    .mfb-btn:last-child { border-right: none; }
    .mfb-btn i { width: 22px; height: 22px; margin-bottom: 4px; }
    
    .mfb-whatsapp { color: #25D366; }
    .mfb-book { background-color: var(--secondary); color: white; }
    .mfb-book i { color: white; }
    .mfb-btn:active { background: rgba(0,0,0,0.05); }
}

/* ---------------------------------------------------
   NUEVAS SECCIONES PREMIUM (CREDENTIALS, CTA, MICRO CTAs)
------------------------------------------------------*/

/* Credenciales y Formación Profesional */
.credentials-section {
    padding: 4.5rem 0;
    background-color: var(--bg-main); /* Fondo blanco limpio/roto por el contexto general */
    border-top: 1px solid rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}
.credentials-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.credentials-container h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}
.credentials-container p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    align-items: center;
    justify-items: center;
}
.credential-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 80px;
    transition: var(--transition);
    filter: grayscale(100%) opacity(0.5); /* Monocromático adaptado */
}
.credential-logo img {
    max-height: 100%;
    max-width: 150px;
    object-fit: contain;
}
.credential-logo:hover, .credential-logo:active {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* CTA Premium Block */
.cta-premium-section {
    padding: 4.5rem 0;
    background-color: var(--primary);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-premium-bg {
    position: absolute;
    top: -50%; left: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
}
.cta-premium-block {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}
.cta-premium-block h2 {
    color: white;
    margin-bottom: 1.5rem;
}
.cta-premium-block p {
    color: rgba(255,255,255,0.85);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}
.cta-premium-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-premium-buttons .btn-primary {
    background-color: white;
    color: var(--primary);
}
.cta-premium-buttons .btn-primary:hover {
    background-color: var(--bg-light);
    box-shadow: 0 15px 30px -10px rgba(0,0,0,0.3);
}
.cta-premium-buttons .btn-outline {
    border-color: rgba(255,255,255,0.4);
    color: white;
}
.cta-premium-buttons .btn-outline:hover {
    background-color: rgba(255,255,255,0.1);
    border-color: white;
}

/* Micro CTAs Intermedios */
.micro-cta {
    padding: 2rem 0;
    background: linear-gradient(to right, var(--bg-light), white);
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.micro-cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}
.micro-cta-text h4 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 0.3rem;
}
.micro-cta-text p {
    margin: 0;
    font-size: 1rem;
}

/* Separadores visuales sutiles */
.divider-primary {
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    margin: 2rem auto;
    border-radius: 2px;
}

/* ==========================================================================
   ESTILOS PÁGINAS LEGALES
   ========================================================================== */
.legal-header {
    padding: 10rem 0 5rem;
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(247, 139, 30, 0.04) 100%);
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.legal-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary);
    margin: 1rem 0;
    font-family: var(--font-heading);
}
.legal-meta {
    font-size: 0.95rem;
    color: var(--text-muted);
}
.legal-content-section {
    background-color: var(--bg-main);
}
.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
    line-height: 1.8;
    color: var(--text-main);
}
.legal-container h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: var(--primary);
    margin-top: 3rem;
    margin-bottom: 1.2rem;
    font-family: var(--font-heading);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 0.5rem;
}
.legal-container p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}
.legal-container ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    list-style-type: disc;
}
.legal-container li {
    margin-bottom: 0.6rem;
    font-size: 1.05rem;
}
.legal-container strong {
    color: var(--primary);
}

/* Tabla de cookies */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2.5rem 0;
    font-size: 0.95rem;
    text-align: left;
}
.legal-table th, .legal-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}
.legal-table th {
    background-color: var(--bg-light);
    color: var(--primary);
    font-weight: 600;
}
.legal-table tr:hover {
    background-color: rgba(245, 244, 240, 0.5);
}

/* ==========================================================================
   FORMULARIO RGPD CASILLA
   ========================================================================== */
.form-group-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1.8rem;
    text-align: left;
}
.form-group-checkbox input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin-top: 2px;
    border: 1.5px solid rgba(0,0,0,0.15);
    border-radius: 4px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition);
}
.form-group-checkbox input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 111, 5, 0.2);
}
.form-group-checkbox label {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.5;
    cursor: pointer;
    user-select: none;
}
.form-group-checkbox label a {
    color: var(--secondary);
    text-decoration: underline;
    font-weight: 600;
    transition: var(--transition);
}
.form-group-checkbox label a:hover {
    color: var(--primary-light);
}

/* ==========================================================================
   BANNER Y MODAL DE COOKIES COMPLETOS
   ========================================================================== */
.btn-cookie-accept {
    background-color: var(--primary) !important;
    color: white !important;
    border-color: var(--primary) !important;
}
.btn-cookie-accept:hover {
    background-color: var(--primary-light) !important;
    border-color: var(--primary-light) !important;
}

.cookie-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(7, 25, 30, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 11000;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 1rem;
}
.cookie-modal.show {
    display: flex;
    opacity: 1;
}
.cookie-modal-content {
    background: white;
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 580px;
    padding: 2.5rem;
    box-shadow: var(--shadow-heavy);
    border: 1px solid rgba(0,0,0,0.06);
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cookie-modal.show .cookie-modal-content {
    transform: translateY(0);
}
.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding-bottom: 1.2rem;
    margin-bottom: 1.5rem;
}
.cookie-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--primary);
    font-family: var(--font-heading);
}
.cookie-modal-close {
    background: none;
    border: none;
    font-size: 2.2rem;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
    transition: var(--transition);
}
.cookie-modal-close:hover {
    color: var(--primary-accent);
}
.cookie-modal-body {
    max-height: 380px;
    overflow-y: auto;
    margin-bottom: 1.8rem;
    padding-right: 0.5rem;
}
.cookie-modal-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.cookie-option {
    background: var(--bg-light);
    padding: 1.2rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.2rem;
    border: 1px solid rgba(0,0,0,0.02);
}
.cookie-option-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 0.6rem;
}
.cookie-option-header strong {
    font-size: 1.05rem;
    color: var(--primary);
}
.cookie-option-desc {
    font-size: 0.88rem !important;
    color: var(--text-muted) !important;
    margin: 0 !important;
    line-height: 1.5;
}
.cookie-modal-footer {
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid rgba(0,0,0,0.08);
    padding-top: 1.2rem;
}

/* Custom Toggle Switch for Cookie Modal */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}
.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #d1d5db;
    transition: .3s;
    border-radius: 26px;
}
.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}
input:checked + .cookie-slider {
    background-color: var(--primary);
}
input:disabled + .cookie-slider {
    background-color: #a5d6a7;
    cursor: not-allowed;
}
input:checked + .cookie-slider:before {
    transform: translateX(22px);
}

/* Media query para móviles en tabla de cookies */
@media (max-width: 600px) {
    .legal-table, .legal-table tbody, .legal-table tr, .legal-table td, .legal-table th {
        display: block;
        width: 100%;
    }
    .legal-table thead {
        display: none;
    }
    .legal-table tr {
        margin-bottom: 1.5rem;
        border: 1px solid rgba(0,0,0,0.08);
        border-radius: var(--radius-sm);
        overflow: hidden;
    }
    .legal-table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
        border-bottom: 1px solid rgba(0,0,0,0.04);
    }
    .legal-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 1.2rem;
        width: 45%;
        text-align: left;
        font-weight: 600;
        color: var(--primary);
    }
    .legal-table td:last-child {
        border-bottom: none;
    }
}

/* ==========================================================================
   SECCIÓN PREMIUM: COLABORACIONES Y RED PROFESIONAL
   ========================================================================== */
.collaborations-section {
    padding: 5rem 0;
    background-color: var(--bg-main);
    border-top: 1px solid rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.collaborations-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3.5rem;
}

.collaborations-header h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.collaborations-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Swiper / Grid setup */
.swiper-colaboraciones {
    width: 100%;
    padding-bottom: 3.5rem;
    position: relative;
}

.collaboration-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.collaboration-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition);
}

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

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

.collaboration-header-info {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.collaboration-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: rgba(20, 111, 5, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    transition: var(--transition);
}

.collaboration-card:hover .collaboration-icon {
    background-color: var(--primary);
    color: white;
}

.collaboration-icon i,
.collaboration-icon svg {
    width: 24px;
    height: 24px;
}

.collaboration-info {
    flex-grow: 1;
}

.collaboration-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.collaboration-specialty {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.4rem;
}

.collaboration-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.collaboration-location i,
.collaboration-location svg {
    width: 16px;
    height: 16px;
    color: var(--secondary);
}

.collaboration-action {
    margin-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1.2rem;
}

.btn-collaboration {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary);
    transition: var(--transition);
}

.btn-collaboration i,
.btn-collaboration svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.btn-collaboration:hover {
    color: var(--primary-light);
}

.btn-collaboration:hover i,
.btn-collaboration:hover svg {
    transform: translate(3px, -3px);
}

/* Swiper navigation custom colors for Collaborations */
.swiper-colaboraciones .swiper-button-next,
.swiper-colaboraciones .swiper-button-prev {
    color: var(--secondary);
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
}

.swiper-colaboraciones .swiper-button-next:hover,
.swiper-colaboraciones .swiper-button-prev:hover {
    background: var(--bg-light);
    transform: scale(1.05);
}

.swiper-colaboraciones .swiper-button-next::after,
.swiper-colaboraciones .swiper-button-prev::after {
    font-size: 1.2rem;
    font-weight: bold;
}

.swiper-colaboraciones .swiper-pagination-bullet-active {
    background: var(--secondary);
}

/* ==========================================================================
   RESPONSIVE PARA NUEVAS SECCIONES
   ========================================================================== */
@media (min-width: 1025px) {
    .swiper-colaboraciones .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2.5rem 2rem !important;
        transform: none !important;
        width: 100% !important;
    }
    
    .swiper-colaboraciones .swiper-slide {
        width: auto !important;
        margin-right: 0 !important;
        height: auto !important;
    }
    
    .swiper-colaboraciones .swiper-pagination,
    .swiper-colaboraciones .swiper-button-next,
    .swiper-colaboraciones .swiper-button-prev {
        display: none !important;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .swiper-colaboraciones {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

@media (max-width: 768px) {
    .collaborations-section {
        padding: 3.5rem 0;
    }
    
    .collaborations-header {
        margin-bottom: 2.5rem;
    }
    
    .collaborations-subtitle {
        font-size: 1rem;
    }
    
    .swiper-colaboraciones {
        padding-bottom: 3rem;
    }
    
    .collaboration-card {
        padding: 2rem 1.5rem;
    }
}

/* ==========================================================================
   MENÚ MÓVIL DESPLEGABLE
   ========================================================================== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    color: var(--primary);
    transition: var(--transition);
    align-items: center;
    justify-content: center;
}

.menu-toggle i,
.menu-toggle svg {
    width: 28px;
    height: 28px;
}

.menu-toggle:hover {
    color: var(--secondary);
}

.mobile-nav {
    position: absolute;
    top: 100%;
    right: 1.2rem;
    left: auto;
    width: 280px;
    max-width: calc(100vw - 2.4rem);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-heavy);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
    z-index: 999;
    margin-top: 8px;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.mobile-nav-link:hover {
    color: var(--secondary);
    padding-left: 0.4rem;
}

.mobile-nav-actions {
    margin-top: 0.5rem;
    width: 100%;
}

/* El hamburguesa ya se activa desde max-width: 1024px arriba */

