/* ============================================
   DISEÑO RASTAFARI CORPORATIVO - SEMILLAS CUMBRE
   Paleta oficial: Verde #018A2D, Amarillo #FCDE03,
   Rojo #D51C2C, Negro #0E0C0B
   ============================================ */

:root {
    --verde-rasta: #018A2D;
    --amarillo-rasta: #FCDE03;
    --rojo-rasta: #D51C2C;
    --negro-rasta: #0E0C0B;
    --crema-fondo: #FAF6E9;
    --verde-oscuro: #0B4A1A;
    --texto: #2A2A2A;
}

* { box-sizing: border-box; }

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    margin: 0; padding: 0;
    color: var(--texto);
    line-height: 1.8;
    background-color: var(--crema-fondo);
    background-image: 
        repeating-linear-gradient(45deg, rgba(1, 138, 45, 0.03) 0px, rgba(1, 138, 45, 0.03) 2px, transparent 2px, transparent 12px),
        repeating-linear-gradient(-45deg, rgba(252, 222, 3, 0.03) 0px, rgba(252, 222, 3, 0.03) 2px, transparent 2px, transparent 12px);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* --- Tipografía con carácter --- */
h1, h2, h3, h4 {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: var(--verde-oscuro);
    line-height: 1.3;
    letter-spacing: 0.5px;
}
h1 { font-size: 2.5rem; border-bottom: 4px solid var(--amarillo-rasta); padding-bottom: 10px; }
h2 { font-size: 2rem; border-left: 8px solid var(--rojo-rasta); padding-left: 15px; }
h3 { font-size: 1.5rem; color: var(--rojo-rasta); }

a { color: var(--verde-rasta); text-decoration: none; font-weight: 600; }
a:hover { color: var(--rojo-rasta); text-decoration: underline; }

/* --- Header con franjas rastafari --- */
header {
    background-color: var(--negro-rasta);
    color: white;
    padding: 0;
    border-bottom: 8px solid;
    border-image: linear-gradient(to right, var(--verde-rasta) 33%, var(--amarillo-rasta) 33%, var(--amarillo-rasta) 66%, var(--rojo-rasta) 66%) 1;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 15px 0;
}
.logo h1 {
    color: white;
    margin: 0;
    font-size: 2rem;
    border: none;
    padding: 0;
    text-shadow: 2px 2px 0 var(--verde-rasta);
}
.logo span { color: var(--amarillo-rasta); }
.contacto-header { text-align: right; font-size: 0.95rem; }
.contacto-header p { margin: 3px 0; }
.contacto-header a { color: var(--amarillo-rasta); font-weight: bold; }
.contacto-header a:hover { color: white; }

/* --- Navegación --- */
nav.main-nav {
    background-color: white;
    border-bottom: 3px solid var(--negro-rasta);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
nav.main-nav ul {
    list-style: none; padding: 0; margin: 0;
    display: flex; justify-content: center; flex-wrap: wrap;
}
nav.main-nav li { margin: 0 5px; }
nav.main-nav a {
    display: block;
    padding: 16px 18px;
    font-weight: 700;
    color: var(--negro-rasta);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-bottom: 4px solid transparent;
    transition: all 0.3s;
}
nav.main-nav a:hover, nav.main-nav a.active {
    border-bottom-color: var(--rojo-rasta);
    color: var(--rojo-rasta);
    text-decoration: none;
}

/* --- Hero con textura rastafari --- */
.hero {
    background: linear-gradient(135deg, var(--verde-oscuro) 0%, #1A6B2E 100%);
    color: white;
    padding: 70px 20px;
    text-align: center;
    position: relative;
    border-bottom: 6px solid var(--amarillo-rasta);
}
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(252, 222, 3, 0.05) 40px, rgba(252, 222, 3, 0.05) 80px);
    pointer-events: none;
}
.hero h2 {
    font-size: 2.5rem;
    color: var(--amarillo-rasta);
    border: none;
    padding: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    position: relative;
}
.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    position: relative;
    color: #E8F5E9;
}
.cta-button {
    display: inline-block;
    background-color: var(--amarillo-rasta);
    color: var(--negro-rasta);
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 0;
    border: 3px solid var(--negro-rasta);
    box-shadow: 5px 5px 0 var(--rojo-rasta);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s;
    position: relative;
}
.cta-button:hover {
    background-color: var(--rojo-rasta);
    color: white;
    box-shadow: 2px 2px 0 var(--negro-rasta);
    transform: translate(3px, 3px);
    text-decoration: none;
}

/* --- Secciones --- */
section { padding: 60px 0; }
.bg-verde-suave { background-color: #E8F5E9; }
.bg-amarillo-suave { background-color: #FFF8E1; }
.bg-negro { background-color: var(--negro-rasta); color: #ddd; }
.bg-negro h2, .bg-negro h3 { color: var(--amarillo-rasta); }
.bg-negro a { color: var(--amarillo-rasta); }

.titulo-seccion {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    display: inline-block;
    padding-bottom: 10px;
    border-bottom: 6px solid var(--rojo-rasta);
    color: var(--verde-oscuro);
}
.centrar-titulo { text-align: center; }

/* --- Tarjetas de Producto --- */
.grid-productos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.tarjeta-producto {
    background: white;
    border: 3px solid var(--negro-rasta);
    border-top: 8px solid var(--verde-rasta);
    padding: 30px;
    box-shadow: 8px 8px 0 rgba(1, 138, 45, 0.15);
    transition: transform 0.2s;
}
.tarjeta-producto:hover { transform: translateY(-5px); }
.tarjeta-producto h3 { color: var(--rojo-rasta); margin-top: 0; font-size: 1.4rem; }
.tarjeta-producto ul { list-style: none; padding: 0; }
.tarjeta-producto ul li {
    padding: 5px 0 5px 25px;
    position: relative;
    border-bottom: 1px dashed #eee;
}
.tarjeta-producto ul li::before {
    content: "•";
    color: var(--verde-rasta);
    font-weight: bold;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: 0;
}

/* --- Reseñas de Clientes (Estilo Rastafari) --- */
.grid-resenas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}
.tarjeta-resena {
    background: white;
    border-left: 10px solid var(--amarillo-rasta);
    border-bottom: 5px solid var(--verde-rasta);
    padding: 30px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.tarjeta-resena::before {
    content: "“";
    font-size: 5rem;
    color: var(--amarillo-rasta);
    position: absolute;
    top: -10px; left: 15px;
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.6;
}
.resena-texto {
    font-style: italic;
    font-size: 1.05rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    padding-top: 15px;
}
.resena-autor {
    display: flex;
    align-items: center;
    gap: 15px;
}
.avatar-resena {
    width: 50px; height: 50px;
    background: var(--verde-rasta);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    border: 3px solid var(--amarillo-rasta);
}
.resena-info strong { display: block; color: var(--negro-rasta); }
.resena-info span { font-size: 0.85rem; color: #666; }
.estrellas { color: var(--amarillo-rasta); font-size: 1.2rem; letter-spacing: 2px; }

/* --- Beneficios / Grids genéricos --- */
.grid-beneficios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}
.beneficio-item {
    background: white;
    padding: 25px;
    border-top: 5px solid var(--rojo-rasta);
    border-bottom: 5px solid var(--verde-rasta);
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
.beneficio-item h4 { color: var(--rojo-rasta); margin-top: 0; }

/* --- Contacto --- */
.info-contacto { display: flex; flex-wrap: wrap; gap: 30px; }
.datos-empresa, .formulario-contacto {
    flex: 1; min-width: 300px;
    background: white;
    padding: 30px;
    border: 3px solid var(--negro-rasta);
    box-shadow: 6px 6px 0 var(--verde-rasta);
}
.datos-empresa h3, .formulario-contacto h3 {
    color: var(--rojo-rasta);
    border-bottom: 4px solid var(--amarillo-rasta);
    padding-bottom: 10px;
}
.formulario-contacto input, .formulario-contacto textarea {
    width: 100%; padding: 12px;
    margin-bottom: 15px;
    border: 2px solid #ccc;
    border-radius: 0;
    font-family: inherit;
}
.formulario-contacto input:focus, .formulario-contacto textarea:focus {
    border-color: var(--verde-rasta);
    outline: none;
}
.formulario-contacto button {
    background-color: var(--verde-rasta);
    color: white;
    padding: 15px 25px;
    border: 3px solid var(--negro-rasta);
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s;
}
.formulario-contacto button:hover {
    background-color: var(--rojo-rasta);
    transform: translate(2px, 2px);
}

/* --- Footer --- */
footer {
    background-color: var(--negro-rasta);
    color: #aaa;
    text-align: center;
    padding: 40px 0 20px;
    border-top: 8px solid;
    border-image: linear-gradient(to right, var(--verde-rasta) 33%, var(--amarillo-rasta) 33%, var(--amarillo-rasta) 66%, var(--rojo-rasta) 66%) 1;
    font-size: 0.9rem;
}
footer a { color: var(--amarillo-rasta); margin: 0 10px; font-weight: bold; }
footer a:hover { color: white; text-decoration: underline; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .header-content { flex-direction: column; text-align: center; }
    .contacto-header { text-align: center; margin-top: 10px; }
    .hero h2 { font-size: 1.8rem; }
    nav.main-nav ul { flex-direction: column; align-items: center; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
}