:root {
    --primary: #008080;
    --primary-dark: #054062;
    --accent: #f4f4f9;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

.logo img {
    height: 115px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.btn-primary {
    background: var(--primary);
    color: white !important;
    padding: 10px 25px;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Hero Content */
.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 40px;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-secondary {
    border: 2px solid white;
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

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

/* Sections */
section {
    padding-top: 100px;
    padding-bottom: 100px;
}

/* Hero Section - full height, no vertical padding */
#hero {
    padding: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    color: white;
}

.bg-light {
    background-color: var(--accent);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
}

.underline {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.glass {
    background: rgba(0, 128, 128, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 128, 128, 0.1);
    border-radius: 20px;
    padding: 40px;
}

.about-card h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

.about-card ul {
    list-style: none;
}

.about-card li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.about-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Objectives Grid */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.obj-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    text-align: center;
}

.obj-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,128,128,0.1);
}

.obj-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.obj-card h3 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,128,128,0.1);
}

.product-img {
    height: 250px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-info {
    padding: 30px;
    text-align: center;
}

.product-info h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.product-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.btn-whatsapp {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    margin-top: 5px;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    color: white;
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Territory Impact */
.center-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
}

.territory-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 60px;
}

.muni {
    background: var(--primary-dark);
    color: white;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(5, 64, 98, 0.2);
}

.impact-quote {
    text-align: center;
    font-style: italic;
    font-size: 1.3rem;
    color: var(--primary-dark);
    max-width: 900px;
    margin: 0 auto;
}

/* Contact Form Section */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info-block h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.contact-info-block p {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 1rem;
}

.contact-detail {
    margin-bottom: 10px !important;
    color: var(--text-dark) !important;
    font-weight: 600;
}

.btn-whatsapp-large {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(37,211,102,0.3);
}

.btn-whatsapp-large:hover {
    background: #128C7E;
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 8px 25px rgba(37,211,102,0.4);
}

.contact-form {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 18px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition);
    outline: none;
    background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(0,128,128,0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5,64,98,0.2);
}

.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-status.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37,211,102,0.6);
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 80px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 25px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    color: #bbb;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons span {
    width: 40px;
    height: 40px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.social-icons span:hover {
    background: var(--primary);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    color: #777;
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards ease-out;
}

.fade-in:nth-child(2) { animation-delay: 0.3s; }
.fade-in:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== HAMBURGER BUTTON (hidden on desktop) ===== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--primary-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hamburger → X animation */
.hamburger.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

    /* ---- NAV ---- */
    .hamburger {
        display: flex;
    }

    nav {
        height: 75px;
        position: relative;
        flex-wrap: wrap;
    }

    .logo img {
        height: 75px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(10px);
        position: absolute;
        top: 75px;
        left: 0;
        right: 0;
        padding: 15px 20px 25px;
        gap: 0;
        border-top: 1px solid #eee;
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
        z-index: 1000;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        display: block;
        padding: 14px 10px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 1rem;
        font-weight: 600;
    }

    .nav-links li:last-child a {
        border-bottom: none;
        text-align: center;
        margin-top: 12px;
        padding: 13px;
        border-radius: 50px;
    }

    /* ---- HERO ---- */
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-btns a {
        width: 80%;
        text-align: center;
    }

    /* ---- SECTIONS ---- */
    section {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    /* ---- ABOUT ---- */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* ---- OBJECTIVES ---- */
    .objectives-grid {
        grid-template-columns: 1fr;
    }

    /* ---- PRODUCTS ---- */
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-img {
        height: 200px;
    }

    /* ---- TERRITORY ---- */
    .territory-list {
        gap: 10px;
    }

    .muni {
        font-size: 0.95rem;
        padding: 8px 20px;
    }

    .impact-quote {
        font-size: 1rem;
        padding: 0 10px;
    }

    /* ---- CONTACT FORM ---- */
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info-block {
        text-align: center;
    }

    .contact-info-block h3 {
        font-size: 1.4rem;
    }

    .btn-whatsapp-large {
        display: block;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    .contact-form {
        padding: 25px 18px;
        border-radius: 16px;
    }

    .btn-submit {
        font-size: 0.95rem;
    }

    /* ---- FOOTER ---- */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }

    .footer-links h4::after,
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-icons {
        justify-content: center;
    }

    /* ---- FLOATING WHATSAPP ---- */
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 16px;
    }
}
