/*
  DBA Malik Marcon Transport
  Production static website styles

  Quick brand edits:
  - Logo file: ../images/logo.jpeg
  - Primary images: ../images/coverage-road.jpg, ../images/hero-highway.jpg,
    ../images/warehouse-logistics.jpg, ../images/fleet-road.jpg
  - Brand colors: update the CSS variables below.
*/

/* Design Tokens */
:root {
  --color-navy: #061c36;
  --color-navy-2: #0b3472;
  --color-blue: #104fa7;
  --color-red: #d71920;
  --color-charcoal: #111827;
  --color-slate: #4b5563;
  --color-muted: #6b7280;
  --color-line: #e5e7eb;
  --color-soft: #f6f8fb;
  --color-white: #ffffff;
  --color-ice: #edf4ff;
  --shadow-soft: 0 18px 44px rgba(6, 28, 54, 0.11);
  --shadow-card: 0 14px 34px rgba(6, 28, 54, 0.08);
  --radius-card: 8px;
  --radius-pill: 999px;
  --header-height: 84px;
  --container: 1180px;
  --transition: 220ms ease;
}

/* Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--color-charcoal);
  background: var(--color-white);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 420ms ease, transform 420ms ease;
}

body.is-loaded {
  opacity: 1;
  transform: translateY(0);
}

body.is-leaving {
  opacity: 0;
  transform: translateY(4px);
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

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

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

button {
  cursor: pointer;
}

::selection {
  color: var(--color-white);
  background: var(--color-red);
}

:focus-visible {
  outline: 3px solid rgba(215, 25, 32, 0.42);
  outline-offset: 3px;
}

/* Layout Utilities */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 104px 0;
}

.section.tight {
  padding: 78px 0;
}

.section.alt {
  background: var(--color-soft);
}

.section.dark {
  color: var(--color-white);
  background:
    linear-gradient(135deg, rgba(6, 28, 54, 0.98), rgba(13, 49, 96, 0.96)),
    var(--color-navy);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 58px;
  align-items: center;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 22px;
}

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

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--color-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section.dark .eyebrow,
.page-hero .eyebrow,
.hero .eyebrow {
  color: #b8d3ff;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: var(--color-red);
}

.section-title {
  max-width: 760px;
  margin: 0 0 16px;
  color: var(--color-navy);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.section.dark .section-title,
.page-hero .section-title,
.hero-title {
  color: var(--color-white);
}

.section-lead {
  max-width: 740px;
  margin: 0;
  color: var(--color-slate);
  font-size: 1.08rem;
}

.section.dark .section-lead,
.page-hero .section-lead,
.hero-lead {
  color: rgba(255, 255, 255, 0.82);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 40px;
}

.section-head .section-lead {
  max-width: 460px;
}

.accent {
  color: var(--color-red);
}

/* Header and Navigation */
.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 100%;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.site-header.is-scrolled {
  border-bottom: 1px solid rgba(229, 231, 235, 0.72);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 34px rgba(6, 28, 54, 0.08);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: auto;
  height: 66px;
  object-fit: contain;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(6, 28, 54, 0.08);
}

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

.nav-link {
  position: relative;
  padding: 10px 13px;
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.94rem;
  font-weight: 750;
  transition: color var(--transition), background var(--transition);
}

.site-header.is-scrolled .nav-link,
.light-header .nav-link {
  color: var(--color-navy);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--color-white);
  background: rgba(215, 25, 32, 0.9);
}

.site-header.is-scrolled .nav-link:hover,
.site-header.is-scrolled .nav-link.is-active,
.light-header .nav-link:hover,
.light-header .nav-link.is-active {
  color: var(--color-white);
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.12);
}

.site-header.is-scrolled .nav-toggle,
.light-header .nav-toggle {
  color: var(--color-navy);
  border-color: rgba(6, 28, 54, 0.18);
  background: rgba(255, 255, 255, 0.72);
}

.nav-toggle-line {
  position: relative;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: background var(--transition);
}

.nav-toggle-line::before,
.nav-toggle-line::after {
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  content: "";
  background: currentColor;
  transition: transform var(--transition), top var(--transition);
}

.nav-toggle-line::before {
  top: -7px;
}

.nav-toggle-line::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line::after {
  top: 0;
  transform: rotate(-45deg);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 14px;
  left: 14px;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--color-white);
  background: var(--color-navy);
  transform: translateY(-140%);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Buttons */
.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 800;
  line-height: 1;
  transition: transform var(--transition), box-shadow var(--transition), color var(--transition), background var(--transition), border-color var(--transition);
}

.btn svg {
  width: 18px;
  height: 18px;
}

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

.btn-primary {
  color: var(--color-white);
  background: var(--color-red);
  box-shadow: 0 16px 34px rgba(215, 25, 32, 0.24);
}

.btn-primary:hover {
  background: #b91218;
  box-shadow: 0 20px 42px rgba(215, 25, 32, 0.28);
}

.btn-secondary {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.18);
}

.btn-outline {
  color: var(--color-navy);
  border-color: rgba(6, 28, 54, 0.16);
  background: var(--color-white);
}

.btn-outline:hover {
  border-color: rgba(215, 25, 32, 0.34);
  box-shadow: var(--shadow-card);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-blue);
  font-weight: 800;
}

.link-arrow::after {
  content: ">";
  color: var(--color-red);
  transition: transform var(--transition);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* Hero */
.hero {
  position: relative;
  min-height: 94svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--header-height) + 44px) 0 42px;
  color: var(--color-white);
  /* Replace this image with a licensed aerial Quebec logistics/highway photo if available. */
  background:
    linear-gradient(90deg, rgba(3, 15, 31, 0.86), rgba(3, 15, 31, 0.56) 48%, rgba(3, 15, 31, 0.25)),
    url("../images/coverage-road.jpg") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  content: "";
  background: linear-gradient(0deg, rgba(6, 28, 54, 0.52), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 680px;
  margin: 22px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

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

.hero-card {
  display: inline-grid;
  gap: 2px;
  margin-top: 42px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.hero-card strong {
  color: var(--color-white);
  font-size: 1.65rem;
  line-height: 1;
}

.hero-card span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

/* Trust Bar */
.trust-bar {
  position: relative;
  z-index: 2;
  margin-top: -28px;
}

.trust-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.84);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
}

.trust-item {
  padding: 22px 24px;
  border-right: 1px solid var(--color-line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  display: block;
  color: var(--color-navy);
  font-size: 1.28rem;
  line-height: 1.2;
}

.trust-item span {
  display: block;
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 0.92rem;
}

/* Cards */
.card {
  height: 100%;
  padding: 26px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-shadow: 0 1px 0 rgba(6, 28, 54, 0.03);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 79, 167, 0.18);
  box-shadow: var(--shadow-card);
}

.card.dark-card {
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
}

.card h3 {
  margin: 16px 0 8px;
  color: var(--color-navy);
  font-size: 1.18rem;
  line-height: 1.25;
}

.card.dark-card h3 {
  color: var(--color-white);
}

.card p {
  margin: 0;
  color: var(--color-slate);
}

.card.dark-card p {
  color: rgba(255, 255, 255, 0.74);
}

.icon-box {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--color-red);
  background: rgba(215, 25, 32, 0.08);
}

.icon-box svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.icon-box.blue {
  color: var(--color-blue);
  background: rgba(16, 79, 167, 0.08);
}

.icon-box.light {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.12);
}

/* Image Blocks */
.image-panel {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}

.image-badge {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(280px, calc(100% - 44px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-card);
  color: var(--color-white);
  background: rgba(6, 28, 54, 0.78);
  backdrop-filter: blur(14px);
}

.image-badge strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.25rem;
}

.image-badge span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

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

.split-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  color: var(--color-slate);
}

.split-list li::before {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-white);
  content: "";
  background:
    linear-gradient(var(--color-white), var(--color-white)) 50% 50% / 10px 2px no-repeat,
    linear-gradient(90deg, var(--color-white), var(--color-white)) 50% 50% / 2px 10px no-repeat,
    var(--color-red);
}

/* Statistics */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stat-card {
  padding: 28px;
  border-left: 3px solid var(--color-red);
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.stat-card strong {
  display: block;
  color: var(--color-navy);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 9px;
  color: var(--color-muted);
}

/* Service Feature Rows */
.service-row {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 22px;
  padding: 28px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-shadow: 0 1px 0 rgba(6, 28, 54, 0.03);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.service-row h2,
.service-row h3 {
  margin: 0 0 8px;
  color: var(--color-navy);
  font-size: 1.42rem;
  line-height: 1.2;
}

.service-row p {
  margin: 0;
  color: var(--color-slate);
}

.service-row .supporting {
  margin-top: 12px;
  color: var(--color-muted);
}

/* Process */
.process {
  counter-reset: step;
}

.process-card {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.process-card::before {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 50%;
  color: var(--color-white);
  counter-increment: step;
  content: counter(step);
  background: var(--color-navy);
  font-weight: 900;
}

.process-card h3 {
  margin: 0 0 8px;
  color: var(--color-navy);
}

.process-card p {
  margin: 0;
  color: var(--color-slate);
}

/* Industries and Coverage */
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(229, 231, 235, 0.98);
  border-radius: var(--radius-pill);
  color: var(--color-navy);
  background: var(--color-white);
  font-weight: 750;
}

.pill::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: var(--color-red);
}

.coverage-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: end;
  padding: 26px;
  border-radius: var(--radius-card);
  color: var(--color-white);
  /* Replace this image with a licensed Quebec freight coverage image when ready. */
  background:
    linear-gradient(0deg, rgba(3, 15, 31, 0.82), rgba(3, 15, 31, 0.18)),
    url("../images/coverage-road.jpg") center / cover no-repeat;
  box-shadow: var(--shadow-soft);
}

.coverage-card h3 {
  margin: 0 0 8px;
  font-size: 1.55rem;
  line-height: 1.15;
}

.coverage-card p {
  max-width: 600px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.area-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.area-list li {
  padding: 14px 16px;
  border: 1px solid rgba(229, 231, 235, 0.86);
  border-radius: var(--radius-card);
  color: var(--color-navy);
  background: var(--color-white);
  font-weight: 760;
}

/* Page Hero */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-height) + 84px) 0 92px;
  color: var(--color-white);
  background:
    linear-gradient(90deg, rgba(3, 15, 31, 0.9), rgba(3, 15, 31, 0.56)),
    url("../images/hero-highway.jpg") center / cover no-repeat;
}

.page-hero.coverage-hero {
  background:
    linear-gradient(90deg, rgba(3, 15, 31, 0.88), rgba(3, 15, 31, 0.48)),
    url("../images/coverage-road.jpg") center / cover no-repeat;
}

.page-hero.services-hero {
  background:
    linear-gradient(90deg, rgba(3, 15, 31, 0.88), rgba(3, 15, 31, 0.5)),
    url("../images/warehouse-logistics.jpg") center / cover no-repeat;
}

.page-hero.about-hero {
  background:
    linear-gradient(90deg, rgba(3, 15, 31, 0.9), rgba(3, 15, 31, 0.52)),
    url("../images/fleet-road.jpg") center / cover no-repeat;
}

.page-hero.contact-hero {
  background:
    linear-gradient(90deg, rgba(3, 15, 31, 0.92), rgba(3, 15, 31, 0.56)),
    url("../images/warehouse-logistics.jpg") center / cover no-repeat;
}

.page-hero .section-title {
  max-width: 840px;
}

/* Values */
.value-card {
  padding: 30px;
  border-radius: var(--radius-card);
  color: var(--color-white);
  background:
    linear-gradient(135deg, rgba(6, 28, 54, 0.98), rgba(16, 79, 167, 0.9));
  box-shadow: var(--shadow-card);
}

.value-card h3 {
  margin: 16px 0 8px;
  color: var(--color-white);
}

.value-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1.16fr);
  gap: 30px;
  align-items: start;
}

.contact-panel,
.form-panel {
  border: 1px solid rgba(229, 231, 235, 0.92);
  border-radius: var(--radius-card);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.contact-panel {
  overflow: hidden;
}

.contact-panel-header {
  padding: 28px;
  color: var(--color-white);
  background: var(--color-navy);
}

.contact-panel-header h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.contact-panel-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.contact-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--color-line);
}

.contact-list li:last-child {
  border-bottom: 0;
}

.contact-list span {
  display: block;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.contact-list strong,
.contact-list a {
  color: var(--color-navy);
  font-weight: 800;
}

.form-panel {
  padding: 30px;
}

.form-panel h2 {
  margin: 0 0 8px;
  color: var(--color-navy);
  font-size: 1.55rem;
}

.form-panel p {
  margin: 0 0 22px;
  color: var(--color-slate);
}

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

.field {
  display: grid;
  gap: 7px;
}

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

.field label {
  color: var(--color-navy);
  font-size: 0.94rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(209, 213, 219, 0.95);
  border-radius: 6px;
  color: var(--color-charcoal);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(16, 79, 167, 0.72);
  box-shadow: 0 0 0 4px rgba(16, 79, 167, 0.1);
  outline: 0;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}

.form-note {
  display: none;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 6px;
  color: #0b5f35;
  background: #eaf8ef;
  font-weight: 750;
}

.form-note.is-visible {
  display: block;
}

/* CTA */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 76px 0;
  color: var(--color-white);
  background:
    linear-gradient(90deg, rgba(6, 28, 54, 0.96), rgba(11, 52, 114, 0.92)),
    url("../images/hero-highway.jpg") center / cover no-repeat;
}

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

.cta-inner h2 {
  max-width: 720px;
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.06;
}

.cta-inner p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer */
.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #061425;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.9fr 1fr;
  gap: 34px;
  padding: 64px 0 44px;
}

.footer-logo {
  width: 210px;
  height: auto;
  padding: 8px;
  border-radius: 6px;
  background: var(--color-white);
}

.footer-text {
  max-width: 360px;
  margin: 18px 0 0;
}

.footer-col h2,
.footer-col h3 {
  margin: 0 0 16px;
  color: var(--color-white);
  font-size: 1rem;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a,
.footer-contact a {
  transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--color-white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

/* Floating Actions */
.floating-actions {
  position: fixed;
  z-index: 40;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 10px;
}

.float-btn,
.scroll-top {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: var(--color-white);
  box-shadow: 0 14px 28px rgba(6, 28, 54, 0.2);
  transition: transform var(--transition), opacity var(--transition);
}

.float-btn:hover,
.scroll-top:hover {
  transform: translateY(-3px);
}

.float-call {
  background: var(--color-red);
}

.float-email {
  background: var(--color-navy-2);
}

.scroll-top {
  opacity: 0;
  pointer-events: none;
  background: var(--color-charcoal);
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.float-btn svg,
.scroll-top svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* Reveal Animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 640ms ease, transform 640ms ease;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="left"] {
  transform: translateX(-24px);
}

[data-reveal="right"] {
  transform: translateX(24px);
}

[data-reveal="left"].is-revealed,
[data-reveal="right"].is-revealed {
  transform: translateX(0);
}

/* Responsive */
@media (max-width: 1040px) {
  .grid-4,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-grid,
  .contact-layout,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-main {
    gap: 26px;
  }

  .cta-inner {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 74px;
  }

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

  .section {
    padding: 76px 0;
  }

  .section.tight {
    padding: 62px 0;
  }

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

  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 14px;
    right: 14px;
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid rgba(229, 231, 235, 0.92);
    border-radius: var(--radius-card);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity var(--transition), transform var(--transition);
    backdrop-filter: blur(18px);
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link,
  .site-header .nav-link {
    color: var(--color-navy);
  }

  .nav-actions .btn {
    display: none;
  }

  .hero {
    min-height: 92svh;
    padding-top: calc(var(--header-height) + 54px);
  }

  .hero-title {
    font-size: clamp(2.75rem, 13vw, 4.6rem);
  }

  .trust-panel,
  .grid-2,
  .grid-3,
  .grid-4,
  .stats-grid,
  .form-grid,
  .area-list {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .image-panel,
  .image-panel img {
    min-height: 350px;
  }

  .page-hero {
    padding-bottom: 72px;
  }

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

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

@media (max-width: 560px) {
  .hero-actions,
  .cta-actions,
  .form-actions {
    width: 100%;
  }

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

  .hero-card {
    width: 100%;
  }

  .contact-list li {
    grid-template-columns: 1fr;
  }

  .floating-actions {
    right: 12px;
    bottom: 12px;
  }

  .float-btn,
  .scroll-top {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
