/* Clearforce Co. — shared styles */
:root {
  --navy: #0f2a3f;
  --navy-light: #1a3d57;
  --green: #1f9d55;
  --green-dark: #16864a;
  --green-light: #e7f6ee;
  --ink: #1c2b36;
  --muted: #5e6e7a;
  --line: #e2e8ee;
  --bg: #ffffff;
  --bg-alt: #f6f9fb;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(15, 42, 63, 0.08);
  --maxw: 1140px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { color: var(--navy); line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { color: var(--muted); }

.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.center { text-align: center; }
.lead { font-size: 1.15rem; max-width: 640px; margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(31,157,85,.28); }
.btn--primary:hover { background: var(--green-dark); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-light); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--navy); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--navy));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .95rem;
}
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .96rem; }
.nav-links a:hover { color: var(--green-dark); text-decoration: none; }
.nav-links a.active { color: var(--green-dark); font-weight: 600; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-weight: 700; color: var(--navy); }
.nav-phone:hover { text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--navy); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 55%, #14506a 100%);
  color: #fff; padding: 88px 0 96px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(31,157,85,.35), transparent 70%);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 760px; }
.hero p { color: rgba(255,255,255,.85); font-size: 1.2rem; max-width: 600px; margin: 18px 0 32px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(31,157,85,.18); color: #8ef0bb;
  border: 1px solid rgba(31,157,85,.4);
  padding: 7px 16px; border-radius: 999px; font-weight: 600; font-size: .85rem; margin-bottom: 22px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; flex-wrap: wrap; }
.hero-stats .stat strong { display: block; font-size: 1.9rem; color: #fff; }
.hero-stats .stat span { color: rgba(255,255,255,.7); font-size: .9rem; }

/* Page header (interior pages) */
.page-head { background: var(--navy); color: #fff; padding: 64px 0; }
.page-head h1 { color: #fff; }
.page-head p { color: rgba(255,255,255,.82); max-width: 640px; margin-top: 12px; font-size: 1.1rem; }

/* Grid cards */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ico {
  width: 48px; height: 48px; border-radius: 10px; background: var(--green-light);
  display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: .98rem; }

/* Steps */
.steps { counter-reset: step; }
.step .num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--green);
  color: #fff; font-weight: 700; display: grid; place-items: center; margin-bottom: 14px;
}

/* Areas list */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 24px; list-style: none; }
.areas li {
  padding: 10px 14px; background: #fff; border: 1px solid var(--line);
  border-radius: 8px; font-weight: 500; color: var(--ink); font-size: .95rem;
}
.areas li::before { content: "📍 "; }

/* Checklist */
.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { padding-left: 30px; position: relative; color: var(--ink); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 800;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff; border-radius: 16px; padding: 48px; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); margin: 10px 0 24px; }

/* Form */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 9px; font-family: inherit; font-size: 1rem; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-light);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* Two-col split */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: rgba(255,255,255,.75); display: block; margin-bottom: 8px; font-size: .94rem; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: .86rem; color: rgba(255,255,255,.55);
}

.mt-0 { margin-top: 0; }
.mb-40 { margin-bottom: 40px; }

.menu-cta { display: none; }

/* Responsive */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 18px 24px 22px; gap: 4px;
    box-shadow: 0 12px 24px rgba(15,42,63,.12);
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a { display: block; padding: 12px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav-links.open .menu-cta { display: block; margin-top: 10px; }
  .nav-links.open .menu-cta a { border-bottom: 0; text-align: center; color: #fff; padding: 14px; border-radius: 10px; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .grid-2, .form-row, .areas { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .cta-band { padding: 32px 22px; }
  .hero-stats { gap: 24px; }
}

/* Interactive service-area map */
.map-wrap { display: grid; grid-template-columns: 1.55fr 1fr; gap: 28px; align-items: stretch; text-align: left; }
.map-panel { position: relative; background: radial-gradient(120% 120% at 28% 8%, #173a52 0%, #0f2a3f 55%, #091d2c 100%); border: 1px solid rgba(255,255,255,.08); border-radius: 18px; padding: 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 24px 50px rgba(15,42,63,.22); overflow: hidden; }
.map-panel svg { width: 100%; height: auto; display: block; }
.map-legend { position: absolute; left: 22px; bottom: 16px; display: flex; gap: 18px; font-size: .72rem; color: rgba(255,255,255,.62); }
.map-legend span { display: flex; align-items: center; gap: 7px; }
.dot-key { width: 9px; height: 9px; border-radius: 50%; background: #3fe089; box-shadow: 0 0 9px #1f9d55; display: inline-block; }
.map-aside { display: flex; flex-direction: column; gap: 16px; }
.city-detail { background: var(--navy); color: #fff; border-radius: 16px; padding: 26px; min-height: 172px; }
.city-detail .eyebrow { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: #8ef0bb; font-weight: 700; }
.city-detail h3 { color: #fff; font-size: 1.65rem; margin: 8px 0 12px; letter-spacing: -.01em; }
.city-detail p { color: rgba(255,255,255,.78); font-size: .95rem; margin-bottom: 18px; }
.city-detail .ok { display: inline-flex; align-items: center; gap: 8px; color: #8ef0bb; font-weight: 600; font-size: .9rem; margin-bottom: 14px; }
.city-search { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-family: inherit; font-size: .95rem; color: var(--ink); }
.city-search:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-light); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 13px; border: 1px solid var(--line); background: #fff; border-radius: 999px; font-size: .85rem; color: var(--ink); cursor: pointer; font-family: inherit; transition: all .15s; }
.chip { text-decoration: none; }
.chip:hover { border-color: var(--green); color: var(--green-dark); text-decoration: none; }
.chip.active { background: var(--green); border-color: var(--green); color: #fff; }
.mk-halo { fill: url(#halo); opacity: 0; transition: opacity .2s; pointer-events: none; }
.mk-dot { fill: #5fd99a; stroke: #091d2c; stroke-width: 1.5; transition: all .15s; pointer-events: none; }
.mk-label { fill: #fff; font-size: 13px; font-weight: 600; opacity: 0; pointer-events: none; paint-order: stroke; stroke: #091d2c; stroke-width: 3px; stroke-linejoin: round; transition: opacity .15s; }
.mk-hit { fill: transparent; cursor: pointer; }
.pulse { fill: none; stroke: #1f9d55; stroke-width: 2; opacity: 0; pointer-events: none; }
.mk.hot .mk-dot { r: 8px; fill: #8ef0bb; }
.mk.hot .mk-halo { opacity: .55; }
.mk.hot .mk-label { opacity: 1; }
.mk.sel .mk-dot { r: 8px; fill: #c4f7d8; }
.mk.sel .mk-halo { opacity: .85; }
.mk.sel .mk-label { opacity: 1; }
.mk.sel .pulse { animation: pulse 1.7s ease-out infinite; }
.mk.dim { opacity: .18; }
@keyframes pulse { 0% { r: 8px; opacity: .6; } 100% { r: 26px; opacity: 0; } }
/* Hero trust row */
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 30px; }
.trust-row span { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.9); font-weight: 500; font-size: 1rem; }
.trust-row span::before { content: "\2713"; color: #8ef0bb; font-weight: 800; }

/* What we take — compact grid */
.take { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.take-item { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; color: var(--navy); font-size: 1.02rem; }
.take-item .em { font-size: 1.5rem; line-height: 1; }
@media (max-width: 760px) { .take { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .take { grid-template-columns: 1fr; } }

/* Recent jobs gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.gphoto { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); aspect-ratio: 3 / 4; border: 1px solid var(--line); }
.gphoto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.gphoto:hover img { transform: scale(1.06); }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stars { color: #f5a623; font-size: 1.05rem; letter-spacing: 3px; margin-bottom: 14px; }
.tcard p { color: var(--ink); font-size: 1rem; margin-bottom: 20px; flex: 1; }
.tmeta { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tavatar { width: 44px; height: 44px; border-radius: 50%; background: var(--green-light); color: var(--green-dark); display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }
.tname { font-weight: 700; color: var(--navy); font-size: .95rem; }
.tsource { color: var(--muted); font-size: .82rem; display: flex; align-items: center; gap: 5px; }
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* FAQ accordion */
.faq details { border: 1px solid var(--line); border-radius: 10px; padding: 0 20px; margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); padding: 18px 0; list-style: none; position: relative; font-size: 1.05rem; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.5rem; color: var(--green); font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 0 18px; margin: 0; }

/* Leaflet satellite map */
#cfLeaflet { height: 460px; width: 100%; border-radius: 12px; background: #091d2c; z-index: 1; }
.leaflet-container { font-family: inherit; }
.cf-ic { background: transparent; border: 0; }
.leaflet-div-icon { background: transparent; border: 0; }
.cf-pin { position: relative; display: block; width: 14px; height: 14px; border-radius: 50%; background: #3fe089; border: 2px solid #fff; box-shadow: 0 0 0 4px rgba(31,157,85,.3), 0 0 10px rgba(31,157,85,.7); cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.cf-ic:hover .cf-pin { transform: scale(1.25); }
.cf-pin.sel { background: #c8f9db; transform: scale(1.35); box-shadow: 0 0 0 6px rgba(31,157,85,.4), 0 0 16px rgba(31,157,85,1); }
.cf-pin.sel::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #3fe089; transform: translate(-50%,-50%); animation: cfpulse 1.6s ease-out infinite; }
@keyframes cfpulse { 0% { width: 14px; height: 14px; opacity: .7; } 100% { width: 54px; height: 54px; opacity: 0; } }
.cf-tip { background: #0f2a3f; color: #fff; border: 0; border-radius: 8px; font-weight: 600; font-size: 12px; padding: 5px 10px; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.cf-tip::before { border-top-color: #0f2a3f !important; border-bottom-color: #0f2a3f !important; }
.map-legend { left: 24px; bottom: 22px; flex-direction: column; gap: 6px; color: #fff; z-index: 500; pointer-events: none; text-shadow: 0 1px 4px rgba(0,0,0,.85); background: rgba(9,29,44,.55); padding: 8px 12px; border-radius: 8px; }
@media (max-width: 900px) { .map-wrap { grid-template-columns: 1fr; } #cfLeaflet { height: 380px; } }

/* Brand logo image */
.brand-logo { height: 42px; width: auto; display: block; }
.footer-brand .brand-logo { height: 46px; background: #fff; padding: 7px 11px; border-radius: 10px; box-sizing: content-box; }
@media (max-width: 560px) { .brand-logo { height: 34px; } }
