/*
  Florida Geo Map LLC — Phase 3 stylesheet
  Dreamweaver notes:
  1. Brand colors are controlled in :root.
  2. Media replacement rules are grouped under HERO MEDIA and PROJECT MEDIA.
  3. Responsive breakpoints are at 1100px, 900px, 700px and 520px.
*/

:root {
  --navy-950: #03111f;
  --navy-900: #071a2c;
  --navy-850: #09223a;
  --navy-800: #0b2e4a;
  --blue-700: #0b4f96;
  --blue-600: #1684e5;
  --cyan-500: #29b8f0;
  --cyan-400: #16c8cd;
  --green-500: #43e13c;
  --white: #ffffff;
  --gray-25: #fbfcfd;
  --gray-50: #f4f7fa;
  --gray-100: #e8eef2;
  --gray-200: #d7e0e6;
  --gray-400: #98a8b3;
  --gray-600: #60717d;
  --gray-800: #2e3138;
  --danger: #d33a3a;
  --shadow-sm: 0 10px 30px rgba(3, 17, 31, .08);
  --shadow: 0 24px 70px rgba(3, 17, 31, .14);
  --shadow-dark: 0 30px 90px rgba(0, 0, 0, .28);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 30px;
  --container: 1220px;
  --header-height: 92px;
  --transition: 220ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  color: var(--gray-800);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, video, model-viewer { max-width: 100%; }
img { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
::selection { color: var(--white); background: var(--blue-600); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 112px 0; }
.section-heading { max-width: 780px; margin-bottom: 52px; }
.section-heading > p:last-child { color: var(--gray-600); font-size: 1.06rem; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1.35fr .65fr; gap: 80px; align-items: end; }
.eyebrow { margin: 0 0 16px; color: var(--blue-600); font-size: .78rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: var(--navy-900); line-height: 1.08; letter-spacing: -.035em; }
h1 { margin-bottom: 24px; color: var(--white); font-size: clamp(3rem, 6.7vw, 6.2rem); }
h2 { margin-bottom: 20px; font-size: clamp(2.1rem, 4vw, 4.05rem); }
h3 { font-size: 1.35rem; }
p { margin-top: 0; }

.skip-link { position: fixed; left: 12px; top: -90px; z-index: 9999; padding: 12px 16px; background: var(--white); color: var(--navy-950); border-radius: 8px; box-shadow: var(--shadow-sm); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--cyan-500); outline-offset: 4px; }

/* BUTTONS */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 22px; border: 1px solid var(--cyan-400); border-radius: 999px; background: linear-gradient(135deg, var(--cyan-400), var(--blue-600)); color: var(--white); font-weight: 800; box-shadow: 0 12px 30px rgba(22, 132, 229, .25); transition: transform var(--transition), box-shadow var(--transition), filter var(--transition); }
.button:hover { transform: translateY(-2px); box-shadow: 0 17px 38px rgba(22, 132, 229, .34); filter: saturate(1.08); }
.button:active { transform: translateY(0); }
.button-small { min-height: 44px; padding: 10px 18px; }
.button-ghost { background: rgba(255, 255, 255, .02); border-color: rgba(255, 255, 255, .45); box-shadow: none; }
.button-ghost:hover { border-color: var(--white); box-shadow: none; }
.text-link { color: var(--cyan-400); font-weight: 800; }

/* HEADER AND NAVIGATION */
.utility-bar { background: var(--navy-950); color: rgba(255, 255, 255, .76); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.utility-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.utility-links { display: flex; gap: 24px; text-transform: none; letter-spacing: 0; }
.utility-links a:hover { color: var(--cyan-400); }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, .96); border-bottom: 1px solid rgba(7, 26, 44, .08); backdrop-filter: blur(14px); transition: box-shadow var(--transition), background var(--transition); }
.site-header.is-scrolled { box-shadow: 0 10px 35px rgba(3, 17, 31, .1); background: rgba(255, 255, 255, .985); }
.nav-wrap { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 28px; transition: min-height var(--transition); }
.site-header.is-scrolled .nav-wrap { min-height: 74px; }
.brand { display: flex; align-items: center; width: 248px; height: 76px; overflow: hidden; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: 24px; font-size: .9rem; font-weight: 760; color: var(--navy-900); }
.primary-nav > a:not(.button) { position: relative; padding-block: 12px; }
.primary-nav > a:not(.button)::after { content: ""; position: absolute; left: 0; bottom: 4px; width: 0; height: 2px; background: var(--blue-600); transition: width var(--transition); }
.primary-nav > a:not(.button):hover::after,
.primary-nav > a:not(.button).is-active::after { width: 100%; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--navy-900); font-weight: 800; }

/* HERO */
.hero { min-height: 760px; position: relative; display: grid; align-items: center; overflow: hidden; color: var(--white); background: radial-gradient(circle at 77% 38%, rgba(41, 184, 240, .27), transparent 28%), linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 50%, #075978 100%); }
.hero-grid { position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 54px 54px; transform: perspective(700px) rotateX(58deg) scale(1.6) translateY(24%); transform-origin: bottom; pointer-events: none; }
.hero-orbit { position: absolute; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; pointer-events: none; }
.hero-orbit-one { width: 520px; height: 520px; right: -110px; top: 80px; }
.hero-orbit-two { width: 760px; height: 280px; right: -130px; top: 245px; transform: rotate(-16deg); }
.hero-content { position: relative; z-index: 2; padding-block: 110px; pointer-events: none; }
.hero-content > * { max-width: 760px; pointer-events: auto; }
.hero .eyebrow, .section-dark .eyebrow, .quote-section .eyebrow { color: var(--cyan-400); }
.hero-copy { margin: 0 0 34px; max-width: 680px !important; color: rgba(255, 255, 255, .81); font-size: 1.18rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 12px 30px; padding: 0; margin: 40px 0 0; list-style: none; color: rgba(255, 255, 255, .76); font-size: .92rem; }
.hero-proof li::before { content: "✓"; color: var(--green-500); margin-right: 8px; font-weight: 900; }

/* HERO MEDIA: Keep the actual video untransformed so Chrome native controls remain clickable. */
.hero-media { position: absolute; z-index: 1; width: min(43vw, 640px); aspect-ratio: 16 / 11; right: 4%; top: 50%; transform: translateY(-50%); }
.map-panel { position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius-lg); overflow: hidden; background: rgba(3, 17, 31, .5); box-shadow: var(--shadow-dark); isolation: isolate; }
.map-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(140deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .015)), repeating-linear-gradient(30deg, rgba(41, 184, 240, .14) 0 1px, transparent 1px 24px); pointer-events: none; }
.hero-video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--navy-900); transform: none !important; }

.hero-video-wrap { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; background: var(--navy-950); }
.hero-video-wrap .hero-video { border-radius: inherit; }
.hero-end-poster { position: absolute; inset: 0; z-index: 10; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 0; border: 0; border-radius: inherit; background: radial-gradient(circle at 50% 35%, #174b6a 0%, #0b2e4a 45%, #061827 100%); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 250ms ease, visibility 250ms ease; }
.hero-end-poster img { width: min(78%, 520px); max-height: 72%; object-fit: contain; }
.hero-end-poster span { padding: 10px 20px; border: 1px solid rgba(255, 255, 255, .65); border-radius: 999px; background: rgba(3, 17, 31, .8); color: var(--white); font-weight: 800; }
.hero-video-wrap.is-ended .hero-end-poster { opacity: 1; visibility: visible; pointer-events: auto; }


/* TRUST STRIP */
.trust-strip { position: relative; z-index: 5; margin-top: -34px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 18px; background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.trust-grid div { padding: 27px 30px; border-right: 1px solid var(--gray-100); }
.trust-grid div:last-child { border-right: 0; }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { color: var(--navy-900); font-size: 1.08rem; }
.trust-grid span { color: var(--gray-600); font-size: .86rem; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { position: relative; min-height: 345px; padding: 34px; border: 1px solid var(--gray-100); border-radius: var(--radius); background: var(--white); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: rgba(22, 132, 229, .24); }
.service-card::after { content: ""; position: absolute; right: -55px; bottom: -55px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(41, 184, 240, .15), transparent 66%); pointer-events: none; }
.featured-card { background: linear-gradient(150deg, var(--navy-900), #0a4761); border-color: transparent; }
.featured-card h3, .featured-card p, .featured-card a { color: var(--white); }
.featured-card p { opacity: .76; }
.service-number { position: absolute; top: 22px; right: 26px; color: var(--gray-400); font-size: .78rem; font-weight: 800; }
.service-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 62px; border-radius: 15px; background: var(--gray-50); color: var(--blue-600); font-size: 1.55rem; font-weight: 900; }
.featured-card .service-icon { background: rgba(255, 255, 255, .1); color: var(--cyan-400); }
.service-card p { color: var(--gray-600); }
.service-card a { display: inline-flex; gap: 10px; margin-top: 12px; color: var(--blue-600); font-weight: 800; font-size: .9rem; }

/* INDUSTRIES */
.section-dark { position: relative; background: var(--navy-950); color: rgba(255, 255, 255, .76); overflow: hidden; }
.section-dark::after { content: ""; position: absolute; width: 640px; height: 640px; right: -250px; top: -250px; border: 1px solid rgba(41, 184, 240, .14); border-radius: 50%; box-shadow: 0 0 0 70px rgba(41, 184, 240, .025), 0 0 0 140px rgba(41, 184, 240, .02); pointer-events: none; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.industries-layout { position: relative; z-index: 2; display: grid; grid-template-columns: .82fr 1.18fr; gap: 100px; align-items: start; }
.value-list article { display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 28px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.value-list article:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.value-list article > span { color: var(--cyan-400); font-weight: 900; }
.value-list h3 { margin-bottom: 8px; }
.value-list p { margin-bottom: 0; color: rgba(255, 255, 255, .66); }

/* PROJECT MEDIA */
.project-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(290px, 1fr); grid-template-rows: repeat(2, minmax(275px, 1fr)); gap: 22px; }
.project-card { position: relative; min-width: 0; overflow: hidden; border-radius: var(--radius-lg); background: radial-gradient(circle at 50% 35%, #174b6a 0%, #0b2e4a 45%, #061827 100%); box-shadow: var(--shadow); }
.project-large { grid-row: 1 / span 2; min-height: 590px; }
.project-model-card model-viewer,
.project-video-card video,
.project-image-card img { display: block; width: 100%; height: 100%; background: transparent; }
.project-model-card model-viewer { min-height: 590px; background: radial-gradient(circle at 50% 35%, #174b6a 0%, #0b2e4a 45%, #061827 100%); }
.project-video-card video { object-fit: contain; transform: none !important; pointer-events: auto; }
.project-image-card img { padding: 24px; object-fit: contain; }
.project-label { position: absolute; left: 22px; bottom: 22px; display: grid; gap: 2px; padding: 10px 14px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; background: rgba(3, 17, 31, .72); color: var(--white); backdrop-filter: blur(8px); pointer-events: none; }
.project-label span { color: var(--cyan-400); font-size: .7rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.project-label strong { font-size: .88rem; }
.model-loading { display: grid; place-items: center; width: 100%; height: 100%; padding: 30px; color: rgba(255, 255, 255, .72); text-align: center; }
.media-expand { position: absolute; top: 14px; right: 14px; z-index: 3; padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(3, 17, 31, .72); color: var(--white); font-size: .76rem; font-weight: 800; backdrop-filter: blur(8px); }
.media-expand:hover { background: var(--blue-600); }

/* COVERAGE */
.coverage-section { background: var(--gray-50); }
.coverage-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 84px; align-items: center; }
.coverage-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.coverage-tags button { padding: 9px 14px; border: 1px solid var(--gray-200); border-radius: 999px; background: var(--white); color: var(--navy-900); font-size: .82rem; font-weight: 800; transition: border-color var(--transition), color var(--transition), background var(--transition); }
.coverage-tags button:hover,
.coverage-tags button.is-active { border-color: var(--blue-600); background: var(--blue-600); color: var(--white); }
.coverage-status { min-height: 52px; margin-top: 18px; color: var(--gray-600); font-size: .9rem; }
.coverage-map { min-height: 470px; position: relative; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(150deg, #08263b, #0a789d); box-shadow: var(--shadow); isolation: isolate; }
.coverage-map::before { content: ""; position: absolute; inset: 12%; background: rgba(255, 255, 255, .08); clip-path: polygon(8% 18%, 78% 8%, 95% 25%, 78% 39%, 84% 62%, 64% 82%, 54% 95%, 46% 77%, 30% 68%, 14% 49%); border: 1px solid rgba(255, 255, 255, .25); }
.coverage-map::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 36px 36px; pointer-events: none; }
.coverage-radar { position: absolute; z-index: 2; width: 240px; height: 240px; left: 45%; top: 50%; transform: translate(-50%, -50%); border: 1px solid rgba(41, 184, 240, .55); border-radius: 50%; box-shadow: 0 0 0 38px rgba(41, 184, 240, .08), 0 0 0 76px rgba(41, 184, 240, .04); transition: left 350ms ease, top 350ms ease; }
.coverage-dot { position: absolute; z-index: 3; width: 14px; height: 14px; left: 45%; top: 52%; background: var(--green-500); border: 3px solid var(--white); border-radius: 50%; box-shadow: 0 0 20px var(--green-500); }
.coverage-label { position: absolute; z-index: 3; left: calc(45% + 22px); top: 49%; color: var(--white); font-size: .78rem; font-weight: 900; }
.coverage-state { position: absolute; z-index: 3; color: rgba(255, 255, 255, .58); font-size: 1.15rem; font-weight: 900; transition: color var(--transition), transform var(--transition), text-shadow var(--transition); }
.state-fl { left: 56%; bottom: 16%; }
.state-ga { right: 25%; top: 23%; }
.state-al { left: 20%; top: 30%; }
.coverage-map[data-active-region="fl"] .state-fl,
.coverage-map[data-active-region="ga"] .state-ga,
.coverage-map[data-active-region="al"] .state-al { color: var(--white); transform: scale(1.28); text-shadow: 0 0 18px var(--cyan-400); }
.coverage-map[data-active-region="ga"] .coverage-radar { left: 67%; top: 34%; }
.coverage-map[data-active-region="al"] .coverage-radar { left: 29%; top: 37%; }

/* ABOUT */
.about-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: center; }
.about-logo-wrap { min-height: 370px; display: grid; place-items: center; padding: 40px; border-radius: var(--radius-lg); background: linear-gradient(145deg, var(--gray-50), var(--gray-100)); }
.about-logo-wrap img { width: 100%; }
.about-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.about-points div { padding-top: 18px; border-top: 2px solid var(--cyan-400); }
.about-points strong, .about-points span { display: block; }
.about-points strong { color: var(--navy-900); }
.about-points span { color: var(--gray-600); font-size: .82rem; }

/* FAQ */
.faq-section { background: var(--gray-25); }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: start; }
.faq-list { border-top: 1px solid var(--gray-200); }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-item h3 { margin: 0; }
.faq-item button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; border: 0; background: transparent; color: var(--navy-900); text-align: left; font-weight: 820; }
.faq-item button span { width: 32px; height: 32px; flex: 0 0 32px; display: grid; place-items: center; border-radius: 50%; background: var(--gray-100); color: var(--blue-600); font-size: 1.35rem; transition: transform var(--transition), background var(--transition), color var(--transition); }
.faq-item button[aria-expanded="true"] span { transform: rotate(45deg); background: var(--blue-600); color: var(--white); }
.faq-panel { padding: 0 56px 22px 0; color: var(--gray-600); }
.faq-panel p { margin-bottom: 0; }

/* QUOTE FORM */
.quote-section { padding: 112px 0; color: rgba(255, 255, 255, .78); background: linear-gradient(135deg, var(--navy-950), #063f58); }
.quote-section h2 { color: var(--white); }
.quote-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 85px; align-items: start; }
.contact-direct { display: grid; gap: 12px; margin-top: 40px; }
.contact-direct a { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.contact-direct a:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.contact-direct span, .contact-direct strong { display: block; }
.contact-direct span { color: var(--cyan-400); font-size: .72rem; text-transform: uppercase; letter-spacing: .13em; }
.contact-direct strong { color: var(--white); }
.quote-form { padding: 36px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); background: rgba(255, 255, 255, .06); backdrop-filter: blur(10px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.quote-form label { display: grid; gap: 8px; color: var(--white); font-size: .82rem; font-weight: 800; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px; background: rgba(255, 255, 255, .08); color: var(--white); padding: 13px 14px; outline: none; }
.quote-form option { color: var(--navy-900); }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--cyan-400); box-shadow: 0 0 0 3px rgba(41, 184, 240, .12); }
.quote-form input.is-invalid, .quote-form select.is-invalid, .quote-form textarea.is-invalid { border-color: #ff8a8a; box-shadow: 0 0 0 3px rgba(255, 138, 138, .13); }
.form-full { grid-column: 1 / -1; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; }
.quote-form .button { margin-top: 24px; border: 0; }
.quote-form .button[disabled] { cursor: wait; opacity: .7; }
.form-note { margin: 14px 0 0; font-size: .78rem; color: rgba(255, 255, 255, .58); }
.form-note.is-error { color: #ffb1b1; }
.form-note.is-success { color: #9ff7a4; }

/* FOOTER */
.site-footer { padding: 72px 0 26px; background: #020b13; color: rgba(255, 255, 255, .65); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 55px; }
.footer-brand img { width: 250px; margin-bottom: 20px; }
.footer-grid h2 { color: var(--white); font-size: .92rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid a, .footer-grid address { display: block; margin: 9px 0; font-size: .88rem; }
.footer-grid a:hover { color: var(--cyan-400); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 60px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .09); font-size: .78rem; }

/* GALLERY DIALOG */
.media-dialog { width: min(1000px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--radius); background: var(--navy-950); color: var(--white); box-shadow: 0 40px 120px rgba(0, 0, 0, .5); }
.media-dialog::backdrop { background: rgba(3, 17, 31, .82); backdrop-filter: blur(5px); }
.media-dialog-inner { padding: 20px; }
.media-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.media-dialog-header h2 { margin: 0; color: var(--white); font-size: 1.2rem; }
.dialog-close { width: 42px; height: 42px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 50%; background: rgba(255, 255, 255, .06); color: var(--white); font-size: 1.5rem; }
.media-dialog-content { min-height: 260px; display: grid; place-items: center; overflow: hidden; border-radius: 16px; background: radial-gradient(circle at 50% 35%, #174b6a 0%, #0b2e4a 45%, #061827 100%); }
.media-dialog-content img, .media-dialog-content video { display: block; max-width: 100%; max-height: 75vh; object-fit: contain; }
.noscript-note { padding: 12px 20px; background: #fff4d6; color: #493600; text-align: center; }

/* SCROLL REVEALS */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 650ms ease, transform 650ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1100px) {
  .hero-media { opacity: .48; right: -7%; width: 58vw; }
  .primary-nav { gap: 16px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-layout, .coverage-layout, .about-layout, .quote-layout, .faq-layout { gap: 54px; }
}

@media (max-width: 900px) {
  :root { --header-height: 76px; }
  .utility-bar { display: none; }
  .brand { width: 202px; height: 62px; }
  .menu-toggle { display: flex; align-items: center; gap: 10px; }
  .menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 24px; height: 2px; background: currentColor; position: relative; transition: var(--transition); }
  .menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
  .menu-icon::before { top: -7px; }
  .menu-icon::after { top: 7px; }
  .menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav { display: none; position: absolute; top: var(--header-height); left: 0; right: 0; max-height: calc(100vh - var(--header-height)); overflow-y: auto; padding: 24px 20px 30px; background: var(--white); border-top: 1px solid var(--gray-100); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 4px; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 12px; }
  .hero { min-height: 690px; }
  .hero-content { padding-block: 90px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid div:nth-child(2) { border-right: 0; }
  .trust-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--gray-100); }
  .split-heading, .industries-layout, .coverage-layout, .about-layout, .quote-layout, .faq-layout { grid-template-columns: 1fr; }
  .split-heading { gap: 12px; }
  .industries-layout { gap: 40px; }
  .project-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 430px 270px; }
  .project-large { grid-column: 1 / -1; grid-row: auto; min-height: 430px; }
  .project-model-card model-viewer { min-height: 430px; }
  .about-logo-wrap { min-height: 280px; }
  .faq-layout { gap: 18px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section, .quote-section { padding: 80px 0; }
  h1 { font-size: clamp(2.6rem, 14vw, 4.4rem); }
  h2 { font-size: 2.35rem; }
  .hero-media { width: 94vw; right: -45%; opacity: .3; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-proof { display: grid; gap: 8px; }
  .trust-grid, .services-grid, .form-grid, .about-points { grid-template-columns: 1fr; }
  .trust-grid div { border-right: 0; border-bottom: 1px solid var(--gray-100); }
  .trust-grid div:last-child { border-bottom: 0; }
  .service-card { min-height: 315px; }
  .project-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: 390px 300px 300px; }
  .project-large { grid-column: auto; min-height: 390px; }
  .project-model-card model-viewer { min-height: 390px; }
  .coverage-map { min-height: 350px; }
  .quote-form { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 520px) {
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .brand { width: 180px; }
  .hero { min-height: 640px; }
  .hero-content { padding-block: 74px; }
  .trust-strip { margin-top: -18px; }
  .project-grid { grid-template-rows: 330px 260px 260px; }
  .project-large, .project-model-card model-viewer { min-height: 330px; }
  .project-image-card img { padding: 16px; }
  .coverage-radar { width: 170px; height: 170px; box-shadow: 0 0 0 28px rgba(41, 184, 240, .08), 0 0 0 56px rgba(41, 184, 240, .04); }
}

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


/* PHASE 3 SERVICE PAGES */
.primary-nav a[aria-current="page"]::after { width: 100%; }
.service-hero { position: relative; overflow: hidden; padding: 48px 0 94px; color: var(--white); background: radial-gradient(circle at 82% 28%, rgba(41, 184, 240, .25), transparent 31%), linear-gradient(135deg, var(--navy-950), var(--navy-900) 55%, #075978); }
.service-hero-grid { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 52px 52px; pointer-events: none; }
.breadcrumbs { position: relative; z-index: 2; margin-bottom: 50px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px 12px; margin: 0; padding: 0; list-style: none; color: rgba(255,255,255,.66); font-size: .78rem; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 12px; color: rgba(255,255,255,.3); }
.breadcrumbs a:hover { color: var(--cyan-400); }
.service-hero-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .98fr) minmax(380px, .82fr); gap: 72px; align-items: center; }
.service-hero-copy h1 { max-width: 820px; font-size: clamp(3rem, 5.4vw, 5.35rem); }
.service-hero-copy > p:not(.eyebrow) { max-width: 720px; color: rgba(255,255,255,.8); font-size: 1.13rem; }
.service-hero-media { margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.28); border-radius: var(--radius-lg); background: var(--navy-950); box-shadow: var(--shadow-dark); }
.service-hero-media img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
.service-hero-proof { display: flex; flex-wrap: wrap; gap: 12px 28px; padding: 0; margin: 34px 0 0; list-style: none; color: rgba(255,255,255,.74); font-size: .88rem; }
.service-hero-proof li::before { content: "✓"; margin-right: 8px; color: var(--green-500); font-weight: 900; }
.service-summary { position: relative; z-index: 4; margin-top: -34px; }
.service-summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.service-summary-grid div { padding: 28px 32px; border-right: 1px solid var(--gray-100); }
.service-summary-grid div:last-child { border-right: 0; }
.service-summary-grid strong, .service-summary-grid span { display: block; }
.service-summary-grid strong { margin-bottom: 5px; color: var(--navy-900); font-size: 1.08rem; }
.service-summary-grid span { color: var(--gray-600); font-size: .86rem; }
.service-two-column { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: start; }
.sticky-heading { position: sticky; top: 120px; margin-bottom: 0; }
.service-rich-copy { color: var(--gray-600); font-size: 1.06rem; }
.service-rich-copy > p { margin-bottom: 25px; }
.service-callout { margin-top: 36px; padding: 26px 28px; border-left: 4px solid var(--cyan-400); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--gray-50); }
.service-callout strong { display: block; margin-bottom: 8px; color: var(--navy-900); }
.service-callout p { margin: 0; font-size: .94rem; }
.service-applications-section { background: var(--gray-25); }
.application-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.application-card { position: relative; min-height: 280px; padding: 31px; overflow: hidden; border: 1px solid var(--gray-100); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); }
.application-card > span { display: inline-block; margin-bottom: 64px; color: var(--blue-600); font-size: .76rem; font-weight: 900; letter-spacing: .12em; }
.application-card h3 { margin-bottom: 12px; }
.application-card p { margin-bottom: 0; color: var(--gray-600); font-size: .93rem; }
.application-card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -65px; top: -65px; border-radius: 50%; background: radial-gradient(circle, rgba(41,184,240,.16), transparent 68%); }
.deliverables-layout { position: relative; z-index: 2; display: grid; grid-template-columns: .92fr 1.08fr; gap: 78px; align-items: center; }
.deliverables-layout > div > p { color: rgba(255,255,255,.68); }
.deliverable-list { display: grid; gap: 0; margin: 34px 0 24px; padding: 0; list-style: none; }
.deliverable-list li { padding: 15px 0 15px 28px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.84); position: relative; }
.deliverable-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.deliverable-list li::before { content: "→"; position: absolute; left: 0; color: var(--cyan-400); font-weight: 900; }
.service-disclaimer { font-size: .8rem; }
.deliverables-media { margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-lg); background: var(--navy-900); box-shadow: var(--shadow-dark); }
.deliverables-media img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.process-grid li { min-height: 285px; padding: 30px; border: 1px solid var(--gray-100); border-radius: var(--radius); background: var(--white); }
.process-grid li > span { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 58px; border-radius: 50%; background: var(--navy-900); color: var(--cyan-400); font-size: .76rem; font-weight: 900; }
.process-grid p { margin-bottom: 0; color: var(--gray-600); font-size: .9rem; }
.industries-served-section { background: var(--gray-50); }
.industry-chip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.industry-chip-grid span { padding: 17px 18px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm); background: var(--white); color: var(--navy-900); font-weight: 800; }
.industry-note { margin: 24px 0 0; color: var(--gray-600); font-size: .86rem; }
.related-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-services-grid a { min-height: 265px; display: flex; flex-direction: column; padding: 31px; border: 1px solid var(--gray-100); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.related-services-grid a:hover { transform: translateY(-6px); border-color: rgba(22,132,229,.28); box-shadow: var(--shadow); }
.related-services-grid span { color: var(--blue-600); font-size: .76rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.related-services-grid strong { margin: 38px 0 24px; color: var(--navy-900); font-size: 1.35rem; line-height: 1.25; }
.related-services-grid em { margin-top: auto; color: var(--blue-600); font-size: .86rem; font-style: normal; font-weight: 800; }

@media (max-width: 1100px) {
  .service-hero-layout { grid-template-columns: 1fr .8fr; gap: 44px; }
  .service-two-column, .deliverables-layout { gap: 54px; }
  .application-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .service-hero { padding-top: 34px; }
  .service-hero-layout, .service-two-column, .deliverables-layout { grid-template-columns: 1fr; }
  .service-hero-media { max-width: 720px; }
  .sticky-heading { position: static; }
  .service-summary-grid { grid-template-columns: 1fr; }
  .service-summary-grid div { border-right: 0; border-bottom: 1px solid var(--gray-100); }
  .service-summary-grid div:last-child { border-bottom: 0; }
  .related-services-grid { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   GPS / GIS SERVICE HERO VIDEO
   ========================================================= */

.service-hero-media.service-video-panel {
  position: relative;

  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 8 / 5;

  margin: 0;
  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-lg);

  background:
    radial-gradient(
      circle at 50% 35%,
      #174b6a 0%,
      #0b2e4a 45%,
      #061827 100%
    );

  box-shadow: var(--shadow-dark);
}

/* Keep the wrapper inside the figure */
.service-video-wrap {
  position: relative;

  width: 100%;
  height: 100%;

  overflow: hidden;
  border-radius: inherit;
}

/* Do not use absolute positioning on the video */
.service-hero-video {
  position: static;

  display: block;
  width: 100%;
  height: 100%;

  border: 0;
  border-radius: inherit;

  object-fit: cover;
  background: #061827;

  transform: none !important;
}

/* Poster shown after the video finishes */
.service-video-poster {
  position: absolute;
  inset: 0;
  z-index: 5;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;

  width: 100%;
  height: 100%;
  padding: 0;

  border: 0;
  border-radius: inherit;

  background:
    radial-gradient(
      circle at 50% 35%,
      #174b6a 0%,
      #0b2e4a 45%,
      #061827 100%
    );

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  cursor: pointer;

  transition:
    opacity 250ms ease,
    visibility 250ms ease;
}

/*
  Override the existing:
  .service-hero-media img
  rule so the end poster does not become oversized.
*/
.service-hero-media .service-video-poster img {
  display: block;

  width: min(76%, 520px);
  height: auto;
  max-height: 72%;
  aspect-ratio: auto;

  object-fit: contain;
}

.service-video-poster span {
  padding: 10px 20px;

  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;

  background: rgba(3, 17, 31, 0.82);
  color: #ffffff;

  font-weight: 800;
}

.service-video-wrap.is-ended .service-video-poster {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 700px) {
  .service-hero { padding-bottom: 74px; }
  .breadcrumbs { margin-bottom: 36px; }
  .service-hero-copy h1 { font-size: clamp(2.7rem, 13vw, 4.35rem); }
  .service-hero-proof { display: grid; gap: 8px; }
  .application-grid, .process-grid, .industry-chip-grid, .related-services-grid { grid-template-columns: 1fr; }
  .application-card, .process-grid li, .related-services-grid a { min-height: auto; }
  .application-card > span, .process-grid li > span { margin-bottom: 34px; }
}


/* PHASE 3B — service-page consistency with the approved Phase 2 homepage */
.service-page .site-header { position: sticky; top: 0; }
.service-page .footer-grid > div:nth-child(2) { align-content: start; }
.service-page .footer-grid > div:nth-child(2) a { display: block; }
.service-page .quote-form .honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.service-page .service-hero-media img,
.service-page .deliverables-media img { display: block; }
@media (max-width: 700px) {
  .service-page .service-hero-media,
  .service-page .deliverables-media { border-radius: 22px; }
}
