/* ─────────────────────────────────────────────────────────────────────────────
   Utilities Combined — Marketing site styles
   Brand: WordPress audit
     - Primary dark navy:  #1A1A2E
     - Secondary navy:     #16213E
     - Brand accent:       #E3FF00  (neon yellow-green, matches platform #D4F000)
     - Eco green dark:     #3A5A1C
     - Eco green light:    #F0F7E6
   Mobile-first. No external font CDN (system stack for perf).
   ───────────────────────────────────────────────────────────────────────────── */

:root {
  --navy:        #1A1A2E;
  --navy-2:      #16213E;
  --accent:      #E3FF00;
  --accent-ink:  #1A1A2E;
  --eco:         #3A5A1C;
  --eco-bg:      #F0F7E6;
  --ink:         #212121;
  --muted:       #5b6470;
  --line:        #e4e7eb;
  --bg:          #ffffff;
  --bg-soft:     #f8f9fa;
  --bg-dim:      #f1f3f5;
  --radius:      10px;
  --radius-lg:   18px;
  --shadow:      0 6px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg:   0 14px 40px rgba(15, 23, 42, 0.14);
  --container:   1180px;
  --font:        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: var(--navy); text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ── LAYOUT ── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
section { padding: 64px 0; }
@media (min-width: 768px) { section { padding: 88px 0; } }

/* Visually hidden (a11y) */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.2; color: var(--navy); letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.625rem, 3.6vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p { font-size: 1rem; color: var(--ink); }
.lead { font-size: 1.125rem; color: var(--muted); line-height: 1.6; }
.eyebrow { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--eco); margin-bottom: 14px; }
.eyebrow.on-dark { color: var(--accent); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px; border-radius: var(--radius); font-weight: 700;
  font-size: 1rem; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  cursor: pointer; text-decoration: none; line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 4px 14px rgba(227, 255, 0, 0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(227, 255, 0, 0.5); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost.on-dark:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-sm { padding: 9px 16px; font-size: .875rem; }
.btn-lg { padding: 18px 30px; font-size: 1.0625rem; }
.btn-block { display: flex; justify-content: center; width: 100%; }

/* ── HEADER / NAV ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; max-width: var(--container); margin: 0 auto; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy); font-size: 1.0625rem; }
.logo img { width: 36px; height: 36px; object-fit: contain; }
.logo small { display: block; font-size: .6875rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }

.primary-nav { display: none; }
@media (min-width: 980px) {
  .primary-nav { display: flex; align-items: center; gap: 6px; flex: 1; justify-content: center; }
}
.nav-link {
  position: relative; padding: 10px 14px; font-weight: 600; font-size: .9375rem; color: var(--navy);
  border-radius: 8px; transition: background-color .15s ease;
}
.nav-link:hover { background: var(--bg-dim); }
.nav-link.active { color: var(--eco); }
.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 4px); left: 0;
  min-width: 260px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 12px; border-radius: 6px; font-size: .9375rem; font-weight: 600; color: var(--navy); }
.dropdown a:hover { background: var(--bg-dim); }

.nav-cta { display: none; align-items: center; gap: 10px; }
@media (min-width: 980px) { .nav-cta { display: inline-flex; } }
.nav-tel { font-weight: 700; color: var(--navy); font-size: .9375rem; padding: 8px 12px; border-radius: 8px; }
.nav-tel:hover { background: var(--bg-dim); }

/* Mobile nav */
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 8px; background: transparent; border: 1px solid var(--line);
}
.nav-toggle svg { width: 22px; height: 22px; }
@media (min-width: 980px) { .nav-toggle { display: none; } }

.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 100;
  background: rgba(26, 26, 46, .94); backdrop-filter: blur(8px); padding: 80px 24px 24px;
}
.mobile-nav.open { display: block; }
.mobile-nav .close { position: absolute; top: 18px; right: 18px; background: transparent; border: 0; color: #fff; padding: 8px; }
.mobile-nav .close svg { width: 26px; height: 26px; }
.mobile-nav a { display: block; padding: 14px 4px; color: #fff; font-size: 1.125rem; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-nav a.sub { padding-left: 22px; font-weight: 500; font-size: 1rem; color: rgba(255,255,255,.8); }
.mobile-nav .m-section { color: var(--accent); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; margin: 18px 4px 8px; }
.mobile-nav .m-cta { margin-top: 24px; display: grid; gap: 10px; }
.mobile-nav .m-cta .btn { justify-content: center; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; position: relative; overflow: hidden;
  padding: 64px 0 80px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at top right, rgba(227,255,0,.10), transparent 50%);
}
@media (min-width: 768px) { .hero { padding: 100px 0 120px; } }
.hero h1 { color: #fff; max-width: 14ch; }
.hero h1 span { color: var(--accent); }
.hero .lead { color: rgba(255,255,255,.85); max-width: 55ch; margin-top: 16px; }
.hero .badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.hero .badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  padding: 6px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 600;
}
.hero .badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(6px); border-radius: var(--radius-lg); padding: 26px;
}
.hero-card h3 { color: #fff; font-size: 1.0625rem; margin-bottom: 14px; }
.hero-card .pill-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-card .pill {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08); padding: 10px 12px; border-radius: 8px;
  font-size: .875rem; font-weight: 600; color: #fff;
}

/* ── TRUST RAIL ── */
.trust-rail { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 28px 0; }
.trust-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); align-items: center; }
@media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(5, 1fr); } }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: .875rem; color: var(--muted); font-weight: 600; }
.trust-item .tick { color: var(--eco); font-weight: 900; font-size: 1rem; }

/* ── SECTION HEADER ── */
.sec-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.sec-head h2 + p { margin-top: 14px; color: var(--muted); font-size: 1.0625rem; }

/* ── SERVICE GRID (used on Home + Services hub) ── */
.svc-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  display: flex; flex-direction: column; gap: 10px;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }
.svc-card .icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--eco-bg); color: var(--eco);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 6px;
}
.svc-card h3 { font-size: 1.125rem; }
.svc-card p { color: var(--muted); font-size: .9375rem; }
.svc-card .more { margin-top: auto; padding-top: 14px; font-weight: 700; color: var(--navy); font-size: .9375rem; display: inline-flex; align-items: center; gap: 6px; }
.svc-card .more::after { content: "→"; transition: transform .15s ease; }
.svc-card:hover .more::after { transform: translateX(4px); }

/* ── FEATURE LIST ── */
.feat-list { display: grid; gap: 14px; }
.feat-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; background: var(--bg-soft); border-radius: var(--radius); border: 1px solid var(--line); }
.feat-list .check { color: var(--eco); font-size: 1.25rem; line-height: 1; flex-shrink: 0; margin-top: 2px; }
.feat-list strong { display: block; color: var(--navy); margin-bottom: 4px; }
.feat-list span { color: var(--muted); font-size: .9375rem; }

/* ── PROCESS / STEPS ── */
.steps { display: grid; gap: 24px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: #fff; padding: 28px 22px; border-radius: var(--radius-lg); border: 1px solid var(--line); position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -16px; left: 22px;
  width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--navy);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem;
  box-shadow: 0 4px 12px rgba(227,255,0,.4);
}
.step h3 { margin-top: 8px; font-size: 1.0625rem; }
.step p { font-size: .9375rem; color: var(--muted); margin-top: 6px; }

/* ── STATS ── */
.stats { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; padding: 22px; background: var(--navy); border-radius: var(--radius-lg); color: #fff; }
.stat .n { font-size: 2rem; font-weight: 800; color: var(--accent); line-height: 1; }
.stat .l { font-size: .8125rem; color: rgba(255,255,255,.75); margin-top: 6px; letter-spacing: .04em; text-transform: uppercase; }

/* ── BIG CTA ── */
.cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; border-radius: var(--radius-lg); padding: 48px 32px; text-align: center;
  position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px; border-radius: 50%; background: rgba(227,255,0,.12);
}
.cta h2 { color: #fff; position: relative; }
.cta p { color: rgba(255,255,255,.85); margin: 14px auto 26px; max-width: 520px; position: relative; }
.cta .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── PROJECTS GALLERY ── */
.gallery { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.tile {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-dim); position: relative;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  display: flex; align-items: flex-end;
  background-image: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
}
.tile .body { padding: 20px; position: relative; z-index: 2; }
.tile .body strong { display: block; font-size: 1.125rem; color: #fff; }
.tile .body span { font-size: .875rem; color: rgba(255,255,255,.75); }
.tile.ph-eco { background-image: linear-gradient(135deg, var(--eco) 0%, #5e8c2f 100%); }
.tile.ph-accent { background-image: linear-gradient(135deg, var(--accent) 0%, #b8d100 100%); color: var(--navy); }
.tile.ph-accent .body strong, .tile.ph-accent .body span { color: var(--navy); }

/* ── CONTACT FORM ── */
.contact-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 880px) { .contact-grid { grid-template-columns: 1.2fr 1fr; gap: 48px; } }
.form-card { background: #fff; padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); }
.fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.fld label { font-weight: 600; font-size: .875rem; color: var(--navy); }
.fld input, .fld select, .fld textarea {
  font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--ink); width: 100%; transition: border-color .15s ease, box-shadow .15s ease;
}
.fld input:focus, .fld select:focus, .fld textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(26,26,46,.08);
}
.fld textarea { min-height: 130px; resize: vertical; }
.fld-msg { font-size: .8125rem; color: var(--muted); margin-top: 4px; min-height: 1em; }
.fld-msg.ok { color: var(--eco); font-weight: 600; }
.fld-msg.err { color: #c43; font-weight: 600; }

.info-card { display: grid; gap: 16px; }
.info-block { background: var(--bg-soft); padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); }
.info-block .ico { width: 38px; height: 38px; border-radius: 8px; background: var(--navy); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px; font-size: 18px; }
.info-block strong { display: block; color: var(--navy); margin-bottom: 4px; }
.info-block a { color: var(--navy); font-weight: 700; }
.info-block span { color: var(--muted); font-size: .9375rem; }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy); color: rgba(255,255,255,.75);
  padding: 56px 0 24px; margin-top: 64px;
}
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand h3 { color: #fff; font-size: 1.125rem; margin-bottom: 10px; }
.footer-brand p { color: rgba(255,255,255,.7); font-size: .9375rem; max-width: 36ch; }
.footer-col h4 { color: var(--accent); font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; padding: 6px 0; color: rgba(255,255,255,.75); font-size: .9375rem; transition: color .15s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-bar { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: .8125rem; color: rgba(255,255,255,.55); }
.footer-bar a { color: rgba(255,255,255,.7); }
.footer-bar a:hover { color: var(--accent); }

/* ── UTILITIES ── */
.grid-2 { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 880px) { .grid-2 { grid-template-columns: 1fr 1fr; align-items: center; } }
.media { background: var(--bg-dim); border-radius: var(--radius-lg); aspect-ratio: 5 / 4; display: flex; align-items: center; justify-content: center; color: var(--muted); font-weight: 600; border: 1px solid var(--line); }
.media-dark { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: rgba(255,255,255,.5); }
.bg-soft { background: var(--bg-soft); }
.bg-dim { background: var(--bg-dim); }
.bg-eco { background: var(--eco-bg); }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 80;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(37,211,102,.45);
  font-size: 24px; transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.05); }
@media (min-width: 980px) { .wa-float { right: 24px; bottom: 24px; } }

/* Print */
@media print { .site-header, .site-footer, .wa-float, .nav-toggle, .hero-actions { display: none !important; } }
