/* style.css - Shared styles for all pages */

:root {
    --primary-orange: #e87a24;
    --dark-brown: #3d2b1f;
    --light-cream: #fdfaf5;
    --text-color: #333;
    --header-height: 140px;
}

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: calc(var(--header-height) + 40px); }

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0; padding: 0; line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-cream);
}

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0;
    margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

header {
    background: #fff; padding: 0.5rem 5%;
    display: flex; justify-content: space-between; align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky; top: 0; z-index: 1000;
    height: var(--header-height);
}

.logo img { width: 180px; height: auto; object-fit: contain; }

nav a {
    margin-left: 20px; text-decoration: none;
    color: var(--dark-brown); font-weight: 600;
    transition: color 0.3s;
}

nav a:hover { color: var(--primary-orange); }

/* WhatsApp Sticky */
.whatsapp-sticky {
    position: fixed; bottom: 20px; right: 20px;
    width: 60px; height: 60px; background: #25D366;
    border-radius: 50%; display: flex; align-items: center;
    justify-content: center; z-index: 2000;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: transform 0.3s;
}

.whatsapp-sticky:hover { transform: scale(1.1); }

.whatsapp-sticky img { width: 35px; height: auto; }

.hero {
    display: flex; flex-wrap: wrap; align-items: center;
    padding: 4rem 10%; background: linear-gradient(135deg, #fff 0%, #fff3e6 100%);
}

.hero-text { flex: 1; min-width: 300px; }

.hero-image { flex: 1; min-width: 300px; text-align: center; }

.hero-image img {
    max-width: 100%; height: auto; border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero h1 {
    font-size: 2.8rem; color: var(--dark-brown);
    line-height: 1.1; margin-bottom: 1.5rem;
}

.hero p { font-size: 1.25rem; color: #555; max-width: 600px; padding-right: 2rem; }

.section-title {
    text-align: center; margin: 4rem 0 2.5rem;
    color: var(--dark-brown); font-size: 2.2rem;
}

/* Zonas Coverage */
.zones-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem; padding: 0 10% 4rem;
}

.zone-card {
    background: #fff; padding: 2rem; border-radius: 15px;
    border-bottom: 4px solid var(--primary-orange);
    text-align: center; box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.zone-card h3 { color: var(--dark-brown); margin-bottom: 1rem; }

.zone-card ul { text-align: left; padding-left: 1rem; }

.how-it-works {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem; padding: 0 10% 4rem;
}

.step-card {
    background: #fff; padding: 2.5rem; border-radius: 20px;
    text-align: center; transition: transform 0.3s;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.step-card:hover { transform: translateY(-10px); }

.step-card img { width: 200px; height: auto; margin-bottom: 1.5rem; }

.badges-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem; padding: 0 10% 4rem;
}

.badge-item {
    background: #fff; padding: 2rem; border-radius: 15px;
    border-bottom: 4px solid var(--primary-orange);
    display: flex; flex-direction: column; align-items: center; text-align: center;
}

.cta-section {
    background: var(--dark-brown); color: #fff;
    padding: 5rem 10%; text-align: center;
}

.qr-container {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 3rem; margin-top: 3rem;
}

.qr-card {
    background: #fff; padding: 2rem; border-radius: 20px; color: var(--dark-brown);
    max-width: 320px; transition: scale 0.3s;
}

.qr-card:hover { scale: 1.05; }

footer { padding: 3rem 10%; background: #f8f8f8; text-align: center; border-top: 1px solid #eee; }

@media (max-width: 768px) {
    section[id] { scroll-margin-top: 20px; }
    .hero h1 { font-size: 2.2rem; }
    header { height: auto; flex-direction: column; padding: 1.5rem; }
    nav { margin-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
    .whatsapp-sticky { bottom: 15px; right: 15px; width: 55px; height: 55px; }
}