/* Guía de Limpieza Ecológica Zaragoza - Estilo Verde Bosque */
:root {
    --primary: #2D5A3D;
    --primary-dark: #1E3D29;
    --secondary: #4A7C5C;
    --accent: #8FBC8F;
    --light: #F5F9F6;
    --white: #FFFFFF;
    --text: #333333;
    --text-light: #666666;
    --border: #D4E5D9;
    --gold: #C9A227;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Main */
main {
    padding: 40px 0;
}

/* Hero */
.hero {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(45, 90, 61, 0.1);
    border-left: 4px solid var(--primary);
}

.hero h2 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.hero p {
    color: var(--text-light);
}

/* Ranking */
.ranking {
    margin-bottom: 40px;
}

.ranking h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: center;
}

.ranking-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

/* Store Cards */
.store-card {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--border);
}

.store-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(45, 90, 61, 0.15);
}

.store-card.first {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, var(--white) 0%, #F0F7F2 100%);
}

.rank {
    background: var(--primary);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.store-card.first .rank {
    background: var(--gold);
}

.store-info h3 {
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.address {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.rating {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 10px;
}

.description {
    color: var(--text);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.features {
    list-style: none;
    margin-bottom: 15px;
}

.features li {
    color: var(--text);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.btn:hover {
    background: var(--primary-dark);
}

/* Tips */
.tips {
    margin-bottom: 40px;
}

.tips h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.tip {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    border-top: 3px solid var(--accent);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.tip h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.tip p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* FAQ */
.faq h2 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-align: center;
}

.faq-item {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    border-left: 3px solid var(--secondary);
}

.faq-item h3 {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.faq-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
    margin-top: 40px;
}

footer p {
    opacity: 0.8;
    font-size: 0.9rem;
}

footer p:first-child {
    opacity: 1;
    font-weight: 600;
    margin-bottom: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.6rem;
    }
    
    .store-card {
        flex-direction: column;
    }
    
    .rank {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
    }
}

/* Nav link */
nav { padding: 10px 0; text-align: center; }
.nav-link { 
    display: inline-block; 
    background: #2e7d32; 
    color: white; 
    padding: 10px 20px; 
    border-radius: 25px; 
    text-decoration: none; 
    font-weight: bold;
    transition: background 0.3s;
}
.nav-link:hover { background: #1b5e20; }
