:root {
  --navy: #111827;
  --navy-soft: #1b2434;
  --blue: #4c86dc;
  --blue-dark: #2f66b9;
  --paper: #ffffff;
  --soft: #f5f6f8;
  --ink: #1f2329;
  --muted: #676d76;
  --line: #dfe3ea;
  --star: #ecb72f;
  --danger: #c44537;
  --radius: 8px;
  --shadow: 0 18px 55px rgba(17, 24, 39, 0.18);
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 18px max(20px, calc((100vw - 1180px) / 2));
  color: #fff;
  background: var(--navy);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.brand img {
  width: 210px;
  height: auto;
}

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 1rem;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.86);
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: #fff;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 850px;
  padding-top: 86px;
  overflow: hidden;
  color: #fff;
  background: #0f1724;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 86px 0 0;
  width: 100%;
  height: calc(100% - 86px);
}

.hero-image {
  object-fit: cover;
  filter: blur(4px) saturate(0.8);
  transform: scale(1.03);
}

.hero-overlay {
  background: rgba(17, 24, 39, 0.55);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: var(--container);
  min-height: 764px;
  margin: 0 auto;
  padding: 70px 0;
}

.hero-card {
  width: min(960px, 100%);
  padding: clamp(34px, 5vw, 58px);
  text-align: center;
  background: rgba(24, 27, 30, 0.78);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-card h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  line-height: 1.08;
}

.hero-card p:not(.eyebrow) {
  max-width: 880px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: var(--blue);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.light {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
}

.button.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.button.full {
  width: 100%;
}

.hero-logo {
  width: 220px;
  margin: 36px auto 0;
}

.intro-band {
  padding: 26px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.section-inner {
  width: var(--container);
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.intro-grid strong {
  color: var(--blue);
  font-size: 1.1rem;
}

.intro-grid p {
  margin: 0;
  color: var(--muted);
}

.intro-grid a {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.calculator-section {
  padding: clamp(72px, 9vw, 120px) 0;
  background: var(--soft);
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.76fr) minmax(440px, 1fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
}

h2,
h3,
p,
span,
strong {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
}

h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.2;
}

.calculator-copy p:not(.section-kicker),
.about-grid p {
  color: var(--muted);
  font-size: 1.05rem;
}

.measurement-guide {
  margin: 30px 0 20px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(17, 24, 39, 0.06);
}

.glass-pane {
  position: relative;
  width: min(310px, 100%);
  height: 240px;
  margin: 0 auto;
  border: 8px solid #c6d7ee;
  border-radius: 4px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(76, 134, 220, 0.16)),
    repeating-linear-gradient(135deg, transparent 0 24px, rgba(255, 255, 255, 0.45) 25px 34px);
  box-shadow: inset 0 0 0 1px rgba(47, 102, 185, 0.18);
}

.width-arrow,
.height-arrow {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.width-arrow {
  right: 22px;
  bottom: -18px;
  left: 22px;
  min-height: 36px;
}

.height-arrow {
  top: 50%;
  left: -70px;
  min-width: 150px;
  min-height: 34px;
  transform: rotate(-90deg) translateY(-50%);
  transform-origin: center;
}

.notice-text,
.microcopy {
  color: var(--muted);
  font-size: 0.86rem;
}

.quote-tool {
  display: grid;
  gap: 18px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.tool-heading h2 {
  font-size: 1.8rem;
}

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

label span,
.openings-head strong {
  display: block;
  margin-bottom: 7px;
  color: #333842;
  font-size: 0.84rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd5de;
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

input,
select {
  height: 44px;
  padding: 0 12px;
}

textarea {
  resize: vertical;
  padding: 12px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(76, 134, 220, 0.18);
}

.openings-box {
  padding: 16px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.openings-head {
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.openings-head span {
  color: var(--muted);
  font-size: 0.82rem;
}

.opening-list {
  display: grid;
  gap: 12px;
}

.opening-row {
  display: grid;
  grid-template-columns: 92px 1fr 1fr;
  gap: 10px;
  align-items: end;
  padding-bottom: 12px;
  border-bottom: 1px solid #e6ebf1;
}

.opening-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.opening-row strong {
  align-self: center;
  color: var(--blue-dark);
}

.unit-hint {
  display: inline;
  color: var(--muted);
  font-weight: 700;
}

.estimate {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #cfd5de;
  border-radius: 8px;
}

.estimate div {
  padding: 16px 14px;
  background: #f8fafc;
  border-right: 1px solid #cfd5de;
}

.estimate div:last-child {
  border-right: 0;
}

.estimate span,
.estimate strong {
  display: block;
}

.estimate span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.estimate strong {
  margin-top: 6px;
  color: var(--blue-dark);
  font-size: 1.1rem;
}

.breakdown summary {
  cursor: pointer;
  color: #333842;
  font-weight: 800;
}

.breakdown ul {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.9rem;
}

.breakdown li {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid #edf0f4;
}

.section {
  padding: clamp(72px, 9vw, 118px) 0;
}

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

.section-title {
  max-width: 840px;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}

.service-grid article {
  min-height: 230px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-grid span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 900;
}

.service-grid p,
.faq-list p {
  color: var(--muted);
}

.map-section {
  background:
    linear-gradient(180deg, #fff 0%, #f5f6f8 100%);
}

.section-title p:not(.section-kicker) {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--muted);
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 22px;
  align-items: stretch;
  margin-top: 42px;
}

.security-map {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(76, 134, 220, 0.12), transparent 36%),
    linear-gradient(45deg, #f7fafc 0%, #eef2f7 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.security-map::before {
  content: "";
  position: absolute;
  inset: 38px;
  z-index: -1;
  background-image:
    linear-gradient(rgba(17, 24, 39, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, #000 0 62%, transparent 80%);
}

.map-water,
.map-road {
  position: absolute;
  pointer-events: none;
}

.lake {
  top: -24px;
  right: -52px;
  width: 40%;
  height: 38%;
  background: linear-gradient(135deg, #b7d6f5, #72a7de);
  border-radius: 0 0 0 100%;
  opacity: 0.86;
}

.river {
  height: 24px;
  background: rgba(95, 150, 210, 0.54);
  border-radius: 999px;
}

.river-one {
  top: 43%;
  left: 7%;
  width: 70%;
  transform: rotate(-12deg);
}

.river-two {
  top: 53%;
  left: 28%;
  width: 56%;
  transform: rotate(18deg);
}

.map-road {
  height: 8px;
  background: rgba(17, 24, 39, 0.2);
  border-radius: 999px;
}

.road-one {
  top: 36%;
  left: 10%;
  width: 72%;
  transform: rotate(8deg);
}

.road-two {
  top: 67%;
  left: 15%;
  width: 64%;
  transform: rotate(-16deg);
}

.road-three {
  top: 18%;
  left: 24%;
  width: 46%;
  transform: rotate(50deg);
}

.map-label {
  position: absolute;
  z-index: 1;
  color: rgba(17, 24, 39, 0.48);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.label-lake {
  top: 34px;
  right: 42px;
}

.label-rhone {
  top: 44%;
  left: 14%;
}

.map-marker {
  position: absolute;
  top: var(--y);
  left: var(--x);
  z-index: 3;
  display: grid;
  width: 18px;
  height: 18px;
  padding: 0;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: var(--danger);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.26);
  transform: translate(-50%, -50%);
}

.map-marker.medium {
  background: #d4922e;
}

.map-marker::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 2px solid currentColor;
  border-radius: inherit;
  opacity: 0.18;
}

.map-marker.is-active {
  width: 22px;
  height: 22px;
  background: var(--blue-dark);
}

.map-marker span {
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  min-width: max-content;
  padding: 7px 10px;
  color: #fff;
  background: var(--navy);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  opacity: 0;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}

.map-marker:hover span,
.map-marker:focus-visible span,
.map-marker.is-active span {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.security-map {
  min-height: 560px;
  background: #f1f4f8;
}

.security-map::before {
  content: none;
}

.map-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-contours path {
  fill: none;
  stroke: rgba(110, 119, 132, 0.18);
  stroke-width: 1.2;
}

.map-lake {
  fill: #adc7e8;
}

.map-text {
  fill: rgba(60, 75, 104, 0.66);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
}

.rhone-text {
  fill: rgba(17, 24, 39, 0.48);
}

.map-roads path {
  fill: none;
  stroke: rgba(112, 121, 134, 0.32);
  stroke-width: 11;
  stroke-linecap: round;
}

.map-river {
  fill: none;
  stroke: rgba(92, 132, 190, 0.52);
  stroke-width: 29;
  stroke-linecap: round;
}

.map-river.second {
  stroke-width: 28;
  opacity: 0.72;
}

.map-area-blue {
  fill: rgba(55, 95, 170, 0.72);
  stroke: rgba(55, 95, 170, 0.86);
  stroke-width: 1.5;
}

.map-area-blue.soft {
  opacity: 0.44;
}

.map-area-red {
  fill: rgba(185, 62, 58, 0.84);
  stroke: rgba(145, 38, 36, 0.92);
  stroke-width: 1.5;
}

.map-route {
  fill: none;
  stroke: rgba(64, 154, 71, 0.9);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.map-route.dashed {
  stroke-dasharray: 8 10;
  opacity: 0.8;
}

.map-marker {
  width: 22px;
  height: 22px;
}

.map-marker.high,
.map-marker.red-zone {
  background: #b94b3f;
}

.map-marker.medium {
  background: #c9963d;
}

.map-marker.blue-zone {
  background: #4f73c4;
}

.map-marker.route-zone {
  background: #3d9a48;
}

.map-marker.is-active {
  width: 26px;
  height: 26px;
  background: var(--navy);
}

.map-marker.red-zone.is-active {
  background: #a73532;
}

.map-marker.blue-zone.is-active {
  background: #425fae;
}

.map-marker.route-zone.is-active {
  background: #2d7d38;
}

.map-legend {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  display: grid;
  gap: 9px;
  min-width: 210px;
  padding: 14px;
  color: #2d3440;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(17, 24, 39, 0.12);
  font-size: 0.84rem;
  font-weight: 800;
}

.map-legend span {
  display: flex;
  gap: 9px;
  align-items: center;
}

.legend-dot,
.legend-line {
  display: inline-block;
  flex: 0 0 auto;
}

.legend-dot {
  width: 14px;
  height: 14px;
  border-radius: 3px;
}

.legend-dot.blue {
  background: rgba(55, 95, 170, 0.72);
}

.legend-dot.red {
  background: rgba(185, 62, 58, 0.84);
}

.legend-line.green {
  width: 25px;
  height: 4px;
  background: #3d9a48;
  border-radius: 999px;
}

.security-map.real-map-shell {
  min-height: 640px;
  background: #e9eef5;
}

.leaflet-map {
  position: absolute;
  inset: 0;
  z-index: 1;
  font-family: inherit;
}

.leaflet-container {
  background: #e9eef5;
}

.leaflet-popup-content {
  margin: 10px 12px;
  color: var(--ink);
  font-family: inherit;
  line-height: 1.35;
}

.leaflet-control-attribution {
  font-size: 0.68rem;
}

.real-map-shell .map-legend {
  z-index: 410;
}

.map-title-ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  left: 14px;
  z-index: 410;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  color: #fff;
  background: rgba(17, 24, 39, 0.9);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.22);
  pointer-events: none;
}

.map-title-ribbon strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  text-transform: uppercase;
}

.map-title-ribbon span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
  font-style: italic;
}

.risk-board {
  position: absolute;
  top: 86px;
  left: 14px;
  z-index: 410;
  display: grid;
  gap: 10px;
  width: min(280px, calc(100% - 28px));
  padding: 14px;
  color: #fff;
  background: rgba(17, 24, 39, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.22);
}

.risk-board > strong {
  font-size: 0.9rem;
  text-transform: uppercase;
}

.risk-row {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 7px;
}

.risk-row span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
}

.risk-row.high span {
  background: #dc2626;
}

.risk-row.moderate span {
  background: #f97316;
}

.risk-row.logistic span {
  color: #2c2507;
  background: #facc15;
}

.risk-row b,
.risk-row small {
  display: block;
}

.risk-row b {
  font-size: 0.86rem;
}

.risk-row small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
}

.legend-line.dark-red {
  width: 25px;
  height: 4px;
  background: #7f1d1d;
  border-radius: 999px;
}

.legend-line.purple {
  width: 25px;
  height: 4px;
  background: #5b21b6;
  border-radius: 999px;
}

.legend-dot.orange {
  background: rgba(249, 115, 22, 0.74);
}

.legend-dot.yellow {
  background: rgba(250, 204, 21, 0.78);
}

.map-disclaimer {
  position: absolute;
  right: 18px;
  bottom: 118px;
  z-index: 410;
  max-width: min(560px, calc(100% - 36px));
  margin: 0;
  padding: 9px 12px;
  color: #fff;
  background: rgba(17, 24, 39, 0.86);
  border-radius: 999px;
  font-size: 0.78rem;
  font-style: italic;
  pointer-events: none;
}

.risk-map-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.28);
}

.risk-map-icon span {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #fff;
  font-weight: 900;
  line-height: 1;
}

.risk-map-icon.glass {
  background: #dc2626;
}

.risk-map-icon.warning {
  background: #b91c1c;
}

.risk-map-icon.access {
  background: #111827;
}

.map-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  text-align: center;
  background: #f1f4f8;
}

.zone-card {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 28px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.zone-card h3 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.zone-card p,
.zone-card li {
  color: rgba(255, 255, 255, 0.8);
}

.zone-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.zone-priority {
  width: fit-content;
  margin: 0;
  padding: 7px 10px;
  color: #fff;
  background: rgba(196, 69, 55, 0.9);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

.zone-shortcuts button {
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 800;
}

.zone-shortcuts button:hover,
.zone-shortcuts button.is-active {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.dark-section {
  padding: clamp(72px, 9vw, 118px) 0;
  color: #fff;
  background: var(--navy);
}

.dark-section h2,
.dark-section .section-kicker {
  color: #fff;
}

.about-grid,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 76px);
}

.about-grid p,
.about-grid li {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.04rem;
}

.about-grid ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding-left: 18px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
}

.contact-section {
  background: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
}

.contact-layout p:not(.section-kicker) {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.contact-card {
  display: grid;
  min-height: 134px;
  padding: 20px;
  align-content: space-between;
  color: var(--ink);
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  border-color: rgba(76, 134, 220, 0.45);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.1);
  transform: translateY(-2px);
}

.contact-card span {
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.contact-card-button {
  width: 100%;
  border: 1px solid var(--line);
  cursor: pointer;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 22px;
}

.modal.is-open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.68);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: min(850px, calc(100vh - 44px));
  overflow: auto;
  padding: 30px;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.modal-panel h2 {
  font-size: 2rem;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: #fff;
  background: var(--navy);
  font-size: 1.5rem;
  line-height: 1;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.trap-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.botcheck-field {
  display: none;
}

.button:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.form-status {
  display: none;
  padding: 12px 14px;
  border-radius: 6px;
  font-weight: 700;
}

.form-status:not(:empty) {
  display: block;
}

.form-status.success {
  color: #17613a;
  background: #e9f8ef;
  border: 1px solid #b9e7c9;
}

.form-status.error {
  color: #8b2e25;
  background: #fff0ee;
  border: 1px solid #f2c0ba;
}

.cookie-banner {
  position: fixed;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 90;
  display: none;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  width: min(960px, calc(100vw - 44px));
  margin: 0 auto;
  padding: 18px;
  color: #fff;
  background: rgba(17, 24, 39, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.cookie-banner.is-visible {
  display: grid;
}

.cookie-banner strong {
  display: block;
  margin-bottom: 4px;
}

.cookie-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

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

.site-footer {
  padding: 46px 0;
  color: #fff;
  background: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 30px;
  align-items: start;
}

.footer-grid img {
  width: 190px;
}

.footer-grid h3 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
}

.footer-grid p,
.footer-grid a {
  display: block;
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.86);
}

.cookie-banner a {
  color: #bfdbfe;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mobile-action-bar {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 25;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 8px;
  background: rgba(17, 24, 39, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.3);
  backdrop-filter: blur(10px);
}

.mobile-action-bar a {
  min-height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

.mobile-action-bar a:first-child {
  color: #0f172a;
  background: #fff;
}

.mobile-action-bar a:nth-child(2) {
  background: #25d366;
}

.legal-page {
  background: #f5f6f8;
}

.legal-page .site-header {
  position: static;
}

.legal-nav {
  justify-content: flex-end;
}

.legal-main {
  width: var(--container);
  margin: 0 auto;
  padding: 56px 0;
}

.legal-hero {
  padding: 42px;
  color: #fff;
  background:
    linear-gradient(130deg, rgba(17, 24, 39, 0.96), rgba(27, 36, 52, 0.9)),
    url("assets/hero-protection-vitrines-g7.png") center / cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.legal-hero h1 {
  max-width: 780px;
  margin: 8px 0 14px;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.08;
}

.legal-hero p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
}

.legal-panel {
  margin-top: 18px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.06);
}

.legal-panel h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.35rem;
}

.legal-panel p,
.legal-panel li {
  color: var(--muted);
}

.legal-panel a {
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.thank-you-page {
  min-height: 100vh;
  background:
    linear-gradient(rgba(17, 24, 39, 0.62), rgba(17, 24, 39, 0.72)),
    url("assets/hero-protection-vitrines-g7.png") center / cover;
}

.thank-you-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 120px 20px 48px;
}

.thank-you-panel {
  width: min(720px, 100%);
  padding: 42px;
  color: #fff;
  text-align: center;
  background: rgba(17, 24, 39, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.thank-you-panel img {
  width: 180px;
  margin: 0 auto 24px;
}

.thank-you-panel h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 5vw, 3rem);
}

.thank-you-panel p {
  margin: 0 auto 26px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.86);
}

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

  .main-nav {
    position: fixed;
    top: 86px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    background: var(--navy);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-header.menu-active .main-nav {
    display: flex;
  }

  .legal-page .main-nav {
    position: static;
    display: flex;
    width: auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .calculator-layout,
  .intro-grid,
  .about-grid,
  .faq-layout,
  .map-layout,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .security-map {
    min-height: 440px;
  }

  .security-map.real-map-shell {
    min-height: 620px;
  }

  .risk-board {
    top: 78px;
    width: min(250px, calc(100% - 28px));
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 28px, 1180px);
  }

  .site-header {
    min-height: 74px;
    padding: 14px;
  }

  .brand img {
    width: 160px;
  }

  .hero {
    min-height: 720px;
    padding-top: 74px;
  }

  .hero-image,
  .hero-overlay {
    inset: 74px 0 0;
    height: calc(100% - 74px);
  }

  .hero-inner {
    min-height: 646px;
    padding: 34px 0;
  }

  .hero-card {
    padding: 26px 18px;
  }

  .hero-card h1 {
    font-size: clamp(1.85rem, 9vw, 2.6rem);
  }

  .hero-actions,
  .field-row,
  .estimate,
  .opening-row,
  .service-grid,
  .contact-grid,
  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .quote-tool {
    padding: 20px;
  }

  .height-arrow {
    left: -64px;
  }

  .estimate div {
    border-right: 0;
    border-bottom: 1px solid #cfd5de;
  }

  .estimate div:last-child {
    border-bottom: 0;
  }

  .openings-head {
    display: block;
  }

  .opening-row {
    gap: 8px;
  }

  .security-map {
    min-height: 390px;
  }

  .security-map.real-map-shell {
    min-height: 620px;
  }

  .map-title-ribbon {
    display: grid;
    gap: 2px;
  }

  .risk-board {
    right: 14px;
    width: auto;
  }

  .risk-row {
    grid-template-columns: 32px 1fr;
  }

  .map-legend {
    right: 14px;
    bottom: 14px;
    left: 14px;
    min-width: 0;
  }

  .map-disclaimer {
    right: 14px;
    bottom: 118px;
    left: 14px;
    max-width: none;
    border-radius: 8px;
  }

  .map-marker span {
    max-width: 150px;
    min-width: 0;
    white-space: normal;
    text-align: center;
  }

  .zone-card,
  .thank-you-panel {
    padding: 24px;
  }

  .cookie-banner {
    right: 14px;
    bottom: 84px;
    left: 14px;
    width: calc(100vw - 28px);
  }

  .mobile-action-bar {
    display: grid;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .legal-main {
    padding: 28px 0 84px;
  }

  .legal-hero,
  .legal-panel {
    padding: 24px;
  }
}
