/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
/* --- THEME ENGINE --- */
:root {
    /* DARK MODE DEFAULTS */
    --bg-color: #0a0a0a;
    --surface-color: #141414;
    --surface-highlight: #1f1f1f;
    --border-color: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-color: #FACC15;     
    --accent-fg: #000000;        
    --input-bg: #1f1f1f;
    --nav-glass: rgba(10, 10, 10, 0.9);
    --nav-height: 80px;
    --top-bar-height: 40px; 
    --hero-overlay: linear-gradient(to bottom, rgba(10,10,10,0.7), rgba(10,10,10,1));
}

@media (prefers-color-scheme: light) {
    :root {
        /* LIGHT MODE OVERRIDES */
        --bg-color: #ffffff;
        --surface-color: #f4f4f5;
        --surface-highlight: #e4e4e7;
        --border-color: rgba(0, 0, 0, 0.1);
        --text-primary: #18181b;
        --text-secondary: #52525b;
        --accent-color: #eab308; 
        --accent-fg: #ffffff;
        --input-bg: #ffffff;
        --nav-glass: rgba(255, 255, 255, 0.95);
        --hero-overlay: linear-gradient(to bottom, rgba(10,10,10,0.5), rgba(10,10,10,0.7));
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-color);
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Push body down by nav height + top bar height */
    padding-top: calc(var(--nav-height) + var(--top-bar-height));
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
p { line-height: 1.7; color: var(--text-secondary); margin-bottom: 1.5rem; font-size: 1.05rem; }

.mono { font-family: 'Roboto', sans-serif; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 700; }
.highlight { color: var(--accent-color); }

/* --- LAYOUT CONTAINER --- */
.container { 
    width: 92%; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.section-spacer { padding: 100px 0; border-bottom: 1px solid var(--border-color); }
.section-spacer:last-child { border-bottom: none; }

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}
.btn-primary { background-color: var(--accent-color); color: var(--text-primary); }
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-2px); }

.btn-outline { background: transparent; border: 2px solid var(--border-color); color: var(--text-primary); }
.btn-outline:hover { border-color: var(--text-primary); background: var(--surface-color); }

.btn-block { width: 100%; }

/* --- TOP BAR --- */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--top-bar-height);
    background-color: var(--accent-color);
    color: var(--accent-fg);
    z-index: 1002; 
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
}

.top-bar-content { display: flex; gap: 30px; align-items: center; }
.top-bar a { color: var(--accent-fg); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.top-bar a:hover { text-decoration: underline; }

/* --- NAVIGATION --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4%; 
    height: var(--nav-height);
    position: fixed;
    top: var(--top-bar-height); 
    width: 100%;
    z-index: 1000;
    background: var(--nav-glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.logo { height: 100%; display: flex; align-items: center; cursor: pointer; }
.logo img { max-height: 70px; width: auto; object-fit: contain; }

.nav-links { display: flex; gap: 8px; }

/* Updated to target <a> tags for proper links */
.nav-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 8px 16px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: 0.3s;
    text-decoration: none; /* Remove underline from links */
    display: inline-block;
}

.nav-btn:hover, .nav-btn.active {
    color: var(--text-primary);
    background: var(--surface-color);
}

.cta-nav {
    background: var(--accent-color);
    color: var(--text-primary);
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    display: block;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
}
.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: 0.3s;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 0;
    background-color: var(--bg-color);
    z-index: 999;
    overflow: hidden;
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 60px;
}

.mobile-menu-overlay.open { height: 100vh; }

.mobile-nav-btn {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    background: none;
    border: none;
    padding: 20px;
    width: 100%;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

/* --- HERO SECTION --- */
.hero-wrap {
    position: relative;
    width: 100%;
    background: var(--hero-overlay), url('images/hero-image.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

/* --- RESPONSIVE GRIDS --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 12px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}


.split-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    filter: grayscale(20%);
}

/* --- COMPONENTS --- */
.check-list { margin: 20px 0; }
.check-list li {
    list-style: none;
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.check-list li::before { content: "✓"; color: var(--accent-color); font-weight: bold; flex-shrink: 0; }

.price-divider { width: 100%; height: 1px; background: var(--border-color); margin: 20px 0; }

.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 16px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: 0.2s;
    box-sizing: border-box;
    resize: none;
}
.form-input:focus { outline: 2px solid var(--accent-color); border-color: transparent; background: var(--bg-color); }

/* --- FAQ DROPDOWN STYLES --- */
.faq-item { border-bottom: 1px solid var(--border-color); padding: 24px 0; cursor: pointer; }

.faq-question {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-item.active .faq-question { color: var(--accent-color); }

.faq-answer { 
    color: var(--text-secondary); 
    line-height: 1.6; 
    font-size: 0.95rem;
    display: none; 
    padding-top: 16px;
    animation: slideDown 0.3s ease-out;
}

.faq-item.active .faq-answer { display: block; }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.faq-answer ul { margin-left: 20px; margin-bottom: 15px; }
.faq-answer li { margin-bottom: 8px; }
.faq-answer a { color: var(--accent-color); text-decoration: none; border-bottom: 1px solid transparent; transition: 0.2s; }
.faq-answer a:hover { border-color: var(--accent-color); }

.faq-subheading {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-top: 60px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

/* --- MINI CONTACT FORM --- */
.mini-contact-block {
    background: var(--surface-color);
    border-radius: 16px;
    padding: 50px;
    margin-top: 60px;
    border: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start; 
}

.mini-form { display: grid; gap: 0; width: 100%; }

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}


.testimonial-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.3s;
}


.testimonial-card:hover {
    transform: translateY(-4px);
}


.testimonial-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--accent-color);
}


.testimonial-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 16px;
}


.testimonial-name {
    font-weight: 700;
    color: var(--text-primary);
}


.testimonial-name {
    font-weight: 700;
    color: var(--text-primary);
}

.testimonial-stars {
    font-size: 1.4rem;
    color: #FACC15;
    margin: 10px 0;
    text-align: center;
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--accent-color);
    color: var(--text-primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    text-decoration: none;
    z-index: 2000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

.grecaptcha-badge {
	transform: translateX(0) !important; 
    width: 70px !important; 
    overflow: hidden !important;
    left: 20px !important;
    right: auto !important;
    bottom: 20px !important;
    z-index: 9999 !important;
}

.grecaptcha-badge:hover {
    width: 256px !important;       /* full native width */
    overflow: visible !important;
}

/* --- MEDIA QUERIES --- */
@media (max-width: 900px) {
    .split-layout, .mini-contact-block { grid-template-columns: 1fr; gap: 40px; }
    .split-image { height: 300px; order: -1; }
    .mini-contact-block { text-align: center; padding: 30px 24px; }
    .mini-contact-block form { text-align: left; }
}

@media (max-width: 880px) {
    .top-bar-content { gap: 15px; font-size: 0.8rem; }
    .nav-links, .cta-nav.desktop-only { display: none; }
    .hamburger { display: flex; }
    .section-spacer { padding: 60px 0; }
    .card-grid { grid-template-columns: 1fr; }
    .hero-btns { flex-direction: column; width: 100%; }
    .hero-btns .btn { width: 100%; }
}

@media (max-width: 530px) {
    .split-layout h3 {
        font-size: 5vw;
    }

    .split-layout h1 {
        font-size: 10vw;
    }
}

@media (max-width: 405px) {
    .top-bar-content {
        font-size: 3vw;
    }
}