/* --- Variables de Diseño "Boutique" --- */
:root {
    /* Paleta de colores más sofisticada */
    --color-primary: #2C5F58;    /* Verde Salvia Profundo / Petróleo */
    --color-secondary: #D4C4A8;  /* Beige Dorado / Arena */
    --color-text: #2c2c2c;
    --color-light-bg: #F7F5F0;   /* Crema muy suave (Hueso) */
    --white: #ffffff;
    
    /* Tipografías */
    --font-heading: 'Playfair Display', serif; /* Elegante */
    --font-body: 'Lato', sans-serif;          /* Limpia */
}

/* --- Reset & Base --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-light-bg);
    line-height: 1.7;
}

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-primary); }

a { text-decoration: none; transition: all 0.3s ease; }
img { width: 100%; display: block; object-fit: cover; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- Top Bar --- */
.top-bar {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    padding: 10px 0;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}
.flex-between { display: flex; justify-content: space-between; flex-wrap: wrap; }

/* --- Header --- */
.main-header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }

.logo h1 { font-size: 2rem; color: var(--color-text); }
.logo .dot { color: var(--color-primary); font-size: 2.5rem; line-height: 0; }

.nav-menu a {
    margin-left: 30px;
    color: var(--color-text);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.nav-menu a:hover { color: var(--color-primary); }

.btn-outlined {
    border: 1px solid var(--color-text);
    padding: 10px 25px;
    border-radius: 0; /* Bordes rectos para seriedad */
}
.btn-outlined:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white !important;
}

/* --- Hero Section (Originalidad: Tarjeta flotante) --- */
.hero-modern {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Imagen de fondo separada para efectos */
.hero-bg-image {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* REEMPLAZAR: Imagen de alta calidad (abuelos sonriendo, luz natural) */
    background: url('../images/hero-bg.jpg') center/cover;
    z-index: -1;
    filter: brightness(0.9); /* Oscurecer un poco */
}

.hero-card {
    background: rgba(255, 255, 255, 0.95); /* Casi sólido */
    padding: 60px;
    max-width: 600px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-left: 5px solid var(--color-primary); /* Detalle de color */
}

.hero-card h2 { font-size: 3rem; margin-bottom: 20px; line-height: 1.1; }
.hero-card p { font-size: 1.1rem; margin-bottom: 30px; color: #555; }

.btn-solid {
    background-color: var(--color-primary);
    color: var(--white);
    padding: 12px 30px;
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.btn-solid:hover { background-color: #1e423d; }
.link-text { margin-left: 20px; font-weight: 700; color: var(--color-text); border-bottom: 1px solid currentColor; }

/* --- Sección Superpuesta (Filosofía) --- */
.overlap-section { padding: 100px 0; overflow: hidden; }

.overlap-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.image-wrapper { position: relative; }
.image-wrapper img { z-index: 2; position: relative; }
.image-deco-box {
    position: absolute;
    top: -20px; left: -20px;
    width: 100%; height: 100%;
    border: 2px solid var(--color-secondary); /* Cuadro dorado decorativo */
    z-index: 1;
}

.sub-title {
    display: block;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 10px;
    font-weight: 700;
}

.feature-list { list-style: none; margin-top: 20px; }
.feature-list li { margin-bottom: 10px; font-size: 1.05rem; }
.feature-list i { color: var(--color-secondary); margin-right: 10px; }

/* --- Servicios Elegantes --- */
.services-modern { background-color: var(--white); padding: 100px 0; }
.center { text-align: center; margin-bottom: 60px; }
.center h3 { font-size: 2.5rem; }

.cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.elegant-card {
    flex: 1;
    min-width: 280px;
    padding: 40px 30px;
    background: var(--color-light-bg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-bottom: 2px solid transparent;
}

.elegant-card:hover {
    transform: translateY(-10px);
    background: #fff;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-bottom: 2px solid var(--color-secondary);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

/* --- Galería Mosaico --- */
.gallery-modern { padding: 0; }
.gallery-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 250px 250px;
    gap: 10px;
}

.g-item img { height: 100%; }
.g-item.big {
    grid-row: 1 / span 2; /* Ocupa todo el alto a la izquierda */
}

/* --- Contacto Split --- */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.contact-data-box {
    padding: 80px;
    background: var(--color-primary);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-data-box h3, .contact-data-box p, .contact-data-box strong { color: var(--white); }
.contact-data-box h3 { font-size: 2.5rem; margin-bottom: 20px; }

.data-row { margin-bottom: 20px; border-left: 1px solid var(--color-secondary); padding-left: 15px; }

.simple-form input {
    display: block;
    width: 100%;
    padding: 15px;
    margin-bottom: 10px;
    border: none;
    color: #000000;
}
.simple-form input::placeholder { color: var(--color-primary); }
.simple-form textarea {
    display: block;
    width: 100%;
    padding: 15px;
    height: 120px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: #fff;
    resize: vertical;
}
.simple-form textarea::placeholder { color: #eee; }
.simple-form button {
    background: var(--color-secondary);
    color: var(--color-primary);
    border: none;
    padding: 15px 30px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
}
.simple-form button:hover {
    background: #cbb890;
}
/* --- Footer --- */
footer { background: #222; color: #888; text-align: center; padding: 20px; font-size: 0.8rem; }

/* Notificaciones del formulario */
.notification {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    text-align: center;
    font-weight: bold;
}

.notification.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.notification.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Efecto para botón deshabilitado */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* --- Media Queries --- */
/* --- Responsive --- */
@media (max-width: 768px) {
    .overlap-grid, .contact-split { grid-template-columns: 1fr; }
    .hero-card { padding: 30px; margin: 20px; }
    .hero-card h2 { font-size: 2rem; }
    .gallery-layout { display: flex; flex-direction: column; }
    .nav-menu { display: none; /* Simplificación para ejemplo */ }
    .contact-data-box { padding: 40px 20px; }
}