/* ==========================================================================
   XTRACRETE PREMIUM BUILDING SOLUTIONS - DESIGN SYSTEM
   Brand Colors, Modern Typography, Glassmorphism & Responsive Layouts
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand Palette */
  --red: #d3121b;
  --red-hover: #b30c14;
  --red-glow: rgba(211, 18, 27, 0.32);
  --red-soft: rgba(211, 18, 27, 0.08);

  /* Industrial Dark Palette */
  --carbon-900: #08090b;
  --carbon-800: #0f1116;
  --carbon-700: #171a22;
  --carbon-600: #212530;
  --carbon-500: #2c3240;

  /* Architectural Light Palette */
  --stone-50: #fbfaf8;
  --stone-100: #f4f2ec;
  --stone-200: #e8e5dc;
  --stone-300: #d6d1c4;

  /* Neutral Text */
  --ink-900: #0c0e12;
  --ink-700: #2b303c;
  --ink-500: #575e6d;
  --ink-400: #8890a0;
  --white: #ffffff;

  /* Status / Accents */
  --gold: #d4af37;
  --gold-glow: rgba(212, 175, 55, 0.35);
  --green: #10b981;
  --green-soft: rgba(16, 185, 129, 0.12);
  --blue: #0284c7;

  /* Elevation Shadows & Radius */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.14);
  --shadow-glow: 0 16px 40px var(--red-glow);
  --shadow-dark: 0 24px 60px rgba(0, 0, 0, 0.45);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --max-w: 1240px;
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--ink-700);
  background-color: var(--stone-50);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

/* Container */
.wrap {
  width: min(var(--max-w), calc(100% - 48px));
  margin-inline: auto;
}

/* Typography Utilities */
.font-display {
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.96;
}

.font-heading {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1, h2, h3, h4 {
  color: var(--ink-900);
}

h1.hero-title {
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-weight: 900;
  font-size: clamp(48px, 7vw, 92px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.94;
  color: var(--white);
}

h1.hero-title .red-accent {
  color: var(--red);
  font-style: italic;
}

h2.sec-title {
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 4.5vw, 56px);
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
}

.eyebrow-light {
  color: #ff858a;
}
.eyebrow-light::before {
  background: #ff4d53;
  box-shadow: 0 0 10px #ff4d53;
}

.lead-text {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--ink-500);
  line-height: 1.6;
}

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-red {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 24px var(--red-glow);
}
.btn-red:hover {
  background: var(--red-hover);
  box-shadow: 0 12px 30px var(--red-glow);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--carbon-900);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  background: #f0ede6;
  color: var(--carbon-900);
}

.btn-dark {
  background: var(--carbon-800);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.12);
}
.btn-dark:hover {
  background: var(--carbon-700);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  border-color: var(--stone-300);
  color: var(--ink-900);
}
.btn-ghost:hover {
  background: var(--white);
  border-color: var(--red);
  color: var(--red);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  backdrop-filter: blur(8px);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--white);
  color: var(--white);
}

.btn-wa {
  background: #25d366;
  color: #064019;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}
.btn-wa:hover {
  background: #20ba59;
  color: #042e12;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 11px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 14px;
}

/* ==========================================================================
   Header & Topbar
   ========================================================================== */
.topbar {
  background: var(--carbon-900);
  color: #b3b7c2;
  font-size: 12px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar-badges {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e5e7eb;
}

.topbar-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-links a {
  color: #d1d5db;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar-links a:hover {
  color: var(--white);
}

/* Main Navigation */
header.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--stone-200);
  transition: var(--transition);
}

header.site-nav.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

header.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-menu li a {
  display: block;
  padding: 10px 14px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-700);
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
}

.nav-menu li a:hover {
  color: var(--red);
  background: var(--red-soft);
}

.nav-menu li a.active {
  color: var(--red);
  background: var(--red-soft);
}

.nav-menu li a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stone-200);
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--ink-900);
  font-size: 22px;
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(12, 14, 18, 0.98);
  backdrop-filter: blur(24px);
  z-index: 99;
  padding: 24px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: var(--transition);
}

.mobile-drawer.open {
  display: flex;
  flex-direction: column;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 28px;
}

.mobile-nav-links a {
  display: block;
  padding: 14px 18px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  border-radius: var(--radius-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav-links a.active, .mobile-nav-links a:hover {
  color: var(--red);
  background: rgba(211, 18, 27, 0.12);
}

.mobile-drawer-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  background: var(--carbon-900);
  color: var(--white);
  overflow: hidden;
  padding: 60px 0 80px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: contrast(1.1) grayscale(0.4);
}

.hero-bg-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 35%, rgba(211, 18, 27, 0.22), transparent 50%),
    radial-gradient(circle at 20% 70%, rgba(21, 26, 36, 0.8), transparent 60%),
    linear-gradient(180deg, rgba(8, 9, 11, 0.85) 0%, rgba(8, 9, 11, 0.98) 100%);
}

.hero .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  max-width: 660px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff9da1;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--red);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(211, 18, 27, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(211, 18, 27, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(211, 18, 27, 0); }
}

.hero-desc {
  font-size: clamp(16px, 1.3vw, 19px);
  color: #d1d5db;
  margin: 22px 0 32px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero Pack Showcase Component */
.hero-pack-showcase {
  background: rgba(23, 26, 34, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 30px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-dark);
  position: relative;
  overflow: hidden;
}

.hero-pack-showcase::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, var(--red-glow), transparent 70%);
  pointer-events: none;
}

.showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.showcase-title {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9ca3af;
}

.showcase-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--gold);
}

.showcase-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 20px;
  min-height: 380px;
}

.pack-display-img {
  width: 230px;
  max-width: 90%;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.6));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  cursor: pointer;
}

.pack-display-img:hover {
  transform: translateY(-8px) scale(1.03);
}

.showcase-info {
  text-align: center;
  margin-top: 14px;
}

.showcase-info h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.showcase-info p {
  color: #9ca3af;
  font-size: 13px;
  margin-top: 6px;
}

.showcase-pills {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sku-pill {
  padding: 8px 4px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #d1d5db;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.sku-pill:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.sku-pill.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 4px 14px var(--red-glow);
}

/* Proof Bar Component */
.proof-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 60px;
  grid-column: 1 / -1;
  position: relative;
  z-index: 2;
}

.proof-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.proof-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.proof-number {
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.proof-number span {
  color: var(--red);
}

.proof-label {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #d1d5db;
  line-height: 1.3;
}

.proof-sub {
  font-size: 12px;
  color: #8890a0;
  margin-top: 4px;
}

/* ==========================================================================
   Section Layouts
   ========================================================================= */
.section {
  padding: 96px 0;
  position: relative;
}

.section-dark {
  background: var(--carbon-900);
  color: var(--white);
}

.section-dark h2, .section-dark h3 {
  color: var(--white);
}

.section-dark .lead-text {
  color: #9ca3af;
}

.section-head {
  margin-bottom: 48px;
}

.section-head.center {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.section-head p {
  margin-top: 12px;
  font-size: 17px;
}

/* ==========================================================================
   Ecosystem Cards (Prep, Bond, Grout, Care)
   ========================================================================== */
.system-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.system-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.system-card-media.pack-stage.combo-stage {
  gap: 8px;
  padding: 46px 10px 14px;
}

.system-card-media.pack-stage.combo-stage img {
  max-height: 130px;
}

.system-card-media.pack-stage.combo-stage img.pouch-img {
  max-height: 148px;
  z-index: 2;
}

.system-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--stone-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.system-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--stone-300);
}

.system-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.system-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.system-card:hover .system-card-media img {
  transform: scale(1.08);
}

.system-card-media.pack-stage {
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.25), transparent 65%),
    linear-gradient(180deg, #181a20, #0c0d10);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 46px 20px 14px;
}

.system-card-media.pack-stage img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 155px;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.6));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.system-card:hover .system-card-media.pack-stage img {
  transform: translateY(-4px) scale(1.05);
}

.system-step-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(12, 14, 18, 0.95);
  color: var(--white);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
}

.system-step-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 6px var(--red);
  flex-shrink: 0;
}

.system-step-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
  display: block;
}

.system-card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.system-card-body h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 6px;
}

.system-card-body p {
  color: var(--ink-500);
  font-size: 14px;
  margin-bottom: 16px;
  flex-grow: 1;
}

.system-link {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.system-link:hover {
  gap: 10px;
}

/* ==========================================================================
   Interactive Comparison Table (Xtracrete vs Traditional Cement Mortar)
   ========================================================================== */
.compare-box {
  background: var(--carbon-800);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-dark);
}

.compare-table-wrapper {
  overflow-x: auto;
}

table.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
  text-align: left;
}

.compare-table th {
  padding: 20px 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--carbon-700);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.compare-table th:first-child {
  width: 32%;
}

.compare-table th.brand-col {
  background: rgba(211, 18, 27, 0.2);
  color: #ff9da1;
  border-left: 2px solid var(--red);
}

.compare-table td {
  padding: 18px 24px;
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #e5e7eb;
}

.compare-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.compare-table td.brand-val {
  background: rgba(211, 18, 27, 0.06);
  color: #93f5b8;
  font-weight: 700;
  border-left: 2px solid var(--red);
}

.compare-table td.trad-val {
  color: #fca5a5;
}

.check-icon {
  color: #10b981;
  font-weight: 900;
  margin-right: 8px;
}

.cross-icon {
  color: #ef4444;
  font-weight: 900;
  margin-right: 8px;
}

/* Light Variant for Compare Box / Tables on Light Sections */
.compare-box.compare-box-light,
.compare-box-light,
.compare-box[style*="background:var(--white)"],
.compare-box[style*="background: var(--white)"],
.compare-box[style*="background:#fff"],
.compare-box[style*="background: #fff"] {
  background: var(--white) !important;
  border: 1px solid var(--stone-300) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}

.compare-box.compare-box-light .compare-table th,
.compare-box-light .compare-table th,
.compare-table.table-light th,
.compare-box[style*="background:var(--white)"] .compare-table th,
.compare-box[style*="background: var(--white)"] .compare-table th {
  background: var(--stone-100) !important;
  color: var(--carbon-900) !important;
  border-bottom: 2px solid var(--stone-300) !important;
  font-weight: 800;
}

.compare-box.compare-box-light .compare-table td,
.compare-box-light .compare-table td,
.compare-table.table-light td,
.compare-box[style*="background:var(--white)"] .compare-table td,
.compare-box[style*="background: var(--white)"] .compare-table td {
  color: var(--ink-700) !important;
  border-bottom: 1px solid var(--stone-200) !important;
  background: var(--white);
}

.compare-box.compare-box-light .compare-table td strong,
.compare-box-light .compare-table td strong,
.compare-table.table-light td strong,
.compare-box[style*="background:var(--white)"] .compare-table td strong,
.compare-box[style*="background: var(--white)"] .compare-table td strong {
  color: var(--carbon-900) !important;
  font-weight: 700;
}

.compare-box.compare-box-light .compare-table tr:hover td,
.compare-box-light .compare-table tr:hover td,
.compare-table.table-light tr:hover td,
.compare-box[style*="background:var(--white)"] .compare-table tr:hover td,
.compare-box[style*="background: var(--white)"] .compare-table tr:hover td {
  background: var(--stone-50) !important;
}

/* ==========================================================================
   Product Catalog & Cards
   ========================================================================== */
.product-filters {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  background: var(--white);
  border: 1px solid var(--stone-200);
  color: var(--ink-700);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.filter-btn.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 4px 14px var(--red-glow);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--stone-200);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--stone-300);
}

.product-card-chamber {
  position: relative;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.4), transparent 60%),
    linear-gradient(180deg, #181a20, #0c0d10);
  height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
}

.product-card-chamber::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(0deg, rgba(12, 13, 16, 0.8), transparent);
}

.product-bag-img {
  max-height: 240px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.5));
  transition: transform 0.4s ease;
}

.product-card:hover .product-bag-img {
  transform: translateY(-6px) scale(1.06);
}

.product-type-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: var(--carbon-900);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-color-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  color: var(--carbon-900);
}

.product-card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-body h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  color: var(--ink-900);
}

.product-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  margin-top: 4px;
  margin-bottom: 12px;
}

.product-card-summary {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

.product-suitability-box {
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-left: 3px solid var(--red);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.suitability-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.suitability-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-500);
  background: var(--stone-100);
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.suitability-text {
  font-weight: 600;
  color: var(--ink-800);
  line-height: 1.4;
  font-size: 12.5px;
}

.product-quick-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px;
  background: var(--stone-100);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 12px;
}

.quick-spec-item strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--ink-400);
}

.quick-spec-item span {
  font-weight: 700;
  color: var(--ink-900);
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

/* ==========================================================================
   Interactive Adhesive Selector Wizard
   ========================================================================== */
.selector-wizard-container {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--stone-200);
  padding: clamp(24px, 4vw, 40px);
}

.wizard-steps-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--stone-200);
  padding-bottom: 18px;
}

.wizard-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.wizard-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.wizard-field.full {
  grid-column: 1 / -1;
}

.wizard-label {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.wizard-select {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--stone-300);
  background: var(--stone-50);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-900);
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.wizard-select:focus {
  outline: none;
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--red-soft);
}

.wizard-result-box {
  margin-top: 32px;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--carbon-900);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-result-layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 30px;
  align-items: center;
}

.wizard-result-img {
  max-height: 220px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.6));
}

.wizard-result-details h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 38px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.wizard-result-details p {
  color: #d1d5db;
  margin: 10px 0 16px;
  font-size: 15px;
}

.wizard-specs-highlight {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 14px;
}

.wizard-spec-pill {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13.5px;
}

.wizard-spec-pill .pill-label {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ff9da1;
  flex-shrink: 0;
}

.wizard-spec-pill .pill-value {
  color: var(--white);
  font-weight: 600;
  line-height: 1.4;
}

/* ==========================================================================
   Dual Estimator / Calculator Studio (ROBUST RESPONSIVE DESIGN)
   ========================================================================== */
.calc-studio-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--stone-200);
  overflow: visible; /* Prevents harsh edge clipping */
}

.calc-tabs-header {
  display: flex;
  background: var(--stone-100);
  border-bottom: 1px solid var(--stone-200);
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  overflow: hidden;
}

.calc-tab-btn {
  flex: 1;
  padding: 18px 20px;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-500);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.calc-tab-btn:hover {
  color: var(--red);
}

.calc-tab-btn.active {
  background: var(--white);
  color: var(--red);
  border-bottom-color: var(--red);
  font-weight: 800;
}

.calc-tab-body {
  padding: clamp(24px, 3.5vw, 40px);
  display: none;
}

.calc-tab-body.active {
  display: block;
}

.calc-grid-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 3vw, 36px);
  align-items: start;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0; /* Critical: allows children to shrink and wrap */
}

.calc-dim-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.calc-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.calc-input-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.calc-input-label {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.calc-input-value-badge {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--red);
}

.calc-range-slider {
  width: 100%;
  accent-color: var(--red);
  cursor: pointer;
  height: 8px;
  border-radius: var(--radius-pill);
}

.calc-input-field {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--stone-300);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-900);
  background: var(--stone-50);
  width: 100%;
  box-sizing: border-box;
}

.calc-input-field:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px var(--red-soft);
  background: var(--white);
}

.pill-selectors {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill-opt {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--stone-300);
  background: var(--stone-50);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.pill-opt:hover {
  border-color: var(--red);
  color: var(--red);
}

.pill-opt.active {
  background: var(--carbon-900);
  color: var(--white);
  border-color: var(--carbon-900);
}

/* Calculator Result Panel */
.calc-result-panel {
  background: var(--carbon-900);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3vw, 36px) clamp(18px, 2.5vw, 28px);
  box-shadow: var(--shadow-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0; /* Prevents overflow */
  width: 100%;
  box-sizing: border-box;
}

.calc-result-main {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-big-number {
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-size: clamp(48px, 6vw, 68px);
  font-weight: 900;
  line-height: 0.95;
  color: var(--white);
  margin: 6px 0;
  word-break: break-word;
}

.calc-big-number span {
  color: var(--red);
  font-size: 0.55em;
  margin-left: 4px;
}

.calc-result-sub {
  color: #9ca3af;
  font-size: 13px;
}

.calc-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 12px;
}

.calc-breakdown-item span:first-child {
  color: #9ca3af;
  flex-shrink: 0;
}

.calc-breakdown-item span:last-child {
  font-weight: 700;
  color: var(--white);
  text-align: right;
  word-break: break-word;
}

.calc-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.calc-actions-row .btn {
  white-space: normal;
  text-align: center;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.2;
}

/* ==========================================================================
   Interactive Grout Shade Studio & Tile Simulator
   ========================================================================== */
.shade-studio-wrapper {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  align-items: start;
}

.shade-palette-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--stone-200);
}

.shade-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.shade-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.shade-card-item {
  border-radius: var(--radius-md);
  border: 1px solid var(--stone-200);
  background: var(--white);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.shade-card-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--stone-300);
}

.shade-card-item.selected {
  border: 2px solid var(--red);
  box-shadow: 0 0 0 4px var(--red-soft);
}

.shade-swatch-box {
  height: 64px;
  position: relative;
}

.shade-swatch-box.sparkle::after {
  content: '✦ SPARKLE';
  position: absolute;
  top: 6px;
  right: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 9px;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}

.shade-info-box {
  padding: 10px 12px;
}

.shade-name {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.2;
}

.shade-desc {
  font-size: 11px;
  color: var(--ink-400);
  margin-top: 2px;
}

/* Tile Simulator Preview */
.tile-simulator-box {
  background: var(--carbon-900);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 100px;
}

.simulator-wall {
  background: #2b303c;
  padding: 10px;
  border-radius: var(--radius-md);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
  margin: 18px 0;
}

.simulator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px; /* Grout joint */
  background: #f8f9fa; /* Grout line color controlled by JS */
  padding: 4px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.sim-tile {
  background: #ece8e1 url("../images/tile-texture.jpg") center/cover;
  height: 100px;
  border-radius: 2px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.08);
}

.simulator-details {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  margin-top: 16px;
}

.active-shade-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
}

.active-shade-sub {
  color: #9ca3af;
  font-size: 13px;
  margin-top: 4px;
}

/* ==========================================================================
   Product Detail Page (PDP)
   ========================================================================== */
.pdp-hero {
  background: var(--carbon-900);
  color: var(--white);
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}

.pdp-hero .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 50px;
  align-items: center;
}

.pdp-gallery-box {
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.15), transparent 60%),
    linear-gradient(180deg, #171a22, #0d0e12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-dark);
}

.pdp-main-img {
  max-height: 420px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.6));
}

.pdp-info-box h1 {
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 900;
  line-height: 0.95;
  color: var(--white);
}

.pdp-badges-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0 20px;
}

.pdp-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ff9da1;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

.pdp-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0 32px;
}

.pdp-spec-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.pdp-spec-box small {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 4px;
}

.pdp-spec-box strong {
  font-size: 15px;
  color: var(--white);
}

.pdp-test-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--stone-200);
}

.pdp-test-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--stone-200);
  font-size: 15px;
}

.pdp-test-table tr:last-child td {
  border-bottom: none;
}

.pdp-test-table td:first-child {
  color: var(--ink-500);
  width: 45%;
  font-weight: 500;
}

.pdp-test-table td:last-child {
  color: var(--ink-900);
  font-weight: 700;
}

/* Substrate Chips */
.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}

.chip-tag {
  background: var(--stone-200);
  color: var(--ink-900);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   Page Hero for Inner Pages
   ========================================================================== */
.inner-page-hero {
  position: relative;
  background: var(--carbon-900);
  color: var(--white);
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.inner-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, var(--red-glow), transparent 50%),
    linear-gradient(180deg, rgba(8, 9, 11, 0.7), rgba(8, 9, 11, 0.95));
  z-index: 1;
}

.inner-page-hero .wrap {
  position: relative;
  z-index: 2;
}

.inner-page-hero h1 {
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  line-height: 0.95;
}

.inner-page-hero p.lead {
  font-size: 18px;
  color: #d1d5db;
  max-width: 680px;
  margin-top: 14px;
}

/* ==========================================================================
   Forms & Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: start;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--stone-200);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--stone-300);
  background: var(--stone-50);
  font-size: 15px;
  color: var(--ink-900);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--red-soft);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--stone-200);
}

.contact-card-box h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
  background:
    radial-gradient(circle at 10% 50%, rgba(255, 255, 255, 0.15), transparent 40%),
    linear-gradient(90deg, #d3121b 0%, #8b090f 100%);
  color: var(--white);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  font-family: 'Barlow Condensed', Impact, sans-serif;
  font-size: clamp(36px, 4.5vw, 54px);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.cta-banner p {
  color: #ffd2d5;
  font-size: 17px;
  margin-top: 8px;
  max-width: 560px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer.site-footer {
  background: var(--carbon-900);
  color: #9ca3af;
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer.site-footer .grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: #9ca3af;
}

footer h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

footer ul a {
  color: #9ca3af;
  font-size: 14px;
  display: inline-block;
  transition: var(--transition);
}

footer ul a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #6b7280;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.floating-wa-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  background: #25d366;
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  cursor: pointer;
  transition: var(--transition);
  animation: waPulse 3s infinite;
}

.floating-wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.6);
}

.floating-wa-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content {
    max-width: 100%;
  }
  .system-grid,
  .system-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .shade-studio-wrapper {
    grid-template-columns: 1fr;
  }
  .tile-simulator-box {
    position: static;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .pdp-hero .wrap {
    grid-template-columns: 1fr;
  }
  footer.site-footer .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Stacking for Calculator & Mid-size displays */
@media (max-width: 992px) {
  .calc-grid-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .calc-tabs-header {
    flex-direction: column;
  }
  .calc-tab-btn {
    border-bottom: 1px solid var(--stone-200);
    padding: 14px 16px;
  }
  .calc-tab-btn.active {
    border-bottom: 3px solid var(--red);
  }
}

@media (max-width: 1140px) and (min-width: 921px) {
  .nav-menu {
    gap: 2px;
  }
  .nav-menu li a {
    padding: 8px 10px;
    font-size: 12px;
    letter-spacing: 0.02em;
  }
}

@media (max-width: 920px) {
  .topbar {
    display: none;
  }
  header.site-nav .wrap {
    min-height: 68px;
  }
  .mobile-drawer {
    top: 68px;
  }
  .nav-menu {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
  .proof-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .shade-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .wizard-form-grid {
    grid-template-columns: 1fr;
  }
  .wizard-result-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .wizard-result-img {
    margin: 0 auto;
  }
  /* Prevent iOS Safari auto-zoom when tapping form fields */
  input, select, textarea, .calc-input-field, .wizard-select, .form-control {
    font-size: 16px !important;
  }
}

@media (max-width: 600px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .system-grid,
  .system-grid-3 {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  .proof-bar {
    grid-template-columns: 1fr;
  }
  .shade-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pdp-specs-grid {
    grid-template-columns: 1fr;
  }
  footer.site-footer .grid {
    grid-template-columns: 1fr;
  }
  .showcase-pills {
    grid-template-columns: repeat(3, 1fr);
  }
  .calc-dim-grid {
    grid-template-columns: 1fr;
  }
  .calc-actions-row {
    grid-template-columns: 1fr;
  }
  /* Mobile padding and action ergonomics */
  .shade-palette-box,
  .tile-simulator-box,
  .calc-tab-body,
  .selector-wizard-container,
  .hero-pack-showcase {
    padding: 22px 16px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .floating-wa-btn {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
  .floating-wa-btn svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 440px) {
  .brand-logo img {
    height: 36px;
  }
  .shade-grid {
    gap: 10px;
  }
  .compare-table th, .compare-table td {
    padding: 12px 14px;
    font-size: 12px;
  }
}
