@font-face {
  font-family: "Russo One";
  src: url("assets/fonts/RussoOne.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Oswald;
  src: url("assets/fonts/Oswald.ttf") format("truetype");
  font-weight: 200 700;
  font-display: swap;
}
@font-face {
  font-family: "Golos Text";
  src: url("assets/fonts/GolosText.ttf") format("truetype");
  font-weight: 400 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #000;
  --surface: #1c201e;
  --ink: #f4f2eb;
  --muted: #bac0b9;
  --gold: #dec28e;
  --line: #343a35;
  --header-height: 5.2rem;
  --contact-space: calc(5rem + env(safe-area-inset-bottom, 0px));
  --sans: "Golos Text", "Segoe UI", Arial, sans-serif;
  --display: Oswald, "Arial Narrow", var(--sans);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + .75rem); scroll-padding-bottom: var(--contact-space); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 1rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, summary, select { cursor: pointer; }
button { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
::selection { background: #dec28e; color: #151817; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: min(100% - clamp(3rem, 10vw, 11rem), 81rem); margin-inline: auto; }
.skip { position: absolute; z-index: 20; top: 8px; left: 8px; padding: .6rem 1rem; background: var(--gold); color: var(--bg); transform: translateY(-160%); }
.skip:focus { transform: none; }
.header { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid #37352f; }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .72rem; flex: none; }
.brand img { width: 3.3rem; height: 3.3rem; object-fit: contain; }
.brand-type { display: block; font: 600 1.65rem/1.04 var(--display); letter-spacing: .008em; text-transform: uppercase; white-space: nowrap; }
.brand-type span { font-weight: 450; }
.brand-type small { display: block; margin-top: .36rem; font: 500 .65rem/1.2 var(--sans); color: #c5c6bb; letter-spacing: .12em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: clamp(1.4rem, 2.6vw, 2.9rem); }
.desktop-nav a, .contact-link { font-size: .92rem; font-weight: 500; }
.desktop-nav a { padding-block: .65rem; color: #d6d9d2; }
.desktop-nav a:hover, .mobile-menu nav a:hover, .inline-link:hover { color: var(--gold); }
.contact-link { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 2.65rem; padding-inline: 1.05rem; border: 1px solid #606359; border-radius: 3px; }
.contact-link .icon { width: 1rem; height: 1rem; }
.contact-link:hover { background: #262b25; border-color: #989d8e; }
.mobile-menu { display: none; }
.hero { background: var(--bg); color: var(--ink); }
.hero-inner { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); align-items: center; gap: clamp(1.5rem,4vw,4.5rem); padding-block: clamp(2rem,3.2vw,3.6rem); }
.hero-copy { min-width: 0; container-type: inline-size; }
.guard-scene { position: relative; width: 100%; aspect-ratio: 4/3; }
.gate-model { display: block; width: 100%; height: auto; }
.boom-gate { position: absolute; left: 44.5%; bottom: 26.8%; width: 53.5%; aspect-ratio: 1064/287; }
.boom-gate::before {
  content: "";
  position: absolute;
  left: -1.8%; bottom: -1.1%; width: 20%; height: 7%;
  border-radius: 50%;
  background: radial-gradient(ellipse closest-side, #3327195c, transparent);
}
/* Both layers come from the same assembly. Its spindle is at (73.5, 33.5) on the 1064 × 287 artboard. */
.gate-arm {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-origin: 6.908% 11.672%;
  transform: rotate(0deg);
}
.gate-housing { position: absolute; inset: 0 auto 0 0; height: 100%; width: auto; }
@media (prefers-reduced-motion: no-preference) {
  .gate-arm { animation: gate-cycle 8s cubic-bezier(.77,0,.175,1) infinite; animation-play-state: paused; }
  .guard-scene.is-running .gate-arm { animation-play-state: running; }
}
@keyframes gate-cycle {
  0%, 20%, 90%, 100% { transform: rotate(0deg); }
  44%, 62% { transform: rotate(-52deg); }
}
h1, h2, h3, p, dl, dd, ol { margin: 0; }
h1, h2, h3 { font-family: "Russo One", var(--sans); font-weight: 400; }
h1 { font-size: clamp(1.6rem, 4vw, 3.65rem); font-size: clamp(1.6rem, 9.9cqi, 3.65rem); line-height: 1.08; letter-spacing: -.025em; text-transform: uppercase; }
.hero-copy > p { max-width: 31rem; margin-top: 1.15rem; font-size: clamp(1rem,1.1vw,1.1rem); line-height: 1.55; color: #c5c6bf; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.65rem; }
.button.secondary { border-color: #64695d; background: transparent; color: var(--ink); }
.button.secondary:hover { border-color: var(--gold); background: #272b26; }
.secondary .icon, .chat-link .icon { color: var(--gold); }
.chat-link { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; margin-top: .75rem; color: var(--gold); text-decoration: underline; text-underline-offset: .25em; }
.button { min-height: 3.25rem; display: inline-flex; align-items: center; justify-content: center; gap: .68rem; padding: .8rem 1.35rem; border: 1px solid transparent; border-radius: 3px; font-size: .96rem; font-weight: 650; text-align: center; transition: background-color .18s ease; }
.gold { background: var(--gold); color: #20231c; }
.gold:hover { background: #eed7ac; }
.inline-link { text-decoration: underline; text-decoration-color: #8c9186; text-underline-offset: .32em; text-decoration-thickness: 1px; }
.facts { background: #131412; border-block: 1px solid #363630; }
.facts-inner { --fact-icon: 2.25rem; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding-block: .65rem; }
.facts-inner > div { --inset: clamp(1rem,4vw,4rem); position: relative; display: flex; flex-direction: column-reverse; justify-content: center; padding-left: calc(var(--inset) + var(--fact-icon) + .85rem); border-left: 1px solid #44493f; }
.facts-inner > div:first-child { --inset: 0rem; border: 0; }
.facts dt { color: #c6c9c0; font-size: .81rem; line-height: 1.35; }
.facts dt .icon { position: absolute; top: 50%; left: var(--inset); translate: 0 -50%; color: var(--gold); width: var(--fact-icon); height: var(--fact-icon); }
.facts dd { color: var(--ink); font: 550 1.45rem/1.15 var(--display); white-space: nowrap; }
.facts dd small { font: 450 .79rem var(--sans); }
.section { padding-block: clamp(3.6rem, 5.6vw, 6rem); }
h2 { font-size: clamp(1.85rem, 3vw, 2.8rem); line-height: 1.14; letter-spacing: -.015em; }
.section-heading { display: flex; align-items: center; gap: 2rem; margin-bottom: 2.1rem; }
.section-heading span { flex: 1; height: 1px; background: var(--line); }
.section-intro { max-width: 70ch; margin: -1rem 0 2rem; color: var(--muted); }
.object-grid .other-object { justify-content: center; align-items: flex-start; padding: clamp(1.5rem, 4vw, 3.5rem); background: #151916; border: 1px solid var(--line); border-radius: 3px; }
.other-object .icon { color: var(--gold); width: 2rem; height: 2rem; }
.other-object .inline-link { margin-top: 1rem; color: var(--gold); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 3.5vw, 3.5rem) clamp(1.25rem, 2.5vw, 2.5rem); }
.service-grid img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 2px; }
h3 { font-size: clamp(1.2rem, 1.55vw, 1.45rem); line-height: 1.23; }
.service-grid h3 { margin: 1.15rem 0 .58rem; }
.service-grid p, .steps p, .contact-info > p { color: var(--muted); }
.objects-block { background: var(--surface); border-block: 1px solid var(--line); }
.object-grid { margin: 0; padding: 0; list-style: none; }
.object-grid li { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.object-quote { margin-top: auto; padding-top: .7rem; color: var(--gold); font-size: .94rem; }
.request-grid, .price-grid { display: grid; grid-template-columns: minmax(0,.87fr) minmax(0,1.13fr); gap: clamp(3rem, 8vw, 9rem); }
.contact-info > p, .price-grid > div > p { margin-top: 1.25rem; max-width: 30rem; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.inline-link { display: inline-block; padding: .1rem 0; background: none; border: 0; font-weight: 500; }
.steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2.6rem; list-style: none; padding: 0; counter-reset: steps; }
.steps li { counter-increment: steps; }
.steps li::before { display: block; content: counter(steps,decimal-leading-zero); color: #b7ab91; font: 500 1.65rem/1 var(--display); margin-bottom: 1rem; }
.steps h3 { margin-bottom: .55rem; }
.why-us { background: var(--surface); border-top: 1px solid var(--line); }
.why-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); }
.company-copy { max-width: 60ch; color: var(--muted); }
.company-copy p + p { margin-top: .8rem; }
.pricing { background: #121311; border-block: 1px solid var(--line); }
.price-grid { align-items: center; }
.price-grid > div > p { color: var(--muted); }
.rates > div { padding-block: 1rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .2rem 1.3rem; border-bottom: 1px solid #45463f; }
.rates > div:first-child { border-top: 1px solid #45463f; }
.rates dt { font-size: .96rem; }
.rates dd { font: 550 clamp(1.85rem, 3.2vw, 3.2rem)/1.18 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.rates dd small { font: 400 .95rem var(--sans); letter-spacing: 0; }
.contact-details { display: grid; justify-items: start; gap: .65rem; margin-top: 1.65rem; }
.contact-details a { display: inline-flex; align-items: center; gap: .75rem; text-decoration: underline; text-underline-offset: .24em; }
.contact-phone { font-size: 1.25rem; font-weight: 600; }
.email { color: var(--muted); }
.contact-details .icon { color: #c4b68f; }
.coverage-map { align-self: center; min-width: 0; margin: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: #171b18; }
.coverage-map img { width: 100%; height: auto; display: block; }
.coverage-map figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1rem; padding: .85rem 1rem; border-top: 1px solid var(--line); }
.coverage-map figcaption span { display: inline-flex; align-items: center; gap: .6rem; font-weight: 500; }
.coverage-map figcaption span::before { content: ""; width: 1.4rem; border-top: 2px solid #fa7366; }
.coverage-map figcaption a { font-size: .75rem; color: var(--muted); text-decoration: underline; }
.quote-dialog { width: min(38rem, calc(100% - 1.5rem)); max-width: none; max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem); padding: 0; border: 1px solid #686452; border-radius: 5px; background: var(--surface); color: var(--ink); }
.quote-dialog[open] { display: flex; flex-direction: column; }
.quote-heading { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 1.25rem clamp(1rem, 3vw, 2rem); border-bottom: 1px solid var(--line); }
.quote-heading h2 { font-size: clamp(1.3rem, 3vw, 1.85rem); }
.quote-close { width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid #676957; border-radius: 3px; background: transparent; color: var(--gold); font-size: 1.65rem; line-height: 1; }
.quote-body { overflow-y: auto; overscroll-behavior: contain; padding: 1.4rem clamp(1rem, 3vw, 2rem); }
#quote-form > .button { width: 100%; margin-top: 1rem; }
.quote-status:not(:empty) { margin-top: .9rem; font-size: .94rem; color: var(--gold); }
.quote-direct { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.quote-direct p { margin-bottom: .7rem; color: var(--muted); font-size: .9rem; }
.direct-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
.direct-actions .button { padding: .55rem .4rem; line-height: 1.2; }
.direct-actions small { display: block; font-size: .81rem; font-weight: 400; margin-top: .2rem; white-space: nowrap; color: var(--muted); }
.fields { display: grid; gap: 1rem; }
form { scroll-margin-top: 2rem; }
form label { display: block; font-weight: 500; }
form label small { color: #aeb5aa; font-size: .85rem; font-weight: 400; margin-left: .2rem; }
input, textarea { width: 100%; min-width: 0; display: block; margin-top: .4rem; color: var(--ink); background: #202420; border: 1px solid #4d544b; border-radius: 3px; padding: .8rem .9rem; font-weight: 400; }
input { height: 3.15rem; }
textarea { resize: vertical; min-height: 4.75rem; }
input::placeholder, textarea::placeholder { color: #aeb4aa; opacity: 1; }
dialog::backdrop { background: #000c; }
html:has(dialog[open]) { overflow: hidden; }
footer { padding-bottom: var(--contact-space); border-top: 1px solid var(--line); background: #121513; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: 2rem; font-size: .85rem; color: var(--muted); }
.footer-brand { color: var(--ink); }
.footer-brand img { width: 2.5rem; height: 2.5rem; }
.footer-brand .brand-type { font-size: 1.26rem; }
.quick-contact {
  position: fixed;
  z-index: 4;
  right: max(1rem, env(safe-area-inset-right));
  bottom: calc(.75rem + env(safe-area-inset-bottom));
  display: flex;
  align-items: stretch;
  max-width: calc(100% - 1rem);
  padding: .2rem;
  border: 1px solid #666856;
  border-radius: 6px;
  background: #181c18;
  box-shadow: 0 4px 16px #0006;
}
.quick-contact a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.75rem; padding: .5rem .85rem; border-radius: 3px; font-size: .91rem; font-weight: 600; line-height: 1.25; white-space: nowrap; }
.quick-contact a:first-child { background: var(--gold); color: #20231c; }
.quick-contact a:first-child:hover { background: #eed7ac; }
.quick-contact a:last-child:hover { background: #30362e; }
.quick-contact a:last-child .icon { color: var(--gold); }
.quick-contact a:focus-visible { outline-offset: -3px; }
.quick-contact a:first-child:focus-visible { outline-color: #20231c; }
body:has(dialog[open]) .quick-contact { visibility: hidden; }
@media (max-width: 960px) {
  .header-inner { gap: 1rem; }
  .desktop-nav { gap: 1rem; }
  .request-grid, .price-grid { gap: 2.3rem; }
  .rates > div { display: block; }
  .rates dd { margin-top: .3rem; }
}
@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .contact-link { margin-left: auto; }
  .mobile-menu { display: block; }
  .mobile-menu summary { display: grid; align-content: center; justify-content: center; gap: 5px; width: 2.75rem; height: 2.75rem; }
  .mobile-menu summary span { width: 20px; height: 1px; background: #eeeee7; }
  .mobile-menu nav { position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100dvh - var(--header-height)); overflow: auto; padding: .6rem 5vw 1rem; background: #1b201c; border-block: 1px solid var(--line); }
  .mobile-menu nav a { display: block; padding: .65rem 0; }
}
@media (max-width: 760px) {
  .why-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps { gap: 1.3rem; }
}
@media (max-width: 650px) {
  :root { --header-height: 4.4rem; }
  .wrap { width: calc(100% - 2.5rem); }
  .header-inner { gap: .6rem; }
  .brand { gap: .5rem; }
  .brand img { width: 2.65rem; height: 2.65rem; }
  .brand-type { font-size: 1.22rem; }
  .brand-type small { font-size: .61rem; letter-spacing: .085em; }
  .contact-link { min-height: 2.45rem; padding-inline: .7rem; font-size: .84rem; }
  .hero-inner { grid-template-columns: 1fr; gap: .65rem; padding-block: 1.85rem .75rem; }
  .hero-copy { grid-row: 1; }
  .guard-scene { width: min(100%,25rem); justify-self: center; }
  .hero-copy > p { margin-top: .85rem; }
  .contact-actions { margin-top: 1.15rem; }
  .button { min-height: 3rem; padding-inline: .95rem; }
  .facts-inner { --fact-icon: 1.7rem; width: calc(100% - 1.25rem); padding-block: .45rem; }
  .facts-inner > div { padding: calc(var(--fact-icon) + .22rem) .125rem 0; text-align: center; }
  .facts dt .icon { top: 0; left: 50%; translate: -50% 0; }
  .facts dt { font-size: .76rem; }
  .facts dd { font-size: clamp(1rem,4.3vw,1.27rem); }
  .facts dd small { font-size: .75rem; }
  .section { padding-block: 3.1rem; }
  .section-heading { gap: 1.25rem; margin-bottom: 1.4rem; }
  .request-grid, .price-grid, .steps { grid-template-columns: 1fr; gap: 1.8rem; }
  .contact-info > p, .price-grid > div > p { margin-top: .85rem; }
  .steps li { padding-left: 3rem; position: relative; }
  .steps li::before { position: absolute; top: .12rem; left: 0; }
  .rates > div { display: flex; }
  .email { overflow-wrap: anywhere; }
  .footer-inner { flex-wrap: wrap; gap: 1.25rem 2rem; }
  .footer-brand { width: 100%; }
}
@media (max-width: 540px) {
  .quick-contact { left: max(.5rem, env(safe-area-inset-left)); right: max(.5rem, env(safe-area-inset-right)); bottom: calc(.5rem + env(safe-area-inset-bottom)); }
  .quick-contact a { flex: 1 1 auto; gap: .4rem; padding-inline: .4rem; font-size: .86rem; }
  .contact-actions .button { flex: 1 1 auto; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid h3 { margin-top: .8rem; }
}
@media (max-width: 460px) {
  .contact-link { width: 2.65rem; height: 2.65rem; padding: 0; }
  .contact-link span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
