/* --- Variables de Color y Fuentes --- */
:root {
    --bg-color: #f9f8f4;
    --dark-green: #2a443a;
    --darker-green: #1d332a;
    --accent-orange: #df9e59;
    --text-dark: #333333;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

/* --- Reseteo Básico --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: var(--bg-color); color: var(--text-dark); font-family: var(--font-body); line-height: 1.6; overflow-x: hidden; }

/* --- Tipografía General --- */
h1, h2, h3 { font-family: var(--font-heading); color: var(--dark-green); }
.subtitle { font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; color: #666; display: block; margin-bottom: 15px; }

/* --- Botones --- */
.btn { display: inline-block; padding: 12px 24px; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 0.95rem; cursor: pointer; text-align: center; transition: all 0.3s ease; }
.btn-dark { background-color: var(--dark-green); color: white; border: none; }
.btn-dark:hover { background-color: var(--darker-green); }
.btn-orange { background-color: var(--accent-orange); color: #000; }
.btn-orange:hover { background-color: #c98c4d; }
.btn-outline { border: 1px solid white; color: white; }
.btn-outline:hover { background-color: rgba(255,255,255,0.1); }
.full-width { display: block; width: 100%; margin-bottom: 15px; }

/* --- Header --- */
.header { display: flex; justify-content: space-between; align-items: center; padding: 20px 5%; background-color: var(--bg-color); }
.logo { display: flex; align-items: center; gap: 15px; }
.logo-icon { background-color: var(--dark-green); color: white; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.logo-text strong { display: block; font-family: var(--font-heading); font-size: 1.2rem; color: var(--dark-green); }
.logo-text span { font-size: 0.7rem; letter-spacing: 1px; color: #888; }
.navbar a { margin: 0 15px; text-decoration: none; color: var(--text-dark); font-size: 0.95rem; }

/* --- Hero Section --- */
.hero { position: relative; padding: 100px 5%; background: url('https://images.unsplash.com/photo-1577801650383-294b4ce6ed17?auto=format&fit=crop&w=1920&q=80') center/cover; min-height: 80vh; display: flex; align-items: center; }
.hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to right, rgba(42, 68, 58, 0.95) 30%, rgba(42, 68, 58, 0.6) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 600px; color: white; }
.hero-content h1 { color: white; font-size: 4rem; line-height: 1.1; margin: 20px 0; }
.badge { display: inline-block; border: 1px solid rgba(255,255,255,0.4); padding: 8px 16px; border-radius: 50px; font-size: 0.8rem; letter-spacing: 1px; }
.hero-content p { font-size: 1.1rem; margin-bottom: 30px; color: #e0e0e0; }
.hero-buttons { display: flex; gap: 15px; }

/* --- Info Bar --- */
.info-bar { display: flex; background-color: rgba(42, 68, 58, 0.95); color: white; padding: 30px 5%; gap: 50px; margin-top: -10px; }
.info-item span { display: block; font-size: 0.85rem; color: #a0a0a0; margin-bottom: 5px; }
.info-item strong { font-size: 1.4rem; font-family: var(--font-heading); }

/* --- Features Bar --- */
.features-bar { background-color: var(--dark-green); color: white; padding: 15px 5%; display: flex; justify-content: space-between; font-size: 0.8rem; letter-spacing: 1px; border-top: 1px solid rgba(255,255,255,0.1); }

/* --- Services --- */
.services-intro { padding: 80px 5% 40px; }
.services-intro h2 { font-size: 3rem; line-height: 1.2; }
.services-list { padding: 0 5% 80px; }
.service-row { display: flex; align-items: center; padding: 50px 0; border-top: 1px solid #e0e0e0; gap: 40px; }
.service-number { font-family: var(--font-heading); font-size: 2.5rem; color: var(--accent-orange); width: 80px; }
.service-text { flex: 1; }
.service-text h3 { font-size: 1.8rem; margin-bottom: 15px; }
.service-image { flex: 1; text-align: right; }
.service-image img { width: 100%; max-width: 450px; border-radius: 12px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); object-fit: cover; aspect-ratio: 16/9; }

/* --- Schedule & Location --- */
.schedule-location { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 80px 5%; background-color: white; }
.schedule h2 { font-size: 2.5rem; margin-bottom: 30px; }
.schedule-row { display: flex; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid #eee; font-size: 1.1rem; }
.notice-box { background-color: var(--bg-color); padding: 20px; border-radius: 8px; margin-top: 30px; font-size: 0.95rem; }
.location-card { background-color: white; border: 1px solid #eee; padding: 40px; border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.location-card h2 { font-size: 2rem; margin-bottom: 10px; }
.location-card p { color: #666; margin-bottom: 30px; }
.map-container { margin-top: 20px; border-radius: 12px; overflow: hidden; border: 1px solid #ddd; }

/* --- Why Eco --- */
.why-eco { background-color: var(--dark-green); color: white; padding: 80px 5%; display: flex; gap: 60px; }
.why-title { flex: 1; }
.why-title h2 { color: white; font-size: 3rem; }
.why-title .highlight { color: var(--accent-orange); }
.why-reasons { flex: 1; display: flex; flex-direction: column; gap: 30px; }
.reason strong { display: block; color: white; margin-bottom: 5px; font-size: 1.1rem; }
.reason { color: #d0d0d0; }


/* ========================================= */
/* --- AJUSTES PARA CELULARES (RESPONSIVE) --- */
/* ========================================= */
@media (max-width: 900px) {
    /* Header: apila el logo, menú y botón */
    .header { flex-direction: column; gap: 20px; padding: 20px; }
    .navbar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
    .navbar a { margin: 0 5px; }
    
    /* Hero: texto más pequeño y botones apilados */
    .hero { padding: 80px 5%; }
    .hero-overlay { background: rgba(42, 68, 58, 0.85); }
    .hero-content h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; }
    
    /* Barras de información: apiladas en columna */
    .info-bar { flex-direction: column; gap: 20px; text-align: center; }
    .features-bar { flex-direction: column; gap: 15px; text-align: center; }
    
    /* Servicios: la imagen pasa abajo del texto */
    .services-intro h2 { font-size: 2rem; }
    .service-row { flex-direction: column; align-items: flex-start; gap: 20px; padding: 30px 0; }
    .service-image { text-align: center; width: 100%; }
    .service-image img { max-width: 100%; }
    
    /* Horarios y Ubicación: una sola columna */
    .schedule-location { grid-template-columns: 1fr; gap: 40px; padding: 50px 5%; }
    .location-card { padding: 20px; }
    
    /* Por qué Eco: una columna */
    .why-eco { flex-direction: column; gap: 30px; padding: 50px 5%; }
    .why-title h2 { font-size: 2.2rem; }
}