/* ==========================================================================
   Multi Maintenance Group brand tokens per brand-guidance.md
   ========================================================================== */
:root {
  --navy: #0F1A2B;
  --green: #009444;
  --green-dark: #007A38;
  --white: #FFFFFF;
  --mist: #F7F8FA;
  --border: #E5E7EB;
  --ink-soft: #47526B;
  --ink-faint: #6B7487;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-soft: 0 1px 2px rgba(15, 26, 43, 0.04), 0 8px 24px rgba(15, 26, 43, 0.06);
  --shadow-lift: 0 2px 4px rgba(15, 26, 43, 0.05), 0 16px 40px rgba(15, 26, 43, 0.10);
  --container: 1240px;
  --font: "Inter", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.025em; }

p { margin: 0; }

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

.container-narrow { max-width: 820px; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.btn svg { width: 17px; height: 17px; }

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(0, 148, 68, 0.25), 0 6px 16px rgba(0, 148, 68, 0.22);
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0, 148, 68, 0.25), 0 12px 28px rgba(0, 148, 68, 0.28);
}

.btn-ghost {
  background: var(--white);
  color: var(--navy);
  border-color: var(--border);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: #CBD2DC;
  box-shadow: var(--shadow-soft);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
}

.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-nav { padding: 12px 20px; font-size: 14.5px; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px rgba(15, 26, 43, 0.05);
}

.nav-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo img { width: 132px; height: auto; }

.nav-links {
  display: flex;
  gap: 6px;
  margin-inline: auto;
}

.nav-links a {
  position: relative;
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: 10px;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.nav-links a:hover { color: var(--navy); background: var(--mist); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}

.nav-phone svg { width: 16px; height: 16px; color: var(--green); }
.nav-phone:hover { color: var(--green); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 24px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.nav-mobile a:not(.btn) {
  padding: 13px 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--mist);
}

.nav-mobile .btn { margin-top: 14px; }

.nav.open .nav-mobile { display: flex; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 168px 0 110px;
  background:
    radial-gradient(900px 520px at 88% 0%, rgba(0, 148, 68, 0.14), transparent 62%),
    radial-gradient(700px 420px at 0% 100%, rgba(15, 26, 43, 0.07), transparent 60%),
    linear-gradient(160deg, #F1F8F3 0%, #FFFFFF 55%, #EDF6F0 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(42px, 5.4vw, 68px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.hero-sub {
  margin-top: 24px;
  font-size: 18.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 52ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
}

.hero-trust svg {
  width: 16px;
  height: 16px;
  color: var(--green);
  flex-shrink: 0;
}

/* Quote card (in hero) */
.quote-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lift);
  position: relative;
  overflow: hidden;
}

.quote-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green) 0 25%, rgba(0, 148, 68, 0.35) 25% 50%, var(--green) 50% 75%, rgba(0, 148, 68, 0.35) 75%);
}

.quote-head h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.quote-head { margin-bottom: 24px; }

.field { margin-bottom: 16px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 7px;
}

.field .optional { font-weight: 400; color: var(--ink-faint); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 15.5px;
  color: var(--navy);
  background: var(--mist);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 13px 15px;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea { resize: vertical; min-height: 76px; }

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2347526B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
}

.field select:invalid { color: var(--ink-faint); }

.field input::placeholder,
.field textarea::placeholder { color: #9AA1B0; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 148, 68, 0.14);
}

.field input.invalid,
.field select.invalid {
  border-color: #D64545;
  box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.1);
}

.quote-fine {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-faint);
  text-align: center;
}

.form-status {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  color: var(--green);
  min-height: 0;
}

.form-status.error { color: #D64545; }

.form-status a { color: inherit; }

.field-error {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #D64545;
}

/* Honeypot: hidden from people, visible to bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn:disabled { opacity: 0.7; cursor: progress; }

.form-success {
  text-align: center;
  padding: 22px 8px;
}

.form-success-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 148, 68, 0.1);
  color: var(--green);
}

.form-success-icon svg { width: 28px; height: 28px; }

.form-success h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.form-success p {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 42ch;
  margin-inline: auto;
}

/* Service pages */
.hero-dark {
  background:
    radial-gradient(900px 520px at 85% 0%, rgba(0, 148, 68, 0.25), transparent 60%),
    var(--navy);
  color: var(--white);
}

.hero-dark h1 { color: var(--white); }
.hero-dark .hero-sub { color: rgba(255, 255, 255, 0.72); }
.hero-dark .hero-trust li { color: rgba(255, 255, 255, 0.75); }
.hero-dark .eyebrow { color: #35C471; }
.hero-dark .btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.35); }
.hero-dark .btn-ghost:hover { border-color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.06); }

.breadcrumb {
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--ink-faint);
}

.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { color: var(--green); }
.hero-dark .breadcrumb { color: rgba(255, 255, 255, 0.55); }

.info-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.info-split img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}

.info-split h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 700; letter-spacing: -0.025em; }

.info-split .lede { margin-top: 18px; font-size: 17px; line-height: 1.7; color: var(--ink-soft); }

.check-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 13px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.check-list svg {
  width: 19px;
  height: 19px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

.callout {
  margin-top: 40px;
  background: var(--mist);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.callout strong { color: var(--navy); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.stat-row .trust-value { color: var(--navy); }
.stat-row .trust-label { color: var(--ink-faint); }
.hero-dark .stat-row .trust-value { color: var(--white); }
.hero-dark .stat-row .trust-label { color: rgba(255, 255, 255, 0.55); }

@media (max-width: 920px) {
  .info-split { grid-template-columns: 1fr; gap: 44px; }
  .stat-row { grid-template-columns: 1fr; gap: 20px; }
}

/* Before & after placeholders */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.ba-tile { margin: 0; }

.ba-placeholder {
  aspect-ratio: 4 / 3;
  border: 2px dashed #CBD2DC;
  border-radius: var(--radius-lg);
  background: var(--white);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: var(--ink-faint);
  font-size: 14.5px;
  font-weight: 500;
}

.ba-placeholder svg { width: 36px; height: 36px; }

.ba-tile figcaption {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 620px) {
  .ba-grid { grid-template-columns: 1fr; }
}

/* Franchise investment cards */
.invest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.invest-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
}

.invest-card.featured {
  background: rgba(0, 148, 68, 0.14);
  border-color: rgba(0, 148, 68, 0.5);
}

.invest-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 12px;
}

.invest-value {
  display: block;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 12px;
}

.invest-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.66);
}

.callout-dark {
  background: rgba(255, 255, 255, 0.06);
  border-left-color: #35C471;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 32px;
}

.callout-dark strong { color: var(--white); }

/* Territory availability list */
.territory-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.territory {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.territory-name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.territory-meta {
  display: block;
  font-size: 13.5px;
  color: var(--ink-faint);
  margin-top: 3px;
}

.territory-tag {
  flex-shrink: 0;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
}

.territory.available { border-color: rgba(0, 148, 68, 0.4); }
.territory.available .territory-tag { background: rgba(0, 148, 68, 0.12); color: var(--green-dark); }
.territory.last .territory-tag { background: rgba(245, 166, 35, 0.15); color: #B57400; }
.territory.last { border-color: rgba(245, 166, 35, 0.45); }
.territory.taken { opacity: 0.6; }
.territory.taken .territory-tag { background: var(--mist); color: var(--ink-faint); }

@media (max-width: 920px) {
  .invest-grid { grid-template-columns: repeat(2, 1fr); }
  .territory-list { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .invest-grid { grid-template-columns: 1fr; }
}

/* Featured testimonial (service pages) */
.quote-feature {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.quote-feature blockquote {
  margin: 18px 0 26px;
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.quote-feature figcaption {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

/* Related services grid */
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.related-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.related-card svg {
  width: 17px;
  height: 17px;
  color: var(--green);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 148, 68, 0.4);
  box-shadow: var(--shadow-soft);
}

.related-card:hover svg { transform: translateX(4px); }

@media (max-width: 1080px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* Under construction panel */
.under-construction {
  text-align: center;
  background: var(--mist);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px 44px;
}

.uc-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 148, 68, 0.1);
  color: var(--green);
}

.uc-icon svg { width: 32px; height: 32px; }

.under-construction h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.under-construction p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 auto 14px;
}

.uc-actions { margin-top: 28px; }

@media (max-width: 620px) {
  .under-construction { padding: 40px 24px; }
  .uc-actions .btn { width: 100%; font-size: 14px; padding-inline: 12px; }
}

/* Service area chips (About page) */
.area-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.area-grid span {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
}

.area-note {
  margin-top: 26px;
  text-align: center;
  font-size: 15px;
  color: var(--ink-faint);
}

/* Privacy policy prose */
.prose {
  max-width: 760px;
}

.prose h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 44px 0 14px;
}

.prose p, .prose li {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.prose p { margin-bottom: 14px; }

.prose ul { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 8px; }

.prose a { color: var(--green); }

/* Franchise page */
.hero-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
}

.section-head-center {
  margin-inline: auto;
  text-align: center;
}

.form-wrap {
  max-width: 720px;
  margin-inline: auto;
}

.nav-links a[aria-current="page"] { color: var(--navy); font-weight: 600; }

/* ==========================================================================
   Showcase: full-bleed photo with stats on the image
   ========================================================================== */
.showcase {
  position: relative;
  line-height: 0;
}

.showcase > img {
  width: 100%;
  height: min(76vh, 700px);
  object-fit: cover;
  display: block;
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 26, 43, 0.92) 0%, rgba(15, 26, 43, 0.4) 32%, transparent 58%);
  display: flex;
  align-items: flex-end;
  line-height: 1.6;
}

.showcase-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-bottom: 52px;
}

.trust-item {
  display: grid;
  gap: 4px;
  border-left: 2px solid var(--green);
  padding-left: 20px;
}

.trust-value {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}

.trust-label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 108px 0; }

.section-alt { background: var(--mist); }

.section-tint {
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(0, 148, 68, 0.07), transparent 60%),
    #F0F7F2;
}

.section-dark {
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(0, 148, 68, 0.18), transparent 60%),
    var(--navy);
  color: var(--white);
}

.section-dark .eyebrow { color: #35C471; }

.section-dark .section-sub { color: rgba(255, 255, 255, 0.68); }

.section-head {
  max-width: 640px;
  margin-bottom: 60px;
}

.section-head h2,
.why-copy h2,
.cta-band h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.section-sub {
  margin-top: 18px;
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(0, 148, 68, 0.35);
}

.service-card.featured { border-color: rgba(0, 148, 68, 0.4); }

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: rgba(0, 148, 68, 0.08);
  border-radius: 14px;
  margin-bottom: 22px;
}

.service-icon svg { width: 25px; height: 25px; color: var(--green); }

.service-card h3 {
  font-size: 19.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--ink-soft);
}

.service-card { position: relative; }

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
}

.service-link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }

.service-card:hover .service-link svg { transform: translateX(4px); }

/* Stretch the link over the whole card */
.service-link::after { content: ""; position: absolute; inset: 0; }

/* Why MMG */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: start;
}

.why-copy { position: sticky; top: 120px; }

.why-copy .btn { margin-top: 34px; }

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.why-list li {
  display: flex;
  gap: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 26px 28px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.why-list li:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 148, 68, 0.5);
}

.why-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: rgba(0, 148, 68, 0.22);
  border-radius: 12px;
}

.why-icon svg { width: 22px; height: 22px; color: #35C471; }

.why-list h3 {
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--white);
}

.why-list p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.66);
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 18.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.step p {
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--ink-soft);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-auto-rows: 300px;
  gap: 22px;
}

.gallery-card:first-child { grid-row: span 2; }

.gallery-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover img { transform: scale(1.04); }

.gallery-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 42px 24px 20px;
  background: linear-gradient(to top, rgba(15, 26, 43, 0.82), transparent);
  color: rgba(255, 255, 255, 0.75);
  font-size: 13.5px;
}

.gallery-card figcaption span {
  display: block;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.review-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
}

.stars {
  color: #F5A623;
  font-size: 17px;
  letter-spacing: 3px;
}

.review-card blockquote {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--ink-soft);
  flex-grow: 1;
}

.review-card figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--mist);
}

.review-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 148, 68, 0.12);
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.review-name {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.review-meta {
  display: block;
  font-size: 13px;
  color: var(--ink-faint);
}

/* FAQ */
.faq-list { display: grid; gap: 12px; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 21px 26px;
  font-size: 16.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: background-color 0.15s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover { background: var(--mist); }

.faq-chevron {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink-faint);
  border-bottom: 2px solid var(--ink-faint);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -4px;
}

.faq-item[open] .faq-chevron { transform: rotate(225deg); margin-top: 4px; }

.faq-item p {
  padding: 0 26px 22px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* ==========================================================================
   CTA band + footer (navy)
   ========================================================================== */
.cta-band {
  background: linear-gradient(135deg, #0A3622 0%, #10532E 100%);
  color: var(--white);
  padding: 104px 0;
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 340px at 15% 110%, rgba(255, 255, 255, 0.1), transparent 65%),
    radial-gradient(700px 340px at 85% -10%, rgba(15, 26, 43, 0.18), transparent 65%);
  pointer-events: none;
}

.cta-band .btn-primary {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(15, 26, 43, 0.2);
}

.cta-band .btn-primary:hover { background: #F1F8F3; }

.cta-inner {
  text-align: center;
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.cta-band p {
  margin-top: 18px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.68);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 56px;
}

.logo-chip {
  display: inline-block;
  background: var(--white);
  border-radius: 14px;
  padding: 12px 18px;
  margin-bottom: 18px;
}

.logo-chip img { width: 138px; }

.footer-brand p { font-size: 14.5px; line-height: 1.6; max-width: 30ch; }

.footer-col h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}

.footer-col a {
  font-size: 14.5px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.68);
  transition: color 0.15s ease;
}

.footer-col a:hover { color: var(--white); }

.footer-contact li { font-size: 14.5px; }

.footer-contact .footer-phone {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
}

.footer-contact .footer-phone:hover { color: #35C471; }

.footer-hours strong { color: var(--white); font-weight: 600; }

.footer-email { margin-top: 8px; }

.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 26px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.45);
}

/* ==========================================================================
   Reveal animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .service-card { transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid { gap: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; max-width: 640px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-card:first-child { grid-column: span 2; grid-row: auto; }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-copy { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions { margin-left: auto; }

  .hero { padding: 132px 0 84px; }
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-sub { max-width: none; }

  .showcase > img { height: 480px; }
  .showcase-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; padding-bottom: 40px; }
  .trust-value { font-size: 23px; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
}

@media (max-width: 620px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .gallery-card:first-child { grid-column: auto; }
  .showcase > img { height: 420px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .quote-card { padding: 28px 22px; }
  .hero { padding: 120px 0 72px; }
  .hero-ctas .btn { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .why-list li { flex-direction: column; gap: 16px; }
}
