/* ==========================================================================
   Decora Car Accessories — Legacy since 1984
   Global stylesheet (mobile-first). No build step.
   ========================================================================== */

:root {
  --navy-1000: #030912;
  --navy-950: #050d1a;
  --navy-900: #0b1f3a;
  --navy-850: #0e2747;
  --navy-800: #123059;
  --orange: #f7931e;
  --orange-2: #ff8a00;
  --gold: #ffb400;
  --white: #ffffff;
  --text: #e9eef6;
  --muted: #a5b2c6;
  --line: rgba(255, 255, 255, 0.1);
  --glass: rgba(255, 255, 255, 0.055);
  --glass-strong: rgba(var(--navy-rgb), 0.62);
  --grad: linear-gradient(120deg, #ff8a00 0%, #f7931e 45%, #ffb400 100%);
  --grad-text: linear-gradient(100deg, #ffb400 0%, #ff8a00 50%, #ffd27a 100%);
  --wa: #25d366;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
  --glow: 0 0 0 1px rgba(var(--accent-rgb), 0.35), 0 18px 50px -18px rgba(var(--accent2-rgb), 0.55);
  --font-head: "Montserrat", "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--navy-950);
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(var(--accent2-rgb), 0.08), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(var(--panel-rgb), 0.55), transparent 60%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 0.5em; color: var(--white); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 7.5vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 4.6vw, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
::selection { background: var(--orange); color: var(--navy-950); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--gold); color: var(--navy-950); padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 10vw, 120px) 0; position: relative; }
.section-tight { padding: clamp(44px, 7vw, 80px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.grid { display: grid; gap: 20px; }
.text-grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  --pad: 14px 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad); border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em;
  cursor: pointer; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, border-color 0.3s, color 0.3s;
  white-space: nowrap; position: relative; overflow: hidden; isolation: isolate;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--grad); color: var(--btn-ink, var(--navy-950)); box-shadow: 0 10px 30px -10px rgba(var(--accent2-rgb), 0.75); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.55) 45%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.8s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 16px 40px -10px rgba(var(--accent2-rgb), 0.9); }
.btn-ghost { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.22); color: var(--white); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--orange); background: rgba(var(--accent-rgb), 0.12); }
.btn-wa { background: var(--wa); color: #05290f; box-shadow: 0 10px 30px -12px rgba(37, 211, 102, 0.7); }
.btn-wa:hover { box-shadow: 0 16px 36px -12px rgba(37, 211, 102, 0.95); }
.btn-sm { --pad: 10px 18px; font-size: 0.86rem; }
.btn-lg { --pad: 17px 30px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--orange); font-weight: 700; font-family: var(--font-head); font-size: 0.92rem; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background 0.4s, box-shadow 0.4s, border-color 0.4s, height 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled, .site-header.solid {
  background: rgba(var(--surface-rgb), 0.72);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line); box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.8);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo-chip {
  display: inline-flex; align-items: center; background: #fff; border-radius: 14px; padding: 5px 12px;
  box-shadow: 0 6px 24px -8px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.4);
  transition: transform 0.3s var(--ease);
}
.logo-chip:hover { transform: scale(1.03); }
.logo-chip img { height: 42px; width: auto; }
.main-nav { display: none; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 8px 13px; border-radius: 999px; font-weight: 600; font-size: 0.92rem; color: #d5deeb;
  transition: color 0.25s, background 0.25s;
  position: relative;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.main-nav a[aria-current="page"] { color: #fff; }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 18px; height: 3px; border-radius: 3px;
  background: var(--grad); transform: translateX(-50%);
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-call { display: none; }
.menu-toggle {
  width: 46px; height: 46px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: inline-grid; place-items: center; cursor: pointer; position: relative; z-index: 120;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform 0.35s var(--ease), background 0.2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile full-screen menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 110; display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 20px) 28px 40px;
  background: radial-gradient(700px 500px at 100% 0%, rgba(var(--accent2-rgb), 0.18), transparent 60%), rgba(var(--deep-rgb), 0.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  clip-path: circle(0% at calc(100% - 43px) 36px);
  transition: clip-path 0.7s var(--ease), visibility 0s linear 0.7s;
  visibility: hidden; overflow-y: auto;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 43px) 36px); visibility: visible; transition: clip-path 0.7s var(--ease), visibility 0s; }
.mobile-menu ul { list-style: none; margin: 0 0 30px; padding: 0; }
.mobile-menu li { overflow: hidden; }
.mobile-menu li a {
  display: flex; align-items: baseline; gap: 14px; padding: 9px 0;
  font-family: var(--font-head); font-weight: 800; font-size: clamp(1.9rem, 8.5vw, 2.6rem); color: #fff;
  transform: translateY(110%); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.6s, color 0.2s;
}
.mobile-menu li a small { font-size: 0.8rem; color: var(--orange); font-weight: 700; letter-spacing: 0.1em; }
.mobile-menu li a[aria-current="page"], .mobile-menu li a:hover { color: var(--orange); }
.menu-open .mobile-menu li a { transform: none; opacity: 1; }
.menu-open .mobile-menu li:nth-child(1) a { transition-delay: 0.12s; }
.menu-open .mobile-menu li:nth-child(2) a { transition-delay: 0.17s; }
.menu-open .mobile-menu li:nth-child(3) a { transition-delay: 0.22s; }
.menu-open .mobile-menu li:nth-child(4) a { transition-delay: 0.27s; }
.menu-open .mobile-menu li:nth-child(5) a { transition-delay: 0.32s; }
.menu-open .mobile-menu li:nth-child(6) a { transition-delay: 0.37s; }
.menu-open .mobile-menu li:nth-child(7) a { transition-delay: 0.42s; }
.mobile-menu .menu-foot { opacity: 0; transform: translateY(20px); transition: opacity 0.6s 0.45s, transform 0.6s 0.45s var(--ease); }
.menu-open .mobile-menu .menu-foot { opacity: 1; transform: none; }
.menu-foot p { color: var(--muted); font-size: 0.9rem; margin-top: 18px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 40px) 0 clamp(110px, 14vh, 140px); overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% center;
  transform-origin: 65% 55%; animation: kenburns 26s ease-in-out infinite alternate;
  filter: brightness(1.25) contrast(1.08) saturate(1.1);
  will-change: transform;
}
@keyframes kenburns {
  0% { transform: scale(1.08) translate3d(0, 0, 0); }
  100% { transform: scale(1.22) translate3d(-2.5%, -1.5%, 0); }
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(var(--surface-rgb), 0.5) 0%, rgba(var(--surface-rgb), 0) 28%, rgba(var(--surface-rgb), 0.35) 70%, var(--navy-950) 100%),
    linear-gradient(90deg, rgba(var(--surface-rgb), 0.8) 0%, rgba(var(--surface-rgb), 0.25) 50%, rgba(var(--surface-rgb), 0) 100%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 60vmax; height: 60vmax; right: -25vmax; bottom: -30vmax;
  background: radial-gradient(circle, rgba(var(--accent2-rgb), 0.28), transparent 60%); filter: blur(20px);
  animation: pulseGlow 8s ease-in-out infinite alternate;
}
@keyframes pulseGlow { from { opacity: 0.55; } to { opacity: 1; } }
.hero-content { max-width: 780px; }
.legacy-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(var(--gold-rgb), 0.45);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-head); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-pale);
  margin-bottom: 22px; box-shadow: 0 0 30px -8px rgba(var(--gold-rgb), 0.5);
}
.legacy-badge b {
  background: var(--grad); color: var(--navy-950); padding: 5px 11px; border-radius: 999px; letter-spacing: 0.06em; font-weight: 800;
}
.hero h1 { margin-bottom: 18px; text-shadow: 0 6px 40px rgba(0, 0, 0, 0.45); }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.15s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 0.3s; }
@keyframes lineUp { to { transform: none; } }
.hero .lead { font-size: clamp(1.02rem, 2.4vw, 1.2rem); color: #d9e1ee; max-width: 600px; margin-bottom: 28px; }
.fade-up { opacity: 0; transform: translateY(24px); animation: fadeUp 1s var(--ease) forwards; }
.d1 { animation-delay: 0.45s; } .d2 { animation-delay: 0.6s; } .d3 { animation-delay: 0.75s; } .d4 { animation-delay: 0.9s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.hero-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
.rating-badge {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: border-color 0.3s, transform 0.3s var(--ease);
}
.rating-badge:hover { border-color: var(--gold); transform: translateY(-2px); }
.rating-badge .g-logo { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.rating-badge .g-logo svg { width: 20px; height: 20px; }
.rating-badge strong { font-family: var(--font-head); font-size: 1.15rem; color: #fff; line-height: 1; }
.rating-badge .stars { color: var(--gold); letter-spacing: 1px; font-size: 0.92rem; }
.rating-badge small { display: block; color: var(--muted); font-size: 0.78rem; line-height: 1.2; }
.open-status {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; font-size: 0.85rem; font-weight: 600;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14);
}
.open-status i { width: 9px; height: 9px; border-radius: 50%; background: #8a96a8; }
.open-status.is-open i { background: #2fe07a; box-shadow: 0 0 0 0 rgba(47, 224, 122, 0.7); animation: ping 1.8s infinite; }
.open-status.is-closed i { background: #ff6b5b; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(47, 224, 122, 0.6); } 100% { box-shadow: 0 0 0 10px rgba(47, 224, 122, 0); } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.4); display: none;
}
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 4px; background: var(--orange); transform: translateX(-50%); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

@media (max-width: 559px) {
  .hero { padding-top: calc(var(--header-h) + 140px); padding-bottom: 96px; }
  .hero-media img { object-position: 68% 30%; }
  .hero::before { background: linear-gradient(180deg, rgba(var(--surface-rgb), 0.35) 0%, rgba(var(--surface-rgb), 0.05) 18%, rgba(var(--surface-rgb), 0.75) 48%, rgba(var(--surface-rgb), 0.92) 75%, var(--navy-950) 100%); }
  .hero .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero .btn-row .btn { --pad: 14px 16px; font-size: 0.92rem; }
  .hero .btn-row .btn-ghost { grid-column: 1 / -1; }
  .hero .lead { font-size: 0.98rem; margin-bottom: 22px; }
  .cta-band .btn-row .btn { flex: 1 1 100%; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; padding: calc(var(--header-h) + clamp(60px, 12vw, 120px)) 0 clamp(56px, 9vw, 100px);
  overflow: hidden; isolation: isolate; min-height: 56vh; display: flex; align-items: flex-end;
}
.page-hero .hero-media img { animation-duration: 30s; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(var(--surface-rgb), 0.6), rgba(var(--surface-rgb), 0.55) 40%, var(--navy-950) 100%),
    linear-gradient(90deg, rgba(var(--surface-rgb), 0.85), rgba(var(--surface-rgb), 0.2));
}
.page-hero h1 { font-size: clamp(2.2rem, 6.5vw, 4rem); }
.page-hero p { color: #d3dceb; max-width: 640px; font-size: 1.08rem; }
.breadcrumb { font-size: 0.82rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { margin: 0 6px; opacity: 0.6; }

/* ---------- Glass cards ---------- */
.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

/* Services grid (home) */
.services-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.service-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px;
  border-radius: var(--radius); overflow: hidden; isolation: isolate; border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
}
.service-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease), filter 0.6s; }
.service-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--surface-rgb), 0.05) 20%, rgba(var(--surface-rgb), 0.75) 60%, rgba(var(--surface-rgb), 0.96) 100%); }
.service-card .card-body {
  margin: 12px; padding: 20px; border-radius: 16px;
  background: rgba(var(--navy-rgb), 0.45); border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
}
.service-card h3 { margin-bottom: 6px; }
.service-card p { color: #c9d3e2; font-size: 0.94rem; margin-bottom: 12px; }
.service-card .num { position: absolute; top: 16px; left: 18px; font-family: var(--font-head); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.2em; color: #fff; background: rgba(var(--surface-rgb), 0.5); padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--glow); border-color: rgba(var(--accent-rgb), 0.5); }
.service-card:hover > img { transform: scale(1.08); }

/* Brand marquee */
.marquee { position: relative; overflow: hidden; padding: 6px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee + .marquee { margin-top: 14px; }
.marquee-track { display: flex; width: max-content; gap: 14px; animation: marquee 40s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 46s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }
.wordmark {
  display: inline-flex; align-items: center; justify-content: center; padding: 16px 28px; border-radius: 16px; white-space: nowrap;
  background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(255, 255, 255, 0.09);
  font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; letter-spacing: 0.04em; color: #e3e9f3;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.wordmark:hover { color: var(--gold); border-color: rgba(var(--gold-rgb), 0.45); background: rgba(var(--gold-rgb), 0.06); }
.wm-italic { font-style: italic; }
.wm-light { font-weight: 500; letter-spacing: 0.08em; }
.wm-wide { letter-spacing: 0.22em; }

/* Why Decora */
.why-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.why-card { padding: 28px 24px; position: relative; overflow: hidden; transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s; }
.why-card:hover { transform: translateY(-5px); border-color: rgba(var(--accent-rgb), 0.45); box-shadow: var(--glow); }
.why-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -70px; top: -70px; background: radial-gradient(circle, rgba(var(--accent2-rgb), 0.22), transparent 70%); }
.icon-bubble {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(145deg, rgba(var(--accent2-rgb), 0.22), rgba(var(--gold-rgb), 0.06)); border: 1px solid rgba(var(--gold-rgb), 0.35); color: var(--gold);
}
.icon-bubble svg { width: 26px; height: 26px; }
.why-card p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* Legacy band */
.legacy-band { position: relative; overflow: hidden; }
.legacy-year {
  font-family: var(--font-head); font-weight: 900; font-size: clamp(5.5rem, 26vw, 16rem); line-height: 0.85; letter-spacing: -0.05em;
  background: linear-gradient(180deg, rgba(var(--gold-rgb), 0.95), rgba(var(--accent2-rgb), 0.25)); -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
.legacy-grid { display: grid; gap: 30px; align-items: center; }

/* Showcase strip */
.showcase { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 20px; scrollbar-width: thin; scrollbar-color: var(--orange) transparent; }
.showcase::-webkit-scrollbar { height: 6px; }
.showcase::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 6px; }
.showcase figure { margin: 0; flex: 0 0 78%; max-width: 420px; scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4 / 5; border: 1px solid var(--line); }
.showcase figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.showcase figure:hover img { transform: scale(1.06); }
.showcase figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(var(--surface-rgb), 0.65); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 0.8rem; font-weight: 600; border: 1px solid rgba(255, 255, 255, 0.15); }

/* Visit block */
.visit { display: grid; gap: 20px; }
.visit-card { padding: 28px 24px; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .ico { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--accent-rgb), 0.12); color: var(--orange); border: 1px solid rgba(var(--accent-rgb), 0.3); }
.info-list .ico svg { width: 20px; height: 20px; }
.info-list strong { display: block; color: #fff; font-family: var(--font-head); font-size: 0.95rem; margin-bottom: 2px; }
.info-list span, .info-list a { color: var(--muted); font-size: 0.95rem; }
.info-list a:hover { color: var(--orange); }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 320px; position: relative; background: var(--navy-900); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.25) contrast(1.05); }

/* CTA band */
.cta-band { position: relative; border-radius: 28px; overflow: hidden; isolation: isolate; padding: clamp(40px, 7vw, 80px) clamp(24px, 6vw, 70px); border: 1px solid rgba(var(--gold-rgb), 0.3); }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(var(--surface-rgb), 0.95) 10%, rgba(var(--navy-rgb), 0.75) 55%, rgba(var(--accent2-rgb), 0.35) 120%); }
.cta-band h2 { max-width: 640px; }
.cta-band p { color: #d2dbe9; max-width: 560px; margin-bottom: 26px; }

/* ---------- Services page ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(var(--surface-rgb), 0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.subnav ul { position: relative; list-style: none; margin: 0; padding: 10px 20px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; max-width: var(--container); margin: 0 auto; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: 0.86rem; font-weight: 600; color: #cfd8e6; border: 1px solid rgba(255, 255, 255, 0.1); transition: all 0.25s; }
.subnav a:hover, .subnav a.active { background: var(--grad); color: var(--navy-950); border-color: transparent; }
.split { display: grid; gap: 30px; align-items: center; }
.split-media { position: relative; }
.split-media .main-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); box-shadow: var(--shadow); }
.split-media .main-img img { width: 100%; height: 100%; object-fit: cover; }
.split-media .float-img { position: absolute; width: 42%; aspect-ratio: 3 / 4; right: -6px; bottom: -28px; border-radius: 16px; overflow: hidden; border: 4px solid var(--navy-950); box-shadow: var(--shadow); }
.split-media .float-img img { width: 100%; height: 100%; object-fit: cover; }
.split-media .tag { position: absolute; top: 14px; left: 14px; padding: 7px 14px; border-radius: 999px; background: var(--grad); color: var(--navy-950); font-weight: 800; font-family: var(--font-head); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 32px; color: #d3dceb; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 21px; height: 21px; border-radius: 50%;
  background: var(--grad) center / 12px no-repeat;
  -webkit-mask: none;
}
.check-list li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 7px; height: 10px; border: solid var(--navy-950); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.service-section { border-top: 1px solid var(--line); }
.service-section:nth-of-type(even) { background: linear-gradient(180deg, rgba(var(--navy-rgb), 0.35), transparent); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.pill-row li { padding: 6px 13px; border-radius: 999px; font-size: 0.82rem; font-weight: 600; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); color: #dfe6f1; }

.brand-compare { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 40px; }
.compare-card { padding: 26px 22px; transition: transform 0.4s var(--ease), border-color 0.4s; }
.compare-card:hover { transform: translateY(-4px); border-color: rgba(var(--gold-rgb), 0.45); }
.compare-card .wm { font-family: var(--font-head); font-weight: 900; font-size: 1.7rem; margin-bottom: 10px; display: block; }
.compare-card p { color: var(--muted); font-size: 0.94rem; margin-bottom: 0; }
.process { display: grid; gap: 14px; counter-reset: step; margin: 30px 0 0; padding: 0; grid-template-columns: 1fr; }
.process li { list-style: none; padding: 20px 20px 20px 70px; position: relative; }
.process li::before { counter-increment: step; content: "0" counter(step); position: absolute; left: 20px; top: 18px; font-family: var(--font-head); font-weight: 900; font-size: 1.4rem; color: var(--orange); }
.process strong { display: block; color: #fff; font-family: var(--font-head); }
.process span { color: var(--muted); font-size: 0.92rem; }

/* ---------- Brands page ---------- */
.brand-group { margin-bottom: 56px; }
.brand-group h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.brand-group h3 .icon-bubble { margin: 0; width: 44px; height: 44px; border-radius: 12px; }
.brand-group h3 .icon-bubble svg { width: 22px; height: 22px; }
.brand-wall { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.brand-tile {
  aspect-ratio: 16 / 9; display: grid; place-items: center; text-align: center; padding: 14px; border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)); border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-head); font-weight: 800; font-size: clamp(1.05rem, 3.6vw, 1.45rem); color: #eef2f8;
  transition: transform 0.4s var(--ease), border-color 0.3s, color 0.3s, box-shadow 0.4s; position: relative; overflow: hidden;
}
.brand-tile small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; margin-top: 4px; }
.brand-tile:hover { transform: translateY(-4px); border-color: rgba(var(--gold-rgb), 0.5); color: var(--gold); box-shadow: var(--glow); }
.proof-img { border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.15); box-shadow: var(--shadow); background: #fff; }

/* ---------- Products ---------- */
.toolbar { display: grid; gap: 14px; margin-bottom: 30px; }
.search-box { position: relative; }
.search-box svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.search-box input { width: 100%; padding: 15px 18px 15px 48px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.05); font-size: 1rem; outline: none; transition: border-color 0.3s, box-shadow 0.3s; }
.search-box input:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.18); }
.search-box input::placeholder { color: #8796ab; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.04); font-weight: 600; font-size: 0.88rem; cursor: pointer; transition: all 0.25s; color: #d6deea; }
.chip:hover { border-color: var(--orange); color: #fff; }
.chip[aria-pressed="true"] { background: var(--grad); color: var(--btn-ink, var(--navy-950)); border-color: transparent; }
.product-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.product-card { display: flex; flex-direction: column; overflow: hidden; transition: transform 0.45s var(--ease), border-color 0.3s, box-shadow 0.45s; animation: cardIn 0.6s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } }
.product-card:hover { transform: translateY(-5px); border-color: rgba(var(--accent-rgb), 0.45); box-shadow: var(--glow); }
.product-card .p-media { aspect-ratio: 4 / 3; overflow: hidden; position: relative; background: var(--navy-900); }
.product-card .p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.product-card:hover .p-media img { transform: scale(1.06); }
.p-badge { position: absolute; top: 12px; left: 12px; padding: 5px 11px; border-radius: 999px; background: var(--grad); color: var(--navy-950); font-weight: 800; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }
.p-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.p-meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.p-meta .brand { color: var(--orange); }
.p-meta .cat { color: var(--muted); }
.p-body h3 { margin: 0; font-size: 1.15rem; }
.p-body p { color: var(--muted); font-size: 0.92rem; margin: 0; flex: 1; }
.p-price { font-family: var(--font-head); font-weight: 800; color: #fff; }
.p-body .btn { margin-top: 10px; }
.empty-state { text-align: center; padding: 50px 20px; color: var(--muted); grid-column: 1 / -1; }
.notice { padding: 14px 18px; border-radius: 14px; background: rgba(var(--gold-rgb), 0.08); border: 1px dashed rgba(var(--gold-rgb), 0.4); color: var(--accent-pale); font-size: 0.9rem; margin-bottom: 26px; }

/* ---------- Gallery ---------- */
.masonry { columns: 2 160px; column-gap: 12px; }
.masonry .g-item { break-inside: avoid; margin: 0 0 12px; border-radius: 14px; overflow: hidden; position: relative; cursor: zoom-in; border: 1px solid var(--line); display: block; width: 100%; padding: 0; background: var(--navy-900); }
.masonry .g-item img { width: 100%; height: auto; transition: transform 0.9s var(--ease), filter 0.5s; }
.masonry .g-item:hover img { transform: scale(1.05); }
.masonry .g-item .g-cat { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(var(--surface-rgb), 0.7); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: all 0.35s var(--ease); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.masonry .g-item:hover .g-cat, .masonry .g-item:focus-visible .g-cat { opacity: 1; transform: none; }
.masonry .g-item.hide { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(var(--deep-rgb), 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0s linear 0.35s; touch-action: pan-y; }
.lightbox.open { opacity: 1; visibility: visible; transition: opacity 0.35s; }
.lightbox figure { margin: 0; max-width: min(1200px, 94vw); max-height: 86vh; display: flex; flex-direction: column; align-items: center; gap: 12px; transform: scale(0.96); transition: transform 0.4s var(--ease); }
.lightbox.open figure { transform: none; }
.lightbox img { max-height: 78vh; width: auto; max-width: 100%; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7); }
.lightbox figcaption { color: #cdd6e4; font-size: 0.9rem; text-align: center; padding: 0 50px; }
.lightbox figcaption a { color: var(--orange); }
.lb-btn { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.08); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background 0.25s, border-color 0.25s; }
.lb-btn:hover { background: var(--orange); border-color: var(--orange); color: var(--navy-950); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 28px; left: 22px; font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; color: var(--muted); }
.credits { columns: 1; font-size: 0.86rem; color: var(--muted); padding: 0; list-style: none; }
.credits li { margin-bottom: 6px; break-inside: avoid; }
.credits a { color: #d6deea; text-decoration: underline; text-decoration-color: rgba(var(--accent-rgb), 0.5); text-underline-offset: 3px; }
.credits a:hover { color: var(--orange); }

/* ---------- About / timeline ---------- */
.timeline { position: relative; list-style: none; margin: 0; padding: 0 0 0 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--gold), var(--orange-2) 60%, rgba(var(--accent2-rgb), 0.1)); }
.timeline li { position: relative; margin-bottom: 26px; }
.timeline li::before { content: ""; position: absolute; left: -32px; top: 22px; width: 18px; height: 18px; border-radius: 50%; background: var(--navy-950); border: 3px solid var(--orange); box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0.15); }
.timeline .t-card { padding: 22px 22px; }
.timeline .t-era { font-family: var(--font-head); font-weight: 900; font-size: 1.6rem; display: block; margin-bottom: 4px; }
.timeline h3 { margin-bottom: 6px; }
.timeline p { color: var(--muted); margin: 0; }
.values { display: grid; gap: 16px; grid-template-columns: 1fr; }
.values .why-card h3 { font-size: 1.15rem; }
.quote-block { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.5rem, 4.4vw, 2.6rem); line-height: 1.2; color: #fff; max-width: 900px; }
.quote-block span { color: var(--orange); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 20px; }
.contact-actions { display: grid; gap: 12px; grid-template-columns: 1fr; }
.action-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s; }
.action-card:hover { transform: translateY(-3px); border-color: rgba(var(--accent-rgb), 0.5); box-shadow: var(--glow); }
.action-card .ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--grad); color: var(--navy-950); }
.action-card .ico.wa { background: var(--wa); color: #05290f; }
.action-card .ico svg { width: 24px; height: 24px; }
.action-card strong { display: block; color: #fff; font-family: var(--font-head); }
.action-card span { color: var(--muted); font-size: 0.9rem; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours-table th, .hours-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.hours-table th { font-weight: 600; color: #dfe6f1; }
.hours-table td { color: var(--muted); text-align: right; }
.hours-table tr.today { background: linear-gradient(90deg, rgba(var(--accent2-rgb), 0.18), rgba(var(--accent2-rgb), 0.02)); }
.hours-table tr.today th, .hours-table tr.today td { color: #fff; font-weight: 700; }
.hours-table tr.today th::after { content: "Today"; margin-left: 10px; font-size: 0.66rem; padding: 3px 8px; border-radius: 999px; background: var(--grad); color: var(--navy-950); letter-spacing: 0.06em; text-transform: uppercase; vertical-align: middle; }
.hours-table tr.closed td { color: #ff8d80; }
.form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; }
.field label { display: block; font-size: 0.84rem; font-weight: 600; margin-bottom: 6px; color: #dbe3ef; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(var(--deep-rgb), 0.5);
  font-size: 1rem; outline: none; transition: border-color 0.25s, box-shadow 0.25s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--orange) 50%), linear-gradient(135deg, var(--orange) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { background: var(--navy-900); color: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.18); }
.field input:user-invalid { border-color: #ff6b5b; }
.field .hint { font-size: 0.78rem; color: var(--muted); margin-top: 6px; }
.form-error { color: #ff8d80; font-size: 0.88rem; min-height: 1.2em; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { position: relative; margin-top: 40px; padding: 70px 0 calc(30px + 72px); border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(var(--navy-rgb), 0.55), var(--navy-1000)); overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--grad); opacity: 0.8; }
.footer-grid { display: grid; gap: 34px; grid-template-columns: 1fr; }
.footer-brand .logo-chip img { height: 64px; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; margin-top: 16px; max-width: 340px; }
.footer-tagline { font-family: var(--font-head); font-weight: 800; letter-spacing: 0.16em; font-size: 0.78rem; text-transform: uppercase; color: var(--orange); margin-top: 18px; }
.footer-legacy { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(var(--gold-rgb), 0.4); color: var(--accent-pale); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.site-footer h4 { font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a, .footer-contact a { color: var(--muted); font-size: 0.93rem; transition: color 0.2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--orange); }
.footer-contact { font-size: 0.93rem; color: var(--muted); font-style: normal; display: grid; gap: 10px; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.04); transition: all 0.25s; color: #fff; }
.social a:hover { background: var(--orange); color: var(--navy-950); border-color: var(--orange); }
.social svg { width: 19px; height: 19px; }
.footer-bottom { margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 0.82rem; color: #7f8da3; }
.footer-bottom a:hover { color: var(--orange); }
.footer-big { position: absolute; right: -10px; bottom: 50px; font-family: var(--font-head); font-weight: 900; font-size: clamp(5rem, 22vw, 14rem); line-height: 1; color: rgba(255, 255, 255, 0.025); pointer-events: none; user-select: none; letter-spacing: -0.04em; }

/* ---------- Floating WhatsApp + mobile bar ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 88px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; display: none; place-items: center; /* shown >=900px; the mobile bar covers WhatsApp below that */ box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.7);
  transition: transform 0.3s var(--ease);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: waRing 2.4s infinite; }
@keyframes waRing { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.mobile-bar {
  position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 95; display: grid; grid-template-columns: repeat(3, 1fr);
  border-radius: 18px; overflow: hidden; background: rgba(var(--surface-rgb), 0.86); border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 14px 40px -10px rgba(0, 0, 0, 0.8);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 4px 9px; font-size: 0.74rem; font-weight: 700; color: #e6ecf5; letter-spacing: 0.02em; }
.mobile-bar a + a { border-left: 1px solid rgba(255, 255, 255, 0.08); }
.mobile-bar a svg { width: 21px; height: 21px; }
.mobile-bar a.mb-call svg { color: var(--orange); }
.mobile-bar a.mb-wa svg { color: var(--wa); }
.mobile-bar a.mb-dir svg { color: #6fb6ff; }
.mobile-bar a:active { background: rgba(255, 255, 255, 0.08); }

/* ---------- 404 ---------- */
.not-found { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) 20px 120px; position: relative; overflow: hidden; isolation: isolate; }
.not-found .big { font-family: var(--font-head); font-weight: 900; font-size: clamp(7rem, 32vw, 15rem); line-height: 0.9; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.from-left { transform: translateX(-28px); }
.reveal.from-right { transform: translateX(28px); }
.reveal.zoom { transform: scale(0.94); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (min-width: 560px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .values { grid-template-columns: repeat(2, 1fr); }
  .brand-wall { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-compare { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .contact-actions { grid-template-columns: 1fr 1fr; }
  .masonry { columns: 3 180px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .showcase figure { flex-basis: 46%; }
  .credits { columns: 2; }
}
@media (min-width: 900px) {
  :root { --header-h: 82px; }
  .container { padding: 0 32px; }
  .main-nav { display: block; }
  .header-call { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid .service-card:nth-child(1) { grid-column: span 2; }
  .services-grid .service-card:nth-child(6) { grid-column: span 3; min-height: 320px; }
  .services-grid .service-card:nth-child(6) .card-body { max-width: 520px; }
  .service-card { min-height: 400px; }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .values { grid-template-columns: repeat(3, 1fr); }
  .brand-wall { grid-template-columns: repeat(4, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .brand-compare { grid-template-columns: repeat(4, 1fr); }
  .process { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1.05fr 1fr; gap: 70px; }
  .split.reverse .split-media { order: 2; }
  .visit { grid-template-columns: 1fr 1.25fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .legacy-grid { grid-template-columns: 1fr 1.1fr; gap: 60px; }
  .toolbar { grid-template-columns: 1fr auto; align-items: center; }
  .toolbar .chips { order: -1; }
  .masonry { columns: 4 220px; column-gap: 16px; }
  .masonry .g-item { margin-bottom: 16px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.3fr 1.1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .site-footer { padding-bottom: 34px; }
  .mobile-bar { display: none; }
  .wa-float { display: grid; bottom: 26px; right: 26px; }
  .scroll-cue { display: block; }
  .showcase { padding-left: max(32px, calc((100vw - var(--container)) / 2 + 32px)); }
  .showcase figure { flex-basis: 360px; }
  .hero { align-items: center; padding-bottom: 100px; }
  .credits { columns: 3; }
}
@media (min-width: 1200px) {
  .main-nav a { padding: 8px 15px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .hero-media img { animation: none !important; transform: scale(1.05); }
  .marquee-track { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track [aria-hidden="true"] { display: none; }
  .reveal, .fade-up, .hero h1 .line > span { opacity: 1 !important; transform: none !important; }
}

/* ---------- No-JS fallbacks (replaced by site.js) ---------- */
.fallback-nav { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; padding: 14px 20px; background: var(--navy-1000); border-bottom: 1px solid var(--line); font-weight: 600; font-size: 0.9rem; position: relative; z-index: 100; }
.fallback-nav a:hover { color: var(--orange); }
.fallback-footer { padding: 40px 20px; text-align: center; color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--line); }
.stock-note { font-size: 0.8rem; color: #7f8da3; margin-top: 14px; }

/* Keep logo + close button above the open mobile menu */
.menu-open .site-header { z-index: 130; background: transparent; border-bottom-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .wa-float, .menu-open .mobile-bar { opacity: 0; pointer-events: none; }

/* ==========================================================================
   ROUND 2 additions
   ========================================================================== */
:root { --ig-grad: linear-gradient(45deg, #feda75 0%, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%); }

/* ---- Horizontal overflow guard. The source fix is smaller reveal offsets, with each
   section clipping its own horizontal overflow so off-screen reveal transforms can never
   widen the mobile layout viewport. ---- */
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}
main > section, .site-footer { overflow-x: clip; }

/* ---- Instagram: header + mobile menu ---- */
.header-ig {
  display: none; width: 40px; height: 40px; border-radius: 12px; place-items: center; color: #e9eef6;
  border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.05);
  transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.3s var(--ease);
}
.header-ig svg { width: 19px; height: 19px; }
.header-ig:hover { color: #fff; border-color: transparent; background: var(--ig-grad); transform: translateY(-2px); }
@media (min-width: 900px) { .header-ig { display: inline-grid; } }
.menu-ig {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-weight: 700; color: #fff;
  padding: 8px 16px 8px 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.04);
}
.menu-ig svg { width: 32px; height: 32px; padding: 6px; border-radius: 10px; background: var(--ig-grad); color: #fff; }

/* ---- Home hero slideshow ---- */
.hero-media .hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero-media .hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-media .hero-slide.is-leaving { opacity: 0; z-index: 0; }
.hero-media .hero-slide img { animation: none; transform: scale(1.06); }
.hero-media .hero-slide.is-active img,
.hero-media .hero-slide.is-leaving img { animation: kbSlide 9s linear forwards; }
.hero-media .hero-slide:nth-child(even).is-active img,
.hero-media .hero-slide:nth-child(even).is-leaving img { animation-name: kbSlideAlt; }
@keyframes kbSlide { from { transform: scale(1.06) translate3d(0, 0, 0); } to { transform: scale(1.2) translate3d(-2.5%, -1.5%, 0); } }
@keyframes kbSlideAlt { from { transform: scale(1.2) translate3d(2%, 1%, 0); } to { transform: scale(1.06) translate3d(0, 0, 0); } }
.hero-ui {
  position: absolute; right: 20px; top: calc(var(--header-h) + 14px); z-index: 2;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: none;
}
.hero-caption {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px;
  background: rgba(var(--surface-rgb), 0.55); border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff;
}
.hero-caption::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 10px var(--orange); }
.hero-caption.show span { display: inline-block; animation: capIn 0.7s var(--ease); }
@keyframes capIn { from { opacity: 0; transform: translateY(6px); } }
.hero-progress { display: flex; gap: 6px; }
.hero-progress i { display: block; width: 24px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.25); overflow: hidden; position: relative; }
.hero-progress i::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.hero-progress i.done::after { transform: scaleX(1); }
.hero-progress i.on::after { animation: barFill var(--slide-ms, 6500ms) linear forwards; }
@keyframes barFill { to { transform: scaleX(1); } }
@media (min-width: 900px) {
  .hero-ui { top: auto; bottom: 34px; right: max(32px, calc((100vw - var(--container)) / 2 + 32px)); }
  .hero-caption { font-size: 0.78rem; }
  .hero-progress i { width: 40px; }
}

/* ---- Instagram section ---- */
.ig-card { padding: clamp(22px, 5vw, 48px); position: relative; overflow: hidden; }
.ig-card::before {
  content: ""; position: absolute; width: 420px; height: 420px; right: -160px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 41, 118, 0.28), rgba(150, 47, 191, 0.12) 45%, transparent 70%); pointer-events: none;
}
.ig-head { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; margin-bottom: 26px; position: relative; }
.ig-ring { width: 76px; height: 76px; border-radius: 50%; padding: 3px; background: var(--ig-grad); flex: none; box-shadow: 0 0 34px -6px rgba(214, 41, 118, 0.7); }
.ig-ring span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #fff; border: 3px solid var(--navy-950); overflow: hidden; }
.ig-ring img { width: 86%; height: auto; }
.ig-title { flex: 1 1 220px; min-width: 0; }
.ig-title .eyebrow { margin-bottom: 6px; }
.ig-title h2 { font-size: clamp(1.5rem, 4vw, 2.3rem); margin: 0 0 4px; }
.ig-handle { font-weight: 700; color: #f6c9de; overflow-wrap: anywhere; }
.btn-ig { background: var(--ig-grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(214, 41, 118, 0.7); }
.btn-ig:hover { box-shadow: 0 16px 38px -10px rgba(214, 41, 118, 0.95); }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; position: relative; }
.ig-tile { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 10px; background: var(--navy-900); display: block; }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.ig-over {
  position: absolute; inset: 0; display: grid; place-items: center; color: #fff; opacity: 0; transition: opacity 0.35s;
  background: linear-gradient(45deg, rgba(250, 126, 30, 0.55), rgba(214, 41, 118, 0.55), rgba(79, 91, 213, 0.55));
}
.ig-over svg { width: 34px; height: 34px; }
.ig-tile:hover img, .ig-tile:focus-visible img { transform: scale(1.08); }
.ig-tile:hover .ig-over, .ig-tile:focus-visible .ig-over { opacity: 1; }
.ig-foot { margin-top: 20px; position: relative; color: var(--muted); font-size: 0.88rem; }
@media (min-width: 700px) {
  .ig-grid { grid-template-columns: repeat(6, 1fr); gap: 10px; }
  .ig-tile { border-radius: 14px; }
}
@media (max-width: 559px) { .ig-head .btn-ig { width: 100%; } }

/* ---- Contact: action cards (5, incl. Instagram) ---- */
.action-card .ico.ig { background: var(--ig-grad); color: #fff; }
.action-card > span:last-child { min-width: 0; }
.action-card span span { overflow-wrap: anywhere; }
@media (min-width: 560px) and (max-width: 1099px) {
  .contact-actions .action-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .contact-actions { grid-template-columns: repeat(5, 1fr); }
  .action-card { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ---- Reduced motion: slideshow + Ken Burns off ---- */
@media (prefers-reduced-motion: reduce) {
  .hero-media .hero-slide img { animation: none !important; }
}

/* Cards never look empty while their (lazy) image loads */
.service-card { background: linear-gradient(160deg, var(--navy-800), var(--navy-950) 70%); }

/* ==========================================================================
   Brand ranges (3M PPF, JL Audio, Morel, 70mai) — compact cards
   ========================================================================== */
.feature-brands { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .feature-brands { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .feature-brands { grid-template-columns: repeat(4, 1fr); } }
.feature-brand { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, rgba(var(--panel-rgb), .55), rgba(var(--surface-rgb), .9)); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: transform .5s var(--ease), border-color .3s, box-shadow .5s; isolation: isolate; }
.feature-brand:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), .5); box-shadow: var(--glow); }
.feature-brand img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature-brand:hover img { transform: scale(1.07); }
.feature-brand .fb-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.feature-brand h3 { margin: 2px 0 0; font-size: 1.2rem; }
.feature-brand p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.feature-brand .fb-link { margin-top: auto; padding-top: 10px; color: var(--orange); font-weight: 700; font-size: .9rem; }
.rc-tag { align-self: flex-start; display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); background: rgba(var(--accent-rgb), .12); border: 1px solid rgba(var(--accent-rgb), .3); }
.range { margin-top: clamp(48px, 7vw, 80px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line); }
.range-head { max-width: 820px; margin-bottom: 22px; }
.range-title { font-size: clamp(1.45rem, 3.2vw, 2rem); margin: 6px 0 8px; }
.range-head .pill-row { margin-bottom: 0; }
.range-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .range-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.range-card { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--glass); border: 1px solid var(--line); transition: transform .45s var(--ease), border-color .3s, box-shadow .45s; }
.range-card:hover { transform: translateY(-4px); border-color: rgba(var(--accent-rgb), .45); box-shadow: var(--glow); }
.rc-img { aspect-ratio: 16 / 10; overflow: hidden; background: #0a1628; }
.rc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.range-card:hover .rc-img img { transform: scale(1.06); }
.rc-img.rc-product, .product-card .p-media.p-contain { background: radial-gradient(circle at 50% 45%, #ffffff 0%, #e8edf4 60%, #cfd8e4 100%); }
.rc-img.rc-product img, .product-card .p-media.p-contain img { object-fit: contain; padding: 10%; }
.rc-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.rc-body h4 { margin: 2px 0 0; font-family: var(--font-head); font-size: .98rem; line-height: 1.3; color: #fff; }
.rc-body p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.rc-wa { margin-top: auto; padding-top: 8px; font-size: .82rem; font-weight: 700; color: var(--wa); text-decoration: none; }
.rc-wa::after { content: " →"; }
.rc-wa:hover { text-decoration: underline; }
.range-note { margin: 14px 0 0; color: var(--muted); font-size: .78rem; opacity: .8; }
.range-note.center { text-align: center; margin-top: 22px; }
@media (max-width: 559px) { .rc-body { padding: 12px; } .rc-body h4 { font-size: .9rem; } .rc-body p { font-size: .8rem; } .rc-tag { font-size: .62rem; padding: 3px 8px; } }
/* Full showroom range — compact categories, Heritage Gold accents. */
.offer-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px; }
.offer-tile {display:flex;flex-direction:column;min-width:0;overflow:hidden;border-radius:16px;border:1px solid var(--line);background:linear-gradient(145deg,rgba(var(--panel-rgb),.45),rgba(var(--surface-rgb),.9));text-decoration:none;transition:transform .35s,border-color .35s,box-shadow .35s;}
.offer-tile:hover {transform:translateY(-5px);border-color:var(--orange);box-shadow:var(--glow);}
.offer-tile img {width:100%;height:140px;object-fit:contain;background:radial-gradient(ellipse at center,#efefed,#c9c7c1);padding:10px;}
.offer-tile>div {padding:16px;display:flex;flex-direction:column;flex:1;}
.offer-tile h3 {font-size:1rem;margin:0 0 5px;}
.offer-tile p {font-size:.8rem;color:var(--muted);margin:0 0 12px;line-height:1.5;}
.offer-tile span {font-size:.78rem;font-weight:700;color:var(--orange);margin-top:auto;}
.offer-ranges .range {scroll-margin-top:130px;}
.offer-ranges>section.range {overflow:visible;}
.offer-ranges .range-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
.offer-ranges .range-card {min-width:0;}
.offer-ranges .range:has(.range-card:only-child) .range-grid {max-width:600px;grid-template-columns:1fr;}
.offer-ranges .rc-tag {font-size:.63rem;letter-spacing:.04em;}
@media(min-width:700px) {.offer-grid{grid-template-columns:repeat(3,minmax(0,1fr));}.offer-tile img{height:180px}.offer-tile h3{font-size:1.15rem}.offer-ranges .range-grid{grid-template-columns:repeat(4,minmax(0,1fr));}}
.offer-jumps{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:26px}.offer-jumps a{border:1px solid var(--line);border-radius:999px;padding:7px 12px;font-size:.8rem;color:var(--orange);background:rgba(var(--gold-rgb),.04)}.offer-jumps a:hover{border-color:var(--orange);background:rgba(var(--gold-rgb),.12)}
