/*
Theme Name: Voltura Energy
Theme URI: https://volturaenergy.com.au
Author: Voltura Energy
Author URI: https://volturaenergy.com.au
Description: Custom WordPress theme for Voltura Energy -- a battery storage & EV charging installer. Ported from the static HTML/CSS prototype. Placeholder brand: swap logo, colours, copy and imagery for the real client before launch.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: voltura
*/

/* ==========================================================================
   Base styles below are carried over from the static prototype's
   css/styles.css, plus a few WordPress-specific additions at the bottom
   (menu active states, alignment helpers, screen-reader text).
   ========================================================================== */

/* ==========================================================================
   Voltura Energy — Shared stylesheet
   Placeholder brand for battery storage & EV charging website prototype
   ========================================================================== */

:root {
  /* Brand colours */
  --navy: #0e1b2b;
  --navy-2: #16283f;
  --navy-3: #1e3350;
  --teal: #2fd8a0;
  --teal-dark: #1fb383;
  --amber: #ff8a3d;
  --amber-dark: #e8722a;

  /* Neutrals */
  --bg: #f7f9fb;
  --white: #ffffff;
  --text-dark: #16202b;
  --text-muted: #5b6673;
  --text-on-dark: #eef2f6;
  --text-on-dark-muted: #a9b6c4;
  --border: #e4e9ef;
  --border-dark: #26384f;

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(14, 27, 43, 0.08);
  --shadow-md: 0 8px 24px rgba(14, 27, 43, 0.10);
  --shadow-lg: 0 20px 50px rgba(14, 27, 43, 0.16);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  /* Type scale */
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --container: 1200px;
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: inherit; }

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

section { position: relative; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.01em; color: var(--text-dark); }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; }
h3 { font-size: 1.25rem; line-height: 1.3; }
p { color: var(--text-muted); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--teal);
  display: inline-block;
}
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }
.lede { font-size: 1.1rem; color: var(--text-muted); max-width: 620px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: var(--navy); }
.btn-primary:hover { background: var(--teal-dark); box-shadow: var(--shadow-md); }
.btn-amber { background: var(--amber); color: var(--navy); }
.btn-amber:hover { background: var(--amber-dark); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.35); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-outline-dark { background: transparent; border-color: var(--border); color: var(--text-dark); }
.btn-outline-dark:hover { border-color: var(--navy); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 27, 43, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); }
.brand svg { flex-shrink: 0; }
.brand-word { font-weight: 800; font-size: 1.28rem; letter-spacing: -0.01em; line-height: 1; }
.brand-word span { color: var(--teal); }
.brand-sub { font-size: 0.62rem; letter-spacing: 0.22em; color: var(--text-on-dark-muted); font-weight: 600; margin-top: 2px; }

.nav-primary { display: flex; align-items: center; gap: 6px; }
.nav-primary a {
  color: var(--text-on-dark);
  font-size: 0.94rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-primary a:hover { background: rgba(255,255,255,0.08); }
.nav-primary a.active { color: var(--navy); background: var(--teal); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn { padding: 11px 20px; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--text-on-dark-muted); padding: 72px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-dark);
}
.footer-brand p { color: var(--text-on-dark-muted); margin-top: 16px; max-width: 280px; font-size: 0.92rem; }
.footer-col h4 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col a { font-size: 0.92rem; color: var(--text-on-dark-muted); }
.footer-col a:hover { color: var(--teal); }
.footer-contact li { display: flex; gap: 10px; font-size: 0.92rem; margin-bottom: 14px; align-items: flex-start; }
.footer-contact svg { flex-shrink: 0; margin-top: 3px; color: var(--teal); }
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border-dark);
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { border-color: var(--teal); color: var(--teal); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0; font-size: 0.82rem; flex-wrap: wrap; gap: 12px;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: var(--teal); }
.footer-accred { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.accred-badge {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  border: 1px solid var(--border-dark); color: var(--text-on-dark-muted);
  padding: 6px 10px; border-radius: 6px;
}

/* ---------- Hero (generic, dark) ---------- */
.hero {
  background: radial-gradient(1100px 500px at 15% -10%, rgba(47,216,160,0.16), transparent 60%),
              linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: var(--white);
  padding: 96px 0 110px;
  overflow: hidden;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--white); }
.hero p.lede { color: var(--text-on-dark-muted); }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 46px; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-size: 1.9rem; color: var(--teal); font-weight: 800; }
.hero-stats .stat span { font-size: 0.82rem; color: var(--text-on-dark-muted); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  padding: 10px 16px; border-radius: 999px; font-size: 0.82rem; margin-bottom: 22px;
  color: var(--text-on-dark);
}
.hero-badge b { color: var(--teal); }
.hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.1);
}

/* Placeholder "photo" blocks (no real imagery available) */
.ph-photo {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy-3), var(--navy-2));
  color: rgba(255,255,255,0.5);
  overflow: hidden;
}
.ph-photo::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(47,216,160,0.28), transparent 45%),
                     radial-gradient(circle at 85% 80%, rgba(255,138,61,0.22), transparent 45%);
}
.ph-photo .ph-icon { position: relative; z-index: 1; opacity: 0.85; }
.ph-photo.light { background: linear-gradient(135deg, #e8edf2, #f7f9fb); color: #9aa7b4; }
.ph-photo.light::after {
  background-image: radial-gradient(circle at 20% 20%, rgba(47,216,160,0.16), transparent 45%),
                     radial-gradient(circle at 85% 80%, rgba(255,138,61,0.14), transparent 45%);
}
.ph-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(14,27,43,0.72); color: var(--white);
  font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 6px; font-weight: 700;
}

/* ---------- Sections / generic ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--navy); color: var(--text-on-dark); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: var(--text-on-dark-muted); }
.section-tight { padding: 64px 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.contact-grid { grid-template-columns: 1.4fr 1fr; align-items: flex-start; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon-wrap {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(47,216,160,0.14); color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 600; color: var(--navy); font-size: 0.92rem; }
.card-link svg { transition: transform .15s ease; }
.card:hover .card-link svg { transform: translateX(3px); }

/* Division / pillar cards (home) */
.pillar-card {
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: var(--shadow-md);
}
.pillar-card::before { content: ""; position: absolute; inset: 0; opacity: .95; }
.pillar-card.p1::before { background: linear-gradient(155deg, #16283f, #0e1b2b); }
.pillar-card.p2::before { background: linear-gradient(155deg, #1a8f6d, #0e1b2b); }
.pillar-card.p3::before { background: linear-gradient(155deg, #c96a26, #0e1b2b); }
.pillar-card > * { position: relative; z-index: 1; }
.pillar-card .icon-wrap { background: rgba(255,255,255,0.12); color: var(--white); }
.pillar-card h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 10px; }
.pillar-card p { color: var(--text-on-dark-muted); font-size: 0.94rem; }
.pillar-card .card-link { color: var(--teal); }

/* Trust / logo strip */
.logo-strip { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 32px; opacity: 0.75; }
.logo-strip span { font-weight: 800; font-size: 1.1rem; color: var(--text-muted); letter-spacing: -0.02em; }

/* Stats row */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-box { text-align: center; padding: 28px 16px; border-radius: var(--radius-md); background: var(--white); border: 1px solid var(--border); }
.stat-box b { display: block; font-size: 2.1rem; font-weight: 800; color: var(--navy); }
.stat-box span { font-size: 0.85rem; color: var(--text-muted); }

/* Specs table */
.table-wrap { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
table.specs { width: 100%; border-collapse: collapse; }
table.specs tr:nth-child(even) { background: var(--bg); }
table.specs td { padding: 16px 22px; font-size: 0.94rem; border-bottom: 1px solid var(--border); }
table.specs tr:last-child td { border-bottom: none; }
table.specs td:first-child { color: var(--text-muted); font-weight: 600; width: 42%; }
table.specs td:last-child { color: var(--text-dark); font-weight: 600; }

/* Comparison table */
.table-scroll { overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; }
table.compare th, table.compare td { padding: 14px 18px; text-align: left; font-size: 0.9rem; border-bottom: 1px solid var(--border); }
table.compare th { background: var(--navy); color: var(--white); font-weight: 600; }
table.compare th:first-child, table.compare td:first-child { position: sticky; left: 0; background: var(--bg); font-weight: 700; }
table.compare th:first-child { background: var(--navy-2); }
table.compare tbody tr:nth-child(even) td:not(:first-child) { background: var(--bg); }
table.compare .highlight-col { background: rgba(47,216,160,0.08) !important; }

/* Process steps */
.step-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step {
  position: relative;
  padding: 32px 28px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; top: -18px; left: 28px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--teal); color: var(--navy);
  font-weight: 800; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(47,216,160,0.35);
}
.step h3 { margin-top: 10px; }

/* Warranty timeline */
.timeline { display: flex; align-items: flex-end; gap: 6px; height: 160px; margin-top: 12px; }
.timeline .bar { flex: 1; background: linear-gradient(180deg, var(--teal), var(--teal-dark)); border-radius: 6px 6px 0 0; position: relative; }
.timeline .bar span { position: absolute; top: -22px; left: 0; right: 0; text-align: center; font-size: 0.72rem; color: var(--text-muted); }
.timeline .bar em { position: absolute; bottom: 6px; left: 0; right: 0; text-align: center; font-style: normal; font-size: 0.68rem; color: rgba(14,27,43,0.6); font-weight: 700; }

/* ---------- Projects filter/grid ---------- */
.filter-row { display: flex; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
  padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--border);
  background: var(--white); font-weight: 600; font-size: 0.88rem; color: var(--text-muted);
}
.filter-btn.active, .filter-btn:hover { border-color: var(--navy); color: var(--navy); background: var(--bg); }
.filter-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-card { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); transition: box-shadow .18s ease, transform .18s ease; }
.project-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.project-card .ph-photo { height: 210px; }
.project-body { padding: 24px; }
.project-tag { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-dark); background: rgba(47,216,160,0.12); padding: 5px 10px; border-radius: 6px; margin-bottom: 12px; }
.project-tag.commercial { color: var(--amber-dark); background: rgba(255,138,61,0.14); }
.project-meta { display: flex; gap: 16px; margin-top: 16px; font-size: 0.82rem; color: var(--text-muted); flex-wrap: wrap; }
.project-meta span { display: flex; align-items: center; gap: 6px; }

.quote-block {
  background: var(--bg); border-radius: var(--radius-lg); padding: 48px;
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
}
.quote-block svg { color: var(--teal); flex-shrink: 0; }
.quote-block p.big { font-size: 1.2rem; color: var(--text-dark); font-style: italic; }
.quote-block .who { margin-top: 14px; font-style: normal; font-size: 0.88rem; font-weight: 700; color: var(--text-muted); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 8px; color: var(--text-dark); }
.field .req { color: var(--amber-dark); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 10px; border: 1.5px solid var(--border);
  background: var(--bg); color: var(--text-dark); transition: border-color .15s ease, background .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); background: var(--white);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-error { color: #d64545; font-size: 0.8rem; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d64545; }
.field.invalid .field-error { display: block; }
.form-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 6px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }

.contact-side { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card { background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: 36px; }
.contact-info-card h3 { color: var(--white); margin-bottom: 18px; }
.contact-info-card li { display: flex; gap: 14px; margin-bottom: 18px; font-size: 0.95rem; align-items: flex-start; }
.contact-info-card li svg { color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.contact-info-card .hours { color: var(--text-on-dark-muted); font-size: 0.86rem; margin-top: 4px; }
.contact-hero { padding: 72px 0 56px; }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); }
.news-card .ph-photo { height: 180px; }
.news-body { padding: 24px; }
.news-meta { display: flex; gap: 12px; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.news-meta .cat { color: var(--teal-dark); }
.news-card h3 { font-size: 1.08rem; margin-bottom: 10px; }
.news-card p { font-size: 0.9rem; }
.news-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; margin-bottom: 56px; }
.news-feature .ph-photo { height: 340px; border-radius: var(--radius-lg); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 52px; }
.pagination a, .pagination span {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; border: 1px solid var(--border); font-weight: 600; font-size: 0.88rem; color: var(--text-muted);
}
.pagination a:hover { border-color: var(--navy); color: var(--navy); }
.pagination .current { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--teal-dark), #17967a);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  color: var(--navy);
}
.cta-banner h2 { color: var(--navy); margin-bottom: 8px; }
.cta-banner p { color: rgba(14,27,43,0.75); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- FAQ / values ---------- */
.value-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-item { text-align: center; padding: 8px; }
.value-item .icon-wrap { margin: 0 auto 18px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; }
.team-card .ph-photo { height: 220px; border-radius: var(--radius-md); margin-bottom: 16px; }
.team-card h3 { font-size: 1rem; }
.team-card span { font-size: 0.84rem; color: var(--text-muted); }

/* ---------- Breadcrumb / page hero (light pages) ---------- */
.page-hero { background: var(--navy); color: var(--white); padding: 64px 0 56px; }
.page-hero h1 { color: var(--white); }
.page-hero .lede { color: var(--text-on-dark-muted); margin-top: 14px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.82rem; color: var(--text-on-dark-muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--teal); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 14px; font-size: 0.78rem; font-weight: 700; color: var(--text-muted);
}
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--teal); color: var(--navy);
  padding: 10px 16px; z-index: 999; border-radius: 0 0 8px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
  .stat-row, .value-row, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .nav-primary { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn.desktop-only { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .grid-3, .grid-2, .contact-grid, .project-grid, .news-grid, .step-row { grid-template-columns: 1fr; }
  .news-feature { grid-template-columns: 1fr; }
  .quote-block { grid-template-columns: 1fr; text-align: center; }
  .quote-block svg { margin: 0 auto; }
  .cta-banner { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

@media (max-width: 620px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stat-row, .value-row, .team-grid, .grid-4 { grid-template-columns: 1fr 1fr; }
  .hero { padding: 56px 0 72px; }
  .hero-stats { gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  table.specs td { padding: 12px 16px; font-size: 0.86rem; }
  .form-card, .contact-info-card { padding: 26px; }
}

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; background: transparent; border: none; text-align: left;
  font-size: 1.02rem; font-weight: 700; color: var(--text-dark);
}
.faq-item svg { flex-shrink: 0; transition: transform .2s ease; color: var(--teal-dark); }
.faq-item.open svg { transform: rotate(45deg); }
.faq-panel { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-item.open .faq-panel { max-height: 240px; }
.faq-panel p { padding: 0 4px 22px; font-size: 0.94rem; }

/* ---------- Mobile nav drawer ---------- */
.mobile-nav {
  position: fixed; inset: 0; z-index: 200;
  background: var(--navy);
  display: flex; flex-direction: column;
  padding: 24px 24px 40px;
  transform: translateX(100%);
  transition: transform .25s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mobile-nav a {
  color: var(--white); font-size: 1.3rem; font-weight: 700; padding: 16px 0;
  border-bottom: 1px solid var(--border-dark);
}
.mobile-nav .btn { margin-top: 28px; }
.mobile-nav-close { width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.18); background: transparent; color: var(--white); display: flex; align-items: center; justify-content: center; }
body.nav-open { overflow: hidden; }


/* ---------- WordPress-specific additions ---------- */

/* wp_nav_menu() adds "current-menu-item" to the <li>, not the <a>.
   Mirror the .active look used in the static prototype. */
.nav-primary li.current-menu-item > a,
.nav-primary li.current_page_item > a {
  color: var(--navy);
  background: var(--teal);
  font-weight: 600;
}
.mobile-nav li.current-menu-item > a,
.mobile-nav li.current_page_item > a { color: var(--teal); }

.nav-primary ul, .mobile-nav-list { margin: 0; padding: 0; list-style: none; display: flex; align-items: center; gap: 6px; }
.mobile-nav-list { flex-direction: column; align-items: stretch; gap: 0; }
.mobile-nav-list li { list-style: none; }

/* Screen-reader only text (skip link target, form labels if needed) */
.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px; height: 1px; overflow: hidden;
}

/* WordPress core alignment classes, in case editor blocks are used on pages */
.alignwide { max-width: calc(var(--container) + 160px); margin-left: auto; margin-right: auto; }
.alignfull { max-width: none; }

/* wp-admin bar offset for the sticky header when logged in */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

/* Gravity/Contact-form-7 style fallback if a plugin form is swapped in later */
.form-card form p { margin-bottom: 20px; }
