/* ===================================================================
   CARGO CONTROL — Corporate Design System
   Premium B2B / Maritime / Industrial
   =================================================================== */

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

:root {
  /* Brand Colors — refined, editorial, non-garish */
  --primary: #11223A;
  --primary-light: #1E3354;
  --accent: #355775;
  --accent-hover: #284862;
  --accent-light: #6E8AA4;
  --accent-muted: #9FB3C8;
  --accent-soft: rgba(53,87,117,0.08);

  /* Eyebrow / subtle label tone on dark bg (no electric blue) */
  --eyebrow-on-dark: rgba(255,255,255,0.45);
  --eyebrow-on-light: #6B7A8F;

  /* Surfaces */
  --surface: #FFFFFF;
  --surface-warm: #F5F7FA;
  --surface-cool: #EDF1F6;
  --surface-dark: #0B1422;
  --surface-dark-alt: #14213A;

  /* Text */
  --text-primary: #11223A;
  --text-secondary: #455068;
  --text-tertiary: #6B7A8F;
  --text-inverse: #F5F7FA;
  --text-inverse-muted: rgba(245, 247, 250, 0.68);

  /* Borders */
  --border: #D4DCE5;
  --border-light: #E4E9F0;
  --border-dark: rgba(255,255,255,0.08);

  /* Typography */
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-pad: 96px;
  --section-pad-sm: 64px;
  --container-max: 1200px;
  --container-wide: 1400px;

  /* Radius — minimal, industrial */
  --radius-sm: 0;
  --radius: 2px;
  --radius-lg: 2px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--surface);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.3s var(--ease); }
a:hover { color: var(--accent-light); }
ul, ol { list-style: none; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.container--wide {
  max-width: var(--container-wide);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -0.01em; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; font-weight: 600; }

.section-label {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--eyebrow-on-light);
  margin-bottom: 18px;
  display: inline-block;
  opacity: 1;
}
.section--dark .section-label { color: var(--eyebrow-on-dark); }

.section-title {
  margin-bottom: 24px;
}

.section-desc {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 680px;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #FAFBFD;
  border-bottom: 1px solid var(--border-light);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.scrolled {
  background: #FAFBFD;
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(17, 34, 58, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
}
.logo img {
  height: 40px;
  width: auto;
  filter: saturate(0.55) brightness(0.92) contrast(1.05);
  transition: filter 0.3s var(--ease);
}
.logo:hover img { filter: saturate(0.7) brightness(1) contrast(1.05); }
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-main a {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  padding: 4px 0;
  position: relative;
  transition: color 0.3s var(--ease);
}

.nav-main a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s var(--ease);
}

.nav-main a:hover,
.nav-main a.active {
  color: var(--text-primary);
}

.nav-main a.active::after,
.nav-main a:hover::after {
  width: 100%;
}

.header-phone {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

/* Mobile menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s var(--ease);
  display: block;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #FAFBFD;
  z-index: 999;
  padding: 32px;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-light);
}
.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  display: block;
}

.mobile-nav-phone {
  margin-top: auto;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: 24px 0 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-inverse);
}
.btn-primary:hover {
  background: var(--primary-light);
  color: var(--text-inverse);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(27, 42, 65, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--text-inverse);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text-inverse);
  border-color: rgba(255,255,255,0.4);
}

.btn-secondary {
  background: var(--surface-cool);
  color: var(--text-primary);
}
.btn-secondary:hover {
  background: var(--border);
  color: var(--text-primary);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(46, 111, 160, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--surface-warm);
  color: var(--text-primary);
  border-color: var(--accent);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 0.9375rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.8125rem;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--surface-dark);
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: saturate(0.8) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 40%, rgba(53, 87, 117, 0.35) 0%, transparent 60%),
    linear-gradient(135deg, rgba(11, 20, 34, 0.88) 0%, rgba(17, 34, 58, 0.72) 50%, rgba(11, 20, 34, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 80px 32px;
  width: 100%;
}

.hero h1 {
  color: var(--text-inverse);
  margin-bottom: 24px;
  max-width: 800px;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-inverse-muted);
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--eyebrow-on-dark);
  padding: 0;
  margin-bottom: 28px;
}

/* Inner page hero */
.hero-inner {
  background: var(--surface-dark);
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--surface-dark) 60%, var(--surface-dark-alt) 100%);
}

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

.hero-inner h1 {
  color: var(--text-inverse);
  margin-bottom: 16px;
}

.hero-inner .breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
}
.hero-inner .breadcrumb a {
  color: var(--text-inverse-muted);
  font-size: 0.8125rem;
  font-weight: 500;
}
.hero-inner .breadcrumb a:hover { color: var(--text-inverse); }
.hero-inner .breadcrumb .sep {
  color: var(--text-inverse-muted);
  font-size: 0.75rem;
  opacity: 0.5;
}
.hero-inner .breadcrumb .current {
  color: var(--text-inverse);
  font-size: 0.8125rem;
  font-weight: 500;
}

/* --- Sections --- */
.section {
  padding: var(--section-pad) 0;
}

/* --- Policy page --- */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-primary);
  line-height: 1.8;
}

.policy-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2.5rem 0 0.75rem;
  color: var(--text-primary);
}

.policy-content p,
.policy-content ul {
  margin-bottom: 1rem;
}

.policy-content ul {
  padding-left: 1.5rem;
}

.policy-content ul li {
  margin-bottom: 0.4rem;
}

.policy-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-content a:hover {
  text-decoration: none;
}
.section--sm {
  padding: var(--section-pad-sm) 0;
}
.section--warm {
  background: var(--surface-warm);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.section--cool {
  background: var(--surface-cool);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section--dark {
  background: var(--surface-dark);
  color: var(--text-inverse);
}
.section--dark h2, .section--dark h3, .section--dark h4 {
  color: var(--text-inverse);
}
.section--dark p {
  color: var(--text-inverse-muted);
}
.section--dark .section-label {
  color: var(--accent-light);
}

.section-header {
  margin-bottom: 56px;
}
.section-header--center {
  text-align: center;
}
.section-header--center .section-desc {
  margin-left: auto;
  margin-right: auto;
}


/* --- Value Props --- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.4s var(--ease);
}

.value-card:hover {
  border-color: var(--border);
  box-shadow: 0 8px 40px rgba(27, 42, 65, 0.06);
  transform: translateY(-2px);
}

.value-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 2px;
  margin-bottom: 24px;
  color: var(--text-inverse);
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(17,34,58,0.18);
}

.value-card h4 {
  font-size: 1.0625rem;
  line-height: 1.35;
  margin-bottom: 12px;
}

.value-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* --- Services Grid --- */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.services-grid .service-card {
  flex: 0 0 calc(33.333% - 16px);
  max-width: calc(33.333% - 16px);
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 48px rgba(27, 42, 65, 0.08);
  transform: translateY(-3px);
  color: inherit;
}

.service-card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
}
.service-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.125rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  flex-grow: 1;
}

.service-card-link {
  margin-top: 20px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s var(--ease);
}
.service-card:hover .service-card-link {
  gap: 10px;
}

/* --- Content page layout --- */
.content-section {
  padding: var(--section-pad) 0;
}

.content-body {
  max-width: 840px;
  margin: 0 auto;
  overflow: hidden;
}

.content-body p {
  margin-bottom: 20px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}

.content-body strong,
.content-body b {
  color: var(--text-primary);
  font-weight: 600;
}

.content-body .bullets {
  padding-left: 0;
  margin-bottom: 24px;
}
.content-body .bullets li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--text-secondary);
  line-height: 1.6;
}
.content-body .bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 2px;
  background: var(--accent);
}

.content-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 40px;
}

/* --- Gallery --- */
.gallery-section h3 {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-light);
}

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

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 21, 33, 0);
  transition: background 0.3s var(--ease);
}
.gallery-item:hover::after {
  background: rgba(13, 21, 33, 0.15);
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.contact-info-item {
  margin-bottom: 28px;
}
.contact-info-item .label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}
.contact-info-item .value {
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.6;
}
.contact-info-item .value a {
  color: var(--text-primary);
  font-weight: 500;
}
.contact-info-item .value a:hover {
  color: var(--accent);
}

.contact-phone-big {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 4px;
}

/* --- Forms --- */
.form-group {
  margin-bottom: 20px;
}

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

.form-control {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-primary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(58, 107, 140, 0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-required {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  font-style: italic;
  margin-bottom: 20px;
}

/* --- Footer --- */
.site-footer {
  background: var(--surface-dark);
  color: var(--text-inverse);
  padding: 64px 0 0;
}

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

.footer-brand .logo-text {
  color: var(--text-inverse);
  font-size: 1.125rem;
  margin-bottom: 16px;
  display: block;
}

.footer-brand p {
  color: var(--text-inverse-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  color: var(--text-inverse);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: var(--text-inverse-muted);
  font-size: 0.875rem;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.footer-col a:hover { color: var(--text-inverse); }

.footer-contact-item {
  margin-bottom: 16px;
}
.footer-contact-item .fc-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-inverse-muted);
  margin-bottom: 4px;
}
.footer-contact-item .fc-value {
  font-size: 0.9375rem;
  color: var(--text-inverse);
}
.footer-contact-item .fc-value a {
  display: inline;
  color: var(--text-inverse);
  padding: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 28px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-policy {
  font-size: 0.8125rem;
  color: var(--text-inverse-muted);
  letter-spacing: 0.02em;
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.footer-policy:hover {
  opacity: 1;
  color: var(--text-inverse-muted);
}

.footer-copyright {
  font-size: 0.8125rem;
  color: var(--text-inverse-muted);
  letter-spacing: 0.02em;
}

/* --- Lightbox --- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(13, 21, 33, 0.95);
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  border: none;
  transition: background 0.3s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* --- Modal --- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(11, 20, 34, 0.82);
  align-items: center;
  justify-content: center;
}
.modal-overlay.active { display: flex; }

.modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-cool);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 1.125rem;
  transition: all 0.3s var(--ease);
}
.modal-close:hover {
  background: var(--border);
  color: var(--text-primary);
}

.modal h3 {
  margin-bottom: 24px;
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* --- 404 --- */
.page-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 72px;
}

.page-404 h1 {
  font-size: 8rem;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  margin-bottom: 16px;
}

.page-404 p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 32px;
}

/* --- Skip Link (a11y) --- */
.skip-link {
  position: fixed;
  left: 12px;
  top: 8px;
  z-index: 3000;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--text-inverse);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-140%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  color: var(--text-inverse);
}

/* --- Header Progress Bar --- */
.header-progress {
  height: 3px;
  background: rgba(27, 42, 65, 0.08);
}
.header-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: var(--primary);
  transition: transform 0.08s linear;
}

/* --- Hero Facts — Anti-AI industrial ledger style --- */
.hero-facts {
  margin: 48px 0 0;
  padding: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.hero-facts > div {
  padding: 0 24px;
  border-left: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-facts > div:first-child {
  padding-left: 0;
  border-left: 0;
}
.hero-facts dt {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
}
.hero-facts dd {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-inverse);
  margin: 0;
}

/* --- Disclosure / Accordion --- */
.disclosure {
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
}
.disclosure summary {
  list-style: none;
  position: relative;
  padding: 18px 52px 18px 24px;
  background: var(--surface-cool);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.disclosure summary:hover { background: var(--border-light); }
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-64%) rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.disclosure[open] summary::after {
  transform: translateY(-36%) rotate(-135deg);
}
.disclosure-body {
  padding: 20px 24px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.8;
}
.disclosure-body img {
  float: left;
  width: min(300px, 45%);
  margin: 4px 20px 12px 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 20px rgba(27, 42, 65, 0.1);
}

/* --- Gallery Tabs --- */
.gallery-tabs {
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.gallery-tab {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--surface);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s var(--ease);
}
.gallery-tab:hover { border-color: var(--primary); background: var(--surface-cool); }
.gallery-tab[aria-selected="true"],
.gallery-tab.is-active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--text-inverse);
}
.gallery-panel[hidden] { display: none; }
.gallery-panel { animation: fadeIn 0.3s var(--ease); }
.gallery-panel-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0;
  margin: 0 0 20px;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.gallery-item.is-extra[hidden] { display: none; }

/* --- Gallery Highlights — removed, dead code --- */

/* --- Gallery CTA (per-panel) --- */
.gallery-cta {
  margin-top: 24px;
  border-top: 1px solid var(--border);
  background: transparent;
  padding: 20px 0 0;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.gallery-cta-text {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
  max-width: 54ch;
}

/* --- Lightbox Prev/Next --- */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  border: none;
  transition: background 0.3s;
  z-index: 10001;
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
}


/* --- Footer Trust --- */
.footer-trust {
  margin-top: 20px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.footer-trust li {
  position: relative;
  padding-left: 18px;
  color: var(--text-inverse-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}
.footer-trust li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-light);
}

/* --- About Metrics --- */
.about-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 56px;
}
.about-metric {
  padding: 28px 32px;
  border-left: 1px solid var(--border);
}
.about-metric:first-child { border-left: 0; }
.about-metric-value {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 6px;
}
.about-metric-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  line-height: 1.4;
}

/* --- About Key Points --- */
.about-points {
  margin: 24px 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.about-points li {
  position: relative;
  padding: 14px 16px 14px 36px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: var(--surface-warm);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.about-points li::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* --- Contact Enhanced --- */
.contact-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* Related services grid (2-column on detail pages) */
.services-grid--two {
  justify-content: center;
}
.services-grid--two .service-card {
  flex: 0 0 calc(50% - 12px);
  max-width: calc(50% - 12px);
}

/* --- CTA Band --- */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  position: relative;
  padding: 8px 0;
}
.cta-band-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 16px;
}
.cta-band-text p {
  margin-top: 12px;
  max-width: 52ch;
}
.cta-band-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Form Consent Text --- */
.form-consent {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  line-height: 1.5;
  margin-bottom: 16px;
}

/* --- Form Status Messages --- */
.form-status {
  min-height: 1.4em;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  margin-top: 12px;
  transition: opacity 0.3s;
}
.form-status:empty { opacity: 0; }
.form-status--ok  { color: #22863a; }
.form-status--err { color: var(--accent); }

/* --- Honeypot field --- */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.btn--full { width: 100%; }
.cta-band-actions--center { justify-content: center; }

/* --- Focus Visible --- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .service-card,
  .value-card,
  .gallery-item,
  .btn,
  .lightbox-prev,
  .lightbox-next {
    transition: none !important;
    transform: none !important;
  }
  .reveal { opacity: 1; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  :root {
    --section-pad: 72px;
  }

  .nav-main { display: none; }
  .header-phone { display: none; }
  .mobile-toggle { display: flex; }

  .services-grid .service-card { flex: 0 0 calc(50% - 12px); max-width: calc(50% - 12px); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 56px;
    --section-pad-sm: 40px;
  }

  .header-inner { padding: 0 16px; height: 56px; }
  .mobile-nav { top: 56px; }
  .header-cta { display: none; }
  .logo img { height: 30px; }
  .hero { min-height: 70vh; padding-top: 56px; }
  .hero-content { padding: 48px 16px; }
  .hero-inner { padding: 96px 0 40px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .value-grid { grid-template-columns: 1fr; }
  .services-grid .service-card { flex: 0 0 100%; max-width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
  .content-columns { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .disclosure-body img {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 12px;
  }

  .gallery-cta { flex-direction: column; align-items: stretch; }
  .services-grid--two .service-card { flex: 0 0 100%; max-width: 100%; }
  .cta-band { text-align: left; justify-content: flex-start; }
  .cta-band-actions { width: 100%; justify-content: flex-start; }

  .hero-facts { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .hero-facts > div { padding: 0 16px; }
  .hero-facts > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .hero-facts > div:nth-child(3),
  .hero-facts > div:nth-child(4) { padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); }

  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }

  .footer-bottom { text-align: center; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .hero h1 { font-size: 2rem; }
  .hero-facts dt { font-size: 0.625rem; }
  .hero-facts dd { font-size: 0.875rem; }

  .gallery-tab { font-size: 0.6875rem; padding: 8px 14px; }

  .modal { padding: 24px; margin: 16px; }

  .lightbox-prev,
  .lightbox-next { width: 40px; height: 40px; font-size: 1.25rem; }
}

/* --- Inquiry Page --- */
.hero-inner-sub {
  color: var(--text-inverse-muted);
  font-size: 1.0625rem;
  margin-top: 12px;
  max-width: 50ch;
}

.inquiry-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.inquiry-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}

.inquiry-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 28px;
}

.inquiry-steps li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.inquiry-step-num {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--accent);
  padding-top: 3px;
  flex-shrink: 0;
  width: 24px;
}

.inquiry-steps li strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.inquiry-steps li p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.inquiry-phone {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1;
}
.inquiry-phone:hover { color: var(--accent); }

.inquiry-form-wrap {
  background: var(--surface-warm);
  border: 1px solid var(--border-light);
  padding: 40px;
}

@media (max-width: 768px) {
  .inquiry-layout { grid-template-columns: 1fr; gap: 40px; }
  .inquiry-form-wrap { padding: 24px; }
  .inquiry-phone { font-size: 1.375rem; }
}

/* --- Map embed --- */
.map-wrap {
  margin-top: 48px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}
@media (max-width: 768px) {
  .map-wrap iframe { height: 280px; }
  .map-wrap { margin-top: 32px; }
}

/* --- About page overrides --- */
@media (max-width: 768px) {
  .about-metrics {
    grid-template-columns: 1fr;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .about-metric {
    border-left: 0;
    border-top: 1px solid var(--border);
    padding: 20px 0;
  }
  .about-metric:first-child { border-top: 0; }
}

/* --- Gallery responsive fix --- */
@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
}

/* --- Process steps (How we work) — premium editorial cards --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 40px 32px 36px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 2px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s var(--ease);
  overflow: hidden;
}
.process-step::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 60%, transparent 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(17,34,58,0.10), 0 2px 8px rgba(17,34,58,0.04);
  border-color: var(--border);
}
.process-step:hover::after { transform: scaleX(1); }
.process-step-num {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 200;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 24px;
  display: block;
  opacity: 0.65;
}
.process-step h4 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.process-step p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 960px) {
  .process-steps { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width: 520px) {
  .process-steps { grid-template-columns: 1fr; gap: 16px; }
  .process-step { padding: 28px 24px 24px; }
  .process-step-num { font-size: 2.75rem; margin-bottom: 16px; }
}

/* --- FAQ --- */
.faq-list {
  max-width: 720px;
  margin: 40px auto 0;
  display: grid;
  gap: 0;
}
.faq-item {
  border-radius: 0 !important;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  overflow: visible;
  margin-top: 0;
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-item summary {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 18px 48px 18px 0;
  background: transparent;
}
.faq-item summary:hover { background: transparent !important; color: var(--accent); }
.faq-item .disclosure-body {
  padding: 0 48px 20px 0;
  font-size: 0.9rem;
  border-top: 0;
}

/* --- Inquiry page simplification --- */
.inquiry-or-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin: 40px 0 12px;
}
.inquiry-schedule {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-top: 6px;
}
.inquiry-direct-simple { margin-top: 32px; }

/* --- Data counter animation --- */
[data-count] { transition: color 0.2s; }

/* --- Back to top button --- */
.back-to-top {
  position: fixed;
  bottom: 72px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), background 0.2s, bottom 0.3s var(--ease);
  z-index: 150;
  box-shadow: 0 4px 16px rgba(27, 42, 65, 0.25);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--accent); }
@media (min-width: 769px) {
  .back-to-top { bottom: 32px; right: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: opacity 0.1s; transform: none; }
}

/* --- Map static placeholder --- */
.map-static {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 400px;
  background: var(--surface-warm);
  gap: 20px;
  text-align: center;
  padding: 40px;
}
.map-pin-icon {
  color: var(--accent);
  opacity: 0.7;
}
.map-static-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.map-static-info strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}
.map-static-info span {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 380px;
}
.map-static-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
@media (max-width: 768px) {
  .map-static { height: auto; min-height: 240px; padding: 32px 20px; }
  .map-static-actions { flex-direction: column; align-items: center; }
  .map-static-actions .btn { width: 100%; max-width: 280px; text-align: center; }
}

/* =================================================================
   PREMIUM DESIGN LAYER
   ================================================================= */

/* ── Hero main: bigger, more commanding ── */
.hero h1 {
  font-size: clamp(2.75rem, 5.5vw, 5rem);
  letter-spacing: -0.04em;
  line-height: 1.0;
  max-width: 820px;
}
.hero-subtitle {
  font-size: 1.1875rem;
  max-width: 620px;
  opacity: 0.88;
}
.hero-facts dd {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* ── Inner page hero: taller, accent underline, subtle glow ── */
.hero-inner {
  padding: 144px 0 84px;
  background: var(--surface-dark);
  background-image:
    radial-gradient(ellipse 70% 80% at 88% 50%, rgba(53, 87, 117, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 0% 100%, rgba(176, 141, 87, 0.05) 0%, transparent 60%);
}
.hero-inner h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.hero-inner h1::after { display: none; }

/* ── Section labels ── */
.section-label {
  padding-left: 0;
}

/* ── Service cards ── */
.service-card {
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 12px rgba(27,42,65,0.05);
  padding: 40px 36px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 16px 56px rgba(27,42,65,0.12);
  transform: translateY(-4px);
}
.service-card h3 {
  font-size: 1.1875rem;
  line-height: 1.25;
  margin-bottom: 14px;
}
.service-card-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 2px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(17,34,58,0.15);
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.service-card-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, transparent 50%, rgba(176,141,87,0.12) 100%);
  pointer-events: none;
}
.service-card:hover .service-card-icon {
  transform: scale(1.05);
  box-shadow: 0 10px 24px rgba(17,34,58,0.22);
}
.service-card-icon img {
  filter: brightness(0) invert(1);
  opacity: 0.92;
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 1;
}
.service-card-link { color: var(--accent); }
.service-card:hover .service-card-link { color: var(--primary); }
.service-card-link {
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
}

/* ── Value cards: premium identity override ── */
.value-card {
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 12px rgba(17,34,58,0.04);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.value-card:hover {
  border-color: var(--border);
  box-shadow: 0 16px 56px rgba(17,34,58,0.10);
  transform: translateY(-4px);
}
.value-card h4 {
  font-size: 1.0625rem;
  font-weight: 700;
}

/* (process step overrides moved into main .process-step block above) */

/* ── About metrics: much bigger, animated top line ── */
.about-metric {
  padding: 40px 40px;
  position: relative;
}
.about-metric::before { display: none; }
.about-metric-value {
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 10px;
}
.about-metric-label {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
}

/* ── CTA band: accent top line on text block ── */
.section--dark .cta-band-text::before {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: var(--accent-light);
  margin-bottom: 18px;
}

/* ── Section header: more breathing room ── */
.section-header {
  margin-bottom: 64px;
}

/* ── Content body: lead paragraph emphasis ── */
.content-body > p:first-child strong:first-child {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--text-primary);
  font-weight: 700;
}

/* ── Contact: bigger phone ── */
.contact-phone-big {
  font-size: 2.25rem;
  letter-spacing: -0.03em;
}

/* ── Footer brand: uppercase weight ── */
.footer-brand .logo-text {
  letter-spacing: 0.08em;
  font-size: 1.125rem;
}

/* ── Buttons: richer hover shadows ── */
.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(27,42,65,0.28);
}
.btn-accent:hover {
  box-shadow: 0 6px 28px rgba(58,107,140,0.38);
}
.btn-lg {
  padding: 20px 40px;
  letter-spacing: 0.01em;
}

/* ── Form control: richer focus ── */
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(58,107,140,0.12);
}

/* ── Responsive: premium layer adjustments ── */
@media (max-width: 1024px) {
  .about-metric { padding: 28px 28px; }
}
@media (max-width: 768px) {
  .hero-inner { padding: 108px 0 56px; }
  .hero-inner h1 { font-size: clamp(2rem, 8vw, 2.75rem); }
  .hero-inner h1::after { width: 36px; margin-top: 16px; }
  .process-step-num { font-size: 2.75rem; }
  .about-metric { padding: 24px 20px; }
  .about-metric-value { font-size: clamp(2.25rem, 7vw, 3rem); }
  .contact-phone-big { font-size: 1.75rem; }
  .section-header { margin-bottom: 40px; }
  .btn-lg { padding: 16px 28px; }
}

/* ================================================================
   INCIDENT PAGE
   Premium burgundy tone — urgent but sophisticated
   ================================================================ */

:root {
  --danger: #8B2A2A;
  --danger-hover: #6F2020;
  --danger-accent: #C77A5A;
  --danger-glow: rgba(139, 42, 42, 0.32);
}

/* ── Danger button ── */
.btn-danger {
  background: var(--danger);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-danger:hover {
  background: var(--danger-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 32px var(--danger-glow);
}

/* ── Incident hero ── */
.incident-hero {
  background: var(--surface-dark);
  background-image:
    radial-gradient(ellipse 90% 80% at 100% 40%, rgba(139, 42, 42, 0.18) 0%, transparent 65%),
    radial-gradient(ellipse 60% 70% at 0% 100%, rgba(53, 87, 117, 0.14) 0%, transparent 60%);
  padding: 120px 0 72px;
  color: var(--text-inverse);
}
.incident-hero .breadcrumb a,
.incident-hero .breadcrumb .sep,
.incident-hero .breadcrumb .current { color: rgba(247,248,250,0.55); }
.incident-hero-inner {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-top: 24px;
}
.incident-alert-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: rgba(139, 42, 42, 0.18);
  border: 1px solid rgba(199, 122, 90, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--danger-accent);
  margin-top: 4px;
}
.incident-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text-inverse);
  margin-bottom: 16px;
}
.incident-hero h1::after { display: none; }
.incident-hero-sub {
  font-size: 1.0625rem;
  color: var(--text-inverse-muted);
  max-width: 56ch;
  line-height: 1.65;
}
.incident-hero-sub strong { color: var(--danger-accent); font-weight: 700; }

/* ── Layout ── */
.incident-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding: 0 0 24px;
}

/* ── Form panel ── */
.incident-form-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 8px;
}
.incident-form-sub {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 0.9375rem;
}
.form-control--lg {
  height: 52px;
  font-size: 1rem;
}
select.form-control--lg { cursor: pointer; }

.incident-direct-call {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}
.incident-phone-link {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.incident-phone-link:hover { color: var(--accent); }
.incident-hours {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  width: 100%;
}

/* ── Reasons panel ── */
.incident-reasons h3 {
  font-size: 1.25rem;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.incident-reason-list { display: grid; gap: 28px; }
.incident-reason {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.incident-reason-num {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.25;
  line-height: 1;
  min-width: 32px;
}
.incident-reason strong {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.9375rem;
}
.incident-reason p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* ── Incident responsive ── */
@media (max-width: 900px) {
  .incident-layout { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .incident-hero { padding: 96px 0 56px; }
  .incident-hero-inner { flex-direction: column; gap: 16px; }
  .incident-alert-icon { width: 48px; height: 48px; }
  .incident-hero h1 { font-size: clamp(1.75rem, 7vw, 2.5rem); }
}

/* ═══════════════════════════════════════════════════════════════════
   CALCULATOR PAGE
   ═══════════════════════════════════════════════════════════════════ */

/* ── Layout ─────────────────────────────────────────────────────── */
.section--calculator { padding-top: 16px; }

.calc-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}

/* ── Parameter blocks ───────────────────────────────────────────── */
.calc-block {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 28px 32px 32px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s var(--ease);
}
.calc-block:last-child { margin-bottom: 0; }
.calc-block:hover { box-shadow: 0 4px 16px rgba(17, 34, 58, 0.06); }

.calc-block-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.calc-block-num {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.22;
  line-height: 1;
  min-width: 36px;
  padding-top: 2px;
}

.calc-block-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  color: var(--text-primary);
}
.calc-block-title::after { display: none; }

.calc-block-hint {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

/* ── Option grid ────────────────────────────────────────────────── */
.calc-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
}
.calc-options--4col {
  grid-template-columns: repeat(4, 1fr);
}
.calc-options--3col {
  grid-template-columns: repeat(3, 1fr);
}

/* ── Option card ────────────────────────────────────────────────── */
.calc-option {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px 13px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s var(--ease), background 0.15s, box-shadow 0.15s, transform 0.1s;
  font-family: var(--font-body);
  -webkit-tap-highlight-color: transparent;
}
.calc-option:hover {
  border-color: var(--accent);
  background: rgba(58,107,140,0.04);
  transform: translateY(-1px);
}
.calc-option:active { transform: translateY(0); }
.calc-option.selected {
  border-color: var(--primary);
  background: rgba(27,42,65,0.05);
  box-shadow: 0 0 0 1px var(--primary);
}

.calc-option-icon {
  display: flex;
  align-items: center;
  color: var(--accent);
  margin-bottom: 6px;
  opacity: 0.75;
  transition: opacity 0.15s;
}
.calc-option.selected .calc-option-icon { opacity: 1; color: var(--primary); }

.calc-option-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  pointer-events: none;
}
.calc-option.selected .calc-option-label { color: var(--primary); }

.calc-option-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
  pointer-events: none;
}

.calc-option-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  padding: 2px 6px;
  letter-spacing: 0.03em;
  line-height: 1.4;
}
.calc-option.selected .calc-option-badge { background: var(--primary); }

/* ── Result wrap (sticky) ───────────────────────────────────────── */
.calc-result-wrap {
  position: sticky;
  top: 90px;
}

/* ── Result card ────────────────────────────────────────────────── */
.calc-result {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px 24px 20px;
  margin-bottom: 14px;
}

.calc-result-head {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.calc-result-head h3 {
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}
.calc-result-head h3::after { display: none; }
.calc-result-head p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ── Empty state ────────────────────────────────────────────────── */
.calc-empty {
  text-align: center;
  padding: 12px 0 8px;
}
.calc-empty-visual {
  display: flex;
  justify-content: center;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}
.calc-empty > p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 18px;
  max-width: 26ch;
  margin-left: auto;
  margin-right: auto;
}

/* Progress dots */
.calc-progress-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}
.calc-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.25s, transform 0.2s;
}
.calc-dot.filled {
  background: var(--primary);
  transform: scale(1.15);
}
.calc-progress-label {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}

/* ── Price range ────────────────────────────────────────────────── */
.calc-price-range {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.calc-price-block {
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.calc-price-label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.calc-price-rub {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.calc-price-from,
.calc-price-to {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.04em;
  line-height: 1;
}
.calc-price-divider {
  font-size: 1.25rem;
  color: var(--text-tertiary);
  font-weight: 300;
}

/* ── Breakdown ──────────────────────────────────────────────────── */
.calc-breakdown {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  margin-bottom: 14px;
}
.calc-bd-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 5px 0;
  font-size: 0.8125rem;
}
.calc-bd-label {
  color: var(--text-secondary);
  flex-shrink: 0;
  min-width: 72px;
}
.calc-bd-value {
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
}
.calc-bd-value small {
  font-weight: 400;
  color: var(--text-secondary);
  font-size: 0.6875rem;
}
.bd-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  padding: 1px 5px;
  vertical-align: middle;
  margin-left: 4px;
}

/* ── Disclaimer ─────────────────────────────────────────────────── */
.calc-disclaimer {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  line-height: 1.65;
  margin-bottom: 18px;
}

/* ── Incident link ──────────────────────────────────────────────── */
.calc-incident-link {
  display: flex;
  align-items: center;
  gap: 7px;
  justify-content: center;
  margin-top: 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--danger, #8B2A2A);
  text-decoration: none;
  transition: opacity 0.15s;
}
.calc-incident-link:hover { opacity: 0.75; color: var(--danger, #8B2A2A); }

/* ── Trust block ────────────────────────────────────────────────── */
.calc-trust {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px 20px;
}
.calc-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.calc-trust-item:last-child { border-bottom: none; }
.calc-trust-item > svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}
.calc-trust-item strong {
  display: block;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.calc-trust-item p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* ── Calculator responsive ──────────────────────────────────────── */
@media (max-width: 1180px) {
  .calc-layout { grid-template-columns: 1fr 340px; gap: 40px; }
}
@media (max-width: 1024px) {
  .calc-layout { grid-template-columns: 1fr; gap: 32px; }
  .calc-result-wrap { position: static; }
  .calc-result-wrap > .calc-result { order: -1; } /* result first on mobile */
  .calc-options--4col { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .calc-block { padding: 20px; }
  .calc-options { grid-template-columns: repeat(2, 1fr); }
  .calc-options--4col { grid-template-columns: repeat(2, 1fr); }
  .calc-options--3col { grid-template-columns: 1fr; }
  .calc-price-from,
  .calc-price-to { font-size: 1.5rem; }
}
@media (max-width: 480px) {
  .calc-options { grid-template-columns: 1fr; }
  .calc-options--4col { grid-template-columns: repeat(2, 1fr); }
}

/* ── Calc prefill notice (shown on inquiry page after calc redirect) ── */
.calc-prefill-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(27,42,65,0.05);
  border: 1px solid rgba(27,42,65,0.15);
  border-left: 3px solid var(--primary);
  padding: 10px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
}
.calc-prefill-notice svg { flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════════
   MOBILE OPTIMISATION — 480px and smaller
   (layered on top of existing 768px breakpoints)
   ═══════════════════════════════════════════════════════════════════ */

/* ── Shared 768px tweaks missed earlier ──────────────────────────── */
@media (max-width: 768px) {
  .section-header { margin-bottom: 36px; }
  .hero-inner { padding: 88px 0 32px; }  /* was 96px 0 40px */
}

/* ── 480px and smaller ───────────────────────────────────────────── */
@media (max-width: 480px) {

  /* ─ Spacing tokens ─ */
  :root {
    --section-pad:    36px;
    --section-pad-sm: 24px;
  }

  /* ─ Container ─ */
  .container { padding: 0 16px; }

  /* ─ Typography ─ */
  h2 { font-size: clamp(1.375rem, 7vw, 1.875rem); }
  h3 { font-size: clamp(1.125rem, 5.5vw, 1.5rem); }
  .section-header { margin-bottom: 24px; }
  .section-header p,
  .section-desc { font-size: 0.9375rem; }

  /* ─ Hero home ─ */
  .hero { min-height: 0; }
  .hero-content { padding: 32px 16px; }
  .hero h1 { font-size: clamp(1.875rem, 9.5vw, 2.5rem); margin-bottom: 16px; }
  .hero-subtitle { font-size: 0.9375rem; margin-bottom: 24px; }
  .hero-eyebrow { margin-bottom: 14px; font-size: 0.625rem; }

  /* ─ Hero facts → 1 column ─ */
  .hero-facts {
    grid-template-columns: 1fr !important;
    margin-top: 24px;
    padding-top: 16px;
  }
  .hero-facts > div {
    padding: 12px 0 !important;
    border-left: 0 !important;
    border-top: 1px solid rgba(255,255,255,0.12) !important;
  }
  .hero-facts > div:first-child {
    padding-top: 0 !important;
    border-top: 0 !important;
  }
  /* clear the 3rd/4th-child rules added at 768px */
  .hero-facts > div:nth-child(3),
  .hero-facts > div:nth-child(4) {
    padding-top: 12px !important;
    border-top: 1px solid rgba(255,255,255,0.12) !important;
  }
  .hero-facts dd { font-size: 1rem; }

  /* ─ Inner hero ─ */
  .hero-inner { padding: 68px 0 22px; }
  .hero-inner h1 { font-size: clamp(1.5rem, 8.5vw, 2rem); }
  .hero-inner-sub { font-size: 0.875rem; }

  /* ─ Service cards ─ */
  .service-card { padding: 20px 16px; }
  .service-card-icon { width: 40px; height: 40px; margin-bottom: 12px; }
  .service-card h3 { font-size: 1rem; margin-bottom: 8px; }
  .service-card p { font-size: 0.875rem; }
  .service-card-link { margin-top: 14px; }

  /* ─ Trust grid → 1 column ─ */
  .trust-grid { grid-template-columns: 1fr !important; gap: 12px; }

  /* ─ Process steps ─ */
  .process-step { padding: 20px 16px; }

  /* ─ CTA band ─ */
  .cta-band h2 { font-size: clamp(1.375rem, 7vw, 1.875rem); }
  .cta-band-text p { font-size: 0.9375rem; }

  /* ─ Inquiry page ─ */
  .inquiry-layout { gap: 24px !important; }
  .inquiry-form-wrap { padding: 16px; }
  .inquiry-phone { font-size: 1.25rem; }
  .inquiry-steps { gap: 18px; }

  /* ─ Contacts ─ */
  .contact-phone-big { font-size: clamp(1.5rem, 9vw, 2.25rem) !important; }
  .map-wrap iframe { height: 200px; }

  /* ─ About metrics ─ */
  .about-metric { padding: 16px 12px; }
  .about-metric-value { font-size: clamp(1.75rem, 9vw, 2.25rem) !important; }
  .about-metrics { margin-bottom: 32px; }

  /* ─ Footer ─ */
  .footer-grid { gap: 20px; }
  .footer-brand p { font-size: 0.875rem; }

  /* ─ Back to top ─ */
  .back-to-top { right: 12px; width: 36px; height: 36px; }

  /* ─ Buttons ─ */
  .btn-lg { padding: 14px 24px; font-size: 0.9375rem; }
  .btn--full { width: 100%; justify-content: center; }

  /* ─ Forms ─ */
  .form-control { padding: 10px 12px; font-size: 0.9375rem; }
  .form-control--lg { height: 48px; font-size: 0.9375rem; }

  /* ─ Incident hero ─ */
  .incident-hero { padding: 72px 0 32px; }
  .incident-hero h1 { font-size: clamp(1.5rem, 8vw, 2rem); }

  /* ─ Calculator ─ */
  .calc-block { padding: 16px; }
  .calc-block-header { gap: 10px; }
  .calc-block-num { font-size: 1.5rem; min-width: 28px; }
  .calc-block-title { font-size: 0.9375rem; }
  .calc-block-hint { font-size: 0.75rem; }
  .calc-option { padding: 10px 12px; }
  .calc-option-label { font-size: 0.8125rem; }
  .calc-option-sub { font-size: 0.6875rem; }
  .calc-result { padding: 16px; }
  .calc-price-from,
  .calc-price-to { font-size: 1.5rem; }
  .calc-trust { padding: 2px 16px; }
}

/* ── Calculator: result panel appears above params on mobile ─────── */
@media (max-width: 1024px) {
  .calc-result-wrap { order: -1; }
}

/* ── Very small phones (≤ 360px) ────────────────────────────────── */
@media (max-width: 360px) {
  :root { --section-pad: 28px; }
  .hero h1 { font-size: 1.75rem; }
  .hero-inner h1 { font-size: 1.375rem; }
  .container { padding: 0 12px; }
}

/* ═══════════════════════════════════════════════════════════════════
   CALCULATOR CTA BLOCK (homepage)
   ═══════════════════════════════════════════════════════════════════ */
.section--calc-cta {
  background: var(--surface-warm);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.calc-cta {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 16px 0;
}
.calc-cta-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  max-width: 540px;
}
.calc-cta-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 32px;
}
.calc-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.calc-cta-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 2px;
  overflow: hidden;
}
.calc-cta-list li {
  padding: 22px 24px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  line-height: 1.3;
}
.calc-cta-list li:nth-child(2n) { border-right: 0; }
.calc-cta-list li:nth-last-child(-n+2) { border-bottom: 0; }
.calc-cta-list li span {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent-light);
}
@media (max-width: 900px) {
  .calc-cta { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .calc-cta-list { grid-template-columns: 1fr; }
  .calc-cta-list li { border-right: 0; }
  .calc-cta-list li:last-child { border-bottom: 0; }
}

/* ============================================================
   Premium Editorial Content Elements
   Used on service pages & any long-form content.
   ============================================================ */

/* --- Lead paragraph with editorial drop-cap --- */
.content-lead {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin: 0 0 48px;
  padding-top: 8px;
  max-width: 64ch;
}

/* --- Section-heading eyebrow used inside article body --- */
.content-heading {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin: 56px 0 16px;
}
.content-heading:first-child { margin-top: 0; }

/* --- Highlight callout block --- */
.content-callout {
  position: relative;
  margin: 48px 0;
  padding: 28px 32px 28px 36px;
  background: var(--surface-warm);
  border-left: 3px solid var(--accent);
}
.content-callout p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-primary);
}
.content-callout p + p { margin-top: 12px; }
.content-callout strong { color: var(--primary); }

/* --- Pull-quote (italic editorial) --- */
.content-pullquote {
  margin: 56px 0;
  padding: 0 0 0 32px;
  border-left: 2px solid var(--primary);
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 1.75vw, 1.375rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.content-pullquote cite {
  display: block;
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* --- Stat strip (3 key numbers) --- */
.content-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 56px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.content-stat {
  padding: 28px 24px;
  border-right: 1px solid var(--border-light);
}
.content-stat:last-child { border-right: 0; }
.content-stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.content-stat-label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
@media (max-width: 720px) {
  .content-stats { grid-template-columns: 1fr; }
  .content-stat { border-right: 0; border-bottom: 1px solid var(--border-light); }
  .content-stat:last-child { border-bottom: 0; }
}

/* --- Feature grid (what's included / 2-col card grid) --- */
.content-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin: 48px 0;
  border-top: 1px solid var(--border-light);
}
.content-feature {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.content-feature:nth-child(odd) { padding-right: 32px; border-right: 1px solid var(--border-light); }
.content-feature:nth-child(even) { padding-left: 32px; }
.content-feature-num {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  flex-shrink: 0;
  padding-top: 2px;
  min-width: 28px;
}
.content-feature-text {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-primary);
}
@media (max-width: 720px) {
  .content-features { grid-template-columns: 1fr; }
  .content-feature,
  .content-feature:nth-child(odd),
  .content-feature:nth-child(even) {
    padding: 20px 0;
    border-right: 0;
  }
}


/* --- Section divider inside long-form --- */
.content-divider {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--primary);
  border: 0;
  margin: 56px 0;
  opacity: 0.2;
}

/* --- Inline note (for small clarifications) --- */
.content-note {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  font-style: italic;
  margin-top: 12px;
}

/* ═══════════════════════════════════════════════════════════════════════
   EDITORIAL / INDUSTRIAL OVERRIDE LAYER — "anti-AI" hand-crafted feel
   Loads LAST; overrides softer "premium" defaults above.
   Goals: Swiss grid, hairline rules, tabular numerals, hard edges, no
   gradients on chrome, no glass. Looks like a document, not a template.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  /* Editorial ink palette — flatter, less decorative */
  --ink: #0C1626;
  --ink-soft: #2B3850;
  --ink-mute: #5A6679;
  --paper: #F6F6F2;           /* warm off-white, newsprint-ish */
  --paper-alt: #ECEDE6;
  --rule: #C9CCD1;             /* hairline rules */
  --rule-strong: #1B2A41;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

/* ── Global numerics: tabular so digits align like a ledger ── */
html {
  font-feature-settings: "ss01", "cv11", "tnum", "lnum";
  -webkit-font-smoothing: antialiased;
}
.hero-facts dd,
.about-metric-value,
.calc-price-from,
.calc-price-to,
.incident-phone-link,
.contact-phone-big,
.inquiry-phone,
.process-step-num,
.incident-reason-num,
.calc-block-num,
[data-count] {
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "tnum", "lnum";
}

/* ── Remove soft "AI gradient" icon tiles — hard solid ink squares ── */
.value-card-icon,
.service-card-icon {
  background: var(--ink) !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  position: relative;
}
.value-card-icon::after,
.service-card-icon::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: #fff;
  opacity: 0.16;
}
.service-card:hover .service-card-icon {
  transform: none !important;
  box-shadow: none !important;
  background: var(--accent) !important;
}

/* ── Buttons: rigid industrial, no lift, no round ── */
.btn {
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 15px 26px;
  position: relative;
}
.btn-lg {
  padding: 18px 34px;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
}
.btn-sm { padding: 10px 18px; font-size: 0.6875rem; }
.btn-primary:hover,
.btn-accent:hover,
.btn-danger:hover {
  transform: none;
  box-shadow: none;
}
.btn-primary { background: var(--ink); }
.btn-primary:hover { background: #000; }
.btn-ghost { border-radius: 0; }
.btn-outline { border-radius: 0; }

/* ── Section labels: industrial code marker with rule ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

/* ── Section headers: left-aligned, grid-anchored, never centered ── */
.section-header--center {
  text-align: left;
}
.section-header--center .section-desc {
  margin-left: 0;
  margin-right: 0;
}
.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px 64px;
  align-items: end;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 48px;
}
.section-header .section-label { grid-column: 1; align-self: start; }
.section-header .section-title { grid-column: 1; margin: 0; }
.section-header .section-desc { grid-column: 2; align-self: end; }
@media (max-width: 768px) {
  .section-header {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-bottom: 20px;
    margin-bottom: 28px;
  }
  .section-header .section-desc { grid-column: 1; }
}

/* ── Typography: tighten leading, restore serif-ish editorial weight ── */
h1, h2, h3, h4 {
  font-feature-settings: "ss01", "cv11";
}
h2 {
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  letter-spacing: -0.025em;
  line-height: 1.08;
  font-weight: 800;
}
.hero h1 {
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

/* ── Hero: flatten the overlay, no glow ── */
.hero-overlay {
  background:
    linear-gradient(180deg, rgba(11,20,34,0.72) 0%, rgba(11,20,34,0.88) 100%);
}
.hero-bg img {
  filter: saturate(0.6) contrast(1.08) brightness(0.72);
  opacity: 0.65;
}
.hero-content { padding: 96px 32px 72px; }
.hero-eyebrow {
  font-family: var(--mono);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '§';
  font-size: 1rem;
  letter-spacing: 0;
  opacity: 0.7;
}

/* ── Hero facts: ledger-grade, monospaced labels, big numeric values ── */
.hero-facts {
  border-top-color: rgba(255,255,255,0.28);
  margin-top: 56px;
  padding-top: 28px;
  gap: 0;
}
.hero-facts > div { border-left-color: rgba(255,255,255,0.16); }
.hero-facts dt {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.26em;
  color: rgba(255,255,255,0.52);
  font-weight: 500;
}
.hero-facts dd {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

/* ── Inner hero: clean, no radial glows ── */
.hero-inner {
  background: var(--surface-dark);
  background-image: none;
}
.hero-inner::before {
  background:
    linear-gradient(180deg, var(--surface-dark) 0%, #0E1A2E 100%);
}
.hero-inner h1 {
  font-weight: 800;
  letter-spacing: -0.045em;
}
.hero-inner .breadcrumb {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── Service cards: hard-edged, lift on border not on shadow ── */
.service-card,
.value-card {
  border-radius: 0;
  box-shadow: none;
  border: 1px solid var(--rule);
  background: #fff;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.service-card:hover,
.value-card:hover {
  transform: none !important;
  box-shadow: none !important;
  border-color: var(--ink);
  background: #fff;
}
.service-card-link {
  text-transform: uppercase;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  padding-top: 16px;
  margin-top: auto;
  border-top: 1px solid var(--rule);
}

/* ── Process steps: flat ledger cards with mono numeral above hairline ── */
.process-step {
  border-radius: 0;
  box-shadow: none !important;
  border: 1px solid var(--rule);
  transform: none !important;
  background: #fff;
  padding: 28px 24px 24px;
}
.process-step:hover {
  border-color: var(--ink);
  transform: none !important;
  box-shadow: none !important;
}
.process-step::after { display: none !important; }
.process-step-num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 1;
  color: var(--ink-mute);
  letter-spacing: 0.18em;
  padding-bottom: 14px;
  margin-bottom: 16px !important;
  border-bottom: 1px solid var(--rule);
  width: 100%;
}
.process-step-num::before {
  content: 'ШАГ · ';
  opacity: 0.55;
  letter-spacing: 0.22em;
}
.process-step h4 { margin-bottom: 8px; font-weight: 700; letter-spacing: -0.01em; }
@media (max-width: 520px) {
  .process-step { padding: 22px 18px; }
}

/* ── About metrics: ledger row with oversized display numerals ── */
.about-metrics {
  border-color: var(--rule);
  background: #fff;
}
.about-metric { border-left-color: var(--rule); padding: 36px 32px; }
.about-metric-value {
  font-weight: 800;
  letter-spacing: -0.055em;
  color: var(--ink);
}
.about-metric-label {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  font-weight: 500;
}

/* ── FAQ: newspaper-style list, no cards ── */
.faq-list { max-width: 840px; margin-left: 0; margin-right: auto; }
.faq-item { border-radius: 0 !important; }
.faq-item summary {
  font-size: 1rem;
  font-weight: 700;
  padding: 22px 48px 22px 0;
}
.faq-item summary::before {
  content: counter(faq-count, decimal-leading-zero) ' / ';
  counter-increment: faq-count;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  margin-right: 14px;
  font-weight: 600;
}
.faq-list { counter-reset: faq-count; }

/* ── Disclosure/details: hard edges ── */
.disclosure {
  border-radius: 0;
  border-color: var(--rule);
}
.disclosure summary {
  border-radius: 0;
  background: var(--paper-alt);
}

/* ── Calc options: rigid, monospaced micro-type ── */
.calc-block,
.calc-result,
.calc-trust,
.calc-option,
.calc-cta-list {
  border-radius: 0;
}
.calc-option {
  border-width: 1px;
  border-color: var(--rule);
}
.calc-option.selected {
  border-color: var(--ink);
  background: var(--paper-alt);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.calc-block-num {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  opacity: 1;
  color: var(--ink-mute);
  font-weight: 700;
  padding-top: 6px;
}
.calc-block-num::before { content: '§'; opacity: 0.6; margin-right: 2px; }
.calc-price-from,
.calc-price-to {
  letter-spacing: -0.055em;
  font-weight: 800;
}
.calc-option-badge { border-radius: 0; letter-spacing: 0.06em; }
.bd-badge { border-radius: 0; }

/* ── CTA band in dark: industrial divider, wide letter-spaced eyebrow ── */
.cta-band-eyebrow {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.3em;
}
.section--dark .cta-band-text::before {
  width: 48px;
  height: 1px;
  opacity: 0.6;
}

/* ── Hero inner eyebrow marker (service pages) ── */
.inquiry-eyebrow,
.contact-eyebrow,
.gallery-panel-label {
  font-family: var(--mono);
  font-weight: 600;
  letter-spacing: 0.24em;
}

/* ── Footer: ledger strip, monospaced column headers ── */
.site-footer { padding-top: 72px; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
}
.footer-brand .logo-text {
  font-family: var(--mono);
  letter-spacing: 0.16em;
  font-size: 0.9375rem;
}
.footer-trust li::before { border-radius: 0; width: 8px; height: 2px; top: 10px; }
.footer-bottom { justify-content: space-between; }

/* ── Header: tighter, smaller logo, letter-spaced nav ── */
.nav-main { gap: 26px; }
.nav-main a {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.header-phone {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}
.header-cta { gap: 18px; }
.site-header { border-bottom-width: 1px; }
.header-progress { height: 2px; background: transparent; }

/* Drop nav to hamburger earlier so it never crowds the phone */
@media (max-width: 1180px) {
  .nav-main { display: none; }
  .header-phone { display: none; }
  .mobile-toggle { display: flex; }
}

/* ── Content editorial elements: tighter, cleaner ── */
.content-callout {
  background: var(--paper-alt);
  border-left-width: 2px;
  border-radius: 0;
}
.content-pullquote { font-style: normal; font-weight: 600; }
.content-stat-num { letter-spacing: -0.05em; }

/* ── Gallery tabs: flat pills ── */
.gallery-tab {
  border-radius: 0;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
}

/* ── Value card hover: no translate, just border ── */
.value-card { padding: 32px 28px; }
.value-card h4 { letter-spacing: -0.01em; }

/* ── Policy / long form: measure + drop-cap on first p ── */
.policy-content { max-width: 72ch; }

/* ── Subtle paper grain on warm surfaces (anti-template) ── */
.section--warm {
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(11,20,34,0.025) 1px, transparent 1px);
  background-size: 3px 3px;
  border-color: var(--rule);
}
.section--cool {
  background-color: var(--paper-alt);
  border-color: var(--rule);
}

/* ── Reveal: softer, shorter, less "animated" ── */
.reveal { transform: translateY(12px); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }

/* ── Calc CTA: ledger list, mono numbers ── */
.calc-cta-list li span {
  font-family: var(--mono);
  letter-spacing: 0.14em;
  color: var(--ink-mute);
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE: TOTAL OPTIMIZATION FOR ALL DEVICES
   Tuned for real phones (360-430), tablets (600-900), desktops (1200+)
   ═══════════════════════════════════════════════════════════════════════ */

/* Universal touch-target floor on interactive controls */
.btn, .nav-main a, .mobile-nav a, .gallery-tab,
.footer-col a, .calc-option, .disclosure summary,
.back-to-top, .mobile-toggle {
  min-height: 44px;
}
.btn-sm { min-height: 36px; }

/* Fluid containers */
.container { padding-inline: clamp(16px, 4vw, 32px); }

/* Respect iOS safe areas */
@supports (padding: env(safe-area-inset-bottom)) {
  .site-footer { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
  .back-to-top { bottom: max(72px, calc(env(safe-area-inset-bottom) + 56px)); }
  @media (min-width: 769px) {
    .back-to-top { bottom: max(32px, calc(env(safe-area-inset-bottom) + 24px)); }
  }
}

/* Prevent horizontal overflow on small viewports */
html, body { max-width: 100%; }
img, svg, video { max-width: 100%; height: auto; }

/* Tablets: 900 - 1200 */
@media (max-width: 1200px) and (min-width: 901px) {
  .services-grid .service-card { flex: 0 0 calc(50% - 12px); max-width: calc(50% - 12px); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
  .hero-facts > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .hero-facts > div:nth-child(3),
  .hero-facts > div:nth-child(4) { padding-top: 20px; margin-top: 20px; border-top: 1px solid rgba(255,255,255,0.16); }
}

/* Small-mid phones & tablets: 600-900 */
@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: 72px; }
  .hero-content { padding: 56px 20px 48px; }
  .hero h1 { font-size: clamp(1.875rem, 7vw, 3rem); }
  .hero-subtitle { font-size: 1rem; max-width: none; }
  .value-grid { grid-template-columns: 1fr; }
  .content-columns { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* Small phones: ≤ 480 */
@media (max-width: 480px) {
  h1 { word-break: break-word; hyphens: auto; }
  .hero-content { padding: 40px 16px 36px; }
  .hero h1 { font-size: clamp(1.625rem, 8.5vw, 2.25rem); line-height: 1.05; }
  .hero-subtitle { font-size: 0.9375rem; line-height: 1.65; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { width: 100%; }

  /* Sharper section-head rhythm */
  .section-header { margin-bottom: 24px; padding-bottom: 16px; }

  /* Footer trust bullets readable */
  .footer-trust li { font-size: 0.8125rem; }

  /* Typography */
  .content-body p { font-size: 0.9375rem; line-height: 1.7; }
  .content-lead { font-size: 1.0625rem; margin-bottom: 32px; }

  /* Cards */
  .value-card { padding: 22px 18px; }
  .value-card-icon { width: 44px; height: 44px; margin-bottom: 16px; }

  /* About metrics stacked ledger */
  .about-metric { padding: 20px 18px; }
  .about-metric-value { letter-spacing: -0.04em; }

  /* FAQ readable */
  .faq-item summary { font-size: 0.9375rem; padding: 18px 36px 18px 0; }
  .faq-item summary::before { display: block; margin: 0 0 6px; }

  /* Calc CTA list */
  .calc-cta-list li { padding: 18px 20px; font-size: 0.875rem; }
}

/* Very small phones: ≤ 360 */
@media (max-width: 360px) {
  .container { padding-inline: 12px; }
  .hero-content { padding: 32px 12px 28px; }
  .header-inner { padding: 0 12px; }
  .btn-lg { padding: 14px 20px; font-size: 0.75rem; letter-spacing: 0.08em; }
  .hero-facts dd { font-size: 0.9375rem; }
}

/* Landscape phones — prevent crushed hero */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: auto; }
  .hero-content { padding: 72px 20px 40px; }
  .hero-facts { margin-top: 24px; padding-top: 16px; }
}

/* Desktop comfort: larger tap-area on fine-pointer too */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { cursor: pointer; }
}

/* Print-friendly */
@media print {
  .site-header, .site-footer, .back-to-top, .cta-band, .header-progress,
  .mobile-nav, .mobile-toggle { display: none !important; }
  body { color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
  .hero, .hero-inner { background: #fff; color: #000; min-height: auto; padding: 24px 0; }
  .hero-overlay { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   MINIMALISM PASS — strip decorative noise, compress mobile scroll.
   Loads LAST. Goal: scannable in one glance, silent chrome, dense info.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Remove decorative prefixes that add pattern noise ── */
.hero-eyebrow::before,
.calc-block-num::before,
.process-step-num::before { content: none !important; }

.faq-item summary::before { content: none !important; }

/* ── Remove the hairline prefix on section labels (less chrome) ── */
.section-label::before { display: none; }
.section-label { gap: 0; }

/* ── Remove the corner marker on icon tiles ── */
.value-card-icon::after,
.service-card-icon::after { display: none !important; }

/* ── Simpler section header: no bottom rule, stacked, lighter ── */
.section-header {
  display: block;
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 40px;
}
.section-header .section-title { margin-bottom: 16px; }
.section-header .section-desc {
  max-width: 60ch;
  font-size: 1rem;
  color: var(--text-secondary);
}

/* ── Lighter section-label: smaller, less shouty ── */
.section-label {
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  opacity: 0.7;
  margin-bottom: 12px;
}

/* ── Process step: silent numeral, no "ШАГ", no bottom rule ── */
.process-step-num {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 10px !important;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  width: auto;
}

/* ── Calc block: compact, quieter numeral ── */
.calc-block-num { letter-spacing: 0.14em; }

/* ── Hide the tabular grid lines on hero-facts entirely — too noisy ── */
.hero-facts { border-top-color: rgba(255,255,255,0.14); }
.hero-facts > div { border-left-color: rgba(255,255,255,0.08); }

/* ── FAQ items: remove counter prefix (added in earlier pass) ── */
.faq-list { counter-reset: none; }

/* ── Tighter cards: less internal padding, more white space around ── */
.value-card { padding: 28px 24px; }
.service-card { padding: 32px 28px; }
.value-card-icon,
.service-card-icon { width: 44px; height: 44px; margin-bottom: 18px; }
.value-card-icon svg,
.service-card-icon svg,
.service-card-icon img { width: 20px; height: 20px; }

/* ── Subtle (not louder) link arrow row in service cards ── */
.service-card-link {
  border-top: 0;
  padding-top: 12px;
  letter-spacing: 0.1em;
  font-size: 0.625rem;
  opacity: 0.85;
}

/* ── Section padding: breathe, don't crowd ── */
:root { --section-pad: 80px; }
@media (max-width: 1024px) { :root { --section-pad: 64px; } }

/* ═══════════════════════════════════════════════════════════════════════
   MOBILE COMPRESSION — make the page scan-able in 3 swipes, not 10.
   Strategy: keep only the signal that converts; hide long prose that
   repeats the headings. All text stays for crawlers — only hidden visually.
   ═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  /* Tighter vertical rhythm */
  :root { --section-pad: 44px; --section-pad-sm: 32px; }
  .section-header { margin-bottom: 20px; }
  .section-header .section-title { margin-bottom: 8px; }

  /* Hero: compact, no facts clutter — move to one mono strip */
  .hero { min-height: 0; }
  .hero-content { padding: 44px 16px 36px; }
  .hero h1 { font-size: clamp(1.75rem, 8vw, 2.375rem); line-height: 1.08; }
  .hero-subtitle { font-size: 0.9375rem; margin-bottom: 24px; }
  .hero-eyebrow { margin-bottom: 12px; font-size: 0.625rem; }

  /* Collapse hero-facts to a single compact inline strip */
  .hero-facts {
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.14);
  }
  .hero-facts > div {
    padding: 0 !important;
    border: 0 !important;
    flex: 1 1 auto;
    min-width: 46%;
    display: inline-flex !important;
    gap: 8px;
    align-items: baseline;
    flex-direction: row !important;
  }
  .hero-facts dt {
    font-size: 0.5625rem;
    letter-spacing: 0.18em;
    color: rgba(255,255,255,0.45);
    margin: 0;
  }
  .hero-facts dd { font-size: 0.8125rem; font-weight: 700; margin: 0; }

  /* Value cards: hide verbose descriptions — keep icon + title only */
  .value-grid { gap: 0; grid-template-columns: repeat(2, 1fr); }
  .value-card {
    padding: 18px 14px;
    border-right: 0;
    border-bottom: 0;
  }
  .value-card:nth-child(2n) { border-left: 1px solid var(--rule); }
  .value-card:nth-last-child(-n+2) { border-bottom: 0; }
  .value-grid { border: 1px solid var(--rule); }
  .value-card p { display: none; }
  .value-card h4 { font-size: 0.9375rem; line-height: 1.25; margin-bottom: 0; }
  .value-card-icon { width: 32px; height: 32px; margin-bottom: 10px; }
  .value-card-icon svg { width: 16px; height: 16px; }

  /* Service cards: shrink description to 2 lines, keep scanning fast */
  .services-grid { gap: 10px; }
  .services-grid .service-card {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 20px 18px;
    display: grid;
    grid-template-columns: 36px 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 14px;
    align-items: center;
  }
  .service-card-icon {
    grid-row: 1 / span 2;
    width: 36px;
    height: 36px;
    margin-bottom: 0;
  }
  .service-card-icon img { width: 18px; height: 18px; }
  .service-card h3 {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 2px;
    font-size: 0.9375rem;
    line-height: 1.3;
  }
  .service-card p { display: none; }
  .service-card-link {
    grid-column: 3;
    grid-row: 1 / span 2;
    margin: 0;
    padding: 0;
    font-size: 0.625rem;
    letter-spacing: 0.14em;
    align-self: center;
  }

  /* Process steps: compact horizontal strip with numeral only */
  .process-steps { gap: 0; border: 1px solid var(--rule); }
  .process-step {
    border: 0 !important;
    border-bottom: 1px solid var(--rule) !important;
    padding: 14px 16px !important;
    display: grid !important;
    grid-template-columns: 36px 1fr;
    column-gap: 14px;
    align-items: center;
  }
  .process-step:last-child { border-bottom: 0 !important; }
  .process-step-num {
    grid-row: 1 / span 2;
    align-self: center;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.6875rem;
    letter-spacing: 0.12em;
  }
  .process-step h4 {
    grid-column: 2;
    font-size: 0.9375rem;
    margin: 0 0 2px;
    line-height: 1.25;
  }
  .process-step p { display: none; }

  /* About metrics: collapse to 1 row scrolling (3 → side-by-side strip) */
  .about-metrics { grid-template-columns: repeat(3, 1fr); border: 1px solid var(--rule); margin-bottom: 32px; }
  .about-metric { padding: 14px 10px !important; border-top: 0 !important; border-left: 1px solid var(--rule) !important; }
  .about-metric:first-child { border-left: 0 !important; }
  .about-metric-value { font-size: clamp(1.25rem, 6.5vw, 1.625rem) !important; margin-bottom: 2px; }
  .about-metric-label { font-size: 0.5625rem; letter-spacing: 0.12em; }

  /* FAQ: compact, no numbering, no counter prefix */
  .faq-item summary {
    font-size: 0.9375rem;
    padding: 14px 40px 14px 0;
    min-height: 48px;
  }
  .faq-item .disclosure-body { padding: 0 16px 16px 0; font-size: 0.875rem; }

  /* Calc CTA list — 2 rows, tighter */
  .calc-cta-list li { padding: 12px 14px; font-size: 0.8125rem; }
  .calc-cta-list li span { font-size: 0.5625rem; letter-spacing: 0.12em; }

  /* CTA band: stacked, compact */
  .cta-band { gap: 16px; padding: 4px 0; }
  .cta-band h2 { font-size: clamp(1.375rem, 6vw, 1.75rem); }
  .cta-band p { font-size: 0.9375rem; margin-top: 8px; }

  /* Inner page hero: tighter */
  .hero-inner { padding: 76px 0 24px; }
  .hero-inner h1 { font-size: clamp(1.5rem, 7vw, 2rem); }
  .hero-inner .breadcrumb { margin-bottom: 14px; font-size: 0.625rem; }

  /* Footer: trim trust bullets, tighter gaps */
  .site-footer { padding-top: 44px; }
  .footer-grid { gap: 24px; margin-bottom: 28px; }
  .footer-brand p { display: none; }
  .footer-trust li { font-size: 0.75rem; padding-left: 14px; }
  .footer-trust li::before { top: 8px; width: 6px; height: 2px; }
  .footer-col h4 { margin-bottom: 12px; }
  .footer-col a { font-size: 0.8125rem; padding: 4px 0; }
  .footer-bottom { padding: 18px 0; gap: 12px; }

  /* Make eyebrows silent on mobile — too much repeated chrome */
  .section-label { opacity: 0.55; font-size: 0.5625rem; margin-bottom: 8px; }

  /* Buttons: less tracking on mobile so they fit */
  .btn { letter-spacing: 0.06em; font-size: 0.75rem; padding: 13px 20px; }
  .btn-lg { letter-spacing: 0.08em; font-size: 0.8125rem; padding: 15px 22px; }

  /* Map height: compressed */
  .map-wrap { margin-top: 24px; }
}

/* ── Very small phones: even tighter, no back-to-top distraction ── */
@media (max-width: 380px) {
  .container { padding-inline: 14px; }
  .hero-content { padding: 36px 14px 28px; }
  .hero h1 { font-size: 1.625rem; }
  .hero-subtitle { font-size: 0.875rem; }
  .hero-facts dd { font-size: 0.75rem; }
  .hero-facts dt { font-size: 0.5rem; }
  .back-to-top { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   POLISH PASS — fix background stacking, footer weight,
   disclosure cramp, header top crowding
   ═══════════════════════════════════════════════════════════════════════ */

/* ── 1. Background stacking: the stark white band after dark hero looks cheap.
      Promote the whole inner-page canvas to paper so dark → paper → paper reads
      as a single quiet surface. `.section--warm` just becomes the grained
      emphasis variant on the same palette.                               ── */
body { background: var(--paper); }
.hero-inner + .section:not(.section--warm):not(.section--cool):not(.section--dark) {
  background: var(--paper);
}
.section:not(.section--warm):not(.section--cool):not(.section--dark) {
  background: var(--paper);
}
.section--warm + .section:not(.section--warm):not(.section--cool):not(.section--dark),
.section--cool + .section:not(.section--warm):not(.section--cool):not(.section--dark) {
  background: var(--paper);
}
.hero-inner { border-bottom: none; }

/* ── 2. Header: add breathing room at the top edge ── */
.header-inner { height: 84px; }
@media (max-width: 768px) {
  .header-inner { height: 64px; padding: 0 16px; }
}

/* ── 3. Footer: lighter, smaller, more minimal ── */
.site-footer { padding-top: 56px; }
.footer-grid {
  gap: 48px;
  margin-bottom: 36px;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
}
.footer-brand .logo-text { font-size: 0.8125rem; margin-bottom: 12px; }
.footer-brand p { font-size: 0.8125rem; line-height: 1.65; opacity: 0.72; }
.footer-col h4 {
  font-size: 0.625rem;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.42);
}
.footer-col a {
  font-size: 0.8125rem;
  padding: 5px 0;
  letter-spacing: 0.005em;
}
.footer-contact-item { margin-bottom: 12px; }
.footer-contact-item .fc-label { font-size: 0.625rem; margin-bottom: 3px; opacity: 0.6; }
.footer-contact-item .fc-value { font-size: 0.8125rem; }
.footer-trust li { font-size: 0.75rem; padding: 3px 0 3px 16px; }
.footer-trust li::before { top: 10px; width: 6px; height: 1px; opacity: 0.4; }
.footer-bottom { padding: 18px 0; gap: 18px; }
.footer-policy, .footer-copyright { font-size: 0.6875rem; letter-spacing: 0.04em; opacity: 0.55; }
.footer-bottom { border-top-color: rgba(255,255,255,0.04); }

@media (max-width: 768px) {
  .site-footer { padding-top: 36px; }
  .footer-grid { gap: 22px; margin-bottom: 22px; }
  .footer-col h4 { font-size: 0.5625rem; margin-bottom: 10px; }
  .footer-col a { font-size: 0.75rem; padding: 3px 0; }
  .footer-trust li { font-size: 0.6875rem; }
  .footer-bottom { padding: 14px 0; gap: 8px; }
  .footer-policy, .footer-copyright { font-size: 0.625rem; }
}

/* ── 4. Disclosure / FAQ: softer, cleaner, cleaner chevron ── */
.disclosure {
  border-color: rgba(17, 34, 58, 0.09);
  background: transparent;
  margin-top: 0;
  border-left: none;
  border-right: none;
  border-top: none;
}
.disclosure + .disclosure { margin-top: 0; }
.disclosure:first-of-type { border-top: 1px solid rgba(17, 34, 58, 0.09); }
.disclosure summary {
  padding: 22px 56px 22px 4px;
  background: transparent;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.45;
  color: var(--ink);
}
.disclosure summary:hover { background: transparent; color: var(--ink); }
.disclosure summary:hover::after { opacity: 1; }

/* Replace the triangle with a clean +/− glyph */
.disclosure summary::after {
  content: '+';
  position: absolute;
  right: 8px;
  top: 50%;
  width: auto;
  height: auto;
  border: none !important;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--ink-mute);
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s var(--ease), transform 0.25s var(--ease);
}
.disclosure[open] summary::after {
  content: '−';
  transform: translateY(-50%) !important;
  opacity: 1;
  color: var(--ink);
}
.disclosure-body {
  padding: 0 60px 22px 4px;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--ink-mute);
}

@media (max-width: 768px) {
  .disclosure summary {
    padding: 18px 44px 18px 2px;
    font-size: 0.9375rem;
  }
  .disclosure summary::after { right: 4px; font-size: 1rem; }
  .disclosure-body { padding: 0 44px 18px 2px; font-size: 0.8125rem; }
  .faq-item .disclosure-body { padding: 0 44px 18px 2px; font-size: 0.8125rem; }
}
