/* ============================================
   Variables y Configuración Base
   ============================================ */
:root {
    --primary-color: #e67fb9;
    --primary-dark: #d45fa3;
    --primary-light: #f5a8d0;
    --secondary-color: #6c757d;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --transition: all 0.3s ease;
}

/* ============================================
   Estilos Generales
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Accesibilidad: Mejorar contraste y focus */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* ============================================
   Navegación
   ============================================ */
.navbar {
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: var(--shadow-lg);
}

.navbar-brand .brand-text {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: var(--transition);
}

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

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

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

/* Dropdown Menu Styles */
.dropdown-menu {
    border-radius: 12px;
    padding: 0.5rem;
    border: none;
    box-shadow: var(--shadow-lg);
}

.dropdown-item {
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--primary-light);
    color: var(--white) !important;
}

.dropdown-item:active {
    background-color: var(--primary-color);
}

/* Hover effect for desktop */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: url('../assets/images/Foto 1 (principal).webp') center/cover no-repeat;
    background-attachment: fixed;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/images/Foto 1 (principal).webp') center/cover no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(230, 127, 185, 0.85) 0%, 
        rgba(212, 95, 163, 0.80) 50%,
        rgba(180, 70, 140, 0.85) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

.hero-title {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.2;
}

.hero-subtitle {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
}

.hero-description {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
}

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

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

.scroll-indicator a {
    color: var(--white);
    font-size: 2rem;
    text-decoration: none;
    display: block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.scroll-indicator a:hover {
    color: var(--primary-light);
    transform: translateY(-5px);
}

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

/* ============================================
   Botones
   ============================================ */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: var(--transition);
    border-radius: 50px;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 127, 185, 0.4);
}

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

.btn-success {
    background-color: #25d366;
    border-color: #25d366;
}

.btn-success:hover {
    background-color: #20ba5a;
    border-color: #20ba5a;
    transform: translateY(-2px);
}

/* ============================================
   Secciones
   ============================================ */
section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    color: var(--text-dark);
    margin-bottom: 3rem;
}

/* ============================================
   Conocenos Section - Mejoras UX
   ============================================ */
.conocenos-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-light);
    margin-bottom: 2rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    margin: 0 auto;
    border-radius: 2px;
}

.conocenos-block {
    margin-bottom: 6rem;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

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

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

.content-wrapper {
    padding: 2rem 0;
}

.section-label {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-heading {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

/* Estadísticas Cards */
.stat-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(230, 127, 185, 0.2);
    border-color: var(--primary-light);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Feature Cards Mejoradas */
.feature-card {
    padding: 2.5rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100%;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(230, 127, 185, 0.15);
    border-color: var(--primary-light);
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(230, 127, 185, 0.1) 0%, rgba(212, 95, 163, 0.1) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    transform: scale(1.1);
}

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

.feature-card:hover .feature-icon-wrapper i {
    color: var(--white);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-text {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Quote Box */
.quote-box {
    background: linear-gradient(135deg, rgba(230, 127, 185, 0.1) 0%, rgba(212, 95, 163, 0.1) 100%);
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

.quote-text {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-dark);
    margin: 0;
    font-weight: 500;
    line-height: 1.6;
}

/* Mission & Vision Cards */
.mission-vision-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100%;
    overflow: hidden;
    border: 2px solid transparent;
}

.mission-vision-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(230, 127, 185, 0.2);
}

.mission-card:hover {
    border-color: var(--primary-color);
}

.vision-card:hover {
    border-color: var(--primary-dark);
}

.card-header-custom {
    padding: 2.5rem 2.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(230, 127, 185, 0.05) 0%, rgba(212, 95, 163, 0.05) 100%);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.icon-box-large {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.card-title-custom {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.card-body-custom {
    padding: 2rem 2.5rem 2.5rem;
}

.card-body-custom p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Philosophy Card */
.philosophy-card {
    background: linear-gradient(135deg, rgba(230, 127, 185, 0.08) 0%, rgba(212, 95, 163, 0.08) 100%);
    border: 2px solid var(--primary-light);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(230, 127, 185, 0.1);
}

.philosophy-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

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

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

.philosophy-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text-dark);
    margin: 1rem 0 1.5rem;
    line-height: 1.3;
}

.philosophy-lead {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.plan-identidad-box {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-color);
}

.plan-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.plan-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.plan-text {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   Feature Boxes
   ============================================ */
.feature-box {
    text-align: center;
    padding: 1.5rem;
    border-radius: 10px;
    transition: var(--transition);
    height: 100%;
}

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

.feature-box i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-box h5 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ============================================
   Service Cards
   ============================================ */
.service-card {
    transition: var(--transition);
    border-radius: 15px;
    overflow: hidden;
}

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

.service-card img {
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h4 {
    color: var(--text-dark);
    font-weight: 700;
}

/* Estilos para tarjeta de servicio con enlace */
a .service-card {
    cursor: pointer;
}

a .service-card:hover h4 {
    color: var(--primary-color);
}

a:hover .service-card {
    text-decoration: none;
}

/* ============================================
   Philosophy Box
   ============================================ */
.philosophy-box {
    background: linear-gradient(135deg, rgba(230, 127, 185, 0.1) 0%, rgba(212, 95, 163, 0.1) 100%);
    border: 2px solid var(--primary-light);
}

/* ============================================
   Icon Box
   ============================================ */
.icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

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

/* ============================================
   Testimonial Cards
   ============================================ */
.testimonial-card {
    transition: var(--transition);
    border-radius: 15px;
    background: var(--white);
}

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

.quote-icon {
    font-size: 3rem;
    opacity: 0.3;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.testimonial-image-box {
    text-align: center;
}

.testimonial-image-box img {
    max-height: 400px;
    object-fit: cover;
    border-radius: 15px;
}

/* ============================================
   Formulario de Contacto
   ============================================ */
.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(230, 127, 185, 0.25);
}

.form-label {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* ============================================
   Footer
   ============================================ */
footer {
    background-color: var(--text-dark) !important;
}

footer a {
    transition: var(--transition);
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* ============================================
   Animaciones Personalizadas
   ============================================ */
.fade-in {
    animation: fadeIn 1s ease-in;
}

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

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

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

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

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

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
        min-height: 100vh;
        height: auto;
    }

    .hero-section .container {
        padding-top: 100px;
        padding-bottom: 60px;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    section {
        padding: 3rem 0;
    }

    .conocenos-section {
        padding: 4rem 0;
    }

    .conocenos-block {
        margin-bottom: 4rem;
    }

    .content-wrapper {
        padding: 1.5rem 0;
        text-align: center;
    }

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

    .stat-card {
        padding: 2rem 1rem;
        margin-bottom: 1.5rem;
    }

    .stat-icon {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }

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

    .feature-card {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }

    .card-header-custom {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem 1.5rem;
    }

    .card-body-custom {
        padding: 1.5rem;
        text-align: center;
    }

    .philosophy-card {
        padding: 2rem 1.5rem;
    }

    .plan-identidad-box {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .quote-box {
        text-align: center;
        padding: 1.5rem;
    }

    .btn-lg {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }

    .service-card img {
        height: 200px;
    }

    .philosophy-box {
        text-align: center;
    }

    .philosophy-box .row {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 100vh;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

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

    .hero-description {
        font-size: 0.95rem;
    }

    .conocenos-section {
        padding: 3rem 0;
    }

    .section-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

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

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

    .stat-card {
        padding: 1.5rem 1rem;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

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

    .stat-label {
        font-size: 0.85rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .feature-icon-wrapper i {
        font-size: 1.5rem;
    }

    .card-header-custom {
        padding: 1.5rem 1rem;
    }

    .icon-box-large {
        width: 60px;
        height: 60px;
    }

    .icon-box-large i {
        font-size: 1.5rem;
    }

    .card-title-custom {
        font-size: 1.5rem;
    }

    .philosophy-card {
        padding: 1.5rem 1rem;
    }

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

    .philosophy-lead {
        font-size: 1rem;
    }

    .lead {
        font-size: 1rem;
    }

    .btn-lg {
        width: 100%;
        margin-bottom: 0.5rem;
        padding: 0.75rem 1.5rem !important;
    }
}

/* ============================================
   Accesibilidad - Mejoras
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Skip to main content link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* ============================================
   Utilidades
   ============================================ */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.shadow-custom {
    box-shadow: var(--shadow-lg);
}

.rounded-custom {
    border-radius: 15px;
}

/* ============================================
   Optimización de Imágenes
   ============================================ */
img {
    max-width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Optimización de carga de imágenes */
picture {
    display: block;
    width: 100%;
    position: relative;
}

picture img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: opacity 0.4s ease;
    will-change: opacity;
}

/* Imágenes con lazy loading - fade in suave */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.4s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Optimización para imágenes de servicio */
.service-card picture {
    overflow: hidden;
}

.service-card picture img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.4s ease;
}

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

/* Optimización para imágenes grandes */
.image-wrapper picture,
.philosophy-image-wrapper picture {
    display: block;
    width: 100%;
}

.image-wrapper picture img,
.philosophy-image-wrapper picture img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Mejora de rendimiento */
img {
    content-visibility: auto;
    contain-intrinsic-size: auto 400px;
}

