:root {
    --primary: #4CAF50;
    --secondary: #2E7D32;
    --background: #f4f8f4;
    --text: #222;
    --white: #fff;
    --gray: #e0e0e0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    background: linear-gradient(120deg, #f4f8f4 70%, #e8f5e9 100%);
    color: var(--text);
    line-height: 1.6;
    padding-top: 74px;
    scroll-padding-top: 74px;
}

.container {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* === SUPER FUTURISTIC NAVBAR === */
header {
    background: linear-gradient(90deg, #e8f5e9 60%, #c8e6c9 100%);
    box-shadow: 0 6px 32px 0 rgba(76,175,80,0.18), 0 1.5px 0 #4caf50 inset;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 100;
    height: 70px;
    min-height: 70px;
    display: flex;
    align-items: center;
    transition: box-shadow 0.25s, background 0.25s;
    border-bottom: none;
    overflow: visible;
    animation: navbarDrop 1.1s cubic-bezier(.77,0,.18,1) 0s 1;
}
@keyframes navbarDrop {
    0% { transform: translateY(-80px); opacity: 0; }
    80% { transform: translateY(8px); opacity: 1; }
    100% { transform: translateY(0); opacity: 1; }
}
.tagline{
    font-size: 1.2rem;
    color: var(--secondary);
    font-weight: 600;
    margin-left: 1.5rem;
    text-shadow: 0 1px 4px rgba(76,175,80,0.15);
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: color 0.2s, text-shadow 0.2s;
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    min-height: 70px;
    width: 100%;
    margin: 0 auto;
    gap: 2.2rem;
    max-width: 1300px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    min-width: 0;
    text-decoration: none;
    transition: filter 0.2s;
    position: relative;
    z-index: 2;
    font-family: 'Orbitron', 'Segoe UI', Arial, sans-serif;
}

.logo img {
    width: 48px;
    min-width: 48px;
    height: 48px;
    margin-right: 0;
    border-radius: 50%;
    box-shadow: 0 4px 24px #4caf5040, 0 0 0 4px #fff;
    background: #fff;
    transition: box-shadow 0.2s, transform 0.2s;
    border: 2.5px solid #4caf50;
    animation: logoPulse 2.5s infinite alternate;
}
@keyframes logoPulse {
    0% { box-shadow: 0 4px 24px #4caf5040, 0 0 0 4px #fff; }
    100% { box-shadow: 0 8px 40px #4caf5070, 0 0 0 8px #c8e6c9; }
}

.logo span {
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: 2.5px;
    color: #2E7D32;
    line-height: 1.1;
    white-space: nowrap;
    text-shadow: 0 2px 8px #c8e6c9, 0 0 2px #4caf50;
    user-select: none;
    background: linear-gradient(90deg, #4caf50 60%, #2e7d32 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    z-index: 2;
}

#menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 1.2rem;
    z-index: 201;
    padding: 0.5rem;
    outline: none;
    transition: transform 0.2s;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 34px;
    height: 34px;
    gap: 6px;
    position: relative;
    z-index: 2;
}
.hamburger span {
    display: block;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #4caf50 60%, #2e7d32 100%);
    border-radius: 2.5px;
    transition: all 0.3s cubic-bezier(.77,0,.18,1);
    box-shadow: 0 1px 4px #4caf5022;
}

nav ul {
    display: flex;
    gap: 1.7rem;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
    background: transparent;
    position: static;
    box-shadow: none;
    transition: all 0.3s;
}

nav a {
    text-decoration: none;
    color: #1b3c1b;
    font-weight: 700;
    font-size: 1.13rem;
    padding: 0.7rem 1.7rem;
    border-radius: 26px;
    transition: background 0.22s, color 0.22s, box-shadow 0.22s, transform 0.18s;
    display: block;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #f4f8f4 80%, #e8f5e9 100%);
    box-shadow: 0 1px 4px #4caf5010;
    border: 1.5px solid transparent;
}
nav a:hover,
nav a:focus {
    background: linear-gradient(90deg, #4caf50 60%, #2e7d32 100%);
    color: #fff;
    outline: none;
    box-shadow: 0 4px 18px #4caf5022;
    border: 1.5px solid #4caf50;
    transform: translateY(-2px) scale(1.04);
}
nav a::after {
    content: '';
    display: block;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #4caf50 60%, #2e7d32 100%);
    border-radius: 2px;
    transition: width 0.25s cubic-bezier(.77,0,.18,1);
    margin-top: 0.2em;
}
nav a:hover::after,
nav a:focus::after {
    width: 100%;
}

nav ul li {
    transition: transform 0.18s;
}
nav ul li:hover {
    transform: scale(1.08) rotate(-2deg);
}

/* Futuristic Glow Underline for Active Section */
nav a.active {
    background: linear-gradient(90deg, #4caf50 60%, #2e7d32 100%);
    color: #fff;
    box-shadow: 0 4px 18px #4caf5022;
    border: 1.5px solid #4caf50;
}
nav a.active::after {
    width: 100%;
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(120deg, #e8f5e9 60%, #c8e6c9 100%);
    padding: 5.5rem 0 3.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    left: -80px;
    top: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #4caf5040 60%, transparent 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 2.7rem;
    color: var(--secondary);
    margin-bottom: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px #e8f5e9;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.2rem;
    color: #3d3d3d;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    background: linear-gradient(90deg, var(--primary) 60%, var(--secondary) 100%);
    color: var(--white);
    padding: 0.95rem 2.5rem;
    border: none;
    border-radius: 28px;
    font-size: 1.13rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.18s, box-shadow 0.18s, transform 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 0.7em;
    margin-top: 1.2rem;
    box-shadow: 0 2px 14px rgba(76,175,80,0.13);
    letter-spacing: 0.5px;
    outline: none;
    border-bottom: 2px solid #388e3c33;
    position: relative;
}

.cta-btn:before {
    content: "✉️";
    font-size: 1.2em;
    margin-right: 0.5em;
    display: inline-block;
    vertical-align: middle;
    opacity: 0.85;
}

.cta-btn.contacto:before {
    content: "📞";
}

.cta-btn:hover,
.cta-btn:focus {
    background: linear-gradient(90deg, var(--secondary) 60%, var(--primary) 100%);
    box-shadow: 0 4px 18px rgba(76,175,80,0.18);
    transform: translateY(-2px) scale(1.04);
    color: #fff;
}

.cta-btn:active {
    transform: scale(0.98);
    box-shadow: 0 1px 4px rgba(76,175,80,0.10);
}

/* --- ABOUT, SERVICES, CTA, CONTACT SECTION --- */
.about, .services, .cta, .contact {
    padding: 3.5rem 0;
    text-align: center;
}

.about h2, .services h2, .cta h2, .contact h2 {
    color: var(--primary);
    margin-bottom: 1.2rem;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.about p, .cta p, .contact p {
    font-size: 1.15rem;
    color: #444;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.services-list {
    display: flex;
    gap: 2.2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.service-card {
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(76,175,80,0.10);
    padding: 2rem 1.3rem 1.5rem 1.3rem;
    width: 320px;
    text-align: left;
    transition: transform 0.22s, box-shadow 0.22s;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.035);
    box-shadow: 0 8px 32px rgba(76,175,80,0.18);
}

.service-card img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 1.2rem;
    box-shadow: 0 2px 12px #4caf5022;
}

.service-card h3 {
    color: var(--secondary);
    margin-bottom: 0.7rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.service-card p {
    color: #444;
    font-size: 1.05rem;
    line-height: 1.6;
}

.cta {
    background: linear-gradient(90deg, #c8e6c9 60%, #e8f5e9 100%);
    border-radius: 18px;
    margin: 2.5rem 0;
    box-shadow: 0 2px 12px #4caf5012;
}

.cta h2 {
    color: var(--secondary);
}

.cta p {
    color: #2e7d32;
    font-weight: 500;
}

.contact strong {
    color: var(--primary);
    font-weight: 600;
}

.contact p {
    font-size: 1.08rem;
    color: #333;
    background: #f4f8f4;
    border-radius: 10px;
    padding: 1.2rem 1rem;
    margin-top: 1.2rem;
    box-shadow: 0 2px 8px #4caf5010;
}

/* --- FOOTER --- */
footer {
    background: linear-gradient(90deg, #e8f5e9 60%, #c8e6c9 100%);
    border-top: 1px solid var(--gray);
    padding: 1.5rem 0 1rem 0;
    text-align: center;
    font-size: 1rem;
    box-shadow: 0 -2px 8px #4caf5010;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    position: relative;
    z-index: 2;
}

.footer-content span {
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.08rem;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-astro {
    color: #388e3c;
    font-size: 1.01rem;
    font-weight: 500;
    margin-top: 0.2rem;
    opacity: 0.93;
    letter-spacing: 0.1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2em;
}

.footer-orbit {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 320px;
    height: 60px;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(ellipse at center, #4caf5022 0%, transparent 80%);
    animation: orbit-glow 4s infinite alternate;
}
@keyframes orbit-glow {
    0% { opacity: 0.7; }
    100% { opacity: 0.3; }
}

/* --- HERO ANIMATION */
.hero-bg-anim {
    position: absolute;
    right: -120px;
    top: 0;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, #4caf5040 60%, transparent 100%);
    z-index: 0;
    pointer-events: none;
    animation: heroBgMove 8s infinite alternate;
}
@keyframes heroBgMove {
    0% { transform: translateY(0);}
    100% { transform: translateY(30px);}
}

/* Fade-in Animations */
.fade-in { opacity: 0; animation: fadeIn 1.2s 0.2s forwards; }
.fade-in-delay { opacity: 0; animation: fadeIn 1.2s 0.7s forwards; }
@keyframes fadeIn { to { opacity: 1; } }

/* Pulse Animation for CTA */
.pulse { animation: pulseAnim 1.5s infinite alternate; }
@keyframes pulseAnim {
    0% { box-shadow: 0 0 0 0 rgba(76,175,80,0.18);}
    100% { box-shadow: 0 0 0 10px rgba(76,175,80,0.08);}
}

/* About Cards */
.about-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2.2rem;
    flex-wrap: wrap;
}
.about-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px #4caf5012;
    padding: 1.3rem 1.2rem;
    width: 260px;
    min-width: 200px;
    text-align: center;
    transition: transform 0.18s, box-shadow 0.18s;
}
.about-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 6px 24px #4caf5020;
}
.about-icon {
    font-size: 2.2rem;
    margin-bottom: 0.7rem;
    display: block;
}

/* Testimonios */
.testimonios-list {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2.2rem;
}
.testimonios-list blockquote {
    background: #fff;
    border-left: 5px solid var(--primary);
    border-radius: 12px;
    box-shadow: 0 2px 12px #4caf5012;
    padding: 1.2rem 1.3rem 1rem 1.3rem;
    font-style: italic;
    color: #333;
    max-width: 320px;
    min-width: 220px;
    margin: 0;
    position: relative;
    transition: box-shadow 0.18s, transform 0.18s;
}
.testimonios-list blockquote:hover {
    box-shadow: 0 6px 24px #4caf5020;
    transform: scale(1.03);
}
.testimonios-list footer {
    font-size: 0.98rem;
    color: var(--secondary);
    margin-top: 0.7rem;
    font-style: normal;
    font-weight: 600;
}

/* FAQ */
.faq-list {
    max-width: 700px;
    margin: 2.2rem auto 0 auto;
    text-align: left;
}
.faq-item {
    margin-bottom: 1.2rem;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px #4caf5010;
    overflow: hidden;
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem 1.2rem;
    text-align: left;
    cursor: pointer;
    outline: none;
    transition: background 0.15s;
    position: relative;
}
.faq-question:after {
    content: "▼";
    float: right;
    font-size: 1rem;
    transition: transform 0.2s;
}
.faq-question[aria-expanded="true"]:after {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #f4f8f4;
    color: #333;
    font-size: 1rem;
    padding: 0 1.2rem;
    transition: max-height 0.3s, padding 0.3s;
}
.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 200px;
    padding: 1rem 1.2rem;
}

/* Contact Form */
.contact-form {
    margin-top: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px #4caf5012;
    padding: 1.5rem 1.2rem;
}
.contact-form input,
.contact-form textarea {
    padding: 0.9rem;
    border: 1px solid var(--gray);
    border-radius: 7px;
    font-size: 1rem;
    resize: none;
    font-family: inherit;
    background: #f4f8f4;
    transition: border 0.18s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border: 1.5px solid var(--primary);
    outline: none;
    background: #fff;
}
.contact-form button {
    margin-top: 0.5rem;
}
#form-status {
    font-size: 1rem;
    color: var(--secondary);
    margin-top: 0.5rem;
    min-height: 1.2em;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 300;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 16px #4caf5040;
    padding: 0.3rem;
    transition: box-shadow 0.18s, transform 0.18s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.floating-whatsapp:hover {
    box-shadow: 0 8px 32px #4caf5070;
    transform: scale(1.08);
}

/* Cookies Banner */
.cookies-banner {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    background: #fff;
    color: #333;
    box-shadow: 0 -2px 12px #4caf5012;
    padding: 1rem 0.5rem;
    text-align: center;
    font-size: 1rem;
    z-index: 999;
    display: none;
}
.cookies-banner.show {
    display: block;
}
.cookies-banner button {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 18px;
    padding: 0.4rem 1.2rem;
    font-size: 1rem;
    font-weight: 600;
    margin-left: 1rem;
    cursor: pointer;
    transition: background 0.18s;
}
.cookies-banner button:hover {
    background: var(--secondary);
}

/* --- MEDIA QUERIES --- */
@media (max-width: 1100px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .nav-container {
        gap: 1rem;
    }
    .logo img {
        width: 34px;
        min-width: 34px;
        height: 34px;
    }
    .logo span {
        font-size: 1.08rem;
    }
}

@media (max-width: 900px) {
    .nav-container {
        gap: 0.7rem;
    }
    nav ul {
        gap: 1.1rem;
    }
}

@media (max-width: 700px) {
    header {
        height: 54px;
        min-height: 54px;
    }
    body {
        padding-top: 62px;
        scroll-padding-top: 62px;
    }
    .nav-container {
        height: 54px;
        min-height: 54px;
        gap: 0.3rem;
    }
    .logo img {
        width: 22px;
        min-width: 22px;
        height: 22px;
    }
    .logo span {
        font-size: 0.92rem;
    }
    #menu-toggle {
        display: block;
    }
    nav ul {
        flex-direction: column;
        gap: 1.2rem;
        display: none;
        width: 88vw;
        max-width: 260px;
        position: absolute;
        right: 0;
        top: 44px;
        background: linear-gradient(120deg, #e8f5e9 60%, #c8e6c9 100%);
        box-shadow: 0 8px 32px #4caf5070;
        padding: 1.5rem 1rem;
        z-index: 200;
        align-items: flex-start;
        border-radius: 18px;
        animation: fadeInMenu 0.22s;
        border: 1.5px solid #4caf50;
    }
    nav ul.active {
        display: flex;
    }
    nav a {
        font-size: 1.08rem;
        padding: 0.7rem 1.2rem;
    }
}

@keyframes fadeInMenu {
    from { opacity: 0; transform: translateY(-10px);}
    to { opacity: 1; transform: translateY(0);}
}
