/*
 * Auronix authored polish layer.
 * Keep this file readable so page-specific refinements stay out of minified Tailwind output.
 */

:root {
    --agency-ink: #02040a;
    --agency-panel: rgba(5, 11, 20, 0.78);
    --agency-panel-soft: rgba(9, 17, 31, 0.58);
    --agency-line: rgba(139, 232, 255, 0.15);
    --agency-line-strong: rgba(0, 243, 255, 0.34);
    --agency-cyan: #00f3ff;
    --agency-green: #58f59f;
    --agency-pink: #bc13fe;
    --agency-gold: #ffd08a;
    --agency-copy: rgba(218, 230, 244, 0.78);
    --agency-muted: rgba(156, 177, 201, 0.62);
    --agency-safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* Homepage section calming */
html body.is-home-page main > section:nth-of-type(n + 3) {
    background:
        linear-gradient(180deg, rgba(1, 4, 9, 0.03), rgba(5, 12, 22, 0.28) 48%, rgba(1, 4, 9, 0.05)),
        radial-gradient(circle at 14% 0%, rgba(0, 243, 255, 0.045), transparent 34%),
        radial-gradient(circle at 86% 18%, rgba(255, 208, 138, 0.035), transparent 30%) !important;
    border-color: rgba(255, 255, 255, 0.055) !important;
    backdrop-filter: blur(3px) saturate(0.92) !important;
    -webkit-backdrop-filter: blur(3px) saturate(0.92) !important;
}

html body.is-home-page main > section:nth-of-type(n + 3)::after {
    left: 14% !important;
    right: 14% !important;
    background: linear-gradient(90deg, transparent, rgba(139, 232, 255, 0.075), rgba(255, 208, 138, 0.045), transparent) !important;
}

html body.is-home-page #portfolio,
html body.is-home-page #projects-in-progress,
html body.is-home-page #projects-in-staging,
html body.is-home-page #blog,
html body.is-home-page #process,
html body.is-home-page #pricing,
html body.is-home-page #contact {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.028);
}

html body.is-home-page main > section:nth-of-type(n + 3) .ambient-glow-radial {
    opacity: 0.14 !important;
    filter: blur(96px) saturate(0.72);
}

html body.is-home-page main > section:nth-of-type(n + 3) .mix-blend-overlay {
    opacity: 0.08 !important;
}

html body.is-home-page main > section:nth-of-type(n + 3) .bg-cyber-gray\/30,
html body.is-home-page main > section:nth-of-type(n + 3) .bg-cyber-gray\/50,
html body.is-home-page main > section:nth-of-type(n + 3) .bg-cyber-black {
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

html body.is-home-page main > section:nth-of-type(n + 3) .group:hover {
    filter: saturate(0.95);
}

/* Services editorial polish */
html body.is-home-page main > .auronix-services-home,
.auronix-services-home {
    background:
        linear-gradient(180deg, rgba(3, 7, 14, 0.12), rgba(7, 13, 24, 0.32) 54%, rgba(2, 4, 10, 0.12)),
        radial-gradient(circle at 50% 0%, rgba(0, 243, 255, 0.075), transparent 38%) !important;
    isolation: isolate;
}

.auronix-services-home::before {
    content: "";
    position: absolute;
    inset: 8% 6% auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.18), rgba(255, 208, 138, 0.16), transparent);
    pointer-events: none;
}

.auronix-services-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--agency-gold);
    font-family: Orbitron, Rajdhani, sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.auronix-services-eyebrow::before,
.auronix-services-eyebrow::after {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
    opacity: 0.42;
}

.auronix-service-grid {
    align-items: stretch;
}

.auronix-service-card {
    --service-accent: var(--agency-cyan);
    --service-glow: rgba(0, 243, 255, 0.14);
    --service-glow-soft: rgba(0, 243, 255, 0.22);
    display: flex;
    min-height: 100%;
    flex-direction: column;
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(10, 18, 34, 0.82), rgba(3, 6, 12, 0.94)),
        radial-gradient(circle at 12% 0%, var(--service-glow), transparent 38%) !important;
    border-color: rgba(255, 255, 255, 0.09) !important;
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.auronix-service-card--build {
    --service-accent: var(--agency-cyan);
    --service-glow: rgba(0, 243, 255, 0.15);
    --service-glow-soft: rgba(0, 243, 255, 0.24);
}

.auronix-service-card--rebuild {
    --service-accent: var(--agency-pink);
    --service-glow: rgba(188, 19, 254, 0.14);
    --service-glow-soft: rgba(188, 19, 254, 0.22);
}

.auronix-service-card--growth {
    --service-accent: var(--agency-green);
    --service-glow: rgba(88, 245, 159, 0.13);
    --service-glow-soft: rgba(88, 245, 159, 0.2);
}

.auronix-service-card::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 21px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.075), transparent 28%, rgba(255, 255, 255, 0.025));
    opacity: 0.72;
    pointer-events: none;
}

.auronix-service-card > * {
    position: relative;
    z-index: 1;
}

.auronix-service-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    color: var(--agency-muted);
    font-family: Orbitron, Rajdhani, sans-serif;
    text-transform: uppercase;
}

.auronix-service-card__index {
    color: var(--service-accent);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.auronix-service-card__label {
    padding: 7px 10px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    color: rgba(226, 238, 248, 0.66);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.auronix-service-card__icon {
    border-radius: 16px;
    box-shadow:
        0 0 22px var(--service-glow-soft),
        inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

.auronix-service-card h3 {
    letter-spacing: 0.015em;
}

.auronix-service-card p {
    color: var(--agency-copy);
}

.auronix-service-card__list {
    margin-top: auto;
}

.auronix-service-card__list li {
    align-items: flex-start;
    line-height: 1.55;
}

.auronix-service-card__list li span {
    flex: 0 0 auto;
    margin-top: 1px;
}

.auronix-services-cta a {
    border-radius: 999px;
    box-shadow: 0 0 28px rgba(0, 243, 255, 0.16);
}

/* Editorial homepage polish */
html body.is-home-page {
    --agency-section-pad: clamp(4.75rem, 7.6vw, 7.25rem);
    --agency-card-radius: 24px;
    --agency-card-border: rgba(229, 239, 250, 0.115);
    --agency-card-shadow: 0 26px 80px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.045);
    --agency-proof-surface: linear-gradient(145deg, rgba(10, 16, 28, 0.84), rgba(2, 5, 11, 0.92));
}

html body.is-home-page main > section:not(:first-of-type) {
    padding-top: var(--agency-section-pad) !important;
    padding-bottom: var(--agency-section-pad) !important;
}

html body.is-home-page main > section:not(:first-of-type) .container {
    position: relative;
    z-index: 1;
}

html body.is-home-page main > section:not(:first-of-type) :where(h2, h3) {
    text-wrap: balance;
}

html body.is-home-page main > section:not(:first-of-type) h2 {
    letter-spacing: -0.025em;
    line-height: 1.04;
}

html body.is-home-page main > section:not(:first-of-type) h3 {
    line-height: 1.14;
}

html body.is-home-page main > section:not(:first-of-type) p {
    line-height: 1.75;
}

html body.is-home-page main > section:not(:first-of-type) .ambient-glow-radial,
html body.is-home-page main > section:not(:first-of-type) [class*="blur-[120px]"],
html body.is-home-page main > section:not(:first-of-type) [class*="blur-2xl"] {
    opacity: 0.09 !important;
    filter: blur(82px) saturate(0.72) !important;
}

html body.is-home-page main > section:not(:first-of-type) .mix-blend-overlay {
    opacity: 0.055 !important;
}

html body.is-home-page main > section:not(:first-of-type) [class*="shadow-[0_0"],
html body.is-home-page main > section:not(:first-of-type) .glow-card-interactive {
    box-shadow: var(--agency-card-shadow) !important;
}

html body.is-home-page main > section:not(:first-of-type) [class*="drop-shadow"],
html body.is-home-page main > section:not(:first-of-type) .text-shadow-neon {
    filter: none !important;
    text-shadow: none !important;
}

html body.is-home-page main > section:not(:first-of-type) :where(a, button):focus-visible {
    outline: 2px solid rgba(255, 208, 138, 0.82);
    outline-offset: 4px;
}

html body.is-home-page #portfolio .space-y-20,
html body.is-home-page #projects-in-progress .space-y-20 {
    display: grid;
    gap: clamp(3.5rem, 7vw, 6.25rem) !important;
}

html body.is-home-page #portfolio .space-y-20 > .group,
html body.is-home-page #projects-in-progress .space-y-20 > .group {
    gap: clamp(2rem, 4vw, 3.5rem) !important;
    padding: clamp(1.25rem, 2.4vw, 2rem);
    border: 1px solid var(--agency-card-border);
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.035), transparent 28%),
        linear-gradient(145deg, rgba(8, 14, 25, 0.76), rgba(3, 5, 10, 0.9));
    box-shadow: var(--agency-card-shadow);
}

html body.is-home-page #portfolio .space-y-20 > .group:nth-child(even),
html body.is-home-page #projects-in-progress .space-y-20 > .group:nth-child(even) {
    background:
        linear-gradient(225deg, rgba(255, 208, 138, 0.045), transparent 34%),
        linear-gradient(145deg, rgba(7, 13, 23, 0.74), rgba(2, 4, 10, 0.92));
}

html body.is-home-page #portfolio .space-y-20 > .group > .relative.border,
html body.is-home-page #projects-in-progress .space-y-20 > .group > .relative.border,
html body.is-home-page #projects-in-staging article {
    border-radius: var(--agency-card-radius);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)),
        rgba(6, 11, 20, 0.72) !important;
    border-color: var(--agency-card-border) !important;
}

html body.is-home-page #portfolio .space-y-20 > .group > .relative.border,
html body.is-home-page #projects-in-progress .space-y-20 > .group > .relative.border {
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
}

html body.is-home-page #portfolio .aspect-video,
html body.is-home-page #projects-in-progress [style*="aspect-ratio"],
html body.is-home-page #projects-in-staging [style*="aspect-ratio"] {
    border-radius: 18px;
}

html body.is-home-page #portfolio img,
html body.is-home-page #projects-in-progress img,
html body.is-home-page #projects-in-staging img {
    filter: saturate(0.86) contrast(1.05) brightness(0.92);
}

html body.is-home-page #portfolio .group:hover img,
html body.is-home-page #projects-in-progress .group:hover img,
html body.is-home-page #projects-in-staging .group:hover img {
    filter: saturate(0.98) contrast(1.06) brightness(0.97);
}

html body.is-home-page #portfolio [class*="bg-[linear-gradient"],
html body.is-home-page #projects-in-progress [class*="bg-[linear-gradient"] {
    opacity: 0.075 !important;
}

html body.is-home-page #portfolio .space-y-20 > .group > .relative.border > .absolute,
html body.is-home-page #projects-in-progress .space-y-20 > .group > .relative.border > .absolute {
    opacity: 0.52;
}

html body.is-home-page #portfolio [class*="bg-cyber-gray/40"],
html body.is-home-page #portfolio [class*="bg-cyber-black/60"],
html body.is-home-page #projects-in-progress [class*="bg-cyber-gray/40"] {
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
        rgba(5, 10, 18, 0.72) !important;
}

html body.is-home-page #portfolio :where(button, a[href^="/project"], a[target="_blank"]),
html body.is-home-page #projects-in-progress :where(button, a[href^="/project"], a[target="_blank"]),
html body.is-home-page #projects-in-staging :where(a[href^="/project"], a[target="_blank"]) {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
}

html body.is-home-page #portfolio .flex.flex-wrap.gap-2 span,
html body.is-home-page #projects-in-progress .flex.flex-wrap.gap-2 span,
html body.is-home-page #projects-in-staging .flex.flex-wrap.gap-2 span {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    letter-spacing: 0.11em;
}

html body.is-home-page #projects-in-staging article {
    padding: 12px;
    box-shadow: var(--agency-card-shadow);
}

html body.is-home-page #projects-in-staging article > div:last-child {
    padding: 16px 10px 10px !important;
}

html body.is-home-page main > section:nth-of-type(8) {
    background:
        linear-gradient(180deg, rgba(3, 7, 13, 0.52), rgba(7, 14, 22, 0.66) 52%, rgba(2, 4, 9, 0.42)),
        radial-gradient(circle at 88% 0%, rgba(88, 245, 159, 0.06), transparent 32%) !important;
}

html body.is-home-page main > section:nth-of-type(8) .border-l-2 {
    border-color: rgba(88, 245, 159, 0.42) !important;
}

html body.is-home-page main > section:nth-of-type(8) .grid.grid-cols-2 > div,
html body.is-home-page main > section:nth-of-type(8) .bg-cyber-black.p-8.border {
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(10, 18, 26, 0.82), rgba(3, 7, 12, 0.94)) !important;
    border-color: rgba(88, 245, 159, 0.14) !important;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.045) !important;
}

html body.is-home-page main > section:nth-of-type(8) .grid.grid-cols-2 > div:hover {
    border-color: rgba(88, 245, 159, 0.32) !important;
}

html body.is-home-page main > section:nth-of-type(8) svg circle:first-child {
    stroke: rgba(255, 255, 255, 0.12);
}

html body.is-home-page main > section:nth-of-type(8) svg circle:last-child {
    stroke: rgba(88, 245, 159, 0.72);
}

html body.is-home-page .auronix-performance-ledger {
    background:
        linear-gradient(180deg, rgba(3, 7, 13, 0.52), rgba(7, 14, 22, 0.66) 52%, rgba(2, 4, 9, 0.42)),
        radial-gradient(circle at 88% 0%, rgba(88, 245, 159, 0.06), transparent 32%) !important;
}

html body.is-home-page .auronix-performance-ledger .border-l-2 {
    border-color: rgba(255, 208, 138, 0.42) !important;
}

html body.is-home-page .auronix-performance-ledger .grid.gap-3 > div,
html body.is-home-page .auronix-performance-checklist,
html body.is-home-page .auronix-performance-checklist li {
    border-radius: 20px;
    background:
        linear-gradient(145deg, rgba(10, 18, 26, 0.82), rgba(3, 7, 12, 0.94)) !important;
    border-color: rgba(255, 208, 138, 0.14) !important;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.045) !important;
}

html body.is-home-page .auronix-performance-checklist li {
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
}

html body.is-home-page #process .group.relative,
html body.is-home-page #pricing .grid > .group,
html body.is-home-page #contact .bg-cyber-gray\/30,
html body.is-home-page .faq-item {
    border-radius: 22px;
    background:
        linear-gradient(145deg, rgba(11, 18, 31, 0.78), rgba(3, 6, 12, 0.92)) !important;
    border-color: var(--agency-card-border) !important;
    box-shadow: 0 22px 68px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

html body.is-home-page #pricing .grid > .group:nth-child(2) {
    border-color: rgba(0, 243, 255, 0.28) !important;
    transform: translateY(-10px);
}

html body.is-home-page #contact .space-y-6 a {
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.014)),
        rgba(7, 13, 22, 0.76) !important;
}

html body.is-home-page #contact :where(input, select, textarea) {
    border-radius: 14px;
    background-color: rgba(2, 5, 10, 0.72) !important;
}

/* WhatsApp control */
.auronix-whatsapp-widget {
    position: fixed;
    left: clamp(14px, 2.4vw, 30px);
    bottom: calc(20px + var(--agency-safe-bottom));
    z-index: 58;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 60px;
    max-width: min(320px, calc(100vw - 32px));
    padding: 9px 16px 9px 9px;
    color: #effff6;
    text-decoration: none;
    border: 1px solid rgba(88, 245, 159, 0.34);
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(4, 15, 18, 0.92), rgba(3, 5, 10, 0.88)),
        radial-gradient(circle at 12% 10%, rgba(88, 245, 159, 0.2), transparent 44%);
    box-shadow:
        0 18px 42px rgba(0, 0, 0, 0.48),
        0 0 22px rgba(88, 245, 159, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(16px) saturate(1.1);
    -webkit-backdrop-filter: blur(16px) saturate(1.1);
    transition: transform 220ms ease, opacity 220ms ease, visibility 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.auronix-whatsapp-widget::before {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(88, 245, 159, 0.18), rgba(0, 243, 255, 0.08), transparent);
    opacity: 0.78;
}

.auronix-whatsapp-widget:hover,
.auronix-whatsapp-widget:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(88, 245, 159, 0.62);
    box-shadow:
        0 22px 54px rgba(0, 0, 0, 0.52),
        0 0 30px rgba(88, 245, 159, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    outline: none;
}

.auronix-whatsapp-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #06110b;
    border-radius: 50%;
    background: linear-gradient(135deg, #caffe0, var(--agency-green));
    box-shadow:
        0 0 18px rgba(88, 245, 159, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.auronix-whatsapp-icon svg {
    width: 23px;
    height: 23px;
}

.auronix-whatsapp-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.auronix-whatsapp-kicker {
    color: rgba(255, 255, 255, 0.92);
    font-family: Orbitron, Rajdhani, sans-serif;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.18em;
    line-height: 1;
    text-transform: uppercase;
}

.auronix-whatsapp-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(210, 232, 222, 0.76);
    font-family: Rajdhani, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.auronix-whatsapp-status {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--agency-green);
    box-shadow: 0 0 12px rgba(88, 245, 159, 0.84);
}

body.auronix-chat-open .auronix-whatsapp-widget {
    opacity: 0.36;
    pointer-events: none;
    transform: translate3d(-8px, 6px, 0) scale(0.96);
}

body.auronix-assistants-hidden #ai-chat-root,
body.auronix-assistants-hidden .auronix-whatsapp-widget {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translate3d(0, 18px, 0) scale(0.96) !important;
}

/* AI chatbot widget overrides removed to restore premium 3D mascot widget */

@media (max-width: 1130px) {
    #mobile-menu {
        max-height: min(76svh, 680px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding-bottom: calc(18px + var(--agency-safe-bottom)) !important;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 208, 138, 0.5) rgba(255, 255, 255, 0.08);
    }

    #mobile-services-submenu {
        max-height: 46svh;
        overflow-y: auto;
        padding-right: 4px;
    }

    .auronix-mobile-link {
        min-height: 48px;
    }
}

@media (max-width: 767px) {
    html body.is-home-page main > .auronix-services-home {
        padding-top: 78px !important;
        padding-bottom: 76px !important;
    }

    .auronix-services-intro {
        text-align: left;
        margin-bottom: 34px !important;
    }

    .auronix-services-intro p {
        margin-left: 0;
        margin-right: 0;
        font-size: 15px;
        line-height: 1.75;
    }

    .auronix-services-eyebrow::after {
        content: none;
    }

    .auronix-service-grid {
        gap: 16px !important;
    }

    .auronix-service-card {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 16px;
        padding: 22px !important;
        border-radius: 20px;
    }

    .auronix-service-card::after {
        border-radius: 19px;
    }

    .auronix-service-card__meta,
    .auronix-service-card p,
    .auronix-service-card__list {
        grid-column: 1 / -1;
    }

    .auronix-service-card__meta {
        margin-bottom: 18px;
    }

    .auronix-service-card__label {
        white-space: nowrap;
    }

    .auronix-service-card__icon {
        width: 52px !important;
        height: 52px !important;
        margin-bottom: 0 !important;
    }

    .auronix-service-card h3 {
        align-self: center;
        margin-bottom: 0 !important;
        font-size: 20px;
        line-height: 1.18;
    }

    .auronix-service-card p {
        margin-top: 18px;
        margin-bottom: 18px !important;
    }

    .auronix-service-card__list {
        display: grid;
        gap: 8px;
    }

    .auronix-service-card__list li {
        gap: 9px;
        padding: 10px 11px;
        border: 1px solid rgba(255, 255, 255, 0.07);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.028);
    }

    .auronix-services-cta {
        text-align: left;
        margin-top: 34px !important;
    }

    .auronix-services-cta a {
        width: 100%;
        justify-content: center;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    html body.is-home-page main > section:nth-of-type(n + 3) {
        padding-top: 72px !important;
        padding-bottom: 72px !important;
    }
}

@media (max-width: 640px) {
    .auronix-whatsapp-widget {
        left: 8px;
        bottom: calc(10px + var(--agency-safe-bottom));
        width: 46px;
        min-height: 46px;
        max-width: 46px;
        padding: 5px;
        border-radius: 16px;
    }

    .auronix-whatsapp-copy {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .auronix-whatsapp-icon {
        width: 36px;
        height: 36px;
    }

    body.auronix-chat-open .auronix-whatsapp-widget {
        opacity: 0;
        visibility: hidden;
        transform: translate3d(0, 12px, 0) scale(0.94);
    }
}

@media (min-width: 641px) and (max-width: 767px) {
    .auronix-whatsapp-widget {
        left: 10px;
        bottom: calc(12px + var(--agency-safe-bottom));
        width: 52px;
        min-height: 52px;
        max-width: 52px;
        padding: 6px;
        border-radius: 17px;
    }

    .auronix-whatsapp-copy {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .auronix-whatsapp-icon {
        width: 40px;
        height: 40px;
    }
}

/* AI chatbot widget mobile overrides removed to restore premium 3D mascot widget */

@media (max-width: 767px) {
    html body.is-home-page {
        --agency-section-pad: 64px;
        --agency-card-radius: 20px;
    }

    html body.is-home-page main > section:not(:first-of-type) {
        padding-top: 64px !important;
        padding-bottom: 66px !important;
    }

    html body.is-home-page main > section:not(:first-of-type) h2 {
        font-size: clamp(1.9rem, 9vw, 2.45rem) !important;
        line-height: 1.08;
    }

    html body.is-home-page main > section:not(:first-of-type) h3 {
        font-size: clamp(1.28rem, 6vw, 1.65rem) !important;
    }

    html body.is-home-page main > section:not(:first-of-type) p {
        font-size: 15px;
        line-height: 1.78;
    }

    html body.is-home-page #portfolio .space-y-20,
    html body.is-home-page #projects-in-progress .space-y-20 {
        gap: 34px !important;
    }

    html body.is-home-page #portfolio .space-y-20 > .group,
    html body.is-home-page #projects-in-progress .space-y-20 > .group {
        padding: 16px;
        border-radius: 22px;
        gap: 22px !important;
    }

    html body.is-home-page #portfolio .space-y-20 > .group > .relative.border,
    html body.is-home-page #projects-in-progress .space-y-20 > .group > .relative.border,
    html body.is-home-page #projects-in-staging article {
        border-radius: 20px;
    }

    html body.is-home-page #portfolio .aspect-video,
    html body.is-home-page #projects-in-progress [style*="aspect-ratio"],
    html body.is-home-page #projects-in-staging [style*="aspect-ratio"] {
        border-radius: 14px;
    }

    html body.is-home-page #portfolio .flex.flex-wrap.gap-3,
    html body.is-home-page #projects-in-progress .flex.flex-wrap.gap-3,
    html body.is-home-page #projects-in-staging .flex.flex-wrap.gap-3 {
        display: grid;
        grid-template-columns: 1fr;
    }

    html body.is-home-page #portfolio :where(button, a[href^="/project"], a[target="_blank"]),
    html body.is-home-page #projects-in-progress :where(button, a[href^="/project"], a[target="_blank"]),
    html body.is-home-page #projects-in-staging :where(a[href^="/project"], a[target="_blank"]) {
        justify-content: center;
        width: 100%;
        padding: 11px 14px;
        text-align: center;
        white-space: normal;
    }

    html body.is-home-page #projects-in-staging .grid {
        gap: 18px !important;
    }

    html body.is-home-page main > section:nth-of-type(8) .flex.justify-center {
        flex-wrap: wrap;
    }

    html body.is-home-page main > section:nth-of-type(8) .grid.grid-cols-2 {
        grid-template-columns: 1fr;
    }

    html body.is-home-page main > section:nth-of-type(8) .bg-cyber-black.p-8.border {
        padding: 22px !important;
    }

    html body.is-home-page .auronix-performance-ledger .grid.gap-3 {
        grid-template-columns: 1fr !important;
    }

    html body.is-home-page .auronix-performance-checklist {
        padding: 20px !important;
    }

    html body.is-home-page .auronix-performance-checklist li {
        grid-template-columns: 1fr !important;
        gap: 10px;
        padding: 16px !important;
    }

    html body.is-home-page #process .flex.flex-col,
    html body.is-home-page #contact .grid {
        gap: 28px !important;
    }

    html body.is-home-page #pricing .grid > .group:nth-child(2) {
        transform: none;
    }

    html body.is-home-page #contact .grid.grid-cols-2,
    html body.is-home-page #contact .grid.grid-cols-1 {
        grid-template-columns: 1fr !important;
    }

    html body.is-home-page #contact .flex.gap-3 {
        align-items: stretch;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auronix-whatsapp-widget,
    .auronix-service-card,
    html body.is-home-page main > section:nth-of-type(n + 3) .group {
        transition: none !important;
    }
}
