/* ═══════════════════════════════════════════════════════════
   CHERRY SOCIAL MEDIA — DESIGN SYSTEM
   Mobile-first, class-based, no inline styles required
═══════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Outfit:wght@400;600;800&display=swap');

/* ── Design Tokens ───────────────────────────────────────── */
:root {
    --color-bg: #0A0A0B;
    --color-bg-alt: #121214;
    --color-primary: #CC0000;
    --color-primary-glow: rgba(204, 0, 0, 0.4);
    --color-surface: rgba(255, 255, 255, 0.05);
    --color-surface-hover: rgba(255, 255, 255, 0.08);
    --color-text: #FFFFFF;
    --color-text-dim: #A0A0A0;
    --color-border: rgba(255, 255, 255, 0.1);
    --color-border-active: #CC0000;
    --color-error: #ff6b6b;
    --color-success: #4caf87;

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

    --space-unit: 1rem;
    --radius-sharp: 2px;
    --radius-soft: 8px;
    --container-width: 1200px;
    --nav-height: 5rem;

    --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ── Stacking Panels (Curtain Reveal) ─────────────────────── */
/* Base Panel Styling */
.scroll-panel {
    min-height: 100vh;
    width: 100%;
    position: relative;
    /* Premium Dark Glass Effect */
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    /* Depth and Separation */
    box-shadow: 0 -30px 60px rgba(0, 0, 0, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1;
}

/* Stacking Order for overlapping */
.scroll-panel:nth-child(even) {
    z-index: 2;
}

.scroll-panel:nth-child(3n) {
    z-index: 3;
}

.scroll-panel:nth-child(4n) {
    z-index: 4;
}

/* ── Custom Cursor ──────────────────────────────────────── */
@media (hover: hover) and (pointer: fine) {
    * {
        cursor: none !important;
    }

    .custom-cursor {
        position: fixed;
        top: 0;
        left: 0;
        width: 20px;
        height: 20px;
        background-color: #ffffff;
        border-radius: 50%;
        pointer-events: none;
        z-index: 999999;
        mix-blend-mode: difference;
        transform: translate(-50%, -50%);
        will-change: transform, width, height;
        display: block;
        transition: width 0.3s var(--ease-out-quart), height 0.3s var(--ease-out-quart), background-color 0.3s var(--ease-out-quart);
    }

    .custom-cursor.is-expanded {
        width: 64px;
        height: 64px;
        background-color: var(--color-primary);
    }
}

/* Performance & Security: Ensure custom cursor is hidden on touch devices */
@media (hover: none) and (pointer: coarse) {
    .custom-cursor {
        display: none !important;
    }
}

/* ───────────────────────────────────────────────────────── */
/* ── Typography Animations ───────────────────────────────── */
.split-line-wrapper {
    overflow: hidden;
    vertical-align: bottom;
}

.split-line {
    display: block;
}

/* ── Reset ───────────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ── Base ────────────────────────────────────────────────── */
html {
    scroll-behavior: initial;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

html,
body {
    background-color: transparent !important;
}

/* Set base dark color only in the deepest background layer */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #050505;
    z-index: -10;
}

#webgl-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: -1 !important;
    /* Bring it up from -2 to -1, above body::before */
    pointer-events: none !important;
}

body {
    background-color: transparent !important;
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul {
    list-style: none;
}

address {
    font-style: normal;
}

/* ── Accessibility: Skip Link ────────────────────────────── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--color-primary);
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: var(--radius-soft);
    z-index: 10000;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 1rem;
}

/* ── Focus Styles (keyboard navigation) ──────────────────── */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 2px;
}

/* ── Layout ──────────────────────────────────────────────── */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Typography ──────────────────────────────────────────── */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, #FFF 0%, #A0A0A0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ── Buttons ─────────────────────────────────────────────── */
.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--color-primary);
    color: #FFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: var(--radius-sharp);
    border: 1px solid transparent;
    cursor: pointer;
    font-family: var(--font-body);
    transition: background-color 0.4s var(--ease-out-quart),
        border-color 0.4s var(--ease-out-quart),
        transform 0.4s var(--ease-out-quart),
        box-shadow 0.4s var(--ease-out-quart);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--color-primary-glow);
}

.btn-primary:active {
    transform: scale(0.97);
}

.btn-text {
    display: inline-block;
    will-change: transform;
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: transparent;
    color: #FFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sharp);
    cursor: pointer;
    font-family: var(--font-body);
    transition: border-color 0.4s var(--ease-out-quart),
        background-color 0.4s var(--ease-out-quart),
        transform 0.4s var(--ease-out-quart);
}

.btn-secondary:hover {
    border-color: #FFF;
    background-color: var(--color-surface);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: scale(0.97);
}

/* ── Scroll Reveal Animation ─────────────────────────────── */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out-expo),
        transform 0.8s var(--ease-out-expo);
}

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

/* ── Background Effects ──────────────────────────────────── */
.grain-overlay {
    position: fixed;
    inset: 0;
    background-image: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.03;
    pointer-events: none;
    z-index: 999;
    will-change: opacity;
}

.cherry-glow {
    position: fixed;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--color-primary-glow) 0%, transparent 70%);
    top: -10vw;
    right: -10vw;
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   FLOATING CHERRIES
═══════════════════════════════════════════════════════════ */
.bubble-layer {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.bubble {
    position: absolute;
    bottom: -80px;
    line-height: 1;
    user-select: none;
    animation: cherryRise linear infinite;
    will-change: transform, opacity;
}

@keyframes cherryRise {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }

    6% {
        opacity: 0.25;
    }

    25% {
        transform: translateY(-25vh) translateX(18px) rotate(12deg);
    }

    50% {
        transform: translateY(-50vh) translateX(-14px) rotate(-8deg);
    }

    75% {
        transform: translateY(-75vh) translateX(20px) rotate(10deg);
    }

    92% {
        opacity: 0.15;
    }

    100% {
        transform: translateY(-108vh) translateX(-10px) rotate(-5deg);
        opacity: 0;
    }
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════ */
.nav {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(10, 10, 12, 0.45);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 50px rgba(0, 0, 0, 0.3);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
    position: relative;
}

.nav-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    text-decoration: none;
    transition: transform 0.4s var(--ease-out-quart);
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.nav-logo span {
    color: var(--color-text);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li+li {
    margin-left: 2rem;
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    opacity: 0.7;
    padding: 0.5rem 0;
    display: inline-block;
    transition: opacity 0.3s, color 0.3s;
}

.nav-link:hover {
    opacity: 1;
}

.nav-social-item {
    display: flex;
    align-items: center;
    margin-left: 0.75rem !important;
}

.nav-social-item .nav-link {
    padding: 0 0.5rem;
    transition: all 0.3s;
}

.nav-social-item .nav-link i {
    width: 1rem;
    height: 1rem;
}

.nav-social-item .nav-link:hover {
    color: var(--color-primary);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .nav-links li+li {
        margin-left: 0;
    }

    .nav-social-item {
        justify-content: center;
        margin-left: 0 !important;
        margin-top: 0.5rem;
    }
}

/* Separator between links */
.nav-link--sep {
    border-right: 1px solid var(--color-border);
    padding-right: 2rem;
}

/* CTA link */
.nav-link--cta {
    background: #0a0a0c;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 100px;
    padding: 0.6rem 1.4rem;
    color: #fff !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    transition: all 0.4s var(--ease-out-quart);
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.nav-link--cta:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* Hamburger button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sharp);
    cursor: pointer;
    padding: 8px;
    transition: border-color 0.3s;
}

.hamburger:hover {
    border-color: var(--color-primary);
}

.hamburger-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--color-text);
    transition: transform 0.3s var(--ease-out-quart),
        opacity 0.3s;
}

/* X state when open */
.hamburger[aria-expanded="true"] .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.hamburger[aria-expanded="true"] .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════ */
.hero-section {
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
    position: relative;
}

.hero-content {
    max-width: 850px;
    flex: 1;
    background: rgba(10, 10, 12, 0.45);
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2.5rem;
    padding: clamp(2rem, 5vw, 5rem);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.hero-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(10, 10, 12, 0.6), rgba(10, 10, 12, 0.6)),
        url('cherry_hero_glow_1776027308714.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    filter: blur(12px);
    z-index: -1;
    transform: scale(1.1);
    /* Prevents blur artifacts at edges */
    opacity: 0.8;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero-heading {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    line-height: 0.95;
    margin-bottom: 2.5rem;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--color-text-dim);
    max-width: 500px;
    margin-bottom: 3rem;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: absolute;
    right: -10%;
    bottom: -10%;
    width: 80%;
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
    filter: blur(30px);
    mix-blend-mode: screen;
}

.hero-visual img {
    width: 100%;
    filter: contrast(1.1) brightness(1.2);
}

/* ═══════════════════════════════════════════════════════════
   SERVICES SECTION
═══════════════════════════════════════════════════════════ */
.services-section {
    padding: 10rem 0;
}

.section-header {
    margin-bottom: 5rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-eyebrow {
    color: var(--color-primary);
    font-weight: 400;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.section-divider {
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
}

.reviews-header {
    text-align: center;
    margin-bottom: 6rem;
}

.services-grid {
    display: grid !important;
    /* Força 4 colunas em qualquer situação no desktop */
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem;
    width: 100%;
    /* Remove qualquer limitação de largura que possa estar empurrando os cards */
    max-width: 100%;
    align-items: stretch;
}

/* Ajuste o padding interno dos cards se eles parecerem muito "apertados" */
.service-card {
    padding: 2rem !important;
    /* Diminuir um pouco o padding ajuda a caber o texto */
}

/* Regras de quebra para não bugar no celular */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ── Service card spin-in (driven by JS scroll position) ──── */
.service-card {
    transform-origin: center center;
    /* backface-visibility intentionally omitted — 2-D rotate never shows backface */
}

/* Bounce overshoot at the end of the spin */
@keyframes spinBounce {
    0% {
        transform: rotate(0deg) scale(1);
    }

    30% {
        transform: rotate(14deg) scale(1.06);
    }

    55% {
        transform: rotate(-5deg) scale(0.97);
    }

    75% {
        transform: rotate(3deg) scale(1.01);
    }

    100% {
        transform: rotate(0deg) scale(1);
    }
}

/* Fired by JS once the scroll-linked phase ends */
.service-card.spin-bounce {
    animation: spinBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.service-card,
.bento-card {
    position: relative;
    overflow: hidden;
    /* Contains the glow */
    background: rgba(15, 15, 15, 0.6);
    /* Slightly transparent for the glass effect */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 2rem;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.4s ease, background-color 0.4s ease;
    z-index: 1;
    display: flex;
    flex-direction: column;
    padding: 3.5rem;
    height: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

/* Subtle lift and border highlight on hover */
.service-card:hover,
.bento-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 0, 68, 0.4);
    /* Cherry red border highlight */
    background: rgba(20, 20, 22, 0.8);
}

/* The Glow Pseudo-element */
.service-card::before,
.bento-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* The radial gradient uses CSS variables injected by JS */
    background: radial-gradient(600px circle at var(--mouse-x, -100%) var(--mouse-y, -100%),
            rgba(138, 3, 30, 0.25),
            /* Deep cherry red glow */
            transparent 40%);
    z-index: -1;
    /* Behind the card content */
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover::before,
.bento-card:hover::before {
    opacity: 1;
}

/* Ensure content is above the glow */
.service-icon,
.service-card-title,
.service-card-desc {
    position: relative;
    z-index: 2;
}

.service-card:hover .service-icon {
    color: var(--color-primary);
}



.service-icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 2rem;
    display: block;
    transition: color 0.3s;
}

.service-card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card-desc {
    color: var(--color-text-dim);
}

/* ═══════════════════════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════════════════════════ */
.about-section {
    padding: 10rem 0;
    background: var(--color-bg-alt);
    /* Full-bleed within a container context */
    margin-left: calc(-1 * (100vw - 100%) / 2);
    margin-right: calc(-1 * (100vw - 100%) / 2);
    padding-inline: 10vw;
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8vw;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
}

.about-heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2.5rem;
}

.about-desc {
    font-size: 1.2rem;
    color: var(--color-text-dim);
    margin-bottom: 2rem;
}

.about-checklist {
    display: grid;
    gap: 1rem;
}

.about-checklist li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #FFF;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.check-icon {
    color: var(--color-primary);
    width: 1.2rem;
    height: 1.2rem;
    flex-shrink: 0;
}

.about-stat {
    position: relative;
}

.about-stat-shadow {
    background: var(--color-primary);
    width: 100%;
    height: 100%;
    opacity: 0.1;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: -1;
}

.about-stat-box {
    background: rgba(10, 10, 12, 0.45);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2.5rem;
    padding: clamp(2rem, 5vw, 4rem);
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    overflow: hidden;
    position: relative;
}

.stat-rating {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    font-weight: 400;
    opacity: 0.6;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.stat-quote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #FFF;
}

.stat-author {
    font-weight: 800;
    margin-top: 2rem;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════
   REVIEWS SECTION
═══════════════════════════════════════════════════════════ */
.reviews-section {
    padding: 10rem 0;
}

/* ── Progress bar (injected by JS above the slider) ──────── */
.reviews-progress {
    height: 2px;
    background: var(--color-border);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.reviews-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-primary) 0%, #ff4444 100%);
    border-radius: 2px;
    /* duration set inline by JS via style.transition */
}

/* ── Slider container ─────────────────────────────────────── */
.reviews-slider-container {
    position: relative;
    overflow: hidden;
    padding: 1rem 0 0;
}

/* Left/right edge fade masks — create depth as cards slide in */
.reviews-slider-container::before,
.reviews-slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 6%;
    min-width: 40px;
    z-index: 2;
    pointer-events: none;
}

.reviews-slider-container::before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg) 0%, transparent 100%);
}

.reviews-slider-container::after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg) 0%, transparent 100%);
}

/* ── Track ────────────────────────────────────────────────── */
.reviews-grid {
    display: flex;
    gap: 2rem;
    /* transition overridden inline by JS for skip-back; default for manual nav */
    transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    align-items: stretch;
}

/* ── Cards ────────────────────────────────────────────────── */
.review-card {
    flex: 0 0 calc(33.333% - 1.334rem);
    background: rgba(10, 10, 12, 0.45);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2rem;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    transition: border-color 0.4s var(--ease-out-quart),
        box-shadow 0.4s var(--ease-out-quart),
        transform 0.4s var(--ease-out-quart);
}

.review-card:hover {
    border-color: rgba(204, 0, 0, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(204, 0, 0, 0.12),
        0 0 25px rgba(204, 0, 0, 0.08);
}

/* Push author block to the bottom regardless of quote length */
.review-card .review-author {
    margin-top: auto;
    padding-top: 1.5rem;
}

/* ── Card entrance keyframe ───────────────────────────────── */
@keyframes cardEnter {
    0% {
        opacity: 0;
        transform: translateY(22px) scale(0.95);
    }

    60% {
        opacity: 1;
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.review-card.is-entering {
    animation: cardEnter 0.6s var(--ease-out-expo) both;
}

/* ── Responsive card widths ───────────────────────────────── */
@media (max-width: 1024px) {
    .review-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .review-card {
        flex: 0 0 100%;
    }
}

/* ── Prev / next buttons ──────────────────────────────────── */
.review-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.review-control-btn {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: #FFF;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
    flex-shrink: 0;
}

.review-control-btn:hover:not(:disabled) {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: scale(1.1);
    box-shadow: 0 0 16px rgba(204, 0, 0, 0.25);
}

.review-control-btn:active:not(:disabled) {
    transform: scale(0.95);
}

.review-control-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

/* ── Dot navigation (injected by JS) ─────────────────────── */
.review-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.review-dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: var(--color-border);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: width 0.4s var(--ease-out-quart),
        background 0.4s,
        box-shadow 0.4s;
}

.review-dot.active {
    width: 28px;
    background: var(--color-primary);
    box-shadow: 0 0 10px rgba(204, 0, 0, 0.45);
}

.review-dot:hover:not(.active) {
    background: rgba(204, 0, 0, 0.35);
}

.review-dot:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

/* ── Accessibility: respect reduced-motion preference ─────── */
@media (prefers-reduced-motion: reduce) {
    .reviews-grid {
        transition-duration: 0.01ms !important;
    }

    .review-card {
        transition-duration: 0.01ms !important;
    }

    .review-card.is-entering {
        animation: none !important;
    }

    .reviews-progress-bar {
        transition-duration: 0.01ms !important;
    }
}

.review-stars {
    display: flex;
    gap: 0.2rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.review-stars i {
    fill: currentColor;
    width: 1rem;
    height: 1rem;
}

.review-text {
    color: #FFF;
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.8;
    font-style: normal;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.author-avatar--outline {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.author-name {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.author-title {
    font-size: 0.7rem;
    color: var(--color-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════════════════════════ */
.contact-section {
    padding: 10rem 0;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-heading {
    font-size: clamp(3rem, 7vw, 5rem);
    margin-bottom: 1rem;
}

.contact-desc {
    font-size: 1.2rem;
    color: var(--color-text-dim);
    margin-bottom: 4rem;
}

/* ── Contact Form ─────────────────────────────────────────── */
.contact-form {
    text-align: left;
    background: rgba(10, 10, 12, 0.45);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2.5rem;
    padding: clamp(2rem, 5vw, 4rem);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4),
        inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    margin-bottom: 3rem;
    overflow: hidden;
    position: relative;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-dim);
}

.form-required {
    color: var(--color-primary);
    margin-left: 0.1rem;
}

.form-input {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sharp);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 0.875rem 1rem;
    transition: border-color 0.3s;
    width: 100%;
    -webkit-appearance: none;
}

.form-input::placeholder {
    color: rgba(160, 160, 160, 0.5);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.15);
}

.form-input.is-invalid {
    border-color: var(--color-error);
}

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

.form-error {
    font-size: 0.75rem;
    color: var(--color-error);
    min-height: 1em;
}

.form-submit-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.form-status {
    font-size: 0.9rem;
    font-weight: 600;
}

.form-status.success {
    color: var(--color-success);
}

.form-status.error {
    color: var(--color-error);
}

/* Honeypot: must be visually hidden but NOT display:none (bots check) */
.honeypot-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    tab-index: -1;
}

/* ── Calendly Box ─────────────────────────────────────────── */
.calendly-box {
    margin-bottom: 4rem;
    padding: 3rem;
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-sharp);
    transition: border-color 0.4s;
}

.calendly-box:has(.btn--shine.is-shining) {
    border-color: rgba(204, 0, 0, 0.35);
}

/* ── Shine Button ─────────────────────────────────────────── */
#calendly-cta {
    background: #0a0a0c;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 100px;
    padding: 1.25rem 3rem;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    transition: transform 0.4s var(--ease-out-quart),
        border-color 0.4s var(--ease-out-quart),
        box-shadow 0.4s var(--ease-out-quart);
    position: relative;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
}

#calendly-cta:hover {
    border-color: rgba(255, 255, 255, 0.50);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8);
}

.btn--shine {
    position: relative;
    overflow: hidden;
    /* Smooth base transitions between flash states */
    transition: border-color 0.5s ease, box-shadow 0.5s ease, transform 0.3s var(--ease-out-quart);
}

/* ── Light streak ────────────────────────────────────────── */
.btn--shine::after {
    content: '';
    position: absolute;
    top: -40%;
    left: 0;
    width: 55%;
    height: 180%;
    background: linear-gradient(105deg,
            transparent 0%,
            rgba(255, 255, 255, 0.04) 30%,
            rgba(255, 255, 255, 0.75) 50%,
            rgba(255, 255, 255, 0.04) 70%,
            transparent 100%);
    transform: translateX(-270%) skewX(-18deg);
    pointer-events: none;
    opacity: 0;
}

/* ── Keyframe: streak sweeps left → right ────────────────── */
@keyframes shineSweep {
    0% {
        transform: translateX(-270%) skewX(-18deg);
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translateX(460%) skewX(-18deg);
        opacity: 0;
    }
}

/* ── Keyframe: border glow + micro-lift ─────────────────── */
@keyframes shineGlow {
    0% {
        box-shadow: none;
        border-color: var(--color-border);
        transform: scale(1) translateY(0);
    }

    18% {
        box-shadow:
            0 0 0 1px rgba(204, 0, 0, 1),
            0 0 24px 6px rgba(204, 0, 0, 0.60),
            0 0 60px 10px rgba(204, 0, 0, 0.28),
            0 10px 35px rgba(0, 0, 0, 0.45);
        border-color: #CC0000;
        transform: scale(1.05) translateY(-4px);
    }

    55% {
        box-shadow:
            0 0 0 1px rgba(204, 0, 0, 0.4),
            0 0 14px 2px rgba(204, 0, 0, 0.22);
        border-color: rgba(204, 0, 0, 0.5);
        transform: scale(1.02) translateY(-2px);
    }

    100% {
        box-shadow: none;
        border-color: var(--color-border);
        transform: scale(1) translateY(0);
    }
}

/* ── Triggered by JS adding .is-shining (one flash per call) */
.btn--shine.is-shining::after {
    animation: shineSweep 0.85s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.btn--shine.is-shining {
    animation: shineGlow 1.4s ease-out forwards;
}

/* ── Calendly box reacts while button shines ─────────────── */
.calendly-box:has(.btn--shine.is-shining) {
    border-color: rgba(204, 0, 0, 0.5);
    box-shadow: 0 0 50px rgba(204, 0, 0, 0.07);
    transition: border-color 0.3s, box-shadow 0.3s;
}

@media (prefers-reduced-motion: reduce) {
    .btn--shine::after {
        display: none !important;
    }

    .btn--shine.is-shining {
        animation: none !important;
    }

    .btn--shine {
        transition: none !important;
    }
}

.calendly-label {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 1.5rem;
}

/* ── Agency Info ──────────────────────────────────────────── */
.agency-info {
    display: flex;
    justify-content: center;
    gap: 1rem;
    opacity: 0.6;
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.agency-info a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s;
}

.agency-info a:hover {
    opacity: 1;
    color: var(--color-text);
}

.agency-sep {
    opacity: 0.4;
}

/* ═══════════════════════════════════════════════════════════
   SITE FOOTER
═══════════════════════════════════════════════════════════ */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer-inner {
    padding: 3rem 1.5rem;
    text-align: center;
}

.site-footer p {
    font-size: 0.7rem;
    opacity: 0.4;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-dim);
    background: var(--color-surface);
    transition: all 0.4s var(--ease-out-quart);
}

.footer-socials a:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(204, 0, 0, 0.2);
}

.footer-socials a svg,
.nav-social-item .nav-link svg {
    width: 1.25rem;
    height: 1.25rem;
    display: block;
    color: #ffffff;
    transition: color 0.3s, transform 0.3s;
}

.footer-socials a:hover svg,
.nav-social-item .nav-link:hover svg {
    color: var(--color-primary);
    transform: scale(1.15);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-section {
        min-height: auto;
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-desc {
        max-width: 100%;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-visual {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        opacity: 0.4;
        filter: blur(50px);
        transform: scale(1.2);
        z-index: -1;
    }

    .hero-visual img {
        height: 100%;
        object-fit: cover;
    }

    .about-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }

    .about-checklist {
        justify-items: center;
    }

    .about-checklist li {
        justify-content: center;
    }

    .about-stat-box {
        aspect-ratio: unset;
    }

    .service-card--offset {
        margin-top: 0;
    }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 768px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* Show hamburger, hide inline nav */
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(10, 10, 11, 0.98);
        border-bottom: 1px solid var(--color-border);
        z-index: 998;
        /* Reset desktop padding */
        padding: 0;
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-link {
        padding: 1.25rem 1.5rem;
        border-bottom: 1px solid var(--color-border);
        opacity: 1;
        font-size: 1rem;
        letter-spacing: 0.1em;
        width: 100%;
    }

    .nav-link--sep {
        border-right: none;
        padding-right: 1.5rem;
        margin-right: 0;
    }

    .nav-link--cta {
        padding-left: 1.5rem;
    }

    /* Sections */
    .services-section,
    .reviews-section,
    .contact-section {
        padding: 5rem 0;
    }

    .about-section {
        padding: 5rem 5vw;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-card--offset {
        margin-top: 0;
    }

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

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .agency-info {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .agency-sep {
        display: none;
    }

    .hero-visual {
        width: 85%;
    }
}

/* ═══════════════════════════════════════════════════════════
   PRINT STYLES
═══════════════════════════════════════════════════════════ */
@media print {

    .grain-overlay,
    .cherry-glow,
    .bubble-layer,
    .hamburger,
    .skip-link {
        display: none;
    }

    body {
        background: #fff;
        color: #000;
    }
}

/* ── GSAP Intro Animation Styles ────────────────────────── */
#intro-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #050505;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* Prevent massive logo from causing scrollbars during scale */
}

.intro-logo {
    width: clamp(120px, 25vw, 220px);
    height: auto;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.15));
    z-index: 10000;
}

#main-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    clip-path: circle(0% at 50% 50%);
    visibility: hidden;
    /* Prevents flashing before JS loads */
    background-color: var(--color-bg);
}

body.is-loading {
    overflow: hidden;
    background-color: var(--color-bg);
}

@media (max-width: 768px) {

    /* Adjust Hero Typography for mobile */
    .hero-heading {
        font-size: clamp(2.5rem, 10vw, 4rem) !important;
        line-height: 1.1;
    }

    /* Fix iOS Safari address bar jumps and give breathing room */
    .scroll-panel {
        padding: 60px 20px;
        min-height: 100svh;
        /* CRITICAL: Uses small viewport height */
    }

    /* Stack Bento Boxes vertically */
    .bento-card {
        width: 100% !important;
        margin-bottom: 24px;
    }

    /* Safety fallback: force hide WebGL Canvas on CSS level */
    #webgl-container {
        display: none !important;
    }
}