/* =========================================
   DESIGN SYSTEM & VARIABLES (LIGHT MODE MINIMAL)
   ========================================= */
:root {
    color-scheme: light;
    
    /* Branding Colors based on Logo */
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;            /* Subtle light gray for section separation */
    --color-bg-card: #ffffff;

    --color-primary: #4a6cf7;           /* Vibrant Blue from Logo */
    --color-primary-light: #708bfb;
    --color-primary-dark: #2c4ad6;
    
    /* Glowing Effects */
    --color-primary-glow: rgba(74, 108, 247, 0.15);
    --color-primary-glow-heavy: rgba(74, 108, 247, 0.4);

    /* Charcoal Dark Grey Typography from Logo */
    --color-text-primary: #2c323f;
    --color-text-secondary: #5c6479;
    --color-text-muted: #8b95a5;

    --color-border: rgba(0, 0, 0, 0.06);
    --color-border-hover: rgba(74, 108, 247, 0.25);
    --color-border-focus: rgba(74, 108, 247, 0.4);

    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.05);
    --glass-hover-bg: #ffffff;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-2xl: 8rem;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 700;
    color: var(--color-text-primary);
}

h1 {
    font-size: clamp(2.4rem, 5.2vw, 4rem);
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(1.85rem, 3.5vw, 2.5rem);
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-fast);
    cursor: pointer;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-sm {
    max-width: 800px;
}

.section {
    padding: var(--space-2xl) 0;
    position: relative;
    z-index: 1;
    background-color: var(--color-bg);
}

/* Alternate light background for design depth */
.section-alt {
    background-color: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.text-gradient {
    color: var(--color-primary);
}

.text-blue {
    color: var(--color-primary);
}

.text-center {
    text-align: center;
}

/* =========================================
   COMPONENTS
   ========================================= */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 500;
    border-radius: 9999px;
    transition: all var(--transition-bounce);
    cursor: pointer;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(100%);
    transition: transform var(--transition-fast);
    z-index: -1;
}

.btn:hover::before {
    transform: translateY(0);
}

.btn.sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.875rem;
}

.btn.base {
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
}

.btn.lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Siguiente / Next-step buttons in multi-step form */
.next-step-btn {
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 10px 30px rgba(74, 108, 247, 0.45); /* Glowing blue shadow! */
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(74, 108, 247, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    background: rgba(74, 108, 247, 0.03);
    transform: translateY(-2px);
}

.w-full {
    width: 100%;
}

/* Floating Glass Cards */
.glass-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.01);
    transition: all var(--transition-base);
}

.glass-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-border-hover);
    box-shadow: 0 20px 40px var(--color-primary-glow), 0 1px 3px rgba(0, 0, 0, 0.01);
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(74, 108, 247, 0.06);
    border: 1px solid rgba(74, 108, 247, 0.12);
    border-radius: 9999px;
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pulse {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(74, 108, 247, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 8px rgba(74, 108, 247, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(74, 108, 247, 0);
    }
}

/* =========================================
   LAYOUT
   ========================================= */

/* Header / Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: all var(--transition-base);
    padding: 1.5rem 0;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-icon {
    width: auto;
    object-fit: contain;
    transition: all var(--transition-base);
    filter: drop-shadow(0 0 0px rgba(74, 108, 247, 0));
}

.navbar .logo-icon {
    height: 48px;  /* Good visible size in header navigation */
}

.footer-brand .logo-icon {
    height: 60px;  /* Good visible size in footer */
}

.brand-logo:hover .logo-icon {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px rgba(74, 108, 247, 0.45));
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-link {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-primary);
    cursor: pointer;
    font-size: 1.5rem;
    outline: none;
    transition: transform var(--transition-fast);
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

/* =========================================
   SECTIONS
   ========================================= */

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 7rem;
    padding-bottom: 4rem;
    overflow: hidden;
    background-color: var(--color-bg);
}

/* Subtle light glow elements in background */
.glow-bg {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(74, 108, 247, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.glow-bg.top-right {
    top: -100px;
    right: -100px;
}

.glow-bg.bottom-left {
    bottom: -150px;
    left: -100px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 1;
}

.hero-content {
    max-width: 650px;
}

.hero-subtitle {
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    color: var(--color-text-secondary);
    margin: 1.5rem 0 2.5rem;
    max-width: 560px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 440px;
    height: 440px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper .hero-image {
    width: 480px;
    height: 480px;
    object-fit: contain;
    z-index: 5;
    background: transparent;
    filter: drop-shadow(0 15px 35px rgba(74, 108, 247, 0.35)) drop-shadow(0 5px 15px rgba(0, 0, 0, 0.08));
    transition: transform var(--transition-slow);
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.03) rotate(2deg);
}

.radar-background {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 580px;
    height: 500px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

/* Bright blue glow/trail behind the glass ring */
.hero-image-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 108, 247, 0.45) 0%, transparent 60%);
    z-index: 2;
    filter: blur(10px);
    opacity: 0.85;
}

.floating-process-badge {
    position: absolute;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 1rem; /* 16px rounded corners */
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06); /* Soft, diffuse bottom shadow */
    z-index: 10;
    transition: all var(--transition-bounce);
    width: 200px;
}

.floating-process-badge:hover {
    transform: scale(1.05) translateY(-3px);
    border-color: rgba(74, 108, 247, 0.2);
    box-shadow: 0 15px 35px rgba(74, 108, 247, 0.15); /* Soft blue glow on hover */
    background: #ffffff;
}

.badge-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f3f9; /* Light gray background circle */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.badge-icon-wrapper i {
    width: 18px;
    height: 18px;
}

.floating-process-badge:hover .badge-icon-wrapper {
    background: var(--color-primary);
    color: white;
}

.badge-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.badge-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.2;
}

.badge-desc {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    line-height: 1.2;
}

/* Positioning matching the Gemini Sketch */
.badge-top-left {
    top: 5%;
    left: -8%;
}

.badge-top-right {
    top: 12%;
    right: -8%;
}

.badge-bottom-left {
    bottom: 12%;
    left: -8%;
}

.badge-bottom-right {
    bottom: 5%;
    right: -8%;
}

/* Adjust size for tablet and mobile screens */
@media (max-width: 991px) {
    .badge-top-left { left: -5%; }
    .badge-top-right { right: -5%; }
    .badge-bottom-left { left: -5%; }
    .badge-bottom-right { right: -5%; }
}

@media (max-width: 768px) {
    .hero-image-wrapper {
        max-width: 340px;
        height: 340px;
        margin-top: 2rem;
    }
    
    .hero-image-wrapper .hero-image {
        width: 240px;
        height: 240px;
    }
    
    .hero-image-glow {
        width: 280px;
        height: 280px;
    }
    
    .floating-process-badge {
        width: 170px;
        padding: 0.5rem 0.8rem;
        border-radius: 1rem;
    }
    
    .badge-title {
        font-size: 0.85rem;
    }
    
    .badge-desc {
        font-size: 0.65rem;
    }
    
    .badge-top-left { top: 2%; left: -8%; }
    .badge-top-right { top: 12%; right: -8%; }
    .badge-bottom-left { bottom: 12%; left: -8%; }
    .badge-bottom-right { bottom: 2%; right: -8%; }
}

.float-animation {
    animation: float-card 6s ease-in-out infinite;
}

.float-animation-reverse {
    animation: float-card-reverse 6s ease-in-out infinite;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes float-card-reverse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(12px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-text-secondary);
    animation: bounce 2s infinite;
    z-index: 10;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* Services Section */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.section-header p {
    color: var(--color-text-secondary);
    margin-top: 1rem;
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    line-height: 1.6;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 45px;
}

.services-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    gap: 2rem;
    padding: 1rem 0;
}

.services-carousel::-webkit-scrollbar {
    display: none;
}

.service-slide {
    flex: 0 0 100%;
    scroll-snap-align: center;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 1.75rem;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.01);
    transition: all var(--transition-base);
}

.service-slide:hover {
    border-color: var(--color-border-hover);
    box-shadow: 0 20px 45px var(--color-primary-glow);
    transform: translateY(-5px);
}

@media (min-width: 768px) {
    .service-slide {
        flex-direction: row;
        align-items: center;
    }
    .service-image {
        flex: 1.1;
    }
    .service-content {
        flex: 0.9;
    }
}

.service-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.2 / 1;
    object-fit: cover;
    border-radius: 1.25rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid var(--color-border);
    filter: grayscale(85%) contrast(1.08) brightness(98%);
    transition: all var(--transition-slow);
}

.service-slide:hover .service-image img {
    filter: grayscale(35%) contrast(1.08) brightness(98%);
    transform: scale(1.02);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(74, 108, 247, 0.05);
    border: 1px solid rgba(74, 108, 247, 0.12);
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    transition: all var(--transition-base);
}

.service-slide:hover .service-icon {
    background: var(--color-primary);
    color: white;
    border-color: transparent;
    transform: rotate(5deg) scale(1.05);
}

.service-content h3 {
    font-size: 1.85rem;
    margin-bottom: 1.25rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: clamp(1.05rem, 2vw, 1.25rem); /* Increased size! */
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.service-features i {
    color: var(--color-primary);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    color: var(--color-text-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all var(--transition-base);
}

.carousel-arrow:hover {
    background: var(--color-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-50%) scale(1.08);
}

.prev-arrow { left: -10px; }
.next-arrow { right: -10px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot.active {
    background: var(--color-primary);
    width: 24px;
    border-radius: 5px;
}

/* About Section */
.about-section {
    background: radial-gradient(circle at 80% 80%, rgba(74, 108, 247, 0.02) 0%, var(--color-bg) 90%);
}

.about-badge {
    display: inline-flex;
    padding: 0.75rem 2rem;
    background: var(--color-primary);
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 700;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 10px 30px rgba(74, 108, 247, 0.45); /* Glowing blue shadow! */
    transition: all var(--transition-base);
}

.about-badge:hover {
    transform: scale(1.03) translateY(-2px);
    box-shadow: 0 15px 40px rgba(74, 108, 247, 0.6);
}

.about-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    font-weight: 500;
    line-height: 1.75;
    color: var(--color-text-primary);
    max-width: 950px;
    margin: 0 auto;
}

/* Testimonials / Google Reviews Section */
.testimonials-section {
    background-color: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.testimonial-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 1.75rem;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    scroll-snap-align: center;
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    border-color: var(--color-border-hover);
    box-shadow: 0 20px 40px var(--color-primary-glow);
    transform: translateY(-5px);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
}

.google-badge {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    font-weight: 500;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.star-filled {
    color: #fbbf24; /* Google Star Gold */
    fill: #fbbf24;
    width: 16px;
    height: 16px;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.65;
    font-style: italic;
    color: var(--color-text-secondary);
    flex-grow: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.client-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.avatar-orange { background: #ea580c; }
.avatar-blue { background: #2563eb; }
.avatar-pink { background: #db2777; }

.client-info h4 {
    font-size: 1.05rem;
    color: var(--color-text-primary);
    font-weight: 600;
}

.client-role {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 0.1rem;
}

.badge-local-guide {
    color: #f97316;
    font-weight: 600;
}

/* FAQ Section */
.faq-section {
    background: radial-gradient(circle at 10% 90%, rgba(74, 108, 247, 0.02) 0%, var(--color-bg) 90%);
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: var(--space-lg);
}

.faq-item {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 1.25rem;
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: rgba(0, 0, 0, 0.12);
}

.faq-item.faq-open {
    border-color: var(--color-primary);
    box-shadow: 0 10px 25px var(--color-primary-glow);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    color: var(--color-text-primary);
    outline: none;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    padding-right: 1.5rem;
}

.faq-icon {
    color: var(--color-primary);
    transition: transform var(--transition-bounce);
    flex-shrink: 0;
}

.faq-item.faq-open .faq-icon {
    transform: rotate(45deg);
    color: var(--color-primary-light);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base) ease-out;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA / Contact Section */
.cta-section {
    background-color: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
}

.cta-section .glass-panel {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 2.25rem;
    padding: 3.5rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.03);
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--color-text-secondary);
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    margin-bottom: 3rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Multi-Step Form */
.multi-step-form {
    max-width: 550px;
    margin: 0 auto;
    text-align: left;
}

.form-step {
    display: none;
    flex-direction: column;
    gap: 1.75rem;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.form-step.active {
    display: flex;
    opacity: 1;
    animation: fadeInUp 0.4s ease forwards;
}

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

.step-question {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-primary);
    line-height: 1.35;
}

.form-group {
    position: relative;
    width: 100%;
}

.form-group input {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: rgba(0, 0, 0, 0.01);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    outline: none;
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.form-group input:focus {
    border-color: var(--color-primary);
    background: white;
    box-shadow: 0 0 15px var(--color-primary-glow);
}

.form-group label {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    transition: all var(--transition-base);
    pointer-events: none;
    font-size: 1rem;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
    top: -8px;
    left: 1rem;
    font-size: 0.78rem;
    padding: 0 0.5rem;
    background: white;
    color: var(--color-primary);
    border-radius: 4px;
}

.step-actions {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.step-actions .btn-outline {
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Radio buttons choice styles */
.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
}

@media (min-width: 480px) {
    .options-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.radio-card {
    position: relative;
    cursor: pointer;
}

.radio-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-content {
    display: block;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.01);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: all var(--transition-base);
}

.radio-card:hover .radio-content {
    border-color: rgba(0, 0, 0, 0.15);
}

.radio-card input:checked + .radio-content {
    border-color: var(--color-primary);
    background: rgba(74, 108, 247, 0.05);
    color: var(--color-primary);
    box-shadow: 0 0 15px rgba(74, 108, 247, 0.08);
}

.hidden-unless-selected {
    opacity: 0.3;
    pointer-events: none;
}

.hidden-unless-selected.active {
    opacity: 1;
    pointer-events: auto;
}

.error-shake {
    animation: shake 0.4s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-8px); }
    40%, 80% { transform: translateX(8px); }
}

.form-progress {
    display: flex;
    align-items: center;
    margin-top: 3rem;
    width: 100%;
}

.progress-bar-container {
    height: 4px;
    background: rgba(0,0,0,0.06);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 20%;
    background: var(--color-primary);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.success-state {
    background: #10b981 !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3) !important;
}

.spin {
    animation: spin-anim 1s linear infinite;
    display: inline-block;
}

@keyframes spin-anim {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    background-color: var(--color-bg);
    border-top: 1px solid var(--color-border);
    padding: var(--space-xl) 0 var(--space-lg);
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.footer-brand {
    max-width: 320px;
}

.footer-brand p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    margin-top: 1rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.link-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-column h4 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.link-column a {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

.link-column a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* =========================================
   SCROLL REVEAL & FADE EFFECTS
   ========================================= */
.reveal {
    position: relative;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpAnim 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: var(--delay, 0s);
}

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

.fade-in {
    opacity: 0;
    animation: fadeInAnim 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: var(--delay, 0s);
}

@keyframes fadeInAnim {
    to { opacity: 1; }
}

/* =========================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================= */

@media (max-width: 991px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        height: 400px;
    }

    .c1 {
        width: 280px;
        height: 280px;
    }

    .c2 {
        width: 340px;
        height: 340px;
    }

    .c3 {
        width: 400px;
        height: 400px;
    }
    
    .card-roi {
        left: 5%;
        top: 10%;
    }
    
    .card-cpa {
        right: 5%;
        bottom: 10%;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        height: 100vh;
        padding-top: 5.5rem;
        padding-bottom: 0.5rem;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        overflow: hidden;
    }
    
    .hero-container {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        gap: 0.25rem;
        text-align: center;
        align-content: start;
        height: 100%;
        padding: 0 1rem;
        padding-top: 0.5rem;
    }

    .hero-content {
        display: contents; /* Allows children to participate directly in the grid ordering */
    }

    .hero-container h1 {
        grid-row: 1;
        font-size: 2.1rem !important;
        margin-bottom: 0.25rem !important;
        line-height: 1.15 !important;
    }

    .hero-container .hero-subtitle {
        grid-row: 2;
        font-size: 0.85rem !important;
        margin: 0.25rem auto 0.5rem auto !important;
        line-height: 1.3 !important;
        max-width: 90%;
    }

    .hero-container .hero-visual {
        grid-row: 3;
        height: 200px !important;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 0 !important;
    }

    .hero-container .hero-actions {
        grid-row: 4;
        margin-top: 2.5rem !important;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .hero-container .hero-actions .btn {
        width: 85% !important;
        max-width: 340px;
        margin: 0 auto !important;
        padding: 0.85rem 1.25rem !important;
        font-size: 0.95rem !important;
        text-align: center;
    }

    .hero-image-wrapper {
        max-width: 240px !important;
        height: 240px !important;
    }
    
    .hero-image-wrapper .hero-image {
        width: 170px !important;
        height: 170px !important;
    }
    
    .hero-image-glow {
        width: 200px !important;
        height: 200px !important;
    }

    /* Adjust size and positions of floating badges to fit mobile screen */
    .floating-process-badge {
        width: 125px !important;
        padding: 0.35rem 0.6rem !important;
        border-radius: 0.75rem !important;
        gap: 0.4rem !important;
        box-shadow: 0 5px 15px rgba(74, 108, 247, 0.15) !important;
    }
    
    .badge-icon-wrapper {
        width: 24px !important;
        height: 24px !important;
    }
    
    .badge-icon-wrapper i {
        width: 12px !important;
        height: 12px !important;
    }
    
    .badge-title {
        font-size: 0.7rem !important;
    }
    
    .badge-desc {
        display: none !important; /* Hide description on mobile to save space! */
    }
    
    .badge-top-left {
        top: 8% !important;
        left: -4% !important;
    }
    
    .badge-top-right {
        top: 18% !important;
        right: -4% !important;
    }
    
    .badge-bottom-left {
        bottom: 18% !important;
        left: -4% !important;
    }
    
    .badge-bottom-right {
        bottom: 8% !important;
        right: -4% !important;
    }

    .scroll-indicator {
        display: none !important; /* Hide scroll indicator on mobile to save vertical space! */
    }

    .section {
        padding: var(--space-xl) 0;
    }

    .section-header {
        margin-bottom: 1.5rem !important;
    }

    .navbar {
        padding: 1.25rem 0;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--color-border);
    }

    .navbar:not(.scrolled) {
        background: rgba(255, 255, 255, 0.85);
    }

    .mobile-menu-btn {
        display: block;
    }

    .desktop-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        border-left: 1px solid var(--color-border);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 99;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
        padding: 2rem;
    }

    .desktop-nav.active {
        right: 0;
    }

    .desktop-nav .nav-link {
        font-size: 1.15rem;
    }

    .desktop-nav .btn {
        width: 100%;
        margin-top: 1.5rem;
    }

    .carousel-container {
        padding: 0 10px;
    }

    .service-slide {
        padding: 2rem;
        gap: 2rem;
    }

    .carousel-arrow {
        display: none; /* Swipe natively on mobile */
    }

    .services-carousel {
        gap: 1rem;
    }

    .cta-section .glass-panel {
        padding: 2.5rem 1.5rem;
    }

    .footer-links {
        gap: 2rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        margin: 1.25rem 0 2rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-visual {
        height: 320px;
    }

    .c1 {
        width: 220px;
        height: 220px;
    }

    .c2, .c3 {
        display: none; /* Hide decorative circles to simplify on tiny screens */
    }

    .floating-metrics-card {
        padding: 0.6rem 0.8rem;
    }

    .metrics-val {
        font-size: 1.1rem;
    }

    .metrics-lbl {
        font-size: 0.7rem;
    }
    
    .card-roi {
        left: -2%;
        top: 15%;
    }
    
    .card-cpa {
        right: -2%;
        bottom: 15%;
    }

    .service-slide {
        padding: 1.5rem;
    }

    .service-content h3 {
        font-size: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-text {
        font-size: 0.95rem;
    }

    .faq-question {
        padding: 1.25rem;
    }

    .faq-question h3 {
        font-size: 1.05rem;
    }

    .faq-answer p {
        padding: 0 1.25rem 1.25rem 1.25rem;
    }
}

/* =========================================
   CLIENT ADS INFINITE MARQUEE SLIDER
   ========================================= */
.ads-marquee-section {
    overflow: hidden;
    padding: 5rem 0;
    background-color: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 1.5rem 0;
}

/* Fade gradients on the edges of the marquee for premium visual finish */
.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, var(--color-bg-alt) 0%, rgba(255,255,255,0) 100%);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(270deg, var(--color-bg-alt) 0%, rgba(255,255,255,0) 100%);
}

.marquee-track {
    display: flex;
    gap: 2.5rem;
    width: max-content;
    animation: marquee-scroll 35s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-item {
    flex-shrink: 0;
}

.marquee-item img {
    height: 380px;  /* Standard height for ads */
    width: 304px;   /* Exact 4:5 aspect ratio width */
    object-fit: cover;
    border-radius: 1.25rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--color-border);
    filter: grayscale(85%) contrast(1.08) brightness(98%);
    transition: all var(--transition-bounce);
}

.marquee-item:hover img {
    filter: grayscale(10%) contrast(1.08) brightness(98%);
    transform: scale(1.04) translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 15px 40px rgba(74, 108, 247, 0.25);
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-304px * 6 - 2.5rem * 6)); /* Scrolls exactly one full loop length */
    }
}

/* Adjust size for mobile screens */
@media (max-width: 768px) {
    .marquee-item img {
        height: 280px;
        width: 224px;  /* Maintain 4:5 ratio on mobile */
    }
    
    @keyframes marquee-scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-224px * 6 - 2.5rem * 6));
        }
    }
}

/* =========================================
   METRICS COUNTER GRID
   ========================================= */
.metrics-counter-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 750px;
    margin: 0 auto 2.5rem auto;
    padding: 1.25rem 2rem;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 1.25rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.01), 0 1px 3px rgba(0, 0, 0, 0.01);
    transition: all var(--transition-base);
}

.metrics-counter-grid:hover {
    transform: translateY(-2px);
    border-color: var(--color-border-hover);
    box-shadow: 0 10px 25px var(--color-primary-glow);
}

.counter-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.counter-num {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.1;
    letter-spacing: -0.01em;
    filter: drop-shadow(0 2px 6px rgba(74, 108, 247, 0.1));
}

.counter-lbl {
    font-family: var(--font-body);
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-top: 0.5rem;
}

.counter-divider {
    width: 1px;
    height: 40px;
    background-color: var(--color-border);
    margin: 0 1.5rem;
}

/* Responsive grid for mobile viewports */
@media (max-width: 768px) {
    .metrics-counter-grid {
        flex-direction: column;
        gap: 1.25rem;
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    .counter-divider {
        width: 60%;
        height: 1px;
        margin: 0.25rem 0;
    }
}