/* TeleCre Agrosemillas del Futuro - Hoja de estilos principal */
:root {
    --verde-oliva: #556B2F;
    --verde-profundo: #3B5323;
    --dorado: #B8860B;
    --dorado-claro: #DAA520;
    --beige-claro: #FAF0E6;
    --crema: #FFF8DC;
    --texto: #2F2F2F;
    --gris-suave: #6B6B6B;
    --blanco: #FFFFFF;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--beige-claro);
    color: var(--texto);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4, h5 {
    font-family: Georgia, 'Times New Roman', serif;
    color: var(--verde-profundo);
    letter-spacing: -0.5px;
}

a { color: var(--verde-oliva); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--dorado); }

/* HEADER CON NAVEGACIÓN */
.barra-superior {
    background-color: var(--verde-profundo);
    border-bottom: 4px solid var(--dorado);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}
.barra-contenido {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 5%;
    max-width: 1300px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 15px;
}
.marca {
    display: flex;
    align-items: center;
    gap: 12px;
}
.marca img { width: 52px; height: 52px; object-fit: contain; }
.marca-texto { color: var(--blanco); }
.marca-texto strong {
    display: block;
    font-family: Georgia, serif;
    font-size: 1.15em;
    letter-spacing: 0.5px;
}
.marca-texto span { font-size: 0.75em; color: var(--dorado-claro); letter-spacing: 2px; text-transform: uppercase; }

.nav-links { display: flex; gap: 25px; list-style: none; }
.nav-links a {
    color: var(--crema);
    font-weight: 500;
    font-size: 0.95em;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.25s;
}
.nav-links a:hover {
    color: var(--dorado-claro);
    border-bottom-color: var(--dorado-claro);
}

/* HERO ASIMÉTRICO */
.hero-agro {
    background: linear-gradient(135deg, var(--verde-profundo) 0%, var(--verde-oliva) 100%);
    color: var(--crema);
    padding: 80px 5% 90px;
    position: relative;
    overflow: hidden;
}
.hero-agro::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    background-color: var(--dorado);
    border-radius: 50%;
    opacity: 0.15;
}
.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.hero-etiqueta {
    display: inline-block;
    background-color: var(--dorado);
    color: var(--verde-profundo);
    padding: 5px 15px;
    border-radius: 3px;
    font-size: 0.8em;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.hero-grid h1 {
    font-size: 2.8em;
    line-height: 1.15;
    color: var(--blanco);
    margin-bottom: 22px;
}
.hero-grid h1 span { color: var(--dorado-claro); font-style: italic; }
.hero-grid p {
    font-size: 1.08em;
    margin-bottom: 25px;
    color: var(--crema);
}
.hero-botones { display: flex; gap: 15px; flex-wrap: wrap; }
.btn-primario, .btn-secundario {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1em;
    transition: all 0.3s;
    cursor: pointer;
}
.btn-primario {
    background-color: var(--dorado);
    color: var(--verde-profundo) !important;
}
.btn-primario:hover {
    background-color: var(--dorado-claro);
    transform: translateY(-2px);
}
.btn-secundario {
    background-color: transparent;
    color: var(--crema) !important;
    border: 2px solid var(--crema);
}
.btn-secundario:hover {
    background-color: var(--crema);
    color: var(--verde-profundo) !important;
}
.hero-imagen {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    border: 5px solid var(--crema);
}

/* STATS */
.stats {
    background-color: var(--blanco);
    padding: 40px 5%;
    border-bottom: 1px solid #E0D8C8;
}
.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    text-align: center;
}
.stat-numero {
    font-family: Georgia, serif;
    font-size: 2.6em;
    font-weight: bold;
    color: var(--verde-oliva);
    display: block;
    line-height: 1;
}
.stat-label {
    color: var(--gris-suave);
    font-size: 0.9em;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* SECCIONES GENERALES */
.bloque {
    padding: 80px 5%;
}
.bloque-crema { background-color: var(--crema); }
.bloque-blanco { background-color: var(--blanco); }
.bloque-verde {
    background-color: var(--verde-profundo);
    color: var(--crema);
}
.bloque-verde h2, .bloque-verde h3, .bloque-verde h4 { color: var(--dorado-claro); }
.bloque-verde p { color: var(--crema); }

.contenedor { max-width: 1200px; margin: 0 auto; }

.titulo-bloque {
    font-size: 2.2em;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}
.titulo-bloque::before {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--dorado);
    margin-bottom: 15px;
}
.subtitulo-bloque {
    font-size: 1.05em;
    color: var(--gris-suave);
    margin-bottom: 40px;
    max-width: 750px;
}
.bloque-verde .subtitulo-bloque { color: var(--crema); opacity: 0.85; }

/* INTRO */
.intro-texto p {
    font-size: 1.05em;
    margin-bottom: 20px;
    text-align: justify;
}
.intro-texto strong { color: var(--verde-oliva); }
.bloque-verde .intro-texto strong { color: var(--dorado-claro); }

/* LÍNEAS DE PRODUCTO */
.lineas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.linea-tarjeta {
    background-color: var(--blanco);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(59,83,35,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border-bottom: 4px solid var(--dorado);
}
.linea-tarjeta:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(59,83,35,0.18);
}
.linea-tarjeta img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.linea-tarjeta .linea-info { padding: 20px; }
.linea-tarjeta h4 {
    font-size: 1.15em;
    margin-bottom: 10px;
    color: var(--verde-profundo);
}
.linea-tarjeta p { font-size: 0.92em; color: var(--gris-suave); }

/* TECNOLOGÍA - BLOQUE CON ICONOS */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.tech-item {
    background-color: rgba(255,255,255,0.08);
    padding: 28px 22px;
    border-radius: 6px;
    border-left: 4px solid var(--dorado);
    transition: background 0.3s;
}
.tech-item:hover { background-color: rgba(255,255,255,0.15); }
.tech-icono {
    font-size: 2.2em;
    margin-bottom: 12px;
    display: block;
}
.tech-item h4 {
    font-size: 1.1em;
    margin-bottom: 8px;
}
.tech-item p { font-size: 0.92em; line-height: 1.6; }

/* PROCESO */
.proceso-lista {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 30px;
    counter-reset: fase;
}
.proceso-paso {
    background-color: var(--blanco);
    padding: 30px 22px 25px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(59,83,35,0.08);
    position: relative;
    padding-top: 45px;
}
.proceso-paso::before {
    counter-increment: fase;
    content: '0' counter(fase);
    position: absolute;
    top: -14px;
    left: 22px;
    background-color: var(--verde-oliva);
    color: var(--dorado-claro);
    font-family: Georgia, serif;
    font-weight: bold;
    font-size: 1.3em;
    padding: 6px 14px;
    border-radius: 3px;
}
.proceso-paso h4 { margin-bottom: 10px; font-size: 1.1em; }
.proceso-paso p { font-size: 0.92em; color: var(--gris-suave); }

/* TESTIMONIOS */
.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
.testimonio-item {
    background-color: var(--crema);
    padding: 28px;
    border-radius: 6px;
    border-top: 4px solid var(--dorado);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
}
.testimonio-item::after {
    content: '”';
    font-family: Georgia, serif;
    font-size: 5em;
    color: var(--dorado);
    opacity: 0.25;
    position: absolute;
    top: -10px;
    right: 20px;
    line-height: 1;
}
.estrellas { color: var(--dorado); margin-bottom: 12px; letter-spacing: 2px; }
.testimonio-item p { font-style: italic; margin-bottom: 18px; color: #444; font-size: 0.95em; }
.testimonio-firma { font-weight: bold; color: var(--verde-oliva); font-size: 0.9em; }
.testimonio-ciudad { font-size: 0.82em; color: var(--gris-suave); }

/* FAQ */
.faq-acordeon { max-width: 900px; margin: 30px auto 0; }
.faq-pregunta {
    background-color: var(--blanco);
    border-radius: 5px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border-left: 4px solid var(--verde-oliva);
}
.faq-pregunta summary {
    padding: 18px 25px;
    font-weight: bold;
    color: var(--verde-profundo);
    cursor: pointer;
    list-style: none;
    position: relative;
    font-family: Georgia, serif;
    font-size: 1.02em;
}
.faq-pregunta summary::-webkit-details-marker { display: none; }
.faq-pregunta summary::after {
    content: '⌄';
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4em;
    color: var(--dorado);
    font-weight: bold;
}
.faq-pregunta[open] summary::after { content: '⌃'; }
.faq-respuesta {
    padding: 0 25px 20px;
    color: #555;
    font-size: 0.95em;
    line-height: 1.7;
}

/* CTA FINAL */
.cta-final {
    background: linear-gradient(135deg, var(--verde-oliva), var(--verde-profundo));
    color: var(--crema);
    padding: 70px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-final::before {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    width: 200px;
    height: 200px;
    background-color: var(--dorado);
    border-radius: 50%;
    opacity: 0.1;
}
.cta-final h2 {
    color: var(--blanco);
    font-size: 2em;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}
.cta-final p { font-size: 1.05em; margin-bottom: 25px; position: relative; z-index: 2; }
.cta-final .btn-primario { position: relative; z-index: 2; font-size: 1.1em; padding: 16px 40px; }
.cta-datos {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    font-size: 0.92em;
}
.cta-datos span { color: var(--crema); }
.cta-datos a { color: var(--dorado-claro); font-weight: bold; }

/* FOOTER */
footer {
    background-color: #1F2A1A;
    color: #C8C0A8;
    padding: 40px 5% 20px;
    font-size: 0.9em;
}
.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}
.footer-grid h4 {
    color: var(--dorado-claro);
    font-size: 1.05em;
    margin-bottom: 15px;
    font-family: Georgia, serif;
}
.footer-grid p, .footer-grid li { color: #A8A090; line-height: 1.8; }
.footer-grid ul { list-style: none; }
.footer-grid ul a { color: #A8A090; display: block; padding: 4px 0; }
.footer-grid ul a:hover { color: var(--dorado-claro); }
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid #3A4A2F;
    text-align: center;
    font-size: 0.85em;
    color: #7A7A6A;
}

/* BANNER COOKIES */
#cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1F2A1A;
    color: var(--crema);
    padding: 22px 5%;
    z-index: 1000;
    border-top: 4px solid var(--dorado);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.4);
    font-size: 0.92em;
}
#cookie-banner p { max-width: 1200px; margin: 0 auto 12px; }
#cookie-banner a { color: var(--dorado-claro); text-decoration: underline; }
.banner-botones {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
#cookie-banner .btn {
    display: inline-block;
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.92em;
    font-family: inherit;
}
#accept-cookies { background-color: var(--dorado); color: var(--verde-profundo); }
#accept-cookies:hover { background-color: var(--dorado-claro); }
#reject-cookies {
    background-color: transparent;
    color: var(--crema);
    border: 2px solid var(--crema);
}
#reject-cookies:hover { background-color: var(--crema); color: var(--verde-profundo); }

/* WHATSAPP FLOTANTE */
.whatsapp-flotante {
    position: fixed;
    bottom: 100px;
    right: 25px;
    background-color: #25D366;
    color: var(--blanco) !important;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9em;
    box-shadow: 0 5px 18px rgba(0,0,0,0.35);
    z-index: 999;
    transition: transform 0.25s;
}
.whatsapp-flotante:hover { transform: scale(1.1); background-color: #128C7E; }

/* PÁGINAS LEGALES */
.legal-wrap {
    max-width: 900px;
    margin: 50px auto;
    background-color: var(--blanco);
    padding: 45px 40px;
    border-radius: 6px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border-top: 6px solid var(--verde-oliva);
}
.legal-wrap h1 {
    font-size: 2em;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--crema);
}
.legal-wrap h2 {
    font-size: 1.3em;
    margin-top: 30px;
    margin-bottom: 12px;
    color: var(--verde-oliva);
}
.legal-wrap p, .legal-wrap li { margin-bottom: 12px; color: #444; }
.legal-wrap ul { padding-left: 25px; margin-bottom: 15px; }
.btn-regresar {
    display: inline-block;
    background-color: var(--verde-oliva);
    color: var(--crema) !important;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 25px;
    transition: background 0.25s;
}
.btn-regresar:hover { background-color: var(--verde-profundo); color: var(--dorado-claro) !important; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-imagen { height: 280px; }
    .footer-grid { grid-template-columns: 1fr; gap: 25px; }
}
@media (max-width: 600px) {
    .nav-links { gap: 15px; flex-wrap: wrap; justify-content: center; }
    .barra-contenido { flex-direction: column; }
    .hero-grid h1 { font-size: 2em; }
    .titulo-bloque { font-size: 1.7em; }
    .bloque { padding: 55px 5%; }
    .stat-numero { font-size: 2em; }
    .legal-wrap { padding: 30px 20px; margin: 25px 15px; }
}