@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800;900&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

/* ============================================================
   STREAMLINE ESSENTIALS — Shared stylesheet
   Wholesale tile substrate & waterproofing supply · Portland, OR
   Design tokens first; every color / size below is a token.
   ============================================================ */

:root {
  /* ---------- BRAND PRIMARY (orange) — accent, swappable ---------- */
  --orange-400: #fb923c;
  --orange-500: #f97316;   /* PRIMARY brand orange */
  --orange-600: #ea670c;   /* pressed / hover dark */
  --primary: var(--orange-500);
  --primary-foreground: #ffffff;

  /* ---------- GRAPHITE NEUTRALS (warm stone gray) ---------- */
  --slate-50:  #faf8f5;
  --slate-100: #f2efea;
  --slate-200: #e6e1d9;
  --slate-300: #d3cabe;
  --slate-400: #a39a8c;
  --slate-500: #7b7264;
  --slate-600: #5b5349;
  --slate-700: #3c362e;   /* primary text / headings */
  --slate-800: #292420;   /* dark sections */
  --slate-900: #1a1611;
  --slate-950: #0f0c09;

  /* ---------- SEMANTIC SURFACE ---------- */
  --background: #ffffff;
  --foreground: #3c362e;
  --card: #ffffff;
  --muted: #f2efea;
  --muted-foreground: #7b7264;
  --border: #e6e1d9;
  --input: #e6e1d9;
  --ring: #f97316;
  --destructive: #dc4d3a;

  /* ---------- GRADIENTS ---------- */
  --gradient-hero: linear-gradient(to right, rgba(26,22,17,.92), rgba(26,22,17,.72) 45%, rgba(26,22,17,.42));
  --gradient-dark: linear-gradient(180deg, var(--slate-900), var(--slate-800));
  --gradient-orange: linear-gradient(135deg, var(--orange-500), var(--orange-600));

  /* ---------- TYPE FAMILIES ---------- */
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* ---------- SPACING SCALE ---------- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 80px;
  --space-10: 112px;

  /* ---------- RADII ---------- */
  --radius-sm: 0.375rem;   /* 6px */
  --radius: 0.5rem;        /* 8px */
  --radius-lg: 0.75rem;    /* 12px */
  --radius-2xl: 1rem;      /* 16px — cards, panels */
  --radius-full: 9999px;

  /* ---------- ELEVATION ---------- */
  --shadow-sm: 0 1px 2px 0 rgba(26,22,17,.05);
  --shadow-md: 0 4px 6px -1px rgba(26,22,17,.10), 0 2px 4px -2px rgba(26,22,17,.10);
  --shadow-lg: 0 10px 15px -3px rgba(26,22,17,.10), 0 4px 6px -4px rgba(26,22,17,.10);
  --shadow-xl: 0 20px 25px -5px rgba(26,22,17,.12), 0 8px 10px -6px rgba(26,22,17,.10);
  --shadow-card: 0 4px 20px -2px rgba(26,22,17,.08);
  --shadow-card-hover: 0 12px 30px -6px rgba(26,22,17,.16);

  /* ---------- MOTION ---------- */
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --dur-fast: 200ms;
  --dur-base: 300ms;

  /* ---------- LAYOUT ---------- */
  --container: 1240px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--slate-700);
  background: var(--background);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--slate-800); line-height: 1.1; letter-spacing: -0.02em; }
ul { list-style: none; }

/* Accessible focus — visible orange ring on every interactive element */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
.nav-toggle-cb:focus-visible + .nav-toggle {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--slate-800); color: #fff; padding: 10px 18px;
  border-radius: var(--radius); font-weight: 600; font-family: var(--font-display);
}
.skip-link:focus { left: 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.section { padding: var(--space-9) 0; }
@media (max-width: 767px) { .section { padding: 56px 0; } }
.bg-slate50 { background: var(--slate-50); }
.bg-dark { background: var(--slate-900); color: #fff; }
.center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange-500);
  margin-bottom: var(--space-3);
}
.sec-title {
  font-size: clamp(28px, 4.2vw, 40px);
  font-weight: 800; letter-spacing: -0.03em;
  color: var(--slate-800); line-height: 1.08;
}
.bg-dark .sec-title { color: #fff; }
.sec-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--slate-500); line-height: 1.6;
  max-width: 60ch;
}
.bg-dark .sec-sub { color: var(--slate-300); }
.sec-head { max-width: 720px; margin-bottom: var(--space-8); }
.sec-head.center { margin-left: auto; margin-right: auto; }

.lead { font-size: clamp(17px, 2.4vw, 21px); line-height: 1.6; color: var(--slate-500); }
.muted { color: var(--slate-500); }
.divider-label {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--slate-500); margin-bottom: var(--space-2);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  height: 46px; padding: 0 24px; border-radius: var(--radius);
  transition: background var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--orange-500); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--orange-600); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--slate-700); border: 2px solid var(--slate-700); }
.btn-outline:hover { background: var(--slate-700); color: #fff; }
.btn-hero-out { background: rgba(255,255,255,.10); color: #fff; border: 2px solid rgba(255,255,255,.85); backdrop-filter: blur(4px); }
.btn-hero-out:hover { background: #fff; color: var(--slate-800); }
.btn-ghost { color: var(--slate-700); padding: 0 8px; }
.btn-ghost:hover { color: var(--orange-500); }
.btn-lg { height: 52px; padding: 0 32px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-block { width: 100%; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--orange-500);
  transition: gap var(--dur-fast) var(--ease-out), color var(--dur-fast);
}
.link-arrow svg { width: 17px; height: 17px; transition: transform var(--dur-fast) var(--ease-out); }
.link-arrow:hover { color: var(--orange-600); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ============================================================
   NAVBAR (sticky, solid — pure CSS mobile menu)
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.nav-logo { height: 56px; width: auto; }
.nav-toggle-cb { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius); color: var(--slate-700);
}
.nav-toggle .ico-close { display: none; }
.nav-toggle-cb:checked ~ .nav-toggle .ico-open { display: none; }
.nav-toggle-cb:checked ~ .nav-toggle .ico-close { display: block; }
.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-link {
  font-family: var(--font-display); font-size: 15px; font-weight: 500; white-space: nowrap;
  color: var(--slate-600); padding: 8px 13px; border-radius: var(--radius);
  transition: color var(--dur-fast), background var(--dur-fast);
}
.nav-link:hover { color: var(--orange-500); }
.nav-link[aria-current="page"] { color: var(--orange-500); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* mobile-first: hide desktop links, show toggle */
@media (max-width: 1039px) {
  .nav-toggle { display: inline-flex; margin-left: auto; order: 2; }
  .nav-actions { order: 3; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg); padding: 12px 20px 20px;
    max-height: 0; overflow: hidden; opacity: 0; visibility: hidden;
    transition: max-height var(--dur-base) var(--ease-out), opacity var(--dur-base), visibility var(--dur-base);
  }
  .nav-toggle-cb:checked ~ .nav-links { max-height: 420px; opacity: 1; visibility: visible; }
  .nav-link { padding: 13px 12px; font-size: 16px; border-bottom: 1px solid var(--slate-100); border-radius: 0; }
}
@media (min-width: 1040px) {
  .nav-toggle { display: none; }
  .nav-links { gap: 2px; }
}
@media (max-width: 460px) { .nav-cta { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; display: flex; align-items: center; overflow: hidden; min-height: 560px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: var(--gradient-hero); }
.hero-content { position: relative; z-index: 2; max-width: 760px; padding: 96px 0; }
.hero h1 {
  font-size: clamp(36px, 6.4vw, 64px); font-weight: 800; color: #fff;
  line-height: 1.02; letter-spacing: -0.035em; margin-bottom: var(--space-5);
}
.hero h1 .accent { color: var(--orange-400); }
.hero p { font-size: clamp(17px, 2.4vw, 21px); color: rgba(255,255,255,.88); line-height: 1.6; margin-bottom: var(--space-6); max-width: 600px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: var(--space-7); }
.hero-trust li { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.9); font-size: 14px; font-weight: 500; }
.hero-trust svg { width: 18px; height: 18px; color: var(--orange-400); flex-shrink: 0; }

/* compact page header (inner pages) */
.pagehead { position: relative; background: var(--slate-900); overflow: hidden; }
.pagehead::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(249,115,22,.18), transparent 55%); }
.pagehead-inner { position: relative; z-index: 1; padding: clamp(56px, 9vw, 96px) 0; max-width: 760px; }
.pagehead .eyebrow { color: var(--orange-400); }
.pagehead h1 { font-size: clamp(32px, 5.5vw, 54px); font-weight: 800; color: #fff; letter-spacing: -0.035em; line-height: 1.04; margin-bottom: var(--space-4); }
.pagehead p { font-size: clamp(16px, 2.2vw, 20px); color: var(--slate-300); line-height: 1.6; max-width: 60ch; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--slate-400); margin-bottom: var(--space-4); font-family: var(--font-display); font-weight: 500; }
.breadcrumb a, .breadcrumb span { white-space: nowrap; }
.breadcrumb a:hover { color: var(--orange-400); }
.breadcrumb svg { width: 14px; height: 14px; }

/* ============================================================
   GRID HELPERS
   ============================================================ */
.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   CATEGORY TILE
   ============================================================ */
.ctile {
  display: flex; flex-direction: column;
  background: #fff; border: 2px solid var(--orange-500); border-radius: var(--radius-2xl);
  padding: 32px 26px; box-shadow: var(--shadow-lg);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base);
}
.ctile:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: var(--orange-600); }
.ctile-ico {
  width: 72px; height: 72px; margin-bottom: var(--space-5);
  background: var(--slate-100); border-radius: var(--radius-2xl);
  display: flex; align-items: center; justify-content: center; color: var(--slate-600);
  transition: background var(--dur-base), color var(--dur-base);
}
.ctile-ico svg { width: 34px; height: 34px; }
.ctile:hover .ctile-ico { background: rgba(249,115,22,.12); color: var(--orange-500); }
.ctile h3 { font-size: 21px; font-weight: 700; color: var(--slate-800); margin-bottom: var(--space-2); }
.ctile p { font-size: 15px; color: var(--slate-600); line-height: 1.6; margin-bottom: var(--space-5); flex: 1; }

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.pcard {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--orange-500); border-radius: var(--radius-2xl);
  overflow: hidden; box-shadow: var(--shadow-card);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.pcard-img { position: relative; aspect-ratio: 16/11; background: var(--slate-100); overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-base) var(--ease-out); }
.pcard:hover .pcard-img img { transform: scale(1.05); }
/* contained product renders (isolated shots on white/transparent) */
.pcard-img.contain { background: #fff; border-bottom: 1px solid var(--border); }
.pcard-img.contain img { object-fit: contain; padding: 22px; }
.pcard:hover .pcard-img.contain img { transform: scale(1.04); }

/* ============================================================
   PRODUCT FEATURE (flagship split)
   ============================================================ */
.product-feature { display: grid; grid-template-columns: 1fr; gap: var(--space-6); align-items: center; background: #fff; border: 2px solid var(--orange-500); border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-card); }
@media (min-width: 880px) { .product-feature { grid-template-columns: 1.05fr 0.95fr; } }
.product-feature .pf-media { background: var(--slate-50); display: flex; align-items: center; justify-content: center; padding: clamp(24px, 4vw, 48px); min-height: 320px; position: relative; }
.product-feature .pf-media img { width: 100%; max-width: 560px; height: auto; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(26,22,17,.16)); }
.product-feature .pf-badge { position: absolute; top: 20px; left: 20px; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: .06em; padding: 6px 14px; border-radius: var(--radius-full); background: var(--orange-500); color: #fff; }
.product-feature .pf-body { padding: clamp(28px, 4vw, 48px); }
.product-feature .pf-body h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; color: var(--slate-800); letter-spacing: -0.02em; margin-bottom: var(--space-3); }
.product-feature .pf-body > p { font-size: 16px; color: var(--slate-600); line-height: 1.65; margin-bottom: var(--space-5); }
.pf-sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-5); }
.pf-sizes .tag { font-size: 12.5px; padding: 7px 13px; background: var(--slate-100); }
.pcard-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: .04em;
  padding: 5px 12px; border-radius: var(--radius-full); background: var(--orange-500); color: #fff;
}
.pcard-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.pcard-cat { font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-500); margin-bottom: var(--space-2); }
.pcard h3 { font-size: 19px; font-weight: 600; color: var(--slate-800); margin-bottom: var(--space-2); transition: color var(--dur-fast); }
.pcard:hover h3 { color: var(--orange-500); }
.pcard p { font-size: 14.5px; color: var(--slate-600); line-height: 1.6; flex: 1; margin-bottom: var(--space-4); }
.pcard-specs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: var(--space-4); }
.tag { font-family: var(--font-display); font-size: 11.5px; font-weight: 600; color: var(--slate-600); background: var(--slate-100); padding: 5px 10px; border-radius: var(--radius-full); }

/* ============================================================
   FEATURE / VALUE CARD
   ============================================================ */
.fcard {
  padding: 32px; background: #fff; border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-card); transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
}
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.fcard-ico {
  width: 60px; height: 60px; margin-bottom: var(--space-5);
  background: rgba(249,115,22,.1); border-radius: var(--radius-2xl);
  display: flex; align-items: center; justify-content: center; color: var(--orange-500);
}
.fcard-ico svg { width: 30px; height: 30px; }
.fcard h3 { font-size: 20px; font-weight: 700; color: var(--slate-800); margin-bottom: var(--space-3); }
.fcard p { font-size: 15px; color: var(--slate-500); line-height: 1.6; }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: rgba(255,255,255,.1); border-radius: var(--radius-2xl); overflow: hidden; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--slate-900); padding: 36px 24px; text-align: center; }
.stat-num { font-family: var(--font-display); font-size: clamp(40px, 6vw, 56px); font-weight: 900; color: var(--orange-400); line-height: 1; letter-spacing: -0.03em; }
.stat-label { font-size: 14.5px; color: var(--slate-300); margin-top: var(--space-2); line-height: 1.4; }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.compare-wrap { overflow-x: auto; border-radius: var(--radius-2xl); box-shadow: var(--shadow-card); border: 1px solid var(--border); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; background: #fff; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--border); font-size: 15px; }
.compare thead th { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--slate-800); background: var(--slate-50); letter-spacing: -0.01em; }
.compare thead th.col-essenti { background: var(--orange-500); color: #fff; position: relative; }
.compare thead th.col-essenti span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; margin-bottom: 2px; }
.compare tbody th { font-family: var(--font-sans); font-weight: 600; color: var(--slate-700); width: 30%; }
.compare td.col-essenti { background: rgba(249,115,22,.06); color: var(--slate-800); font-weight: 600; }
.compare td.col-cement { color: var(--slate-600); }
.compare .yn { display: inline-flex; align-items: center; gap: 8px; }
.compare .yn svg { width: 18px; height: 18px; flex-shrink: 0; }
.compare .yes svg { color: var(--orange-500); }
.compare .no svg { color: var(--slate-400); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: none; }

/* ============================================================
   FAQ ACCORDION (native details/summary)
   ============================================================ */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq details {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow var(--dur-fast), border-color var(--dur-fast);
}
.faq details[open] { box-shadow: var(--shadow-card); border-color: var(--slate-300); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 24px; font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--slate-800);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex-shrink: 0; width: 22px; height: 22px; color: var(--orange-500); transition: transform var(--dur-base) var(--ease-out); }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq summary:hover { color: var(--orange-500); }
.faq-body { padding: 0 24px 24px; color: var(--slate-600); font-size: 15.5px; line-height: 1.7; max-width: 70ch; }

/* dark variant */
.bg-dark .faq details { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.bg-dark .faq summary { color: #fff; }
.bg-dark .faq-body { color: var(--slate-300); }

/* ============================================================
   ABOUT / FEATURE SPLIT
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr; gap: var(--space-7); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } .split.reverse .split-media { order: 2; } }
.split-media { position: relative; }
.split-media .frame { aspect-ratio: 4/3; border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-card); background: var(--slate-100); }
.split-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.split-badge {
  position: absolute; bottom: -22px; right: -10px;
  background: var(--orange-500); color: #fff; border-radius: var(--radius-2xl);
  padding: 20px 24px; box-shadow: var(--shadow-lg); text-align: center; max-width: 200px;
}
.split-badge .big { font-family: var(--font-display); font-weight: 900; font-size: 34px; line-height: 1; }
.split-badge .small { font-size: 13px; line-height: 1.35; margin-top: 4px; opacity: .95; }
@media (max-width: 520px) { .split-badge { position: static; margin: 18px auto 0; max-width: none; } }
.checklist { display: flex; flex-direction: column; gap: 14px; margin-top: var(--space-5); }
.checklist li { display: flex; gap: 12px; font-size: 15.5px; color: var(--slate-600); line-height: 1.55; }
.checklist .ic { flex-shrink: 0; width: 26px; height: 26px; border-radius: var(--radius-full); background: rgba(249,115,22,.12); color: var(--orange-500); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.checklist .ic svg { width: 15px; height: 15px; }
.checklist strong { color: var(--slate-800); font-weight: 600; }

/* ============================================================
   PROJECTS GALLERY
   ============================================================ */
.proj { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid var(--border); transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base); }
.proj:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.proj-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--slate-100); }
.proj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-base) var(--ease-out); }
.proj:hover .proj-img img { transform: scale(1.05); }
.proj-cat { position: absolute; top: 14px; left: 14px; font-family: var(--font-display); font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: rgba(26,22,17,.72); backdrop-filter: blur(4px); padding: 6px 12px; border-radius: var(--radius-full); }
.proj-body { padding: 24px; }
.proj-body h3 { font-size: 20px; font-weight: 700; color: var(--slate-800); margin-bottom: var(--space-2); }
.proj-meta { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 13px; font-weight: 500; color: var(--slate-500); margin-bottom: var(--space-3); }
.proj-meta svg { width: 15px; height: 15px; color: var(--orange-500); }
.proj-body p { font-size: 14.5px; color: var(--slate-600); line-height: 1.6; margin-bottom: var(--space-4); }
.proj-materials { display: flex; flex-wrap: wrap; gap: 7px; padding-top: var(--space-4); border-top: 1px solid var(--border); }

/* ============================================================
   BLOG CARDS
   ============================================================ */
.bcard { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid var(--border); transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base); height: 100%; }
.bcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.bcard-img { aspect-ratio: 16/10; overflow: hidden; background: var(--slate-100); }
.bcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-base) var(--ease-out); }
.bcard:hover .bcard-img img { transform: scale(1.05); }
.bcard-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.bcard-tag { align-self: flex-start; font-family: var(--font-display); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-600); background: rgba(249,115,22,.1); padding: 5px 12px; border-radius: var(--radius-full); margin-bottom: var(--space-4); }
.bcard h3 { font-size: 21px; font-weight: 700; color: var(--slate-800); line-height: 1.22; margin-bottom: var(--space-3); transition: color var(--dur-fast); }
.bcard:hover h3 { color: var(--orange-500); }
.bcard p { font-size: 15px; color: var(--slate-600); line-height: 1.6; flex: 1; margin-bottom: var(--space-5); }
.bcard-foot { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-display); font-size: 13px; font-weight: 500; color: var(--slate-500); }
.bcard-foot .read { color: var(--orange-500); display: inline-flex; align-items: center; gap: 6px; }
.bcard-foot .read svg { width: 15px; height: 15px; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { position: relative; background: var(--slate-900); border-radius: var(--radius-2xl); overflow: hidden; padding: clamp(40px, 6vw, 72px); text-align: center; }
.cta-banner::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(249,115,22,.22), transparent 60%); }
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; color: #fff; letter-spacing: -0.03em; margin-bottom: var(--space-4); }
.cta-banner p { font-size: clamp(16px, 2vw, 19px); color: var(--slate-300); max-width: 56ch; margin: 0 auto var(--space-6); line-height: 1.6; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-8); align-items: start; }
@media (min-width: 920px) { .contact-grid { grid-template-columns: 1.15fr 0.85fr; gap: 56px; } }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-2xl); box-shadow: var(--shadow-card); padding: clamp(24px, 4vw, 40px); }
.form-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-5); }
@media (min-width: 560px) { .form-grid .col-2 { grid-column: span 2; } .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--slate-700); }
.field .req { color: var(--orange-500); }
.field .hint { font-size: 12.5px; color: var(--slate-500); }
.input, .select, .textarea {
  width: 100%; font-family: var(--font-sans); font-size: 15px; color: var(--slate-700);
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius);
  background: #fff; transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.input::placeholder, .textarea::placeholder { color: var(--slate-400); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--orange-500); box-shadow: 0 0 0 3px rgba(249,115,22,.16); }
.textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%237b7264' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 42px; }
.form-note { font-size: 13px; color: var(--slate-500); margin-top: var(--space-4); line-height: 1.5; }

.info-card { background: var(--slate-900); color: #fff; border-radius: var(--radius-2xl); padding: clamp(28px, 4vw, 40px); }
.info-card h3 { color: #fff; font-size: 22px; margin-bottom: var(--space-5); }
.info-list { display: flex; flex-direction: column; gap: var(--space-5); }
.info-row { display: flex; gap: 16px; align-items: flex-start; }
.info-row .ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: var(--radius-2xl); background: rgba(249,115,22,.15); color: var(--orange-400); display: flex; align-items: center; justify-content: center; }
.info-row .ic svg { width: 22px; height: 22px; }
.info-row .lbl { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-400); margin-bottom: 3px; }
.info-row a, .info-row p { color: #fff; font-size: 16px; line-height: 1.5; }
.info-row a:hover { color: var(--orange-400); }
.hours-card { background: var(--slate-50); border: 1px solid var(--border); border-radius: var(--radius-2xl); padding: clamp(24px, 4vw, 32px); }
.hours-card h3 { font-size: 19px; margin-bottom: var(--space-4); }
.hours-row { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.hours-row:last-child { border-bottom: none; }
.hours-row .day { color: var(--slate-600); font-weight: 500; }
.hours-row .time { color: var(--slate-800); font-family: var(--font-display); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--slate-800); color: #fff; }
.footer-main { padding: var(--space-9) 0 var(--space-7); display: grid; grid-template-columns: 1fr; gap: var(--space-8); }
@media (min-width: 720px) { .footer-main { grid-template-columns: 2fr 1fr 1fr; gap: var(--space-6); } }
@media (min-width: 1024px) { .footer-main { grid-template-columns: 2.2fr 1fr 1fr 1.4fr; } }
.footer-logo-link { display: inline-block; }
.footer-logo { height: 56px; width: auto; filter: brightness(0) invert(1); margin-bottom: var(--space-5); opacity: .95; transition: opacity var(--dur-fast); }
.footer-logo-link:hover .footer-logo { opacity: 1; }
.footer-about p { color: var(--slate-400); line-height: 1.65; max-width: 38ch; font-size: 15px; }
.footer-social { display: flex; gap: 12px; margin-top: var(--space-5); }
.footer-social a { width: 42px; height: 42px; border-radius: var(--radius-full); background: rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center; color: var(--slate-300); transition: background var(--dur-fast), color var(--dur-fast); }
.footer-social a:hover { background: var(--orange-500); color: #fff; }
.footer-social svg { width: 19px; height: 19px; }
.footer-col h4 { font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin-bottom: var(--space-5); }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--slate-400); font-size: 15px; transition: color var(--dur-fast); }
.footer-links a:hover { color: var(--orange-500); }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; color: var(--slate-400); font-size: 15px; line-height: 1.5; }
.footer-contact svg { width: 18px; height: 18px; color: var(--orange-500); flex-shrink: 0; margin-top: 3px; }
.footer-contact a:hover { color: var(--orange-500); }
.footer-bottom { border-top: 1px solid var(--slate-700); padding: 22px 0; }
.footer-bottom-inner { display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; }
@media (min-width: 640px) { .footer-bottom-inner { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-bottom p { color: var(--slate-500); font-size: 13.5px; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: var(--slate-500); font-size: 13.5px; transition: color var(--dur-fast); }
.footer-legal a:hover { color: var(--orange-500); }

/* ============================================================
   ENTRANCE (respecting reduced motion above)
   ============================================================ */
.fade-up { animation: fadeUp 600ms var(--ease-out) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
