/* ========================================
   VARIABLES Y RESET
   ======================================== */
:root {
    /* Colors - Inspired by the design */
    --primary-blue: #4A90E2;
    --primary-blue-dark: #2E5C8A;
    --secondary-coral: #FF7B6D;
    --accent-orange: #FFB84D;
    --accent-teal: #6DD5D5;
    --background-cream: #FFF8F0;
    --text-dark: #2C3E50;
    --text-gray: #6C757D;
    --text-light: #95A5A6;
    --white: #FFFFFF;
    --success-green: #10B981;
    --warning-yellow: #F59E0B;
    --error-red: #EF4444;
    
    /* Organic shape colors */
    --shape-blue: #B8D4F1;
    --shape-coral: #FFB8A8;
    --shape-orange: #FFD4A3;
    --shape-teal: #B8E6E6;
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-width: 1200px;
    
    /* Transitions */
    --transition-smooth: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--secondary-coral);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(255, 123, 109, 0.3);
}

.btn-primary:hover {
    background-color: #FF6B59;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 123, 109, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-blue);
}

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

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

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.125rem;
}

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

/* ========================================
   COOKIE BANNER
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.cookie-content a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

.btn-accept {
    background-color: var(--success-green);
    color: var(--white);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-accept:hover {
    background-color: #059669;
}

.btn-reject {
    background-color: var(--text-light);
    color: var(--white);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-reject:hover {
    background-color: var(--text-gray);
}

/* ========================================
   LANGUAGE SWITCHER
   ======================================== */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background-color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-btn {
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lang-btn.active {
    color: var(--primary-blue);
}

.lang-btn:hover {
    color: var(--primary-blue);
}

.lang-separator {
    color: var(--text-light);
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
    z-index: 999;
    padding: 16px 0;
    transition: var(--transition-smooth);
}

.header.scrolled {
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 80px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    flex: 1;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

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

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

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

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 16px 0;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-smooth);
    margin-top: 12px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 24px;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

.dropdown-menu a:hover {
    background-color: var(--background-cream);
    color: var(--primary-blue);
}

/* Contact in header */
.nav-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-blue);
}

.nav-phone:hover {
    color: var(--primary-blue-dark);
}

/* Mobile toggle */
.nav-toggle,
.nav-close {
    display: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--background-cream) 0%, var(--white) 100%);
    overflow: hidden;
}

/* Butterfly Decorations Background */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
}

.shape-1 {
    width: 450px;
    height: 450px;
    background-image: url('../assets/decorative/butterfly-large.png');
    top: -8%;
    left: -8%;
    opacity: 0.18;
    animation: float1 15s ease-in-out infinite;
}

.shape-2 {
    width: 350px;
    height: 350px;
    background-image: url('../assets/decorative/butterfly-medium.png');
    bottom: 0%;
    right: -5%;
    opacity: 0.22;
    animation: float2 18s ease-in-out infinite;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background-image: url('../assets/decorative/butterfly-small.png');
    top: 40%;
    right: 12%;
    opacity: 0.15;
    animation: float3 12s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(25px, -20px) rotate(8deg) scale(1.04);
    }
    50% {
        transform: translate(-15px, 25px) rotate(-5deg) scale(0.96);
    }
    75% {
        transform: translate(20px, 15px) rotate(6deg) scale(1.02);
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(-20px, -25px) rotate(-6deg) scale(1.05);
    }
    50% {
        transform: translate(25px, 15px) rotate(8deg) scale(0.94);
    }
    75% {
        transform: translate(-15px, -10px) rotate(-4deg) scale(1.03);
    }
}

@keyframes float3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(15px, 20px) rotate(10deg) scale(1.06);
    }
    50% {
        transform: translate(-20px, -15px) rotate(-8deg) scale(0.95);
    }
    75% {
        transform: translate(10px, -20px) rotate(5deg) scale(1.04);
    }
}

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

.hero-content {
    animation: fadeInLeft 0.8s ease;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image {
    animation: fadeInRight 0.8s ease;
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* ========================================
   TRUST BAR
   ======================================== */
.trust-bar {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    padding: 50px 0;
    color: var(--white);
}

.trust-items {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.trust-icon {
    width: 70px;
    height: 70px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.trust-item:hover .trust-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.trust-icon i {
    font-size: 1.75rem;
    color: var(--primary-blue);
}

.trust-item span {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
    padding: var(--section-padding);
    background-color: var(--white);
}

/* Grid por defecto (auto-fit) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

/* ========================================
   GRID DE 4 SERVICIOS (2x2) - NUEVO
   ======================================== */
.services-grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Cards con padding (para íconos) */
.service-card.icon-card {
    padding: 40px 32px;
}

/* Cards con imagen (sin padding arriba) */
.service-card:not(.icon-card) {
    padding: 0;
}

.service-card:not(.icon-card) .service-content {
    padding: 28px 32px 32px;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

/* Imagen de servicio */
.service-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-teal) 100%);
}

.service-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

/* Overlay sutil en hover */
.service-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(74, 144, 226, 0.1) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover .service-image-wrapper::after {
    opacity: 1;
}

/* Ícono pequeño (para cards sin imagen) */
.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-teal) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    flex-shrink: 0;
}

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

/* Badge de servicio (opcional) */
.service-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--secondary-coral);
    color: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-heading);
    z-index: 1;
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-description {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.7;
    flex: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    font-weight: 600;
    font-family: var(--font-heading);
}

.service-link:hover {
    gap: 12px;
}

/* ========================================
   PROCESS SECTION
   ======================================== */
.process {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--background-cream) 0%, var(--white) 100%);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-coral) 0%, var(--accent-orange) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(255, 123, 109, 0.3);
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.step-description {
    color: var(--text-gray);
    line-height: 1.6;
}

.process-cta {
    text-align: center;
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats {
    padding: var(--section-padding);
    background-color: var(--primary-blue);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-orange);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 500;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
    padding: var(--section-padding);
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background-color: var(--background-cream);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: var(--accent-orange);
    font-size: 1.125rem;
}

.testimonial-text {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-author strong {
    font-family: var(--font-heading);
    color: var(--text-dark);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* ========================================
   INSURANCE SECTION
   ======================================== */
.insurance {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--background-cream) 0%, var(--white) 100%);
}

.insurance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 40px;
}

.insurance-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    height: 100px;
}

.insurance-logo:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.insurance-logo img {
    width: auto;
    height: auto;
    max-width: 130px;
    max-height: 50px;
    object-fit: contain;
    opacity: 0.75;
    transition: var(--transition-smooth);
}

.insurance-logo:hover img {
    opacity: 1;
}

/* Ajustes específicos para logos que se ven pequeños */
.insurance-logo img[alt="Aetna"] {
    max-width: 160px;
    max-height: 60px;
    transform: scale(1.3);
}

.insurance-logo img[alt="Sunshine Health"] {
    max-width: 160px;
    max-height: 60px;
    transform: scale(1.4);
}

.insurance-note {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.125rem;
}

.insurance-note a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: underline;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -200px;
    right: -200px;
}

.cta::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    padding: var(--section-padding);
    background-color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.contact-description {
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.contact-detail {
    display: flex;
    gap: 20px;
}

.contact-detail i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-detail p {
    color: var(--text-gray);
    line-height: 1.6;
}

.contact-detail a {
    color: var(--primary-blue);
}

.contact-detail a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 48px;
    height: 48px;
    background-color: var(--background-cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.25rem;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-4px);
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--background-cream);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid #E5E7EB;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    background-color: var(--white);
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

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

.form-privacy {
    font-size: 0.875rem;
    color: var(--text-gray);
}

.form-privacy a {
    color: var(--primary-blue);
    text-decoration: underline;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 80px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
}

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

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

.footer-social a:hover {
    background-color: var(--primary-blue);
    transform: translateY(-4px);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-light);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--primary-blue);
}

/* ========================================
   FLOATING ACTION BUTTONS
   ======================================== */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fab-whatsapp,
.fab-phone {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
    animation: pulse 2s infinite;
}

.fab-whatsapp {
    background-color: #25D366;
}

.fab-whatsapp:hover {
    background-color: #1DA851;
    transform: scale(1.1);
}

.fab-phone {
    background-color: var(--secondary-coral);
}

.fab-phone:hover {
    background-color: #FF6B59;
    transform: scale(1.1);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    }
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 998;
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--primary-blue-dark);
    transform: translateY(-4px);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media screen and (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--white);
        padding: 80px 40px 40px;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: var(--transition-smooth);
        z-index: 1001;
        overflow-y: auto;
    }

    .nav-menu.show {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .nav-link {
        font-size: 1.125rem;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        margin-top: 12px;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-contact {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }

    .nav-contact .btn {
        width: 100%;
    }

    .nav-toggle,
    .nav-close {
        display: block;
    }

    .nav-close {
        position: absolute;
        top: 24px;
        right: 24px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2.25rem;
    }
    
    /* Insurance logos en tablet */
    .insurance-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    /* Mariposas en tablet */
    .shape-1 {
        width: 300px;
        height: 300px;
        opacity: 0.15;
    }
    
    .shape-2 {
        width: 220px;
        height: 220px;
        opacity: 0.18;
    }
    
    .shape-3 {
        width: 180px;
        height: 180px;
        opacity: 0.12;
    }
}

@media screen and (max-width: 768px) {
    /* Header simplificado en móvil */
    .nav-contact {
        display: none;
    }
    
    .logo-img {
        height: 45px;
        width: auto;
        max-width: 160px;
        object-fit: contain;
    }
    
    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

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

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

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

    .trust-items {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    
    .trust-item {
        flex: 0 0 calc(33.333% - 20px);
        min-width: 120px;
    }
    
    .trust-icon {
        width: 60px;
        height: 60px;
    }
    
    .trust-icon i {
        font-size: 1.5rem;
    }
    
    .trust-item span {
        font-size: 0.8rem;
    }

    /* Grid de servicios en móvil: 1 columna */
    .services-grid,
    .services-grid-4,
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .insurance-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .insurance-logo {
        height: 85px;
        padding: 20px 16px;
    }
    
    .insurance-logo img {
        max-width: 110px;
        max-height: 45px;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social,
    .social-links {
        justify-content: center;
    }

    .footer-links {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-buttons button {
        width: 100%;
    }

    .language-switcher {
        top: 10px;
        right: 60px;
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .lang-btn {
        font-size: 0.8rem;
    }

    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }

    .fab-whatsapp,
    .fab-phone {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .scroll-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .cta-title {
        font-size: 1.875rem;
    }

    .cta-text {
        font-size: 1.125rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
    
    /* Mariposas en móvil - ocultar la tercera */
    .shape-1 {
        width: 200px;
        height: 200px;
        opacity: 0.12;
        top: -5%;
        left: -5%;
    }
    
    .shape-2 {
        width: 150px;
        height: 150px;
        opacity: 0.15;
    }
    
    .shape-3 {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    /* Header simplificado en móvil pequeño */
    .header {
        padding: 12px 0;
    }
    
    .nav {
        gap: 12px;
    }
    
    .logo-img {
        height: 38px;
        width: auto;
        max-width: 130px;
        object-fit: contain;
    }
    
    .language-switcher {
        top: 8px;
        right: 55px;
        padding: 5px 10px;
    }
    
    .lang-btn {
        font-size: 0.75rem;
    }
    
    .nav-toggle {
        font-size: 1.25rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }
    
    .trust-bar {
        padding: 40px 0;
    }
    
    .trust-items {
        gap: 24px;
    }
    
    .trust-item {
        flex: 0 0 calc(50% - 12px);
    }
    
    .trust-icon {
        width: 55px;
        height: 55px;
    }
    
    .trust-icon i {
        font-size: 1.35rem;
    }
    
    /* Ocultar mariposas en móvil pequeño */
    .shape-1,
    .shape-2,
    .shape-3 {
        display: none;
    }
    
    /* Insurance logos en móvil pequeño */
    .insurance-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .insurance-logo {
        height: 70px;
        padding: 14px 10px;
    }
    
    .insurance-logo img {
        max-width: 85px;
        max-height: 35px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@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;
    }
}

/* ================================================
   BUTTERFLIES FIXED - Mariposas que permanecen al hacer scroll
   ================================================ */

/* Contenedor de mariposas fijas - CORREGIDO para permitir clics */
.butterflies-fixed,
.butterflies-fixed * {
    pointer-events: none;
}

.butterflies-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    overflow: hidden;
}

.butterfly {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.butterfly-1 {
    width: 450px;
    height: 450px;
    background-image: url('../assets/decorative/butterfly-large.png');
    top: -8%;
    left: -8%;
    opacity: 0.12;
    animation: floatButterfly1 20s ease-in-out infinite;
}

.butterfly-2 {
    width: 350px;
    height: 350px;
    background-image: url('../assets/decorative/butterfly-medium.png');
    bottom: 5%;
    right: -5%;
    opacity: 0.15;
    animation: floatButterfly2 25s ease-in-out infinite;
}

.butterfly-3 {
    width: 250px;
    height: 250px;
    background-image: url('../assets/decorative/butterfly-small.png');
    top: 35%;
    right: 8%;
    opacity: 0.10;
    animation: floatButterfly3 18s ease-in-out infinite;
}

/* Animaciones más suaves para las mariposas fijas */
@keyframes floatButterfly1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    20% {
        transform: translate(30px, -25px) rotate(5deg) scale(1.03);
    }
    40% {
        transform: translate(-20px, 35px) rotate(-3deg) scale(0.97);
    }
    60% {
        transform: translate(25px, 20px) rotate(4deg) scale(1.02);
    }
    80% {
        transform: translate(-15px, -15px) rotate(-2deg) scale(0.98);
    }
}

@keyframes floatButterfly2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(-25px, -30px) rotate(-5deg) scale(1.04);
    }
    50% {
        transform: translate(30px, 20px) rotate(6deg) scale(0.95);
    }
    75% {
        transform: translate(-20px, 25px) rotate(-4deg) scale(1.02);
    }
}

@keyframes floatButterfly3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    33% {
        transform: translate(20px, -20px) rotate(8deg) scale(1.05);
    }
    66% {
        transform: translate(-25px, 15px) rotate(-6deg) scale(0.95);
    }
}

/* ================================================
   RESPONSIVE - Mariposas fijas
   ================================================ */

/* Tablet */
@media screen and (max-width: 1024px) {
    .butterfly-1 {
        width: 300px;
        height: 300px;
        opacity: 0.10;
    }
    
    .butterfly-2 {
        width: 220px;
        height: 220px;
        opacity: 0.12;
    }
    
    .butterfly-3 {
        width: 180px;
        height: 180px;
        opacity: 0.08;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .butterfly-1 {
        width: 200px;
        height: 200px;
        top: -5%;
        left: -10%;
        opacity: 0.08;
    }
    
    .butterfly-2 {
        width: 150px;
        height: 150px;
        bottom: 10%;
        right: -8%;
        opacity: 0.10;
    }
    
    /* Ocultar la tercera mariposa en móvil */
    .butterfly-3 {
        display: none;
    }
}

/* Mobile pequeño */
@media screen and (max-width: 480px) {
    .butterfly-1 {
        width: 150px;
        height: 150px;
        opacity: 0.06;
    }
    
    .butterfly-2 {
        width: 120px;
        height: 120px;
        opacity: 0.08;
    }
}