/* =========================================================
   Fencing Co. — Production Stylesheet
   Mobile-first, tradie-clean, conversion-focused
   ========================================================= */

:root {
  --c-bg: #ffffff;
  --c-bg-alt: #f5f6f7;
  --c-bg-dark: #111418;
  --c-text: #1a1d21;
  --c-text-soft: #4b5560;
  --c-text-mute: #6b7280;
  --c-border: #e3e6ea;
  --c-primary: #d62828;       /* strong tradie red */
  --c-primary-dark: #a51d1d;
  --c-accent: #1f4f8b;        /* steel blue */
  --c-accent-dark: #163a68;
  --c-success: #1f7a3a;
  --c-warn: #f4b400;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06), 0 1px 1px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 12px 32px rgba(0,0,0,.12);
  --radius: 8px;
  --radius-lg: 14px;
  --container: 1180px;
  --header-h: 64px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html { overflow-x: hidden; }

img, svg, video { max-width: 100%; height: auto; display: block; }

a {
  color: var(--c-accent);
  text-decoration: none;
  transition: color .15s ease;
}
a:hover { color: var(--c-accent-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--c-text);
  margin: 0 0 .6em;
  font-weight: 800;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { margin: 0 0 1em; color: var(--c-text-soft); }

ul, ol { padding-left: 1.2rem; margin: 0 0 1em; }
li { margin-bottom: .35rem; color: var(--c-text-soft); }

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

section { padding: 64px 0; }
@media (min-width: 768px) { section { padding: 88px 0; } }

.section-alt { background: var(--c-bg-alt); }
.section-dark { background: var(--c-bg-dark); color: #f1f2f4; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p, .section-dark li { color: #c8ced6; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: .6rem;
}

.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head p { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 14px 24px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  line-height: 1;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-dark); color: #fff; }
.btn-secondary { background: var(--c-accent); color: #fff; }
.btn-secondary:hover { background: var(--c-accent-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--c-text); border-color: var(--c-border); }
.btn-outline:hover { border-color: var(--c-text); color: var(--c-text); }
.btn-ghost-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn-lg { padding: 18px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--c-border);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: nowrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--c-text);
  letter-spacing: -0.01em;
  flex-shrink: 0;
  min-width: 0;
}
.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.site-footer .brand-mark {
  background: #fff;
  border-radius: 10px;
  padding: 4px;
  width: 46px; height: 46px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.brand-text small {
  display: none;
  font-size: .64rem;
  font-weight: 600;
  color: var(--c-text-mute);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 2px;
}
@media (min-width: 1280px) {
  .brand-text small { display: block; }
}

.nav { display: none; }
.nav a {
  color: var(--c-text);
  font-weight: 600;
  font-size: .92rem;
  padding: 7px 10px;
  border-radius: 6px;
  white-space: nowrap;
}
.nav a:hover { background: var(--c-bg-alt); color: var(--c-text); }
.nav .has-sub { position: relative; }
.nav .has-sub > a::after { content: " \25BE"; font-size: .7em; color: var(--c-text-mute); }
.nav .submenu {
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  padding: 8px;
  display: none;
}
.nav .has-sub:hover .submenu, .nav .has-sub:focus-within .submenu { display: block; }
.nav .submenu a { display: block; padding: 8px 12px; font-size: .9rem; }

.header-cta { display: none; align-items: center; gap: .5rem; flex-shrink: 0; }
.header-cta .btn { padding: 9px 16px; font-size: .9rem; }
.header-cta .btn-outline { display: none; }

@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: .1rem; }
  .header-cta { display: flex; }
}
@media (min-width: 1280px) {
  .header-cta .btn-outline { display: inline-flex; }
}

.menu-toggle {
  background: none;
  border: 0;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--c-text);
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--c-text);
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after  { top: 7px; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* Mobile drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: #fff;
  z-index: 40;
  padding: 24px 20px 120px;
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
@media (min-width: 1024px) {
  .mobile-nav { display: none !important; }
}
.mobile-nav { padding: 20px 22px 140px; }
.mobile-nav a {
  display: block;
  padding: 18px 4px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
}
.mobile-nav a:active { background: var(--c-bg-alt); }
.mobile-nav .group-title {
  margin: 24px 0 4px;
  text-transform: uppercase;
  font-size: .82rem;
  letter-spacing: .1em;
  color: var(--c-text-mute);
  font-weight: 800;
}
.mobile-nav .group-title:first-child { margin-top: 0; }
.mobile-nav .mobile-cta { margin-top: 32px; display: grid; gap: 12px; }
.mobile-nav .mobile-cta .btn { padding: 18px 20px; font-size: 1.1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(14, 27, 58, 0.85) 0%, rgba(11, 18, 36, 0.7) 60%, rgba(11, 18, 36, 0.85) 100%),
    url("../images/services/gates-hero.jpg") center/cover no-repeat;
  color: #fff;
  padding: 56px 0 64px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 80% 10%, rgba(214,40,40,.15), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(31,79,139,.25), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 992px) {
  .hero { padding: 96px 0 110px; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; }
}
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero p.lead {
  font-size: 1.15rem;
  color: #d3dae3;
  max-width: 580px;
  margin-bottom: 1.4rem;
}
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 1.2rem 0 1.6rem;
}
.hero-badges span {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  color: #f1f2f4;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust {
  margin-top: 28px;
  display: flex; gap: 22px; flex-wrap: wrap;
  font-size: .9rem; color: #b6c0cc;
}
.hero-trust strong { color: #fff; display: block; font-size: 1.4rem; }

/* Hero quote card */
.hero-card {
  background: #fff;
  color: var(--c-text);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.hero-card h3 { margin-bottom: .25em; }
.hero-card .small { color: var(--c-text-mute); font-size: .9rem; margin-bottom: 1.2rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; }
.form-row { display: grid; gap: 14px; }
@media (min-width: 560px) { .form-row.cols-2 { grid-template-columns: 1fr 1fr; } }
.form label { font-weight: 600; font-size: .9rem; color: var(--c-text); display: block; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--c-text);
  transition: border-color .15s, box-shadow .15s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 0;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(31,79,139,.18);
}
.form textarea { resize: vertical; min-height: 96px; }
.form-help { font-size: .82rem; color: var(--c-text-mute); margin-top: 4px; }
.form-success {
  display: none;
  background: #e8f5ec;
  border: 1px solid #b7dfc4;
  color: #16632b;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-weight: 600;
}
.form.submitted .form-success { display: block; }
.form.submitted .form-fields { display: none; }

/* ---------- Trust bar ---------- */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  padding: 18px 0;
}
.trust-bar-inner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 32px;
  font-size: .9rem;
  color: var(--c-text-soft);
}
.trust-bar-inner span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.trust-bar-inner .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-success); }

/* ---------- Service cards ---------- */
.grid {
  display: grid; gap: 22px;
}
.grid.cols-2 { grid-template-columns: 1fr; }
.grid.cols-3 { grid-template-columns: 1fr; }
.grid.cols-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) {
  .grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .grid.cols-3 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .15s, box-shadow .15s, border-color .15s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d0d6dd; }

.card .img-placeholder {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #e8ecf0 0%, #cfd6df 100%);
  position: relative;
  display: grid; place-items: center;
  color: #6b7280;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
  overflow: hidden;
  text-transform: uppercase;
}
.card .img-placeholder::after {
  content: "📷  Replace with project photo";
  background: rgba(255,255,255,.85);
  padding: 6px 10px; border-radius: 4px;
}
.card-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 1.2rem; margin-bottom: .35em; }
.card-body p { font-size: .95rem; }
.card-link {
  margin-top: auto;
  font-weight: 700;
  color: var(--c-accent);
  font-size: .92rem;
}
.card-link::after { content: " →"; transition: margin .15s; display: inline-block; }
.card-link:hover::after { margin-left: 4px; }

/* ---------- Image placeholder ---------- */
.img-ph {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #e8ecf0 0%, #cfd6df 100%);
  border-radius: var(--radius);
  display: grid; place-items: center;
  color: #6b7280;
  font-size: .85rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}
.img-ph::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,255,255,.35) 14px 28px);
  pointer-events: none;
}
.img-ph span {
  background: rgba(255,255,255,.92);
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid #d6dbe2;
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 86%;
}
.img-ph.tall { aspect-ratio: 4 / 5; }
.img-ph.wide { aspect-ratio: 21 / 9; }
.img-ph.square { aspect-ratio: 1 / 1; }

/* When a real image is dropped into a placeholder, fill the box cleanly
   at the container's enforced aspect ratio and hide the striped pattern. */
.img-ph > img,
.card .img-placeholder > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 1;
}
.img-ph:has(> img)::before,
.card .img-placeholder:has(> img)::after { display: none; }
.img-ph:has(> img) { background: #0b1224; }
.card .img-placeholder:has(> img) { background: #0b1224; }
.img-ph .ba-label { z-index: 2; }

/* Before/after grid (legacy two-up) */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ba-grid .img-ph { aspect-ratio: 4 / 3; }
.ba-label { position: absolute; top: 10px; left: 10px; background: var(--c-primary); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; z-index: 2; }
.ba-label.after { background: var(--c-success); }

/* Before/after draggable slider */
.ba-slider {
  --ba-pos: 50%;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  user-select: none;
  touch-action: pan-y;
  background: #0b1224;
  cursor: ew-resize;
}
.ba-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}
.ba-slider .ba-after-pane {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 0 0 var(--ba-pos));
  -webkit-clip-path: inset(0 0 0 var(--ba-pos));
}
.ba-slider .ba-label {
  position: absolute;
  top: 12px;
  background: var(--c-primary);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 4px;
  z-index: 4;
  pointer-events: none;
}
.ba-slider .ba-label.before { left: 12px; right: auto; }
.ba-slider .ba-label.after  { left: auto;  right: 12px; background: var(--c-success); }
.ba-slider .ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--ba-pos);
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(0,0,0,.45);
}
.ba-slider .ba-handle {
  position: absolute;
  top: 50%;
  left: var(--ba-pos);
  width: 40px; height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 50%;
  background: #fff;
  border: 0;
  z-index: 4;
  display: grid; place-items: center;
  cursor: ew-resize;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
  padding: 0;
}
.ba-slider .ba-handle::before,
.ba-slider .ba-handle::after {
  content: "";
  width: 0; height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  position: absolute;
  top: 50%; margin-top: -6px;
}
.ba-slider .ba-handle::before { border-right: 7px solid var(--c-text); left: 9px; }
.ba-slider .ba-handle::after  { border-left:  7px solid var(--c-text); right: 9px; }

/* ---------- Why-us cards with SVG icons ---------- */
.why-card { display: flex; flex-direction: column; gap: 10px; }
.why-icon {
  width: 48px;
  height: 48px;
  display: block;
  margin-bottom: 4px;
}
.why-card h3 { font-size: 1.1rem; margin: 0 0 .35em; }
.why-card p  { font-size: .95rem; color: var(--c-text-soft); }

/* ---------- Process / steps ---------- */
.steps { display: grid; gap: 22px; counter-reset: step; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.step {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px; left: 18px;
  width: 36px; height: 36px;
  background: var(--c-primary);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 900;
  box-shadow: var(--shadow-md);
}
.step h4 { margin: 14px 0 .4em; }
.step p { font-size: .92rem; margin: 0; }

/* ---------- Reviews ---------- */
.review-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.review-stars { color: var(--c-warn); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 8px; }
.review-meta { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: .88rem; color: var(--c-text-mute); }
.review-meta .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--c-accent); color: #fff;
  display: grid; place-items: center; font-weight: 800;
}

/* ---------- Suburbs grid ---------- */
.suburbs {
  display: grid; gap: 8px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 600px) { .suburbs { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .suburbs { grid-template-columns: repeat(4, 1fr); } }
.suburbs a {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-weight: 600;
  color: var(--c-text);
  font-size: .95rem;
  display: flex; align-items: center; justify-content: space-between;
}
.suburbs a:hover { border-color: var(--c-accent); color: var(--c-accent); }
.suburbs a::after { content: "→"; color: var(--c-text-mute); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--c-border); }
.faq details {
  border-bottom: 1px solid var(--c-border);
  padding: 18px 0;
}
.faq summary {
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; gap: 1rem;
  color: var(--c-text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.4rem; color: var(--c-primary); font-weight: 800;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 10px; font-size: .98rem; }

/* ---------- Pricing guide ---------- */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  font-size: .95rem;
}
.pricing-table th, .pricing-table td {
  padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--c-border);
}
.pricing-table th { background: var(--c-bg-alt); font-weight: 700; color: var(--c-text); }
.pricing-table tr:last-child td { border-bottom: 0; }
.pricing-disclaimer { font-size: .85rem; color: var(--c-text-mute); margin-top: 12px; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  color: #fff;
  text-align: center;
}
.final-cta h2 { color: #fff; }
.final-cta p { color: #ffe3e3; max-width: 640px; margin: 0 auto 1.4rem; font-size: 1.05rem; }
.final-cta .btn-primary { background: #fff; color: var(--c-primary); border-color: #fff; }
.final-cta .btn-primary:hover { background: #ffe3e3; color: var(--c-primary-dark); }
.final-cta .btn-outline { color: #fff; border-color: rgba(255,255,255,.4); }
.final-cta .btn-outline:hover { border-color: #fff; color: #fff; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0d1014;
  color: #b6c0cc;
  padding: 60px 0 28px;
  font-size: .92rem;
}
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .08em; }
.site-footer a { color: #b6c0cc; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 8px; color: #b6c0cc; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 700px)  { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-bottom {
  border-top: 1px solid #1f242b;
  margin-top: 40px;
  padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: .85rem;
  color: #6b7280;
}

/* ---------- Sticky mobile call bar ---------- */
.sticky-call {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--c-primary);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 2px solid var(--c-primary-dark);
  box-shadow: 0 -4px 16px rgba(0,0,0,.15);
}
.sticky-call a {
  padding: 14px 12px;
  text-align: center;
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.sticky-call a + a { border-left: 1px solid rgba(255,255,255,.3); }
.sticky-call a.alt { background: var(--c-accent); }
@media (min-width: 1024px) { .sticky-call { display: none; } }
@media (max-width: 1023px) { body { padding-bottom: 56px; } }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  color: #fff;
  padding: 56px 0;
  position: relative;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: #d3dae3; font-size: 1.1rem; max-width: 720px; }
.page-hero .breadcrumbs { font-size: .85rem; color: #b6c0cc; margin-bottom: 12px; }
.page-hero .breadcrumbs a { color: #b6c0cc; }
.page-hero .breadcrumbs a:hover { color: #fff; }
.page-hero-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Two-column content ---------- */
.cols-content {
  display: grid; gap: 40px;
}
@media (min-width: 960px) { .cols-content { grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; } }
.sidebar-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
  box-shadow: var(--shadow-sm);
}
.sidebar-card h3 { font-size: 1.2rem; margin-bottom: .3em; }
.sidebar-card .phone-big {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--c-primary);
  margin: 8px 0 14px;
  letter-spacing: -0.01em;
}

/* ---------- Misc ---------- */
.feature-list { list-style: none; padding: 0; }
.feature-list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
}
.feature-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  background: var(--c-success);
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  display: grid; place-items: center;
  border-radius: 50%;
}

.tag {
  display: inline-block;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--c-text-soft);
}

.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

/* Skip link for accessibility */
.skip-link {
  position: absolute; left: -9999px;
  background: var(--c-primary); color: #fff;
  padding: 10px 16px; border-radius: 0 0 6px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; top: 0; }
