/* IMPORTAR FUENTE PROFESIONAL */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

/* RESET Y BASES */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth; /* Navegación suave */
}

body { 
    font-family: 'Montserrat', sans-serif; 
    background: #fdfdfd; 
    color: #333; 
    overflow-x: hidden; 
    line-height: 1.7; 
}

/* HEADER PREMIUM */
header {
    background: #1f4d3a;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.logo { height: 55px; transition: 0.3s; }
.menu-toggle { display: none; font-size: 30px; cursor: pointer; }
nav a { color: white; margin-left: 25px; text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: 0.3s; text-transform: uppercase; letter-spacing: 1px; }
nav a:hover { color: #c5a059; }

/* HERO SECTION */
.hero { position: relative; width: 100%; height: 450px; overflow: hidden; }
.hero-img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.8); }
.hero-text {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: rgba(31, 77, 58, 0.85); color: white; padding: 40px;
    border-radius: 4px; text-align: center; width: 90%; max-width: 700px;
    border-bottom: 4px solid #c5a059;
}
.hero-text h2 { color: white; font-size: 2.2rem; margin-bottom: 15px; font-weight: 700; }

/* SECCIONES */
section { padding: 80px 5%; max-width: 1200px; margin: auto; }
h2 { color: #1f4d3a; text-align: center; margin-bottom: 40px; font-size: 2.2rem; font-weight: 700; position: relative; }
h2::after { content: ''; width: 60px; height: 3px; background: #c5a059; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); }

/* CIFRAS DE CONFIANZA (NUEVO) */
.cifras { background: #1f4d3a; color: white; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); text-align: center; padding: 60px 5%; gap: 30px; }
.cifra-item h3 { font-size: 2.5rem; color: #c5a059; margin-bottom: 5px; }
.cifra-item p { text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; opacity: 0.9; }

/* TARJETAS DE SERVICIOS */
.servicios { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.tarjeta { background: white; padding: 40px; border-radius: 4px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.4s; border: 1px solid #eee; }
.tarjeta:hover { transform: translateY(-10px); border-color: #c5a059; }
.icono { font-size: 50px; color: #1f4d3a; margin-bottom: 20px; }

/* SLIDER PREMIUM */
.slider { position: relative; max-width: 850px; margin: auto; overflow: hidden; border-radius: 8px; background: white; box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.slides { display: flex; transition: 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.opinion { min-width: 100%; padding: 60px; text-align: center; }
.cliente { width: 90px; height: 90px; border-radius: 50%; margin-bottom: 20px; border: 3px solid #c5a059; padding: 3px; }
.prev, .next { background: #c5a059; width: 45px; height: 45px; border-radius: 50%; border: none; color: white; position: absolute; top: 50%; transform: translateY(-50%); cursor: pointer; z-index: 10; transition: 0.3s; }
.prev:hover, .next:hover { background: #1f4d3a; }
.prev { left: 20px; } .next { right: 20px; }

/* FORMULARIO AVANZADO */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
input, textarea, select { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 4px; font-family: inherit; font-size: 1rem; outline: none; transition: 0.3s; }
input:focus, textarea:focus { border-color: #c5a059; box-shadow: 0 0 8px rgba(197, 160, 89, 0.2); }
button.btn-premium { background: #c5a059; color: white; border: none; padding: 18px; border-radius: 4px; cursor: pointer; width: 100%; font-size: 1.1rem; font-weight: 700; letter-spacing: 1px; transition: 0.3s; }
button.btn-premium:hover { background: #1f4d3a; }

/* WHATSAPP Y FOOTER */
.whatsapp { position: fixed; bottom: 30px; right: 30px; width: 65px; z-index: 999; filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3)); transition: 0.3s; }
.whatsapp:hover { transform: scale(1.1) rotate(10deg); }
footer { background: #111; color: #aaa; text-align: center; padding: 50px; font-size: 0.9rem; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .form-grid { grid-template-columns: 1fr; }
    .menu-toggle { display: block; }
    nav { display: none; position: absolute; top: 80px; left: 0; width: 100%; background: #1f4d3a; flex-direction: column; padding: 30px 0; border-top: 1px solid rgba(255,255,255,0.1); }
    nav.activo { display: flex; }
    nav a { margin: 15px 0; font-size: 1.1rem; }
}