/* ==========================================================================
   PA HOME — Design System
   Modern interior brand: warm paper, charcoal ink, bronze accent.
   Motion: reveal-on-scroll, staggered hero, marquee, micro-interactions.
   ========================================================================== */

:root {
    --ink: #16181d;
    --ink-2: #4b4f58;
    --ink-3: #83878f;
    --paper: #faf8f5;
    --white: #ffffff;
    --sand: #f2ede4;
    --sand-2: #e9e2d6;
    --bronze: #b07c42;
    --bronze-dark: #93642f;
    --bronze-soft: #f3e7d7;
    --line: rgba(22, 24, 29, 0.09);
    --line-strong: rgba(22, 24, 29, 0.16);
    --danger: #c0392b;
    --success: #1e8e5a;

    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;

    --radius-sm: 10px;
    --radius: 18px;
    --radius-lg: 28px;
    --radius-pill: 999px;

    --shadow-sm: 0 2px 10px rgba(22, 24, 29, 0.05);
    --shadow-md: 0 12px 32px rgba(22, 24, 29, 0.10);
    --shadow-lg: 0 24px 64px rgba(22, 24, 29, 0.16);

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

    --nav-h: 76px;
}

/* ------------------------------ Reset ------------------------------ */

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

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

body {
    font-family: var(--font-body);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

.container {
    width: min(1180px, 100% - 3rem);
    margin-inline: auto;
}

::selection { background: var(--bronze); color: var(--white); }

/* ------------------------- Typography helpers ------------------------- */

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bronze);
}

.kicker-line {
    width: 34px;
    height: 2px;
    background: var(--bronze);
    border-radius: 2px;
}

.kicker-light { color: #d9a968; }

.section-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
    line-height: 1.14;
    letter-spacing: -0.01em;
    margin-top: 1rem;
}

.section-title em {
    font-style: italic;
    color: var(--bronze);
}

.chip {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bronze-dark);
    background: var(--bronze-soft);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-pill);
}

/* ------------------------------ Buttons ------------------------------ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-pill);
    border: 1.5px solid transparent;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
                background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    will-change: transform;
}

.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--bronze);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(176, 124, 66, 0.35);
}
.btn-primary:hover { background: var(--bronze-dark); box-shadow: 0 12px 30px rgba(176, 124, 66, 0.45); }

.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #000; box-shadow: var(--shadow-md); }

.btn-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }

.btn-ghost {
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.6); }

.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ------------------------------ Navbar ------------------------------ */

.site-nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    transition: background 0.4s ease, box-shadow 0.4s ease, height 0.3s ease;
}

.site-nav.is-scrolled {
    background: rgba(250, 248, 245, 0.86);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--ink);
    color: var(--bronze-soft);
    font-size: 0.9rem;
    font-weight: 600;
    transition: transform 0.35s var(--ease), background 0.3s;
}

.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand-dot { color: var(--bronze); }

.nav-links { display: flex; gap: 0.35rem; }

.nav-link {
    position: relative;
    padding: 0.5rem 0.9rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ink-2);
    border-radius: var(--radius-pill);
    transition: color 0.25s, background 0.25s;
}

.nav-link:hover { color: var(--ink); background: rgba(22, 24, 29, 0.05); }
.nav-link.is-active { color: var(--bronze-dark); }

.nav-link.is-active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0.1rem;
    width: 16px;
    height: 2px;
    background: var(--bronze);
    border-radius: 2px;
    transform: translateX(-50%);
}

.nav-actions { display: flex; align-items: center; gap: 0.8rem; }

/* Transparent-over-hero variant (home, not scrolled) */
.page-home .site-nav:not(.is-scrolled) .nav-link { color: rgba(255, 255, 255, 0.82); }
.page-home .site-nav:not(.is-scrolled) .nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.page-home .site-nav:not(.is-scrolled) .nav-link.is-active { color: #e9bd85; }
.page-home .site-nav:not(.is-scrolled) .brand-text { color: #fff; }
.page-home .site-nav:not(.is-scrolled) .brand-mark { background: rgba(255, 255, 255, 0.12); color: #e9bd85; }
.page-home .site-nav:not(.is-scrolled) .nav-toggle span { background: #fff; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    border-radius: 50%;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin-inline: auto;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.35s var(--ease), opacity 0.3s;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: var(--paper);
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
}

.mobile-menu.is-open { opacity: 1; visibility: visible; }

.mobile-menu-links { display: grid; gap: 1.2rem; text-align: center; }

.mobile-menu-links a:not(.btn) {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--ink);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.25s;
}

.mobile-menu-links a:not(.btn):hover { color: var(--bronze); }

.mobile-menu.is-open .mobile-menu-links a:not(.btn) { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu-links a:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.is-open .mobile-menu-links a:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu.is-open .mobile-menu-links a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.is-open .mobile-menu-links a:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu.is-open .mobile-menu-links a:nth-child(5) { transition-delay: 0.32s; }

.mobile-menu-links .btn { margin-top: 1rem; }

/* ------------------------------ Hero ------------------------------ */

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
    isolation: isolate;
}

.hero-media { position: absolute; inset: 0; z-index: -1; background: #23262d; }

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenburns 22s var(--ease) infinite alternate;
}

@keyframes kenburns {
    from { transform: scale(1) translateX(0); }
    to   { transform: scale(1.12) translateX(-1.5%); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(78deg, rgba(13, 14, 18, 0.92) 8%, rgba(13, 14, 18, 0.62) 46%, rgba(13, 14, 18, 0.25) 100%),
        linear-gradient(to top, rgba(13, 14, 18, 0.55), transparent 40%);
}

.hero-inner { padding: calc(var(--nav-h) + 3rem) 0 5rem; }

.hero-content { max-width: 640px; }

.hero-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    line-height: 1.08;
    letter-spacing: -0.015em;
    margin: 1.4rem 0 1.6rem;
}

.hero-title em { font-style: italic; color: #e9bd85; }

.hero-line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }

.hero-line > span {
    display: block;
    transform: translateY(112%);
    animation: lineUp 1.1s var(--ease-out-expo) forwards;
    animation-delay: var(--d, 0s);
}

@keyframes lineUp { to { transform: translateY(0); } }

.hero-anim {
    opacity: 0;
    transform: translateY(26px);
    animation: fadeUp 0.9s var(--ease-out-expo) forwards;
    animation-delay: var(--d, 0s);
}

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.hero-sub {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 520px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }

.hero-stats {
    display: flex;
    gap: 2.6rem;
    margin-top: 3.4rem;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 500;
    color: #e9bd85;
    line-height: 1.1;
}

.hero-stat span:last-child { font-size: 0.85rem; color: rgba(255, 255, 255, 0.62); }

.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 2rem;
    transform: translateX(-50%);
    width: 28px;
    height: 46px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-pill);
    display: flex;
    justify-content: center;
    padding-top: 8px;
    transition: border-color 0.3s;
}

.hero-scroll:hover { border-color: #fff; }

.hero-scroll span {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 4px;
    animation: scrollHint 1.8s var(--ease) infinite;
}

@keyframes scrollHint {
    0%   { transform: translateY(0); opacity: 1; }
    70%  { transform: translateY(14px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* ------------------------------ Marquee ------------------------------ */

.marquee {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.85);
    padding: 1rem 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 2.4rem;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-style: italic;
}

.marquee-track i { color: var(--bronze); font-style: normal; font-size: 0.8rem; }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------ Sections ------------------------------ */

.section { padding: 6.5rem 0; }
.section-sand { background: var(--sand); }
.section-dark { background: var(--ink); color: var(--white); }

.section-head { max-width: 640px; margin-bottom: 3.4rem; }

.section-head-split {
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

/* -------------------------- Reveal on scroll -------------------------- */

[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.85s var(--ease-out-expo), transform 0.85s var(--ease-out-expo);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

.no-js [data-reveal] { opacity: 1; transform: none; }

/* --------------------------- Category cards --------------------------- */

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
    gap: 1.2rem;
}

.category-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.7rem 1.6rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    overflow: hidden;
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}

.category-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-md);
    border-color: rgba(176, 124, 66, 0.45);
}

.category-icon {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--bronze-soft);
    color: var(--bronze-dark);
    margin-bottom: 0.7rem;
    transition: background 0.35s, color 0.35s, transform 0.45s var(--ease);
}

.category-icon svg { width: 26px; height: 26px; }

.category-card:hover .category-icon {
    background: var(--bronze);
    color: var(--white);
    transform: scale(1.08) rotate(-4deg);
}

.category-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; }

.category-card p { font-size: 0.9rem; color: var(--ink-2); flex-grow: 1; }

.category-count {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-top: 0.6rem;
}

.category-arrow {
    position: absolute;
    right: 1.3rem;
    bottom: 1.15rem;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ink);
    color: var(--white);
    opacity: 0;
    transform: translate(-8px, 8px);
    transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}

.category-arrow svg { width: 16px; height: 16px; }

.category-card:hover .category-arrow { opacity: 1; transform: translate(0, 0); }

/* ------------------------------- About ------------------------------- */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(2.5rem, 6vw, 5.5rem);
    align-items: center;
}

.about-media { position: relative; }

.about-media img {
    border-radius: var(--radius-lg);
    aspect-ratio: 4 / 4.6;
    object-fit: cover;
    width: 100%;
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    right: -1.2rem;
    bottom: 2.2rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: var(--ink);
    color: var(--white);
    border-radius: var(--radius);
    padding: 1.1rem 1.4rem;
    box-shadow: var(--shadow-lg);
    animation: floatBob 5s ease-in-out infinite;
}

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

.about-badge strong {
    font-family: var(--font-display);
    font-size: 2.1rem;
    font-weight: 500;
    color: #e9bd85;
}

.about-badge span { font-size: 0.82rem; line-height: 1.45; color: rgba(255, 255, 255, 0.75); }

.about-content p { color: var(--ink-2); margin-top: 1.2rem; }

.check-list { margin: 1.6rem 0 2rem; display: grid; gap: 0.85rem; }

.check-list li {
    position: relative;
    padding-left: 2.1rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.12rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--bronze-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393642f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------------------------- Product cards ---------------------------- */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.6rem;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }

.product-card-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--sand);
}

.product-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}

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

.product-card-badge {
    position: absolute;
    top: 0.9rem;
    left: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(22, 24, 29, 0.82);
    backdrop-filter: blur(6px);
    color: #e9bd85;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 0.7rem;
    border-radius: var(--radius-pill);
}

.product-card-badge svg { width: 12px; height: 12px; }

.product-card-arrow {
    position: absolute;
    right: 0.9rem;
    bottom: 0.9rem;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--white);
    color: var(--ink);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
    box-shadow: var(--shadow-sm);
}

.product-card-arrow svg { width: 18px; height: 18px; }

.product-card:hover .product-card-arrow { opacity: 1; transform: translateY(0); }

.product-card-body {
    padding: 1.35rem 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex-grow: 1;
}

.product-card-body h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.28rem;
    line-height: 1.25;
}

.product-card-body h3 a { transition: color 0.25s; }
.product-card-body h3 a:hover { color: var(--bronze-dark); }

.product-card-body p { font-size: 0.9rem; color: var(--ink-2); flex-grow: 1; }

.product-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.7rem;
    padding-top: 0.9rem;
    border-top: 1px dashed var(--line-strong);
}

.price { font-weight: 800; font-size: 1.02rem; color: var(--ink); }
.price small { font-weight: 600; font-size: 0.78rem; color: var(--ink-3); margin-right: 0.3rem; }
.price-quote { color: var(--bronze-dark); font-size: 0.92rem; }

.empty-note { color: var(--ink-3); }

/* ------------------------------ Process ------------------------------ */

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.2rem;
}

.process-card {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--radius);
    padding: 1.8rem 1.6rem;
    transition: transform 0.45s var(--ease), background 0.35s, border-color 0.35s;
}

.process-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.075);
    border-color: rgba(233, 189, 133, 0.35);
}

.process-no {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 2.4rem;
    color: #e9bd85;
    opacity: 0.85;
    line-height: 1;
    display: block;
    margin-bottom: 1.1rem;
}

.process-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 0.5rem; }
.process-card p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.66); }

.stats-band {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-top: 4.5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.stat-item strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: #e9bd85;
    line-height: 1.1;
}

.stat-item span:last-child { font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); }

/* ---------------------------- Testimonials ---------------------------- */

.testimonial-slider { position: relative; }

.testimonial-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(540px, 88%);
    gap: 1.4rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
}

.testimonial-track::-webkit-scrollbar { display: none; }

.testimonial-card {
    scroll-snap-align: start;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2.2rem 2.2rem 1.9rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    box-shadow: var(--shadow-sm);
}

.quote-mark { width: 34px; height: 34px; color: var(--bronze); opacity: 0.9; }

.testimonial-card blockquote {
    font-family: var(--font-display);
    font-size: 1.18rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--ink);
    flex-grow: 1;
}

.testimonial-card figcaption { display: flex; align-items: center; gap: 0.9rem; }

.testimonial-card figcaption img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--sand);
}

.testimonial-card figcaption strong { display: block; font-size: 0.95rem; }
.testimonial-card figcaption span { font-size: 0.82rem; color: var(--ink-3); }

.testimonial-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.6rem; }

.testimonial-dots button {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-pill);
    border: none;
    background: var(--sand-2);
    transition: width 0.35s var(--ease), background 0.3s;
}

.testimonial-dots button.is-active { width: 26px; background: var(--bronze); }

/* ------------------------------ Contact ------------------------------ */

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: clamp(2rem, 4.5vw, 4rem);
}

.contact-info p { color: var(--ink-2); margin-top: 1.1rem; }

.contact-points { display: grid; gap: 1.1rem; margin-top: 2.2rem; }

.contact-point { display: flex; align-items: center; gap: 1rem; }

.contact-point svg {
    width: 46px;
    height: 46px;
    padding: 12px;
    border-radius: 14px;
    background: var(--bronze-soft);
    color: var(--bronze-dark);
    flex: none;
}

.contact-point strong { display: block; font-size: 0.98rem; }
.contact-point span { font-size: 0.82rem; color: var(--ink-3); }

.contact-form { display: grid; gap: 1.1rem; align-content: start; }

.field { display: grid; gap: 0.4rem; }

.field label { font-size: 0.85rem; font-weight: 700; }

.field input,
.field textarea,
.field select {
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--ink);
    background: var(--paper);
    border: 1.5px solid var(--line-strong);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1rem;
    width: 100%;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
    resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: none;
    border-color: var(--bronze);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(176, 124, 66, 0.14);
}

.field-error { font-size: 0.8rem; color: var(--danger); font-weight: 600; }

/* ------------------------------ Footer ------------------------------ */

.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.72);
    padding: 4.5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
}

.footer-brand p { font-size: 0.92rem; margin: 1.2rem 0 1.5rem; max-width: 300px; }

.brand-light .brand-text { color: #fff; }
.brand-light .brand-mark { background: rgba(255, 255, 255, 0.1); color: #e9bd85; }

.footer-socials { display: flex; gap: 0.7rem; }

.footer-socials a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.8);
    transition: background 0.3s, transform 0.35s var(--ease), border-color 0.3s;
}

.footer-socials a:hover { background: var(--bronze); border-color: var(--bronze); transform: translateY(-3px); color: #fff; }
.footer-socials svg { width: 18px; height: 18px; }

.footer-col h4 {
    color: #fff;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.footer-col a {
    display: block;
    font-size: 0.92rem;
    padding: 0.3rem 0;
    transition: color 0.25s, transform 0.3s var(--ease);
}

.footer-col a:hover { color: #e9bd85; transform: translateX(4px); }

.footer-contact { font-size: 0.92rem; line-height: 1.7; margin-bottom: 1rem; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 3.5rem;
    padding-top: 1.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
}

/* ------------------------------- Toast ------------------------------- */

.toast {
    position: fixed;
    right: 1.4rem;
    bottom: 1.4rem;
    z-index: 200;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: var(--ink);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.95rem 1.3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-width: min(420px, calc(100vw - 2.8rem));
    animation: toastIn 0.6s var(--ease-out-expo);
    transition: opacity 0.4s, transform 0.4s var(--ease);
}

.toast svg { width: 20px; height: 20px; flex: none; color: #7fd8a5; }
.toast-error svg { color: #ff9d8f; }

.toast.is-hiding { opacity: 0; transform: translateY(12px); }

@keyframes toastIn {
    from { opacity: 0; transform: translateY(24px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* --------------------------- Catalog page --------------------------- */

.page-hero {
    padding: calc(var(--nav-h) + 4rem) 0 3.2rem;
    background:
        radial-gradient(60% 120% at 85% 0%, rgba(176, 124, 66, 0.14), transparent 60%),
        var(--sand);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-3);
    margin-bottom: 1.2rem;
}

.breadcrumb a { transition: color 0.25s; }
.breadcrumb a:hover { color: var(--bronze-dark); }

.page-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.1;
}

.page-title em { font-style: italic; color: var(--bronze); }

.page-sub { color: var(--ink-2); max-width: 560px; margin-top: 0.9rem; }

.section-catalog { padding-top: 2.6rem; }

.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 2.4rem;
}

.filter-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ink-2);
    background: var(--white);
    border: 1.5px solid var(--line-strong);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    transition: all 0.3s var(--ease);
}

.pill small {
    font-size: 0.72rem;
    background: var(--sand);
    color: var(--ink-3);
    border-radius: var(--radius-pill);
    padding: 0.05rem 0.45rem;
    font-weight: 700;
    transition: inherit;
}

.pill:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }

.pill.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill.is-active small { background: rgba(255, 255, 255, 0.16); color: #e9bd85; }

.filter-tools { display: flex; gap: 0.7rem; align-items: center; }

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box svg {
    position: absolute;
    left: 0.9rem;
    width: 17px;
    height: 17px;
    color: var(--ink-3);
    pointer-events: none;
}

.search-box input {
    font-family: inherit;
    font-size: 0.9rem;
    border: 1.5px solid var(--line-strong);
    background: var(--white);
    border-radius: var(--radius-pill);
    padding: 0.6rem 1.1rem 0.6rem 2.6rem;
    width: 230px;
    transition: border-color 0.25s, box-shadow 0.25s, width 0.35s var(--ease);
}

.search-box input:focus {
    outline: none;
    border-color: var(--bronze);
    box-shadow: 0 0 0 4px rgba(176, 124, 66, 0.14);
    width: 270px;
}

.filter-tools select {
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1.5px solid var(--line-strong);
    background: var(--white);
    border-radius: var(--radius-pill);
    padding: 0.6rem 1rem;
    cursor: pointer;
}

.filter-tools select:focus { outline: none; border-color: var(--bronze); }

.search-note { margin: -1rem 0 1.8rem; color: var(--ink-2); font-size: 0.95rem; }
.search-note a { color: var(--bronze-dark); font-weight: 700; margin-left: 0.5rem; }
.search-note a:hover { text-decoration: underline; }

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    margin-top: 3.2rem;
}

.page-btn {
    display: grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    padding: 0 0.6rem;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--ink-2);
    background: var(--white);
    border: 1.5px solid var(--line-strong);
    transition: all 0.3s var(--ease);
}

.page-btn svg { width: 16px; height: 16px; }

.page-btn:hover:not(.is-disabled):not(.is-current) {
    border-color: var(--ink);
    color: var(--ink);
    transform: translateY(-2px);
}

.page-btn.is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.page-btn.is-disabled { opacity: 0.35; pointer-events: none; }
.page-dots { color: var(--ink-3); padding: 0 0.2rem; }

/* Empty state */
.empty-state {
    text-align: center;
    padding: 4.5rem 1rem;
    display: grid;
    justify-items: center;
    gap: 0.7rem;
}

.empty-state svg {
    width: 64px;
    height: 64px;
    color: var(--ink-3);
    background: var(--sand);
    border-radius: 50%;
    padding: 16px;
    margin-bottom: 0.6rem;
}

.empty-state h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }
.empty-state p { color: var(--ink-2); margin-bottom: 1rem; }

/* --------------------------- Product detail --------------------------- */

.section-detail { padding-top: calc(var(--nav-h) + 3rem); }

.detail-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    margin-top: 1.8rem;
}

.gallery-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3.1;
    background: var(--sand);
    box-shadow: var(--shadow-md);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.25s ease;
}

.gallery-thumbs { display: flex; gap: 0.7rem; margin-top: 0.9rem; }

.gallery-thumb {
    width: 84px;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    background: var(--sand);
    padding: 0;
    opacity: 0.65;
    transition: opacity 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}

.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { opacity: 1; transform: translateY(-2px); }
.gallery-thumb.is-active { opacity: 1; border-color: var(--bronze); }

.detail-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.9rem, 3.5vw, 2.7rem);
    line-height: 1.14;
    margin: 0.9rem 0 1.3rem;
}

.detail-price {
    background: var(--sand);
    border-radius: var(--radius);
    padding: 1.1rem 1.4rem;
    margin-bottom: 1.4rem;
}

.detail-price small {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.detail-price strong {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.9rem;
    color: var(--bronze-dark);
    line-height: 1.25;
}

.detail-price span { display: block; font-size: 0.84rem; color: var(--ink-2); margin-top: 0.2rem; }

.detail-short { color: var(--ink-2); }

.detail-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.2rem;
    font-size: 0.92rem;
}

.detail-meta-label { color: var(--ink-3); font-weight: 600; }
.detail-meta-value { font-weight: 700; background: var(--bronze-soft); color: var(--bronze-dark); padding: 0.25rem 0.8rem; border-radius: var(--radius-pill); }

.detail-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.detail-cta .btn-primary svg { width: 20px; height: 20px; }

.detail-perks { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 1.8rem; }

.detail-perks li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-2);
}

.detail-perks li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--bronze);
    font-weight: 800;
}

.detail-body {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    margin-top: 4.5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--line);
}

.detail-desc h2,
.detail-specs h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
}

.detail-desc p { color: var(--ink-2); margin-bottom: 1rem; }

.detail-specs table { width: 100%; border-collapse: collapse; }

.detail-specs th,
.detail-specs td {
    text-align: left;
    padding: 0.75rem 0.2rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.92rem;
    vertical-align: top;
}

.detail-specs th { color: var(--ink-3); font-weight: 600; width: 42%; padding-right: 1rem; }
.detail-specs td { font-weight: 600; }

/* --------------------------- Responsiveness --------------------------- */

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .about-media { max-width: 520px; }
    .about-badge { right: 1rem; }
    .detail-grid, .detail-body { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .nav-actions .btn { display: none; }
    .section { padding: 4.5rem 0; }
    .contact-card { grid-template-columns: 1fr; }
    .hero-stats { gap: 1.6rem; flex-wrap: wrap; }
    .section-head-split { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
    .container { width: calc(100% - 2.2rem); }
    .hero-cta .btn { width: 100%; }
    .filter-tools { width: 100%; }
    .search-box { flex: 1; }
    .search-box input, .search-box input:focus { width: 100%; }
    .product-grid { grid-template-columns: 1fr; }
    .testimonial-track { grid-auto-columns: 94%; }
}

/* --------------------------- 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;
    }

    [data-reveal] { opacity: 1; transform: none; }
    .hero-anim, .hero-line > span { opacity: 1; transform: none; animation: none; }
}
