@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;600&family=Inter:wght@200;400;600&display=swap');
:root { --midnight: #101E33; --gold: #C5A059; --stucco: #f8f8f6; --olive: #e2e8dd; }

body { margin: 0; font-family: 'Inter', sans-serif; color: #1c1c1c; overflow-x: hidden; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.header-fixed { position: fixed; top: 0; width: 100%; background: #fff; z-index: 5000; border-bottom: 1px solid #eee; }
.header-content { display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; }
.logo-reduced { width: 80px; }

.nav-menu { display: flex; gap: 20px; }
.nav-menu a { text-decoration: none; color: var(--midnight); font-weight: 600; font-size: 0.85rem; }

.dropdown { position: relative; }
.dropdown-content { display: none; position: absolute; background: #fff; min-width: 180px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); right: 0; }
.dropdown-content.show { display: block; }
.dropdown-content a { padding: 12px; display: block; border-bottom: 1px solid #f5f5f5; font-size: 0.8rem; }

/* SERVICIOS EN HORIZONTAL DE DOS */
.services-two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 20px 0; }
.service-item-h { display: flex; align-items: center; gap: 15px; background: var(--stucco); padding: 10px; border-radius: 50px; }
.circle-img { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; border: 2px solid var(--gold); flex-shrink: 0; }
.circle-img img { width: 100%; height: 100%; object-fit: cover; }
.service-item-h p { font-size: 0.85rem; font-weight: 600; margin: 0; }

.hero { display: flex; align-items: center; gap: 40px; padding: 60px 0; }
.img-layered-small { position: relative; z-index: 2; width: 120px; border-radius: 4px; }
.olive-shape-layered { position: absolute; width: 135px; height: 135px; background: var(--olive); z-index: 1; top: -7px; border-radius: 50% 50% 30% 70%; }

/* EYDA POSICIÓN Y VENTANA */
.eyda-container { position: fixed; bottom: 30px; right: 40px; z-index: 9999; display: flex; flex-direction: column; align-items: flex-end; }
.eyda-circle-header { width: 80px; height: 80px; border-radius: 50%; border: 2px solid var(--gold); overflow: hidden; background: #fff; cursor: pointer; transition: 0.3s; }
.eyda-circle-header:hover { transform: scale(1.1); }
.eyda-circle-header img { width: 100%; height: 100%; object-fit: cover; }

.eyda-window {
    width: 350px;
    height: 500px;
    max-width: 85vw;
    max-height: 70vh;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    display: none; /* Esto hace que esté oculto al inicio */
    flex-direction: column;
    margin-bottom: 15px;
    overflow: hidden;
}
.eyda-header { background: var(--midnight); color: #fff; padding: 15px; font-weight: 600; }
.eyda-messages { flex: 1; padding: 15px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; font-size: 0.85rem; background: #fdfdfd; }
.msg-eyda { background: #f1f1f1; padding: 12px; border-radius: 12px 12px 12px 0; align-self: flex-start; max-width: 85%; color: #333; }
.msg-user { background: var(--gold); color: white; padding: 12px; border-radius: 12px 12px 0 12px; align-self: flex-end; max-width: 85%; }
.eyda-input-area { display: flex; border-top: 1px solid #eee; padding: 5px; }
.eyda-input-area input { flex: 1; border: none; padding: 12px; outline: none; }
.eyda-input-area button { background: var(--gold); border: none; color: #fff; padding: 0 20px; cursor: pointer; border-radius: 5px; }

/* BLOG STYLES */
.comment-card { background: #fff; padding: 20px; margin-bottom: 15px; border-radius: 8px; border: 1px solid #eee; }
.comment-card b { color: var(--midnight); font-size: 0.9rem; }
.comment-card p { margin: 10px 0; font-size: 0.85rem; }
.comment-card img { max-width: 100%; height: auto; border-radius: 5px; margin-top: 10px; display: block; border: 1px solid #ddd; }

/* RESPONSIVO */
@media (max-width: 768px) {
    .services-two-columns, .grid-areas, .grid-staff { grid-template-columns: 1fr; }
    .hero { flex-direction: column; text-align: center; }
    .nav-menu { gap: 10px; }
    .nav-menu a { font-size: 0.7rem; }
}
/* NUEVO: CONTENEDOR EN COLUMNAS PARALELAS */
.parallel-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Dos columnas: Áreas y Personal */
    gap: 40px;
    align-items: start;
    margin-top: 20px;
}

.form-column {
    background: #fdfdfd;
    padding: 20px;
    border-radius: 8px;
}

/* Ajuste de Áreas para que quepan en su columna */
.grid-areas-parallel {
    display: grid;
    grid-template-columns: 1fr; /* Una sola fila por área dentro de su columna */
    gap: 8px;
    margin-bottom: 20px;
}

.area-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.85rem;
}

/* Ajuste de Personal para su columna */
.staff-parallel-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* RESPONSIVO: Volver a una sola columna en móviles */
@media (max-width: 900px) {
    .parallel-container {
        grid-template-columns: 1fr;
    }
}
/* ESTILO DE LA FRASE PREMIUM EN EL HEADER */
.header-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--midnight);
    margin: 0 20px;
    flex: 1;
    text-align: center;
    opacity: 0.9;
}

/* AJUSTE FONDO OLIVO DETRÁS DE LA IMAGEN */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-layered-small {
    position: relative;
    z-index: 2 !important;
    width: 120px;
    border-radius: 4px;
}

.olive-shape-layered {
    position: absolute;
    z-index: 1 !important; /* Ahora queda por detrás */
    width: 135px; /* Apenas 10% más que la imagen */
    height: 135px;
    background: var(--olive);
    border-radius: 30% 70% 50% 50% / 50% 30% 70% 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.6;
}

/* REDUCCIÓN LOGO HABITANTO */
.h-logo-hero-mini {
    width: 50px; /* Reducido al 50% */
    height: auto;
    display: block;
    margin: 0 auto;
}

.h-text-mini {
    font-size: 0.7rem;
    text-align: center;
    margin: 5px 0 0 0;
    color: #666;
}