/* =========================================================
   CANTERA CERAMICA — Design System
   Off-white / Silver, professional stone & surfaces brand.
   Display: Space Grotesk (architectural) + Fraunces italic (editorial accent)
   Body: Inter
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=Fraunces:ital,opsz,wght@0,9..144,400;1,9..144,400;1,9..144,500&display=swap');

:root{
  /* ---- Color tokens ---- */
  --bg:            #F6F4EF;   /* warm off-white */
  --bg-soft:       #EFECE5;
  --surface:       #FFFFFF;
  --surface-tint:  #FBFAF7;

  --silver-100:    #EAEBEC;
  --silver-200:    #DCDFE1;
  --silver-300:    #C7CBCE;
  --silver-400:    #A7ACB1;
  --silver-500:    #888E94;
  --silver-700:    #565B60;

  --ink:           #1B1D1F;   /* near-black charcoal, from wordmark */
  --ink-soft:      #40444A;
  --ink-faint:     #71767B;

  --rust:          #B24E2B;   /* wordmark terracotta — sparing accent only */
  --rust-dark:     #8E3C20;
  --rust-tint:     #F1E2D9;

  --line:          #DEDAD1;
  --line-strong:   #C9C4B8;

  --shadow-sm: 0 1px 2px rgba(27,29,31,0.06), 0 1px 1px rgba(27,29,31,0.04);
  --shadow-md: 0 8px 24px rgba(27,29,31,0.08), 0 2px 6px rgba(27,29,31,0.05);
  --shadow-lg: 0 24px 60px rgba(27,29,31,0.16), 0 8px 20px rgba(27,29,31,0.08);
  --shadow-silver: 0 18px 40px rgba(120,126,132,0.22);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --ease: cubic-bezier(.22,1,.36,1);
  --ease-soft: cubic-bezier(.4,0,.2,1);

  --container: 1280px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body{
  margin:0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor:pointer; }
input, textarea, select{ font-family: inherit; }

h1,h2,h3,h4,h5{
  font-family: 'Space Grotesk', sans-serif;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.accent-serif{
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--rust);
}

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

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

/* Selection */
::selection{ background: var(--rust); color:#fff; }

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--rust);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Scrollbar (webkit) */
::-webkit-scrollbar{ width: 10px; height: 10px; }
::-webkit-scrollbar-track{ background: var(--bg-soft); }
::-webkit-scrollbar-thumb{ background: var(--silver-300); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover{ background: var(--silver-400); }

/* =========================================================
   Utility / Layout
   ========================================================= */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:'Space Grotesk', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rust);
}
.eyebrow::before{
  content:"";
  width: 26px; height: 1px;
  background: var(--rust);
  display:inline-block;
}

.section{ padding: 108px 0; position:relative; }
.section--tight{ padding: 72px 0; }
.section--soft{ background: var(--bg-soft); }
.section--surface{ background: var(--surface); }
.section--ink{ background: var(--ink); color: var(--silver-100); }
.section--ink h2, .section--ink h3{ color: #fff; }

.section-head{
  max-width: 720px;
  margin-bottom: 52px;
}
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  margin-top: 14px;
}
.section-head p{
  margin-top: 18px;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 60ch;
}
.section-head.center p{ margin-left:auto; margin-right:auto; }

.divider{
  height:1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  border:0;
  margin: 0;
}

.pill-tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-family:'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .3s var(--ease-soft), color .3s var(--ease-soft), border-color .3s var(--ease-soft);
  white-space: nowrap;
}
.btn svg{ width:16px; height:16px; transition: transform .35s var(--ease); }
.btn:hover svg{ transform: translateX(4px); }
.btn:active{ transform: scale(0.97); }

.btn-primary{
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover{
  background: var(--rust);
  box-shadow: 0 16px 34px rgba(178,78,43,0.32);
  transform: translateY(-2px);
}

.btn-outline{
  background: transparent;
  color: var(--ink);
  border-color: var(--silver-400);
}
.btn-outline:hover{
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.btn-light{
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(6px);
}
.btn-light:hover{
  background: #fff;
  color: var(--ink);
  transform: translateY(-2px);
}

.btn-block{ width:100%; }
.btn-sm{ padding: 10px 20px; font-size: 13px; }

/* =========================================================
   3D FLOATING NAVBAR
   ========================================================= */
.nav-stage{
  position: fixed;
  top: 0; left:0; right:0;
  z-index: 999;
  display:flex;
  justify-content:center;
  padding-top: 20px;
  pointer-events:none;
  perspective: 1400px;
}
.nav-float{
  pointer-events:auto;
  width: min(1180px, calc(100% - 40px));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  padding: 10px 12px 10px 20px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--radius-pill);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 22px 45px -18px rgba(27,29,31,0.28),
    0 4px 10px rgba(27,29,31,0.06);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transform-style: preserve-3d;
  transform: rotateX(var(--tiltY, 0deg)) rotateY(var(--tiltX, 0deg)) translateZ(0);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), padding .4s var(--ease), background .4s var(--ease), width .4s var(--ease);
  will-change: transform;
}
.nav-stage.is-scrolled{ padding-top: 12px; }
.nav-stage.is-scrolled .nav-float{
  background: rgba(255,255,255,0.88);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 14px 30px -14px rgba(27,29,31,0.3),
    0 2px 8px rgba(27,29,31,0.08);
  width: min(1080px, calc(100% - 40px));
}

.nav-brand{
  display:flex;
  align-items:center;
  gap: 10px;
  transform: translateZ(30px);
}
.nav-brand img{ height: 40px; width:auto; max-width: 150px; object-fit:contain; }
.nav-brand .word{
  font-family:'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: 0.06em;
  line-height:1.1;
  color: var(--ink);
}
.nav-brand .word span{
  display:block;
  font-family:'Inter',sans-serif;
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--rust);
  margin-top: 2px;
}

.nav-links{
  display:flex;
  align-items:center;
  gap: 4px;
  transform: translateZ(20px);
}
.nav-links a{
  position:relative;
  display:inline-block;
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--radius-pill);
  transition: color .3s var(--ease-soft), background .3s var(--ease-soft);
}
.nav-links a:hover{ color: var(--ink); background: var(--silver-100); }
.nav-links a.is-active{ color: var(--ink); background: var(--surface); box-shadow: var(--shadow-sm); }

.nav-cta{ display:flex; align-items:center; gap:10px; transform: translateZ(35px); }
.nav-cta .btn{ padding: 11px 22px; font-size: 13px; }

.nav-burger{
  display:none;
  width: 44px; height: 44px;
  border-radius: 50%;
  align-items:center;
  justify-content:center;
  background: var(--ink);
  border:0;
  flex-direction:column;
  gap: 5px;
}
.nav-burger span{
  width: 18px; height: 2px; background:#fff; border-radius: 2px;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.nav-burger.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2){ opacity:0; }
.nav-burger.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-panel{
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(246,244,239,0.98);
  backdrop-filter: blur(14px);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap: 6px;
  padding: 100px 32px 40px;
  opacity:0;
  visibility:hidden;
  transform: translateY(-14px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
  overflow-y:auto;
}
.mobile-panel.is-open{ opacity:1; visibility:visible; transform: translateY(0); }
.mobile-panel a{
  font-family:'Space Grotesk', sans-serif;
  font-size: 30px;
  font-weight: 600;
  padding: 10px 0;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  width:100%;
}
.mobile-panel .mp-foot{
  margin-top: 24px;
  display:flex; flex-direction:column; gap:16px;
  flex-shrink:0;
}
.mobile-panel .mp-foot a{
  border:0; font-size:15px; font-family:'Inter',sans-serif; font-weight:500; color:var(--ink-soft); padding:0;
  display:flex; align-items:center; gap:10px;
}
.mobile-panel .mp-foot a svg{ width:18px; height:18px; flex-shrink:0; color: var(--rust); }
@media (max-height: 700px){
  .mobile-panel{ padding-top: 90px; justify-content:flex-start; }
  .mobile-panel a{ font-size: 24px; padding: 8px 0; }
}

@media (max-width: 980px){
  .nav-links, .nav-cta{ display:none; }
  .nav-burger{ display:flex; }
  .nav-float{ padding: 8px 10px 8px 16px; }
  .nav-brand img{ height:34px; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position:relative;
  min-height: 100vh;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  color:#fff;
  isolation:isolate;
}
.hero-bg{
  position:absolute; inset:-6% -2%;
  z-index:-2;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.hero::after{
  content:"";
  position:absolute; inset:0;
  z-index:-1;
  background:
    linear-gradient(180deg, rgba(20,20,20,0.35) 0%, rgba(18,18,18,0.28) 35%, rgba(14,14,14,0.72) 100%),
    linear-gradient(90deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.05) 55%);
}
.hero-inner{
  position:relative;
  width:100%;
  padding: 200px 0 96px;
}
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:'Space Grotesk',sans-serif;
  font-size:12.5px; font-weight:600; letter-spacing:.22em; text-transform:uppercase;
  color: #EFE3DA;
  background: rgba(255,255,255,0.1);
  border:1px solid rgba(255,255,255,0.25);
  padding: 8px 16px 8px 12px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}
.hero-eyebrow .dot{ width:6px;height:6px;border-radius:50%; background: var(--rust); box-shadow:0 0 0 4px rgba(178,78,43,0.35); }

.hero h1{
  color:#fff;
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1.02;
  margin-top: 22px;
  max-width: 16ch;
  letter-spacing: -0.02em;
}
.hero h1 em{
  font-family:'Fraunces', serif;
  font-style: italic;
  font-weight:400;
  color: #EFC9B4;
}
.hero p.lead{
  margin-top: 24px;
  font-size: 18px;
  max-width: 46ch;
  color: rgba(255,255,255,0.82);
}
.hero-actions{
  margin-top: 40px;
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}

.hero-slabs{
  position:absolute;
  right: 6%;
  top: 20%;
  width: 300px;
  display:none;
}
.hero-slabs .slab{
  position:absolute;
  width: 168px;
  height: 210px;
  border-radius: 14px;
  overflow:hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255,255,255,0.85);
  background-size: cover;
  background-position:center;
}
.hero-slabs .slab-1{ top:0; left:0; transform: rotate(-9deg); z-index:3; }
.hero-slabs .slab-2{ top: 70px; left: 120px; transform: rotate(7deg); z-index:2; }
.hero-slabs .slab-3{ top: 190px; left: 10px; transform: rotate(4deg); z-index:1; }

@media (min-width: 1180px){
  .hero-slabs{ display:block; }
}

.hero-scroll{
  position:absolute;
  bottom: 34px; left: 28px;
  display:flex; align-items:center; gap:12px;
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform:uppercase;
  font-family:'Space Grotesk',sans-serif;
}
.hero-scroll .line{
  width:1px; height: 34px;
  background: rgba(255,255,255,0.5);
  position:relative;
  overflow:hidden;
}
.hero-scroll .line::after{
  content:"";
  position:absolute; top:-40%; left:0; width:100%; height:40%;
  background: #fff;
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine{
  0%{ top:-40%; }
  60%{ top:100%; }
  100%{ top:100%; }
}

/* Stats strip under hero */
.stats-strip{
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position:relative;
  z-index:2;
}
.stats-grid{
  display:grid;
  grid-template-columns: repeat(4,1fr);
  padding: 40px 0;
}
.stats-grid .stat{
  text-align:center;
  padding: 0 18px;
  border-left: 1px solid var(--line);
}
.stats-grid .stat:first-child{ border-left:0; }
.stats-grid .stat .num{
  font-family:'Space Grotesk',sans-serif;
  font-size: clamp(26px,3vw,38px);
  font-weight:700;
  color: var(--ink);
}
.stats-grid .stat .num sup{ font-size: 0.5em; color: var(--rust); top:-0.6em; }
.stats-grid .stat .lbl{
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ink-faint);
  text-transform:uppercase;
  letter-spacing: .08em;
}
@media (max-width: 760px){
  .stats-grid{ grid-template-columns: repeat(2,1fr); row-gap: 28px; }
  .stats-grid .stat:nth-child(3){ border-left:0; }
}

/* Page header (non-home hero, shorter) */
.page-head{
  position:relative;
  min-height: 62vh;
  display:flex;
  align-items:flex-end;
  color:#fff;
  overflow:hidden;
  isolation:isolate;
}
.page-head .hero-bg{ inset:-6% -2%; }
.page-head::after{
  content:"";
  position:absolute; inset:0; z-index:-1;
  background: linear-gradient(180deg, rgba(15,15,15,0.42) 0%, rgba(12,12,12,0.78) 100%);
}
.page-head-inner{ padding: 190px 0 64px; position:relative; width:100%; }
.page-head h1{
  color:#fff;
  font-size: clamp(36px,5.4vw,64px);
  margin-top:16px;
  max-width: 20ch;
}
.page-head .crumbs{
  margin-top:18px;
  display:flex; gap:8px; align-items:center;
  font-size:13.5px; color: rgba(255,255,255,0.7);
}
.page-head .crumbs a:hover{ color:#fff; }

/* =========================================================
   SPLIT / FEATURE BLOCKS
   ========================================================= */
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items:center;
}
.split.reverse .split-media{ order:2; }
.split-media{ position:relative; }
.split-media img{
  border-radius: var(--radius-lg);
  width:100%;
  aspect-ratio: 4/4.6;
  object-fit:cover;
  box-shadow: var(--shadow-lg);
}
.split-media .float-card{
  position:absolute;
  bottom: -28px; left: -28px;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  display:flex; align-items:center; gap:14px;
  max-width: 240px;
}
.split-media .float-card .ic{
  width:44px;height:44px;border-radius:50%;
  background: var(--rust-tint);
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.split-media .float-card .ic svg{ width:20px;height:20px; color: var(--rust); }
.split-media .float-card .t{ font-size:13px; font-weight:600; color:var(--ink); line-height:1.3; }
.split-media .float-card .s{ font-size:11.5px; color:var(--ink-faint); }

.split-body h2{ font-size: clamp(28px,3.4vw,42px); line-height:1.14; }
.split-body p{ margin-top:18px; color:var(--ink-soft); font-size:16px; }
.split-body .feature-list{ margin-top:26px; display:flex; flex-direction:column; gap:14px; }
.split-body .feature-list li{
  display:flex; align-items:flex-start; gap:12px;
  font-size: 15px; color: var(--ink-soft);
}
.split-body .feature-list .chk{
  width:22px;height:22px;border-radius:50%;
  background: var(--ink);
  color:#fff;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0; margin-top:2px;
}
.split-body .feature-list .chk svg{ width:12px;height:12px; }

@media (max-width: 940px){
  .split{ grid-template-columns:1fr; gap: 60px; }
  .split.reverse .split-media{ order:0; }
  .split-media .float-card{ left:12px; bottom:-20px; }
}

/* =========================================================
   CATEGORY / PRODUCT CARDS
   ========================================================= */
.cat-grid{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.cat-card{
  position:relative;
  border-radius: var(--radius-md);
  overflow:hidden;
  aspect-ratio: 3/4.1;
  box-shadow: var(--shadow-md);
  transform-style: preserve-3d;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.cat-card img{
  width:100%;height:100%;object-fit:cover;
  transition: transform .8s var(--ease);
}
.cat-card::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(10,10,10,0.82) 100%);
}
.cat-card .cc-body{
  position:absolute; left:0; right:0; bottom:0;
  padding: 20px 18px;
  z-index:2;
  color:#fff;
}
.cat-card .cc-num{
  font-family:'Space Grotesk',sans-serif;
  font-size: 11px; letter-spacing:.14em; color: rgba(255,255,255,0.65);
}
.cat-card h3{
  color:#fff; font-size: 17.5px; margin-top:6px; line-height:1.25;
}
.cat-card .cc-arrow{
  position:absolute; top:16px; right:16px; z-index:2;
  width:36px;height:36px;border-radius:50%;
  background: rgba(255,255,255,0.16);
  border:1px solid rgba(255,255,255,0.4);
  display:flex;align-items:center;justify-content:center;
  backdrop-filter: blur(6px);
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.cat-card .cc-arrow svg{ width:15px;height:15px; color:#fff; }
.cat-card:hover{ box-shadow: var(--shadow-lg); }
.cat-card:hover img{ transform: scale(1.08); }
.cat-card:hover .cc-arrow{ background:#fff; transform: rotate(45deg); }
.cat-card:hover .cc-arrow svg{ color: var(--ink); }

@media (max-width: 1100px){ .cat-grid{ grid-template-columns: repeat(3,1fr);} }
@media (max-width: 700px){ .cat-grid{ grid-template-columns: repeat(2,1fr); gap:14px; } }

/* Featured slab strip */
.slab-strip{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns: 240px;
  gap: 20px;
  overflow-x:auto;
  padding: 8px 4px 26px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.slab-strip .slab-tile{
  scroll-snap-align:start;
  border-radius: var(--radius-md);
  overflow:hidden;
  position:relative;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-sm);
  transform-style:preserve-3d;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.slab-strip .slab-tile img{ width:100%;height:100%;object-fit:cover; }
.slab-strip .slab-tile .st-label{
  position:absolute; left:0; right:0; bottom:0;
  padding: 14px 16px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.7));
  color:#fff;
}
.slab-strip .slab-tile .st-label .n{ font-size:14px; font-weight:600; font-family:'Space Grotesk',sans-serif; }
.slab-strip .slab-tile .st-label .m{ font-size:11px; color:rgba(255,255,255,0.75); margin-top:2px; }
.slab-strip .slab-tile:hover{ box-shadow: var(--shadow-lg); }

/* Product grid (Products page) */
.filter-bar{
  display:flex; flex-wrap:wrap; gap:10px;
  margin-bottom: 44px;
}
.filter-btn{
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 13.5px; font-weight:500;
  transition: all .3s var(--ease-soft);
}
.filter-btn:hover{ border-color: var(--ink); color: var(--ink); }
.filter-btn.is-active{ background: var(--ink); border-color: var(--ink); color:#fff; }

.product-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px 22px;
}
.product-card{
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow:hidden;
  border: 1px solid var(--line);
  transform-style: preserve-3d;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
  opacity:0; transform: translateY(16px);
  animation: cardIn .6s var(--ease) forwards;
}
@keyframes cardIn{ to{ opacity:1; transform: translateY(0);} }
.product-card:hover{ box-shadow: var(--shadow-lg); border-color: transparent; }
.product-card .pc-img{
  position:relative;
  aspect-ratio: 1/1.08;
  overflow:hidden;
  cursor: zoom-in;
}
.product-card .pc-img img{ width:100%;height:100%;object-fit:cover; transition: transform .7s var(--ease); }
.product-card:hover .pc-img img{ transform: scale(1.06); }
.product-card .pc-img .pc-zoom{
  position:absolute; top:12px; right:12px;
  width:34px;height:34px;border-radius:50%;
  background: rgba(255,255,255,0.88);
  display:flex;align-items:center;justify-content:center;
  opacity:0; transform: translateY(6px);
  transition: all .3s var(--ease-soft);
}
.product-card:hover .pc-zoom{ opacity:1; transform:translateY(0); }
.product-card .pc-img .pc-zoom svg{ width:15px;height:15px; color:var(--ink); }
.product-card .pc-body{ padding: 16px 18px 18px; }
.product-card .pc-cat{ font-size:11px; letter-spacing:.1em; text-transform:uppercase; color: var(--rust); font-weight:600; }
.product-card h4{ font-size:16px; margin-top:6px; }
.product-card .pc-meta{ margin-top:10px; display:flex; gap:8px; flex-wrap:wrap; }
.product-card .pc-meta span{
  font-size:11px; padding:4px 10px; border-radius: var(--radius-pill);
  background: var(--bg-soft); color: var(--ink-faint); border:1px solid var(--line);
}

@media (max-width: 1100px){ .product-grid{ grid-template-columns: repeat(3,1fr);} }
@media (max-width: 760px){ .product-grid{ grid-template-columns: repeat(2,1fr); gap:16px;} }
@media (max-width: 480px){ .product-grid{ grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox{
  position:fixed; inset:0; z-index:1200;
  background: rgba(15,15,15,0.92);
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden;
  transition: opacity .35s var(--ease);
  padding: 40px 20px;
}
.lightbox.is-open{ opacity:1; visibility:visible; }
.lightbox-box{
  max-width: 880px; width:100%;
  display:grid; grid-template-columns: 1.1fr 1fr;
  background: var(--surface); border-radius: var(--radius-lg); overflow:hidden;
  transform: scale(.94); transition: transform .4s var(--ease);
}
.lightbox.is-open .lightbox-box{ transform:scale(1); }
.lightbox-img{ aspect-ratio: 1/1; overflow:hidden; }
.lightbox-img img{ width:100%;height:100%;object-fit:cover; }
.lightbox-info{ padding: 34px; display:flex; flex-direction:column; }
.lightbox-info .pc-cat{ font-size:11px; letter-spacing:.1em; text-transform:uppercase; color: var(--rust); font-weight:700; }
.lightbox-info h3{ margin-top:10px; font-size:26px; }
.lightbox-info .spec-list{ margin-top:22px; display:flex; flex-direction:column; gap:10px; }
.lightbox-info .spec-list div{ display:flex; justify-content:space-between; font-size:13.5px; padding-bottom:10px; border-bottom:1px dashed var(--line); color: var(--ink-soft); }
.lightbox-info .spec-list div b{ color: var(--ink); font-weight:600; }
.lightbox-info .btn{ margin-top:auto; padding-top:24px; }
.lightbox-close{
  position:absolute; top:26px; right:26px;
  width:44px;height:44px;border-radius:50%;
  background: rgba(255,255,255,0.14); border:1px solid rgba(255,255,255,0.3);
  display:flex;align-items:center;justify-content:center;
  color:#fff;
}
.lightbox-close svg{ width:18px;height:18px; }
@media (max-width: 700px){
  .lightbox-box{ grid-template-columns:1fr; max-height:88vh; overflow-y:auto; }
}

/* =========================================================
   WHY / SERVICES / ICON BLOCKS
   ========================================================= */
.icon-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.icon-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  transform-style: preserve-3d;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.icon-card:hover{ box-shadow: var(--shadow-lg); border-color:transparent; }
.icon-card .ic-num{ font-family:'Space Grotesk',sans-serif; font-size:12px; color: var(--silver-400); letter-spacing:.1em; }
.icon-card .ic-wrap{
  width:52px;height:52px;border-radius:14px;
  background: var(--ink);
  display:flex;align-items:center;justify-content:center;
  margin: 18px 0 22px;
}
.icon-card .ic-wrap svg{ width:24px;height:24px; color: var(--rust-tint); }
.icon-card h3{ font-size:18.5px; }
.icon-card p{ margin-top:12px; font-size:14.5px; color: var(--ink-soft); }

@media (max-width: 900px){ .icon-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .icon-grid{ grid-template-columns: 1fr; } }

/* Strength / acronym strip (About) */
.strength-row{
  display:grid;
  grid-template-columns: repeat(7,1fr);
  gap: 14px;
}
.strength-item{
  background: var(--surface);
  border:1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 16px 20px;
  text-align:center;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s;
}
.strength-item:hover{ transform: translateY(-8px); box-shadow: var(--shadow-lg); background: var(--ink); }
.strength-item:hover .letter{ color: var(--rust-tint); }
.strength-item:hover .word{ color: rgba(255,255,255,0.75); }
.strength-item .letter{
  font-family:'Fraunces',serif; font-style:italic; font-size:38px; color: var(--rust); transition: color .4s;
}
.strength-item .word{
  margin-top:10px; font-size:12.5px; color: var(--ink-soft); line-height:1.4; transition: color .4s;
}
@media (max-width: 1000px){ .strength-row{ grid-template-columns: repeat(4,1fr); row-gap:16px; } }
@media (max-width: 560px){ .strength-row{ grid-template-columns: repeat(2,1fr); } }

/* Timeline / process (Catalogue - tech specs) */
.spec-table{
  width:100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow:hidden;
  box-shadow: var(--shadow-sm);
}
.spec-table th, .spec-table td{
  text-align:left;
  padding: 16px 22px;
  font-size: 14.5px;
  border-bottom: 1px solid var(--line);
}
.spec-table th{
  background: var(--ink);
  color:#fff;
  font-family:'Space Grotesk',sans-serif;
  font-weight:600;
  font-size:12.5px;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.spec-table tr:last-child td{ border-bottom:0; }
.spec-table tr:nth-child(even) td{ background: var(--bg-soft); }
.spec-table td.mono{ font-family:'Space Grotesk',sans-serif; color: var(--ink-soft); }

.pack-grid{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
.pack-card{
  background: var(--surface);
  border:1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
}
.pack-card .pk-icon{
  width:44px;height:44px;border-radius:12px;background:var(--rust-tint);
  display:flex;align-items:center;justify-content:center; margin-bottom:16px;
}
.pack-card .pk-icon svg{ width:20px;height:20px;color:var(--rust); }
.pack-card h4{ font-size:16px; }
.pack-card p{ margin-top:8px; font-size:14px; color:var(--ink-soft); }
@media (max-width: 800px){ .pack-grid{ grid-template-columns: 1fr; } }

/* =========================================================
   TESTIMONIAL / QUOTE
   ========================================================= */
.quote-block{
  max-width: 780px; margin: 0 auto; text-align:center;
}
.quote-block .qmark{ font-family:'Fraunces',serif; font-size:70px; color: var(--rust); line-height:1; }
.quote-block p{
  font-family:'Fraunces',serif; font-style:italic;
  font-size: clamp(21px,2.6vw,30px);
  line-height:1.5; color: var(--ink);
}
.quote-block .who{ margin-top:26px; font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:14px; }
.quote-block .who span{ display:block; font-weight:400; color:var(--ink-faint); font-size:12.5px; margin-top:2px; font-family:'Inter',sans-serif; }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band{
  position:relative;
  border-radius: var(--radius-lg);
  overflow:hidden;
  padding: 74px 60px;
  color:#fff;
  isolation:isolate;
}
.cta-band .cb-bg{ position:absolute; inset:0; z-index:-2; background-size:cover; background-position:center; }
.cta-band::after{ content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(120deg, rgba(15,15,15,0.9), rgba(30,20,15,0.55)); }
.cta-band .cb-inner{ max-width: 620px; }
.cta-band .eyebrow{ color: #EFC9B4; }
.cta-band .eyebrow::before{ background:#EFC9B4; }
.cta-band h2{ color:#fff; margin-top:14px; font-size: clamp(28px,3.6vw,42px); }
.cta-band p{ margin-top:16px; color: rgba(255,255,255,0.8); font-size:16px; max-width:52ch; }
.cta-band .cb-actions{ margin-top:32px; display:flex; gap:16px; flex-wrap:wrap; }

/* =========================================================
   GALLERY (masonry-ish)
   ========================================================= */
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 130px;
  gap: 16px;
}
.gallery-grid .g-item{
  border-radius: var(--radius-md);
  overflow:hidden;
  position:relative;
}
.gallery-grid .g-item img{ width:100%;height:100%;object-fit:cover; transition: transform .8s var(--ease); }
.gallery-grid .g-item:hover img{ transform: scale(1.08); }
.gallery-grid .g-item.tall{ grid-row: span 2; }
.gallery-grid .g-item.wide{ grid-column: span 2; }
@media (max-width: 900px){
  .gallery-grid{ grid-template-columns: repeat(2,1fr); grid-auto-rows:120px; }
  .gallery-grid .g-item.wide{ grid-column: span 2; }
}
@media (max-width: 560px){
  .gallery-grid{ grid-template-columns: 1fr 1fr; grid-auto-rows:110px; }
}

/* =========================================================
   FORM (Contact)
   ========================================================= */
.contact-wrap{
  display:grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow:hidden;
  box-shadow: var(--shadow-lg);
}
.contact-info{
  background: var(--ink);
  color:#fff;
  padding: 56px 44px;
  position:relative;
  overflow:hidden;
}
.contact-info::before{
  content:"";
  position:absolute; right:-60px; top:-60px; width:220px;height:220px;border-radius:50%;
  background: radial-gradient(circle, rgba(178,78,43,0.35), transparent 70%);
}
.contact-info h3{ color:#fff; font-size:24px; }
.contact-info p.lead{ margin-top:12px; color: rgba(255,255,255,0.68); font-size:14.5px; max-width:38ch; }
.contact-info .ci-list{ margin-top:36px; display:flex; flex-direction:column; gap:24px; }
.contact-info .ci-list .ci-row{ display:flex; gap:16px; align-items:flex-start; }
.contact-info .ci-list .ic{
  width:42px;height:42px;border-radius:12px;
  background: rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.14);
  display:flex;align-items:center;justify-content:center; flex-shrink:0;
}
.contact-info .ci-list .ic svg{ width:18px;height:18px; color: var(--rust-tint); }
.contact-info .ci-list .lbl{ font-size:11.5px; text-transform:uppercase; letter-spacing:.1em; color: rgba(255,255,255,0.5); }
.contact-info .ci-list .val{ margin-top:4px; font-size:15px; font-weight:500; }
.contact-info .ci-social{ margin-top:40px; display:flex; gap:10px; }
.contact-info .ci-social a{
  width:38px;height:38px;border-radius:50%;
  background: rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.16);
  display:flex;align-items:center;justify-content:center;
  transition: background .3s, transform .3s;
}
.contact-info .ci-social a:hover{ background: var(--rust); transform: translateY(-3px); }
.contact-info .ci-social svg{ width:16px;height:16px; }

.contact-form{
  background: var(--surface);
  padding: 56px 48px;
}
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap:18px; }
.field{ margin-bottom: 18px; }
.field label{
  display:block; font-size:12.5px; font-weight:600; letter-spacing:.04em;
  text-transform:uppercase; color: var(--ink-faint); margin-bottom:8px;
}
.field input, .field textarea{
  width:100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg-soft);
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.field input:focus, .field textarea:focus{
  outline:none;
  border-color: var(--rust);
  background:#fff;
  box-shadow: 0 0 0 4px rgba(178,78,43,0.12);
}
.field textarea{ resize:vertical; min-height: 120px; }
.form-note{ margin-top:14px; font-size:12.5px; color: var(--ink-faint); }
.form-status{
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  display:none;
}
.form-status.show{ display:block; }
.form-status.ok{ background:#EAF4EC; color:#2C6B3F; border:1px solid #C7E3CD; }
.form-status.err{ background:#FBEAE7; color:#A13B2A; border:1px solid #F1C7BE; }

@media (max-width: 960px){
  .contact-wrap{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
}

/* Map */
.map-frame{
  border-radius: var(--radius-lg);
  overflow:hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.map-frame iframe{ width:100%; height: 380px; border:0; display:block; filter: grayscale(0.15) contrast(1.02); }

/* =========================================================
   FAQ Accordion
   ========================================================= */
.faq-item{
  border-bottom: 1px solid var(--line);
}
.faq-q{
  width:100%;
  display:flex; align-items:center; justify-content:space-between;
  padding: 24px 4px;
  text-align:left;
  background:none; border:0;
  font-family:'Space Grotesk',sans-serif;
  font-size: 17px; font-weight:600; color: var(--ink);
}
.faq-q .plus{
  width:30px;height:30px;border-radius:50%;
  border:1px solid var(--line-strong);
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0; margin-left:20px;
  transition: transform .4s var(--ease), background .3s;
  position:relative;
}
.faq-q .plus svg{ width:13px;height:13px; }
.faq-item.is-open .faq-q .plus{ transform: rotate(135deg); background:var(--ink); color:#fff; border-color:var(--ink); }
.faq-a{
  max-height:0; overflow:hidden;
  transition: max-height .5s var(--ease);
}
.faq-a-inner{ padding: 0 4px 24px; color: var(--ink-soft); font-size:14.5px; max-width: 68ch; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{
  background: var(--ink);
  color: rgba(255,255,255,0.72);
  padding-top: 76px;
  position:relative;
}
.footer-top{
  display:grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand-chip{
  display:inline-flex; align-items:center; gap:12px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 14px 20px 14px 14px;
  box-shadow: var(--shadow-md);
}
.footer-brand-chip img{ height:42px; width:auto; max-width:150px; object-fit:contain; }
.footer-brand-chip .word{ font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:14.5px; color:var(--ink); letter-spacing:.04em; }
.footer-brand-chip .word span{ display:block; font-family:'Inter',sans-serif; font-weight:500; font-size:9px; letter-spacing:.2em; color:var(--rust); margin-top:2px; }
.footer-top p.tag{ margin-top:22px; font-size:14.5px; line-height:1.7; max-width:34ch; color: rgba(255,255,255,0.55); }
.footer-social{ margin-top:24px; display:flex; gap:10px; }
.footer-social a{
  width:38px;height:38px;border-radius:50%;
  background: rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.14);
  display:flex;align-items:center;justify-content:center;
  transition: background .3s, transform .3s;
}
.footer-social a:hover{ background: var(--rust); transform: translateY(-3px); }
.footer-social svg{ width:15px;height:15px; }

.footer-col h5{
  font-family:'Space Grotesk',sans-serif;
  color:#fff; font-size:13px; letter-spacing:.1em; text-transform:uppercase;
  margin-bottom: 22px;
}
.footer-col ul{ display:flex; flex-direction:column; gap:13px; }
.footer-col a{ font-size:14.5px; color: rgba(255,255,255,0.6); transition: color .3s, padding-left .3s; }
.footer-col a:hover{ color:#fff; padding-left:4px; }

.footer-col.contact-col .row{ display:flex; gap:12px; margin-bottom:16px; font-size:14px; color: rgba(255,255,255,0.62); }
.footer-col.contact-col .row svg{ width:17px;height:17px; flex-shrink:0; margin-top:2px; color: var(--rust-tint); }

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 26px 0;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a:hover{ color:#fff; }

@media (max-width: 980px){
  .footer-top{ grid-template-columns: 1fr 1fr; row-gap:40px; }
}
@media (max-width: 600px){
  .footer-top{ grid-template-columns: 1fr; }
}

/* =========================================================
   REVEAL / SCROLL ANIMATIONS
   ========================================================= */
.reveal{
  opacity:0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in-view{ opacity:1; transform: translateY(0); }
.reveal-scale{ opacity:0; transform: scale(.92); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-scale.in-view{ opacity:1; transform:scale(1); }

.stagger > *{ transition-delay: calc(var(--i, 0) * 90ms); }

/* Marquee */
.marquee{
  overflow:hidden;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background: var(--surface);
  padding: 22px 0;
}
.marquee-track{
  display:flex; gap:56px; width:max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span{
  font-family:'Space Grotesk',sans-serif;
  font-size:15px; font-weight:500; color: var(--silver-500);
  display:flex; align-items:center; gap:14px;
  white-space:nowrap;
  text-transform:uppercase; letter-spacing:.08em;
}
.marquee-track span::after{ content:"✦"; color: var(--rust); font-size:12px; }
@keyframes marquee{ from{ transform: translateX(0);} to{ transform: translateX(-50%);} }

/* Back to top */
.to-top{
  position:fixed; right:24px; bottom:24px; z-index: 500;
  width:50px;height:50px;border-radius:50%;
  background: var(--ink); color:#fff;
  display:flex;align-items:center;justify-content:center;
  box-shadow: var(--shadow-lg);
  opacity:0; visibility:hidden; transform: translateY(12px);
  transition: all .4s var(--ease);
}
.to-top.show{ opacity:1; visibility:visible; transform:translateY(0); }
.to-top:hover{ background: var(--rust); }
.to-top svg{ width:18px;height:18px; }

/* Page loader-ish top progress could be skipped for simplicity */

/* Misc responsive helpers */
@media (max-width: 940px){
  .split-media img{ aspect-ratio: 4/3.6; }
}
@media (max-width: 640px){
  .section{ padding: 76px 0; }
  .section--tight{ padding: 56px 0; }
  .hero-inner{ padding-top: 168px; }
  .page-head-inner{ padding-top:150px; }
}


/* =========================================================
   MOBILE RESPONSIVE HARDENING
   Keeps the existing content and section order intact while
   making every component fit comfortably on small screens.
   ========================================================= */

@media (max-width: 640px){
  html, body{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
  }

  /* Give the page a little more usable width on phones. */
  .container{
    width:100%;
    max-width:100%;
    padding-left:18px;
    padding-right:18px;
  }

  /* Floating navigation */
  .nav-stage{
    padding-top:12px;
    padding-left:12px;
    padding-right:12px;
  }
  .nav-stage.is-scrolled{ padding-top:8px; }
  .nav-float,
  .nav-stage.is-scrolled .nav-float{
    width:100%;
    max-width:none;
    min-width:0;
    gap:10px;
    padding:7px 8px 7px 12px;
  }
  .nav-brand{
    min-width:0;
    flex:1 1 auto;
    gap:8px;
    overflow:hidden;
  }
  .nav-brand img{
    height:32px;
    width:auto;
    max-width:120px;
    flex:0 0 auto;
    object-fit:contain;
  }
  .nav-brand .word{
    min-width:0;
    font-size:14px;
    letter-spacing:.045em;
    white-space:nowrap;
  }
  .nav-brand .word span{
    font-size:8.5px;
  }
  .nav-burger{
    width:42px;
    height:42px;
    flex:0 0 42px;
  }

  .mobile-panel{
    padding:92px 24px 32px;
  }

  /* Hero / page headers */
  .hero-inner{
    padding-top:150px;
    padding-bottom:70px;
  }
  .hero h1{
    font-size:clamp(38px,11vw,56px);
    max-width:100%;
    overflow-wrap:anywhere;
  }
  .hero p.lead{
    font-size:16px;
    max-width:100%;
  }
  .hero-actions,
  .cta-band .cb-actions{
    width:100%;
    gap:10px;
  }
  .hero-actions .btn,
  .cta-band .cb-actions .btn{
    width:100%;
  }
  .hero-scroll{
    display:none;
  }

  .page-head-inner{
    padding-top:145px;
    padding-bottom:52px;
  }
  .page-head h1{
    font-size:clamp(34px,10vw,52px);
    max-width:100%;
    overflow-wrap:anywhere;
  }
  .page-head .crumbs{
    flex-wrap:wrap;
    row-gap:4px;
  }

  /* Section spacing */
  .section{
    padding:64px 0;
  }
  .section--tight{
    padding:48px 0;
  }
  .section-head{
    margin-bottom:34px;
    max-width:100%;
  }
  .section-head h2{
    font-size:clamp(28px,8.5vw,40px);
  }
  .section-head p{
    font-size:15.5px;
    max-width:100%;
  }

  /* Prevent grid children from imposing their desktop width. */
  .split,
  .cat-grid,
  .product-grid,
  .icon-grid,
  .strength-row,
  .pack-grid,
  .gallery-grid,
  .contact-wrap,
  .footer-top{
    width:100%;
    min-width:0;
  }
  .split > *,
  .cat-grid > *,
  .product-grid > *,
  .icon-grid > *,
  .strength-row > *,
  .pack-grid > *,
  .gallery-grid > *,
  .contact-wrap > *,
  .footer-top > *{
    min-width:0;
  }

  /* Split feature blocks */
  .split{
    grid-template-columns:1fr;
    gap:44px;
  }
  .split.reverse .split-media{
    order:0;
  }
  .split-media{
    width:100%;
  }
  .split-media img{
    width:100%;
    aspect-ratio:4/3.5;
  }
  .split-media .float-card{
    left:10px;
    bottom:-18px;
    max-width:calc(100% - 20px);
    padding:14px 16px;
    gap:10px;
  }

  /* Home stats */
  .stats-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    padding:30px 0;
  }
  .stats-grid .stat{
    padding:0 10px;
  }
  .stats-grid .stat .lbl{
    font-size:10.5px;
    line-height:1.35;
  }

  /* Category cards */
  .cat-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }
  .cat-card .cc-body{
    padding:16px 14px;
  }
  .cat-card h3{
    font-size:15px;
  }
  .cat-card .cc-arrow{
    top:10px;
    right:10px;
    width:32px;
    height:32px;
  }

  /* Horizontal slab strip remains horizontal by design. */
  .slab-strip{
    grid-auto-columns:minmax(190px,68vw);
    gap:14px;
    padding-left:2px;
    padding-right:2px;
  }

  /* Product cards */
  .filter-bar{
    gap:8px;
    margin-bottom:30px;
  }
  .filter-btn{
    padding:9px 15px;
    font-size:12.5px;
  }
  .product-grid{
    grid-template-columns:1fr;
    gap:16px;
  }
  .product-card .pc-body{
    padding:14px 16px 16px;
  }

  /* Lightbox */
  .lightbox{
    padding:70px 12px 18px;
  }
  .lightbox-box{
    width:100%;
    max-width:100%;
    border-radius:20px;
  }
  .lightbox-info{
    padding:24px 20px;
  }
  .lightbox-close{
    top:14px;
    right:14px;
  }

  /* Cards / icon sections */
  .icon-grid{
    grid-template-columns:1fr;
    gap:16px;
  }
  .icon-card{
    padding:26px 22px;
  }

  .strength-row{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
  }
  .strength-item{
    padding:20px 12px 16px;
  }
  .strength-item .letter{
    font-size:32px;
  }

  .pack-grid{
    grid-template-columns:1fr;
    gap:14px;
  }
  .pack-card{
    padding:22px;
  }

  /* Technical table: preserve the table layout, but allow it to scroll
     instead of forcing the entire page wider. */
  .spec-table{
    display:block;
    width:100%;
    max-width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }
  .spec-table th,
  .spec-table td{
    white-space:nowrap;
    padding:13px 16px;
    font-size:13px;
  }

  /* CTA */
  .cta-band{
    padding:52px 24px;
    border-radius:22px;
  }
  .cta-band .cb-inner{
    max-width:100%;
  }
  .cta-band h2{
    font-size:clamp(28px,8vw,38px);
  }

  /* Gallery */
  .gallery-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    grid-auto-rows:100px;
    gap:10px;
  }

  /* Contact */
  .contact-wrap{
    grid-template-columns:1fr;
    border-radius:22px;
  }
  .contact-info{
    padding:38px 24px;
  }
  .contact-form{
    padding:38px 24px;
  }
  .form-row{
    grid-template-columns:1fr;
    gap:0;
  }
  .contact-info .ci-row,
  .contact-info .ci-list .ci-row{
    min-width:0;
  }
  .contact-info .ci-list .val{
    overflow-wrap:anywhere;
  }

  .map-frame{
    border-radius:20px;
  }
  .map-frame iframe{
    height:320px;
  }

  /* FAQ text and controls */
  .faq-q{
    padding:20px 2px;
    font-size:15.5px;
    gap:12px;
  }
  .faq-q .plus{
    margin-left:8px;
    width:28px;
    height:28px;
  }
  .faq-a-inner{
    padding-left:2px;
    padding-right:2px;
  }

  /* Footer */
  .site-footer{
    padding-top:56px;
  }
  .footer-top{
    grid-template-columns:1fr;
    gap:32px;
    padding-bottom:40px;
  }
  .footer-brand-chip{
    max-width:100%;
  }
  .footer-top p.tag{
    max-width:100%;
  }

  .to-top{
    right:14px;
    bottom:14px;
    width:46px;
    height:46px;
  }
}

/* Very narrow phones */
@media (max-width: 380px){
  .container{
    padding-left:15px;
    padding-right:15px;
  }
  .nav-stage{
    padding-left:8px;
    padding-right:8px;
  }
  .nav-float{
    padding-left:10px;
  }
  .nav-brand .word{
    font-size:13px;
  }
  .hero h1{
    font-size:36px;
  }
  .hero-inner{
    padding-top:138px;
  }
  .cat-grid{
    gap:10px;
  }
  .cat-card h3{
    font-size:14px;
  }
  .cta-band,
  .contact-info,
  .contact-form{
    padding-left:18px;
    padding-right:18px;
  }
}

/* Landscape phones / small tablets: keep the same section layouts,
   but prevent desktop spacing from creating cramped content. */
@media (min-width: 641px) and (max-width: 900px){
  .container{
    padding-left:24px;
    padding-right:24px;
  }
  .cta-band{
    padding-left:40px;
    padding-right:40px;
  }
  .contact-info{
    padding-left:32px;
    padding-right:32px;
  }
  .contact-form{
    padding-left:32px;
    padding-right:32px;
  }
}
