/* =========================================================
   CAPITAL STAY — WORLD-CLASS LUXURY UI
   Premium Design System with Advanced Animations
   ========================================================= */

/* ===== DESIGN TOKENS ===== */
:root {
    /* Brand Palette */
    --primary: #632F1A;
    --primary-light: #7a3e25;
    --primary-dark: #4d2414;
    --primary-glow: rgba(99, 47, 26, 0.4);
    --primary-pale: #fceddf;
    --primary-subtle: rgba(99, 47, 26, 0.08);

    /* Legacy compatibility for sage variables */
    --sage: var(--primary);
    --sage-light: var(--primary-light);
    --sage-dark: var(--primary-dark);
    --sage-glow: var(--primary-glow);
    --sage-pale: var(--primary-pale);
    --sage-subtle: var(--primary-subtle);

    /* Secondary Palette (Gold) */
    --secondary: #F3DB94;
    --secondary-light: #f9ebc1;
    --secondary-dark: #ccaf5e;
    --secondary-glow: rgba(243, 219, 148, 0.3);

    /* Legacy compatibility for gold variables */
    --gold: var(--secondary);
    --gold-light: var(--secondary-light);
    --gold-dark: var(--secondary-dark);
    --gold-glow: var(--secondary-glow);

    /* Tertiary Palette (Blue) */
    --tertiary: #1A4E63;
    --tertiary-light: #2d6b85;
    --tertiary-dark: #0f3240;
    --tertiary-glow: rgba(26, 78, 99, 0.3);

    /* Neutrals */
    --white: #ffffff;
    --off-white: #FAFAF8;
    --cream: #F5F3EE;
    --charcoal: #1A1C1A;
    --charcoal-95: rgba(26, 28, 26, 0.95);
    --charcoal-80: rgba(26, 28, 26, 0.8);
    --gray-50: #fafaf8;
    --gray-100: #f4f4f2;
    --gray-200: #e8e8e4;
    --gray-300: #d4d4ce;
    --gray-400: #9a9a94;
    --gray-500: #74746e;
    --gray-600: #5a5a54;
    --gray-800: #2a2a24;

    /* Text */
    --text-primary: #1A1C1A;
    --text-secondary: #5a5a54;
    --text-muted: #9a9a94;
    --text-light: rgba(255, 255, 255, 0.88);
    --text-lighter: rgba(255, 255, 255, 0.6);
    --text-faint: rgba(255, 255, 255, 0.4);

    /* Borders & Shadows */
    --border: rgba(0, 0, 0, 0.08);
    --border-light: rgba(255, 255, 255, 0.1);
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 24px 80px rgba(0, 0, 0, 0.16);
    --shadow-primary: 0 8px 32px rgba(99, 47, 26, 0.25);
    --shadow-primary-lg: 0 16px 48px rgba(99, 47, 26, 0.35);
    --glow-primary: 0 0 40px rgba(99, 47, 26, 0.2);

    /* Legacy compatibility for shadows */
    --shadow-sage: var(--shadow-primary);
    --shadow-sage-lg: var(--shadow-primary-lg);
    --glow-sage: var(--glow-primary);

    /* Radii */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --dur-fast: 0.2s;
    --dur-normal: 0.35s;
    --dur-slow: 0.6s;
    --dur-slower: 0.8s;

    /* Fonts */
    --font-serif: 'Milk and Honey', 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Neurial Grotesk Regular', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-hero: 'Milk and Honey', sans-serif;
    --font-script: 'Snell Roundhand', cursive;
    --font-neurial: 'Neurial Grotesk Regular', sans-serif;

    /* Scroll progress */
    --scroll-progress: 0;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
    -webkit-tap-highlight-color: transparent;
}

svg {
    display: block;
}

::selection {
    background: var(--sage-pale);
    color: var(--sage-dark);
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sage), var(--sage-light));
    z-index: 10000;
    transform-origin: left;
    transform: scaleX(var(--scroll-progress, 0));
    transition: none;
    will-change: transform;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-serif);
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

.section {
    padding: 80px 0;
    position: relative;
}

.section--page-top {
    padding-top: 180px;
    min-height: calc(100vh - 400px);
}

.section--alt {
    background: var(--off-white);
}

.section--dark {
    background: linear-gradient(135deg, #f4f7ee 0%, #eef2e4 50%, #f0f4e8 100%);
    color: var(--text-primary);
}

/* ===== SECTION LABELS ===== */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.section-eyebrow::before {
    content: '';
    display: block;
    width: 28px;
    height: 1.5px;
    background: var(--sage);
    border-radius: 2px;
}

.section-eyebrow--light {
    color: var(--sage);
}

.section-eyebrow--light::before {
    background: var(--sage);
}

.section-eyebrow--center {
    justify-content: center;
}

.section-eyebrow--center::before {
    display: none;
}

.section-heading {
    font-size: clamp(30px, 4.2vw, 46px);
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.section-heading--light {
    color: var(--text-primary);
}

.section-heading.text-center {
    text-align: center;
}

.section-label-center {
    text-align: center;
    margin-bottom: 64px;
}

.section-intro {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 32px;
    border-radius: var(--radius-full);
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 550;
    letter-spacing: 0.02em;
    transition:
        background var(--dur-normal) var(--ease-smooth),
        color var(--dur-normal) var(--ease-smooth),
        border-color var(--dur-normal) var(--ease-smooth),
        transform var(--dur-normal) var(--ease-spring),
        box-shadow var(--dur-normal) var(--ease-smooth);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Shimmer hover effect */
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg,
            transparent 25%,
            rgba(255, 255, 255, 0.15) 50%,
            transparent 75%);
    transform: translateX(-100%);
    transition: transform 0.6s var(--ease-out);
    z-index: 1;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn--primary {
    background: var(--sage);
    color: var(--white);
    border-color: var(--sage);
}

.btn--primary:hover {
    background: var(--sage-light);
    border-color: var(--sage-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sage-lg);
}

.btn--primary:active {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sage);
}

.btn--outline {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.btn--sage {
    background: var(--sage);
    color: var(--white);
    border-color: var(--sage);
}

.btn--sage:hover {
    background: var(--sage-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sage-lg);
}

.btn--large {
    padding: 18px 40px;
    font-size: 16px;
}




/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    height: 100dvh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    font-family: var(--font-sans);
    /* Soft sage gradient fallback */
    background: linear-gradient(135deg,
            #4a6e1a 0%,
            #5a7e22 25%,
            #6B8E23 50%,
            #7a9e2c 75%,
            #5a7e22 100%);
}

.hero--small {
    min-height: 480px !important;
    height: 60vh !important;
    height: 60dvh !important;
}

.hero--small .hero__heading {
    font-size: clamp(36px, 6vw, 56px);
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    transform: scale(1.08);
    animation: heroZoom 16s var(--ease-out) forwards;
    will-change: transform;
}

@keyframes heroZoom {
    to {
        transform: scale(1);
    }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 14, 10, 0.30) 0%,
            rgba(10, 14, 10, 0.40) 35%,
            rgba(10, 14, 10, 0.55) 70%,
            rgba(10, 14, 10, 0.70) 100%);
    z-index: 1;
}

/* Decorative overlay grain for premium feel */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 28px;
}

.hero__eyebrow {
    font-family: var(--font-hero);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.35em;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 0.8s 0.3s var(--ease-out) forwards;
}

.hero__heading {
    font-family: var(--font-hero);
    font-size: clamp(40px, 7vw, 76px);
    font-weight: 400;
    color: var(--white);
    line-height: 1.08;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 1s 0.5s var(--ease-out) forwards;
}

.hero__heading em {
    font-family: var(--font-script);
    font-weight: 400;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtext {
    font-family: var(--font-neurial);
    font-size: clamp(16px, 1.2vw, 19px);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 0.8s 0.7s var(--ease-out) forwards;
}

.hero__buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 0.8s 0.9s var(--ease-out) forwards;
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll indicator */
.hero__scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0;
    animation: heroReveal 0.6s 1.4s var(--ease-out) forwards;
}

.hero__scroll-line {
    display: block;
    width: 1px;
    height: 56px;
    position: relative;
    overflow: hidden;
}

.hero__scroll-line::before {
    content: '';
    position: absolute;
    top: -56px;
    left: 0;
    width: 1px;
    height: 56px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.6));
    animation: scrollLine 2.2s var(--ease-in-out) infinite;
}

@keyframes scrollLine {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    40% {
        opacity: 1;
    }

    100% {
        transform: translateY(112px);
        opacity: 0;
    }
}

/* ===== ABOUT / WHO WE ARE ===== */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about__left {
    padding-right: 20px;
}

.about__text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 18px;
}

.about__text:last-child {
    margin-bottom: 0;
}

.about__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all var(--dur-slow) var(--ease-spring);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sage), var(--sage-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur-slow) var(--ease-out);
}

.stat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, var(--sage-subtle), transparent 60%);
    opacity: 0;
    transition: opacity var(--dur-slow) var(--ease-out);
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 47, 26, 0.2);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-card__number {
    font-family: var(--font-serif);
    font-size: 38px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    position: relative;
    z-index: 1;
}

.stat-card__plus,
.stat-card__percent {
    font-size: 24px;
    color: var(--sage);
    font-weight: 600;
}

.stat-card__label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.03em;
    position: relative;
    z-index: 1;
}

/* ===== HOW IT WORKS ===== */
.process__steps {
    display: flex;
    flex-direction: column;
    max-width: 780px;
    margin: 0 auto;
    position: relative;
}

.process__steps::before {
    content: '';
    position: absolute;
    left: 37px;
    top: 24px;
    bottom: 24px;
    width: 1px;
    background: linear-gradient(to bottom, var(--sage), var(--sage-pale));
}

.process__step {
    display: flex;
    gap: 44px;
    align-items: flex-start;
    padding: 40px 0;
    position: relative;
}

.process__step+.process__step {
    border-top: 1px solid var(--gray-200);
}

.process__step-num {
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 700;
    color: var(--sage);
    line-height: 1;
    min-width: 74px;
    text-align: center;
    position: relative;
    transition: all var(--dur-normal) var(--ease-spring);
}

.process__step-num::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: var(--sage-pale);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transform: scale(0.6);
    transition: all var(--dur-normal) var(--ease-spring);
}

.process__step:hover .process__step-num {
    transform: scale(1.08);
}

.process__step:hover .process__step-num::before {
    opacity: 1;
    transform: scale(1);
}

.process__step-title {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
    transition: color var(--dur-normal) var(--ease-smooth);
}

.process__step:hover .process__step-title {
    color: var(--sage-dark);
}

.process__step-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* ===== PRESENCE / CITIES ===== */
.cities__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 48px;
}

.city-card {
    position: relative;
    height: 480px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    background: var(--gray-200);
    transition: all var(--dur-slow) var(--ease-spring);
    box-shadow: var(--shadow-md);
    border: none;
    padding: 0;
}

.city-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl), 0 20px 40px var(--gold-glow);
}

.city-card__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform var(--dur-slow) var(--ease-out);
}

.city-card:hover .city-card__bg {
    transform: scale(1.15);
}

.city-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(26, 28, 26, 0) 0%,
            rgba(26, 28, 26, 0.2) 40%,
            rgba(26, 28, 26, 0.85) 100%);
    z-index: 1;
    transition: opacity var(--dur-normal) var(--ease-out);
}

.city-card:hover .city-card__overlay {
    background: linear-gradient(to bottom,
            rgba(26, 28, 26, 0.1) 0%,
            rgba(26, 28, 26, 0.4) 40%,
            rgba(26, 28, 26, 0.95) 100%);
}

.city-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 32px;
    z-index: 2;
    color: var(--white);
    transition: transform var(--dur-normal) var(--ease-out);
}

.city-card:hover .city-card__content {
    transform: translateY(-15px);
}

.city-card__badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 16px;
    transform: translateY(0);
    transition: all var(--dur-normal) var(--ease-out);
}

.city-card__name {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--white);
    letter-spacing: 0.01em;
}

.city-card__tagline {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.city-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--dur-normal) var(--ease-out);
}

.city-card:hover .city-card__cta {
    opacity: 1;
    transform: translateY(0);
}

.city-card__cta svg {
    width: 16px;
    height: 16px;
    transition: transform var(--dur-fast) var(--ease-out);
}

.city-card:hover .city-card__cta:hover svg {
    transform: translateX(5px);
}

/* Expansion banner light polish */
.expansion-banner {
    background: linear-gradient(135deg, var(--white), var(--sage-pale));
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 40px;
    box-shadow: var(--shadow-sm);
    transition: all var(--dur-normal) var(--ease-smooth);
}

.expansion-banner:hover {
    box-shadow: var(--glow-sage);
    border-color: rgba(99, 47, 26, 0.35);
}

.expansion-banner__inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.expansion-banner__icon {
    width: 40px;
    height: 40px;
    color: var(--sage);
    flex-shrink: 0;
}

.expansion-banner__icon svg {
    width: 100%;
    height: 100%;
}

.expansion-banner__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.expansion-banner__text {
    font-size: 14px;
    color: var(--text-secondary);
}

.expansion-banner__text a {
    color: var(--sage);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    transition: color var(--dur-fast);
}

.expansion-banner__text a:hover {
    color: var(--sage-dark);
}

/* ===== FEATURES / WHY CHOOSE ===== */
.features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: all var(--dur-slow) var(--ease-spring);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sage), var(--sage-light));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--dur-slow) var(--ease-out);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(99, 47, 26, 0.2);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card__icon {
    width: 52px;
    height: 52px;
    background: var(--sage-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sage);
    margin-bottom: 24px;
    transition: all var(--dur-normal) var(--ease-spring);
}

.feature-card__icon svg {
    width: 24px;
    height: 24px;
}

.feature-card:hover .feature-card__icon {
    background: var(--sage);
    color: var(--white);
    transform: scale(1.08) rotate(-3deg);
    box-shadow: var(--shadow-sage);
}

.feature-card__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.feature-card__desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* ===== REQUEST FORM ===== */
.form {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 60px 56px;
    max-width: 920px;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--dur-slow) var(--ease-smooth);
}

.form:focus-within {
    box-shadow: var(--shadow-md);
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form__group--full {
    grid-column: 1 / -1;
    margin-bottom: 24px;
}

.form__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.03em;
}

.required {
    color: var(--sage);
}

.form__input {
    padding: 14px 18px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 15px;
    color: var(--text-primary);
    background: var(--white);
    transition: all var(--dur-normal) var(--ease-smooth);
    outline: none;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
}

.form__input::placeholder {
    color: var(--gray-400);
}

.form__input:hover {
    border-color: var(--gray-300);
}

.form__input:focus {
    border-color: var(--sage);
    box-shadow: 0 0 0 4px rgba(99, 47, 26, 0.1);
}

.form__input.error {
    border-color: #e53e3e;
    box-shadow: 0 0 0 4px rgba(229, 62, 62, 0.1);
    animation: shake 0.5s var(--ease-spring);
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-6px);
    }

    40% {
        transform: translateX(6px);
    }

    60% {
        transform: translateX(-4px);
    }

    80% {
        transform: translateX(4px);
    }
}

.form__select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B8E23' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
    cursor: pointer;
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
    font-family: var(--font-sans);
}

.form__error {
    font-size: 12px;
    color: #e53e3e;
    font-weight: 500;
    min-height: 16px;
    transition: all var(--dur-fast);
}

.form__submit {
    text-align: center;
    margin-top: 12px;
}

/* Loader */
.btn__text {
    position: relative;
    z-index: 2;
}

.btn__loader {
    display: inline-flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.btn__loader .spin {
    width: 20px;
    height: 20px;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== PARTNER SECTION ===== */
.partner__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: start;
}

.partner__text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.partner__benefits {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 44px;
}

.partner__benefit {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: transform var(--dur-normal) var(--ease-spring);
}

.partner__benefit:hover {
    transform: translateX(6px);
}

.partner__benefit-icon {
    width: 44px;
    height: 44px;
    background: rgba(99, 47, 26, 0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sage);
    flex-shrink: 0;
    transition: all var(--dur-normal) var(--ease-spring);
}

.partner__benefit-icon svg {
    width: 20px;
    height: 20px;
}

.partner__benefit:hover .partner__benefit-icon {
    background: var(--sage);
    color: var(--white);
    transform: scale(1.08);
}

.partner__benefit-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.partner__benefit-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Partner visual card */
.partner__visual {
    padding-top: 24px;
}

.partner__visual-inner {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: all var(--dur-slow) var(--ease-smooth);
}

.partner__visual-inner:hover {
    background: var(--off-white);
    border-color: rgba(99, 47, 26, 0.2);
    box-shadow: var(--shadow-lg);
}

.partner__check-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 15px;
    color: var(--text-secondary);
    transition: all var(--dur-normal) var(--ease-spring);
    padding: 6px 0;
}

.partner__check-item:hover {
    transform: translateX(8px);
    color: var(--text-primary);
}

.partner__check-item svg {
    width: 24px;
    height: 24px;
    color: var(--sage);
    flex-shrink: 0;
    transition: all var(--dur-normal) var(--ease-spring);
}

.partner__check-item:hover svg {
    color: var(--sage);
    transform: scale(1.15);
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, var(--tertiary), #0a2e3d);
    position: relative;
    overflow: hidden;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr;
    gap: 40px;
    padding: 60px 24px 40px;
}

/* Silk Texture Overlay */
.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

.footer__container {
    position: relative;
    z-index: 1;
}

/* Action Tiles */
.footer__actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.concierge-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.5s var(--ease-out);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
}

.concierge-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(225deg, transparent, rgba(255, 255, 255, 0.05));
    opacity: 0;
    transition: opacity 0.5s;
}

.concierge-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--secondary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.concierge-card:hover::after {
    opacity: 1;
}

.concierge-card__label {
    color: var(--secondary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.concierge-card__title {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 12px;
}

.concierge-card__text {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    line-height: 1.6;
}

.concierge-card__icon {
    margin-top: auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    transition: all 0.4s;
}

.concierge-card:hover .concierge-card__icon {
    background: var(--secondary);
    color: var(--tertiary);
    transform: scale(1.1) rotate(10deg);
}

/* Footer CTA Card */
.footer-cta-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.5s var(--ease-out);
    height: 100%;
    width: 100%;
    max-width: 250px;
    position: relative;
    cursor: pointer;
}

.footer-cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.footer-cta-card__image-container {
    width: 100%;
    height: 190px;
    overflow: hidden;
    position: relative;
}

.footer-cta-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.footer-cta-card:hover .footer-cta-card__image {
    transform: scale(1.15);
}

.footer-cta-card__content {
    padding: 14px;
}

.footer-cta-card__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 14px;
    background: var(--secondary);
    color: var(--tertiary);
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s var(--ease-smooth);
    border: none;
    cursor: pointer;
}

.footer-cta-card:hover .footer-cta-card__btn {
    background: var(--white);
    color: var(--tertiary);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.footer-cta-card__btn svg {
    transition: transform 0.3s var(--ease-spring);
    stroke-width: 2.5;
}

.footer-cta-card:hover .footer-cta-card__btn svg {
    transform: translateX(4px);
}

/* Signature Section */
.footer__signature {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: start;
}

.footer__brand-large {
    display: flex;
    flex-direction: column;
}

.footer__nav:last-child {
    justify-self: end;
    text-align: right;
}

.footer__nav:last-child .footer__nav-list {
    align-items: flex-end;
}

.footer__nav:last-child .footer__nav-link {
    flex-direction: row-reverse;
}

.footer__logo-huge {
    font-family: var(--font-serif);
    font-size: 24px;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1;
}

.footer__tagline {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    max-width: 320px;
}

.footer__nav-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 24px;
}

.footer__nav-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer__nav-link:hover {
    color: var(--white);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8), 0 0 12px rgba(255, 255, 255, 0.4);
}

/* Live Status Pulse */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.1);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    margin-top: 24px;
    width: fit-content;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
    animation: statusPulse 2s infinite;
}

.status-text {
    font-size: 10px;
    font-weight: 700;
    color: #22c55e;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@keyframes statusPulse {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }

    100% {
        opacity: 0.4;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .footer__actions {
        grid-template-columns: 1fr 1fr;
    }

    .footer__signature {
        grid-template-columns: 1fr 1fr;
    }

    .footer__brand-large {
        grid-column: span 2;
    }

    .footer__nav:last-child {
        justify-self: start;
        text-align: left;
    }

    .footer__nav:last-child .footer__nav-list {
        align-items: flex-start;
    }

    .footer__nav:last-child .footer__nav-link {
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .footer__actions {
        grid-template-columns: 1fr;
    }

    .concierge-card {
        min-height: 240px;
        padding: 32px;
    }

    .footer__signature {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer__brand-large {
        grid-column: auto;
    }

    .footer__logo-huge {
        font-size: 32px;
    }
}


/* ===== TOAST ===== */
.toast {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px 22px;
    box-shadow: var(--shadow-xl);
    max-width: 400px;
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateY(24px) scale(0.96);
    transition: all 0.5s var(--ease-spring);
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.toast.success .toast__icon::before {
    content: '✓';
    color: var(--sage);
}

.toast.error .toast__icon::before {
    content: '✕';
    color: #e53e3e;
}

.toast__icon {
    font-size: 16px;
    font-weight: 700;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast.success .toast__icon {
    background: var(--sage-pale);
}

.toast.error .toast__icon {
    background: #fff5f5;
}

.toast__message {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.55;
    flex: 1;
    font-weight: 450;
}

.toast__close {
    font-size: 22px;
    color: var(--gray-400);
    line-height: 1;
    padding: 0 0 0 4px;
    cursor: pointer;
    transition: all var(--dur-fast);
    flex-shrink: 0;
}

.toast__close:hover {
    color: var(--text-primary);
    transform: scale(1.15);
}

/* ===== SCROLL REVEAL SYSTEM ===== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity var(--dur-slower) var(--ease-out),
        transform var(--dur-slower) var(--ease-out);
}

.reveal.reveal-left {
    transform: translateX(-32px);
}

.reveal.reveal-right {
    transform: translateX(32px);
}

.reveal.reveal-scale {
    transform: scale(0.92);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Staggered children animation */
.stagger-children .reveal:nth-child(1) {
    transition-delay: 0.05s;
}

.stagger-children .reveal:nth-child(2) {
    transition-delay: 0.10s;
}

.stagger-children .reveal:nth-child(3) {
    transition-delay: 0.15s;
}

.stagger-children .reveal:nth-child(4) {
    transition-delay: 0.20s;
}

.stagger-children .reveal:nth-child(5) {
    transition-delay: 0.25s;
}

.stagger-children .reveal:nth-child(6) {
    transition-delay: 0.30s;
}

.stagger-children .reveal:nth-child(7) {
    transition-delay: 0.35s;
}

.stagger-children .reveal:nth-child(8) {
    transition-delay: 0.40s;
}

/* ===== COUNTER ANIMATION ===== */
.counter-animated {
    display: inline-block;
    min-width: 2ch;
}

/* ===== CUSTOM CURSOR (DESKTOP) ===== */
@media (hover: hover) {

    .city-card,
    .feature-card,
    .stat-card {
        cursor: default;
    }
}

/* =========================================================
   RESPONSIVE — TABLET (max-width: 1024px)
   ========================================================= */
@media (max-width: 1024px) {
    .section {
        padding: 96px 0;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .about__left {
        padding-right: 0;
    }

    .partner__grid {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .partner__visual {
        display: none;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 44px;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }
}

/* =========================================================
   RESPONSIVE — MOBILE LANDSCAPE / SMALL TABLET (max-width: 900px)
   ========================================================= */
@media (max-width: 900px) {


    .cities__grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================================
   RESPONSIVE — MOBILE (max-width: 768px)
   ========================================================= */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .section {
        padding: 80px 0;
    }

    .section-label-center {
        margin-bottom: 48px;
    }

    .hero {
        min-height: 640px;
    }

    .hero__heading {
        font-size: clamp(32px, 10vw, 48px);
    }

    .hero__subtext {
        font-size: 15px;
        line-height: 1.7;
        padding: 0 8px;
    }

    .hero__buttons {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .hero__buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .features__grid {
        grid-template-columns: 1fr 1fr;
    }

    .form {
        padding: 36px 24px;
        border-radius: var(--radius-lg);
    }

    .form__row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-card {
        padding: 24px 20px;
    }

    .stat-card__number {
        font-size: 32px;
    }

    .process__steps::before {
        display: none;
    }

    .process__step {
        gap: 24px;
        padding: 28px 0;
    }

    .process__step-num {
        font-size: 36px;
        min-width: 56px;
    }

    .process__step-title {
        font-size: 18px;
    }

    .toast {
        left: 16px;
        right: 16px;
        bottom: 20px;
        max-width: none;
    }
}

/* =========================================================
   RESPONSIVE — SMALL MOBILE (max-width: 480px)
   ========================================================= */
@media (max-width: 480px) {
    .section {
        padding: 64px 0;
    }

    .container {
        padding: 0 16px;
    }

    .cities__grid {
        grid-template-columns: 1fr;
    }

    .features__grid {
        grid-template-columns: 1fr;
    }

    .about__stats {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .hero__heading {
        font-size: 32px;
    }

    .hero__eyebrow {
        font-size: 10px;
        letter-spacing: 0.2em;
    }

    .hero__content {
        padding: 0 16px;
    }

    .expansion-banner {
        padding: 20px 20px;
    }

    .expansion-banner__inner {
        flex-direction: column;
        text-align: center;
    }

    .process__step {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .process__step-num {
        min-width: auto;
    }

    .form {
        padding: 28px 18px;
    }

    .form__input {
        padding: 12px 14px;
        font-size: 16px;
        /* prevents zoom on iOS */
    }

    .section-heading {
        font-size: 26px;
    }

    .section-intro {
        font-size: 15px;
    }

    .btn {
        padding: 13px 26px;
        font-size: 14px;
    }

    .btn--large {
        padding: 15px 32px;
        font-size: 15px;
    }
}

/* ===== PREFERS REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero__bg {
        transform: scale(1) !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    .hero__eyebrow,
    .hero__heading,
    .hero__subtext,
    .hero__buttons,
    .hero__scroll-hint {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}

/* ===== PRINT STYLES ===== */
@media print {

    .navbar,
    .hero__scroll-hint,
    .toast,
    .scroll-progress {
        display: none !important;
    }

    .hero {
        height: auto;
        min-height: 0;
    }

    .section {
        padding: 40px 0;
    }

    body {
        color: #000;
        background: #fff;
    }
}

/* ===== FLOATING CHAT WIDGET ===== */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1500;
    font-family: var(--font-sans);
}

.chat-widget__trigger {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(99, 47, 26, 0.4);
    cursor: pointer;
    transition: all 0.4s var(--ease-spring);
    position: relative;
    border: none;
    padding: 0;
}

.chat-widget__trigger:hover {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-light);
    box-shadow: 0 15px 40px rgba(99, 47, 26, 0.5);
}

.chat-widget__trigger .chat-icon {
    width: 28px;
    height: 28px;
    transition: all 0.4s var(--ease-spring);
}

.chat-widget__trigger.active .chat-icon {
    transform: rotate(90deg) scale(0);
    opacity: 0;
}

.chat-widget__trigger .close-icon {
    width: 24px;
    height: 24px;
    position: absolute;
    transform: rotate(-90deg) scale(0);
    opacity: 0;
    transition: all 0.4s var(--ease-spring);
}

.chat-widget__trigger.active .close-icon {
    transform: rotate(0) scale(1);
    opacity: 1;
}

.chat-widget__panel {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 60px);
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s var(--ease-spring);
    transform-origin: bottom right;
    border: 1px solid var(--gray-100);
}

.chat-widget.active .chat-widget__panel {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: all;
}

.chat-widget__header {
    background: var(--primary);
    padding: 24px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 15px;
}

.chat-widget__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-light);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.chat-widget__avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.chat-widget__status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background: #4ade80;
    border: 2px solid var(--primary);
    border-radius: 50%;
}

.chat-widget__title h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.chat-widget__title p {
    margin: 0;
    font-size: 12px;
    opacity: 0.8;
}

.chat-widget__body {
    padding: 20px;
    max-height: 450px;
    overflow-y: auto;
    background: var(--gray-50);
}

.chat-message {
    background: var(--white);
    padding: 12px 16px;
    border-radius: 12px 12px 12px 4px;
    font-size: 14px;
    color: var(--charcoal);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    line-height: 1.5;
    max-width: 85%;
}

.chat-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chat-form-group label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
}

.chat-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--gray-200);
    font-size: 14px;
    transition: all 0.3s var(--ease-smooth);
    background: var(--white);
    font-family: var(--font-sans);
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-subtle);
}

.chat-submit {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    margin-top: 10px;
    transition: all 0.3s var(--ease-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.chat-submit:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 47, 26, 0.25);
}

.chat-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.chat-success {
    text-align: center;
    padding: 20px 0;
    display: none;
}

.chat-success.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .chat-widget {
        bottom: 20px;
        right: 20px;
    }

    .chat-widget__panel {
        bottom: 70px;
        width: calc(100vw - 40px);
        max-width: none;
    }
}