/* ==========================================================================
   dePearl Fabrics — site styles
   Warm neutral base, near-black ink, clay accent. Modern sans + serif italic accents.
   ========================================================================== */

:root {
  --bg: #f7f5f0;
  --bg-alt: #efebe3;
  --surface: #ffffff;
  --ink: #1c1a17;
  --ink-soft: #4d4842;
  --muted: #847b71;
  --line: #e4ded4;
  --line-strong: #d3cbbf;
  --accent: #b0683a;
  --accent-dark: #8f5129;
  --accent-soft: #f4e8dc;
  --dark: #151412;
  --dark-2: #22201d;
  --wa: #1f9d55;
  --wa-dark: #178043;

  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-accent: "Instrument Serif", Georgia, serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(28, 26, 23, .05);
  --shadow: 0 1px 2px rgba(28, 26, 23, .04), 0 12px 32px -8px rgba(28, 26, 23, .12);
  --shadow-lg: 0 30px 60px -20px rgba(28, 26, 23, .28);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent-soft); }
button { font: inherit; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.03em; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); letter-spacing: -.04em; }
h2, .h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3, .h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); letter-spacing: -.02em; }
.h4 { font-size: 1.05rem; letter-spacing: -.01em; }
h1 em, h2 em { font-family: var(--font-accent); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--accent); }
h2 a, h3 a { text-decoration: none; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 200; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font: 600 .75rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow a { text-decoration: none; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-soft); max-width: 58ch; line-height: 1.65; }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: 600 .95rem/1 var(--font-body); padding: .9rem 1.4rem; border-radius: 999px;
  border: 1px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); color: #fff; box-shadow: 0 10px 24px -10px rgba(31, 157, 85, .7); }
.btn-lg { padding: 1.05rem 1.7rem; font-size: 1rem; }
.btn-sm { padding: .6rem 1rem; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-icon { width: 42px; height: 42px; padding: 0; border-radius: 50%; }
.icon-wa { flex: none; }

.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; color: var(--ink); }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-light { color: #fff; }
.link-light:hover { color: #f0c9a8; }

/* Header ------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; padding-top: 12px; transition: padding .25s var(--ease); }
.header-inner {
  display: flex; align-items: center; gap: 1rem; height: 64px; padding: 0 10px 0 18px;
  background: rgba(255, 255, 255, .78); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border: 1px solid rgba(228, 222, 212, .9); border-radius: 999px; box-shadow: var(--shadow-sm);
  transition: box-shadow .25s;
}
.site-header.is-scrolled .header-inner { box-shadow: var(--shadow); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 34px; height: 34px; }
.brand-text { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.brand-text small { display: block; font-family: var(--font-body); font-size: .6rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 4px; }
.brand-light, .brand-light .brand-text { color: #fff; }
.brand-light .brand-text small { color: #9d958b; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.main-nav a { display: block; padding: .55rem .95rem; font-size: .92rem; font-weight: 500; text-decoration: none; color: var(--ink-soft); border-radius: 999px; transition: background .2s, color .2s; }
.main-nav a:hover { color: var(--ink); background: var(--bg-alt); }
.main-nav a[aria-current="page"] { color: var(--ink); background: var(--bg-alt); font-weight: 600; }
.main-nav .nav-wa-mobile { display: none; }
.header-wa { padding: .75rem 1.15rem; }
.nav-toggle { display: none; }

@media (max-width: 980px) {
  .header-wa span { display: none; }
  .header-wa { padding: 0; width: 44px; height: 44px; margin-left: auto; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--bg-alt); cursor: pointer; padding: 0 13px;
  }
  .nav-toggle .bar { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease); }
  .nav-toggle[aria-expanded="true"] .bar:nth-of-type(2) { transform: translateY(3.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bar:nth-of-type(3) { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav {
    position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 8px); margin: 0;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: .75rem; box-shadow: var(--shadow-lg);
    transform: translateY(-8px) scale(.98); transform-origin: top; opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .25s var(--ease), visibility .2s;
    max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { padding: .9rem 1rem; font-size: 1.05rem; border-radius: 14px; }
  .main-nav .nav-wa-mobile { display: flex; margin-top: .5rem; width: 100%; padding: 1rem; color: #fff; border-radius: 14px; }
}

/* Breadcrumbs -------------------------------------------------------------- */
.breadcrumbs { padding-top: 1.5rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; font-size: .84rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: .4rem; color: var(--line-strong); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* Hero --------------------------------------------------------------------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.chip-badge {
  display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .9rem .45rem .6rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  font-size: .82rem; font-weight: 500; color: var(--ink-soft); margin-bottom: 1.5rem; box-shadow: var(--shadow-sm);
}
.chip-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(31, 157, 85, .15); }
.hero h1 { margin-bottom: .35em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-stats { display: flex; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2.75rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.hero-stats div { display: grid; gap: .15rem; }
.hero-stats strong { font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.hero-stats span { font-size: .84rem; color: var(--muted); }

.hero-visual { position: relative; }
.hero-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--shadow-lg); background: var(--dark); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 18s var(--ease) infinite alternate; }
@keyframes heroZoom { to { transform: scale(1.14); } }
.float-card {
  position: absolute; display: flex; align-items: center; gap: .85rem;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .7); border-radius: 18px; padding: .85rem 1rem; box-shadow: var(--shadow);
  text-decoration: none; color: var(--ink); max-width: 290px;
}
a.float-card:hover { color: var(--ink); transform: translateY(-2px); }
.float-card img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex: none; }
.float-card small { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.float-card strong { display: block; font-family: var(--font-display); font-size: .98rem; letter-spacing: -.01em; line-height: 1.25; }
.float-card span.meta { font-size: .8rem; color: var(--ink-soft); }
.float-card-1 { left: -2rem; bottom: 2.5rem; transition: transform .25s var(--ease); }
.float-card-2 { right: -1.25rem; top: 2rem; }
.float-card-2 .wa-dot { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; flex: none; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img { aspect-ratio: 4 / 3; }
  .float-card-1 { left: 1rem; bottom: 1rem; }
  .float-card-2 { right: 1rem; top: 1rem; }
}
@media (max-width: 520px) { .float-card-2 { display: none; } .hero-stats { justify-content: space-between; } }

/* Marquee ------------------------------------------------------------------ */
.marquee { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; padding: 1.1rem 0; }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 3rem; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; letter-spacing: -.01em; color: var(--ink-soft); white-space: nowrap; }
.marquee-track span::after { content: "✦"; color: var(--accent); font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Page hero ---------------------------------------------------------------- */
.page-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); }
.page-hero h1 { max-width: 16ch; }
.page-hero-media .split { align-items: center; }
.lead-block p { color: var(--ink-soft); font-size: 1.05rem; max-width: 58ch; }
.page-404 { padding: 6rem 0; }
.page-404 h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }

/* Sections ----------------------------------------------------------------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-tint { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: #b9b1a6; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #e0a77c; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { margin: 0; max-width: 20ch; }
.section-head > p { max-width: 42ch; margin: 0; color: var(--ink-soft); }
@media (max-width: 760px) { .section-head { flex-direction: column; align-items: flex-start; gap: 1rem; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.badge-since {
  position: absolute; right: 1.25rem; bottom: 1.25rem; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  padding: 1rem 1.25rem; border-radius: 18px; box-shadow: var(--shadow);
}
.badge-since strong { display: block; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; letter-spacing: -.04em; }
.badge-since span { font-size: .8rem; color: var(--muted); }

.check-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1.5rem; }
.check-list li { padding-left: 1.9rem; position: relative; font-weight: 500; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23b0683a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}
@media (max-width: 520px) { .check-list { grid-template-columns: 1fr; } }

/* Category bento ----------------------------------------------------------- */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 1rem; }
.category-tile {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg);
  color: #fff; text-decoration: none; background: var(--dark); isolation: isolate;
}
.category-tile.is-wide { grid-column: span 2; grid-row: span 2; }
.category-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); z-index: -2; }
.category-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21, 20, 18, 0) 35%, rgba(21, 20, 18, .85) 100%); z-index: -1; }
.category-tile:hover { color: #fff; }
.category-tile:hover img { transform: scale(1.06); }
.category-tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem; display: grid; gap: .35rem; }
.category-tile-count {
  position: absolute; top: 1.1rem; left: 1.1rem; padding: .35rem .75rem; border-radius: 999px;
  background: rgba(255, 255, 255, .18); backdrop-filter: blur(8px); font-size: .75rem; font-weight: 600;
}
.category-tile-title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.category-tile-title::after {
  content: "↗"; flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--ink); font-size: 1rem; transition: transform .3s var(--ease);
}
.category-tile:hover .category-tile-title::after { transform: rotate(45deg); }
.category-tile-summary { font-size: .9rem; color: rgba(255, 255, 255, .78); max-width: 40ch; }
.category-tile.is-wide .category-tile-title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.category-tile:not(.is-wide) .category-tile-summary { display: none; }
@media (max-width: 980px) { .category-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; } }
@media (max-width: 600px) { .category-grid { grid-template-columns: 1fr; } .category-tile.is-wide { grid-column: auto; grid-row: span 1; } .category-tile:not(.is-wide) .category-tile-summary { display: block; } }

/* Catalogue toolbar -------------------------------------------------------- */
.catalogue-toolbar {
  position: sticky; top: calc(var(--header-h) + 8px); z-index: 20;
  display: flex; gap: .75rem; align-items: center; justify-content: space-between; flex-wrap: wrap;
  background: rgba(247, 245, 240, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: .75rem 0; margin-bottom: 1.75rem; border-bottom: 1px solid var(--line);
}
.chip-row { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1rem; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-soft);
  font-size: .88rem; font-weight: 500; cursor: pointer; text-decoration: none; transition: all .2s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip .count { font-size: .75rem; opacity: .6; }
.search-box { position: relative; flex: 1 1 240px; max-width: 320px; }
.search-box input {
  width: 100%; font: inherit; font-size: .92rem; padding: .7rem 1rem .7rem 2.6rem; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
}
.search-box input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(176, 104, 58, .15); }
.search-box svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.result-count { font-size: .88rem; color: var(--muted); margin: -0.75rem 0 1.25rem; }
@media (max-width: 700px) { .search-box { max-width: none; flex-basis: 100%; order: -1; } }

/* Product cards ------------------------------------------------------------ */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
@media (max-width: 980px) { .product-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .product-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .product-grid.is-scroller { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 1rem; scrollbar-width: none; }
  .product-grid.is-scroller::-webkit-scrollbar { display: none; }
  .product-grid.is-scroller > * { flex: 0 0 84%; scroll-snap-align: start; }
}
.product-card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.product-card[hidden] { display: none; }
.product-card-media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-alt); margin: 8px 8px 0; border-radius: calc(var(--radius-lg) - 8px); }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product-card:hover .product-card-media img { transform: scale(1.06); }
.product-card-tag { position: absolute; top: .75rem; left: .75rem; padding: .3rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(6px); font-size: .72rem; font-weight: 600; color: var(--ink); }
.product-card-body { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.product-card-body h3 { font-size: 1.2rem; margin-bottom: .75rem; }
.product-card-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* whole card clickable */
.spec-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.1rem; }
.spec-chips div { display: inline-flex; gap: .35rem; align-items: baseline; padding: .3rem .65rem; border-radius: 8px; background: var(--bg); font-size: .8rem; }
.spec-chips dt { color: var(--muted); font-weight: 500; }
.spec-chips dd { margin: 0; font-weight: 600; color: var(--ink); }
.product-card-actions { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.product-card-actions .link-arrow { font-size: .9rem; }
.product-card-actions .btn { position: relative; z-index: 2; }

.empty-state { text-align: center; padding: 3rem 1.5rem; max-width: 520px; margin: 0 auto; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); }
.empty-state h2 { font-size: 1.5rem; }

/* Product detail ----------------------------------------------------------- */
.product-detail { padding-top: clamp(1.25rem, 3vw, 2rem); }
.product-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .product-layout { grid-template-columns: 1fr; } }
.gallery-main { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-alt); aspect-ratio: 4 / 3; position: relative; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.gallery-count { position: absolute; right: 1rem; bottom: 1rem; padding: .35rem .75rem; border-radius: 999px; background: rgba(21, 20, 18, .7); color: #fff; font-size: .78rem; font-weight: 600; backdrop-filter: blur(6px); }
.gallery-thumbs { display: flex; gap: .6rem; margin-top: .75rem; overflow-x: auto; scrollbar-width: none; }
.gallery-thumb { flex: 0 0 92px; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; background: none; aspect-ratio: 4 / 3; opacity: .6; transition: opacity .2s, border-color .2s; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover, .gallery-thumb.is-active { opacity: 1; border-color: var(--ink); }
.product-info { position: sticky; top: calc(var(--header-h) + 1.5rem); }
@media (max-width: 900px) { .product-info { position: static; } }
.product-info h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.product-info .lead { margin-bottom: 1.5rem; }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin: 0 0 1.5rem; }
.spec-grid div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: .85rem 1rem; }
.spec-grid div.is-wide { grid-column: 1 / -1; }
.spec-grid dt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: .2rem; }
.spec-grid dd { margin: 0; font-weight: 600; font-size: 1rem; }
.product-cta { display: grid; gap: .6rem; }
.product-cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.product-cta p { margin: .4rem 0 0; }
.copy-done { color: var(--wa-dark) !important; border-color: var(--wa) !important; }
.product-more { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }
@media (max-width: 900px) { .product-more { grid-template-columns: 1fr; } }
.prose p { color: var(--ink-soft); max-width: 65ch; }
.product-lists { display: grid; gap: 1.75rem; align-content: start; }

.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-list li a, .pill-list.pill-static li { display: inline-block; padding: .5rem 1rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .88rem; text-decoration: none; background: var(--surface); }
.pill-list li a:hover { border-color: var(--ink); color: var(--ink); }

/* Mobile action bar (product pages) */
.action-bar { display: none; }
@media (max-width: 760px) {
  .has-action-bar .action-bar {
    display: grid; grid-template-columns: auto 1fr; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
  }
  .has-action-bar .action-bar .btn { padding: .95rem 1.2rem; }
  .has-action-bar .wa-float { display: none; }
  .has-action-bar .site-footer { padding-bottom: 5rem; }
}

/* Features / services / process ------------------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; transition: transform .3s var(--ease), box-shadow .3s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 1.25rem; font-family: var(--font-display); font-weight: 700; }
.feature p { color: var(--ink-soft); margin: 0; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

.service-list { display: grid; gap: 1.25rem; }
.service-row { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: .6rem; }
.service-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--radius-lg) - 6px); }
.service-row > div { padding: 1.5rem clamp(0rem, 2vw, 1.5rem) 1.5rem 0; }
.service-row:nth-child(even) { grid-template-columns: 1.15fr 1fr; }
.service-row:nth-child(even) img { order: 2; }
.service-row:nth-child(even) > div { padding: 1.5rem 0 1.5rem clamp(1rem, 3vw, 2.5rem); }
.service-row h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.service-row p { color: var(--ink-soft); max-width: 52ch; }
@media (max-width: 860px) {
  .service-row, .service-row:nth-child(even) { grid-template-columns: 1fr; }
  .service-row:nth-child(even) img { order: 0; }
  .service-row > div, .service-row:nth-child(even) > div { padding: .5rem 1rem 1.25rem; }
}

.step-num { display: inline-grid; place-items: center; min-width: 2.4rem; height: 2.4rem; padding: 0 .5rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-family: var(--font-display); font-size: .9rem; font-weight: 700; margin-bottom: 1rem; }
.process-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.process-steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.75rem; }
.process-steps p { color: var(--ink-soft); margin: 0; }
.process-steps.is-compact { grid-template-columns: repeat(6, 1fr); gap: .75rem; }
.process-steps.is-compact li { padding: 1.25rem; }
.process-steps.is-compact h3 { font-size: 1.02rem; margin: 0; }
.section-dark .process-steps li { background: var(--dark-2); border-color: rgba(255, 255, 255, .07); }
.section-dark .step-num { background: rgba(224, 167, 124, .14); color: #e0a77c; }
@media (max-width: 1080px) { .process-steps.is-compact { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .process-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process-steps { grid-template-columns: 1fr; } .process-steps.is-compact { grid-template-columns: 1fr 1fr; } }

/* Contact ------------------------------------------------------------------ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.contact-card { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); min-width: 0; overflow-wrap: anywhere; }
.contact-card strong { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .25rem; }
a.contact-card:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.contact-card-wa { grid-column: 1 / -1; background: var(--wa); border-color: var(--wa); color: #fff; font-size: 1.2rem; font-weight: 600; align-items: center; padding: 1.5rem; }
.contact-card-wa strong { color: rgba(255, 255, 255, .8); }
.contact-card-wa:hover { background: var(--wa-dark); color: #fff !important; }
.contact-card-wa .icon-wa { width: 40px; height: 40px; }
.contact-card.is-wide { grid-column: 1 / -1; }
@media (max-width: 480px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-form-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-sm); }

.form { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.field { display: grid; gap: .4rem; }
.field > span { font-size: .85rem; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: .85rem 1rem; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; background: var(--surface); border-color: var(--ink); box-shadow: 0 0 0 4px rgba(176, 104, 58, .15); }
.field-error { color: #b23a2a; font-size: .82rem; }
.alert { padding: .9rem 1.1rem; border-radius: 12px; font-size: .92rem; }
.alert-error { background: #fbe6e1; color: #8a2b1d; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.map-wrap { padding: 0 var(--gutter) clamp(3rem, 6vw, 5rem); max-width: var(--container); margin: 0 auto; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; border-radius: var(--radius-lg); filter: grayscale(.4) contrast(1.05); display: block; }

/* CTA band + footer -------------------------------------------------------- */
.cta-band { padding: clamp(3rem, 6vw, 5rem) 0; }
.cta-band-inner {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  background: var(--accent) radial-gradient(120% 140% at 100% 0%, #c98556 0%, transparent 55%);
  color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem);
}
.cta-band-inner::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 280px; height: 280px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .08); pointer-events: none; }
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .85); max-width: 52ch; }
.cta-band .eyebrow { color: rgba(255, 255, 255, .85); }
.cta-band .btn-wa { background: #fff; color: var(--ink); position: relative; z-index: 1; }
.cta-band .btn-wa .icon-wa { color: var(--wa); }
.cta-band .btn-wa:hover { background: var(--ink); color: #fff; box-shadow: none; }
@media (max-width: 860px) { .cta-band-inner { flex-direction: column; align-items: flex-start; } }

.site-footer { background: var(--dark); color: #9d958b; font-size: .92rem; padding-top: clamp(3rem, 6vw, 4.5rem); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.footer-brand p { margin-top: 1.1rem; max-width: 36ch; }
.site-footer h3 { font-family: var(--font-body); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-weight: 600; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.social { display: flex; gap: 1rem; margin-top: 1rem; }
.footer-base { margin-top: 3rem; padding-top: 1.5rem; padding-bottom: 1.75rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 10px 30px -6px rgba(31, 157, 85, .6);
  transition: transform .25s var(--ease), background .2s;
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { background: var(--wa-dark); color: #fff; transform: scale(1.07); }
.wa-float .icon-wa { width: 28px; height: 28px; }
