/* =========================================================
   CALCUTTA COSMO AID — NEXT-GEN SUPERPOWERED CSS ENGINE
   Built with @layer, @property, :has(), & Container Queries
   ========================================================= */

/* ---------- 01. CASCADING LAYERS ARCHITECTURE ---------- */
@layer reset, tokens, base, layout, components, animations, utilities;

/* ---------- 02. REGISTERED ANIMATABLE CSS PROPERTIES (@property) ---------- */
@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@property --glow-size {
    syntax: '<percentage>';
    initial-value: 0%;
    inherits: false;
}

/* ---------- 03. DESIGN TOKENS LAYER ---------- */
@layer tokens {
    :root {
        /* Bright Luxury Medical Palette */
        --primary: #0b3442;
        --primary-light: #165366;
        --accent: #1d8f8c;
        --accent-2: #2aaca6;
        --accent-glow: rgba(42, 172, 166, 0.18);

        /* Light Fresh Backgrounds */
        --bg-body: #ffffff;
        --bg-light: #f4faf9;
        --bg-soft: #eef7f6;
        --bg-card: #ffffff;

        /* Typography & Ink */
        --text-dark: #0f2730;
        --text-light: #52666e;
        --text-muted: #7b8e96;

        /* Borders & Glass */
        --border: rgba(11, 52, 66, 0.09);
        --border-hover: rgba(29, 143, 140, 0.35);
        --glass-bg: rgba(255, 255, 255, 0.85);

        /* Feedback */
        --success: #16866f;
        --error: #d94755;

        /* Depth & Elevation */
        --shadow-xs: 0 4px 12px rgba(11, 52, 66, 0.04);
        --shadow-sm: 0 8px 25px rgba(11, 52, 66, 0.06);
        --shadow-md: 0 16px 45px rgba(11, 52, 66, 0.09);
        --shadow-hover: 0 24px 60px rgba(29, 143, 140, 0.16);

        /* Radii */
        --radius-sm: 10px;
        --radius-md: 16px;
        --radius-lg: 24px;
        --radius-xl: 32px;

        /* Layout & Motion Tokens */
        --max-width: 1240px;
        --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
        --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
        --transition: 350ms var(--ease-out-expo);
    }
}

/* ---------- 04. BASE & RESET LAYER ---------- */
@layer reset {
    *, *::before, *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    html {
        scroll-behavior: smooth;
        -webkit-text-size-adjust: 100%;
    }

    body {
        font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        color: var(--text-dark);
        background-color: var(--bg-body);
        line-height: 1.7;
        -webkit-font-smoothing: antialiased;
        text-rendering: optimizeLegibility;
        overflow-x: hidden;
    }

    ::selection {
        background: color-mix(in srgb, var(--accent) 22%, transparent);
        color: var(--primary);
    }

    img {
        display: block;
        max-width: 100%;
        height: auto;
    }

    a {
        color: var(--accent);
        text-decoration: none;
        transition: color var(--transition), opacity var(--transition);
        &:hover { color: var(--primary); }
    }

    button, input, textarea, select { font: inherit; }
    button { cursor: pointer; }
}

/* ---------- 05. GLOBAL LAYOUT LAYER ---------- */
@layer layout {
    .container {
        width: min(92vw, var(--max-width));
        margin-inline: auto;
        container-type: inline-size;
    }

    section {
        position: relative;
        padding: clamp(64px, 8vw, 120px) 0;
    }

    .bg-light {
        background:
            radial-gradient(circle at 10% 10%, rgba(29, 143, 140, 0.06), transparent 35%),
            linear-gradient(180deg, #ffffff 0%, var(--bg-light) 50%, #ffffff 100%);
    }

    .section-title {
        max-width: 760px;
        margin: 0 auto clamp(38px, 5vw, 64px);
        text-align: center;

        & h2 {
            margin-bottom: 14px;
            color: var(--primary);
            font-size: clamp(1.9rem, 4vw, 3rem);
            line-height: 1.12;
            letter-spacing: -0.045em;
            font-weight: 800;

            &::after {
                content: "";
                display: block;
                width: 44px;
                height: 3.5px;
                margin: 18px auto 0;
                border-radius: 99px;
                background: linear-gradient(90deg, var(--accent), var(--accent-2));
                transition: width 500ms var(--ease-out-expo);
            }
        }

        &:hover h2::after { width: 84px; }

        & p {
            max-width: 650px;
            margin-inline: auto;
            color: var(--text-light);
            font-size: clamp(.96rem, 1.4vw, 1.05rem);
        }
    }
}

/* ---------- 06. COMPONENTS LAYER (PREMIUM BRIGHT UI) ---------- */
@layer components {

    /* --- STICKY HEADER & HAS() RELATIONAL POWER --- */
    header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: var(--glass-bg);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 4px 20px rgba(11, 52, 66, 0.03);
        backdrop-filter: blur(20px) saturate(160%);
        -webkit-backdrop-filter: blur(20px) saturate(160%);
        transition: background 400ms var(--ease-out-expo), box-shadow 400ms var(--ease-out-expo);

        /* Power Selector: Change header style when mobile menu is expanded */
        &:has(ul.active) {
            background: rgba(255, 255, 255, 0.98);
            box-shadow: var(--shadow-md);
        }
    }

    .nav-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: clamp(68px, 7vw, 82px);
        gap: 30px;
    }

    .logo {
        position: relative;
        color: var(--primary);
        font-size: clamp(1.08rem, 2vw, 1.3rem);
        font-weight: 800;
        letter-spacing: -0.055em;
        white-space: nowrap;
        transition: transform 300ms var(--ease-out-expo);

        & span {
            color: var(--accent);
            display: inline-block;
            transition: transform 300ms var(--ease-out-expo);
        }

        &:hover {
            transform: translateY(-1px);
            & span { transform: translateX(3px); }
        }
    }

    nav {
        & ul {
            display: flex;
            align-items: center;
            gap: 6px;
            list-style: none;
        }

        & a {
            position: relative;
            display: inline-flex;
            align-items: center;
            min-height: 44px;
            padding: 0 16px;
            border-radius: var(--radius-sm);
            color: var(--text-dark);
            font-size: .94rem;
            font-weight: 600;
            letter-spacing: -.01em;
            transition: color 260ms var(--ease-out-expo), background 260ms var(--ease-out-expo), transform 260ms var(--ease-out-expo);

            &::before {
                content: "";
                position: absolute;
                inset: 0;
                border-radius: inherit;
                background: color-mix(in srgb, var(--accent) 12%, transparent);
                opacity: 0;
                transform: scale(0.8);
                transition: opacity 350ms var(--ease-out-expo), transform 350ms var(--ease-out-expo);
            }

            &::after {
                content: "";
                position: absolute;
                left: 16px;
                right: 16px;
                bottom: 6px;
                height: 2px;
                border-radius: 99px;
                background: var(--accent);
                transform: scaleX(0);
                transform-origin: right;
                transition: transform 360ms var(--ease-out-expo);
            }

            &:hover, &.active {
                color: var(--accent);
                transform: translateY(-1px);
                &::before { opacity: 1; transform: scale(1); }
                &::after { transform: scaleX(1); transform-origin: left; }
            }
        }
    }

    .menu-toggle {
        display: none;
        width: 44px;
        height: 44px;
        border: 1px solid var(--border);
        border-radius: 12px;
        background: #fff;
        color: var(--primary);
        font-size: 1.35rem;
        box-shadow: var(--shadow-xs);
        transition: transform var(--transition), border-color var(--transition);

        &:hover {
            transform: translateY(-2px);
            border-color: var(--accent);
        }
    }

    /* --- BRIGHT LUXURY HERO SECTION --- */
    .hero {
        isolation: isolate;
        overflow: hidden;
        min-height: min(740px, calc(100svh - 70px));
        display: grid;
        align-items: center;
        padding-block: clamp(76px, 10vw, 130px);
        color: var(--text-dark);
        /* Vibrant Light Clinical Gradient */
        background:
            radial-gradient(circle at 85% 20%, rgba(42, 172, 166, 0.16), transparent 45%),
            radial-gradient(circle at 10% 80%, rgba(29, 143, 140, 0.10), transparent 40%),
            linear-gradient(135deg, #eef7f6 0%, #f7faf9 45%, #ffffff 100%);
    }

    .hero::before {
        content: "";
        position: absolute;
        z-index: -1;
        width: 500px;
        height: 500px;
        right: -140px;
        top: -140px;
        border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
        border-radius: 50%;
        box-shadow: 0 0 0 80px rgba(42, 172, 166, 0.03), 0 0 0 160px rgba(42, 172, 166, 0.015);
        animation: cosmoOrb 14s ease-in-out infinite alternate;
    }

    .hero-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
        align-items: center;
        gap: clamp(34px, 6vw, 90px);
    }

    .hero h1 {
        color: var(--primary);
        font-size: clamp(2.35rem, 5.2vw, 4.35rem);
        line-height: 1.04;
        letter-spacing: -.06em;
        font-weight: 800;
        text-wrap: balance;
        opacity: 0;
        animation: fadeUpBlur 1s var(--ease-out-expo) forwards;
    }

    .hero p {
        max-width: 640px;
        margin-bottom: 34px;
        color: var(--text-light);
        font-size: clamp(1rem, 1.5vw, 1.14rem);
        line-height: 1.75;
        opacity: 0;
        animation: fadeUpBlur 1s var(--ease-out-expo) 0.15s forwards;
    }

    .hero .btn-group {
        opacity: 0;
        animation: fadeUpBlur 1s var(--ease-out-expo) 0.3s forwards;
    }

    /* --- SUPERPOWERED BUTTONS --- */
    .btn-group {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
    }

    .btn {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 52px;
        padding-inline: clamp(20px, 2.4vw, 26px);
        overflow: hidden;
        border: 1px solid transparent;
        border-radius: var(--radius-sm);
        font-size: .96rem;
        font-weight: 700;
        letter-spacing: -.015em;
        transform: translateZ(0);
        transition: transform 300ms var(--ease-out-expo), box-shadow 300ms var(--ease-out-expo), background 300ms var(--ease-out-expo), border-color 300ms var(--ease-out-expo);

        /* Liquid Sheen Animation */
        &::before {
            content: "";
            position: absolute;
            z-index: 1;
            top: -80%;
            left: -45%;
            width: 35%;
            height: 260%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent);
            transform: rotate(22deg) translateX(-180%);
            transition: transform 650ms cubic-bezier(.2, .7, .2, 1);
        }

        &:hover::before { transform: rotate(22deg) translateX(520%); }
        &:hover { transform: translateY(-3px); text-decoration: none; }
        &:active { transform: translateY(-1px) scale(.985); }
    }

    .btn-primary {
        color: #fff;
        background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
        box-shadow: 0 10px 28px rgba(29, 143, 140, .28);

        &:hover {
            color: #fff;
            box-shadow: 0 16px 36px rgba(29, 143, 140, .38);
        }
    }

    .btn-secondary {
        color: var(--primary);
        border-color: rgba(11, 52, 66, 0.18);
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(8px);

        &:hover {
            color: var(--primary);
            border-color: var(--accent);
            background: #ffffff;
            box-shadow: var(--shadow-sm);
        }
    }

    /* --- CARDS & CONTAINER QUERY POWER --- */
    .grid-3 {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: clamp(16px, 2vw, 24px);
    }

    .card {
        position: relative;
        overflow: hidden;
        padding: clamp(24px, 3vw, 36px);
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        background: var(--bg-card);
        box-shadow: var(--shadow-xs);
        transform: translateZ(0);
        transition: transform 450ms var(--ease-out-expo), box-shadow 450ms var(--ease-out-expo), border-color 450ms var(--ease-out-expo);

        &::before {
            content: "";
            position: absolute;
            inset: 0 0 auto;
            height: 3px;
            background: linear-gradient(90deg, var(--accent), var(--accent-2));
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 500ms var(--ease-out-expo);
        }

        &:hover {
            transform: translateY(-8px) scale(1.008);
            border-color: var(--border-hover);
            box-shadow: var(--shadow-hover);
            &::before { transform: scaleX(1); }
            & img { transform: scale(1.04); }
        }

        & h3 {
            margin-bottom: 11px;
            color: var(--primary);
            font-size: clamp(1.12rem, 2vw, 1.3rem);
            line-height: 1.25;
            letter-spacing: -.025em;
        }

        & p {
            color: var(--text-light);
            font-size: .98rem;
        }

        & img {
            transition: transform 700ms cubic-bezier(.2, .7, .2, 1);
        }
    }

    /* --- FORM STYLING WITH HAS() REACTION --- */
    .contact-container {
        position: relative;
        max-width: 780px;
        margin-inline: auto;
        padding: clamp(28px, 5vw, 52px);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        background: #ffffff;
        box-shadow: var(--shadow-md);

        /* Has selector power: highlight container when form is focused */
        &:has(.form-control:focus) {
            border-color: var(--border-hover);
            box-shadow: var(--shadow-hover);
        }
    }

    .form-group {
        position: relative;
        margin-bottom: 20px;

        & label {
            display: block;
            margin-bottom: 8px;
            color: var(--primary);
            font-size: .9rem;
            font-weight: 700;
            transition: color 300ms var(--ease-out-expo), transform 300ms var(--ease-out-expo);
        }

        &:focus-within label {
            color: var(--accent);
            transform: translateX(3px);
        }
    }

    .form-control {
        width: 100%;
        min-height: 52px;
        padding: 13px 16px;
        border: 1px solid var(--border);
        border-radius: 11px;
        outline: none;
        color: var(--text-dark);
        background: var(--bg-light);
        font-size: .98rem;
        transition: border-color 300ms var(--ease-out-expo), box-shadow 300ms var(--ease-out-expo), transform 300ms var(--ease-out-expo), background 300ms var(--ease-out-expo);

        &::placeholder { color: var(--text-muted); }
        &:hover { border-color: rgba(11, 52, 66, .24); }

        &:focus {
            transform: translateY(-2px);
            border-color: var(--accent);
            background: #ffffff;
            box-shadow: 0 6px 18px rgba(29, 143, 140, .12), 0 0 0 4px rgba(29, 143, 140, .10);
        }
    }

    textarea.form-control {
        min-height: 150px;
        resize: vertical;
    }

    /* --- FLOATING WHATSAPP BUTTON --- */
    .whatsapp-float {
        position: fixed;
        right: clamp(16px, 2.4vw, 28px);
        bottom: clamp(16px, 2.4vw, 28px);
        z-index: 999;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 58px;
        height: 58px;
        border: 2px solid #ffffff;
        border-radius: 50%;
        color: #ffffff;
        background: #25d366;
        box-shadow: 0 10px 26px rgba(37, 211, 102, .32);
        font-size: 28px;
        animation: cosmoFloat 4s ease-in-out infinite;
        transition: transform var(--transition), box-shadow var(--transition);

        &::before {
            content: "";
            position: absolute;
            inset: -5px;
            border: 1px solid rgba(37, 211, 102, .3);
            border-radius: 50%;
            animation: cosmoPulse 2.8s ease-out infinite;
        }

        &:hover {
            color: #ffffff;
            animation-play-state: paused;
            transform: translateY(-4px) scale(1.06);
            box-shadow: 0 16px 36px rgba(37, 211, 102, .42);
        }
    }

    /* --- FRESH BRIGHT FOOTER --- */
    footer {
        position: relative;
        overflow: hidden;
        color: #ffffff;
        background:
            radial-gradient(circle at 85% 10%, rgba(42, 172, 166, 0.15), transparent 35%),
            linear-gradient(145deg, #092c38 0%, #0d3d4c 100%);
        padding: clamp(58px, 7vw, 82px) 0 25px;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 45px;
        margin-bottom: 52px;
    }

    .footer-col h4 {
        margin-bottom: 18px;
        color: #ffffff;
        font-size: 1.05rem;
        font-weight: 750;
    }

    .footer-col p, .footer-col ul {
        color: rgba(255, 255, 255, 0.72);
        font-size: .93rem;
        list-style: none;
    }

    .footer-col a {
        color: rgba(255, 255, 255, 0.78);
        position: relative;

        &::after {
            content: "";
            position: absolute;
            left: 0;
            right: 100%;
            bottom: -2px;
            height: 1px;
            background: currentColor;
            transition: right var(--transition);
        }

        &:hover {
            color: #ffffff;
            &::after { right: 0; }
        }
    }

    .footer-bottom {
        padding-top: 22px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.5);
        font-size: .82rem;
        text-align: center;
    }
}

/* ---------- 07. ANIMATIONS LAYER (ORIGINAL & ADVANCED MICRO-INTERACTIONS) ---------- */
@layer animations {
    
    /* --- ORIGINAL KEYFRAMES --- */
    @keyframes fadeUpBlur {
        from { opacity: 0; transform: translateY(28px); filter: blur(8px); }
        to { opacity: 1; transform: translateY(0); filter: blur(0); }
    }

    @keyframes cosmoFloat {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-6px); }
    }

    @keyframes cosmoPulse {
        0% { opacity: 0.75; transform: scale(.92); }
        70%, 100% { opacity: 0; transform: scale(1.28); }
    }

    @keyframes cosmoOrb {
        from { transform: translate3d(0, 0, 0) scale(1); }
        to { transform: translate3d(60px, -30px, 0) scale(1.1); }
    }

    /* --- NEW ADVANCED KEYFRAMES --- */
    @keyframes spinAngle {
        0% { --angle: 0deg; }
        100% { --angle: 360deg; }
    }

    @keyframes textShine {
        to { background-position: 200% center; }
    }

    @keyframes slideInRight {
        to { opacity: 1; transform: translateX(0); }
    }

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

    /* --- ORIGINAL CLASSES --- */
    .reveal-blur {
        opacity: 0;
        transform: translateY(24px);
        filter: blur(6px);
        transition: opacity 800ms var(--ease-out-expo), transform 800ms var(--ease-out-expo), filter 800ms var(--ease-out-expo);
        &.visible {
            opacity: 1;
            transform: translateY(0);
            filter: blur(0);
        }
    }

    .float-element {
        animation: cosmoFloat 6s ease-in-out infinite alternate;
    }

    /* --- NEW ADVANCED ANIMATION CLASSES --- */
    
    /* Sleek Clip-Path Reveal (Modern alternative to basic fade) */
    .reveal-clip {
        clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
        opacity: 0;
        transform: translateY(24px);
        transition: clip-path 0.9s var(--ease-out-expo),
                    transform 0.9s var(--ease-out-expo),
                    opacity 0.9s var(--ease-out-expo);
        will-change: clip-path, transform, opacity;
    }
    
    .reveal-clip.visible {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        opacity: 1;
        transform: translateY(0);
    }

    /* Magnetic Conic-Gradient Card Glow */
    .card-glow {
        position: relative;
        z-index: 1;
        background: var(--bg-card);
        background-clip: padding-box;
        border: 1px solid transparent;
        transition: transform 0.4s var(--ease-out-expo);
    }

    .card-glow::before {
        content: "";
        position: absolute;
        inset: -2px;
        z-index: -1;
        border-radius: calc(var(--radius-md) + 2px);
        background: conic-gradient(
            from var(--angle), 
            var(--border) 0%, 
            var(--accent) 30%, 
            transparent 50%, 
            var(--accent-2) 70%, 
            var(--border) 100%
        );
        opacity: 0;
        transition: opacity 0.5s var(--ease-out-expo);
        animation: spinAngle 4s linear infinite;
    }

    .card-glow:hover {
        transform: translateY(-4px) scale(1.01);
    }

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

    /* Text Gradient Shimmer (For Premium Headlines) */
    .text-shimmer {
        background: linear-gradient(
            110deg,
            var(--primary) 20%,
            var(--accent) 40%,
            var(--accent-2) 60%,
            var(--primary) 80%
        );
        background-size: 200% auto;
        color: transparent;
        -webkit-background-clip: text;
        background-clip: text;
        animation: textShine 4s linear infinite;
    }

    /* Elegant Link Arrow Micro-interaction */
    .link-arrow {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-weight: 600;
        color: var(--accent);
    }

    .link-arrow svg, .link-arrow i {
        transition: transform 0.35s var(--ease-out-expo);
    }

    .link-arrow:hover svg, .link-arrow:hover i {
        transform: translateX(5px);
    }

    /* Fluid Staggered List Items */
    .stagger-list li {
        opacity: 0;
        transform: translateX(-15px);
        animation: slideInRight 0.7s var(--ease-out-expo) forwards;
    }
    
    .stagger-list li:nth-child(1) { animation-delay: 0.1s; }
    .stagger-list li:nth-child(2) { animation-delay: 0.18s; }
    .stagger-list li:nth-child(3) { animation-delay: 0.26s; }
    .stagger-list li:nth-child(4) { animation-delay: 0.34s; }
    .stagger-list li:nth-child(5) { animation-delay: 0.42s; }

    /* Professional Skeleton Loading State */
    .skeleton {
        background: linear-gradient(
            90deg,
            var(--bg-soft) 25%,
            #ffffff 50%,
            var(--bg-soft) 75%
        );
        background-size: 400% 100%;
        border-radius: var(--radius-sm);
        animation: skeletonShimmer 1.5s ease-in-out infinite;
    }
}

/* ---------- 08. CONTAINER QUERIES & RESPONSIVE BREAKPOINTS ---------- */
@container (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero h1, .hero p { margin-inline: auto; }
    .btn-group { justify-content: center; }
}

@media (max-width: 1024px) {
    .grid-3, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
    .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }

    nav {
        & ul {
            position: absolute;
            top: calc(100% + 10px);
            right: 0;
            display: none;
            width: min(340px, calc(100vw - 28px));
            padding: 10px;
            flex-direction: column;
            align-items: stretch;
            gap: 4px;
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            background: rgba(255, 255, 255, .98);
            box-shadow: var(--shadow-md);
            backdrop-filter: blur(18px);

            &.active {
                display: flex;
                animation: fadeUpBlur 250ms var(--ease-out-expo) forwards;
            }
        }

        & a { width: 100%; min-height: 46px; }
    }
}

@media (max-width: 640px) {
    section { padding-block: 64px; }
    .hero { padding-block: 72px 78px; }
    .hero h1 { font-size: clamp(2.1rem, 10vw, 3.1rem); }
    .grid-3, .footer-grid { grid-template-columns: 1fr; }
    .btn-group { width: min(100%, 360px); margin-inline: auto; }
    .btn { width: 100%; }
    .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; font-size: 25px; }
}

/* ---------- 09. UTILITIES & ACCESSIBILITY ---------- */
@layer utilities {
    :focus-visible {
        outline: 3px solid var(--accent);
        outline-offset: 3px;
    }

    @media (hover: none) and (pointer: coarse) {
        nav a:hover, .btn:hover, .card:hover, .whatsapp-float:hover { transform: none; }
    }

    @media (prefers-reduced-motion: reduce) {
        html { scroll-behavior: auto; }
        *, *::before, *::after {
            animation: none !important;
            transition-duration: .01ms !important;
        }
    }
}