@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:wght@700&display=swap');

:root {
    /* Color Palette */
    --background: #ffffff;
    --text: #0f172a;
    --primary: #0f172a;
    --secondary: #334155;
    --accent: #a16207;
    /* Darkened for better contrast on white (WCAG AA) */
    --accent-hover: #854d0e;
    --surface: #f8fafc;
    --border: #e2e8f0;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --background: #0f172a;
    --text: #f8fafc;
    --primary: #f8fafc;
    --secondary: #94a3b8;
    --accent: #eab308;
    /* Slightly brighter for dark theme contrast */
    --accent-hover: #facc15;
    --surface: #1e293b;
    --border: #334155;
    --white: #ffffff;
}

/* Base Reset & Smooth Scroll */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    /* Reduced transition overhead */
    transition: background-color 0.2s ease;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
    width: 100%;
}

/* CRITICAL FIX: Global Image Reset */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Global Link Reset */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Animation Utilities (Restored) */
[data-aos] {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0, 0) scale(1) !important;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

/* IDEA 6: Noise Overlay */
/* Noise Removed for Performance */
.noise-overlay {
    display: none;
}

.menu-close-btn {
    display: none;
    /* Hide on desktop */
}



/* Utility */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.section-badge {
    display: inline-block;
    background: rgba(202, 138, 4, 0.15);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid rgba(202, 138, 4, 0.2);
}

/* Header & Glass Menu */
.header {
    /* Performance: Removed backdrop-filter */
    background: rgba(15, 23, 42, 0.98);
    color: #ffffff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 0.5rem 0;
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Playfair Display', serif;
    text-decoration: none;
    z-index: 1002;
    /* Ensure logo is above mobile menu background if needed */
}

.logo i {
    color: var(--accent);
}

/* Lightbox Fixes */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    /* Above header */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 10002;
    transition: color 0.3s;
}

.close-lightbox:hover {
    color: var(--accent);
}

/* Navigation */
.nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    position: relative;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Menu & Hamburger */
.mobile-controls {
    display: none;
    align-items: center;
    gap: 15px;
    z-index: 1002;
}

.hamburger {
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* RESPONSIVE NAV Styles */
@media (max-width: 900px) {

    /* Breakpoint at 900px for tablets/mobile */
    .mobile-controls {
        display: flex;
    }

    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        /* Full width on mobile for better UX */
        max-width: 300px;
        /* Or max width of 300px sidebar */
        height: 100vh;
        background: #0f172a;
        /* Solid background to prevent see-through mess */
        flex-direction: column;
        justify-content: center;
        transition: right 0.3s ease-in-out;
        z-index: 1001;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
        padding: 2rem;
    }

    .nav-list.active {
        right: 0;
    }

    .menu-close-btn {
        position: absolute;
        top: 15px;
        right: 15px;
        background: rgba(0, 0, 0, 0.2);
        /* Semi-transparent background for visibility */
        border: none;
        color: #fff;
        /* Force white color */
        font-size: 1.5rem;
        cursor: pointer;
        padding: 5px;
        border-radius: 50%;
        transition: transform 0.2s;
        display: block;
        /* Ensure it shows on mobile */
    }

    .menu-close-btn:hover {
        background: rgba(0, 0, 0, 0.05);
        color: var(--accent);
    }

    .nav-item {
        margin: 1.5rem 0;
    }

    /* Hide desktop theme toggle when mobile controls show */
    .nav-list .desktop-theme-toggle {
        display: none;
    }

    .nav-link {
        font-size: 1.2rem;
        margin: 1rem 0;
        display: block;
    }
}


/* Global Height Reset */
html {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100%;
    margin: 0;
    padding: 0;
}

/* Hero Section - Aggressive Coverage Fix */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100vh;
    background-color: #0f172a !important;
    /* Force dark background if image fails */
    background-image: url('img/fondo.jpg') !important;
    background-position: center bottom !important;
    /* Stick to bottom */
    background-repeat: no-repeat !important;
    background-size: cover !important;
    /* Ensure it fills everything */
    background-attachment: scroll !important;
    /* Removed fixed as it causes coverage bugs */
    color: #ffffff;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
}

@media (max-width: 900px) {
    .hero {
        height: 100dvh !important;
        background-position: center bottom !important;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 15px;
    /* Ensure content doesn't touch edges */
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    /* Fluid Typography */
    margin-bottom: 1.5rem;
    color: #ffffff;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    display: block;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Satisfaction Badge (Previously Unstyled) */
.satisfaction-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(30, 41, 59, 0.9);
    /* Solid dark instead of blur */
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    margin: 1.5rem 0 2rem;
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
    animation: fadeIn 1s ease 0.5s backwards;
}

.satisfaction-badge i {
    color: var(--accent);
    font-size: 1.2rem;
}

.hero-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* Truck Animation */
.hero-truck {
    position: absolute;
    bottom: 50px;
    width: 250px;
    max-width: 40vw;
    /* Responsive width */
    z-index: 2;
    opacity: 0.9;
    right: -300px;
    animation: driveIn 4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    filter: brightness(0.9);
}

@media (max-width: 600px) {
    .hero-truck {
        width: 150px;
        /* Smaller truck on mobile */
        bottom: 90px;
    }
}

@keyframes driveIn {
    0% {
        right: -300px;
        transform: translateX(0);
    }

    100% {
        right: 50%;
        transform: translateX(50%);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(202, 138, 4, 0.4);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: #ffffff;
    color: #0f172a;
    transform: translateY(-3px);
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: transparent;
    /* No background here to avoid gaps */
    position: relative;
    z-index: 10;
    margin-top: 0;
    /* Remove overlap that caused the white bar */
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    /* Better sizing for mobile */
    gap: 2rem;
    border-radius: 20px;
    background: var(--background);
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

.stat-card {
    text-align: center;
    padding: 1rem;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    display: block;
}

/* Features */
.features {
    padding: 5rem 0;
    background: var(--background);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
        /* Force 1 column on small screens */
    }
}

.feature-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(202, 138, 4, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent);
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .icon-box {
    background: var(--accent);
    color: #fff;
    transform: rotateY(180deg);
}


/* About Section */
.about {
    padding: 5rem 0;
    background: var(--surface);
    overflow: hidden;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
        /* Stack vertically on mobile */
        gap: 2rem;
    }
}

.about-image .img-wrapper {
    width: 100%;
    height: 400px;
    /* Fixed height is okay if width is 100% */
    border-radius: 20px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.about-list {
    list-style: none;
    margin-top: 1.5rem;
}

.about-list li {
    margin-bottom: 0.8rem;
    display: flex;
    gap: 10px;
    align-items: center;
}

.about-list i {
    color: var(--accent);
}

/* Services */
/* Services */
.services {
    padding: 3rem 0;
    /* Reduced padding */
    background: var(--background);
}

@media(min-width: 601px) {
    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        /* Smaller min-width */
        gap: 1rem;
        /* Smaller gap */
    }
}

@media(min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width: 600px) {
    .services-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.service-card {
    padding: 1.5rem;
    /* Compact padding */
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-icon {
    font-size: 1.8rem;
    /* Smaller icon */
    margin-bottom: 0.8rem;
    color: var(--accent);
}

.service-card h3 {
    font-size: 1rem;
    /* Compact title */
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.service-card p {
    font-size: 0.85rem;
    /* Compact text */
    line-height: 1.4;
    color: var(--text);
    /* Use variable instead of hardcoded white */
    opacity: 0.8;
}

/* Ensure title is also visible */
.service-card h3 {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
}

@media(min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        /* Force 3 columns on large screens for 2 clean rows */
    }
}

@media(max-width: 600px) {
    .services-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.service-card {
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-icon {
    font-size: 2rem;
    /* Smaller icon */
    margin-bottom: 1rem;
    color: var(--accent);
}

.service-card h3 {
    font-size: 1.1rem;
    /* Compact title */
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.9rem;
    /* Compact text */
    line-height: 1.5;
}

/* Gallery */
.gallery {
    padding: 5rem 0;
    background: var(--surface);
    overflow: hidden;
}

.gallery-marquee {
    display: flex;
    width: 100%;
    overflow: hidden;
    margin-top: 2rem;
    position: relative;
}

.gallery-track {
    display: flex;
    gap: 15px;
    animation: scrollGallery 40s linear infinite;
}

.gallery-item {
    min-width: 250px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

@media(min-width: 768px) {
    .gallery-item {
        min-width: 300px;
        height: 250px;
    }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

@keyframes scrollGallery {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 4 - 60px));
    }
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.google-review-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
}

@media(max-width: 600px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog */
.blog-section {
    padding: 5rem 0;
    background: var(--background);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--surface);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.blog-img {
    height: 200px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

/* Blog Button Styling */
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: var(--background);
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(251, 192, 45, 0.4);
}

.blog-content {
    padding: 1.5rem;
}

/* Contact */
.contact {
    padding: 5rem 0;
    background: var(--surface);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--background);
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid var(--border);
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .map-box {
        height: 300px;
    }
}

.contact-info {
    padding: 3rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: rgba(202, 138, 4, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: #0f172a;
    color: #fff;
    padding: 4rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-logo i {
    color: var(--accent);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col a:hover {
    color: var(--accent);
    margin-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

/* Widgets */
.float-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-float {
    bottom: 30px;
    left: 30px;
    background: #25d366;
}

.phone-float {
    bottom: 100px;
    left: 30px;
    background: var(--accent);
}

.float-btn:hover {
    transform: scale(1.1);
}

.david-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: var(--surface);
    color: var(--text);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: none;
    max-width: 300px;
    border: 1px solid var(--border);
    animation: slideInWidget 0.5s ease;
}

@keyframes slideInWidget {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.widget-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    float: left;
    margin-right: 15px;
}

.widget-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.online-dot {
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    border: 2px solid var(--surface);
}

.widget-name {
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.widget-btn {
    display: inline-block;
    background: #25d366;
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    text-decoration: none;
    margin-top: 8px;
    font-weight: 500;
}

.close-widget {
    position: absolute;
    top: 5px;
    right: 8px;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--secondary);
}

/* Progress Button Styles from implementation plan are preserved via 'progress-wrap' classes below */
.progress-wrap {
    position: fixed;
    right: 30px;
    bottom: 30px;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 200ms linear;
    display: flex;
    /* Flexbox to center the icon */
    align-items: center;
    justify-content: center;
    color: var(--accent);
    /* Color for the icon */
    text-align: center;
}

.progress-wrap i {
    position: absolute;
    /* Changed to absolute to ignore flex gaps */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    /* Ensure icon has size */
    z-index: 2;
    /* Ensure it's above SVG background */
    margin: 0;
    padding: 0;
    line-height: 1;
}

.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.progress-wrap::after {
    display: none;
    /* Completely hide the duplicate pseudo-element arrow */
}

.progress-circle path {
    fill: none;
    stroke: var(--accent);
    stroke-width: 4;
    box-sizing: border-box;
    transition: all 200ms linear;
}

/* Tilt & Effect Classes */
.tilt-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tilt-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gradient-border {
    position: relative;
    background-clip: padding-box;
    border: 1px solid transparent;
}

.gradient-border::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(45deg, var(--accent), transparent, var(--accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.gradient-border:hover::before {
    opacity: 1;
}

/* --- MISSING SECTIONS RESTORATION --- */

/* Team Section */
.team {
    padding: 5rem 0;
    background: var(--background);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--surface);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.team-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.team-card:hover::before {
    opacity: 0.05;
}

.team-card>* {
    position: relative;
    z-index: 1;
}

.team-img-placeholder {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #fff;
    font-size: 2.22rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
}

.team-card:hover .team-img-placeholder {
    transform: scale(1.1) rotate(5deg);
}

.team-img-placeholder.david {
    background: linear-gradient(135deg, var(--accent), #b45309);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.team-info h3 {
    margin-bottom: 0.5rem;
    color: var(--text);
    font-size: 1.25rem;
}

.team-info .role {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.team-info .desc {
    font-size: 0.9rem;
    color: var(--secondary);
}

/* Reviews Premium Styling */
.google-rating-badge {
    background: #fff;
    color: #000;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 10px 25px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
    border: 1px solid #e0e0e0;
}

.google-rating-badge .stars {
    color: #FBC02D;
    letter-spacing: 2px;
    font-weight: bold;
    font-size: 1.2rem;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.reviewer-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
    font-size: 1.2rem;
}

.reviewer-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
    color: var(--text);
}

.review-date {
    font-size: 0.8rem;
    color: var(--secondary);
    opacity: 0.8;
}

.google-icon {
    margin-left: auto;
    color: #DB4437;
    font-size: 1.2rem;
}

.review-text {
    font-style: italic;
    color: var(--secondary);
    line-height: 1.6;
}

/* FAQ Accordion Styling */
.faq-section {
    padding: 5rem 0;
    background: var(--surface);
}

.faq-grid {
    display: grid;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--background);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--text);
}

.faq-question h3 {
    font-size: 1.1rem;
    margin: 0;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--secondary);
}

.faq-item.active {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--accent);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 150px;
    padding-bottom: 1.5rem;
}

/* SEO Areas Section */
.seo-areas {
    padding: 4rem 0;
    background-color: var(--surface);
    color: var(--text);
    border-top: 1px solid var(--border);
    transition: var(--transition);
}

.seo-areas h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.seo-areas p {
    color: var(--secondary);
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.05rem;
}

.seo-areas strong {
    color: var(--text);
    font-weight: 600;
}

/* Socials Section */
.socials-section {
    padding: 3rem 0;
    background: var(--background);
}

.socials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.social-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1.5rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    color: #fff;
    transition: transform 0.2s;
    min-height: 56px;
    /* Ensure good touch target */
}



.social-card i {
    font-size: 1.5rem;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Brand Colors */
.social-card.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.social-card.facebook {
    background: #1877F2;
}

.social-card.tiktok {
    background: #000000;
}

.social-card.youtube {
    background: #FF0000;
}

/* Responsive Adjustments for new sections */
@media (max-width: 768px) {
    .google-rating-badge {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
        text-align: center;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    .socials-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Why Choose Us Section */
/* Why Choose Us Section - ALWAYS DARK for Premium Look */
/* Why Choose Us Section - Adaptive */
.why-choose-us {
    padding: 6rem 0;
    background: var(--background);
    /* Adaptive background */
    position: relative;
    overflow: hidden;
}

.why-choose-us .section-badge {
    background: rgba(202, 138, 4, 0.15);
    color: var(--accent);
    border: 1px solid rgba(202, 138, 4, 0.2);
}

.why-choose-us h2,
.why-choose-us .lead,
.why-choose-us p {
    color: var(--text);
    /* Adaptive text */
}

.why-choose-us .lead {
    opacity: 0.9;
}

.why-choose-us p {
    opacity: 0.8;
}

.features-grid-small {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item-small {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--card-bg);
    /* Adaptive background */
    border-radius: 12px;
    border: 1px solid var(--border);
    /* Adaptive border */
    transition: all 0.3s ease;
}

.feature-item-small:hover {
    transform: translateY(-5px);
    background: var(--card-bg);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-item-small i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 0.2rem;
}

.feature-item-small h4 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: var(--text);
    /* Adaptive text */
}

.feature-item-small p {
    font-size: 0.9rem;
    color: var(--text);
    /* Adaptive text */
    line-height: 1.4;
    margin: 0;
    opacity: 0.8;
}

/* Visual Stats Card in Why Choose Us - ALWAYS DARK for contrast */
.stats-card-visual {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    height: 100%;
    min-height: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.stat-visual-item {
    text-align: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-visual-item:last-child {
    border-bottom: none;
}

.stat-visual-item h3 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.stat-visual-item p {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    opacity: 0.8;
}

@media(max-width: 900px) {
    .stats-card-visual {
        min-height: auto;
        padding: 2rem;
        margin-top: 2rem;
    }
}

/* Theme Toggle Button */
.theme-btn {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

/* Force WHITE color for button inside the dark header */
.header .theme-btn,
.mobile-controls .theme-btn {
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.theme-btn:hover {
    transform: rotate(15deg);
    border-color: var(--accent);
    color: var(--accent);
}

/* Specific hover for header button */
.header .theme-btn:hover,
.mobile-controls .theme-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
}

/* Mobile specific adjustment */
.mobile-controls .theme-btn {
    margin-right: 15px;
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
}