/* =========================================================
   Grand Unified Luxury Industrial Layout: Apple Dark Metal Aesthetic
   INOXSHEET Global Layout & Typography Engine
   1. Unified Site Page Width & Container System (Golden Industrial Proportions)
   2. Ergonomic Typography Hierarchy (Balanced Readability, No Fragmented Linebreaks)
   3. Card & Grid Geometry (Harmonious Padding, Auto-aligned Flex Cards)
   4. Universal High-Contrast Dark Theme Rules
   5. Apple Cold Metal Card Visuals & Responsive Engine
   ========================================================= */

:root {
  --site-max-width: 1240px;
  --page-gutter: max(5vw, 32px);
  --gold: #c5a880;
  --gold-hover: #b39366;
  --gold-subtle: #f5efeb;
  --slate: #1c2024;
}

@media (min-width: 1300px) {
  :root {
    --page-gutter: calc((100vw - var(--site-max-width)) / 2);
  }
}

/* =========================================================
   1. Unified Site Page Width & Container System
   Guarantees 100% edge-to-edge backgrounds with centered golden content
   ========================================================= */
body {
  overflow-x: hidden;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #1e293b;
  background: #f8fafc;
  -webkit-font-smoothing: antialiased;
}

/* All Base Section and Page Shells (100% Full-bleed backgrounds, zero edge voids) */
.site-header,
.hero,
.page-hero,
.section,
section.section,
.detail-hero,
.detail-section,
.breadcrumbs,
.calc-container,
.std-container,
.quote-layout,
.site-footer {
  width: 100% !important;
  max-width: none !important;
  padding-left: var(--page-gutter) !important;
  padding-right: var(--page-gutter) !important;
  box-sizing: border-box !important;
}

/* Section vertical rhythm & shell width guarantee */
.section,
section.section,
.section.cards,
.section.service-grid,
.section.app-grid,
.section.surface-section,
.section.trust,
.section.steps,
.section.detail-grid,
.section.grid,
.section.split,
.section.process,
.section.muted,
.section.dark {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-top: 42px !important;
  padding-bottom: 42px !important;
  padding-left: var(--page-gutter) !important;
  padding-right: var(--page-gutter) !important;
  box-sizing: border-box !important;
}

/* First section directly following any hero (Tight, seamless transition) */
.hero + .section,
.page-hero + .section,
.detail-hero + .detail-section,
main > section:first-of-type + section {
  padding-top: 36px !important;
}

/* Notice panels and CTA strips (Compact purposeful blocks) */
.notice-panel,
.section.notice-panel {
  padding-top: 30px !important;
  padding-bottom: 30px !important;
}

.cta-strip,
.section.cta-strip {
  padding-top: 32px !important;
  padding-bottom: 32px !important;
}

/* Grids and Card Layouts (Full 100% content width inside the padded section) */
.cards,
.service-grid,
.app-grid,
.tree-grid,
.steps,
.surface-section,
.trust,
.detail-grid,
.calc-wrapper,
.std-wrapper,
.form-grid {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

/* Text Intro & Note Blocks (Balanced centered reading widths inside 1240px container) */
div.intro,
.section > .intro {
  width: 100% !important;
  max-width: 1000px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-bottom: 18px !important;
  box-sizing: border-box !important;
}

div.spec-note,
.section > .spec-note {
  width: 100% !important;
  max-width: 960px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* Breadcrumbs */
.breadcrumbs {
  width: 100% !important;
  max-width: none !important;
  background: transparent !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding-top: 16px !important;
  padding-bottom: 16px !important;
  font-size: 14px !important;
}

.breadcrumbs a {
  color: #475569 !important;
  font-weight: 500 !important;
}

.breadcrumbs a:hover {
  color: #0f172a !important;
}

/* Header & Nav Controls */
.mobile-nav-header {
  display: none !important;
}

@media (min-width: 861px) {
  .menu-button {
    display: none !important;
  }
  .mobile-nav-header {
    display: none !important;
  }
}

/* =========================================================
   1. Homepage Hero (Restored to Original Deep Slate Metal Standard)
   ========================================================= */
.hero {
  width: 100% !important;
  max-width: none !important;
  min-height: 520px !important;
  background: var(--slate) !important;
  color: #ffffff !important;
  display: grid !important;
  grid-template-columns: 1.05fr 0.95fr !important;
  align-items: center !important;
  position: relative !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  padding-top: 48px !important;
  padding-bottom: 48px !important;
  padding-left: var(--page-gutter) !important;
  padding-right: var(--page-gutter) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-bottom: none !important;
}

.hero > * {
  max-width: none !important;
}

.hero-copy {
  max-width: none !important;
  padding: 0 36px 0 0 !important;
}

.hero h1 {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6) !important;
  font-size: clamp(34px, 3.4vw, 48px) !important;
  line-height: 1.15 !important;
  margin-bottom: 18px !important;
}

.hero .lead,
.hero p:not(.eyebrow) {
  color: #cbd5e1 !important;
  font-size: 17px !important;
  line-height: 1.62 !important;
  max-width: 680px !important;
  margin-bottom: 22px !important;
}

.hero .eyebrow {
  color: #f59e0b !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  font-size: 13px !important;
  margin-bottom: 12px !important;
}

.hero .actions {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-top: 24px !important;
  margin-bottom: 24px !important;
  flex-wrap: wrap !important;
}

/* =========================================================
   2. Landing Page Heroes (Sub-pages Full-Bleed Dark Metal Grid)
   ========================================================= */
.page-hero {
  width: 100% !important;
  max-width: none !important;
  padding-top: 48px !important;
  padding-bottom: 44px !important;
  padding-left: var(--page-gutter) !important;
  padding-right: var(--page-gutter) !important;
  background: radial-gradient(circle at 80% 20%, #1e293b 0%, #0f172a 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-sizing: border-box !important;
  color: #ffffff !important;
  position: relative !important;
  overflow: hidden !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.page-hero::after {
  display: none !important;
}

.page-hero.visual-hero,
.page-hero:has(.products-hero-visual),
.page-hero:has(.detail-visual),
.page-hero:has(.hero-visual) {
  display: grid !important;
  grid-template-columns: 1.1fr 0.9fr !important;
  gap: clamp(36px, 4vw, 64px) !important;
  align-items: center !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
}

.page-hero > * {
  max-width: none !important;
}

.page-hero-copy {
  max-width: none !important;
  padding: 0 !important;
}

.page-hero h1 {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6) !important;
  font-size: clamp(34px, 3.4vw, 48px) !important;
  line-height: 1.15 !important;
  margin-bottom: 18px !important;
}

.page-hero p:not(.eyebrow),
.page-hero-copy > p:not(.eyebrow) {
  color: #cbd5e1 !important;
  font-size: 17px !important;
  line-height: 1.62 !important;
  max-width: 680px !important;
  margin-bottom: 22px !important;
}

.page-hero .eyebrow {
  color: #f59e0b !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  font-size: 13px !important;
  margin-bottom: 12px !important;
}

/* Dual Action Buttons on Dark Hero */
.page-hero .actions,
.page-hero-copy .actions {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-top: 24px !important;
  margin-bottom: 24px !important;
  flex-wrap: wrap !important;
}

.btn.secondary.light {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
  transition: all 0.2s ease !important;
}

.btn.secondary.light:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-1px) !important;
}

/* Hero Stats Specification Grid on ALL Landing Heroes */
.hero-stats {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  margin-top: 24px !important;
  padding-top: 20px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
}

.hero-stats div dt {
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  margin-bottom: 3px !important;
}

.hero-stats div dd {
  color: #94a3b8 !important;
  font-size: 13px !important;
  margin: 0 !important;
  line-height: 1.4 !important;
}

/* Visual heights & floating tag */
.hero-visual,
.products-hero-visual {
  min-height: 440px !important;
  width: 100% !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45) !important;
  background-size: cover !important;
  background-position: center !important;
  position: relative !important;
}

.hero-visual span,
.products-hero-visual span {
  position: absolute !important;
  bottom: 16px !important;
  right: 16px !important;
  background: rgba(15, 23, 42, 0.8) !important;
  color: #f8fafc !important;
  padding: 6px 14px !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(6px) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* Sample Kit Banner */
.sample-kit-banner {
  margin: 36px 0 !important;
  padding: 44px 40px !important;
  border-radius: 16px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
}

/* Calculator & Standards Containers */
.calc-container,
.std-container {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: var(--page-gutter) !important;
  padding-right: var(--page-gutter) !important;
  padding-top: 2rem !important;
  padding-bottom: 4rem !important;
  box-sizing: border-box !important;
}

.calc-wrapper,
.std-toolbar,
.std-grades-grid {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.calc-wrapper {
  grid-template-columns: 1.25fr 420px !important;
  gap: 2.2rem !important;
  padding: 2.2rem !important;
}


/* =========================================================
   2. Ergonomic Typography Hierarchy
   Carefully calibrated to prevent excessive wrapping while
   preserving strong industrial authority and elegance
   ========================================================= */

/* H1: Primary Page Headline */
h1,
.hero h1,
.page-hero h1,
.detail-hero h1 {
  font-size: clamp(34px, 3.4vw, 48px) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.03em !important;
  font-weight: 800 !important;
  margin-bottom: 20px !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

/* H2: Section Titles */
h2,
.section h2,
.cta-strip h2 {
  font-size: clamp(24px, 2.4vw, 34px) !important;
  line-height: 1.24 !important;
  letter-spacing: -0.02em !important;
  font-weight: 700 !important;
  margin-bottom: 16px !important;
  overflow-wrap: break-word !important;
}

/* Sub-section & In-Column H2s (Detail grids, notice panels, callouts) */
.detail-grid h2,
.detail-section h2,
.notice-panel h2,
.callout h2 {
  font-size: clamp(21px, 1.8vw, 26px) !important;
  line-height: 1.3 !important;
  letter-spacing: -0.015em !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
}

/* General H3 */
h3 {
  font-size: 21px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  margin-top: 14px !important;
  margin-bottom: 10px !important;
}

/* CARD TITLES (CRITICAL: Targets both h2 and h3 inside all card types) */
.resource-card h2,
.resource-card h3,
.product-card h2,
.product-card h3,
.service-grid article h2,
.service-grid article h3,
.app-grid article h2,
.app-grid article h3,
.product-list article h2,
.product-list article h3,
.tree-branch h2,
.tree-branch h3,
.steps article h2,
.steps article h3 {
  font-size: 20px !important;
  line-height: 1.32 !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em !important;
  margin-top: 8px !important;
  margin-bottom: 10px !important;
  color: #0f172a !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
}

/* Lead & Hero Descriptions */
.lead,
.hero .lead,
.page-hero > p:not(.eyebrow),
.page-hero-copy > p:not(.eyebrow),
.detail-hero p:not(.eyebrow),
.intro > p:last-child,
.tree-intro {
  font-size: 18px !important;
  line-height: 1.6 !important;
  color: #475569 !important;
  max-width: 760px !important;
  margin-bottom: 22px !important;
}

/* Regular Body Text & Paragraphs */
p,
.section p,
.detail-section p {
  font-size: 16px !important;
  line-height: 1.65 !important;
}

/* Card Descriptions */
.product-card p,
.resource-card p,
.service-grid article p,
.app-grid article p,
.product-list article p,
.steps p {
  font-size: 15px !important;
  line-height: 1.58 !important;
  color: #475569 !important;
  margin-top: 0 !important;
  margin-bottom: 14px !important;
}

/* Eyebrows & Kickers */
.eyebrow,
.kicker {
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  margin-bottom: 12px !important;
  display: block !important;
}

.kicker {
  color: #94a3b8 !important;
}

/* Text Links */
.text-link,
.product-card .text-link,
.resource-card .text-link,
.service-grid .text-link,
.app-grid article .text-link,
.product-list article .text-link {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #b39366 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

.text-link:hover {
  color: #967648 !important;
  transform: translateX(3px) !important;
}

/* Action Buttons */
.btn {
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 13px 26px !important;
  border-radius: 6px !important;
}

/* Hero Stats Numbers */
.hero-stats dt {
  font-size: 22px !important;
  font-weight: 800 !important;
}

.hero-stats dd {
  font-size: 14px !important;
}

/* Tables & Specifications */
.spec-table,
.capability-matrix-section table,
.std-table {
  font-size: 15px !important;
  line-height: 1.55 !important;
}

.spec-table th,
.std-table th {
  padding: 14px 16px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.spec-table td,
.std-table td {
  padding: 14px 16px !important;
}


/* =========================================================
   3. Universal High-Contrast Dark Theme Rules
   Guarantees 100% readable white text on dark backgrounds
   ========================================================= */
.dark-page,
.page-hero.dark-page,
.section.dark,
.dark,
.hero,
.quote-intro,
.site-footer {
  color: #ffffff !important;
}

.page-hero.dark-page,
.dark-page {
  background: radial-gradient(circle at 80% 20%, #1e293b 0%, #0f172a 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.dark-page h1,
.dark-page h2,
.dark-page h3,
.dark-page h4,
.page-hero.dark-page h1,
.page-hero.dark-page h2,
.page-hero.dark-page h3,
.page-hero.dark-page .page-hero-copy h1,
.page-hero.dark-page .page-hero-copy h2,
.page-hero.dark-page .page-hero-copy h3,
.section.dark h1,
.section.dark h2,
.section.dark h3,
.hero h1,
.hero h2,
.hero h3,
.quote-intro h1,
.quote-intro h2,
.quote-intro h3,
.site-footer h1,
.site-footer h2,
.site-footer h3 {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6) !important;
}

.dark-page p,
.dark-page span,
.dark-page dd,
.dark-page .lead,
.page-hero.dark-page p,
.page-hero.dark-page span,
.page-hero.dark-page .lead,
.page-hero.dark-page .page-hero-copy > p,
.page-hero.dark-page .page-hero-copy p,
.section.dark p,
.section.dark span,
.section.dark .lead,
.hero p,
.hero span,
.hero dd,
.hero .lead,
.quote-intro p,
.quote-intro span,
.quote-intro .small-note,
.site-footer p,
.site-footer span,
.site-footer small {
  color: #cbd5e1 !important;
}

.dark-page .eyebrow,
.dark-page .kicker,
.page-hero.dark-page .eyebrow,
.page-hero.dark-page .kicker,
.hero .eyebrow,
.hero .kicker,
.quote-intro .eyebrow,
.quote-intro .kicker,
.section.dark .eyebrow {
  color: #f59e0b !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
}

.page-hero.dark-page .products-hero-visual {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}


/* =========================================================
   4. Card & Grid Geometry Architecture
   - Eliminates excessive horizontal voids
   - Harmonious padding across all text and image cards
   - Uniform flex column height with auto-pinned action links
   ========================================================= */

/* Grid Templates */
.grid.three {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 28px !important;
}

.grid.four {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px !important;
}

.grid.two {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 28px !important;
}

.service-grid,
.app-grid {
  display: grid !important;
  gap: 24px !important;
}

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

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

/* Base Card Shells */
.product-card,
.resource-card,
.product-list article,
.service-grid article,
.app-grid article,
.steps article {
  width: 100% !important;
  max-width: none !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.2s ease !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
}

.product-card:hover,
.resource-card:hover,
.product-list article:hover,
.service-grid article:hover,
.app-grid article:hover,
.steps article:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09) !important;
  border-color: #cbd5e1 !important;
}

/* TYPE A: Pure-Text & Technical Cards (Comfortable, generous all-around padding) */
.resource-card,
.service-grid article,
.app-grid article,
.steps article {
  padding: 30px 28px !important;
}

.resource-card > *,
.service-grid article > *,
.app-grid article > *,
.steps article > * {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* TYPE B: Visual Banner Cards (Image flushes to edge, text padded comfortably) */
.product-card,
.product-list article {
  padding: 0 0 28px !important;
}

.card-visual {
  height: 240px !important;
  margin: 0 !important;
  border-radius: 11px 11px 0 0 !important;
}

.mini-visual {
  height: 200px !important;
  margin: 0 0 16px !important;
  border-radius: 11px 11px 0 0 !important;
}

.product-card > *:not(.card-visual),
.product-list article > *:not(.mini-visual) {
  padding-left: 24px !important;
  padding-right: 24px !important;
}

/* Auto-pin action links to bottom of cards */
.product-card .text-link,
.resource-card .text-link,
.service-grid .text-link,
.app-grid article .text-link,
.product-list article .text-link {
  margin-top: auto !important;
  padding-top: 14px !important;
}

/* Product Tree Section */
.product-tree {
  background: #f1f5f9 !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

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

.tree-branch {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  padding: 26px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
}

.tree-branch ul li a {
  padding: 8px 0 !important;
  font-size: 15px !important;
}

/* Top Navigation Header */
.site-header {
  height: 76px !important;
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
}

.brand {
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
}

.brand small {
  font-size: 10px !important;
}

.main-nav {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: nowrap !important;
}

.main-nav a {
  position: relative !important;
  padding: 8px 12px !important;
  border-radius: 6px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.main-nav a:hover {
  color: #0f172a !important;
  background: #f1f5f9 !important;
}

.main-nav a.active {
  color: #0f172a !important;
  font-weight: 700 !important;
  background: #f1f5f9 !important;
  box-shadow: inset 0 0 0 1px #cbd5e1 !important;
}

.main-nav a.active::after {
  content: '' !important;
  position: absolute !important;
  bottom: -2px !important;
  left: 10px !important;
  right: 10px !important;
  height: 3px !important;
  background: #c5a880 !important;
  border-radius: 9999px !important;
}

.main-nav .nav-cta {
  background: #c5a880 !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  padding: 8px 18px !important;
  border-radius: 6px !important;
  border: none !important;
  margin-left: 8px !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
}

.main-nav .nav-cta:hover {
  background: #b39366 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(197, 168, 128, 0.3) !important;
}

/* Full-Card Touch Support */
.product-card,
.product-list article,
.service-grid article {
  position: relative;
  cursor: pointer;
}

.product-card .text-link::before,
.product-list article .text-link::before,
.service-grid article .text-link::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
}


/* =========================================================
   5. Apple Dark Metal Product Visual Classes
   ========================================================= */
.card-visual.coil, .mini-visual.coil { background: url("images/apple-slitting-coils-strips-1280.webp") center/cover no-repeat !important; }
.card-visual.sheet, .mini-visual.sheet { background: url("images/apple-stainless-steel-plates-1280.webp") center/cover no-repeat !important; }
.card-visual.circles, .mini-visual.circles { background: url("images/apple-circles-blanks-1280.webp") center/cover no-repeat !important; }
.card-visual.fabrication, .mini-visual.fabrication { background: url("images/apple-cad-laser-fabrication-1280.webp") center/cover no-repeat !important; }
.card-visual.goldsheet, .mini-visual.goldsheet { background: url("images/apple-pvd-samples-1280.webp") center/cover no-repeat !important; }
.card-visual.ripple, .mini-visual.ripple { background: url("images/real-water-ripple-stamped-sheet-1280.webp") center/cover no-repeat !important; }
.card-visual.texture, .mini-visual.texture { background: url("images/apple-etched-sheet-1280.webp") center/cover no-repeat !important; }
.card-visual.finish, .mini-visual.finish { background: url("images/apple-architectural-screens-1280.webp") center/cover no-repeat !important; }
.card-visual.tubes, .mini-visual.tubes { background: url("images/hero-products-showcase-1280.webp") center/cover no-repeat !important; }


/* =========================================================
   6. Mobile & Tablet Responsive Architecture
   ========================================================= */
@media (max-width: 1100px) {
  .hero {
    min-height: 480px !important;
  }
  .grid.four {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .grid.three,
  .service-grid,
  .app-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .tree-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 860px) {
  :root {
    --page-gutter: 20px;
  }

  /* Header & Mobile Drawer */
  .site-header {
    height: 64px !important;
    padding: 0 18px !important;
  }

  .menu-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #0f172a !important;
    color: #ffffff !important;
    border: none !important;
    padding: 7px 14px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
  }

  .main-nav {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: 290px !important;
    height: 100vh !important;
    background: #ffffff !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 20px 20px 40px !important;
    gap: 6px !important;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15) !important;
    z-index: 2000 !important;
    overflow-y: auto !important;
  }

  .main-nav.open {
    display: flex !important;
  }

  .main-nav a {
    display: flex !important;
    align-items: center !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    color: #334155 !important;
    min-height: 46px !important;
  }

  .main-nav a.active {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    font-weight: 700 !important;
  }

  .main-nav a.active::after {
    left: 8px !important;
    right: auto !important;
    top: 14px !important;
    bottom: 14px !important;
    width: 4px !important;
    height: auto !important;
  }

  .main-nav .nav-cta {
    margin: 16px 0 0 !important;
    text-align: center !important;
    justify-content: center !important;
    min-height: 48px !important;
  }

  /* Fluid Section Paddings */
  .section {
    padding: 40px 18px !important;
  }

  .page-hero {
    padding: 36px 18px 40px !important;
  }

  .hero {
    min-height: 0 !important;
    grid-template-columns: 1fr !important;
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }

  .page-hero.visual-hero,
  .page-hero:has(.products-hero-visual),
  .detail-hero {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .hero-copy {
    padding: 0 !important;
  }

  /* Typography & Hyphenation */
  h1 {
    font-size: clamp(26px, 6.5vw, 34px) !important;
    line-height: 1.18 !important;
  }

  h2 {
    font-size: clamp(21px, 5.2vw, 26px) !important;
    line-height: 1.25 !important;
  }

  p, .lead {
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  /* Visuals Adaptation */
  .products-hero-visual,
  .hero-visual,
  .detail-visual {
    min-height: 240px !important;
    max-height: 300px !important;
    border-radius: 10px !important;
    margin-top: 16px !important;
  }

  /* Responsive Grids */
  .grid.two,
  .grid.three,
  .grid.four,
  .service-grid,
  .tree-grid,
  .app-grid,
  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  /* Quote & RFQ Form on Mobile */
  .quote-layout {
    grid-template-columns: 1fr !important;
  }

  .quote-intro {
    padding: 36px 18px !important;
  }

  .rfq-form {
    padding: 36px 18px 60px !important;
  }

  .rfq-type-selector {
    grid-template-columns: 1fr !important;
  }

  input, select, textarea {
    font-size: 16px !important;
    min-height: 46px !important;
    padding: 10px 14px !important;
  }

  /* Sample Kit Banner on Mobile */
  .sample-kit-banner {
    margin: 20px 16px !important;
    padding: 28px 20px !important;
  }

  .sample-kit-banner > div {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Table Horizontal Scrolling */
  .capability-matrix-section table,
  .container-logistics-section table,
  .std-table {
    min-width: 600px !important;
  }

  /* Footer on Mobile */
  .site-footer {
    grid-template-columns: 1fr !important;
    padding: 40px 18px 80px !important;
    gap: 30px !important;
  }

  .site-footer.simple {
    padding: 24px 18px 80px !important;
    flex-direction: column !important;
    gap: 12px !important;
    text-align: center !important;
  }
}

/* Extra Small Phones (<= 480px) */
@media (max-width: 480px) {
  .hero-stats {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
  }

  .hero-stats div dt {
    font-size: 18px !important;
  }

  .actions {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .actions .btn {
    width: 100% !important;
    min-height: 48px !important;
  }
}

/* Mobile Drawer Top Header */
.mobile-nav-header {
  display: none;
}

@media (max-width: 860px) {
  .mobile-nav-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 4px 18px !important;
    margin-bottom: 12px !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }

  .mobile-nav-title {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13px !important;
    color: #0f172a !important;
  }

  .mobile-nav-close {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    font-size: 20px !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    line-height: 1 !important;
    transition: background 0.2s !important;
  }

  .mobile-nav-close:hover {
    background: #e2e8f0 !important;
  }
}
