:root {
  --navy-950: #04132f;
  --navy-900: #071e49;
  --navy-800: #0b2c67;
  --navy-700: #15417e;
  --orange-600: #ef5f00;
  --orange-500: #ff6900;
  --orange-400: #ff8533;
  --ink: #10203f;
  --muted: #59667d;
  --line: #dce3ec;
  --surface: #f5f7fb;
  --surface-2: #eef2f7;
  --white: #ffffff;
  --success: #1f7a4d;
  --shadow-sm: 0 10px 30px rgba(4, 19, 47, 0.08);
  --shadow-md: 0 22px 60px rgba(4, 19, 47, 0.14);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
::selection { background: rgba(255, 105, 0, 0.22); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 92px 0; }
.section-sm { padding: 64px 0; }
.section-dark { color: var(--white); background: var(--navy-950); }
.section-soft { background: var(--surface); }
.section-orange { color: var(--white); background: var(--orange-600); }
.stack > * + * { margin-top: 1rem; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--orange-600);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 30px; height: 3px; border-radius: 99px; background: currentColor; }
.section-dark .eyebrow { color: var(--orange-400); }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading.center .eyebrow { justify-content: center; }
.section-heading h2, .page-hero h1, .hero h1 {
  margin: 12px 0 16px;
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.03;
}
.section-heading h2 { font-size: clamp(2rem, 4vw, 3.45rem); }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.section-dark .section-heading p { color: rgba(255,255,255,0.72); }

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--orange-600); box-shadow: 0 12px 28px rgba(239,95,0,.24); }
.btn-primary:hover { background: #d95300; box-shadow: 0 16px 34px rgba(239,95,0,.3); }
.btn-secondary { color: #fff; background: var(--navy-900); }
.btn-secondary:hover { background: var(--navy-800); }
.btn-outline { color: var(--navy-900); border-color: rgba(7,30,73,.2); background: #fff; }
.btn-outline:hover { border-color: var(--orange-600); }
.btn-light { color: var(--navy-900); background: #fff; }
.btn-icon { width: 19px; height: 19px; flex: 0 0 auto; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--orange-600); font-weight: 800; }
.text-link:hover { color: var(--navy-900); }

.topbar { background: var(--navy-950); color: rgba(255,255,255,.86); font-size: .84rem; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-list, .topbar-contact { display: flex; align-items: center; gap: 20px; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-item svg { width: 15px; height: 15px; color: var(--orange-400); }
.topbar-contact a:hover { color: var(--orange-400); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(7,30,73,.08); backdrop-filter: blur(14px); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.logo { width: 224px; flex: 0 0 auto; }
.logo img { width: 100%; max-height: 68px; object-fit: contain; object-position: left center; }
.nav-wrap { display: flex; align-items: center; gap: 24px; }
.site-nav { display: flex; align-items: center; gap: 27px; }
.site-nav a { position: relative; font-size: .92rem; color: var(--navy-900); font-weight: 750; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 3px; background: var(--orange-600); border-radius: 99px; transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.header-cta { white-space: nowrap; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 9px; color: #fff; background: var(--navy-900); align-items: center; justify-content: center; }
.menu-toggle svg { width: 25px; height: 25px; }

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 15%, rgba(255,105,0,.18), transparent 30%),
    linear-gradient(117deg, var(--navy-950) 0%, var(--navy-900) 66%, #0b306f 100%);
}
.hero::before { content: ""; position: absolute; width: 480px; height: 480px; right: -220px; top: -180px; border: 2px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.025), 0 0 0 100px rgba(255,255,255,.02); }
.hero-inner { position: relative; z-index: 1; min-height: 675px; display: grid; grid-template-columns: 1.03fr .97fr; gap: 58px; align-items: center; padding: 72px 0; }
.hero-copy { max-width: 680px; }
.hero h1 { font-size: clamp(3rem, 6vw, 5.45rem); max-width: 760px; }
.hero h1 span { color: var(--orange-400); }
.hero-copy > p { max-width: 610px; margin: 0 0 28px; color: rgba(255,255,255,.78); font-size: clamp(1.03rem, 2vw, 1.2rem); }
.hero .eyebrow { color: var(--orange-400); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 26px 0 30px; padding: 0; list-style: none; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.9); font-size: .94rem; font-weight: 700; }
.hero-points svg { width: 17px; height: 17px; color: var(--orange-400); }
.hero-card { position: relative; max-width: 520px; margin-left: auto; }
.hero-image { position: relative; overflow: hidden; aspect-ratio: 4 / 4.55; border-radius: var(--radius-lg); box-shadow: 0 35px 80px rgba(0,0,0,.32); border: 1px solid rgba(255,255,255,.14); }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,19,47,.78), transparent 52%); }
.hero-image-caption { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 26px; }
.hero-image-caption strong { display: block; font-size: 1.34rem; }
.hero-image-caption span { color: rgba(255,255,255,.75); font-size: .92rem; }
.floating-badge { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 14px 17px; border-radius: 14px; color: var(--navy-900); background: #fff; box-shadow: var(--shadow-md); font-weight: 850; }
.floating-badge svg { width: 25px; height: 25px; color: var(--orange-600); }
.floating-badge.one { top: 42px; left: -38px; }
.floating-badge.two { right: -28px; bottom: 70px; }

.trust-strip { position: relative; z-index: 3; margin-top: -1px; border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { min-height: 108px; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 22px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-icon { width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: var(--orange-600); background: rgba(255,105,0,.1); }
.trust-icon svg { width: 24px; height: 24px; }
.trust-item strong { display: block; color: var(--navy-900); font-size: .98rem; }
.trust-item span { display: block; color: var(--muted); font-size: .82rem; }

.service-card { height: 100%; overflow: hidden; border-radius: var(--radius-md); border: 1px solid var(--line); background: #fff; box-shadow: 0 8px 28px rgba(4,19,47,.05); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: rgba(255,105,0,.35); }
.service-image { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--navy-900); }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-image img { transform: scale(1.05); }
.service-icon { position: absolute; z-index: 2; left: 18px; bottom: 0; transform: translateY(50%); width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; color: #fff; background: var(--orange-600); box-shadow: 0 12px 24px rgba(239,95,0,.25); }
.service-icon svg { width: 25px; height: 25px; }
.service-body { padding: 38px 22px 24px; }
.service-body h3 { margin: 0 0 9px; color: var(--navy-900); font-size: 1.25rem; line-height: 1.25; }
.service-body p { margin: 0 0 16px; color: var(--muted); font-size: .94rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.media-stack { position: relative; min-height: 520px; }
.media-main { width: 84%; height: 470px; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.media-main img { width: 100%; height: 100%; object-fit: cover; }
.media-small { position: absolute; right: 0; bottom: 0; width: 47%; height: 235px; overflow: hidden; border: 9px solid #fff; border-radius: 18px; box-shadow: var(--shadow-md); }
.media-small img { width: 100%; height: 100%; object-fit: cover; }
.content h2 { margin: 12px 0 18px; font-size: clamp(2rem,4vw,3.4rem); line-height: 1.08; letter-spacing: -.04em; color: var(--navy-900); }
.content > p { color: var(--muted); font-size: 1.04rem; }
.check-list { display: grid; gap: 13px; margin: 26px 0 30px; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; }
.check-list svg { width: 21px; height: 21px; flex: 0 0 auto; margin-top: 2px; color: var(--orange-600); }
.check-list strong { display: block; color: var(--navy-900); }
.check-list span { display: block; color: var(--muted); font-size: .9rem; }

.emergency-band { overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--orange-600), #ff7a18); box-shadow: 0 24px 55px rgba(239,95,0,.2); }
.emergency-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 34px 38px; color: #fff; }
.emergency-icon { width: 66px; height: 66px; display: grid; place-items: center; border-radius: 18px; color: var(--orange-600); background: #fff; }
.emergency-icon svg { width: 34px; height: 34px; }
.emergency-copy h3 { margin: 0 0 4px; font-size: 1.55rem; }
.emergency-copy p { margin: 0; color: rgba(255,255,255,.86); }

.feature-card { height: 100%; padding: 28px; border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05); }
.feature-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 18px; border-radius: 14px; color: var(--orange-400); background: rgba(255,105,0,.12); }
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { margin: 0 0 8px; font-size: 1.16rem; }
.feature-card p { margin: 0; color: rgba(255,255,255,.68); font-size: .92rem; }

.process-card { position: relative; padding: 28px 24px 25px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.process-number { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 50%; color: #fff; background: var(--navy-900); font-weight: 900; box-shadow: 0 0 0 8px var(--surface); }
.process-card h3 { margin: 0 0 8px; color: var(--navy-900); }
.process-card p { margin: 0; color: var(--muted); font-size: .92rem; }

.area-panel { position: relative; overflow: hidden; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(130deg, var(--navy-950), var(--navy-800)); }
.area-panel::after { content: ""; position: absolute; width: 390px; height: 390px; right: -130px; bottom: -210px; border-radius: 50%; border: 50px solid rgba(255,255,255,.03); }
.area-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; padding: 58px; }
.area-inner h2 { margin: 10px 0 15px; font-size: clamp(2rem,4vw,3.3rem); line-height: 1.05; letter-spacing: -.04em; }
.area-inner p { color: rgba(255,255,255,.72); }
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.area-chip { padding: 10px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.07); font-size: .9rem; font-weight: 750; }

.project-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-template-rows: 240px 240px; gap: 16px; }
.project-card { position: relative; overflow: hidden; border-radius: 16px; }
.project-card:first-child { grid-row: 1 / 3; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover img { transform: scale(1.04); }
.project-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 22px; color: #fff; background: linear-gradient(to top, rgba(4,19,47,.84), transparent 58%); }
.project-overlay strong { display: block; font-size: 1.1rem; }
.project-overlay span { display: block; color: rgba(255,255,255,.74); font-size: .84rem; }

.faq-list { max-width: 900px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 21px 22px; border: 0; color: var(--navy-900); background: transparent; text-align: left; font-weight: 850; }
.faq-question svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--orange-600); transition: transform .2s ease; }
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 22px 22px; color: var(--muted); }
.faq-item.open .faq-answer { display: block; }
.faq-answer p { margin: 0; }

.contact-shell { display: grid; grid-template-columns: .88fr 1.12fr; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.contact-info { position: relative; overflow: hidden; padding: 48px; color: #fff; background: var(--navy-950); }
.contact-info::after { content: ""; position: absolute; width: 260px; height: 260px; right: -110px; bottom: -130px; border-radius: 50%; border: 45px solid rgba(255,105,0,.12); }
.contact-info h2 { margin: 10px 0 16px; font-size: clamp(2rem,4vw,3.1rem); line-height: 1.06; letter-spacing: -.04em; }
.contact-info > p { color: rgba(255,255,255,.7); }
.contact-list { position: relative; z-index: 1; display: grid; gap: 15px; margin-top: 30px; }
.contact-row { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; }
.contact-row-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; color: var(--orange-400); background: rgba(255,255,255,.08); }
.contact-row-icon svg { width: 23px; height: 23px; }
.contact-row span { display: block; color: rgba(255,255,255,.58); font-size: .8rem; }
.contact-row strong { display: block; font-size: .98rem; overflow-wrap: anywhere; }
.contact-form { padding: 48px; background: #fff; }
.contact-form h3 { margin: 0 0 6px; color: var(--navy-900); font-size: 1.65rem; }
.contact-form > p { margin: 0 0 24px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { color: var(--navy-900); font-size: .86rem; font-weight: 800; }
.form-field input, .form-field select, .form-field textarea { width: 100%; border: 1px solid #ccd5e1; border-radius: 10px; color: var(--ink); background: #fff; outline: 0; transition: border-color .2s ease, box-shadow .2s ease; }
.form-field input, .form-field select { min-height: 50px; padding: 0 14px; }
.form-field textarea { min-height: 135px; padding: 13px 14px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--orange-600); box-shadow: 0 0 0 4px rgba(255,105,0,.1); }
.form-note { margin-top: 14px; color: var(--muted); font-size: .8rem; }
.form-check { display: flex; align-items: flex-start; gap: 9px; }
.form-check input { margin-top: 5px; }
.form-check label { color: var(--muted); font-size: .82rem; }

.page-hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(120deg, var(--navy-950), var(--navy-800)); }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,19,47,.98) 0%, rgba(4,19,47,.88) 55%, rgba(4,19,47,.38) 100%); }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.page-hero-inner { position: relative; z-index: 2; max-width: 830px; padding: 92px 0 96px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; color: rgba(255,255,255,.62); font-size: .85rem; }
.breadcrumb a:hover { color: var(--orange-400); }
.page-hero h1 { font-size: clamp(2.8rem,6vw,5rem); }
.page-hero p { max-width: 680px; color: rgba(255,255,255,.76); font-size: 1.12rem; }

.prose { max-width: 820px; }
.prose h2 { margin: 2.2rem 0 .8rem; color: var(--navy-900); font-size: 2rem; line-height: 1.15; }
.prose h3 { margin: 1.7rem 0 .5rem; color: var(--navy-900); font-size: 1.35rem; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2rem; }
.service-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 58px; align-items: start; }
.sidebar-card { position: sticky; top: 120px; padding: 26px; border-radius: var(--radius-md); color: #fff; background: var(--navy-950); box-shadow: var(--shadow-md); }
.sidebar-card h3 { margin: 0 0 8px; font-size: 1.4rem; }
.sidebar-card p { margin: 0 0 20px; color: rgba(255,255,255,.68); font-size: .92rem; }
.sidebar-card .btn { width: 100%; margin-top: 10px; }
.sidebar-links { display: grid; margin: 22px 0 0; border-top: 1px solid rgba(255,255,255,.1); }
.sidebar-links a { padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.09); color: rgba(255,255,255,.78); font-size: .9rem; }
.sidebar-links a:hover { color: var(--orange-400); }
.callout { margin: 28px 0; padding: 24px; border-left: 5px solid var(--orange-600); border-radius: 0 12px 12px 0; background: var(--surface); }
.callout strong { display: block; margin-bottom: 5px; color: var(--navy-900); }

.site-footer { color: #fff; background: var(--navy-950); }
.footer-main { padding: 66px 0 44px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .8fr .9fr 1.05fr; gap: 42px; }
.footer-brand img { width: 230px; margin-bottom: 18px; filter: drop-shadow(0 3px 8px rgba(0,0,0,.15)); }
.footer-brand p { max-width: 370px; color: rgba(255,255,255,.62); font-size: .92rem; }
.footer-title { margin: 4px 0 18px; font-size: .96rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.65); font-size: .9rem; }
.footer-links a:hover { color: var(--orange-400); }
.footer-contact { display: grid; gap: 12px; }
.footer-contact a, .footer-contact div { display: flex; align-items: flex-start; gap: 10px; color: rgba(255,255,255,.68); font-size: .9rem; overflow-wrap: anywhere; }
.footer-contact svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 3px; color: var(--orange-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); }
.footer-bottom-inner { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.52); font-size: .8rem; }
.footer-legal { display: flex; gap: 17px; }
.footer-legal a:hover { color: #fff; }

.mobile-callbar { display: none; position: fixed; z-index: 45; left: 12px; right: 12px; bottom: 12px; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(4,19,47,.96); box-shadow: 0 18px 50px rgba(0,0,0,.28); backdrop-filter: blur(10px); }
.mobile-callbar a { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 9px; font-weight: 850; }
.mobile-callbar a:first-child { color: #fff; background: var(--orange-600); }
.mobile-callbar a:last-child { color: var(--navy-900); background: #fff; }
.mobile-callbar svg { width: 19px; height: 19px; }

.notice { padding: 15px 18px; border-radius: 10px; color: #215333; background: #eaf8ef; border: 1px solid #bfe5cd; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1060px) {
  .site-nav { gap: 18px; }
  .site-nav a { font-size: .86rem; }
  .header-cta { display: none; }
  .hero-inner { gap: 36px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1.25fr .8fr .9fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  body.nav-open { overflow: hidden; }
  .topbar-list { display: none; }
  .topbar-inner { justify-content: center; }
  .menu-toggle { display: inline-flex; }
  .nav-wrap { position: fixed; inset: 122px 0 auto 0; display: none; align-items: stretch; padding: 18px 20px 25px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); }
  body.nav-open .nav-wrap { display: block; }
  .site-nav { display: grid; gap: 0; }
  .site-nav a { padding: 14px 2px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .site-nav a::after { display: none; }
  .nav-wrap .header-cta { display: flex; width: 100%; margin-top: 16px; }
  .hero-inner, .split, .area-inner, .contact-shell { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 65px; }
  .hero-card { width: min(100%, 620px); margin: 0 auto; }
  .hero-image { aspect-ratio: 16/11; }
  .floating-badge.one { left: 15px; }
  .floating-badge.two { right: 15px; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grid-3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .emergency-inner { grid-template-columns: auto 1fr; }
  .emergency-inner .btn { grid-column: 1 / -1; }
  .area-inner { padding: 44px; }
  .project-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 340px 230px 230px; }
  .project-card:first-child { grid-column: 1 / -1; grid-row: auto; }
  .service-layout { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :last-child { grid-column: auto; }
}

@media (max-width: 650px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 68px 0; }
  .section-sm { padding: 48px 0; }
  .logo { width: 180px; }
  .header-inner { min-height: 76px; }
  .nav-wrap { inset: 114px 0 auto; }
  .topbar-contact { gap: 12px; font-size: .78rem; }
  .topbar-contact a:last-child { display: none; }
  .hero-inner { min-height: auto; padding: 56px 0 64px; }
  .hero h1 { font-size: clamp(2.6rem,14vw,4.3rem); }
  .hero-image { aspect-ratio: 4/4.4; }
  .floating-badge { font-size: .82rem; }
  .floating-badge.one { top: 18px; left: 12px; }
  .floating-badge.two { right: 12px; bottom: 18px; }
  .trust-grid, .grid-2, .grid-3, .grid-4, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); justify-content: flex-start; }
  .trust-item:last-child { border-bottom: 0; }
  .media-stack { min-height: 420px; }
  .media-main { width: 92%; height: 390px; }
  .media-small { width: 52%; height: 180px; border-width: 6px; }
  .emergency-inner { grid-template-columns: 1fr; padding: 28px; }
  .emergency-icon { width: 56px; height: 56px; }
  .area-inner { padding: 34px 24px; }
  .project-grid { grid-template-columns: 1fr; grid-template-rows: repeat(4,260px); }
  .project-card:first-child { grid-column: auto; }
  .contact-info, .contact-form { padding: 32px 24px; }
  .page-hero-inner { padding: 72px 0 76px; }
  .page-hero h1 { font-size: clamp(2.5rem,13vw,4rem); }
  .footer-main { padding-bottom: 90px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; justify-content: center; padding: 18px 0 90px; }
  .mobile-callbar { display: grid; }
  .btn-row .btn { width: 100%; }
}


/* Client-ready refinements — versioned to avoid stale Netlify asset caching */
html, body { max-width: 100%; overflow-x: clip; }
img { height: auto; }
svg { display: block; max-width: 100%; }
main, section, .container, .grid, .split, .contact-shell, .footer-grid { min-width: 0; }

/* Header and footer logo: preserve the source aspect ratio at every breakpoint. */
.logo img {
  width: 100%;
  height: auto;
  max-height: 68px;
  aspect-ratio: 1016 / 547;
  object-fit: contain;
  object-position: left center;
}
.footer-brand > img {
  display: block;
  width: min(270px, 100%);
  height: auto;
  aspect-ratio: 1016 / 547;
  object-fit: contain;
  padding: 9px 11px;
  margin: 0 0 20px;
  border-radius: 12px;
  background: #fff;
  filter: none;
  image-rendering: auto;
}

/* Balanced services: no oversized inline illustrations, stable two-card layout. */
.service-balance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0 0 38px;
}
.service-category-card {
  position: relative;
  min-width: 0;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 38px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.service-category-card.roofing { background: linear-gradient(135deg, #eef4fc 0%, #fff 70%); }
.service-category-card.outdoor { background: linear-gradient(135deg, #fff2e8 0%, #fff 70%); }
.service-category-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 180px;
  height: 180px;
  right: -92px;
  top: -94px;
  border-radius: 50%;
  background: rgba(255, 105, 0, .08);
  pointer-events: none;
}
.service-category-card > * { position: relative; z-index: 1; }
.category-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 17px;
  color: var(--navy-900);
  font-size: .79rem;
  font-weight: 850;
  letter-spacing: .11em;
  line-height: 1.2;
  text-transform: uppercase;
}
.service-category-card.outdoor .category-kicker { color: var(--orange-600); }
.category-mark {
  width: 28px;
  height: 3px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: currentColor;
}
.service-category-card h3 {
  margin: 0 0 12px;
  max-width: 520px;
  color: var(--navy-900);
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  line-height: 1.14;
  letter-spacing: -.025em;
}
.service-category-card p {
  margin: 0 0 24px;
  max-width: 570px;
  color: var(--muted);
}
.service-category-card .btn { margin-top: auto; }
.balanced-service-cards { margin-top: 18px; }
.outdoor-card-grid .service-card { min-height: 100%; }
.footer-mini-links { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 18px; }
.footer-mini-links a { color: rgba(255,255,255,.66); font-size: .84rem; }
.footer-mini-links a:hover { color: var(--orange-400); }
.split-reverse-mobile .content { order: 1; }
.split-reverse-mobile .media-stack { order: 2; }

/* Keep all service icons physically bounded even if browser defaults differ. */
.service-icon,
.trust-icon,
.feature-icon,
.contact-row-icon,
.emergency-icon {
  overflow: hidden;
}
.service-icon svg { width: 25px !important; height: 25px !important; flex: 0 0 25px; }
.trust-icon svg { width: 24px !important; height: 24px !important; flex: 0 0 24px; }
.feature-icon svg { width: 26px !important; height: 26px !important; flex: 0 0 26px; }
.contact-row-icon svg { width: 23px !important; height: 23px !important; flex: 0 0 23px; }
.emergency-icon svg { width: 34px !important; height: 34px !important; flex: 0 0 34px; }

/* Alignment and overflow safeguards. */
.service-card a { display: block; height: 100%; }
.service-body { min-width: 0; }
.service-body h3, .service-body p, .footer-contact span, .contact-row strong { overflow-wrap: anywhere; }
.section-heading.center { padding-inline: 8px; }
.footer-grid > * { min-width: 0; }

@media (max-width: 900px) {
  .service-balance-grid { grid-template-columns: 1fr; }
  .service-category-card { min-height: 0; }
  .split-reverse-mobile .content,
  .split-reverse-mobile .media-stack { order: initial; }
}
@media (max-width: 650px) {
  .service-category-card { padding: 28px 24px; }
  .service-category-card h3 { font-size: 1.55rem; }
  .footer-brand > img { width: min(250px, 100%); }
}

/* Final responsive safeguards discovered during browser audit */
.text-link svg {
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px;
}
.form-check input[type="checkbox"] {
  width: 18px !important;
  min-width: 18px;
  height: 18px !important;
  min-height: 18px;
  flex: 0 0 18px;
  padding: 0;
  margin: 3px 0 0;
  border-radius: 4px;
}
.form-check label {
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: anywhere;
}
@media (max-width: 1100px) {
  .floating-badge.one { left: 15px; }
  .floating-badge.two { right: 15px; }
}
