/* Variables de Marca */
:root {
    --bg-white: #ffffff;
    --text-black: #111111;
    --text-gray: #4a4a4a;
    --color-lavanda: #E6E0ED; /* Lila suave */
    --color-romero: #778B5D;  /* Verde profundo */
    --color-albahaca: #9AC85D; /* Verde cálido */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

/* Reseteo Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-white);
    color: var(--text-black);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Utilidades */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.text-center { text-align: center; }
.section-padding { padding: 80px 0; }
.bg-light { background-color: #FAFAFA; }
.mb-medium { margin-bottom: 40px; }
.mt-medium { margin-top: 40px; }

/* Tipografía */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 400;
}
h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; }
h2 { font-size: 2.5rem; margin-bottom: 20px; }
h3 { font-size: 1.8rem; margin-bottom: 10px; }
p { color: var(--text-gray); font-size: 1rem; margin-bottom: 15px; font-weight: 300; }

/* Navegación */
/* Contenedor del Logo */
.navbar {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
    background-color: var(--bg-white);
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Control de tamaño del Logo */
.brand-logo {
    height: 100px; /* Ajusta esta altura según las proporciones de tu logotipo */
    width: auto;  /* Mantiene la proporción perfecta sin deformar */
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.02); /* Un sutil efecto visual al pasar el cursor */
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 768px) {
    .brand-logo {
        height: 45px; /* Un poco más pequeño en celulares para cuidar el espacio */
    }
}

/* Hero Section */
.hero {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(245,245,245,0.4) 100%);
    padding: 20px;
}
.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid Lines */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}
.card {
    background: var(--bg-white);
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}
.card:hover {
    transform: translateY(-5px);
}
.card-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: brightness(0.95);
}
.card-content {
    padding: 30px;
}
.tag {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Colores por línea */
.line-lavanda .tag { color: #8A7B9D; }
.line-lavanda { border-bottom: 6px solid var(--color-lavanda); }

.line-romero .tag { color: #778B5D var(--color-romero); }
.line-romero { border-bottom: 6px solid var(--color-romero); }

.line-albahaca .tag { color: #9AC85D; }
.line-albahaca { border-bottom: 6px solid var(--color-albahaca); }

/* Fundadores */
.split-layout {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.founder-profiles {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}
.profile {
    flex: 1;
    min-width: 250px;
    padding-left: 20px;
    border-left: 2px solid #ddd;
}
.profile strong {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    display: block;
    margin-bottom: 10px;
    color: var(--text-black);
}

/* Footer / Contacto */
.footer {
    padding: 80px 20px 40px;
    background-color: var(--bg-white);
    border-top: 1px solid #eee;
}
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.social-links a {
    color: var(--text-black);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.3s;
}
.social-links a:hover {
    border-bottom: 1px solid var(--text-black);
}
.btn-whatsapp {
    font-weight: 500;
}
.copyright {
    font-size: 0.8rem;
    color: #999;
}
.small-text {
    font-size: 0.8rem;
    margin-top: 5px;
    letter-spacing: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero { height: auto; padding: 100px 20px; }
    .founder-profiles { text-align: center; }
    .profile { border-left: none; border-top: 1px solid #ddd; padding-top: 20px; padding-left: 0; }
}

/* Diseño de Esencia de Marca con Imagen Izquierda */
.container-essence {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 900px; /* Un ancho más contenido para mantener la elegancia */
    text-align: left;
}

.essence-img-box {
    flex: 0 0 200px; /* Controla el ancho fijo de la imagen pequeña (200px) */
}

.essence-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px; /* Un sutil suavizado en las esquinas */
    filter: brightness(0.98);
}

.essence-text {
    flex: 1;
}

/* Ajuste para que en celulares se vea uno abajo del otro y centrado */
@media (max-width: 768px) {
    .container-essence {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .essence-img-box {
        flex: 0 0 auto;
        width: 150px; /* Un poco más pequeña en pantallas móviles */
    }
    .essence-thumb {
        height: 150px;
    }
}