/* =========================================================================
   Atlantic Cabinet Warehouse — atlanticcabinetmd.com
   Premium wholesale cabinets & SPC flooring · Baltimore–Washington
   Design system: espresso + warm bronze + cream · serif display + clean sans
   ========================================================================= */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700&family=Montserrat:wght@600;700;800&display=swap');

/* ---------- Reset ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  color:var(--ink);background:var(--paper);
  line-height:1.7;font-size:17px;overflow-x:hidden;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:none;background:none}
ul{list-style:none}

/* ---------- Tokens ---------- */
:root{
  --ink:#1c1710;          /* espresso near-black */
  --ink-2:#2b2318;
  --slate:#6f6557;        /* muted warm gray text */
  --bronze:#b4863f;       /* primary accent */
  --bronze-2:#c99b52;     /* accent hover / light */
  --bronze-deep:#8c6528;
  --cream:#f5efe4;        /* warm section bg */
  --sand:#eae0cf;
  --paper:#fffdf9;        /* card / page */
  --line:rgba(28,23,16,.12);
  --line-2:rgba(28,23,16,.08);
  --shadow-sm:0 2px 10px rgba(28,23,16,.06);
  --shadow:0 14px 40px -14px rgba(28,23,16,.28);
  --shadow-lg:0 30px 70px -22px rgba(28,23,16,.42);
  --container:1240px;
  --radius:14px;
  --radius-lg:22px;
  --ease:cubic-bezier(.22,.61,.36,1);
  --slide-w:700px;        /* hero marquee slide width (desktop ≈700px) */
  --nav-h:78px;
}

/* ---------- Typography ---------- */
h1,h2,h3,h4{font-family:'Cormorant Garamond',Georgia,serif;font-weight:600;line-height:1.08;color:var(--ink);letter-spacing:.2px}
h1{font-size:clamp(2.9rem,6vw,5rem)}
h2{font-size:clamp(2.2rem,4.2vw,3.5rem)}
h3{font-size:clamp(1.5rem,2.4vw,2rem)}
p{color:var(--ink-2)}
strong{font-weight:600}

.eyebrow{
  font-family:'Inter',sans-serif;font-weight:600;font-size:.78rem;
  letter-spacing:.22em;text-transform:uppercase;color:var(--bronze-deep);
  display:inline-flex;align-items:center;gap:.6em;margin-bottom:1.1rem;
}
.eyebrow::before{content:"";width:30px;height:1px;background:var(--bronze)}
.eyebrow.center::after{content:"";width:30px;height:1px;background:var(--bronze)}
.lead{font-size:1.13rem;color:var(--slate);max-width:60ch}

/* ---------- Layout ---------- */
.container{width:100%;max-width:var(--container);margin:0 auto;padding:0 26px}
section{position:relative}
.section{padding:clamp(64px,9vw,128px) 0}
.section-head{max-width:760px;margin-bottom:clamp(34px,4vw,58px)}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center}
.section-head.center .eyebrow{justify-content:center}
.section-head p{margin-top:1rem}
.bg-cream{background:var(--cream)}
.bg-ink{background:var(--ink);color:#f0e9dc}
.bg-ink h1,.bg-ink h2,.bg-ink h3{color:#fbf6ec}
.bg-ink p{color:#c9bfae}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.6em;
  font-weight:600;font-size:.95rem;letter-spacing:.02em;
  padding:15px 30px;border-radius:50px;transition:.35s var(--ease);
  white-space:nowrap;cursor:pointer;
}
.btn svg{width:17px;height:17px}
.btn-primary{background:var(--bronze);color:#fff;box-shadow:0 10px 26px -10px rgba(180,134,63,.7)}
.btn-primary:hover{background:var(--bronze-deep);transform:translateY(-2px)}
.btn-dark{background:var(--ink);color:#fbf6ec}
.btn-dark:hover{background:var(--ink-2);transform:translateY(-2px)}
.btn-ghost{border:1.5px solid rgba(255,255,255,.55);color:#fff;backdrop-filter:blur(2px)}
.btn-ghost:hover{background:rgba(255,255,255,.14);border-color:#fff}
.btn-outline{border:1.5px solid var(--bronze);color:var(--bronze-deep)}
.btn-outline:hover{background:var(--bronze);color:#fff}
.link-arrow{display:inline-flex;align-items:center;gap:.5em;font-weight:600;color:var(--bronze-deep);transition:.3s}
.link-arrow svg{width:16px;height:16px;transition:transform .3s}
.link-arrow:hover svg{transform:translateX(5px)}

/* =========================================================================
   HEADER / NAV
   ========================================================================= */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:100;height:var(--nav-h);
  display:flex;align-items:center;transition:background .4s,box-shadow .4s,height .4s;
}
.site-header .container{display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:flex;align-items:center;gap:14px;flex-shrink:0}
.brand img{height:54px;width:auto;transition:.4s}
.brand .logo-dark{display:none}
.site-header.solid .brand .logo-light{display:none}
.site-header.solid .brand .logo-dark{display:block}
.brand-name{display:flex;flex-direction:column;align-items:center;line-height:1.02}
.brand-name b{font-family:'Montserrat',sans-serif;font-weight:800;font-size:1.28rem;color:#fff;transition:color .4s;letter-spacing:.05em;text-transform:uppercase;white-space:nowrap;text-align:center}
.brand-name span{font-family:'Montserrat',sans-serif;font-weight:800;font-size:1.28rem;letter-spacing:.05em;text-transform:uppercase;color:#fff;margin-top:3px;transition:color .4s;white-space:nowrap;text-align:center}

.main-nav{display:flex;align-items:center;gap:6px}
.main-nav>li>a{
  display:block;padding:10px 15px;font-weight:500;font-size:.95rem;color:rgba(255,255,255,.92);
  border-radius:8px;transition:.25s;position:relative;white-space:nowrap;
}
.main-nav>li>a:hover{color:#fff}
.main-nav>li>a::after{content:"";position:absolute;left:15px;right:15px;bottom:4px;height:1.5px;background:var(--bronze-2);transform:scaleX(0);transform-origin:left;transition:transform .3s}
.main-nav>li>a:hover::after,.main-nav>li>a.active::after{transform:scaleX(1)}

.nav-cta{display:flex;align-items:center;gap:16px;flex-shrink:0}
.nav-phone{display:flex;align-items:center;gap:8px;font-weight:600;font-size:.95rem;color:#fff;transition:color .4s}
.nav-phone svg{width:18px;height:18px;color:var(--bronze-2)}

/* solid state on scroll / inner pages */
.site-header.solid{background:rgba(255,253,249,.96);backdrop-filter:blur(10px);box-shadow:0 4px 24px rgba(28,23,16,.09);height:68px}
.site-header.solid .brand-name b,.site-header.solid .brand-name span{color:#17233b}
.site-header.solid .main-nav>li>a{color:var(--ink-2)}
.site-header.solid .nav-phone{color:var(--ink)}

/* hamburger + mobile drawer (hidden on desktop) */
.nav-toggle{display:none;width:46px;height:46px;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:5px}
.nav-toggle span{width:24px;height:2px;background:#fff;transition:.3s;border-radius:2px}
.site-header.solid .nav-toggle span{background:var(--ink)}
.mobile-drawer{position:fixed;inset:0;z-index:200;background:var(--ink);color:#f4eee2;transform:translateX(100%);transition:transform .4s var(--ease);display:flex;flex-direction:column;padding:26px}
.mobile-drawer.open{transform:translateX(0)}
.mobile-drawer .md-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}
.mobile-drawer .md-close{width:46px;height:46px;color:#f4eee2;font-size:1.8rem;display:flex;align-items:center;justify-content:center}
.mobile-drawer nav a{display:block;padding:16px 4px;font-family:'Cormorant Garamond',serif;font-size:1.9rem;font-weight:600;border-bottom:1px solid rgba(255,255,255,.1);color:#f4eee2}
.mobile-drawer nav a:hover{color:var(--bronze-2);padding-left:14px}
.mobile-drawer .md-foot{margin-top:auto;padding-top:24px}
.mobile-drawer .md-foot a{color:var(--bronze-2);font-weight:600}

/* mobile bottom nav bar */
.bottom-nav{
  display:none;position:fixed;bottom:0;left:0;right:0;z-index:150;
  background:rgba(255,253,249,.98);backdrop-filter:blur(12px);
  border-top:1px solid var(--line);box-shadow:0 -6px 22px rgba(28,23,16,.1);
  padding:8px 4px calc(8px + env(safe-area-inset-bottom,0));
  justify-content:space-around;
}
.bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:3px;padding:5px 8px;font-size:.66rem;font-weight:600;color:var(--slate);letter-spacing:.02em;flex:1}
.bottom-nav a svg{width:22px;height:22px;color:var(--slate);transition:.25s}
.bottom-nav a.active,.bottom-nav a.active svg{color:var(--bronze-deep)}
.bottom-nav a:active{transform:scale(.94)}

/* =========================================================================
   HERO — full-screen seamless image marquee
   ========================================================================= */
.hero{position:relative;height:100vh;min-height:640px;overflow:hidden;background:#1c1710 url(/images/hero/hero-fallback.jpg) center/cover no-repeat}
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}
.hero-marquee{position:absolute;inset:0;display:flex;width:max-content;animation:marquee 60s linear infinite;will-change:transform}
.hero-slide{position:relative;width:var(--slide-w);height:100%;flex:0 0 auto}
.hero-slide img{width:100%;height:100%;object-fit:cover}
/* light gradient blend straddling each seam (aligned to image edges) */
.hero-slide::after{
  content:"";position:absolute;top:0;bottom:0;right:0;width:120px;transform:translateX(50%);
  background:linear-gradient(90deg,rgba(245,239,228,0) 0%,rgba(245,239,228,.32) 50%,rgba(245,239,228,0) 100%);
  pointer-events:none;z-index:2;
}
/* uniform 0.3 mask across full screen */
.hero-overlay{position:absolute;inset:0;background:rgba(18,14,9,.18);z-index:3}
.hero-content{position:relative;z-index:4;height:100%;display:flex;flex-direction:column;justify-content:center;max-width:var(--container);margin:0 auto;padding:0 26px}
.hero-content .inner{max-width:760px}
.hero .eyebrow{color:var(--bronze-2)}
.hero .eyebrow::before{background:var(--bronze-2)}
.hero h1{color:#fff;text-shadow:0 2px 26px rgba(0,0,0,.6),0 1px 3px rgba(0,0,0,.5)}
.hero-sub{color:rgba(255,255,255,.94);font-size:1.22rem;margin:1.5rem 0 2.3rem;max-width:56ch;text-shadow:0 1px 16px rgba(0,0,0,.6),0 1px 2px rgba(0,0,0,.5)}
.hero-btns{display:flex;flex-wrap:wrap;gap:14px}
.hero-scroll{position:absolute;bottom:26px;left:50%;transform:translateX(-50%);z-index:4;color:rgba(255,255,255,.8);display:flex;flex-direction:column;align-items:center;gap:6px;font-size:.7rem;letter-spacing:.2em;text-transform:uppercase}
.hero-scroll .mouse{width:24px;height:38px;border:2px solid rgba(255,255,255,.6);border-radius:14px;position:relative}
.hero-scroll .mouse::after{content:"";position:absolute;top:7px;left:50%;transform:translateX(-50%);width:4px;height:7px;background:#fff;border-radius:2px;animation:scrolldot 1.6s infinite}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes scrolldot{0%{opacity:0;transform:translate(-50%,0)}40%{opacity:1}80%{opacity:0;transform:translate(-50%,12px)}}

/* page hero (inner pages) */
.page-hero{position:relative;min-height:56vh;display:flex;align-items:flex-end;overflow:hidden;background:var(--ink)}
.page-hero img.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.page-hero .mask{position:absolute;inset:0;background:linear-gradient(180deg,rgba(18,14,9,.35),rgba(18,14,9,.72))}
.page-hero .container{position:relative;z-index:2;padding-top:130px;padding-bottom:52px}
.page-hero .eyebrow{color:var(--bronze-2)}.page-hero .eyebrow::before{background:var(--bronze-2)}
.page-hero h1{color:#fff}
.page-hero p{color:rgba(255,255,255,.9);max-width:60ch;margin-top:14px}
.breadcrumb{display:flex;gap:8px;font-size:.82rem;color:rgba(255,255,255,.7);margin-bottom:18px;position:relative;z-index:2}
.breadcrumb a:hover{color:#fff}

/* =========================================================================
   STATS / TRUST BAR
   ========================================================================= */
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;text-align:center}
.stats .stat{padding:12px}
.stats .num{font-family:'Cormorant Garamond',serif;font-size:clamp(2.4rem,4vw,3.4rem);font-weight:700;color:var(--bronze-deep);line-height:1}
.stats .lbl{margin-top:8px;font-size:.86rem;color:var(--slate);letter-spacing:.04em}

/* =========================================================================
   CATEGORY CARDS (equal-height image + overlay)
   ========================================================================= */
.cat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.cat-card{position:relative;display:block;border-radius:var(--radius-lg);overflow:hidden;min-height:430px;box-shadow:var(--shadow);isolation:isolate}
.cat-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease);z-index:-2}
.cat-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(18,14,9,.05) 30%,rgba(18,14,9,.82));z-index:-1;transition:.4s}
.cat-card:hover img{transform:scale(1.07)}
.cat-card .cc-body{position:absolute;left:0;right:0;bottom:0;padding:30px}
.cat-card h3{color:#fff;margin-bottom:6px}
.cat-card p{color:rgba(255,255,255,.85);font-size:.95rem;margin-bottom:14px}
.cat-card .link-arrow{color:var(--bronze-2)}
.cat-card:hover{transform:translateY(-4px)}
.cat-card{transition:transform .4s var(--ease)}

/* =========================================================================
   STYLE / DOOR CARDS
   ========================================================================= */
.style-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.style-card{display:block;background:var(--paper);border:1px solid var(--line-2);border-radius:var(--radius);overflow:hidden;transition:.4s var(--ease);box-shadow:var(--shadow-sm)}
.style-card:hover{transform:translateY(-6px);box-shadow:var(--shadow);border-color:var(--line)}
.style-card .thumb{aspect-ratio:4/5;background:var(--cream);overflow:hidden;display:flex;align-items:center;justify-content:center}
.style-card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}
.style-card:hover .thumb img{transform:scale(1.05)}
.style-card .sc-body{padding:20px 22px 24px}
.style-card .tag{font-size:.68rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--bronze-deep)}
.style-card h3{font-size:1.42rem;margin:6px 0 4px}
.style-card .sc-body p{font-size:.9rem;color:var(--slate)}
.style-card .more{margin-top:14px;display:inline-flex;align-items:center;gap:.5em;font-size:.85rem;font-weight:600;color:var(--bronze-deep)}
.style-card .more svg{width:15px;height:15px;transition:transform .3s}
.style-card:hover .more svg{transform:translateX(4px)}

/* =========================================================================
   FLOORING CARDS + PRICING
   ========================================================================= */
.floor-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.floor-card{background:var(--paper);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);border:1px solid var(--line-2);transition:.4s var(--ease);display:flex;flex-direction:column}
.floor-card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
.floor-card .thumb{aspect-ratio:3/4;overflow:hidden}
.floor-card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ease)}
.floor-card:hover .thumb img{transform:scale(1.06)}
.floor-card .fc-body{padding:20px 22px 24px;flex:1;display:flex;flex-direction:column}
.floor-card .sku{font-size:.72rem;font-weight:600;letter-spacing:.1em;color:var(--bronze-deep);text-transform:uppercase}
.floor-card h3{font-size:1.4rem;margin:5px 0 8px}
.floor-card p{font-size:.88rem;color:var(--slate)}

.price-wrap{overflow-x:auto;border-radius:var(--radius);box-shadow:var(--shadow-sm);border:1px solid var(--line-2)}
table.price{width:100%;border-collapse:collapse;min-width:620px;background:var(--paper)}
table.price th,table.price td{padding:15px 18px;text-align:left;border-bottom:1px solid var(--line-2);font-size:.94rem}
table.price thead th{background:var(--ink);color:#f4eee2;font-weight:600;font-size:.82rem;letter-spacing:.05em;text-transform:uppercase}
table.price tbody tr:hover{background:var(--cream)}
table.price .was{color:var(--slate);text-decoration:line-through;font-size:.85rem}
table.price .now{color:var(--bronze-deep);font-weight:700}
.promo-badge{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(135deg,var(--bronze),var(--bronze-deep));color:#fff;font-weight:600;padding:9px 18px;border-radius:50px;font-size:.9rem;letter-spacing:.03em}

/* =========================================================================
   FEATURE / SPLIT (equal-height image + text)
   ========================================================================= */
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,72px);align-items:stretch}
.split.rev .split-media{order:2}
.split-media{position:relative;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);min-height:420px}
.split-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.split-body{display:flex;flex-direction:column;justify-content:center}
.split-body .lead{margin:1.1rem 0 1.7rem;font-size:1.2rem;line-height:1.75}
.feature-list{display:grid;gap:16px;margin-top:8px}
.feature-list li{display:flex;gap:14px;align-items:flex-start}
.fi-ic{flex-shrink:0;width:42px;height:42px;border-radius:11px;background:var(--cream);display:flex;align-items:center;justify-content:center;color:var(--bronze-deep)}
.fi-ic svg{width:21px;height:21px}
.feature-list h4{font-family:'Inter',sans-serif;font-size:1rem;font-weight:600;color:var(--ink);margin-bottom:2px}
.feature-list p{font-size:.9rem;color:var(--slate);margin:0}

/* small feature quad */
.quad{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.quad .qcard{background:var(--paper);border:1px solid var(--line-2);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);transition:.4s var(--ease)}
.quad .qcard:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.quad .qcard .qimg{aspect-ratio:1/1;overflow:hidden}
.quad .qcard .qimg img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}
.quad .qcard:hover .qimg img{transform:scale(1.07)}
.quad .qcard .qb{padding:18px 20px 22px}
.quad .qcard h4{font-family:'Inter',sans-serif;font-size:1rem;font-weight:600;margin-bottom:4px}
.quad .qcard p{font-size:.85rem;color:var(--slate);margin:0}

/* =========================================================================
   CTA BAND
   ========================================================================= */
.cta-band{position:relative;overflow:hidden;background:var(--ink);color:#f4eee2;border-radius:var(--radius-lg)}
.cta-band .inner{position:relative;z-index:2;padding:clamp(40px,6vw,72px);display:flex;align-items:center;justify-content:space-between;gap:34px;flex-wrap:wrap}
.cta-band::before{content:"";position:absolute;top:-40%;right:-10%;width:520px;height:520px;background:radial-gradient(circle,rgba(180,134,63,.35),transparent 68%);z-index:1}
.cta-band h2{color:#fff;max-width:18ch}
.cta-band p{color:#c9bfae;margin-top:10px;max-width:48ch}
.cta-band .cta-actions{display:flex;gap:14px;flex-wrap:wrap}

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:clamp(30px,5vw,64px);align-items:start}
.info-list{display:grid;gap:22px;margin-top:14px}
.info-item{display:flex;gap:16px;align-items:flex-start}
.info-item .ic{flex-shrink:0;width:48px;height:48px;border-radius:12px;background:var(--cream);color:var(--bronze-deep);display:flex;align-items:center;justify-content:center}
.info-item .ic svg{width:22px;height:22px}
.info-item h4{font-family:'Inter',sans-serif;font-size:.82rem;letter-spacing:.1em;text-transform:uppercase;color:var(--slate);font-weight:600;margin-bottom:3px}
.info-item p,.info-item a{font-size:1.05rem;color:var(--ink);font-weight:500;overflow-wrap:anywhere}
.info-item{min-width:0}.info-item>div{min-width:0}
.info-item a:hover{color:var(--bronze-deep)}

.contact-form{background:var(--paper);border:1px solid var(--line-2);border-radius:var(--radius-lg);padding:clamp(26px,4vw,40px);box-shadow:var(--shadow)}
.contact-form .fld{margin-bottom:16px}
.contact-form label{display:block;font-size:.8rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--slate);margin-bottom:7px}
.contact-form input,.contact-form select,.contact-form textarea{
  width:100%;padding:14px 16px;font-family:inherit;font-size:1rem;color:var(--ink);
  background:#fff;border:1.5px solid var(--line);border-radius:11px;transition:.25s;
}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{outline:none;border-color:var(--bronze);box-shadow:0 0 0 4px rgba(180,134,63,.14)}
.contact-form textarea{min-height:130px;resize:vertical}
.contact-form .row2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.contact-form button[type=submit]{width:100%;margin-top:6px}

/* =========================================================================
   FOOTER (workspace standard + required partner block)
   ========================================================================= */
footer{background:var(--ink);color:#c9bfae;padding:72px 0 30px}
footer .footer-content{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px}
.footer-logo{display:inline-flex;align-items:center;gap:11px;margin-bottom:18px}
.footer-logo img{height:44px;margin:0}
.footer-logo .brand-name b{color:#fff}
.footer-logo .brand-name span{color:rgba(255,255,255,.88)}
footer .footer-brand p{font-size:.94rem;color:#a79c8a;max-width:34ch}
footer .footer-section h3{font-family:'Inter',sans-serif;font-size:.82rem;letter-spacing:.14em;text-transform:uppercase;color:#f4eee2;font-weight:600;margin-bottom:18px}
footer .footer-section p{font-size:.94rem;margin-bottom:10px;color:#b6ab99}
footer .footer-section a{color:#b6ab99;transition:.25s;overflow-wrap:anywhere}
footer .footer-section a:hover{color:var(--bronze-2)}
footer .footer-bottom{margin-top:52px;padding-top:26px;border-top:1px solid rgba(255,255,255,.1);display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
footer .footer-bottom p{font-size:.86rem;color:#8f8474;margin:0}
footer .footer-partner{text-align:right;font-size:.84rem;line-height:1.6}
footer .footer-partner a{color:var(--bronze-2);font-weight:600}
.lang-zh{display:none}

/* =========================================================================
   REVEAL ANIMATION
   ========================================================================= */
.reveal{opacity:0;transform:translateY(30px);transition:opacity .8s var(--ease),transform .8s var(--ease)}
.reveal.in{opacity:1;transform:none}
.reveal[data-d="1"]{transition-delay:.08s}
.reveal[data-d="2"]{transition-delay:.16s}
.reveal[data-d="3"]{transition-delay:.24s}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width:1200px){
  .style-grid,.floor-grid,.quad{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:1024px){
  :root{--slide-w:520px}
  /* tablet (768–1023): compact nav, all menu items still visible */
  .main-nav{gap:0}
  .main-nav>li>a{padding:9px 10px;font-size:.88rem}
  .nav-phone,.nav-cta .btn{display:none}  /* free space so the 6 links fit */
}
@media (max-width:900px){
  .cat-grid{grid-template-columns:1fr;max-width:520px;margin:0 auto}
  .split{grid-template-columns:1fr}
  .split.rev .split-media{order:0}
  .split-media img{min-height:300px}
  .contact-grid{grid-template-columns:1fr}
  footer .footer-content{grid-template-columns:1fr 1fr}
}
@media (max-width:767px){
  .hero{background-image:url(/images/hero/hero-fallback-mobile.jpg)}
  body{font-size:16px}
  .main-nav,.nav-cta .btn,.nav-phone{display:none}     /* mobile: hamburger only */
  .nav-toggle{display:flex}
  .bottom-nav{display:flex}
  body{padding-bottom:64px}                            /* room for bottom bar */
  .hero{height:88vh}
  .stats{grid-template-columns:1fr 1fr;gap:14px}
  .cta-band .inner{flex-direction:column;align-items:flex-start}
  footer .footer-bottom{flex-direction:column;align-items:flex-start}
  footer .footer-partner{text-align:left}
}
@media (max-width:520px){
  :root{--slide-w:78vw}
  .style-grid,.floor-grid,.quad{grid-template-columns:1fr;max-width:400px;margin:0 auto}
  .contact-form .row2{grid-template-columns:1fr}
  footer .footer-content{grid-template-columns:1fr}
  .hero-btns{flex-direction:column;align-items:stretch}
  .hero-btns .btn{width:100%}
}

/* keep marquee running even when reduced-motion is requested (per spec) */
@media (prefers-reduced-motion:reduce){
  .hero-marquee{animation:marquee 60s linear infinite !important}
  .reveal{transition:none;opacity:1;transform:none}
}
