@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── DESIGN TOKENS ─────────────────────────────── */
:root {
  /* Core palette – clean & punchy */
  --white:     #ffffff;
  --off-white: #f7f5f2;
  --stone-50:  #f4f1ed;
  --stone-100: #e8e3db;
  --stone-200: #d0c9bc;
  --stone-600: #7c7163;
  --stone-800: #3d3730;
  --ink:       #1a1714;

  /* Pop accents */
  --amber:     #e8820c;
  --amber-lt:  #fef3e2;
  --amber-mid: #f9a832;
  --teal:      #0d7c6e;
  --teal-lt:   #e0f5f2;
  --terracotta:#c94f2a;
  --terra-lt:  #fdf0ec;

  /* Spacing */
  --section-gap: 110px;

  /* Radii */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(26,23,20,.07);
  --shadow-md: 0 6px 24px rgba(26,23,20,.10);
  --shadow-lg: 0 16px 48px rgba(26,23,20,.13);

  /* Type */
  --font-serif: 'DM Serif Display', serif;
  --font-sans:  'Inter', sans-serif;

  /* Transitions */
  --ease: cubic-bezier(.22,1,.36,1);
  --t:    0.35s;
}

/* ─── RESET ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color var(--t) var(--ease); }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea {
  font-family: inherit; font-size: inherit;
  background: none; border: none; outline: none; color: inherit;
}

/* ─── SCROLLBAR ──────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--stone-50); }
::-webkit-scrollbar-thumb { background: var(--stone-200); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--amber); }

/* ─── TYPOGRAPHY ─────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.15;
  color: var(--ink);
}
h1 { font-size: clamp(2.8rem, 5.5vw, 5rem); }
h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: 1.2rem; font-family: var(--font-sans); font-weight: 600; }
p  { color: var(--stone-600); font-size: 1rem; font-weight: 400; }

/* ─── LAYOUT ─────────────────────────────────────── */
.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}
.section { padding: var(--section-gap) 0; }

/* ─── PILL LABEL ─────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pill-amber { background: var(--amber-lt); color: var(--amber); }
.pill-teal  { background: var(--teal-lt);  color: var(--teal);  }
.pill-terra { background: var(--terra-lt); color: var(--terracotta); }

/* "Our Work" real project badge */
.pill-our-work,
[class*="pill-amber"]:has(svg),
.catalog-type-tag.pill-amber {
  background: var(--amber);
  color: var(--white);
  font-weight: 800;
}


/* ─── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: .04em;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: all var(--t) var(--ease);
}
.btn-primary {
  background: var(--amber);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(232,130,12,.3);
}
.btn-primary:hover {
  background: #cf720a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,130,12,.4);
}
.btn-outline {
  border: 2px solid var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}
.hero-actions .btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero-actions .btn-outline:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.15);
}
.btn-ghost {
  color: var(--teal);
  font-weight: 600;
  padding: 0;
  background: none;
  gap: 4px;
}
.btn-ghost:hover { gap: 10px; }

/* ─── HEADER ─────────────────────────────────────── */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 900;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stone-100);
  transition: box-shadow var(--t) var(--ease);
}
.header.scrolled { box-shadow: var(--shadow-md); }

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 38px; height: 38px;
  background: var(--ink);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  color: var(--amber);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  line-height: 1;
}
.logo-name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-name span:first-child {
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink);
}
.logo-name span:last-child {
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--stone-600);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--amber);
  border-radius: 99px;
  transition: width var(--t) var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--ink); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 99px;
  transition: all var(--t) var(--ease);
}

/* ─── HERO ───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 70px;
  overflow: hidden;
  background: var(--ink);
}
.hero-slideshow {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
}
.hero-slideshow .slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slideshow .slide.active {
  opacity: 1;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(14,15,16,0.92) 0%, rgba(14,15,16,0.65) 50%, rgba(14,15,16,0.85) 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
}
.hero-left {
  max-width: 680px;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--amber);
  border-radius: 99px;
}
.hero h1 {
  margin-bottom: 24px;
  max-width: 620px;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.hero h1 em {
  font-style: italic;
  color: var(--amber);
}
.hero p.lead {
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-img-badge {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 18px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 230px;
}
.hero-slideshow-badge {
  position: absolute;
  bottom: 40px;
  right: 60px;
  z-index: 4;
}
.hero-badge-icon {
  width: 44px; height: 44px;
  background: var(--amber-lt);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--amber);
}
.hero-badge-text p:first-child {
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink);
  margin-bottom: 2px;
}
.hero-badge-text p:last-child {
  font-size: .75rem;
  color: var(--stone-600);
}

/* Stats bar */
.stats-bar {
  background: var(--ink);
  padding: 28px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 0 20px;
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255,255,255,.15);
}
.stat-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--amber);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

/* ─── WHY STONE ──────────────────────────────────── */
.why {
  background: var(--stone-50);
}
.why-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 70px;
}
.why-header-right { display: flex; align-items: flex-end; }
.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 36px 30px;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.why-card-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 20px;
  color: var(--stone-100);
}
.why-card h4 { margin-bottom: 10px; color: var(--ink); }
.why-card p { font-size: .92rem; line-height: 1.65; }

/* ─── CATALOG ────────────────────────────────────── */
.catalog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 24px;
}
.catalog-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  border: 1.5px solid var(--stone-200);
  color: var(--stone-600);
  cursor: pointer;
  transition: all var(--t) var(--ease);
  background: var(--white);
}
.filter-btn:hover { border-color: var(--amber); color: var(--amber); }
.filter-btn.active {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--white);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 28px;
}
.catalog-item {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1.5px solid var(--stone-100);
  transition: all var(--t) var(--ease);
  cursor: pointer;
}
.catalog-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.catalog-img-wrap {
  height: 240px;
  overflow: hidden;
  position: relative;
}
.catalog-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), filter .6s var(--ease);
  filter: contrast(1.08) saturate(1.12);
  image-rendering: -webkit-optimize-contrast;
}
.catalog-item:hover .catalog-img {
  transform: scale(1.06);
  filter: contrast(1.12) saturate(1.18);
}
.catalog-type-tag {
  position: absolute;
  top: 14px; left: 14px;
}
.catalog-body { padding: 24px; }
.catalog-body h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}
.catalog-body > p { font-size: .88rem; margin-bottom: 18px; }
.catalog-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--stone-100);
}
.catalog-spec-item { display: flex; flex-direction: column; gap: 2px; }
.spec-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone-200);
}
.spec-value { font-size: .82rem; font-weight: 600; color: var(--ink); }

/* ─── SOURCING / FEATURE SECTION ─────────────────── */
.sourcing {
  background: var(--ink);
  overflow: hidden;
}
.sourcing-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
}
.sourcing-img-side {
  position: relative;
  overflow: hidden;
}
.sourcing-img-side img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.08) saturate(1.1);
  image-rendering: -webkit-optimize-contrast;
}
.sourcing-img-side::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(26,23,20,.3), transparent);
}
.sourcing-text-side {
  padding: 80px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sourcing-text-side .pill { margin-bottom: 30px; }
.sourcing-text-side h2 { color: var(--white); margin-bottom: 20px; }
.sourcing-text-side p { color: rgba(255,255,255,.65); margin-bottom: 16px; line-height: 1.75; }

.sourcing-points {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 36px;
}
.sourcing-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.sourcing-point-icon {
  width: 36px; height: 36px;
  background: rgba(232,130,12,.15);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--amber);
  margin-top: 2px;
}
.sourcing-point h4 { color: var(--white); font-size: .92rem; margin-bottom: 3px; }
.sourcing-point p { font-size: .85rem; color: rgba(255,255,255,.55); margin: 0; }

/* ─── VISUALIZER ─────────────────────────────────── */
.visualizer-section { background: var(--stone-50); }
.visualizer-wrap {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.visualizer-canvas {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.facade-base {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.22s ease;
  filter: contrast(1.1) saturate(1.15);
  image-rendering: -webkit-optimize-contrast;
}
.facade-overlay {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: multiply;
  background-size: cover;
  background-position: center;
  transition: opacity .5s var(--ease);
}
.visualizer-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vis-panel-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.vis-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1.5px solid var(--stone-100);
  cursor: pointer;
  transition: all var(--t) var(--ease);
}
.vis-option:hover { border-color: var(--amber); }
.vis-option.active { border-color: var(--amber); background: var(--amber-lt); }
.vis-thumb {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border: 1px solid var(--stone-100);
}
.vis-text h4 { font-size: .88rem; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.vis-text p  { font-size: .75rem; color: var(--stone-600); margin: 0; }
.vis-desc-box {
  margin-top: 16px;
  padding: 18px;
  background: var(--white);
  border-radius: var(--r-md);
  border: 1.5px solid var(--stone-100);
}
.vis-desc-box h4 { font-size: .9rem; font-weight: 700; margin-bottom: 6px; }
.vis-desc-box p  { font-size: .82rem; margin: 0; }

/* ─── CALCULATOR ─────────────────────────────────── */
.calculator-section { background: var(--white); }
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.calc-form-side h2 { margin-bottom: 8px; }
.calc-form-side > p { margin-bottom: 36px; }
.form-fields { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone-600);
}
.field input,
.field select {
  background: var(--stone-50);
  border: 1.5px solid var(--stone-100);
  padding: 13px 16px;
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: .95rem;
  transition: border-color var(--t) var(--ease);
  width: 100%;
}
.field input:focus,
.field select:focus {
  border-color: var(--amber);
  background: var(--white);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237c7163' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 14px) center;
  padding-right: 40px;
  cursor: pointer;
}

.calc-results-side {
  position: sticky;
  top: 90px;
}
.results-card {
  background: var(--ink);
  border-radius: var(--r-xl);
  padding: 40px;
  color: var(--white);
}
.results-card h4 {
  color: rgba(255,255,255,.6);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
.result-box {
  background: rgba(255,255,255,.07);
  border-radius: var(--r-md);
  padding: 18px;
}
.result-box.highlight { background: var(--amber); }
.result-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--white);
  display: block;
  margin-bottom: 6px;
}
.result-lbl {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.result-box.highlight .result-lbl { color: rgba(255,255,255,.8); }
.calc-note {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ─── CONTACT ────────────────────────────────────── */
.contact-section { background: var(--stone-50); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { margin-bottom: 36px; }
.contact-items { display: flex; flex-direction: column; gap: 22px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-item-icon {
  width: 42px; height: 42px;
  background: var(--white);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--amber);
  box-shadow: var(--shadow-sm);
}
.contact-item-text { display: flex; flex-direction: column; gap: 2px; }
.contact-item-text span:first-child {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone-600);
}
.contact-item-text span:last-child { font-size: .95rem; font-weight: 600; color: var(--ink); }
.contact-item-text a { color: var(--amber); }

.contact-form-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.contact-form-card h4 { font-size: 1.1rem; margin-bottom: 24px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form .field input,
.contact-form .field select,
.contact-form .field textarea {
  background: var(--stone-50);
  border: 1.5px solid var(--stone-100);
  padding: 13px 16px;
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: .95rem;
  width: 100%;
  transition: border-color var(--t) var(--ease);
}
.contact-form .field textarea { resize: none; height: 110px; }
.contact-form .field input:focus,
.contact-form .field select:focus,
.contact-form .field textarea:focus { border-color: var(--amber); background: var(--white); }

/* ─── FOOTER ─────────────────────────────────────── */
.footer {
  background: var(--ink);
  padding: 70px 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 36px;
}
.footer-brand p { color: rgba(255,255,255,.5); font-size: .9rem; margin-top: 18px; max-width: 300px; line-height: 1.7; }
.footer-logo .logo-mark { background: rgba(255,255,255,.08); }
.footer-logo .logo-name span:first-child { color: var(--white); }
.footer-col h4 { color: var(--white); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: rgba(255,255,255,.5); font-size: .9rem; transition: color var(--t); }
.footer-links a:hover { color: var(--amber); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p, .footer-bottom span {
  color: rgba(255,255,255,.35);
  font-size: .8rem;
}
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-bottom-right .sep {
  color: rgba(255,255,255,.15);
}
.kod-link {
  color: var(--amber) !important;
  font-weight: 700;
  text-decoration: none;
  transition: opacity var(--t), color var(--t);
  position: relative;
}
.kod-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t);
}
.kod-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.kod-link:hover {
  color: var(--white) !important;
}
.social-row { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.07);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.55);
  transition: all var(--t) var(--ease);
  cursor: pointer;
}
.social-btn:hover { background: var(--amber); color: var(--white); }

/* ─── MODAL ──────────────────────────────────────── */
.modal {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(26,23,20,.7);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .3s;
}
.modal.active { display: flex; opacity: 1; }
.modal-card {
  background: var(--white);
  border-radius: var(--r-xl);
  max-width: 840px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  position: relative;
  transform: translateY(20px);
  transition: transform .4s var(--ease);
  box-shadow: var(--shadow-lg);
}
.modal.active .modal-card { transform: translateY(0); }
.modal-img-pane { border-radius: var(--r-xl) 0 0 var(--r-xl); overflow: hidden; }
.modal-img-pane img { width: 100%; height: 100%; object-fit: cover; }
.modal-info-pane { padding: 44px 36px; display: flex; flex-direction: column; gap: 16px; }
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 34px; height: 34px;
  background: var(--stone-50);
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1rem;
  color: var(--stone-600);
  transition: all var(--t);
}
.modal-close:hover { background: var(--ink); color: var(--white); }
.modal-cat { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.modal-title { font-size: 1.8rem; }
.modal-desc { font-size: .88rem; line-height: 1.7; }
.modal-specs { display: flex; flex-direction: column; gap: 10px; }
.modal-spec-row {
  display: flex; justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--stone-100);
  font-size: .85rem;
}
.modal-spec-row span:first-child { color: var(--stone-600); }
.modal-spec-row span:last-child { font-weight: 600; color: var(--ink); }

/* ─── FLOATING WHATSAPP BUTTON ───────────────────── */
.wa-float {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 800;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
  color: #fff;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37,211,102,.55);
}

/* ─── MOBILE STICKY BOTTOM BAR ───────────────────── */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; width: 100%;
  z-index: 850;
  background: var(--white);
  border-top: 1px solid var(--stone-100);
  padding: 12px 16px;
  gap: 10px;
  box-shadow: 0 -4px 20px rgba(26,23,20,.1);
}
.mobile-bar .btn { flex: 1; font-size: .82rem; padding: 13px 10px; }

/* ─── RESPONSIVE — TABLET (≤1024px) ─────────────── */
@media (max-width: 1024px) {
  :root { --section-gap: 80px; }

  /* Hero */
  .hero {
    min-height: 100vh;
  }
  .hero-left {
    padding: 100px 0 60px;
  }
  .hero-slideshow-badge {
    left: 20px;
    right: auto;
    bottom: 20px;
    min-width: 200px;
    padding: 12px 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  }

  /* Nav CTA */
  #navCTA { display: none !important; }

  /* Why */
  .why-header { grid-template-columns: 1fr; gap: 16px; }
  .why-cards  { grid-template-columns: 1fr 1fr; }

  /* Sourcing */
  .sourcing-inner  { grid-template-columns: 1fr; }
  .sourcing-img-side { height: 360px; }
  .sourcing-img-side::after {
    background: linear-gradient(to bottom, rgba(26,23,20,.2), transparent);
  }
  .sourcing-text-side { padding: 56px 48px; }

  /* Visualizer */
  .visualizer-wrap { grid-template-columns: 1fr; gap: 28px; }
  .visualizer-panel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .vis-panel-title { grid-column: 1 / -1; }
  .vis-desc-box    { grid-column: 1 / -1; }

  /* Calculator */
  .calc-grid       { grid-template-columns: 1fr; gap: 36px; }
  .calc-results-side { position: static; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }

  /* Modal */
  .modal-card {
    grid-template-columns: 1fr;
    max-height: 92vh;
  }
  .modal-img-pane {
    height: 260px;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
  }
}

/* ─── RESPONSIVE — MOBILE (≤768px) ──────────────── */
@media (max-width: 768px) {
  :root { --section-gap: 64px; }

  /* Show mobile sticky bar */
  .mobile-bar { display: flex; }

  /* Padding compensation for sticky bar */
  body { padding-bottom: 70px; }

  /* Header */
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: min(300px, 80vw);
    height: 100vh;
    background: var(--white);
    border-left: 1px solid var(--stone-100);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    padding: 40px 24px;
    transition: right var(--t) var(--ease);
    z-index: 1050;
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.active { right: 0; }
  .nav-link {
    font-size: 1.1rem;
    letter-spacing: .03em;
  }
  #navCTA { display: none !important; }

  /* Overlay behind open drawer */
  .nav-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(26,23,20,.45);
    z-index: 1040;
    backdrop-filter: blur(2px);
  }
  .nav-overlay.active { display: block; }

  /* Hero */
  .hero {
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding-top: 90px;
    padding-bottom: 40px;
  }
  .hero-left { padding: 40px 0 20px; }
  .hero-slideshow-badge {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 20px;
    margin-inline: 4%;
    align-self: flex-start;
    min-width: 175px;
    padding: 12px 16px;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  }
  .hero-badge-icon { width: 36px; height: 36px; }
  .hero-badge-text p:first-child { font-size: .85rem; }
  .hero-badge-text p:last-child  { font-size: .68rem; }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .stat-item + .stat-item::before { display: none; }
  .stat-num  { font-size: 1.8rem; }
  .stat-label { font-size: .68rem; }

  /* Why cards */
  .why-cards { grid-template-columns: 1fr; }
  .why-card  { padding: 28px 22px; }
  .why-card-num { font-size: 2.8rem; margin-bottom: 14px; }

  /* Catalog */
  .catalog-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .catalog-filters { flex-wrap: wrap; }
  .catalog-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .catalog-img-wrap { height: 180px; }
  .catalog-body { padding: 16px; }
  .catalog-body h3 { font-size: .95rem; }
  .catalog-specs { gap: 6px; }

  /* Sourcing */
  .sourcing-img-side { height: 280px; }
  .sourcing-text-side { padding: 48px 28px; }

  /* Visualizer */
  .visualizer-canvas { aspect-ratio: 4/3; border-radius: var(--r-lg); }
  .visualizer-panel { grid-template-columns: 1fr 1fr; }

  /* Calculator */
  .results-grid { grid-template-columns: 1fr 1fr; }
  .result-num   { font-size: 1.7rem; }
  .results-card { padding: 28px 22px; border-radius: var(--r-lg); }

  /* Contact */
  .contact-form-card { padding: 28px 22px; border-radius: var(--r-lg); }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Modal */
  .modal { padding: 12px; align-items: flex-end; }
  .modal-card {
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    max-height: 90vh;
  }
  .modal-img-pane {
    height: 200px;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
  }
  .modal-info-pane { padding: 28px 22px 28px; }
  .modal-title { font-size: 1.5rem; }
}

/* ─── RESPONSIVE — SMALL MOBILE (≤480px) ────────── */
@media (max-width: 480px) {
  :root { --section-gap: 52px; }

  /* Hero */
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Catalog — single col on very small */
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-img-wrap { height: 220px; }

  /* Stats */
  .stats-bar { padding: 24px 0; }
  .stat-num  { font-size: 1.6rem; }

  /* Visualizer panel — single col */
  .visualizer-panel { grid-template-columns: 1fr; }
  .vis-option { padding: 12px 14px; }
  .vis-thumb  { width: 40px; height: 40px; }

  /* Sourcing */
  .sourcing-text-side { padding: 36px 20px; }

  /* Calculator form */
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer { padding: 52px 0 32px; }
  .footer-brand p { max-width: 100%; }

  /* Modal */
  .modal-img-pane { height: 160px; }
  .modal-info-pane { padding: 22px 18px; }
  .modal-close { top: 14px; right: 14px; }
  .modal-spec-row { font-size: .78rem; }
}

/* ─── RESPONSIVE — VERY SMALL (≤360px) ──────────── */
@media (max-width: 360px) {
  html { font-size: 14px; }
  .container { width: 95%; }
  .nav-container { height: 60px; }
  .hero-left { padding-top: 48px; }
  .hero-slideshow-badge { margin-inline: 2.5%; }
  .btn { font-size: .8rem; padding: 12px 18px; }
  .results-card { padding: 22px 16px; }
  .contact-form-card { padding: 22px 16px; }
}
