
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #2d2d2d;
    background-color: #fdfcfb;
    line-height: 1.6;
}

/* Optimización de calidad de imágenes */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    max-width: 100%;
    height: auto;
}

/* Tipografía editorial */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #1a1a1a;
}

html {
    scroll-behavior: smooth;
}

/* Animaciones - Los elementos son visibles por defecto */
.fade-in,
.fade-in-left,
.fade-in-right {
    opacity: 1;
    transform: none;
}

/* Solo ocultar cuando GSAP está listo */
html.gsap-ready .fade-in {
    opacity: 0;
    transform: translateY(30px);
}

html.gsap-ready .fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
}

html.gsap-ready .fade-in-right {
    opacity: 0;
    transform: translateX(30px);
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 100;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.3);
    transform: scale(1.1);
}

/* Header personalizado */
#main-header {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

#main-header .logo img {
    max-height: 50px;
    width: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navegación */
#main-header nav a {
    font-size: 0.95rem;
    position: relative;
}

#main-header nav a:not([class*="inline-flex"])::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #bb8960;
    transition: width 0.3s ease;
}

#main-header nav a:not([class*="inline-flex"]):hover::after {
    width: 100%;
}

/* Container */
.container-custom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 5rem 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }
}
