/* ============================================================
   TrueView Strata Inspection — Design Tokens & Styles
   Brand: Primary #F6882D · Dark #004156 · Teal support #157986
   ============================================================ */

:root {
  /* ---------- Brand (immutable) ---------- */
  --brand-primary: #F6882D;
  --brand-accent: #157986;
  --brand-primary-dark: #004156;

  /* ---------- Primary scale ---------- */
  --primary: #F6882D;
  --primary-hover: #e07820;
  --primary-active: #c96818;
  --primary-dark: #004156;
  --primary-mid: #d9771a;
  --primary-soft: rgba(246, 136, 45, 0.10);
  --primary-muted: rgba(246, 136, 45, 0.12);
  --primary-tint: rgba(246, 136, 45, 0.14);
  --primary-ring: rgba(246, 136, 45, 0.18);
  --primary-border-focus: rgba(246, 136, 45, 0.70);

  /* ---------- Accent scale (teal support) ---------- */
  --accent: #157986;
  --accent-hover: #116a75;
  --accent-active: #0e5963;
  /* Darker orange for small text links — WCAG AA on white */
  --accent-text: #b8610f;
  --accent-soft: rgba(21, 121, 134, 0.12);
  --accent-muted: rgba(21, 121, 134, 0.16);
  --accent-tint: rgba(21, 121, 134, 0.20);

  /* ---------- Backgrounds (60% neutrals) ---------- */
  --background: #ffffff;
  --background-subtle: #fffaf6;
  --section: #fff7f0;
  --section-alt: #ffefe3;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.86);
  --surface-glass-strong: rgba(255, 255, 255, 0.92);
  --surface-trust: rgba(255, 255, 255, 0.72);
  --modal-bg: #ffffff;
  --sidebar-bg: #fff7f0;
  --footer-bg: #004156;
  --navbar-bg: rgba(255, 255, 255, 0.88);
  --navbar-border: rgba(232, 214, 196, 0.75);

  /* ---------- Text ---------- */
  --text: #1e333b;
  --text-secondary: #4a6068;
  --text-muted: #5a727a;
  --text-heading: #004156;
  --text-white: #ffffff;
  --text-disabled: #94a8b0;
  --text-on-dark: rgba(255, 255, 255, 0.72);
  --text-on-dark-soft: rgba(255, 255, 255, 0.68);
  --text-on-dark-muted: rgba(255, 255, 255, 0.58);
  --text-on-dark-faint: rgba(255, 255, 255, 0.38);

  /* ---------- Interactive ---------- */
  --btn-primary-bg: #F6882D;
  --btn-primary-hover: #e07820;
  --btn-primary-active: #c96818;
  /* Dark text on orange for AA compliance */
  --btn-primary-text: #004156;
  --btn-primary-shadow: 0 14px 32px rgba(246, 136, 45, 0.28);

  --btn-secondary-bg: rgba(255, 255, 255, 0.86);
  --btn-secondary-hover: #ffffff;
  --btn-secondary-text: #004156;
  --btn-secondary-border: #e8d6c4;

  --btn-cta-bg: #F6882D;
  --btn-cta-hover: #e07820;
  --btn-cta-active: #c96818;
  /* Dark text on orange for AA compliance */
  --btn-cta-text: #004156;

  --btn-ghost-bg: transparent;
  --btn-ghost-hover: rgba(246, 136, 45, 0.08);
  --btn-outline-border: #e8d6c4;
  --btn-outline-hover: #F6882D;

  --link: #d9771a;
  --link-hover: #004156;
  --link-active: #c96818;

  /* ---------- Borders ---------- */
  --border-light: #f5ebe3;
  --border: #e8d6c4;
  --border-medium: #d4bda8;
  --border-dark: #a08a78;
  --border-input: #e8d6c4;
  --border-focus: #F6882D;
  --divider: #f0e4d8;
  --border-on-dark: rgba(255, 255, 255, 0.12);
  --border-on-dark-strong: rgba(255, 255, 255, 0.30);

  /* ---------- Status ---------- */
  --success: #1a7a5a;
  --success-soft: rgba(26, 122, 90, 0.12);
  --warning: #c47a12;
  --warning-soft: rgba(196, 122, 18, 0.12);
  --danger: #c03545;
  --danger-soft: rgba(192, 53, 69, 0.10);
  --info: #F6882D;
  --info-soft: rgba(246, 136, 45, 0.12);
  --disabled: #94a8b0;
  --disabled-bg: #f5efe9;

  /* ---------- Shadows (subtle, brand-tinted) ---------- */
  --shadow-xs: 0 4px 12px rgba(0, 65, 86, 0.04);
  --shadow-soft: 0 18px 60px rgba(0, 65, 86, 0.10);
  --shadow-card: 0 14px 40px rgba(0, 65, 86, 0.08);
  --shadow-header: 0 10px 30px rgba(0, 65, 86, 0.07);
  --shadow-float: 0 12px 30px rgba(0, 65, 86, 0.05);
  --shadow-feature: 0 16px 45px rgba(0, 65, 86, 0.06);
  --shadow-elevated: 0 18px 44px rgba(0, 65, 86, 0.06);
  --shadow-brand: 0 10px 24px rgba(246, 136, 45, 0.22);
  --shadow-chat: 0 20px 45px rgba(0, 65, 86, 0.26);
  --shadow-building: 0 18px 35px rgba(0, 65, 86, 0.22);
  --shadow-pin: 0 0 0 10px rgba(246, 136, 45, 0.14);
  --shadow-focus: 0 0 0 4px rgba(246, 136, 45, 0.16);
  --shadow-danger-focus: 0 0 0 4px rgba(192, 53, 69, 0.10);

  /* ---------- Gradients (primary family) ---------- */
  --gradient-brand: linear-gradient(135deg, #c96818 0%, #F6882D 100%);
  --gradient-brand-soft: linear-gradient(180deg, #e07820 0%, #c96818 100%);
  --gradient-hero: linear-gradient(180deg, #fffaf6 0%, #ffffff 100%);
  --gradient-surface-fade: linear-gradient(180deg, rgba(255, 247, 240, 0), rgba(255, 247, 240, 1));
  --gradient-mark: linear-gradient(135deg, rgba(246, 136, 45, 0.95), rgba(201, 104, 24, 0.95));

  /* ---------- Selection / scrollbar ---------- */
  --selection-bg: rgba(246, 136, 45, 0.18);
  --selection-text: #004156;
  --scrollbar-track: #fff7f0;
  --scrollbar-thumb: #d4bda8;
  --scrollbar-thumb-hover: #F6882D;

  /* ---------- Typography & layout (unchanged) ---------- */
  --font-heading: 'Manrope', Inter, ui-sans-serif, system-ui, sans-serif;
  --font-main: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;

  --transition: 220ms ease;

  /* ---------- Legacy aliases (HTML inline styles) ---------- */
  --color-navy: var(--primary-dark);
  --color-navy-2: var(--primary-mid);
  --color-charcoal: var(--text);
  --color-muted: var(--text-muted);
  --color-soft: var(--section);
  --color-soft-2: var(--section-alt);
  --color-white: var(--text-white);
  --color-border: var(--border);
  --color-accent: var(--primary);
  --color-accent-dark: var(--primary-hover);
  --color-gold: var(--primary);
}

/* ---------- Global ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
}

::selection {
  background: var(--selection-bg);
  color: var(--selection-text);
}

::-moz-selection {
  background: var(--selection-bg);
  color: var(--selection-text);
}

/* Scrollbar — WebKit */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 999px;
  border: 2px solid var(--scrollbar-track);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}

/* Scrollbar — Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.section {
  padding: 98px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 3.35rem);
  max-width: 820px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  color: var(--text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

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

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

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--text-white);
  box-shadow: var(--btn-primary-shadow);
}

.btn-primary:hover {
  background: var(--btn-primary-hover);
}

.btn-primary:active {
  background: var(--btn-primary-active);
}

.btn-secondary {
  background: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  border-color: var(--btn-secondary-border);
}

.btn-secondary:hover {
  background: var(--btn-secondary-hover);
  box-shadow: var(--shadow-card);
}

.btn-cta {
  background: var(--btn-cta-bg);
  color: var(--btn-cta-text);
  box-shadow: 0 14px 32px rgba(246, 136, 45, 0.28);
}

.btn-cta:hover {
  background: var(--btn-cta-hover);
}

.btn-cta:active {
  background: var(--btn-cta-active);
}

.btn-ghost {
  background: var(--btn-ghost-bg);
  color: var(--primary);
}

.btn-ghost:hover {
  background: var(--btn-ghost-hover);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--btn-outline-border);
}

.btn-outline:hover {
  border-color: var(--btn-outline-hover);
  background: var(--primary-soft);
}

.btn-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.9rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navbar-bg);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--navbar-border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-header);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  display: block;
  height: 58px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: var(--text-white);
  font-weight: 900;
  background:
    var(--gradient-mark),
    var(--primary);
  box-shadow: var(--shadow-brand);
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text strong {
  color: var(--text-heading);
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.brand-text small {
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--text);
  font-weight: 750;
  font-size: 0.95rem;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  transition: width var(--transition);
}

.site-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text-heading);
  border-radius: 999px;
}

/* Hero */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 92px 0 108px;
  background:
    radial-gradient(circle at 80% 5%, var(--primary-tint), transparent 34%),
    radial-gradient(circle at 10% 20%, var(--accent-soft), transparent 28%),
    var(--gradient-hero);
}

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(1px);
  opacity: 0.5;
}

.hero-bg::before {
  width: 360px;
  height: 360px;
  right: -130px;
  top: 150px;
  border: 60px solid var(--primary-soft);
}

.hero-bg::after {
  width: 240px;
  height: 240px;
  left: -90px;
  bottom: 40px;
  border: 44px solid var(--accent-soft);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 60px;
}

.hero-content p {
  max-width: 650px;
  font-size: 1.14rem;
  margin-top: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 12px;
  max-width: 610px;
  margin-top: 40px;
}

.trust-item {
  padding: 18px;
  background: var(--surface-trust);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
}

.trust-item strong {
  display: block;
  color: var(--text-heading);
  font-size: 1.25rem;
  line-height: 1;
}

.trust-item span {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 6px;
}

.hero-visual {
  position: relative;
  min-height: 550px;
}

.inspection-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid rgba(212, 226, 230, 0.9);
  box-shadow: var(--shadow-soft);
}

.main-card {
  width: min(100%, 430px);
  min-height: 480px;
  right: 20px;
  top: 30px;
  border-radius: 36px;
  padding: 26px;
  overflow: hidden;
}

.main-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -50px auto;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: var(--primary-soft);
}

.card-topline {
  display: flex;
  gap: 8px;
}

.card-topline span {
  width: 42px;
  height: 8px;
  border-radius: 999px;
  background: var(--section-alt);
}

.card-topline span:first-child {
  width: 74px;
  background: var(--primary);
}

.building-illustration {
  position: relative;
  height: 305px;
  margin: 42px 0 25px;
  background:
    var(--gradient-surface-fade),
    repeating-linear-gradient(90deg, transparent 0 33px, rgba(246, 136, 45, 0.06) 33px 34px);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.building {
  position: absolute;
  bottom: 0;
  border-radius: 18px 18px 0 0;
  background: var(--gradient-brand-soft);
  box-shadow: var(--shadow-building);
}

.building::before {
  content: "";
  position: absolute;
  inset: 18px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 12px, transparent 12px 28px),
    repeating-linear-gradient(180deg, transparent 0 26px, rgba(255, 255, 255, 0.18) 26px 38px);
  border-radius: 8px;
}

.tower-one {
  width: 96px;
  height: 210px;
  left: 38px;
}

.tower-two {
  width: 118px;
  height: 270px;
  left: 142px;
  background: var(--gradient-brand);
}

.tower-three {
  width: 82px;
  height: 170px;
  right: 45px;
}

.report-strip {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 247, 240, 0.85);
}

.report-strip small {
  display: block;
  color: var(--text-muted);
  font-weight: 750;
}

.report-strip strong {
  display: block;
  color: var(--text-heading);
}

.status-pill {
  color: var(--primary-hover);
  background: var(--primary-muted);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 850;
}

.floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 245px;
  padding: 16px;
  background: var(--surface-glass-strong);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}

.floating-card strong,
.floating-card small {
  display: block;
}

.floating-card strong {
  color: var(--text-heading);
  line-height: 1.2;
}

.floating-card small {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 650;
  margin-top: 3px;
}

.floating-card-one {
  left: 0;
  top: 88px;
}

.floating-card-two {
  right: 0;
  bottom: 42px;
}

.icon-circle {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary-muted);
  color: var(--primary-hover);
  font-weight: 900;
}

/* Shared Layouts */
.two-column,
.area-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.section-copy p {
  margin-top: 18px;
  font-size: 1.03rem;
}

.section-header {
  max-width: 720px;
  margin-bottom: 46px;
}

.section-header.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header.centered .eyebrow {
  justify-content: center;
}

.feature-stack {
  display: grid;
  gap: 18px;
}

.feature-card {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-feature);
}

.feature-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--section);
  color: var(--primary-hover);
  font-weight: 900;
}

.feature-card p {
  margin-top: 8px;
}

/* Services */
.services-section {
  background: var(--section);
}

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

.service-card {
  min-height: 250px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid rgba(212, 226, 230, 0.95);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-elevated);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 18px;
  background: var(--primary-muted);
  color: var(--primary-hover);
  font-weight: 900;
}

.service-card p {
  margin-top: 12px;
}

.service-card.highlighted {
  background: var(--gradient-brand);
  border-color: transparent;
}

.service-card.highlighted h3,
.service-card.highlighted p {
  color: var(--text-white);
}

.service-card.highlighted p {
  opacity: 0.85;
}

.service-card.highlighted .service-icon {
  background: rgba(0, 65, 86, 0.12);
  color: var(--text-white);
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent-text);
  font-weight: 850;
}

.text-link:hover {
  color: var(--accent-active);
}

/* Why */
.why-section {
  background:
    radial-gradient(circle at 15% 20%, var(--primary-muted), transparent 34%),
    var(--background);
}

.why-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
  padding: 52px;
  background: var(--primary-dark);
  border-radius: 36px;
  box-shadow: var(--shadow-soft);
}

.why-panel h2,
.why-panel .section-copy p {
  color: var(--text-white);
}

.why-panel .section-copy p {
  opacity: 0.76;
}

.why-list {
  display: grid;
  gap: 14px;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-on-dark);
  border-radius: 18px;
}

.why-item span {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
  font-weight: 900;
}

.why-item p {
  color: var(--text-white);
  font-weight: 750;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.process-card {
  position: relative;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-elevated);
}

.process-card span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  color: var(--text-white);
  background: var(--primary);
  border-radius: 50%;
  font-weight: 900;
}

.process-card p {
  margin-top: 12px;
}

/* Areas */
.areas-section {
  background: var(--section);
}

.area-card {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 34px;
  box-shadow: var(--shadow-card);
}

.map-placeholder {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at center, rgba(246, 136, 45, 0.22), transparent 18%),
    linear-gradient(135deg, rgba(0, 65, 86, 0.06), rgba(246, 136, 45, 0.10));
  border: 1px solid var(--border);
}

.map-placeholder::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px dashed rgba(246, 136, 45, 0.35);
  border-radius: 30px;
}

.map-placeholder strong {
  position: relative;
  z-index: 2;
  font-size: 4.2rem;
  color: rgba(0, 65, 86, 0.12);
  letter-spacing: -0.08em;
}

.map-pin {
  position: absolute;
  z-index: 3;
  width: 26px;
  height: 26px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--primary);
  box-shadow: var(--shadow-pin);
}

.map-pin::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--surface);
}

.location-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.location-badges span {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--section);
  color: var(--text-heading);
  font-weight: 800;
  font-size: 0.88rem;
}

/* Contact */
.contact-grid {
  align-items: start;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.contact-details div {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--section);
}

.contact-details strong,
.contact-details span {
  display: block;
}

.contact-details strong {
  color: var(--text-heading);
}

.contact-details span {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 4px;
}

.contact-form {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 34px;
  box-shadow: var(--shadow-card);
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  color: var(--text-heading);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--border-input);
  border-radius: 15px;
  padding: 14px 15px;
  outline: none;
  color: var(--text);
  background: var(--surface);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--primary-border-focus);
  box-shadow: var(--shadow-focus);
}

.form-row input:disabled,
.form-row select:disabled,
.form-row textarea:disabled {
  color: var(--text-disabled);
  background: var(--disabled-bg);
  cursor: not-allowed;
}

.two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-submit {
  width: 100%;
  border: none;
}

.form-note {
  min-height: 24px;
  margin-top: 14px;
  text-align: center;
  font-size: 0.9rem;
}

/* Chat */
.chat-button {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px;
  border: none;
  border-radius: 999px;
  background: var(--primary-dark);
  color: var(--text-white);
  box-shadow: var(--shadow-chat);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
}

.chat-button:hover {
  transform: translateY(-3px);
  background: var(--primary-mid);
}

/* Footer */
.site-footer {
  padding: 72px 0 28px;
  background: var(--footer-bg);
  color: var(--text-white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
}

.footer-logo .brand-logo {
  height: 64px;
  max-width: 200px;
  border-radius: 10px;
  background: var(--surface);
}

.footer-logo .brand-text strong,
.footer-logo .brand-text small {
  color: var(--text-white);
}

.footer-brand p {
  max-width: 360px;
  margin-top: 18px;
  color: var(--text-on-dark);
}

.footer-column {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-column h3 {
  color: var(--text-white);
  font-size: 1rem;
  margin-bottom: 6px;
}

.footer-column a,
.footer-column span {
  color: var(--text-on-dark-soft);
  font-size: 0.94rem;
}

.footer-column a:hover {
  color: var(--text-white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  margin-top: 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-bottom p {
  color: var(--text-on-dark-muted);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .header-cta {
    display: none;
  }

  .hero-grid,
  .two-column,
  .area-grid,
  .contact-grid,
  .why-panel {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 520px;
  }

  .main-card {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .floating-card-one {
    left: 8%;
  }

  .floating-card-two {
    right: 8%;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
  }

  .site-nav.active {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
    border-radius: 12px;
  }

  .site-nav a:hover {
    background: var(--section);
  }

  .site-nav a::after {
    display: none;
  }

  .hero-section {
    padding-top: 70px;
  }

  .trust-row,
  .process-grid,
  .contact-details {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  .why-panel {
    padding: 34px;
    border-radius: 26px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    min-height: 76px;
  }

  .brand-text small {
    font-size: 0.7rem;
  }

  .brand-logo {
    height: 48px;
    max-width: 140px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 500px;
  }

  .main-card {
    width: 100%;
    min-height: 430px;
    top: 20px;
    padding: 18px;
    border-radius: 28px;
  }

  .building-illustration {
    height: 260px;
  }

  .floating-card {
    width: 215px;
    padding: 13px;
  }

  .floating-card-one {
    left: 0;
    top: 42px;
  }

  .floating-card-two {
    right: 0;
    bottom: 28px;
  }

  .services-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .two-fields {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 22px;
    border-radius: 24px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .chat-button strong {
    display: none;
  }

  .chat-button {
    width: 54px;
    padding: 0;
    justify-content: center;
  }
}

/* ============================================================
   Multi-page site extensions
   ============================================================ */

/* Accessible focus */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Active navigation link */
.site-nav a.active {
  color: var(--primary);
}

.site-nav a.active::after {
  width: 100%;
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 88px;
  background:
    radial-gradient(circle at 82% 10%, rgba(246, 136, 45, 0.32), transparent 44%),
    radial-gradient(circle at 8% 80%, rgba(246, 136, 45, 0.14), transparent 32%),
    var(--primary-dark);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 400px;
  height: 400px;
  border: 60px solid rgba(246, 136, 45, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.page-hero h1 {
  color: var(--text-white);
  font-size: clamp(2.1rem, 4.5vw, 2.8rem);
  margin-top: 0;
}

.page-hero p {
  color: var(--text-on-dark);
  font-size: 1.08rem;
  margin-top: 18px;
  max-width: 580px;
}

.page-hero .eyebrow {
  color: var(--accent);
}

.page-hero .eyebrow::before {
  background: var(--accent);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 0.86rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--text-white);
}

.breadcrumb-sep,
.breadcrumb-current {
  color: var(--text-on-dark-faint);
}

/* ---- Values / features grid ---- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.value-card {
  padding: 30px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-feature);
  transition: transform var(--transition), box-shadow var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.value-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary-hover);
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.value-card h3 {
  font-size: 1.1rem;
}

.value-card p {
  margin-top: 10px;
  font-size: 0.96rem;
}

/* ---- About page ---- */
.about-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image-wrap {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}

.about-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* ---- Service detail cards ---- */
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.service-detail-card {
  padding: 36px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-elevated);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.service-detail-card .service-icon {
  margin-bottom: 20px;
}

.service-detail-card h3 {
  font-size: 1.18rem;
}

.service-detail-card > p {
  margin-top: 12px;
  margin-bottom: 18px;
}

.service-includes {
  list-style: none;
  display: grid;
  gap: 9px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.service-includes li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.service-includes li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 900;
  flex-shrink: 0;
  line-height: 1.5;
}

/* ---- Section intro centered text ---- */
.section-intro {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 52px;
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ---- CTA section ---- */
.cta-section {
  padding-bottom: 98px;
}

.cta-panel {
  padding: 56px 60px;
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background:
    radial-gradient(circle at 92% 50%, rgba(246, 136, 45, 0.32), transparent 46%),
    radial-gradient(circle at 5% 80%, rgba(246, 136, 45, 0.14), transparent 30%),
    var(--primary-dark);
  box-shadow: var(--shadow-soft);
}

.cta-content h2 {
  color: var(--text-white);
  max-width: 520px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.cta-content p {
  color: var(--text-on-dark-soft);
  margin-top: 12px;
  max-width: 460px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  flex-shrink: 0;
}

.btn-outline-white {
  background: transparent;
  border-color: var(--border-on-dark-strong);
  color: var(--text-white);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.55);
}

/* ---- Contact areas compact ---- */
.areas-compact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.areas-compact span {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--section);
  color: var(--text-heading);
  font-weight: 700;
  font-size: 0.88rem;
  border: 1px solid var(--border);
}

/* ---- Form validation ---- */
.field-required {
  color: var(--primary);
  margin-left: 2px;
}

.form-row input.field-error,
.form-row select.field-error,
.form-row textarea.field-error {
  border-color: var(--danger);
  box-shadow: var(--shadow-danger-focus);
}

.field-error-msg {
  color: var(--danger);
  font-size: 0.83rem;
  margin-top: 6px;
  font-weight: 500;
}

.form-note.form-success {
  color: var(--success);
  font-weight: 600;
}

.form-consent {
  margin-top: 4px;
}

.consent-label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.consent-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
}

/* ---- Learn more text link ---- */
.learn-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--link);
  font-weight: 700;
  font-size: 0.96rem;
  margin-top: 24px;
  transition: gap var(--transition), color var(--transition);
}

.learn-more-link:hover {
  color: var(--link-hover);
  gap: 10px;
}

.learn-more-link:active {
  color: var(--link-active);
}

/* ---- Alerts / notifications (token-ready) ---- */
.alert {
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  font-size: 0.94rem;
  font-weight: 500;
}

.alert-success {
  background: var(--success-soft);
  border-color: rgba(26, 122, 90, 0.25);
  color: var(--success);
}

.alert-warning {
  background: var(--warning-soft);
  border-color: rgba(196, 122, 18, 0.25);
  color: var(--warning);
}

.alert-error {
  background: var(--danger-soft);
  border-color: rgba(192, 53, 69, 0.25);
  color: var(--danger);
}

.alert-info {
  background: var(--info-soft);
  border-color: rgba(246, 136, 45, 0.25);
  color: var(--primary-hover);
}

/* ---- Badge / tag tokens ---- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 750;
  background: var(--primary-muted);
  color: var(--primary-hover);
}

.badge-accent {
  background: var(--accent-soft);
  color: var(--accent-text);
}

/* ---- Skeleton / loader tokens ---- */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--section) 0%,
    var(--section-alt) 50%,
    var(--section) 100%
  );
  background-size: 200% 100%;
  border-radius: 8px;
  animation: skeleton-shimmer 1.4s ease infinite;
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.loader {
  width: 36px;
  height: 36px;
  border: 3px solid var(--primary-soft);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: loader-spin 0.7s linear infinite;
}

@keyframes loader-spin {
  to { transform: rotate(360deg); }
}

/* ---- Tooltip / toast tokens ---- */
.tooltip {
  background: var(--primary-dark);
  color: var(--text-white);
  font-size: 0.82rem;
  padding: 8px 12px;
  border-radius: 10px;
  box-shadow: var(--shadow-card);
}

.toast {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-soft);
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---- Responsive: new components ---- */
@media (max-width: 1024px) {
  .about-overview {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
}

@media (max-width: 820px) {
  .page-hero {
    padding: 62px 0 70px;
  }

  .cta-panel {
    padding: 40px 30px;
    border-radius: 28px;
  }
}

@media (max-width: 640px) {
  .values-grid {
    grid-template-columns: 1fr;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .cta-panel {
    padding: 32px 22px;
    border-radius: 24px;
  }
}

.pt-98 {
  padding-top: 98px;
}