/* =========================================
   VARIABLES DE COLOR Y FUENTES
   ========================================= */
:root {
    --bg-color: #E6DACE; /* Color arena del fondo del logo */
    --text-color: #111111; /* Negro profundo */
    --accent-color: #4A5E4B; /* Verde oliva para detalles */
    --bg-light: #F2EBE3; /* Variante clara para fondos de sección */
    
    /* Ambos tipos de fuente ahora utilizan Inter */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
}

/* =========================================
   RESET BÁSICO
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 600;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

/* =========================================
   BOTONES
   ========================================= */
.btn-primary {
    display: inline-block;
    background-color: var(--text-color);
    color: var(--bg-color);
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--text-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--text-color);
}

.btn-outline {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-weight: 600;
    border: 1px solid var(--text-color);
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

/* =========================================
   NAVEGACIÓN (HEADER)
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(230, 218, 206, 0.95);
    backdrop-filter: blur(5px);
    z-index: 100;
    border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.8rem 2rem;
}

/* ESTILO REDONDO DEL LOGO */
.logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    opacity: 0.7;
}

/* Menú Hamburguesa Móvil */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* =========================================
   SECCIÓN HÉROE
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 2rem;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.8;
}

/* =========================================
   ESENCIA Y TESTIMONIOS
   ========================================= */
.manifesto, .testimonials {
    background-color: var(--bg-light);
}

.manifesto h2, .testimonials h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.manifesto p {
    font-size: 1.15rem;
    max-width: 750px;
    margin: 0 auto;
}

.testimonial-list {
    list-style: none;
    max-width: 800px;
    margin: 2.5rem auto 0;
    text-align: left;
}

.testimonial-list li {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    border-left: 3px solid var(--accent-color);
    opacity: 0.9;
}

/* =========================================
   COLECCIÓN VISUAL
   ========================================= */
.catalog h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.catalog .subtitle {
    margin-bottom: 3.5rem;
    opacity: 0.8;
}

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

.card {
    text-align: left;
}

.card img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.2rem;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.95rem;
    opacity: 0.85;
}

/* =========================================
   FOOTER Y CONTACTO
   ========================================= */
.footer h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.footer p {
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-social {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    background-color: var(--bg-light);
    transition: var(--transition);
}

.btn-social:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.copyright {
    font-size: 0.85rem;
    opacity: 0.5;
}

/* =========================================
   BOTÓN FLOTANTE WHATSAPP
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    transition: transform 0.3s ease;
}

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

/* =========================================
   ANIMACIONES (INTERSECTION OBSERVER)
   ========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   RESPONSIVE DESIGN (MÓVIL)
   ========================================= */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(17, 17, 17, 0.1);
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 99;
    }

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

    .hero h1 {
        font-size: 2.2rem;
    }
}