/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #d946ef;
    --secondary-color: #a855f7;
    --accent-color: #ec4899;
    --text-dark: #374151;
    --text-light: #6b7280;
    --bg-light: #fdf2f8;
    --bg-pink: #fce7f3;
    --bg-white: #ffffff;
    --border-color: #f3e8ff;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Playfair Display', serif;
    line-height: 1.7;
    color: var(--text-dark);
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    min-height: 100vh;
    padding-top: 80px; /* Espacio para el header fijo */
    transition: padding-top 0.3s ease;
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(217, 70, 239, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

/* Header comprimido al hacer scroll (solo desktop) */
@media (min-width: 769px) {
    .header.scrolled {
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 2px 30px rgba(217, 70, 239, 0.15);
    }
    
    .header.scrolled .navbar {
        padding: 0.6rem 0;
    }
    
    .header.scrolled .nav-brand h1 {
        font-size: 1.6rem;
    }
    
    .header.scrolled .nav-subtitle {
        font-size: 0.8rem;
    }
}

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

.nav-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nav-brand h1 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    margin: 0;
    line-height: 1;
}

.nav-subtitle {
    color: var(--text-light);
    font-size: 0.9rem;
    font-family: 'Lato', sans-serif;
    font-style: italic;
    margin-top: 2px;
}

.nav-brand a {
    text-decoration: none;
    color: inherit;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-family: 'Lato', sans-serif;
    transition: var(--transition);
    position: relative;
}

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    background: none;
    border: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

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

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

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

/* Hero Section */
.hero {
    padding: 40px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-pink) 100%);
    min-height: 75vh;
    display: flex;
    align-items: center;
    margin-top: -80px; /* Compensar el padding-top del body */
    padding-top: 120px; /* Espacio adicional para el header fijo */
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.2;
    font-family: 'Playfair Display', serif;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-family: 'Lato', sans-serif;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo {
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(217, 70, 239, 0.2);
    backdrop-filter: blur(10px);
}

.logo-script {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.logo-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-family: 'Lato', sans-serif;
    font-style: italic;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(217, 70, 239, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(217, 70, 239, 0.4);
}

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

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

/* Sections */
section {
    padding: 30px 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 2rem;
}

.decorative-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
    margin: 0;
}

.services-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-family: 'Lato', sans-serif;
}

/* Services */
.services {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
}

/* Carrusel de servicios */
.services-carousel {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.carousel-container {
    overflow: hidden;
    border-radius: 20px;
    position: relative;
    width: 100%;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
    align-items: stretch;
}

/* Estilos para elementos clonados del carrusel infinito */
.carousel-wrapper .service-card.cloned {
    pointer-events: none; /* Evitar interacciones duplicadas */
}

.carousel-wrapper .service-card {
    flex: 0 0 auto;
    width: calc(33.333% - 20px);
    margin-right: 20px;
    min-height: 400px;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.carousel-wrapper .service-card:last-child {
    margin-right: 0;
}

/* Controles de navegación */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(217, 70, 239, 0.9);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10;
    box-shadow: 0 4px 15px rgba(217, 70, 239, 0.3);
    outline: none;
    user-select: none;
}

.carousel-btn:hover,
.carousel-btn:focus {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(217, 70, 239, 0.4);
}

.carousel-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
    left: -25px;
}

.carousel-btn-next {
    right: -25px;
}

/* Indicadores */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(217, 70, 239, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Responsive Design - Optimizado */
/* Extra Small Devices (Phones, 480px and down) */
@media (max-width: 480px) {
    .services-carousel {
        padding: 0;
        margin: 0;
        width: 100%;
        overflow: hidden;
        position: relative;
    }
    
    .carousel-container {
        padding: 0 10px;
        margin: 0;
        border-radius: 15px;
    }
    
    .carousel-wrapper {
        padding-left: 10px;
        align-items: stretch;
        transform-style: preserve-3d;
    }
    
    .carousel-wrapper .service-card {
        flex: 0 0 auto;
        width: calc(100vw - 60px);
        margin-right: 15px;
        min-height: 350px;
        padding: 1.8rem;
        box-sizing: border-box;
        border-radius: 15px;
        box-shadow: 0 8px 25px rgba(217, 70, 239, 0.15);
        background: var(--bg-white);
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        transform: translateZ(0);
        backface-visibility: hidden;
    }
    
    .carousel-wrapper .service-card:hover {
        transform: translateY(-8px) translateZ(0);
        box-shadow: 0 15px 35px rgba(217, 70, 239, 0.25);
    }
    
    .carousel-wrapper .service-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        color: var(--primary-color);
    }
    
    .carousel-wrapper .service-card p {
        font-size: 0.95rem;
        line-height: 1.6;
        color: var(--text-light);
    }
    
    .carousel-wrapper .service-card img {
        width: 100%;
        height: 120px;
        object-fit: cover;
        border-radius: 10px;
        margin-bottom: 1rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        z-index: 25;
        background: rgba(217, 70, 239, 0.95);
        backdrop-filter: blur(10px);
        border: 2px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 4px 15px rgba(217, 70, 239, 0.3);
    }
    
    .carousel-btn:hover {
        background: var(--primary-color);
        transform: translateY(-50%) scale(1.05);
        box-shadow: 0 6px 20px rgba(217, 70, 239, 0.4);
    }
    
    .carousel-btn-prev {
        left: 8px;
    }
    
    .carousel-btn-next {
        right: 8px;
    }
    
    .carousel-indicators {
        margin-top: 1.5rem;
        gap: 0.4rem;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
        border: 2px solid var(--primary-color);
        transition: all 0.3s ease;
    }
    
    .indicator.active {
        background: var(--primary-color);
        transform: scale(1.2);
    }
}

/* Small Devices (Phones, 481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .services-carousel {
        padding: 0 15px;
    }
    
    .carousel-wrapper .service-card {
        flex: 0 0 auto;
        width: calc(100% - 40px);
        margin-right: 20px;
        min-height: 350px;
        padding: 2rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        z-index: 20;
    }
    
    .carousel-btn-prev {
        left: 10px;
    }
    
    .carousel-btn-next {
        right: 10px;
    }
    
    .carousel-indicators {
        margin-top: 1.5rem;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

/* Medium Devices (Tablets, 769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .carousel-wrapper .service-card {
        flex: 0 0 auto;
        width: calc(50% - 15px);
        margin-right: 20px;
        min-height: 380px;
        padding: 2.2rem;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
    }
    
    .carousel-btn-prev {
        left: -20px;
    }
    
    .carousel-btn-next {
        right: -20px;
    }
}

/* Large Devices (Desktops, 1025px to 1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {
    .carousel-wrapper .service-card {
        flex: 0 0 auto;
        width: calc(33.333% - 15px);
        margin-right: 20px;
        min-height: 400px;
        padding: 2.5rem;
    }
    
    .carousel-btn {
        width: 50px;
        height: 50px;
    }
}

/* Extra Large Devices (Large Desktops, 1201px and up) */
@media (min-width: 1201px) {
    .carousel-wrapper .service-card {
        flex: 0 0 auto;
        width: calc(33.333% - 15px);
        margin-right: 20px;
        min-height: 450px;
        padding: 2.8rem;
    }
    
    .carousel-btn {
        width: 55px;
        height: 55px;
        font-size: 1.2rem;
    }
    
    .carousel-btn-prev {
        left: -30px;
    }
    
    .carousel-btn-next {
        right: -30px;
    }
}

.service-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(217, 70, 239, 0.1);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(217, 70, 239, 0.1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(217, 70, 239, 0.2);
    border-color: var(--primary-color);
}

.service-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 5px 15px rgba(217, 70, 239, 0.3);
}

.service-icon i {
    font-size: 2.5rem;
    color: white;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-family: 'Lato', sans-serif;
}

/* About */
.about {
    background: linear-gradient(135deg, var(--bg-pink) 0%, #fce7f3 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    line-height: 1.8;
    font-family: 'Lato', sans-serif;
    text-align: justify;
}

.about-intro {
    font-size: 1.2rem !important;
    color: var(--text-dark) !important;
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(217, 70, 239, 0.1);
    border: 2px dashed var(--border-color);
}

.image-placeholder i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    opacity: 0.7;
}

.image-placeholder p {
    color: var(--text-light);
    font-family: 'Lato', sans-serif;
    margin: 0;
}

/* Mission, Vision, Values */
.mvv-section {
    margin-top: 5rem;
}

.mvv-item {
    margin-bottom: 2.5rem;
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(217, 70, 239, 0.1);
}

.mvv-item h3 {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    margin: 0;
}

.mvv-item p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    font-family: 'Lato', sans-serif;
    text-align: justify;
    margin-top: 2rem;
}

.values-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.values-list li {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
    font-family: 'Lato', sans-serif;
    line-height: 1.7;
    color: var(--text-light);
}

.values-list li::before {
    content: '♦';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.values-list strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Gallery */
.gallery {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
    margin-bottom: 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(217, 70, 239, 0.1);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(217, 70, 239, 0.2);
}

.gallery-item .image-placeholder {
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--bg-light);
    border: none;
    border-radius: 15px;
}

.gallery-item .image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Contact */
.contact {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-pink) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(217, 70, 239, 0.1);
    height: fit-content;
}

.contact-item {
    margin-bottom: 2.5rem;
}

.contact-item h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.contact-item p {
    color: var(--text-light);
    font-size: 1.1rem;
    font-family: 'Lato', sans-serif;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    justify-content: flex-start;
    align-items: center;
}

.social-link {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(217, 70, 239, 0.4);
    font-size: 1.2rem;
    margin: 0 5px;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(217, 70, 239, 0.6);
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.social-link i {
    font-size: 1.2rem;
    color: white !important;
}

/* Form */
.contact-form {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(217, 70, 239, 0.1);
}

/* Mapa Interactivo */
.map-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(217, 70, 239, 0.1);
}

.map-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 2rem;
    align-items: start;
}

.map-info {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(217, 70, 239, 0.1);
    height: fit-content;
}

.map-address h3 {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.map-address p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Lato', sans-serif;
}

.map-address p i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
}

.map-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.map-actions .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.9rem;
}

.map-actions .btn-secondary {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
}

.map-actions .btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(217, 70, 239, 0.3);
}

.interactive-map {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(217, 70, 239, 0.15);
    background: var(--bg-white);
}

.interactive-map::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(217, 70, 239, 0.05), rgba(139, 69, 19, 0.05));
    pointer-events: none;
    z-index: 1;
}

.interactive-map iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 20px;
    position: relative;
    z-index: 2;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'Lato', sans-serif;
    background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(217, 70, 239, 0.1);
    background: var(--bg-white);
}

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

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #4b5563 100%);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.footer-subtitle {
    font-size: 1rem;
    font-style: italic;
    color: #d1d5db;
    margin-bottom: 1rem;
    font-family: 'Lato', sans-serif;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: white;
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-section p {
    color: #d1d5db;
    margin-bottom: 0.8rem;
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
}

.footer-section i {
    margin-right: 0.8rem;
    color: var(--primary-color);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(217, 70, 239, 0.3);
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
    font-family: 'Lato', sans-serif;
}

/* Alerts */
.alert {
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-direction: column;
    text-align: center;
}

.alert i {
    font-size: 3rem;
}

.alert p {
    font-size: 1.1rem;
    margin: 1rem 0;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-success i {
    color: var(--success-color);
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-error i {
    color: var(--error-color);
}

.alert-info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.alert-info i {
    color: var(--primary-color);
}

.contact-page {
    padding: 80px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 70px; /* Reducir espacio en móvil */
    }
    
    .hero {
        margin-top: -70px;
        padding-top: 100px;
        min-height: 70vh;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-text h2 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .logo-script {
        font-size: 3rem !important;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .decorative-line {
        width: 50px;
    }
    
    .section-header {
        gap: 1rem;
    }
    
    .mvv-item {
        padding: 2rem;
    }
    
    .contact-form,
    .contact-info {
        padding: 2rem;
    }
    
    /* Mapa responsivo para tablets */
    .map-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .map-info {
        padding: 2.5rem;
    }
    
    .interactive-map iframe {
        height: 350px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 65px; /* Espacio más pequeño para móviles pequeños */
    }
    
    .hero {
        margin-top: -65px;
        padding-top: 90px;
        min-height: 65vh;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .about-stats {
        flex-direction: column;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}
/* 
Estilos adicionales para páginas específicas */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Detailed Services */
.detailed-services {
    padding: 80px 0;
}

.service-detail {
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.service-detail:nth-child(even) {
    background: var(--bg-light);
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.service-icon-large {
    width: 120px;
    height: 120px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.service-icon-large i {
    font-size: 3rem;
    color: white;
}

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

.service-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.service-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.service-features {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.service-features h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.service-features ul {
    list-style: none;
    padding: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

.service-features li i {
    color: var(--success-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* Navigation active state */
.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Mobile menu styles */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 0; /* Reducir padding del navbar en móvil */
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: auto;
        background: var(--bg-white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 0;
        padding-bottom: 0;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0;
    }
    
    .nav-menu a {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
        display: block;
        width: 100%;
        text-align: center;
        border-bottom: none;
        line-height: 1;
    }
    

    
    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .service-info h2 {
        font-size: 2rem;
    }
    
    .service-description {
        font-size: 1rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}



/* Header scrolled effect */
.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

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

/* Focus states para accesibilidad */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .cta-section {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}/* 
Estilos para el logo en el header */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo {
    height: 80px;
    width: auto;
    border-radius: 8px;
}

.nav-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nav-text h1 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    margin: 0;
    line-height: 1;
}

.nav-text .nav-subtitle {
    color: var(--text-light);
    font-size: 0.9rem;
    font-family: 'Lato', sans-serif;
    font-style: italic;
    margin-top: 2px;
}

/* Estilos para el logo en el hero */
.hero-logo-img {
    max-width: 200px;
    height: auto;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(217, 70, 239, 0.2);
}

/* Estilos para la galería con imágenes reales */
.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(217, 70, 239, 0.1);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(217, 70, 239, 0.2);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    transition: var(--transition);
    background: var(--bg-light);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 1.5rem 1rem 1rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay p {
    margin: 0;
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    text-align: center;
}

/* Imagen del equipo en about */
.about-image-real {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(217, 70, 239, 0.2);
    transition: var(--transition);
}

.about-image-real:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(217, 70, 239, 0.3);
}

/* Responsive para imágenes */
@media (max-width: 768px) {
    .nav-logo {
        height: 40px;
    }
    
    .nav-text h1 {
        font-size: 1.5rem;
    }
    
    .nav-text .nav-subtitle {
        font-size: 0.8rem;
    }
    
    .hero-logo-img {
        max-width: 150px;
    }
    
    .gallery-image {
        height: 200px;
    }
    
    .gallery-overlay {
        position: static;
        transform: none;
        background: rgba(0,0,0,0.8);
        padding: 1rem;
    }
    
    .nav-brand {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Ajustes adicionales para móvil */
@media (max-width: 480px) {
    .nav-brand {
        flex-direction: row;
        gap: 0.8rem;
    }
    
    .nav-logo {
        height: 35px;
    }
    
    .nav-text h1 {
        font-size: 1.3rem;
    }
    
    .hero-logo-img {
        max-width: 120px;
    }
}/* Estil
os para imágenes en servicios */
.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.service-icon {
    width: 100%;
    height: 250px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(217, 70, 239, 0.3);
    border: 3px solid var(--primary-color);
    position: relative;
}

/* Efecto hover eliminado para mostrar imagen completa */

/* Mantener iconos para servicios sin imagen */
.service-icon i {
    font-size: 2.5rem;
    color: white;
}

/* Asegurar que las imágenes de servicios se vean bien */
.service-icon:has(.service-image) {
    background: none;
    border: 4px solid var(--primary-color);
}

/* Responsividad optimizada para imágenes de servicios */
@media (max-width: 480px) {
    .service-icon {
        height: 180px;
        border-radius: 15px;
        border: 2px solid var(--primary-color);
        box-shadow: 0 4px 15px rgba(217, 70, 239, 0.25);
        margin-bottom: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
        min-height: 320px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .service-icon {
        height: 200px;
        border-radius: 18px;
        border: 2px solid var(--primary-color);
        margin-bottom: 1.2rem;
    }
    
    .service-card {
        padding: 2rem;
        min-height: 350px;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .service-icon {
        height: 220px;
        border-radius: 20px;
    }
    
    .service-card {
        padding: 2.2rem;
        min-height: 380px;
    }
}

@media (min-width: 1201px) {
    .service-icon {
        height: 280px;
        border-radius: 25px;
        box-shadow: 0 10px 30px rgba(217, 70, 239, 0.4);
        border: 4px solid var(--primary-color);
    }
    
    .service-card {
        padding: 2.8rem;
        min-height: 450px;
    }
}/* Estilos
 para la página de habitaciones */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    font-family: 'Lato', sans-serif;
}

.habitaciones-gallery {
    padding: 80px 0;
    background: var(--bg-light);
}

.habitaciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.habitacion-item {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(217, 70, 239, 0.1);
    transition: var(--transition);
}

.habitacion-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(217, 70, 239, 0.2);
}

.habitacion-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.habitacion-info {
    padding: 2.5rem;
}

.habitacion-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.habitacion-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-family: 'Lato', sans-serif;
}

.habitacion-features {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.habitacion-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-light);
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
}

.habitacion-features i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Responsive para habitaciones */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .habitaciones-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .habitacion-item {
        margin: 0 10px;
    }
    
    .habitacion-info {
        padding: 2rem;
    }
    
    .habitacion-features {
        grid-template-columns: 1fr;
    }
    
    .service-icon {
        width: 130px;
        height: 130px;
    }
    
    .social-links {
        justify-content: center;
        gap: 1.2rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 60px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .habitacion-info {
        padding: 1.5rem;
    }
    
    .habitacion-info h3 {
        font-size: 1.5rem;
    }
    
    .service-icon {
        width: 120px;
        height: 120px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .social-links {
        gap: 1rem;
        justify-content: center;
    }
}/* Estilos 
para imágenes en servicios - cuadradas y más grandes */
.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: var(--transition);
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

/* Asegurar que las imágenes de servicios se vean bien */
.service-icon:has(.service-image) {
    background: none;
    border: 3px solid var(--primary-color);
}/* Estil
os para redes sociales - corregidos */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: flex-start;
    align-items: center;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(217, 70, 239, 0.4);
    font-size: 1.3rem;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(217, 70, 239, 0.6);
    background: var(--accent-color);
}

.social-link i {
    font-size: 1.3rem;
    color: white !important;
    line-height: 1;
}

/* Específico para cada red social */
.social-link[href*="facebook"] {
    background: var(--primary-color);
}

.social-link[href*="instagram"] {
    background: var(--primary-color);
}

.social-link[href*="tiktok"] {
    background: var(--primary-color);
}

.social-link[href*="whatsapp"], .social-link[href*="wa.me"] {
    background: var(--primary-color);
}

/* Responsive para redes sociales */
@media (max-width: 768px) {
    .social-links {
        justify-content: center;
        gap: 1.2rem;
    }
}

@media (max-width: 480px) {
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .social-link i {
        font-size: 1.1rem;
    }
    
    .social-links {
        gap: 1rem;
        justify-content: center;
    }
}/* 
Estilos para la galería - imágenes completas */
.gallery {
    background: var(--bg-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(217, 70, 239, 0.1);
    transition: var(--transition);
    height: 250px; /* Altura fija para el contenedor */
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(217, 70, 239, 0.2);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Cambiado de cover a contain para mostrar imagen completa */
    object-position: center;
    transition: var(--transition);
    background: var(--bg-light); /* Fondo suave para espacios vacíos */
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 1.5rem 1rem 1rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.02);
}

.gallery-overlay p {
    margin: 0;
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    text-align: center;
}

/* Responsive para galería */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-item {
        height: 250px; /* Mantener altura consistente */
        margin: 0 auto;
        max-width: 100%;
    }
    
    .gallery-image {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Cambiar a cover para mejor visualización en móvil */
        object-position: center;
    }
    
    .gallery-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(transparent, rgba(0,0,0,0.9));
        color: white;
        padding: 1rem;
        transform: translateY(0); /* Siempre visible en móvil */
    }
}

/* Responsive específico para pantallas de alta resolución como S22 Ultra */
@media (max-width: 480px) and (-webkit-min-device-pixel-ratio: 2) {
    .gallery-item {
        height: 280px;
        border-radius: 12px;
    }
    
    .gallery-image {
        object-fit: cover;
        transform: none !important; /* Evitar transformaciones problemáticas */
    }
    
    .gallery-overlay {
        font-size: 0.9rem;
        padding: 0.8rem;
    }
}

/* Gallery Carousel 3D Styles */
.gallery-carousel {
    position: relative;
    margin-top: 3rem;
    height: 500px;
    perspective: 1200px;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.carousel-3d-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.carousel-3d-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-3d-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.7;
    transform: translateZ(-200px) scale(0.8);
    backface-visibility: hidden;
}

.carousel-3d-slide.active {
    opacity: 1;
    transform: translateZ(0) scale(1);
    z-index: 10;
}

.carousel-3d-slide.next {
    transform: translateZ(-100px) translateX(150px) rotateY(-25deg) scale(0.9);
    opacity: 0.8;
    z-index: 5;
}

.carousel-3d-slide.prev {
    transform: translateZ(-100px) translateX(-150px) rotateY(25deg) scale(0.9);
    opacity: 0.8;
    z-index: 5;
}

.carousel-3d-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.carousel-3d-slide:hover .carousel-3d-image {
    transform: scale(1.05);
}

.carousel-3d-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.carousel-3d-slide.active .carousel-3d-overlay {
    transform: translateY(0);
}

.carousel-3d-overlay h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
}

.carousel-3d-overlay p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Controles del carrusel 3D */
.carousel-3d-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(217, 70, 239, 0.9);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 20;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(217, 70, 239, 0.3);
}

.carousel-3d-btn:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(217, 70, 239, 0.4);
}

.carousel-3d-prev {
    left: 20px;
}

.carousel-3d-next {
    right: 20px;
}

/* Indicadores del carrusel 3D */
.carousel-3d-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.carousel-3d-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-3d-indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.carousel-3d-indicator:hover {
    background: rgba(217, 70, 239, 0.5);
    transform: scale(1.1);
}

/* Responsive para carrusel 3D - Rediseñado más estrecho para móviles */
@media (max-width: 768px) {
    .gallery-carousel {
        height: 380px;
        perspective: 900px;
        margin-top: 2rem;
        padding: 0 1rem;
        overflow: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    .carousel-3d-container {
        overflow: hidden;
        max-width: 100%;
    }
    
    .carousel-3d-wrapper {
        width: 260px;
        height: 260px;
        max-width: calc(100vw - 2rem);
    }
    
    .carousel-3d-slide {
        border-radius: 18px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
        cursor: pointer;
        will-change: transform;
        backface-visibility: hidden;
    }
    
    .carousel-3d-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 18px;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        transform: translateZ(0);
    }
    
    .carousel-3d-slide.active {
        transform: translateX(0) translateZ(0) scale(1) !important;
        opacity: 1 !important;
        z-index: 10 !important;
    }
    
    .carousel-3d-slide.next {
        transform: translateZ(-70px) translateX(70px) rotateY(-15deg) scale(0.82) !important;
        opacity: 0.7 !important;
        z-index: 5 !important;
    }
    
    .carousel-3d-slide.prev {
        transform: translateZ(-70px) translateX(-70px) rotateY(15deg) scale(0.82) !important;
        opacity: 0.7 !important;
        z-index: 5 !important;
    }
    
    .carousel-3d-slide.far-next,
    .carousel-3d-slide.far-prev {
        transform: translateZ(-120px) scale(0.68) !important;
        opacity: 0.4 !important;
        z-index: 1 !important;
    }
    
    .carousel-3d-btn {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
        background: rgba(217, 70, 239, 0.95);
        backdrop-filter: blur(8px);
        border: 2px solid rgba(255, 255, 255, 0.3);
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .carousel-3d-btn:active {
        transform: scale(0.95);
        background: rgba(217, 70, 239, 1);
    }
    
    .carousel-3d-prev {
        left: 30px;
    }
    
    .carousel-3d-next {
        right: 30px;
    }
    
    .carousel-3d-indicators {
        bottom: 20px;
        gap: 12px;
    }
    
    .carousel-3d-indicator {
        width: 12px;
        height: 12px;
        border: 2px solid rgba(255, 255, 255, 0.5);
        touch-action: manipulation;
    }
    
    .carousel-3d-indicator.active {
        background: var(--primary-color);
        border-color: var(--primary-color);
        transform: scale(1.2);
    }
}

/* Responsive específico para móviles pequeños - Rediseñado más estrecho */
@media (max-width: 480px) and (-webkit-min-device-pixel-ratio: 2) {
    .gallery-carousel {
        height: 340px;
        perspective: 700px;
        padding: 0 0.5rem;
        margin-top: 1.5rem;
        overflow: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    .carousel-3d-container {
        overflow: hidden;
        max-width: 100%;
    }
    
    .carousel-3d-wrapper {
        width: 220px;
        height: 220px;
        max-width: calc(100vw - 1rem);
    }
    
    .carousel-3d-slide {
        border-radius: 15px;
        transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    }
    
    .carousel-3d-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 15px;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .carousel-3d-slide.active {
        transform: translateX(0) translateZ(0) scale(1) !important;
        opacity: 1 !important;
        z-index: 10 !important;
    }
    
    .carousel-3d-slide.next {
        transform: translateZ(-50px) translateX(60px) rotateY(-14deg) scale(0.78) !important;
        opacity: 0.65 !important;
        z-index: 5 !important;
    }
    
    .carousel-3d-slide.prev {
        transform: translateZ(-50px) translateX(-60px) rotateY(14deg) scale(0.78) !important;
        opacity: 0.65 !important;
        z-index: 5 !important;
    }
    
    .carousel-3d-slide.far-next,
    .carousel-3d-slide.far-prev {
        transform: translateZ(-100px) scale(0.62) !important;
        opacity: 0.35 !important;
        z-index: 1 !important;
    }
    
    .carousel-3d-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        background: rgba(217, 70, 239, 0.98);
        backdrop-filter: blur(10px);
        border: 2px solid rgba(255, 255, 255, 0.4);
        box-shadow: 0 4px 15px rgba(217, 70, 239, 0.4);
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .carousel-3d-btn:hover {
        background: rgba(217, 70, 239, 1);
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(217, 70, 239, 0.6);
    }
    
    .carousel-3d-btn:active {
        transform: scale(0.95);
        background: rgba(180, 50, 200, 1);
    }
    
    .carousel-3d-prev {
        left: 20px;
    }
    
    .carousel-3d-next {
        right: 20px;
    }
    
    .carousel-3d-indicators {
        bottom: 15px;
        gap: 10px;
    }
    
    .carousel-3d-indicator {
        width: 11px;
        height: 11px;
        border: 2px solid rgba(255, 255, 255, 0.6);
        background: rgba(255, 255, 255, 0.2);
        touch-action: manipulation;
        transition: all 0.3s ease;
    }
    
    .carousel-3d-indicator.active {
        background: var(--primary-color);
        border-color: var(--primary-color);
        transform: scale(1.3);
        box-shadow: 0 2px 8px rgba(217, 70, 239, 0.5);
    }
    
    .carousel-3d-indicator:hover {
        background: rgba(217, 70, 239, 0.7);
        border-color: rgba(217, 70, 239, 0.7);
        transform: scale(1.1);
    }
}

/* Media queries adicionales para optimización móvil */
@media (max-width: 480px) {
    /* Optimizaciones generales para móviles */
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    .services {
        padding: 3rem 0;
    }
    
    .services-carousel {
        margin-top: 2rem;
    }
    
    .service-card {
        will-change: transform;
        transform: translateZ(0);
    }
    
    /* Mejoras para el carrusel de servicios en móviles */
    .carousel-wrapper .service-card {
        transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                   box-shadow 0.3s ease,
                   opacity 0.3s ease;
    }
    
    /* Optimización de la galería para móviles - Rediseñado más estrecho */
    .gallery {
        padding: 3rem 0;
    }
    
    .gallery-carousel {
        margin-top: 2rem;
        will-change: transform;
        padding: 0 1rem;
        height: 320px;
        perspective: 650px;
        overflow: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    .carousel-3d-container {
        overflow: hidden;
        max-width: 100%;
    }
    
    .carousel-3d-wrapper {
        width: 200px;
        height: 200px;
        max-width: calc(100vw - 2rem);
    }
    
    .carousel-3d-slide {
        will-change: transform;
        backface-visibility: hidden;
    }
    
    .carousel-3d-slide img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        transform: translateZ(0);
    }
    
    .carousel-3d-container {
        padding: 0 0.5rem;
    }
    
    .carousel-3d-wrapper {
        width: 260px;
        height: 260px;
    }
    
    .carousel-3d-slide {
        will-change: transform, opacity;
        transform: translateZ(0);
        border-radius: 12px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    }
    
    .carousel-3d-slide img {
        border-radius: 12px;
        object-fit: cover;
    }
    
    .carousel-3d-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        background: rgba(217, 70, 239, 0.95);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 3px 12px rgba(217, 70, 239, 0.3);
    }
    
    .carousel-3d-prev {
        left: 12px;
    }
    
    .carousel-3d-next {
        right: 12px;
    }
    
    .carousel-3d-indicators {
        bottom: 12px;
        gap: 8px;
    }
    
    .carousel-3d-indicator {
        width: 10px;
        height: 10px;
        border: 1px solid rgba(255, 255, 255, 0.5);
        background: rgba(255, 255, 255, 0.2);
    }
    
    .carousel-3d-indicator.active {
        background: var(--primary-color);
        border-color: var(--primary-color);
        transform: scale(1.2);
    }
}

/* Media query específico para dispositivos con alta densidad de píxeles */
@media (-webkit-min-device-pixel-ratio: 2) and (max-width: 480px) {
    .service-card img,
    .gallery-image,
    .carousel-3d-slide img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .carousel-btn,
    .carousel-3d-btn {
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
}

/* Media query para pantallas muy anchas en móviles (landscape) - Rediseñado más estrecho */
@media (max-height: 500px) and (orientation: landscape) {
    .gallery-carousel {
        height: 280px;
        margin-top: 1rem;
        padding: 0 3rem;
    }
    
    .carousel-3d-wrapper {
        width: 200px;
        height: 200px;
    }
    
    .carousel-3d-slide {
        border-radius: 10px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }
    
    .carousel-3d-slide img {
        border-radius: 10px;
    }
    
    .carousel-3d-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        background: rgba(217, 70, 239, 0.9);
    }
    
    .carousel-3d-prev {
        left: 25px;
    }
    
    .carousel-3d-next {
        right: 25px;
    }
    
    .carousel-3d-indicators {
        bottom: 10px;
        gap: 6px;
    }
    
    .carousel-3d-indicator {
        width: 8px;
        height: 8px;
    }
    
    .services-carousel {
        margin-top: 1rem;
    }
    
    .carousel-wrapper .service-card {
        min-height: 280px;
        padding: 1.5rem;
    }
    
    /* Mapa responsivo para móviles */
    .map-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .map-info {
        padding: 2rem;
        order: 2;
    }
    
    .interactive-map {
        order: 1;
    }
    
    .interactive-map iframe {
        height: 300px;
    }
    
    .map-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .map-actions .btn {
        justify-content: center;
        width: 100%;
    }
}
/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1);
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

.whatsapp-float i {
    color: white;
    font-size: 28px;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover i {
    transform: scale(1.1);
}

/* Animación de pulsación */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 20px rgba(37, 211, 102, 0);
    }
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    animation: whatsapp-pulse 2s infinite;
}

/* Responsividad para móviles */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float i {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float i {
        font-size: 22px;
    }
}

/* Estilos adicionales que pueden estar faltando */

/* Contact */
.contact {
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(217, 70, 239, 0.1);
    height: fit-content;
}

.contact-item {
    margin-bottom: 2.5rem;
}

.contact-item h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.contact-item p {
    color: var(--text-light);
    font-size: 1.1rem;
    font-family: 'Lato', sans-serif;
}

/* Form */
.contact-form {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(217, 70, 239, 0.1);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'Lato', sans-serif;
    background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(217, 70, 239, 0.1);
    background: var(--bg-white);
}

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

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #4b5563 100%);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.footer-subtitle {
    font-size: 1rem;
    font-style: italic;
    color: #d1d5db;
    margin-bottom: 1rem;
    font-family: 'Lato', sans-serif;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: white;
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-section p {
    color: #d1d5db;
    margin-bottom: 0.8rem;
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
}

.footer-section i {
    margin-right: 0.8rem;
    color: var(--primary-color);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(217, 70, 239, 0.3);
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
    font-family: 'Lato', sans-serif;
}

/* Responsive para contacto y footer */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .contact-form,
    .contact-info {
        padding: 2rem;
    }
}

/* Corrección específica para iconos del footer */
.footer .social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    justify-content: flex-start;
    align-items: center;
}

.footer .social-link {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(217, 70, 239, 0.4);
    font-size: 1.2rem;
    margin: 0 5px;
}

.footer .social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(217, 70, 239, 0.6);
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%) !important;
}

.footer .social-link i {
    font-size: 1.2rem !important;
    color: white !important;
    margin-right: 0 !important;
    width: auto !important;
}

/* Corrección para galería - mostrar imagen completa */
.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(217, 70, 239, 0.1);
    transition: var(--transition);
    background: var(--bg-white);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: contain !important;
    transition: var(--transition);
    background: var(--bg-light);
    padding: 10px;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.02);
}

/* Responsive para footer */
@media (max-width: 768px) {
    .footer .social-links {
        justify-content: center;
        gap: 1.2rem;
    }
}

@media (max-width: 480px) {
    .footer .social-link {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .footer .social-link i {
        font-size: 1.1rem !important;
    }
    
    .footer .social-links {
        gap: 1rem;
        justify-content: center;
    }
    
    .gallery-image {
        height: 200px;
    }
}

/* Como nace Atenea Section */
.como-nace-atenea {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 30px 0;
}

.como-nace-atenea .intro-text {
    font-size: 1.2rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-family: 'Lato', sans-serif;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.founders-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.founder-card {
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.founder-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(217, 70, 239, 0.2);
}

.founder-image {
    margin-bottom: 2rem;
}

.founder-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 8px 20px rgba(217, 70, 239, 0.3);
}

.founder-content p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
    font-family: 'Lato', sans-serif;
    text-align: justify;
    margin: 0;
}

@media (max-width: 768px) {
    .founders-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .founder-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .founder-photo {
        width: 160px;
        height: 160px;
    }
    
    .como-nace-atenea .intro-text {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .como-nace-atenea {
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    .founders-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .founder-card {
        padding: 1.2rem;
        margin-bottom: 0.8rem;
        border-radius: 15px;
    }
    
    .founder-photo {
        width: 130px;
        height: 130px;
        border-width: 3px;
    }
    
    .founder-image {
        margin-bottom: 1.5rem;
    }
    
    .founder-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        text-align: left;
    }
    
    .como-nace-atenea .intro-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
        line-height: 1.6;
    }
    
    .como-nace-atenea {
        padding: 1.5rem 0;
    }
    
    .como-nace-atenea .section-header {
        margin-bottom: 1.5rem;
    }
    
    .como-nace-atenea .section-title {
        font-size: 1.8rem;
    }
}