@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary: #818cf8;
    --primary-hover: #6366f1;
    --seconday: #1e293b;
    /* Slate 800 for accents */
    --accent: #f43f5e;
    --text-main: #f8fafc;
    /* Very light gray */
    --text-muted: #cbd5e1;
    --bg-light: #475569;
    /* Lighter Intermediate (Slate 600) */
    --bg-card: #334155;
    /* Slate 700 for depth */
    --white: #ffffff;
    --glass: rgba(15, 23, 42, 0.4);
    --glass-border: rgba(255, 255, 255, 0.15);
    --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    --radius: 20px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --whatsapp: #22c55e;
    --whatsapp-dark: #16a34a;
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(16px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
}

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

/* Hamburger Menu Icon */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

.whatsapp-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--whatsapp);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 10rem 2rem 6rem;
    max-width: none;
    background: radial-gradient(circle at top right, rgba(129, 140, 248, 0.1), transparent),
        radial-gradient(circle at bottom left, rgba(244, 63, 94, 0.1), transparent);
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
    /* Prevent cards from centering vertically and overlapping previous sections */
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.about-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}

.about-card {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.about-card h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-shadow: none;
}

.check-list {
    list-style: none;
}

.check-list li {
    margin-bottom: 1rem;
    font-weight: 500;
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.cta-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
    letter-spacing: -0.03em;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.map-section {
    padding: 6rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.map-container {
    overflow: hidden;
    position: relative;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--glass-border);
}

/* Rating Badge */
.rating-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: fit-content;
    margin: 1rem 0;
    font-size: 0.95rem;
}

.stars {
    color: #ffb400;
    letter-spacing: 2px;
}

.rating-value {
    font-weight: 700;
}

.reviews-count {
    color: var(--text-muted);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-icon {
    color: var(--primary);
    font-weight: bold;
}

.hero-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.02);
    transition: var(--transition);
}

.hero-image:hover img {
    transform: scale(1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.39);
}

.btn-outline {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.23);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: white;
    border: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.btn-demo {
    background: var(--white);
    color: var(--primary);
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-radius: 10px;
    font-weight: 700;
}

.btn-demo:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Standard Section Spacing */
section {
    padding: 100px 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.bg-surface {
    background-color: rgba(255, 255, 255, 0.03);
    max-width: none;
    /* Full width background */
}

.bg-surface>div,
.bg-surface-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Services */
.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-title p {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 500;
}

#location .section-title p {
    color: var(--primary);
    font-weight: 700;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    color: var(--text-main);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: var(--transition);
}

.card:hover::before {
    opacity: 1;
}

.btn-ultra-prominent {
    font-size: 1.4rem;
    padding: 1.5rem 3rem;
    gap: 1.2rem;
    background: var(--whatsapp);
    color: white;
    box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
    animation: btn-glow 3s infinite;
}

.btn-ultra-prominent:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(34, 197, 94, 0.5);
}

@keyframes btn-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }

    50% {
        box-shadow: 0 0 30px 15px rgba(34, 197, 94, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

footer {
    padding: 4rem 2rem;
    background: #080d1a;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1001;
    transition: var(--transition);
}

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

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--whatsapp-dark);
}

/* Pulse Animation */
.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--whatsapp);
    border-radius: 50%;
    z-index: -1;
    animation: pulse-out 2s infinite;
}

@keyframes pulse-out {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Sticky Header WhatsApp in Mobile */
@media (max-width: 768px) {
    .header-cta {
        display: none;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
}

/* Responsive */
@media (max-width: 968px) {
    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 2rem;
    }

    .logo {
        font-size: 1.4rem;
        width: 100%;
        justify-content: center;
    }

    .menu-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: 20px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 1.5rem;
        background: var(--bg-card);
        padding: 2rem 0;
        border-radius: var(--radius);
        margin-top: 1rem;
        border: 1px solid var(--glass-border);
    }

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

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
    }

    .cta-group .btn {
        width: 100%;
        justify-content: center;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.faq-container-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.faq-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item h3 {
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.faq-item h3::before {
    content: "?";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 900;
    opacity: 0.5;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

/* Sticky Mobile CTA */
.sticky-mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem;
    z-index: 999;
    border-top: 1px solid var(--glass-border);
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.3);
}

.sticky-mobile-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 1.2rem;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .sticky-mobile-cta {
        display: block;
    }

    /* Adjust floating button to not overlap */
    .whatsapp-float {
        bottom: 90px;
    }
}

.btn-demo {
    background: var(--white);
    color: var(--primary);
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-radius: 10px;
    font-weight: 700;
}

.btn-demo:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}
