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

/* 
   Anahata Consultancy - Main Stylesheet
   Theme: Medical, Professional, Teal Gradient, Subtle Lotus
*/

:root {
    --primary-teal: #00897b;
    --dark-teal: #004d40;
    --light-teal: #4db6ac;
    --accent-gold: #c0a16b;

    /* New Premium Palette */
    --premium-dark: #002b24;
    /* Deep rich green/black base */
    --premium-green: #004d40;
    /* Emerald/Jewel tone */
    --premium-light: #e0f2f1;
    /* Softest green/white */
    --premium-accent: #b2dfdb;
    /* Muted teal */
    --premium-gold-light: #d4af37;
    /* Metallic gold */

    --text-dark: #1a202c;
    --text-gray: #4a5568;
    --bg-light: #f7fafc;
    --white: #ffffff;
    --gradient-hero: linear-gradient(135deg, #002b24 0%, #004d40 100%);
    /* Deep Green Gradient */

    --font-primary: 'Outfit', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --surface-soft: #f4fbf8;
    --line-soft: rgba(5, 40, 33, 0.12);

    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;

    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

/* Reading Progress Bar */
.progress-bar {
    position: fixed;
    top: 0; /* positioned via JS to sit directly under header */
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-teal), var(--light-teal));
    width: 0%;
    z-index: 1001;
    transition: width 0.12s linear, top 0.12s ease;
    box-shadow: 0 2px 8px rgba(0, 137, 123, 0.18);
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--spacing-md);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-teal);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(0, 137, 123, 0.2);
}

.btn-primary:hover {
    background-color: var(--dark-teal);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
}

.btn-secondary:hover {
    background-color: var(--primary-teal);
    color: var(--white);
}

.btn-submit {
    background-color: var(--text-dark);
    color: var(--white);
    width: 100%;
}

.btn-submit:hover {
    background-color: #000;
}

.btn-whatsapp-group {
    background-color: #25D366;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
}

.btn-whatsapp-group:hover {
    background-color: #128C7E;
}

/* A) Top Bar */
.top-bar {
    background-color: var(--primary-teal);
    color: var(--white);
    font-size: 0.85rem;
    padding: 0.5rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Navigation */
.main-nav {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-teal);
    letter-spacing: -0.5px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-teal);
    cursor: pointer;
}

.nav-links a.active {
    color: var(--primary-teal);
    font-weight: 600;
}

.nav-cta {
    background-color: var(--dark-teal);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.nav-cta:hover {
    background-color: var(--primary-teal);
}

/* B) Hero Section */
.hero-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    background: var(--gradient-hero);
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle Lotus placeholder - can use SVG or radial gradient */
    opacity: 0.1;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 0 C20 40 0 50 50 100 C100 50 80 40 50 0 Z" fill="%23004d40"/></svg>');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-headline {
    font-size: 3.5rem;
    color: var(--dark-teal);
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.hero-subheadline {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-teal);
    margin-bottom: 2rem;
    font-family: serif;
    /* Optional for contrast */
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* C) Core Services Section */
.services-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    color: var(--dark-teal);
    margin: 0 auto 3rem;
    position: relative;
    display: block;
    width: fit-content;
    max-width: 100%;
    left: auto;
    transform: none;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-teal);
    margin: 10px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #edf2f7;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--light-teal);
}

.service-card .icon {
    font-size: 2rem;
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 0.5rem;
    color: var(--dark-teal);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 0;
}

/* D) Lead Capture Section */
.lead-capture-section {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.lead-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.form-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
}

.form-container h3 {
    color: var(--dark-teal);
    margin-bottom: 0.5rem;
}

.form-sub {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.25rem;
}

.contact-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(77, 182, 172, 0.2);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.whatsapp-groups-card {
    text-align: center;
    background: #eaffee;
    /* Light green tint */
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #c6f6d5;
    max-width: 600px;
    margin: 0 auto;
}

.audit-note {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 1rem;
    font-style: italic;
}

/* E) Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    transition: transform 0.3s;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

/* Footer */
.site-footer {
    position: relative;
    background: linear-gradient(135deg, var(--dark-teal) 0%, #003d36 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: 4rem 0 2rem;
    text-align: left;
    overflow: hidden;
}

/* Animated footer background */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(77, 182, 172, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 137, 123, 0.08) 0%, transparent 50%);
    animation: footerFloat 15s ease-in-out infinite;
    z-index: 0;
}

@keyframes footerFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, -10px); }
}

.site-footer > * {
    position: relative;
    z-index: 1;
}

/* Impact Page Styles */
.impact-hero {
    background-color: var(--primary-teal);
    color: white;
    padding: 6rem 0 3rem;
    text-align: center;
}

.impact-hero .page-title {
    font-size: 3rem;
    color: white;
}

.impact-hero .page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.stats-section {
    padding: 4rem 0;
    background-color: var(--white);
    margin-top: -3rem;
    /* Overlap effect */
    border-radius: 20px 20px 0 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
    box-shadow: var(--shadow-card);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 0.5rem;
}

.stats-label {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Careers CTA Section */
.careers-cta-section {
    background-color: var(--primary-teal);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.careers-cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.careers-cta-section p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

.careers-cta-section .btn-primary {
    background-color: var(--white);
    color: var(--primary-teal);
    border: none;
}

.careers-cta-section .btn-primary:hover {
    background-color: var(--dark-teal);
    color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        text-align: center;
        gap: 1.5rem;
    }

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

    .hero-headline {
        font-size: 2.5rem;
    }

    .hero-ctas {
        flex-direction: column;
    }
}

/* Theme Toggle Positioning */
.nav-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Ensure Nav Links take up available space or sit in center, 
   but we want valid structure. 
   Let's make logo left, nav links center/right, and toggle far right.
*/
.logo {
    margin-right: auto;
    /* Push everything else to the right */
}

/* Ensure consistent ordering so language selector appears left of menu */
.logo { order: 1; }
.nav-right { order: 2; display: flex; align-items: center; }
.mobile-menu-btn { order: 3; }
.nav-links { order: 4; }

/* Desktop: Nav Links visible */
.nav-links {
    margin-right: 1.5rem;
}

/* Mobile: Mobile Menu Btn visible */
.mobile-menu-btn {
    margin-right: 1rem;
}

.theme-toggle {
    /* Always on the right */
    order: 3;
    margin-left: 0;
}

@media (max-width: 768px) {
    .theme-toggle {
        margin-right: 0.5rem;
    }
}

/* Hero - Clean, Minimal Premium */
.hero-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    background: #ffffff;
    color: var(--dark-teal);
}

/* Minimal green background shapes/animations */
.hero-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle at 30% 30%, rgba(0, 137, 123, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatPos 20s ease-in-out infinite;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -8%;
    left: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle at 60% 50%, rgba(77, 182, 172, 0.06) 0%, transparent 65%);
    border-radius: 50%;
    animation: floatPos 25s ease-in-out infinite reverse;
    z-index: 0;
}

@keyframes floatPos {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -30px); }
}

.hero-grid { position: relative; z-index: 1; }

/* Hero grid layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 2.5rem;
    align-items: center;
}
.hero-left { text-align:left; }
.hero-right { display:flex; justify-content:center; }
.hero-image {
    width:100%;
    height:420px;
    object-fit:contain;
    border-radius:12px;
    box-shadow: 0 12px 40px rgba(2,6,23,0.12);
    transform-origin:center;
    transition: transform 0.45s ease;
}
.media-caption { font-size:0.9rem; color: var(--text-gray); margin-top:0.5rem; text-align:center; }


.hero-highlights { list-style: none; display:flex; gap:1rem; margin-top:1.25rem; }
.hero-highlights li { background: rgba(0, 137, 123, 0.08); padding:0.5rem 0.75rem; border-radius:999px; color: var(--dark-teal); font-weight:600; font-size:0.95rem; border: 1px solid rgba(0, 137, 123, 0.15); }

/* Section reveal animation */
.reveal { opacity:0; transform: translateY(20px); transition: all 0.8s cubic-bezier(.2,1,.3,1); }
.reveal.in-view { opacity:1; transform: none; }

/* Team / case grid tweaks */
.case-card img { display:block; }

/* Partners */
.partners-grid img { filter: grayscale(40%); opacity:0.95; }

/* Stats number animation style */
.stat-number { font-size: 2.2rem; font-weight:800; color:var(--primary-teal); }

/* Newsletter inline form on mobile */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap:1.25rem; }
    .hero-image { height:260px; }
    #newsletter-form { flex-direction:column; }
}

/* Organic Shapes with Premium Feel */
.shape {
    position: absolute;
    filter: blur(80px);
    opacity: 0.6;
    z-index: 0;
    animation: floatOrganic 15s ease-in-out infinite;
    mix-blend-mode: screen;
    /* Light blending for "glow" effect */
}

.shape-1 {
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: var(--premium-green);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation-delay: 0s;
}

.shape-2 {
    bottom: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--premium-accent);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    opacity: 0.3;
    animation-delay: -5s;
}

.shape-3 {
    top: 30%;
    right: 20%;
    width: 300px;
    height: 300px;
    background: var(--premium-gold-light);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.2;
    filter: blur(60px);
    animation-delay: -2s;
}

@keyframes floatOrganic {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    33% {
        transform: translate(30px, -50px) rotate(10deg) scale(1.1);
        border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
    }

    66% {
        transform: translate(-20px, 20px) rotate(-5deg) scale(0.95);
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
    }
}

/* Button Hover Effects - Refined */
.btn-primary:hover {
    background-color: var(--light-teal);
    color: var(--premium-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(77, 182, 172, 0.4);
    /* Glow effect */
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--premium-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
    border-color: var(--white);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-teal);
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.loading-progress {
    width: 0%;
    height: 100%;
    background: var(--primary-teal);
    animation: loadProgress 2.5s ease-in-out forwards;
}

@keyframes loadProgress {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes pulseText {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(0.98);
    }

    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 1px solid var(--primary-teal);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
    mix-blend-mode: difference;
    display: none;
    /* Hidden on touch devices by default */
}

.custom-cursor.hovered {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 137, 123, 0.2);
    border-color: transparent;
}

/* Hide default cursor on interactive elements if desired, or everywhere */
@media (hover: hover) and (pointer: fine) {
    body {
        cursor: none;
    }

    a,
    button,
    input,
    select,
    textarea {
        cursor: none;
    }

    .custom-cursor {
        display: block;
    }
}

/* Hero Refinements for Readability */
/* Hero Refinements for Readability - Premium Dark Theme */
.hero-content {
    background: rgba(255, 255, 255, 0.05);
    /* Very subtle light overlay */
    backdrop-filter: blur(20px);
    /* Strong blur */
    padding: 4rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    max-width: 900px;
}

.hero-headline {
    text-shadow: none;
    color: var(--dark-teal);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero-subheadline {
    font-weight: 300;
    color: var(--primary-teal);
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.hero-description {
    color: var(--text-gray);
    font-weight: 400;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    line-height: 1.8;
}

.hero-ctas {
    animation: fadeInUp 1s ease-out 0.8s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Premium / Pricing Section */
.premium-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, rgba(0,43,36,0.03), rgba(0,0,0,0));
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.pricing-card {
    background: linear-gradient(180deg, var(--white), #fbfdfc);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(2,6,23,0.06);
    border: 1px solid rgba(4,20,15,0.03);
    text-align: center;
    transition: transform 0.35s, box-shadow 0.35s;
}
.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.pricing-card .badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--premium-gold-light), #c19a3a);
    color: #09120f;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}
.pricing-card .price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-teal);
    margin: 0.5rem 0 1rem;
}
.pricing-card .features {
    text-align: left;
    margin: 1rem 0 1.5rem;
}
.pricing-card .features li {
    margin-bottom: 0.6rem;
    color: var(--text-gray);
}
.open-premium-btn {
    width: 100%;
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}
.modal.active { display: flex; }
.modal .overlay {
    position: absolute;
    inset: 0;
    background: rgba(4,8,5,0.6);
    backdrop-filter: blur(4px);
}
.modal .dialog {
    position: relative;
    width: 95%;
    max-width: 820px;
    background: linear-gradient(180deg, #fff, #fcfffe);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 30px 60px rgba(2,6,23,0.2);
    z-index: 1;
}
.modal .dialog h3 { margin-top: 0; color: var(--dark-teal); }
.modal .close-modal {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--text-gray);
}

@media (max-width: 768px) {
    .hero-content { padding: 2rem; }
    .pricing-card .price { font-size: 1.5rem; }
}

/* Testimonials */
.testimonials-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, rgba(242,247,246,0.6), rgba(255,255,255,0));
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.testimonial-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(2,6,23,0.06);
    border: 1px solid rgba(4,20,15,0.03);
}
.testimonial-quote {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}
.testimonial-author {
    font-weight: 700;
    color: var(--dark-teal);
}

/* Case Studies Preview */
.case-preview {
    padding: 4rem 0;
}
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.case-card {
    background: linear-gradient(180deg,#fff,#fbfffd);
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(4,20,15,0.03);
}

/* Aesthetic Sections with Images */
.aesthetic-section {
    padding: 5rem 0;
    background: #ffffff;
}

.aesthetic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.aesthetic-grid.aesthetic-reverse {
    direction: rtl;
}

.aesthetic-grid.aesthetic-reverse > * {
    direction: ltr;
}

.aesthetic-text h2 {
    color: var(--dark-teal);
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.aesthetic-text p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.aesthetic-image {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(2,6,23,0.12);
}

.aesthetic-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.aesthetic-section:hover .aesthetic-img {
    transform: scale(1.02);
}

@media (max-width: 900px) {
    .aesthetic-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .aesthetic-img { height: 280px; }
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-socials a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Language switcher styles (polished) */
.language-switcher {
    display: flex;
    align-items: center;
    margin-right: 1rem;
}
.language-switcher select {
    appearance: none;
    -webkit-appearance: none;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,255,252,0.95));
    font-weight: 600;
    color: var(--dark-teal);
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(2,6,23,0.06);
}
.language-switcher select:focus {
    outline: none;
    box-shadow: 0 6px 18px rgba(2,6,23,0.12), 0 0 0 4px rgba(77,182,172,0.08);
}

.lang-mobile {
    display: none;
}

@media (max-width: 768px) {
    /* hide desktop selector and show mobile version inside menu */
    .language-switcher { display: none; }
    .lang-mobile { display: block; width: 100%; }
    .lang-mobile select { width: 100%; }
}

/* Mobile homepage selector styling */
.mobile-hero-lang { display: none; }
.mobile-hero-lang select {
    appearance: none;
    -webkit-appearance: none;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.9);
    font-weight: 700;
    color: var(--dark-teal);
}

@media (max-width: 768px) {
    .mobile-hero-lang {
        display: flex;
        justify-content: flex-start;
        position: static;
        margin-bottom: 0.9rem;
        z-index: 1;
    }
    .mobile-hero-lang select {
        max-width: 220px;
    }
}

/* 2026 Design Refresh: editorial premium layer */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #f2f8f5;
    background-image:
        radial-gradient(circle at 10% -5%, rgba(0, 137, 123, 0.12), transparent 32%),
        radial-gradient(circle at 90% 5%, rgba(212, 175, 55, 0.08), transparent 28%),
        linear-gradient(180deg, #f2f8f5 0%, #f7fcfa 45%, #f2f8f5 100%);
    color: #173233;
}

h1,
h2,
h3,
.section-title,
.logo {
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(2.3rem, 5vw, 3.9rem);
}

h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.6rem);
}

.container {
    width: min(92%, 1160px);
}

.top-bar {
    background: linear-gradient(90deg, #0a4c43, #10695b);
}

.main-nav {
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid var(--line-soft);
    box-shadow: 0 12px 30px rgba(11, 55, 47, 0.08);
    padding: 0.85rem 0;
}

.logo {
    font-size: 1.8rem;
    color: #113f39;
}

.nav-links a:not(.nav-cta) {
    position: relative;
    font-weight: 500;
    color: #204645;
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.25rem;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-teal), #7fb8a3);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta).active::after {
    transform: scaleX(1);
}

.nav-cta {
    color: #ffffff;
    background: linear-gradient(120deg, #0f5f55, #0a4c43);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 0.6rem 1.15rem;
    box-shadow: 0 8px 20px rgba(0, 77, 64, 0.18);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
    color: #ffffff;
    background: linear-gradient(120deg, #138173, #0f5f55);
    box-shadow: 0 12px 26px rgba(0, 77, 64, 0.24);
}

.hero-section {
    padding: 5.5rem 0;
    background:
        radial-gradient(circle at 8% 15%, rgba(107, 176, 161, 0.2), transparent 35%),
        radial-gradient(circle at 92% 0%, rgba(212, 175, 55, 0.15), transparent 22%),
        linear-gradient(180deg, #f8fefc 0%, #eef8f4 100%);
}

.hero-content {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(10, 89, 75, 0.14);
    box-shadow: 0 26px 60px rgba(10, 51, 45, 0.12);
}

.hero-headline {
    font-weight: 700;
    color: #123c38;
}

.hero-subheadline {
    font-family: var(--font-primary);
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    color: #1f6f67;
}

.hero-description {
    color: #2a4e4c;
}

.hero-highlights {
    flex-wrap: wrap;
}

.hero-highlights li {
    background: rgba(19, 93, 82, 0.1);
    border: 1px solid rgba(19, 93, 82, 0.18);
}

.btn {
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.btn-secondary {
    border-color: rgba(0, 77, 64, 0.35);
    color: #11453f;
}

.services-section,
.aesthetic-section,
.testimonials-section,
.premium-section,
.lead-capture-section,
.case-preview {
    position: relative;
}

.section-title::after {
    width: 82px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-teal), transparent);
}

.service-card,
.case-card,
.testimonial-card,
.stat-card,
.pricing-card,
.form-container,
.whatsapp-groups-card {
    border-radius: 18px;
    border: 1px solid rgba(9, 80, 68, 0.12);
    box-shadow: 0 16px 34px rgba(10, 53, 45, 0.08);
}

.service-card,
.case-card,
.testimonial-card,
.pricing-card {
    background: linear-gradient(180deg, #ffffff, #f8fdfb);
}

.service-card:hover,
.case-card:hover,
.testimonial-card:hover,
.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 45px rgba(10, 53, 45, 0.13);
}

.aesthetic-image,
.hero-image,
.case-card img,
.partners-grid img {
    border-radius: 14px;
}

.impact-hero {
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.12), transparent 30%),
        linear-gradient(135deg, #0b4b44 0%, #0f5d54 45%, #12695e 100%);
    padding: 5rem 0 2.7rem;
}

.impact-hero .page-title {
    font-size: clamp(2rem, 4vw, 3.1rem);
    margin-bottom: 0.5rem;
}

.stats-section {
    background: transparent;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
#newsletter-form input {
    border-radius: 12px;
    border: 1px solid rgba(8, 88, 74, 0.2);
    background: #f9fdfc;
}

.faq-list {
    max-width: 920px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: linear-gradient(180deg, #ffffff, #f8fdfb);
    border: 1px solid rgba(9, 80, 68, 0.12);
    border-radius: 14px;
    padding: 1.25rem 1.3rem;
    box-shadow: 0 12px 28px rgba(10, 53, 45, 0.08);
}

.faq-item h3 {
    margin-bottom: 0.5rem;
    color: #123d39;
}

.faq-item p {
    margin-bottom: 0;
    color: #355856;
}

.site-footer {
    background:
        radial-gradient(circle at 18% 28%, rgba(118, 196, 175, 0.14), transparent 35%),
        linear-gradient(135deg, #062e29, #0b3f39 65%, #0f4b43 100%);
}

.floating-whatsapp {
    width: 58px;
    height: 58px;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

@media (max-width: 900px) {
    .hero-content {
        padding: 2rem 1.3rem;
    }

    .hero-highlights li {
        font-size: 0.87rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        padding: 0.7rem 0;
    }

    .nav-links {
        border-top: 1px solid rgba(9, 80, 68, 0.12);
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(6px);
    }

    .hero-section {
        padding: 4rem 0;
    }

    .hero-ctas {
        gap: 0.8rem;
    }

    .floating-whatsapp {
        bottom: 1.1rem;
        right: 1rem;
    }

    .custom-cursor {
        display: none !important;
    }
}

/* Case studies page: richer storytelling layout */
.case-studies-showcase .case-intro {
    max-width: 760px;
    margin: 0 auto 2rem;
    text-align: center;
}

.case-studies-showcase .case-kicker {
    display: inline-block;
    margin-bottom: 0.65rem;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(16, 105, 91, 0.12);
    border: 1px solid rgba(16, 105, 91, 0.2);
    color: #0f5d54;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.case-studies-showcase .case-intro h2 {
    margin-bottom: 0.75rem;
    color: #123d39;
}

.case-studies-showcase .case-intro p {
    margin: 0;
    color: #2e5a57;
}

.case-studies-showcase .case-grid {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.case-study-card {
    width: 100%;
    padding: 1.75rem;
    display: grid;
    grid-template-columns: minmax(270px, 34%) 1fr;
    grid-template-areas:
        "meta challenge"
        "title challenge"
        "summary approach"
        "summary metrics";
    column-gap: 1.4rem;
    row-gap: 0.9rem;
    align-items: start;
}

.case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    grid-area: meta;
}

.case-sector,
.case-duration {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.72rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.case-sector {
    background: rgba(0, 77, 64, 0.1);
    color: #0f4d45;
    border: 1px solid rgba(0, 77, 64, 0.16);
}

.case-duration {
    background: rgba(192, 161, 107, 0.15);
    color: #6b5322;
    border: 1px solid rgba(192, 161, 107, 0.26);
}

.case-study-title {
    margin: 0.15rem 0 0;
    font-size: 1.42rem;
    line-height: 1.25;
    color: #123d39;
    grid-area: title;
}

.case-study-summary {
    margin: 0;
    color: #2e5a57;
    grid-area: summary;
}

.case-block {
    border-left: 2px solid rgba(0, 77, 64, 0.22);
    padding-left: 0.8rem;
}

.case-study-card .case-block:nth-of-type(1) {
    grid-area: challenge;
}

.case-study-card .case-block:nth-of-type(2) {
    grid-area: approach;
}

.case-block h4 {
    margin: 0 0 0.25rem;
    color: #0f4d45;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.case-block p {
    margin: 0;
    color: #365f5b;
    font-size: 0.98rem;
}

.case-metrics {
    margin: 0.4rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    grid-area: metrics;
}

.case-metrics li {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    padding: 0.55rem 0.7rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(9, 80, 68, 0.12);
    color: #234a47;
    font-size: 0.95rem;
}

.case-metrics strong {
    color: #0f5d54;
    font-size: 1.02rem;
}

@media (max-width: 768px) {
    .case-studies-showcase .case-grid {
        gap: 1rem;
    }

    .case-study-card {
        padding: 1.2rem;
        grid-template-columns: 1fr;
        grid-template-areas:
            "meta"
            "title"
            "summary"
            "challenge"
            "approach"
            "metrics";
        row-gap: 0.7rem;
    }

    .case-study-title {
        font-size: 1.2rem;
    }

    .case-metrics {
        grid-template-columns: 1fr;
    }
}

/* 2026 Premium Touches: homepage glass cursor + footer line animations */
.custom-cursor {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(176, 237, 224, 0.8);
    background:
        radial-gradient(circle at 28% 28%, rgba(255, 255, 255, 0.58) 0%, rgba(164, 232, 217, 0.34) 42%, rgba(8, 63, 55, 0.18) 100%);
    box-shadow:
        0 10px 24px rgba(2, 31, 27, 0.28),
        0 0 0 1px rgba(157, 230, 215, 0.2) inset,
        0 0 32px rgba(94, 195, 176, 0.22);
    backdrop-filter: blur(8px) saturate(150%);
    -webkit-backdrop-filter: blur(8px) saturate(150%);
    mix-blend-mode: normal;
    opacity: 0.97;
    transition: width 0.24s ease, height 0.24s ease, opacity 0.24s ease, box-shadow 0.24s ease;
}

.custom-cursor::before,
.custom-cursor::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

.custom-cursor::before {
    inset: 4px;
    border-radius: 50%;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.08));
}

.custom-cursor::after {
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: rgba(12, 101, 88, 0.86);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.34);
}

.custom-cursor.hovered {
    width: 56px;
    height: 56px;
    border-color: rgba(190, 244, 233, 0.92);
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.74) 0%, rgba(170, 236, 222, 0.42) 45%, rgba(7, 73, 63, 0.2) 100%);
    box-shadow:
        0 14px 34px rgba(2, 31, 27, 0.34),
        0 0 0 1px rgba(177, 239, 226, 0.26) inset,
        0 0 38px rgba(87, 191, 170, 0.26);
}

@media (hover: hover) and (pointer: fine) {
    body:not(.home-premium-cursor) .custom-cursor {
        display: none !important;
    }

    body:not(.home-premium-cursor),
    body:not(.home-premium-cursor) * {
        cursor: auto;
    }

    body:not(.home-premium-cursor) a,
    body:not(.home-premium-cursor) button,
    body:not(.home-premium-cursor) [role="button"],
    body:not(.home-premium-cursor) .btn {
        cursor: pointer;
    }

    body:not(.home-premium-cursor) input,
    body:not(.home-premium-cursor) textarea {
        cursor: text;
    }

    body.home-premium-cursor,
    body.home-premium-cursor * {
        cursor: none;
    }

    body.home-premium-cursor .custom-cursor {
        display: block !important;
    }
}

.site-footer {
    isolation: isolate;
}

.site-footer::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
    background:
        repeating-linear-gradient(
            90deg,
            rgba(170, 234, 221, 0) 0 44px,
            rgba(170, 234, 221, 0.34) 44px 46px,
            rgba(170, 234, 221, 0) 46px 92px
        );
    mask-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.08));
    animation: footerLineDrift 14s linear infinite;
}

.site-footer .container {
    position: relative;
}

.site-footer .container::before {
    content: '';
    position: absolute;
    top: -1.25rem;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(181, 242, 230, 0.14) 14%, rgba(181, 242, 230, 0.88) 50%, rgba(181, 242, 230, 0.14) 86%, transparent 100%);
    transform-origin: center;
    animation: footerLinePulse 6s ease-in-out infinite;
}

.footer-col a {
    position: relative;
}

.footer-col a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.24s ease;
    background: linear-gradient(90deg, rgba(181, 242, 230, 0.16), rgba(181, 242, 230, 0.9));
}

.footer-col a:hover::after {
    transform: scaleX(1);
}

@keyframes footerLineDrift {
    from {
        transform: translateX(-6%);
    }

    to {
        transform: translateX(6%);
    }
}

@keyframes footerLinePulse {
    0%,
    100% {
        opacity: 0.28;
        transform: scaleX(0.72);
    }

    50% {
        opacity: 0.96;
        transform: scaleX(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-section .container::before,
    .hero-section .container::after,
    .site-footer::after,
    .site-footer .container::before {
        animation: none;
    }
}

/* Hero line animation layer to match footer motion language */
.hero-section {
    isolation: isolate;
}

.hero-section .container {
    position: relative;
    isolation: isolate;
}

.hero-section .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 0%, rgba(22, 118, 104, 0.16) 14%, rgba(22, 118, 104, 0.92) 50%, rgba(22, 118, 104, 0.16) 86%, transparent 100%);
    transform-origin: center;
    animation: footerLinePulse 7s ease-in-out infinite;
}

.hero-section .container::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.22;
    background:
        repeating-linear-gradient(
            90deg,
            rgba(18, 109, 96, 0) 0 46px,
            rgba(18, 109, 96, 0.38) 46px 48px,
            rgba(18, 109, 96, 0) 48px 94px
        );
    mask-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.12));
    animation: footerLineDrift 16s linear infinite;
}

.hero-grid {
    position: relative;
    z-index: 1;
}

/* Responsive hardening + anti-shift text safety */
html,
body {
    overflow-x: clip;
}

img,
svg,
video,
iframe {
    max-width: 100%;
    height: auto;
}

.nav-container > *,
.hero-grid > *,
.aesthetic-grid > *,
.lead-grid > *,
.pricing-grid > *,
.case-grid > *,
.footer-grid > * {
    min-width: 0;
}

.nav-links a,
.btn,
.hero-headline,
.hero-subheadline,
.hero-description,
.section-title,
.stats-label,
.form-sub,
.testimonial-quote,
.case-study-title,
.case-study-summary,
[data-i18n] {
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .hero-right {
        order: 2;
    }

    .hero-left {
        order: 1;
    }

    .hero-image {
        height: clamp(240px, 44vw, 360px);
    }

    .aesthetic-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
}

@media (max-width: 768px) {
    .container {
        width: min(94%, 1160px);
        padding: 0 0.7rem;
    }

    .logo {
        font-size: 1.34rem;
    }

    .mobile-menu-btn {
        font-size: 1.35rem;
    }

    .nav-links {
        max-height: calc(100vh - 5.2rem);
        overflow-y: auto;
        padding-bottom: 1.3rem;
    }

    .hero-content {
        padding: 1.45rem 1rem;
    }

    .hero-headline {
        font-size: clamp(1.95rem, 8.2vw, 2.55rem);
        min-height: 3.1em;
    }

    .hero-description {
        min-height: 5.3em;
    }

    .hero-ctas {
        align-items: stretch;
    }

    .hero-ctas .btn {
        width: 100%;
        max-width: 360px;
    }

    .hero-highlights {
        gap: 0.55rem;
    }

    .hero-highlights li {
        flex: 1 1 100%;
    }

    .form-row,
    .stats-grid,
    .pricing-grid,
    .testimonials-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .aesthetic-text p,
    .testimonial-quote,
    .case-block p {
        font-size: 0.98rem;
    }
}

@media (max-width: 480px) {
    .top-bar {
        font-size: 0.78rem;
    }

    .hero-section {
        padding: 3.25rem 0;
    }

    .hero-content {
        border-radius: 16px;
    }

    .section-title {
        margin-bottom: 2rem;
    }

    .floating-whatsapp {
        width: 52px;
        height: 52px;
        bottom: 0.95rem;
        right: 0.75rem;
    }
}

/* 2026-04 mobile and visual simplification fixes */
body {
    background-image: none;
}

#preloader {
    padding: 1rem;
}

.loader-text {
    font-size: clamp(0.95rem, 4.6vw, 1.55rem);
    letter-spacing: 0.08em;
    line-height: 1.25;
    text-align: center;
    margin-bottom: 0.9rem;
}

.loading-bar {
    width: min(76vw, 220px);
}

.hero-section {
    background: #ffffff !important;
}

.hero-section .container::before,
.hero-section .container::after,
.site-footer::before,
.site-footer::after,
.site-footer .container::before {
    content: none !important;
    animation: none !important;
    background: none !important;
}

.site-footer {
    background: #0b3f39 !important;
}

@media (hover: hover) and (pointer: fine) {
    .btn-primary:hover {
        background-color: var(--primary-teal) !important;
        color: var(--white) !important;
        transform: none !important;
        box-shadow: none !important;
    }

    .btn-secondary:hover {
        background-color: transparent !important;
        color: #11453f !important;
        border-color: rgba(0, 77, 64, 0.35) !important;
        transform: none !important;
        box-shadow: none !important;
    }

    .btn-submit:hover {
        background-color: var(--text-dark) !important;
    }

    .btn-whatsapp-group:hover,
    .nav-cta:hover,
    .nav-links .nav-cta:hover,
    .floating-whatsapp:hover,
    .aesthetic-section:hover .aesthetic-img {
        transform: none !important;
        box-shadow: none !important;
    }

    .service-card:hover,
    .case-card:hover,
    .testimonial-card:hover,
    .pricing-card:hover {
        transform: none !important;
        box-shadow: 0 16px 34px rgba(10, 53, 45, 0.08) !important;
        border-color: rgba(9, 80, 68, 0.12) !important;
    }

    .footer-socials a:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        border-color: rgba(255, 255, 255, 0.2) !important;
        transform: none !important;
    }

    .footer-col a:hover {
        color: rgba(255, 255, 255, 0.8) !important;
    }

    .nav-links a:not(.nav-cta):hover::after,
    .footer-col a:hover::after {
        transform: scaleX(0) !important;
    }
}

/* Additional Aesthetics */

.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #f7fafc, #e6f2f0, #e0f2f1, #f7fafc);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Abstract Vector Map of Malaysia Background */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('assets/malaysia-map-outline.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.8;
    pointer-events: none;
    z-index: 0;
}

.hero-section > .container {
    position: relative;
    z-index: 1;
}

/* Glassmorphism Cursor */
.custom-cursor {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
    mix-blend-mode: exclusion;
}

.custom-cursor.hover {
    width: 40px;
    height: 40px;
    background: rgba(0, 137, 123, 0.4);
    border-color: rgba(0, 137, 123, 0.8);
}

/* Sparkhes Premium Signature */
.sparkhes-signature {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85); /* Beyazımsı parlak renk */
    position: relative;
    padding-bottom: 6px;
    display: inline-block;
}

.sparkhes-signature a {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.sparkhes-signature a:hover {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Premium Shimmer Line */
.sparkhes-signature::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    background-size: 200% 100%;
    animation: shimmerSweep 3s ease-in-out infinite;
    opacity: 0.7;
}

@keyframes shimmerSweep {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Trusted By Cards Section */
.trusted-by-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fdfb, #ffffff);
    border-top: 1px solid rgba(0, 137, 123, 0.05);
}

.trusted-by-section .partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

/* Stat number suffix (+) */
.stat-suffix {
    font-size: 0.6em;
    vertical-align: super;
    margin-left: 2px;
    opacity: 0.8;
}

.trusted-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 43, 36, 0.04);
    border: 1px solid rgba(0, 137, 123, 0.08);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 160px;
    overflow: hidden;
}

.trusted-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 43, 36, 0.08);
    border-color: rgba(0, 137, 123, 0.15);
}

.trusted-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: filter 0.4s ease, transform 0.4s ease;
    mix-blend-mode: multiply;
}

.trusted-card:hover .trusted-logo {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

.placeholder-card {
    background: transparent;
    border: 2px dashed rgba(0,137,123,0.3);
    box-shadow: none;
    color: var(--primary-teal);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    opacity: 0.7;
    transition: all 0.4s ease;
}

.placeholder-card:hover {
    opacity: 1;
    background: rgba(0,137,123,0.02);
    border-style: solid;
}

@media (max-width: 768px) {
    .trusted-by-section .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 1rem;
    }
    .trusted-card {
        height: 140px;
        padding: 1.5rem;
    }
}

/* Lotus Flower Preloader Animations */
.lotus-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.petal {
    transform-origin: 50px 85px;
    opacity: 0;
}

.petal-1 { animation: bloom 2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s; }
.petal-2 { animation: bloomLeft 2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.35s; }
.petal-3 { animation: bloomRight 2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.35s; }
.petal-4 { animation: bloomFarLeft 2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.5s; }
.petal-5 { animation: bloomFarRight 2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.5s; }

@keyframes bloom {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes bloomLeft {
    0% { transform: scale(0) rotate(45deg); opacity: 0; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
@keyframes bloomRight {
    0% { transform: scale(0) rotate(-45deg); opacity: 0; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
@keyframes bloomFarLeft {
    0% { transform: scale(0) rotate(70deg); opacity: 0; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
@keyframes bloomFarRight {
    0% { transform: scale(0) rotate(-70deg); opacity: 0; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
@keyframes logoFloat {
    0% { transform: scale(0.8) translateY(20px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* Footer Continuous Ethereal Lotus Animation */
.footer-lotus-bg {
    position: absolute;
    bottom: -10%;
    left: 50%;
    width: 100%;
    max-width: 2000px;
    height: 180%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 1;
}

.site-footer > div:nth-child(2) {
    /* ensuring the entire grid container is above the SVG */
    position: relative;
    z-index: 2;
}

.f-petal {
    transform-origin: 50px 100px; /* Pivots from bottom center */
}

/* Mesmerizing, slow continuous bloom cycle that feels alive */
.f-petal-c { animation: breathC 16s ease-in-out infinite alternate; }
.f-petal-l1 { animation: breathL1 14s ease-in-out infinite alternate 1s; }
.f-petal-r1 { animation: breathR1 14s ease-in-out infinite alternate 1s; }
.f-petal-l2 { animation: breathL2 15s ease-in-out infinite alternate 2s; }
.f-petal-r2 { animation: breathR2 15s ease-in-out infinite alternate 2s; }
.f-petal-l3 { animation: breathL3 18s ease-in-out infinite alternate 3s; }
.f-petal-r3 { animation: breathR3 18s ease-in-out infinite alternate 3s; }

@keyframes breathC {
    0% { transform: scaleY(0.7) rotate(2deg); opacity: 0.3; }
    100% { transform: scaleY(1.05) rotate(0deg); opacity: 1; }
}
@keyframes breathL1 {
    0% { transform: rotate(18deg) scale(0.85); opacity: 0.2; }
    100% { transform: rotate(0deg) scale(1); opacity: 1; }
}
@keyframes breathR1 {
    0% { transform: rotate(-18deg) scale(0.85); opacity: 0.2; }
    100% { transform: rotate(0deg) scale(1); opacity: 1; }
}
@keyframes breathL2 {
    0% { transform: rotate(35deg) scale(0.8); opacity: 0.1; }
    100% { transform: rotate(0deg) scale(1); opacity: 0.8; }
}
@keyframes breathR2 {
    0% { transform: rotate(-35deg) scale(0.8); opacity: 0.1; }
    100% { transform: rotate(0deg) scale(1); opacity: 0.8; }
}
@keyframes breathL3 {
    0% { transform: rotate(55deg) scale(0.7); opacity: 0; }
    100% { transform: rotate(0deg) scale(1); opacity: 0.6; }
}
@keyframes breathR3 {
    0% { transform: rotate(-55deg) scale(0.7); opacity: 0; }
    100% { transform: rotate(0deg) scale(1); opacity: 0.6; }
}

/* Fix Footer Contact Icon Alignment */
.footer-col p {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.footer-col p i {
    width: 20px; /* Standardize icon width */
    text-align: center;
    margin-right: 0.5rem;
    display: inline-block;
}
/* Floating AI Voice Assistant Widget */
.ai-widget {
    position: fixed;
    left: 2rem;
    bottom: 2rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
}

.ai-trigger-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.floating-ai {
    position: relative;
    width: 68px;
    height: 68px;
    border: none;
    background: linear-gradient(135deg, var(--primary-teal), var(--dark-teal));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 77, 64, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.18);
}

.floating-ai i {
    font-size: 1.42rem;
    margin-bottom: 2px;
    line-height: 1;
}

.floating-ai span {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.45px;
}

.floating-ai:hover {
    transform: scale(1.06) translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 77, 64, 0.45);
}

.floating-ai.is-live {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.floating-ai::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-teal);
    opacity: 0.35;
    z-index: -1;
    animation: aiAura 3s infinite;
}

.floating-ai.is-live::after {
    background: #e74c3c;
}

@keyframes aiAura {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.35;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.62);
        opacity: 0;
    }
}

.ai-popup {
    width: min(334px, calc(100vw - 3rem));
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 12%, rgba(46, 181, 160, 0.14), transparent 36%),
        radial-gradient(circle at 90% 92%, rgba(10, 137, 123, 0.12), transparent 42%),
        linear-gradient(180deg, #ffffff 0%, #f4fffb 100%);
    border: 1px solid rgba(0, 137, 123, 0.26);
    border-radius: 18px;
    box-shadow:
        0 18px 42px rgba(0, 62, 55, 0.24),
        0 0 0 1px rgba(136, 233, 219, 0.22),
        inset 0 0 18px rgba(33, 166, 146, 0.07);
    padding: 1.05rem;
    opacity: 0;
    transform: translateY(12px) scale(0.96);
    transform-origin: bottom left;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.ai-popup::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(120deg, rgba(0, 137, 123, 0.08) 0%, transparent 44%),
        repeating-linear-gradient(
            90deg,
            rgba(0, 137, 123, 0.07) 0,
            rgba(0, 137, 123, 0.07) 1px,
            transparent 1px,
            transparent 21px
        );
}

.ai-popup::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -32%;
    height: 24%;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(0, 137, 123, 0), rgba(0, 137, 123, 0.26), rgba(0, 137, 123, 0));
    animation: aiPopupScan 5.6s linear infinite;
}

@keyframes aiPopupScan {
    100% {
        transform: translateY(540%);
    }
}

.ai-widget.open .ai-popup {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.ai-popup > * {
    position: relative;
    z-index: 1;
}

.ai-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.ai-popup-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #084c45;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.ai-popup-brand i {
    color: #0b7e71;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 137, 123, 0.12);
    box-shadow: 0 0 10px rgba(0, 137, 123, 0.18);
}

.ai-nudge {
    border: 1px solid rgba(0, 77, 64, 0.2);
    background: #ffffff;
    color: var(--dark-teal);
    border-radius: 999px;
    padding: 0.48rem 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 7px 20px rgba(0, 53, 43, 0.12);
    cursor: pointer;
    transition: opacity 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.ai-nudge:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(0, 53, 43, 0.15);
}

.ai-nudge.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-8px);
}

.ai-nudge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-teal);
    animation: aiNudgeDot 1.6s ease-in-out infinite;
}

.ai-popup-close {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 8px;
    background: rgba(0, 137, 123, 0.12);
    color: #08534a;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.ai-popup-close:hover {
    transform: scale(1.05);
    background: rgba(0, 137, 123, 0.2);
}

.ai-popup-text {
    margin: 0 0 0.8rem;
    color: #365f5b;
    font-size: 0.93rem;
}

.ai-call-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.ai-connection-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.58rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.ai-connection-pill::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.94;
    box-shadow: 0 0 9px currentColor;
}

.ai-connection-pill.is-ready {
    color: #0f766e;
    background: rgba(15, 118, 110, 0.12);
}

.ai-connection-pill.is-connecting {
    color: #a16207;
    background: rgba(161, 98, 7, 0.14);
}

.ai-connection-pill.is-live {
    color: #b91c1c;
    background: rgba(185, 28, 28, 0.12);
}

.ai-connection-pill.is-error {
    color: #991b1b;
    background: rgba(153, 27, 27, 0.14);
}

.ai-call-timer {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.3px;
}

.ai-waveform {
    height: 30px;
    margin: 0 0 0.7rem;
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0.56;
    filter: drop-shadow(0 0 8px rgba(0, 137, 123, 0.18));
}

.ai-waveform span {
    width: 4px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(180deg, #8de9de, #3bc8b3 54%, #0f7d70 100%);
    transform-origin: center bottom;
}

.ai-waveform.is-live {
    opacity: 1;
}

.ai-waveform.is-live span {
    animation: aiWaveIdle 1.35s ease-in-out infinite;
}

.ai-waveform.is-speaking span {
    animation: aiWaveSpeak 0.38s ease-in-out infinite;
}

.ai-waveform span:nth-child(1) { animation-delay: 0s; }
.ai-waveform span:nth-child(2) { animation-delay: 0.08s; }
.ai-waveform span:nth-child(3) { animation-delay: 0.16s; }
.ai-waveform span:nth-child(4) { animation-delay: 0.24s; }
.ai-waveform span:nth-child(5) { animation-delay: 0.16s; }
.ai-waveform span:nth-child(6) { animation-delay: 0.08s; }
.ai-waveform span:nth-child(7) { animation-delay: 0s; }

@keyframes aiWaveIdle {
    0%,
    100% {
        transform: scaleY(0.52);
    }

    50% {
        transform: scaleY(1.28);
    }
}

@keyframes aiWaveSpeak {
    0%,
    100% {
        transform: scaleY(0.42);
    }

    50% {
        transform: scaleY(2.7);
    }
}

@keyframes aiNudgeDot {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.35);
        opacity: 0.5;
    }
}

.ai-call-btn {
    width: 100%;
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 11px;
    padding: 0.7rem 0.9rem;
    color: #effffc;
    font-weight: 700;
    letter-spacing: 0.2px;
    background: linear-gradient(135deg, #23bca5 0%, #0f7f73 48%, #0b554c 100%);
    box-shadow: 0 10px 22px rgba(0, 16, 13, 0.42), inset 0 -10px 14px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}

.ai-call-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -145%;
    width: 72%;
    height: 100%;
    background: linear-gradient(110deg, transparent 0%, rgba(220, 255, 249, 0.42) 52%, transparent 100%);
    transition: left 0.55s ease;
}

.ai-call-btn:hover {
    transform: translateY(-1px);
    filter: saturate(1.12);
}

.ai-call-btn:hover::after {
    left: 150%;
}

.ai-call-btn:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.ai-call-btn.is-live {
    background: linear-gradient(135deg, #f65566 0%, #d92f42 52%, #9f1e2f 100%);
}

.ai-call-status {
    margin: 0.65rem 0 0;
    font-size: 0.83rem;
    color: #0f5b52;
    font-weight: 600;
}

.ai-call-status.is-error {
    color: #ffadb3;
}

@media (prefers-reduced-motion: reduce) {
    .ai-popup::after,
    .ai-waveform span,
    .ai-nudge-dot {
        animation: none !important;
    }
}

@media (max-width: 768px) {
    .ai-widget {
        left: 1.2rem;
        bottom: 1.2rem;
        gap: 0.6rem;
    }

    .ai-trigger-row {
        gap: 0.45rem;
    }

    .floating-ai {
        width: 56px;
        height: 56px;
    }

    .floating-ai i {
        font-size: 1.2rem;
    }

    .floating-ai span {
        font-size: 0.58rem;
    }

    .ai-nudge {
        font-size: 0.72rem;
        padding: 0.42rem 0.65rem;
        max-width: 162px;
    }

    .ai-popup {
        width: min(280px, calc(100vw - 2.2rem));
    }
}
