/* ==========================================================================
   BRICKS & STEEL TECHNICAL SERVICES L.L.C - MASTER STYLESHEET
   Trade Licence: 579445 (Dubai DET) | TRN: 100024790600003 | Est. 2006
   Tier-1 Architectural Engineering & Facilities Design System
   ========================================================================== */

/* --- CSS Variables / Design Tokens (Architectural Light & Contrast) --- */
:root {
  /* Architectural Light Palette */
  --color-canvas: #f8fafc;          /* Slate 50 clean site canvas */
  --color-surface-base: #ffffff;    /* Pure white primary section surface */
  --color-surface-subtle: #f1f5f9;  /* Slate 100 subtle section surface */
  --color-surface-card: #ffffff;    /* Pure white elevated card surface */
  --color-surface-card-hover: #ffffff;
  --color-surface-input: #ffffff;

  /* Legacy compatibility aliases */
  --color-surface: #ffffff;
  --color-surface-alt: #f1f5f9;
  --color-primary: #0f172a;        /* Slate 900 primary structural text */
  --color-primary-light: #1e293b;  /* Slate 800 */
  --color-primary-subtle: #475569; /* Slate 600 */

  /* High-Impact Structural Dark (Anchors) */
  --color-navy-dark: #070d1a;      /* Deep midnight navy for footer and anchors */
  --color-navy-panel: #0b1329;     /* Deep navy for commercial/command sections */
  --color-navy-surface: #121d38;   /* Elevated dark card surface */

  /* Architectural Amber / Bronze Accent */
  --color-accent: #b45309;          /* Amber 700 / Architectural bronze for high contrast */
  --color-accent-hover: #d97706;    /* Amber 600 */
  --color-accent-light: rgba(180, 83, 9, 0.08);
  --color-accent-border: rgba(180, 83, 9, 0.25);
  --color-highlight: #d97706;

  /* Status Colors */
  --color-success: #059669;
  --color-success-bg: rgba(5, 150, 105, 0.08);
  --color-success-border: rgba(5, 150, 105, 0.25);

  /* Hairline Precision Borders */
  --color-border: rgba(15, 23, 42, 0.08);
  --color-border-dark: rgba(15, 23, 42, 0.14);
  --color-border-hover: rgba(15, 23, 42, 0.22);

  /* Typography Contrast */
  --color-text-main: #0f172a;       /* Slate 900 for Primary Headings & Text (14:1 AA) */
  --color-text-muted: #475569;      /* Slate 600 for Body (7:1 AA contrast) */
  --color-text-light: #64748b;      /* Slate 500 Sub-meta */
  --color-text-inverse: #f8fafc;    /* White text on dark surfaces */

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, "Liberation Mono", Menlo, Courier, monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 48px -6px rgba(15, 23, 42, 0.12);

  /* Physics-Based Easing Curves */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --transition-fast: 150ms var(--ease-out-expo);
  --transition-normal: 250ms var(--ease-out-expo);
  --transition-spring: 300ms var(--ease-out-spring);
  --container-max: 1240px;
}

/* --- Browser Surfaces Theming --- */
::selection {
  background: rgba(180, 83, 9, 0.2);
  color: #0f172a;
}

input, textarea, select {
  caret-color: var(--color-accent);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: var(--radius-full);
  border: 2px solid #f1f5f9;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* Accessible High-Contrast Focus Rings */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* --- Reset & Base Layout --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  overflow-x: hidden;
  background-color: var(--color-canvas);
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background-color: var(--color-canvas);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 0;
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 72px; /* Reserves space for sticky mobile call bar */
  }
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent-hover);
}

/* Typographic Measure & Scale */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-main);
  font-weight: 700;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.1rem, 3.8vw + 0.8rem, 3.25rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.65rem, 2.4vw + 0.5rem, 2.25rem);
  margin-bottom: 0.875rem;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}

p {
  margin-bottom: 1.25rem;
  color: var(--color-text-muted);
  max-width: 68ch;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* --- Top Utility Bar --- */
.top-bar {
  background-color: var(--color-navy-dark);
  color: #94a3b8;
  font-size: 0.825rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-items {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #cbd5e1;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  color: var(--color-accent-hover);
  flex-shrink: 0;
}

.top-bar-item a {
  color: #f8fafc;
  font-weight: 600;
}

.top-bar-item a:hover {
  color: var(--color-accent-hover);
}

.top-bar-badge {
  background: rgba(217, 119, 6, 0.18);
  color: #f59e0b;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

/* --- Main Navigation Header --- */
.header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
  box-shadow: 0 2px 12px -2px rgba(15, 23, 42, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo {
  width: 260px;
  height: 40px;
  display: block;
  flex-shrink: 0;
}

.footer-brand-logo {
  width: 275px;
  height: 42px;
  display: block;
}

.drawer-brand-logo {
  width: 210px;
  height: 32px;
  display: block;
}

@media (max-width: 640px) {
  .brand-logo {
    width: 170px;
    height: 26px;
  }
}

.brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(15, 23, 42, 0.2);
  color: #f59e0b;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: -0.05em;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-tagline {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  font-weight: 600;
  margin-top: 2px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: #334155;
  padding: 0.5rem 0.25rem;
  min-height: 44px;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-accent);
}

.nav-dropdown-wrapper {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 290px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s var(--ease-out-expo), transform 0.18s var(--ease-out-expo), visibility 0.18s;
  z-index: 200;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu,
.nav-dropdown-wrapper:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
  color: #334155;
  font-weight: 500;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.dropdown-item:hover {
  background-color: var(--color-surface-subtle);
  color: var(--color-accent);
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  cursor: pointer;
  padding: 0.5rem;
  min-height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
}

@media (max-width: 1024px) {
  .nav-desktop, .header-cta-group .btn-secondary-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}

/* Off-Canvas Mobile Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background-color: #ffffff;
  border-left: 1px solid var(--color-border);
  z-index: 999;
  padding: 1.5rem;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.25s var(--ease-out-expo);
  box-shadow: var(--shadow-xl);
}

.mobile-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-text-muted);
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-nav {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.drawer-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-main);
  padding: 0.65rem 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-surface-subtle);
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  text-decoration: none;
  width: 100%;
  font-family: inherit;
  text-align: left;
}

.drawer-dropdown-toggle {
  justify-content: space-between;
  cursor: pointer;
  color: var(--color-accent);
}

.drawer-dropdown-toggle .drawer-chevron {
  transition: transform 0.25s var(--ease-out-expo);
  color: var(--color-text-muted);
}

.drawer-dropdown-toggle[aria-expanded="true"] .drawer-chevron {
  transform: rotate(180deg);
}

.drawer-subgroup {
  display: none;
  padding-left: 0.75rem;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.drawer-subgroup.active {
  display: flex;
}

.drawer-sublink {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  min-height: 44px;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: color 0.15s ease;
}

.drawer-sublink:hover {
  color: var(--color-accent);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  min-height: 44px;
  font-family: var(--font-heading);
  font-size: 0.925rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease-out-expo), background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
  line-height: 1.2;
}

.btn:active {
  transform: scale(0.97);
  transition: transform 0.05s ease;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
  box-shadow: 0 2px 8px rgba(180, 83, 9, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(180, 83, 9, 0.35);
}

.btn-whatsapp {
  background-color: #1b8a47;
  color: #ffffff;
  border-color: #1b8a47;
  box-shadow: 0 2px 8px rgba(27, 138, 71, 0.25);
}

.btn-whatsapp:hover {
  background-color: #22a655;
  border-color: #22a655;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(27, 138, 71, 0.35);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--color-primary);
  border-color: var(--color-border-dark);
}

.btn-secondary:hover {
  background-color: var(--color-surface-subtle);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-dark {
  background-color: var(--color-navy-dark);
  color: #ffffff;
  border-color: var(--color-navy-dark);
}

.btn-dark:hover {
  background-color: #1e293b;
  border-color: #1e293b;
  color: #ffffff;
}

.btn-lg {
  padding: 0.95rem 1.75rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.825rem;
}

.btn-block {
  width: 100%;
}

/* --- Badges --- */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-surface-subtle);
  border: 1px solid var(--color-border);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.badge-primary {
  background: var(--color-accent-light);
  border-color: var(--color-accent-border);
  color: var(--color-accent);
}

.badge-dark {
  background: var(--color-navy-dark);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* --- Hero Section (Editorial Photographic Split) --- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 4.5rem 0 4rem 0;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 1024px) {
  .hero-split-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.hero-authority-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: var(--color-accent-light);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-accent-border);
}

.hero-status-pulse {
  width: 7px;
  height: 7px;
  background-color: var(--color-accent);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px rgba(180, 83, 9, 0.6);
}

.hero-title {
  color: var(--color-primary);
  font-size: clamp(2.2rem, 3.8vw + 0.5rem, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-desc {
  color: var(--color-text-muted);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 62ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 500;
  background: #ffffff;
  border: 1px solid var(--color-border);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.trust-item strong {
  color: var(--color-primary);
  font-weight: 700;
}

.trust-item svg {
  color: var(--color-accent);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Hero Media & Operational Command Frame */
.hero-media-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.hero-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.hero-media-wrapper:hover .hero-img {
  transform: scale(1.02);
}

/* Floating Operational Status Dashboard Overlaid on Hero Image */
.hero-floating-card {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(7, 13, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.hero-floating-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-floating-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #cbd5e1;
}

.hero-floating-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-floating-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .hero-floating-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}

@media (max-width: 380px) {
  .hero-floating-cell-val {
    font-size: 0.85rem;
  }
}

.hero-floating-cell-label {
  font-size: 0.65rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-floating-cell-val {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 2px;
}

/* --- Section Containers --- */
.section {
  padding: 5rem 0;
  background-color: var(--color-surface-base);
}

.section-alt {
  padding: 5rem 0;
  background-color: var(--color-surface-subtle);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-dark {
  padding: 5rem 0;
  background-color: var(--color-navy-panel);
  color: #ffffff;
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: #ffffff;
}

.section-dark p {
  color: #cbd5e1;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

.section-header p {
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--color-primary);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
  max-width: 64ch;
}

/* --- Grids --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .section, .section-alt, .section-dark {
    padding: 3.5rem 0;
  }
}

/* --- Cards (Bento & Surface Elevation) --- */
.card {
  background: var(--color-surface-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease-out-expo), box-shadow 0.2s var(--ease-out-expo), border-color 0.2s var(--ease-out-expo);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(180, 83, 9, 0.3);
}

.card:active {
  transform: scale(0.98);
}

/* Card Image Header (Craft Floor Pillar: Authentic Field Photography) */
.card-image-header {
  margin: -1.85rem -1.85rem 1.5rem -1.85rem;
  height: 180px;
  overflow: hidden;
  position: relative;
  background-color: var(--color-surface-subtle);
}

.card-image-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-image-header img {
  transform: scale(1.05);
}

.card-icon {
  width: 44px;
  height: 44px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  border: 1px solid var(--color-accent-border);
  transition: transform 0.2s var(--ease-out-expo), background-color 0.2s ease;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.card:hover .card-icon {
  transform: scale(1.05);
  background-color: rgba(180, 83, 9, 0.15);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.card-desc {
  font-size: 0.925rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
  max-width: 68ch;
  line-height: 1.55;
}

/* Bento Hero Cards (Core Specializations) */
.card-anchor {
  border: 1px solid rgba(180, 83, 9, 0.35);
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

.card-anchor-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--color-accent);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.card-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.card-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.card-list-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 3px;
  width: 14px;
  height: 14px;
}

/* Feature Advantage Blocks */
.advantage-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--ease-out-expo), border-color 0.2s var(--ease-out-expo);
}

.advantage-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-accent) 0%, rgba(180, 83, 9, 0.2) 100%);
}

.advantage-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent);
}

.advantage-card h3 {
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
}

.advantage-card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Response Time Commitment Banner */
.response-banner {
  background: #ffffff;
  border: 1px solid var(--color-accent-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  font-size: 0.875rem;
  color: var(--color-text-main);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.25rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.response-banner strong {
  color: var(--color-accent);
}

/* --- Pricing / AMC Matrix --- */
.amc-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s var(--ease-out-expo), box-shadow 0.2s var(--ease-out-expo), border-color 0.2s var(--ease-out-expo);
}

.amc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.amc-card.featured {
  border-color: var(--color-accent);
  box-shadow: 0 12px 35px -4px rgba(180, 83, 9, 0.18);
}

.amc-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: white;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(180, 83, 9, 0.3);
}

.amc-tier-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: var(--color-primary);
}

.amc-subtitle {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 1.25rem;
}

.amc-visit-count {
  background: var(--color-surface-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  text-align: center;
  font-weight: 700;
  color: var(--color-accent);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.amc-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.amc-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.amc-feature-item svg {
  color: var(--color-success);
  flex-shrink: 0;
  margin-top: 3px;
  width: 14px;
  height: 14px;
}

/* --- Credentials Table --- */
.credentials-table-wrapper {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin: 2rem 0;
}

.credentials-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.credentials-table th, .credentials-table td {
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.credentials-table th {
  background-color: var(--color-surface-subtle);
  font-weight: 700;
  color: var(--color-primary);
  width: 38%;
}

.credentials-table td {
  color: var(--color-text-main);
}

.credentials-table tr:last-child td,
.credentials-table tr:last-child th {
  border-bottom: none;
}

/* --- Forms & Inputs --- */
.quote-box {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  min-height: 44px;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 0.925rem;
  color: var(--color-text-main);
  background-color: var(--color-surface-input);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  cursor: pointer;
}

.form-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--color-accent);
}

.form-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

@media (max-width: 640px) {
  .form-checkbox-grid {
    grid-template-columns: 1fr;
  }
}

/* --- FAQ Component --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s var(--ease-out-expo), box-shadow 0.2s var(--ease-out-expo);
}

.faq-item:hover {
  border-color: var(--color-accent-border);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  min-height: 48px;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 1rem;
}

.faq-icon {
  transition: transform 0.2s var(--ease-out-expo);
  font-size: 1.25rem;
  color: var(--color-accent);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* --- Social Proof Placeholder Reserved Space --- */
.reserved-space {
  border: 1px dashed var(--color-border-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  color: var(--color-text-light);
  background: #ffffff;
  margin: 2rem auto;
  max-width: 860px;
}

.reserved-space h4 {
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.reserved-space p {
  margin-left: auto;
  margin-right: auto;
  max-width: 75ch;
  text-wrap: balance;
}

/* --- Sticky Mobile Call Bar --- */
.sticky-mobile-bar {
  display: none;
}

@media (max-width: 768px) {
  .sticky-mobile-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(180, 83, 9, 0.35);
    z-index: 999;
    padding: 0.5rem 0.25rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  }

  .sticky-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0.4rem 0.2rem;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    border-radius: var(--radius-sm);
    min-height: 48px;
    transition: transform 0.15s var(--ease-out-expo), background-color 0.15s ease;
  }

  .sticky-btn:active {
    transform: scale(0.95);
    background-color: rgba(255, 255, 255, 0.08);
  }

  .sticky-btn svg {
    width: 20px;
    height: 20px;
  }

  .sticky-btn.call {
    color: #e2e8f0;
  }

  .sticky-btn.whatsapp {
    color: #25d366;
  }

  .sticky-btn.quote {
    color: #f59e0b;
  }
}

/* --- Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  transform: scale(0.96) translateY(10px);
  opacity: 0;
  transition: transform 0.25s var(--ease-out-expo), opacity 0.25s ease;
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-text-light);
  cursor: pointer;
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.modal-close:hover {
  color: var(--color-primary);
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  max-width: 420px;
  background: #ffffff;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  z-index: 1500;
  display: none;
}

.cookie-banner.active {
  display: block;
}

@media (max-width: 768px) {
  .cookie-banner {
    bottom: 80px;
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
}

.cookie-banner h4 {
  color: var(--color-primary);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.cookie-banner p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  background-color: var(--color-navy-dark);
  color: #94a3b8;
  padding: 4.5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  contain: paint;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h4, .footer-heading {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col p {
  color: #94a3b8;
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
}

.footer-link-item {
  margin-bottom: 0.6rem;
}

.footer-link-item a, .footer-link {
  display: block;
  margin-bottom: 0.6rem;
  color: #cbd5e1;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-link-item a:hover, .footer-link:hover {
  color: var(--color-highlight);
}

.footer-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.footer-social-link svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.footer-social-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-highlight);
  transform: translateY(-1px);
}

.footer-social-link:hover svg {
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .footer-social-link {
    min-height: 44px;
    padding: 0.6rem 0.85rem;
  }
}

.payment-methods-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.payment-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.payment-chip svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--color-highlight);
}

/* Footer Bottom Legal Bar */
.footer-legal-bar {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: #64748b;
  text-align: center;
  line-height: 1.8;
}

.footer-legal-bar a {
  color: #94a3b8;
  text-decoration: underline;
}

.footer-legal-bar a:hover {
  color: #ffffff;
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-auto { margin-top: auto; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* --- C8: Case Studies Block Desktop Centering --- */
@media (min-width: 769px) {
  .case-studies-block {
    text-align: center;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
  }
  .case-studies-block h4,
  .case-studies-block p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/* --- C10: Responsive Line Break for Mobile Only --- */
.mobile-break {
  display: none;
}

@media (max-width: 768px) {
  .mobile-break {
    display: block;
  }
}

/* --- C4: Form Compliance Helper Text --- */
.form-helper-text {
  font-size: 0.78rem;
  color: var(--color-text-light);
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}
