/* The Gate Operator, site styles */
:root {
  --blue: #005781;
  --blue-dark: #0d3b55;
  --navy: #0a2a3d;
  --sky: #e8f1f6;
  --amber: #f7b52c;
  --amber-dark: #e09a0b;
  --ink: #15212b;
  --muted: #51606b;
  --line: #d7e2e9;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(10, 42, 61, .12);
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  padding-bottom: 72px; /* room for mobile call bar */
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  line-height: 1.15;
  letter-spacing: .01em;
  color: var(--navy);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); text-transform: uppercase; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.eyebrow {
  display: inline-block;
  font: 600 .8rem/1 "Inter", sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: .8em;
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 100; background: #fff; padding: 8px; }

/* Top strip */
.topbar { background: var(--navy); color: #cfe0ea; font-size: .85rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 4px 20px; justify-content: space-between; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 3px solid var(--blue);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 84px; }
.brand img { width: 150px; }
@media (min-width: 900px) { .brand img { width: 190px; } .site-header .wrap { min-height: 104px; } }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a {
  display: block; padding: 10px 8px;
  font-weight: 600; font-size: .9rem; white-space: nowrap;
  color: var(--navy); text-decoration: none; border-radius: 6px;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--sky); color: var(--blue); }
.nav a.nav-drone { color: var(--blue); }
.header-call {
  display: flex; flex-direction: column; align-items: center;
  background: var(--amber); color: var(--navy);
  padding: 8px 16px; border-radius: var(--radius);
  text-decoration: none; line-height: 1.1; white-space: nowrap;
  box-shadow: 0 3px 0 var(--amber-dark);
}
.header-call small { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.header-call strong { font-family: "Oswald", sans-serif; font-size: 1.55rem; letter-spacing: .02em; }
.header-call:hover { background: #ffc54d; }
.menu-btn {
  display: none; margin-left: auto;
  background: var(--navy); color: #fff; border: 0; border-radius: 8px;
  padding: 10px 12px; font: 600 .9rem "Inter", sans-serif; cursor: pointer;
}
@media (max-width: 1279px) {
  .menu-btn { display: block; }
  .header-call { display: none; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 3px solid var(--blue); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .nav a { padding: 12px; font-size: 1rem; }
}
@media (min-width: 600px) and (max-width: 1279px) {
  .header-call { display: flex; margin-left: auto; }
  .menu-btn { margin-left: 0; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: var(--radius);
  font-weight: 700; text-decoration: none; font-size: 1rem;
  border: 2px solid transparent;
}
.btn-call { background: var(--amber); color: var(--navy); box-shadow: 0 3px 0 var(--amber-dark); }
.btn-call:hover { background: #ffc54d; }
.btn-call .num { font-family: "Oswald", sans-serif; font-size: 1.35rem; font-weight: 600; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--sky); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.ico { width: 20px; height: 20px; flex: none; }

/* Hero */
.hero {
  position: relative; color: #fff;
  background: linear-gradient(115deg, var(--navy) 0%, var(--blue) 100%);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px;
  background: url(img/fence.png) repeat-x bottom left / auto 70px;
  opacity: .14; filter: invert(1);
}
.hero .wrap { position: relative; z-index: 1; display: grid; gap: 32px; padding-top: 56px; padding-bottom: 88px; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.25fr .9fr; align-items: center; padding-top: 72px; padding-bottom: 104px; } }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.15rem; color: #dbe9f1; max-width: 40em; }
.hero .eyebrow { color: var(--amber); }
.hero-card {
  background: #fff; color: var(--ink); border-radius: 14px; padding: 24px;
  box-shadow: var(--shadow); text-align: center;
}
.hero-card img { margin: 0 auto 12px; width: 260px; }
.hero-card .big-phone {
  display: block; font-family: "Oswald", sans-serif; font-size: clamp(2rem, 6vw, 2.6rem);
  color: var(--blue); text-decoration: none; line-height: 1.1; margin: 4px 0 6px;
}
.hero-card .small { font-size: .85rem; color: var(--muted); margin: 0; }
.hero-photo { border-radius: 14px; box-shadow: var(--shadow); }

/* Trust strip */
.trust { background: var(--sky); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 18px 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .trust ul { grid-template-columns: repeat(4, 1fr); } }
.trust li { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--navy); font-size: .95rem; }
.trust li span.k { font-family: "Oswald", sans-serif; font-size: 1.5rem; color: var(--blue); }

/* Sections */
section.block { padding: 64px 0; }
section.alt { background: #f6f9fb; }
.section-head { max-width: 46em; margin-bottom: 32px; }
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px;
  display: flex; flex-direction: column;
}
.card h3 a { color: var(--navy); text-decoration: none; }
.card p { color: var(--muted); }
.card .more { margin-top: auto; font-weight: 700; text-decoration: none; }
.card .tag { align-self: flex-start; background: var(--amber); color: var(--navy); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; margin-bottom: 10px; }
.card-icon { width: 46px; height: 46px; border-radius: 10px; background: var(--sky); color: var(--blue); display: grid; place-items: center; margin-bottom: 14px; }
.card-icon svg { width: 26px; height: 26px; }
.card.feature-drone { background: linear-gradient(160deg, var(--navy), var(--blue)); border: 0; color: #fff; }
.card.feature-drone h3 a, .card.feature-drone h3 { color: #fff; }
.card.feature-drone p { color: #d5e6f0; }
.card.feature-drone .more { color: var(--amber); }
.card.feature-drone .card-icon { background: rgba(255,255,255,.14); color: #fff; }

.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M8 13.6 4.4 10l-1.4 1.4L8 16.4l9-9L15.6 6z'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(115deg, var(--navy), var(--blue)); color: #fff; padding: 48px 0 56px; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero .lead { color: #dbe9f1; font-size: 1.12rem; max-width: 42em; }
.page-hero .eyebrow { color: var(--amber); }
.crumbs { font-size: .85rem; margin-bottom: 14px; color: #a9c6d6; }
.crumbs a { color: #fff; }

.two-col { display: grid; gap: 40px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.aside-call {
  background: var(--navy); color: #fff; border-radius: 14px; padding: 28px; text-align: center;
  position: sticky; top: 130px;
}
.aside-call img { background: #fff; border-radius: 10px; padding: 10px; margin: 0 auto 16px; width: 220px; }
.aside-call h3 { color: #fff; }
.aside-call .big-phone { display: block; font-family: "Oswald", sans-serif; font-size: 2.2rem; color: var(--amber); text-decoration: none; margin: 4px 0 10px; }
.aside-call p { color: #c6dbe7; font-size: .92rem; }

/* Pricing */
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.price-table th, .price-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table th { background: var(--sky); color: var(--navy); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.price-table td.rate { font-family: "Oswald", sans-serif; font-size: 1.25rem; color: var(--blue); white-space: nowrap; }
.price-table tr:last-child td { border-bottom: 0; }
.note { font-size: .9rem; color: var(--muted); }

/* Big CTA band */
.cta-band { background: var(--amber); color: var(--navy); padding: 40px 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cta-band h2 { margin: 0; color: var(--navy); }
.cta-band p { margin: 4px 0 0; font-weight: 600; }
.cta-band a.cta-phone {
  font-family: "Oswald", sans-serif; font-size: clamp(2rem, 6vw, 3rem); color: var(--navy);
  text-decoration: none; display: inline-flex; align-items: center; gap: 12px;
  background: #fff; padding: 8px 22px; border-radius: 12px; box-shadow: 0 4px 0 var(--amber-dark);
}
.cta-band a.cta-phone svg { width: 34px; height: 34px; }

/* Areas */
.areas { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.areas li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: .92rem; color: var(--navy); }

/* Drone page */
.drone-hero { position: relative; color: #fff; background: var(--navy) url(img/drone-hero.jpg) center/cover no-repeat; }
.drone-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,26,40,.94) 0%, rgba(6,26,40,.78) 50%, rgba(6,26,40,.25) 100%); }
.drone-hero .wrap { position: relative; padding-top: 72px; padding-bottom: 80px; }
.drone-hero h1 { color: #fff; max-width: 14em; }
.drone-hero .lead { color: #dbe9f1; font-size: 1.15rem; max-width: 36em; }
.drone-hero .eyebrow { color: var(--amber); }
.sectors { background: var(--blue); color: #fff; }
.sectors ul { list-style: none; margin: 0; padding: 14px 0; display: flex; flex-wrap: wrap; gap: 6px 0; justify-content: center; }
.sectors li { font-weight: 600; font-size: .95rem; padding: 0 14px; border-right: 1px solid rgba(255,255,255,.35); }
.sectors li:last-child { border-right: 0; }
.photo-band { position: relative; color: #fff; background-size: cover; background-position: center; }
.photo-band::before { content: ""; position: absolute; inset: 0; background: rgba(6,26,40,.72); }
.photo-band .wrap { position: relative; padding-top: 72px; padding-bottom: 72px; text-align: center; }
.photo-band p { font-size: clamp(1.1rem, 2.4vw, 1.4rem); max-width: 40em; margin: 0 auto; color: #eef5f9; }
.photo-band p strong { color: #fff; font-family: "Oswald", sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; font-size: 1.15em; display: block; margin-bottom: 6px; }
.steps { counter-reset: s; }
.steps .card { position: relative; padding-top: 56px; }
.steps .card::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: 18px; left: 24px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--amber); color: var(--navy); font-weight: 800; display: grid; place-items: center;
}

/* Contact */
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list .ico { width: 24px; height: 24px; color: var(--blue); margin-top: 3px; }
.contact-list strong { display: block; color: var(--navy); }
.map { width: 100%; height: 340px; border: 0; border-radius: 12px; }
form.request { display: grid; gap: 14px; background: #f6f9fb; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
form.request label { font-weight: 600; font-size: .92rem; display: grid; gap: 6px; color: var(--navy); }
form.request input, form.request select, form.request textarea {
  font: inherit; padding: 12px; border: 1px solid #b9cbd6; border-radius: 8px; background: #fff; width: 100%;
}
form.request button { justify-self: start; border: 0; cursor: pointer; }

/* Footer */
.site-footer { background: var(--navy); color: #b7cdda; padding: 48px 0 24px; font-size: .95rem; }
.site-footer .cols { display: grid; gap: 28px; }
@media (min-width: 800px) { .site-footer .cols { grid-template-columns: 1.2fr 1fr 1fr; } }
.site-footer h4 { color: #fff; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 12px; font-size: 1.05rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-logo { background: #fff; border-radius: 10px; padding: 10px; width: 210px; margin-bottom: 14px; }
.footer-phone { font-family: "Oswald", sans-serif; font-size: 2rem; color: var(--amber) !important; display: inline-block; margin-bottom: 6px; }
.legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; font-size: .82rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* Mobile sticky call bar */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--amber); color: var(--navy); text-decoration: none;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  font-family: "Oswald", sans-serif; font-size: 1.45rem; letter-spacing: .02em;
  box-shadow: 0 -4px 16px rgba(0,0,0,.18);
}
.call-bar small { font-family: "Inter", sans-serif; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.call-bar svg { width: 24px; height: 24px; }
@media (min-width: 900px) { .call-bar { display: none; } }
