/* Main navigation and heading */
.hero { background:#f1f3f0; border-bottom:1px solid var(--line); }
.hero-grid { grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:stretch; gap:clamp(1.8rem,4.5vw,5rem); }
.hero-copy { padding-block:clamp(2.4rem,4.1vw,4.3rem); }
.hero-location { display:flex; align-items:center; gap:.4rem; color:#435346; font-weight:600; font-size:.95rem; line-height:1.3; margin-bottom:1.2rem; }
.hero-location .ic { width:1rem; height:1rem; }
.hero h1 { font-size:clamp(2.55rem,4.4vw,4.8rem); font-weight:740; letter-spacing:-.042em; line-height:1.045; max-width:16ch; text-wrap:balance; margin:0 0 1.15rem; }
.hero-intro { max-width:35ch; font-size:clamp(1.04rem,1.35vw,1.27rem); line-height:1.55; }
.hero-image { min-height:clamp(24rem,32vw,32rem); border-radius:2px; margin-block:1.25rem; }
.hero-routes { display:grid; grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr); margin-top:clamp(1.25rem,2.3vw,2rem); }
.route-choice { display:flex; min-width:0; gap:.5rem; align-items:center; justify-content:space-between; padding:1rem .95rem; min-height:4.25rem; color:#fff; background:var(--pine); border:1px solid var(--pine); transition:background .18s ease; }
.route-choice:first-child { border-radius:2px 0 0 2px; }
.route-choice:last-child { border-inline-start-color:#758179; border-radius:0 2px 2px 0; }
.route-choice strong,.route-choice small { display:block; }
.route-choice strong { font-size:clamp(1rem,1.32vw,1.24rem); letter-spacing:-.015em; font-weight:650; line-height:1.32; }
.route-choice small { font-size:clamp(.76rem,.9vw,.88rem); line-height:1.4; color:#d3dcd5; margin-top:.23rem; }
.route-choice .ic { width:1.1rem; height:1.1rem; color:var(--lime); }
.route-choice:hover { background:#354738; }
.hero-catalog { margin-top:.52rem; font-size:.94rem; }
.btn,.head-cta,.header-max,.burger,.round,.request-card,.solution-panel { border-radius:3px; }
.service-symbol { flex:none; border-radius:2px; }
.service-entry { position:relative; padding-inline:.2rem; align-items:center; min-width:0; }
.service-entry .entry-arrow { margin-left:auto; height:1rem; width:1rem; color:#5c6a60; }
.directory-section .chapter-heading { margin-bottom:clamp(1.25rem,2.6vw,2.35rem); }
.directory-switch { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(.5rem,1.8vw,1.7rem); margin-bottom:1.25rem; }
.directory-choice { display:flex; align-items:center; justify-content:flex-start; gap:clamp(.65rem,1.5vw,1.5rem); min-width:0; flex:1; overflow:hidden; padding:.45rem 1rem .45rem .45rem; border:1px solid #b6c1b9; border-radius:2px; font-size:clamp(1rem,1.7vw,1.45rem); font-weight:650; letter-spacing:-.018em; line-height:1.25; background:#fff; transition:background-color .15s,border-color .15s; }
.directory-choice span { min-width:0; }
.directory-choice img { display:block; width:clamp(4rem,10.2vw,7.9rem); height:auto; aspect-ratio:16/9; object-fit:cover; flex:none; }
.directory-choice .ic { color:var(--lime); margin-inline-start:auto; visibility:hidden; }
.directory-choice[aria-selected=true] { background:var(--pine); border-color:var(--pine); color:#fff; }
.directory-choice[aria-selected=true] .ic { visibility:visible; }
.directory-choice:not([aria-selected=true]):hover { background:var(--pale); border-color:#667a69; }
.directory-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 clamp(1.2rem,3.4vw,3.25rem); }
.directory-list .service-entry { padding-block:1.02rem; }
.fallback-heading { margin:1rem 0 .7rem; }
[data-tab-enhanced] .fallback-heading { display:none; }
.group-more { margin-top:.55rem; }
.directory-panels { min-width:0; }
.audience-services + .audience-services:not([hidden]) { margin-top:1rem; }
.directory-panels[data-tab-enhanced] .audience-services { margin-top:0; }
.signal-path { margin-block:.8rem; }
.signal-path div { display:grid; grid-template-columns:minmax(7.25rem,.77fr) minmax(0,1.9fr); gap:1.1rem; padding:.74rem 0; border-top:1px solid #526157; }
.signal-path dt { font-weight:650; }
.signal-path dd { color:#d6e0d9; line-height:1.5; }
.contact-routes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(1.25rem,4vw,4rem); margin-block:var(--section); }
.contact-routes > div { border-top:2px solid var(--ink); padding-block:1.2rem; }
.contact-routes h2,.existing-system h2 { font-size:clamp(1.35rem,2.35vw,2.15rem); }
.contact-routes p,.existing-system p { margin:.6rem 0; max-width:55ch; color:var(--muted); }
.existing-system { display:flex; align-items:center; gap:1.25rem 2rem; justify-content:space-between; padding-block:1.4rem; background:var(--pale); }
.existing-system .btn { flex-shrink:0; padding-inline:1rem; border:1px solid #788a79; }
@media(max-width:48rem) {
  .directory-choice { padding-right:.7rem; }
  .directory-list { grid-template-columns:1fr; }
  .directory-list .service-entry { padding-block:.78rem; }
  .contact-routes { grid-template-columns:1fr; gap:.35rem; }
  .existing-system { flex-direction:column; align-items:flex-start; }
}
@media(max-width:44rem) {
  .hero-grid { grid-template-columns:1fr; gap:0; }
  .hero-copy { padding:1.6rem 0 .35rem; }
  .hero-location { margin-bottom:.75rem; font-size:.87rem; }
  .hero h1 { font-size:clamp(2.3rem,8.1vw,3.3rem); line-height:1.065; margin-bottom:.82rem; }
  .hero-routes { margin-top:1.1rem; }
  .hero-image { min-height:0; margin:.42rem 0 1rem; height:clamp(12rem,56vw,20rem); }
  .hero-intro { max-width:36ch; }
  .route-choice { min-height:4.1rem; padding:.7rem; }
  .route-choice .ic { width:1rem; height:1rem; }
  .directory-section .chapter-heading { margin-bottom:1rem; }
  .directory-switch { margin-bottom:.8rem; }
}
@media(max-width:32.5rem) {
  .directory-choice { display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:.15rem; row-gap:.45rem; padding:.43rem .5rem .58rem; font-size:clamp(.9rem,3.5vw,1.1rem); }
  .directory-choice img { width:100%; max-height:4rem; height:clamp(3.15rem,16vw,4.25rem); object-fit:cover; grid-column:1/-1; }
  .directory-choice .ic { width:.91rem; height:.91rem; }
  .signal-path div { grid-template-columns:6.8rem minmax(0,1fr); gap:.7rem; }
}
@media(max-width:23rem) {
  .route-choice { padding:.57rem; gap:.1rem; }
  .route-choice strong { font-size:.95rem; }
  .route-choice small { font-size:.72rem; }
  .route-choice .ic { display:none; }
}

/* Vehicle and crew — keep both in the frame at every size. */
.patrol { background:#eef1ed; border-block:1px solid #d2dad4; }
.patrol-layout { display:grid; grid-template-columns:minmax(17rem,.74fr) minmax(0,1.4fr); gap:clamp(1.6rem,4.5vw,5rem); align-items:center; padding-block:clamp(1.65rem,3.9vw,3.9rem); }
.patrol-copy h2 { max-width:12ch; }
.patrol-copy p { max-width:37ch; margin:1rem 0 .55rem; color:#3a5044; }
.patrol figure { overflow:hidden; background:#b6c5b6; border-radius:.38rem; }
.patrol figure img { display:block; width:100%; height:auto; aspect-ratio:1672/941; object-fit:contain; }

/* The visual keeps its original 4:5 frame and all three captions have the same space. */
.reel-section h2 { margin-bottom:clamp(1.15rem,2.4vw,2.1rem); }
.reel {
  display:grid;
  grid-template-columns:minmax(14rem,21rem) minmax(0,1fr);
  align-items:center;
  color:#f7f9f6;
  background:var(--pine);
  border-radius:2px;
  overflow:hidden;
}
.reel-frame {
  position:relative;
  width:100%;
  aspect-ratio:4/5;
  align-self:center;
  background:#15201b;
}
.reel-frame img,.reel-frame video {
  display:block;
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
}
.reel-player { z-index:0; pointer-events:none; }
.reel-poster { z-index:1; pointer-events:none; }
.reel[data-medium="video"] .reel-poster { visibility:hidden; }
.reel-frames { position:absolute; inset:0; z-index:2; }
.reel-frames picture { position:absolute; inset:0; opacity:0; }
.reel-frames picture:first-child { opacity:1; }
.reel-captions { min-width:0; padding:clamp(1.25rem,4.4vw,4.75rem); }
.reel-copy h3 {
  max-width:20ch;
  color:#fff;
  font-size:clamp(1.75rem,3.55vw,3.55rem);
  font-weight:650;
  line-height:1.09;
  letter-spacing:-.035em;
  text-wrap:balance;
}
.reel-copy p {
  max-width:42ch;
  margin-top:.8rem;
  color:#d7dfd9;
  font-size:clamp(1rem,1.25vw,1.16rem);
  line-height:1.55;
}
.reel[data-sequence] .reel-captions { display:grid; }
.reel[data-sequence] .reel-copy { grid-area:1/1; align-self:center; opacity:0; pointer-events:none; }
.reel[data-sequence] .reel-copy.is-current { opacity:1; pointer-events:auto; }
.reel[data-scripted]:not([data-sequence]) .reel-copy + .reel-copy { margin-top:1.15rem; padding-top:.95rem; border-top:1px solid #49584e; }
.reel:not([data-sequence]) .reel-copy h3 { font-size:clamp(1.15rem,1.65vw,1.6rem); }
.reel:not([data-sequence]) .reel-copy p { margin-top:.26rem; }
@media(min-width:62rem) {
  .reel { grid-template-columns:clamp(16rem,22vw,20rem) minmax(0,1fr); }
}
@media(min-width:40.01rem) and (max-width:62rem) {
  .reel { grid-template-columns:clamp(14rem,31vw,18rem) minmax(0,1fr); }
}
@media(max-width:40rem) {
  .reel-section h2 { margin-bottom:.95rem; }
  .reel { grid-template-columns:minmax(0,1fr); }
  .reel-frame { width:min(100%,17rem); margin-inline:auto; }
  .reel-captions { padding:1.1rem 1.15rem 1.3rem; border-top:1px solid #48564d; }
  .reel-copy h3 { font-size:clamp(1.52rem,6.1vw,2rem); }
  .reel-copy p { margin-top:.45rem; line-height:1.5; }
}
/* File viewers which block scripts can still animate the three short image sequences. */
@keyframes reel-fallback-scene {
  0% { opacity:1; }
  33.333333%,100% { opacity:0; }
}
@media(prefers-reduced-motion:no-preference) {
  .reel:not([data-scripted]) .reel-captions { display:grid; }
  .reel:not([data-scripted]) .reel-copy {
    grid-area:1/1; align-self:center; margin:0; padding:0; border:0; opacity:0;
  }
  .reel:not([data-scripted]) .reel-copy h3 { font-size:clamp(1.75rem,3.55vw,3.55rem); }
  .reel:not([data-scripted]) .reel-copy p { margin-top:.8rem; }
  .reel:not([data-scripted]) .reel-copy,.reel-frames picture {
    animation:reel-fallback-scene var(--reel-cycle) steps(1,end) var(--reel-delay) infinite;
  }
}
@media(max-width:40rem) and (prefers-reduced-motion:no-preference) {
  .reel:not([data-scripted]) .reel-copy h3 { font-size:clamp(1.52rem,6.1vw,2rem); }
  .reel:not([data-scripted]) .reel-copy p { margin-top:.45rem; }
}
@media(prefers-reduced-motion:reduce) {
  .reel-frame video { display:none; }
  .reel:not([data-scripted]) .reel-copy + .reel-copy { margin-top:1.15rem; padding-top:.95rem; border-top:1px solid #49584e; }
}

/* Messenger access from every page. */
.max-trigger { display:inline-flex; gap:.43rem; align-items:center; width:max-content; min-height:2.75rem; font-weight:650; }
.max-trigger .ic { width:1.22rem; height:1.22rem; }
.header-max { padding:.28rem .58rem; border:1px solid #718a78; border-radius:.34rem; font-size:.84rem; }
.header-max:hover { background:#26473a; color:var(--lime); }
.footer-contact .max-trigger,.menu-foot .max-trigger { color:var(--lime); }
.contact-max { display:grid; grid-template-columns:1fr 1.15fr; gap:1.5rem; align-items:center; margin-top:var(--section); }
.contact-max h2 { font-size:clamp(1.9rem,3.3vw,2.8rem); }
@media(max-width:56rem) {
  .patrol-layout { grid-template-columns:minmax(13rem,.73fr) minmax(0,1.27fr); gap:1.3rem; }
}
@media(max-width:44rem) {
  .patrol-layout,.contact-max { grid-template-columns:minmax(0,1fr); }
  .patrol-layout { gap:1.35rem; }
  .patrol-copy h2 { max-width:100%; }
  .patrol-copy p { max-width:44ch; }
  .header-max { gap:.27rem; }
  .header-max .ic { width:1rem; height:1rem; }
}
@media(max-width:27rem) {
  .header-phone { min-width:2.75rem; justify-content:center; }
  .header-phone span { display:none; }
  .header-phone .ic { display:block; }
  .header-max { min-height:2.75rem; }
}
@media(min-width:27.01rem) and (max-width:34rem) { .header-phone span { font-size:.82rem; } .navrow { gap:.3rem; } }
@media(max-width:23rem) {
  .navrow { padding-inline:.72rem; gap:.36rem; }
  .header-right { gap:.31rem; }
  .header-max { min-width:2.75rem; padding-inline:.38rem; justify-content:center; }
  .header-max .ic { display:none; }
}



@media(min-width:64.01rem) and (max-width:75rem) {
  .navrow nav { display:none; }
  .burger { display:inline-grid; }
}
@media(min-width:75.01rem) {
  .navrow>.brand { flex-shrink:0; }
}
@media(min-width:75.01rem) and (max-width:80rem) {
  .header-phone span { display:none; }
  .header-phone { min-width:2.75rem; justify-content:center; }
}
@media(min-width:75.01rem) and (max-width:86rem) {
  .navrow { gap:.8rem; padding-inline:clamp(1.15rem,2.5vw,2.25rem); }
  .navrow nav { gap:.85rem; }
  .header-right { gap:.7rem; }
}

.vacancy-phone { color:var(--pine); white-space:nowrap; text-decoration:underline; text-underline-offset:.2em; }
.vacancy {
  display:grid;
  grid-template-columns:minmax(0,.96fr) minmax(0,1fr);
  gap:clamp(2rem,7vw,7rem);
  align-items:start;
  padding-block:clamp(1.65rem,3.8vw,3.7rem);
  border-top:1px solid var(--line);
}
.vacancy:first-child { border-top:2px solid var(--pine); }
.vacancy:last-child { border-bottom:1px solid var(--line); }
.vacancy h2 { max-width:22ch; font-size:clamp(1.55rem,2.8vw,2.65rem); line-height:1.14; }
.vacancy-salary { margin-top:1.15rem; line-height:1.35; }
.vacancy-salary strong { display:block; color:var(--pine); font-size:clamp(1.22rem,2vw,1.75rem); }
.vacancy-salary span { display:block; margin-top:.14rem; color:var(--muted); }
.vacancy-details { max-width:60ch; }
.vacancy-details h3 { font-size:1rem; letter-spacing:normal; line-height:1.45; }
.vacancy-details ul { margin:.5rem 0 1.3rem; padding-inline-start:1.2em; }
.vacancy-details li { padding-inline-start:.1em; }
.vacancy-details li+li { margin-top:.45rem; }
.vacancy-details li::marker { color:#55703a; }
.vacancy .btn { min-height:3rem; }
@media(max-width:48rem) {
  .vacancy { grid-template-columns:minmax(0,1fr); gap:1.2rem; }
  .vacancy-salary { margin-top:.76rem; }
}
@media(max-width:30rem) {
  .vacancy .btn { width:100%; }
}

.analytics-choice[hidden], .privacy-settings[hidden] {display:none}
.analytics-choice {background:#f1f4ef;color:#1a2a21;border-bottom:1px solid #cbd3cd}
.analytics-inner {display:flex;align-items:center;justify-content:space-between;gap:1rem 2rem;padding-block:.9rem}
.analytics-inner strong {font-size:1rem}
.analytics-inner p {margin:.25rem 0 0;max-width:80ch;font-size:.9rem;line-height:1.5}
.analytics-inner a {text-decoration:underline;text-underline-offset:.15em}
.analytics-actions {display:flex;flex-wrap:wrap;gap:.5rem}
.analytics-actions button {min-height:44px;padding:.45rem .9rem;background:#fff;border:1px solid #65766a;border-radius:3px;color:#1a2a21;font:inherit;font-weight:600;cursor:pointer}
.analytics-actions button:hover {background:#e4eae3}
.privacy-settings {border:0;background:none;color:inherit;text-decoration:underline;text-underline-offset:.18em;font:inherit;cursor:pointer;min-height:44px;padding:0}
@media(max-width:740px){.analytics-inner{display:block}.analytics-actions{margin-top:.65rem}.analytics-actions button{flex:1}}
@media print {.analytics-choice,.privacy-settings{display:none}}
