/* 
 * BaoMbao Craft — Design System v2.0 (Production)
 * Brand Essence: "Transforming Wood Into Beautiful Living"
 * Guiding Principle: "Craft with System"
 * Refined for production deployment April 2026
 */

/* ========================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ======================================== */

:root {
    /* --- Brand Colors --- */
    --charcoal:       #2C2C2C;
    --charcoal-light: #3D3D3D;
    --charcoal-dark:  #161616;

    --olive:          #7A8C5A;
    --olive-light:    #96A872;
    --olive-dark:     #5E6E42;

    --amber:          #E8A820;
    --amber-light:    #F2C050;
    --amber-dark:     #B8841A;

    /* Wood Tones */
    --mahogany:       #4B3832;
    --walnut:         #5C4033;
    --oak:            #C4A35A;
    --teak:           #7A5230;

    /* Neutrals */
    --white:          #FFFFFF;
    --cream:          #FAF8F4;
    --cream-mid:      #F2EDE6;
    --cream-dark:     #E8E0D5;
    --gray-100:       #F5F2EE;
    --gray-200:       #DDD8D0;
    --gray-300:       #B8B0A4;
    --gray-400:       #8A8278;
    --gray-500:       #5E5850;
    --black:          #0A0A0A;

    /* Functional */
    --success:        #4A7C59;
    --error:          #B03A2E;
    --overlay:        rgba(10, 10, 10, 0.85);
    --overlay-light:  rgba(22, 22, 22, 0.65);
    --overlay-warm:   rgba(44, 28, 16, 0.72);

    /* --- Typography --- */
    --font-heading:   'Playfair Display', Georgia, serif;
    --font-body:      'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent:    'Cormorant Garamond', Georgia, serif;

    /* Font Sizes - Fluid */
    --fs-display:     clamp(3rem, 7.5vw, 5.25rem);
    --fs-h1:          clamp(2.125rem, 5vw, 3.5rem);
    --fs-h2:          clamp(1.75rem, 3.5vw, 2.75rem);
    --fs-h3:          clamp(1.25rem, 2.5vw, 1.875rem);
    --fs-h4:          clamp(1.0625rem, 1.8vw, 1.375rem);
    --fs-body-lg:     clamp(1.0625rem, 1.4vw, 1.25rem);
    --fs-body:        1rem;
    --fs-small:       0.875rem;
    --fs-caption:     0.75rem;
    --fs-label:       0.6875rem;

    /* Line Heights */
    --lh-tight:  1.15;
    --lh-snug:   1.35;
    --lh-normal: 1.65;
    --lh-loose:  1.85;

    /* Letter Spacing */
    --ls-tight:   -0.02em;
    --ls-normal:  0;
    --ls-wide:    0.05em;
    --ls-wider:   0.1em;
    --ls-widest:  0.18em;

    /* --- Spacing Scale --- */
    --space-xs:  0.25rem;
    --space-sm:  0.5rem;
    --space-md:  1rem;
    --space-lg:  1.5rem;
    --space-xl:  2rem;
    --space-2xl: 3rem;
    --space-3xl: 4.5rem;
    --space-4xl: 6rem;
    --space-5xl: 9rem;

    /* --- Layout --- */
    --container-max:    1200px;
    --container-wide:   1440px;
    --container-narrow: 780px;
    --gutter:           clamp(1.25rem, 5vw, 2rem);
    --nav-height:       80px;

    /* --- Effects --- */
    --shadow-xs:   0 1px 2px rgba(0,0,0,0.08);
    --shadow-sm:   0 2px 8px rgba(0,0,0,0.10);
    --shadow-md:   0 6px 20px rgba(0,0,0,0.10);
    --shadow-lg:   0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl:   0 24px 64px rgba(0,0,0,0.14);
    --shadow-warm: 0 16px 48px rgba(74, 44, 22, 0.18);

    --radius-xs:  2px;
    --radius-sm:  4px;
    --radius-md:  8px;
    --radius-lg:  16px;
    --radius-xl:  24px;
    --radius-full: 9999px;

    /* --- Transitions --- */
    --ease-smooth:   cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out:   cubic-bezier(0.85, 0, 0.15, 1);
    --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);

    --duration-fast:  200ms;
    --duration-base:  350ms;
    --duration-slow:  600ms;
    --duration-xslow: 900ms;

    --transition-fast: var(--duration-fast) var(--ease-smooth);
    --transition-base: var(--duration-base) var(--ease-smooth);
    --transition-slow: var(--duration-slow) var(--ease-out-expo);
}

/* ========================================
   RESET & BASE
   ======================================== */

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

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

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: var(--lh-normal);
    color: var(--charcoal);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 3px;
    border-radius: var(--radius-xs);
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: var(--lh-tight);
    color: var(--charcoal-dark);
    letter-spacing: var(--ls-tight);
}

.display { font-size: var(--fs-display); }
h1, .h1  { font-size: var(--fs-h1); }
h2, .h2  { font-size: var(--fs-h2); }
h3, .h3  { font-size: var(--fs-h3); }
h4, .h4  { font-size: var(--fs-h4); }

.text-lg  { font-size: var(--fs-body-lg); }
.text-sm  { font-size: var(--fs-small); }
.text-xs  { font-size: var(--fs-caption); }

.font-accent { font-family: var(--font-accent); font-style: italic; }

.text-olive  { color: var(--olive); }
.text-amber  { color: var(--amber); }
.text-muted  { color: var(--gray-500); }
.text-white  { color: var(--white); }

/* ========================================
   LAYOUT
   ======================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container--wide   { max-width: var(--container-wide); }
.container--narrow { max-width: var(--container-narrow); }

.section    { padding-block: var(--space-5xl); }
.section--sm { padding-block: var(--space-3xl); }
.section--lg { padding-block: clamp(var(--space-5xl), 12vw, 120px); }

.grid   { display: grid; gap: var(--space-xl); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

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

.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-sm  { gap: var(--space-sm); }
.gap-md  { gap: var(--space-md); }
.gap-lg  { gap: var(--space-lg); }
.gap-xl  { gap: var(--space-xl); }

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.875rem;
    font-family: var(--font-body);
    font-size: var(--fs-small);
    font-weight: 600;
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--duration-base) var(--ease-out-expo);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.1);
    opacity: 0;
    transition: opacity var(--transition-fast);
}
.btn:hover::before { opacity: 1; }

.btn--primary {
    background: var(--amber);
    color: var(--charcoal-dark);
    border-color: var(--amber);
    box-shadow: 0 4px 16px rgba(232, 168, 32, 0.28);
}
.btn--primary:hover {
    background: var(--amber-dark);
    border-color: var(--amber-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 168, 32, 0.36);
}

.btn--secondary {
    background: var(--charcoal-dark);
    color: var(--white);
    border-color: var(--charcoal-dark);
}
.btn--secondary:hover {
    background: var(--charcoal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    color: var(--charcoal-dark);
    border-color: currentColor;
}
.btn--outline:hover {
    background: var(--charcoal-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn--outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.55);
}
.btn--outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn--white {
    background: var(--white);
    color: var(--charcoal-dark);
    border-color: var(--white);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.btn--white:hover {
    background: var(--cream);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--lg { padding: 1.0625rem 2.375rem; font-size: var(--fs-body); }
.btn--sm { padding: 0.625rem 1.25rem; font-size: var(--fs-caption); }

.btn svg {
    width: 18px; height: 18px;
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}
.btn:hover svg { transform: translateX(3px); }

/* ========================================
   NAVIGATION
   ======================================== */

.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: background var(--duration-base) var(--ease-smooth),
                box-shadow var(--duration-base) var(--ease-smooth);
}

.header--transparent { background: transparent; }

.header--solid {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 4px 20px rgba(0,0,0,0.06);
}

.header--scrolled {
    background: rgba(22, 22, 22, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

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

.nav__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: opacity var(--transition-fast);
}
.nav__logo:hover { opacity: 0.85; }

.nav__logo-img { height: 44px; width: auto; }

.nav__links {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    flex: 1;
    justify-content: center;
}

.nav__link {
    font-size: var(--fs-caption);
    font-weight: 600;
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    color: rgba(255,255,255,0.88);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    position: relative;
    transition: color var(--transition-fast), background var(--transition-fast);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: calc(100% - 24px);
    height: 1.5px;
    background: var(--amber);
    border-radius: 2px;
    transition: transform var(--transition-base) var(--ease-out-expo);
    transform-origin: center;
}

.nav__link:hover::after,
.nav__link--active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav__link:hover { color: var(--white); }

.header--solid .nav__link { color: var(--charcoal-dark); }
.header--solid .nav__link:hover { color: var(--charcoal-dark); background: var(--cream-mid); }

.header--scrolled .nav__link { color: rgba(255,255,255,0.8); }
.header--scrolled .nav__link:hover { color: var(--white); background: rgba(255,255,255,0.08); }

.nav__actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-shrink: 0;
}

.nav__cta {
    font-size: var(--fs-caption);
    font-weight: 700;
    letter-spacing: var(--ls-wider);
    text-transform: uppercase;
    padding: 0.625rem 1.375rem;
    background: var(--amber);
    color: var(--charcoal-dark);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base) var(--ease-out-expo);
    box-shadow: 0 2px 8px rgba(232, 168, 32, 0.3);
    white-space: nowrap;
}

.nav__cta:hover {
    background: var(--amber-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(232, 168, 32, 0.4);
}

.nav__whatsapp {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: #25D366;
    border-radius: 50%;
    color: var(--white);
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
}
.nav__whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.48);
}
.nav__whatsapp svg { width: 18px; height: 18px; }

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}
.nav__toggle:hover { background: rgba(255,255,255,0.1); }
.header--solid .nav__toggle:hover { background: var(--cream-mid); }

.nav__toggle-line {
    width: 22px;
    height: 1.5px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--duration-base) var(--ease-out-expo);
    transform-origin: center;
}
.header--solid .nav__toggle-line { background: var(--charcoal-dark); }

@media (max-width: 900px) {
    .nav__links { display: none; }
}

@media (max-width: 768px) {
    .nav__links {
        display: flex;
        position: fixed;
        top: var(--nav-height);
        left: 0; right: 0; bottom: 0;
        background: var(--charcoal-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-sm);
        padding: var(--space-2xl);
        transform: translateX(100%);
        transition: transform var(--duration-slow) var(--ease-out-expo);
        z-index: 99;
    }

    .nav__links.is-open { transform: translateX(0); }

    .nav__link {
        font-size: var(--fs-h4);
        letter-spacing: var(--ls-wider);
        padding: var(--space-md) var(--space-xl);
        color: var(--white) !important;
    }

    .nav__toggle { display: flex; }

    .nav__toggle.is-active .nav__toggle-line:nth-child(1) {
        transform: rotate(45deg) translate(4.5px, 4.5px);
    }
    .nav__toggle.is-active .nav__toggle-line:nth-child(2) {
        opacity: 0; transform: scaleX(0);
    }
    .nav__toggle.is-active .nav__toggle-line:nth-child(3) {
        transform: rotate(-45deg) translate(4.5px, -4.5px);
    }
}

/* ========================================
   HERO
   ======================================== */

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    background: var(--charcoal-dark);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.55;
    transform: scale(1.04);
    transform-origin: center;
    transition: transform 12s ease-out;
    will-change: transform;
}

.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10,10,10,0.15) 0%,
        rgba(10,10,10,0.05) 35%,
        rgba(10,10,10,0.50) 75%,
        rgba(10,10,10,0.75) 100%
    );
}

.hero.is-loaded .hero__bg img { transform: scale(1); }

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    color: var(--white);
    padding-top: var(--nav-height);
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--fs-label);
    font-weight: 700;
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: var(--space-lg);
}

.hero__eyebrow::before {
    content: '';
    width: 32px; height: 1.5px;
    background: var(--amber);
    display: block;
    border-radius: 2px;
}

/* Backward-compat alias for .hero__tagline */
.hero__tagline {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-accent);
    font-size: var(--fs-h4);
    font-style: italic;
    color: var(--amber);
    margin-bottom: var(--space-md);
}

.hero__title {
    font-size: var(--fs-display);
    color: var(--white);
    margin-bottom: var(--space-xl);
    line-height: var(--lh-tight);
    letter-spacing: -0.03em;
}

.hero__title em {
    font-style: italic;
    color: var(--amber-light);
}

.hero__text {
    font-size: var(--fs-body-lg);
    opacity: 0.88;
    margin-bottom: var(--space-2xl);
    line-height: var(--lh-loose);
    max-width: 580px;
}

.hero__actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255,255,255,0.45);
    font-size: var(--fs-label);
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    animation: scrollBounce 2.5s ease-in-out infinite;
}
.hero__scroll svg { width: 20px; height: 20px; }

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.45; }
    50%       { transform: translateX(-50%) translateY(7px); opacity: 0.85; }
}

/* ========================================
   SECTION HEADERS
   ======================================== */

.section-header {
    text-align: center;
    max-width: 680px;
    margin-inline: auto;
    margin-bottom: var(--space-3xl);
}

.section-header__tagline {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--fs-label);
    font-weight: 700;
    letter-spacing: var(--ls-widest);
    text-transform: uppercase;
    color: var(--olive);
    margin-bottom: var(--space-md);
}

.section-header__title {
    margin-bottom: var(--space-lg);
    line-height: var(--lh-snug);
}

.section-header__text {
    color: var(--gray-500);
    font-size: var(--fs-body-lg);
    line-height: var(--lh-loose);
}

/* ========================================
   PRODUCT FAMILIES
   ======================================== */

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .products-grid { grid-template-columns: 1fr; } }

.product-card {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.product-card__image {
    position: absolute;
    inset: 0;
}

.product-card__image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.75s var(--ease-out-expo);
    will-change: transform;
}

.product-card:hover .product-card__image img { transform: scale(1.07); }

.product-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10,10,10,0.92) 0%,
        rgba(10,10,10,0.45) 45%,
        transparent 75%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-xl) var(--space-lg);
    color: var(--white);
}

.product-card__tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    background: var(--olive);
    color: var(--white);
    font-size: var(--fs-label);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--ls-wider);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
    width: fit-content;
}

.product-card__title {
    font-size: var(--fs-h3);
    color: var(--white);
    margin-bottom: var(--space-sm);
    line-height: var(--lh-snug);
}

.product-card__text {
    font-size: var(--fs-small);
    opacity: 0.75;
    margin-bottom: var(--space-md);
    line-height: var(--lh-normal);
}

.product-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--fs-caption);
    font-weight: 700;
    color: var(--amber);
    text-transform: uppercase;
    letter-spacing: var(--ls-wider);
}

.product-card__link svg {
    width: 14px; height: 14px;
    transition: transform var(--transition-fast);
}

.product-card:hover .product-card__link svg { transform: translateX(5px); }

/* ========================================
   GALLERY GRID
   ======================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.65s var(--ease-out-expo);
    will-change: transform;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay-warm);
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    padding: var(--space-lg);
    transition: opacity var(--duration-base) var(--ease-smooth);
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }

.gallery-item__overlay h4 {
    font-size: var(--fs-h4);
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.gallery-item__overlay p {
    font-size: var(--fs-caption);
    opacity: 0.75;
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
    margin-bottom: var(--space-2xl);
}

.gallery-filter {
    padding: 0.5rem 1.25rem;
    font-size: var(--fs-caption);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--ls-wider);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-full);
    color: var(--gray-500);
    transition: all var(--transition-fast);
    background: transparent;
}

.gallery-filter:hover,
.gallery-filter--active {
    background: var(--charcoal-dark);
    border-color: var(--charcoal-dark);
    color: var(--white);
}

/* ========================================
   TESTIMONIALS
   ======================================== */

.testimonials { background: var(--charcoal-dark); color: var(--white); }

.testimonial-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl) var(--space-xl);
    text-align: left;
    transition: border-color var(--transition-base), background var(--transition-base);
}

.testimonial-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(232, 168, 32, 0.3);
}

.testimonial-card__stars {
    display: flex;
    gap: 3px;
    color: var(--amber);
    margin-bottom: var(--space-lg);
}
.testimonial-card__stars svg { width: 14px; height: 14px; fill: currentColor; }

.testimonial-card__quote {
    font-family: var(--font-heading);
    font-size: var(--fs-h4);
    font-style: italic;
    line-height: var(--lh-loose);
    margin-bottom: var(--space-xl);
    color: rgba(255,255,255,0.9);
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-card__initials {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--olive);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--fs-small);
    color: var(--white);
    flex-shrink: 0;
}

.testimonial-card__meta { flex: 1; }

.testimonial-card__name {
    display: block;
    font-weight: 600;
    font-size: var(--fs-small);
    color: var(--white);
}

.testimonial-card__role {
    display: block;
    font-size: var(--fs-caption);
    color: var(--olive-light);
}

/* ========================================
   FORMS
   ======================================== */

.form-group { margin-bottom: var(--space-lg); }

.form-label {
    display: block;
    font-size: var(--fs-small);
    font-weight: 600;
    letter-spacing: var(--ls-wide);
    margin-bottom: var(--space-sm);
    color: var(--charcoal);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: var(--fs-body);
    color: var(--charcoal);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    -webkit-appearance: none;
}

.form-input:hover,
.form-textarea:hover,
.form-select:hover { border-color: var(--gray-300); }

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(232, 168, 32, 0.15);
}

.form-textarea { min-height: 160px; resize: vertical; line-height: var(--lh-normal); }

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--charcoal-dark);
    color: var(--white);
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-xl);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

@media (max-width: 1024px) {
    .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
}
@media (max-width: 600px) {
    .footer__grid { grid-template-columns: 1fr; gap: var(--space-xl); }
}

.footer__brand { max-width: 320px; }

.footer__logo {
    display: block;
    margin-bottom: var(--space-lg);
    transition: opacity var(--transition-fast);
}
.footer__logo:hover { opacity: 0.85; }
.footer__logo-img { height: 48px; filter: brightness(0) invert(1); }

.footer__tagline {
    font-family: var(--font-accent);
    font-size: var(--fs-body-lg);
    font-style: italic;
    color: var(--amber);
    margin-bottom: var(--space-md);
}

.footer__desc {
    font-size: var(--fs-small);
    color: var(--gray-400);
    line-height: var(--lh-loose);
    margin-bottom: var(--space-xl);
}

.footer__nav-title {
    font-size: var(--fs-label);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--ls-widest);
    color: var(--white);
    margin-bottom: var(--space-lg);
}

.footer__nav-list { display: flex; flex-direction: column; gap: 0.625rem; }
.footer__nav-list li { line-height: var(--lh-normal); }

.footer__nav-list a {
    font-size: var(--fs-small);
    color: var(--gray-400);
    transition: color var(--transition-fast);
    display: inline-block;
}
.footer__nav-list a:hover { color: var(--amber); }

/* non-link items (address lines) */
.footer__nav-list li:not(:has(a)) {
    font-size: var(--fs-small);
    color: var(--gray-400);
}

.footer__social { display: flex; gap: var(--space-sm); }

.footer__social-link {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    color: var(--gray-300);
    transition: all var(--transition-base);
}
.footer__social-link:hover {
    background: var(--amber);
    border-color: var(--amber);
    color: var(--charcoal-dark);
    transform: translateY(-2px);
}
.footer__social-link svg { width: 16px; height: 16px; }

.footer__bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    font-size: var(--fs-caption);
    color: var(--gray-500);
}

.footer__legal {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}
.footer__legal a { color: var(--gray-500); transition: color var(--transition-fast); }
.footer__legal a:hover { color: var(--amber); }

/* ========================================
   WHATSAPP FLOAT
   ======================================== */

.whatsapp-float {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 58px; height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    z-index: 900;
    transition: transform var(--duration-base) var(--ease-spring),
                box-shadow var(--transition-base);
}
.whatsapp-float:hover {
    transform: scale(1.12) translateY(-2px);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
}
.whatsapp-float svg { width: 30px; height: 30px; }

/* ========================================
   UTILITIES
   ======================================== */

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

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mt-xl  { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-sm  { margin-bottom: var(--space-sm); }
.mb-md  { margin-bottom: var(--space-md); }
.mb-lg  { margin-bottom: var(--space-lg); }
.mb-xl  { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.bg-charcoal  { background-color: var(--charcoal-dark); }
.bg-cream     { background-color: var(--cream); }
.bg-white     { background-color: var(--white); }
.bg-cream-mid { background-color: var(--cream-mid); }

/* ========================================
   CUSTOM CURSOR (desktop only)
   ======================================== */

@media (pointer: fine) {
    body { cursor: none; }
    a:hover, button:hover { cursor: none; }

    .cursor-dot {
        width: 6px; height: 6px;
        background: var(--amber);
        border-radius: 50%;
        position: fixed;
        transform: translate(-50%, -50%);
        pointer-events: none;
        z-index: 9999;
        transition: opacity 0.2s, width 0.2s, height 0.2s;
    }

    .cursor-outline {
        width: 36px; height: 36px;
        border: 1.5px solid rgba(232, 168, 32, 0.5);
        border-radius: 50%;
        position: fixed;
        transform: translate(-50%, -50%);
        pointer-events: none;
        z-index: 9998;
        transition: width 0.35s var(--ease-out-expo),
                    height 0.35s var(--ease-out-expo),
                    border-color 0.35s, opacity 0.35s;
    }

    .cursor-outline.is-hovered {
        width: 56px; height: 56px;
        border-color: rgba(232, 168, 32, 0.8);
    }
}

/* ========================================
   SKIP LINK
   ======================================== */

.skip-link {
    position: absolute;
    top: -100px;
    left: var(--gutter);
    background: var(--amber);
    color: var(--charcoal-dark);
    padding: var(--space-sm) var(--space-lg);
    font-weight: 700;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    z-index: 2000;
    transition: top var(--transition-fast);
}
.skip-link:focus { top: 0; }

/* ========================================
   REDUCED MOTION
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .hero__bg img { transform: none !important; }
}
