/* ==========================================================================
   Maxi Serve Restoration & Construction — maxiserveca.com
   Modern rebuild concept. Palette + type carry over from the original brand:
   logo green / lime bar / dark brown wordmark / flame orange / water blue,
   Enriqueta headings (from the old Wix site) with Inter for UI.
   ========================================================================== */

:root {
  --green: #3e9b33;
  --green-dark: #2e7a26;
  --green-deep: #1f5c1a;
  --lime: #b5d437;
  --brown: #291a0e;
  --brown-soft: #3b2a1b;
  --orange: #e0680c;
  --orange-dark: #c25507;
  --blue: #2fa8e0;
  --ink: #291a0e;
  --body: #55493d;
  --muted: #8a7f72;
  --bg: #f8f7f2;
  --surface: #ffffff;
  --line: #e8e4da;
  --radius: 16px;
  --shadow-sm: 0 1px 3px rgba(41, 26, 14, 0.08);
  --shadow-md: 0 8px 28px rgba(41, 26, 14, 0.12);
  --shadow-lg: 0 20px 50px rgba(41, 26, 14, 0.18);
  --font-display: "Enriqueta", "Georgia", serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--green-dark);
}

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brown);
  color: #fff;
  padding: 10px 18px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

/* --------------------------------------------------------------------------
   Top utility bar
   -------------------------------------------------------------------------- */

.topbar {
  background: var(--brown);
  color: #cfc4b6;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
}

.topbar-items {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.topbar-item svg {
  width: 13px;
  height: 13px;
  flex: none;
  stroke: var(--lime);
}

.topbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.topbar a:hover {
  color: var(--lime);
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 50%;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--brown);
}

.brand-name span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--green-dark);
  text-transform: uppercase;
  border-top: 3px solid var(--lime);
  padding-top: 3px;
  margin-top: 3px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.87rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brown-soft);
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover {
  background: rgba(62, 155, 51, 0.1);
  color: var(--green-dark);
}

.site-nav a.active {
  background: var(--green);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--brown);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle span + span {
  margin-top: 5px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

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

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-orange {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 18px rgba(224, 104, 12, 0.35);
}

.btn-orange:hover {
  background: var(--orange-dark);
}

.btn-green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 18px rgba(62, 155, 51, 0.3);
}

.btn-green:hover {
  background: var(--green-dark);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.75);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.82rem;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 640px;
  padding: 90px 0 120px;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(20, 32, 12, 0.92) 0%, rgba(31, 60, 21, 0.78) 45%, rgba(41, 26, 14, 0.45) 100%),
    url("../assets/img/hero-aerial.jpg") center / cover no-repeat;
}

.hero-inner {
  max-width: 720px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.hero-eyebrow .pulse-dot {
  color: var(--lime);
  background: var(--lime);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.hero h1 .accent-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em;
}

.hero h1 .water { color: #7fd0f5; }
.hero h1 .fire { color: #f5a15c; }
.hero h1 .mold { color: var(--lime); }

.hero .underline-bar {
  display: block;
  width: 130px;
  height: 8px;
  border-radius: 4px;
  background: var(--lime);
  margin: 18px 0 22px;
}

.hero-lede {
  font-size: 1.13rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.chip svg {
  width: 14px;
  height: 14px;
  stroke: var(--lime);
  flex: none;
}

/* --------------------------------------------------------------------------
   Interior page hero
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  padding: 84px 0 76px;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(20, 32, 12, 0.94) 0%, rgba(31, 60, 21, 0.86) 50%, rgba(41, 26, 14, 0.62) 100%),
    url("../assets/img/hero-aerial.jpg") center / cover no-repeat;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.page-hero .underline-bar {
  display: block;
  width: 96px;
  height: 7px;
  border-radius: 4px;
  background: var(--lime);
  margin: 16px 0 18px;
}

.page-hero p {
  max-width: 640px;
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding: 92px 0;
}

.section.tight {
  padding: 64px 0;
}

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

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 4px;
  border-radius: 2px;
  background: var(--lime);
}

.section-head.center .eyebrow::after {
  content: "";
  width: 26px;
  height: 4px;
  border-radius: 2px;
  background: var(--lime);
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Feature tiles (why choose us)
   -------------------------------------------------------------------------- */

.feature-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-bottom: 18px;
}

.tile-icon svg {
  width: 26px;
  height: 26px;
}

.tile-icon.green { background: rgba(62, 155, 51, 0.12); }
.tile-icon.green svg { stroke: var(--green-dark); }
.tile-icon.orange { background: rgba(224, 104, 12, 0.12); }
.tile-icon.orange svg { stroke: var(--orange); }
.tile-icon.blue { background: rgba(47, 168, 224, 0.12); }
.tile-icon.blue svg { stroke: var(--blue); }
.tile-icon.brown { background: rgba(41, 26, 14, 0.08); }
.tile-icon.brown svg { stroke: var(--brown-soft); }

.tile h3 {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.tile p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Service cards
   -------------------------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.svc-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.svc-card .thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

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

.svc-card:hover .thumb img {
  transform: scale(1.05);
}

.svc-card .thumb .tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.svc-card .thumb .tag svg {
  width: 13px;
  height: 13px;
  stroke: #fff;
}

.tag.fire { background: var(--orange); }
.tag.water { background: var(--blue); }
.tag.mold { background: var(--green); }

.svc-card .body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 26px 28px;
}

.svc-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.svc-card p {
  font-size: 0.93rem;
  color: var(--muted);
  margin-bottom: 18px;
  flex: 1;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--green-dark);
}

.link-arrow svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  transition: transform 0.2s ease;
}

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

/* --------------------------------------------------------------------------
   Split section (upside down)
   -------------------------------------------------------------------------- */

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

.split-media {
  position: relative;
}

.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.split-media .float-card {
  position: absolute;
  left: -22px;
  bottom: -26px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: var(--surface);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 15px 20px;
}

.float-card .tile-icon {
  width: 44px;
  height: 44px;
  margin: 0;
}

.float-card strong {
  display: block;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.2;
}

.float-card span {
  font-size: 0.8rem;
  color: var(--muted);
}

.split-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
}

.split-copy h2 em {
  font-style: normal;
  color: var(--green-dark);
}

.checklist {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 7px 0;
  font-size: 0.97rem;
}

.checklist svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
  stroke: var(--green);
}

/* --------------------------------------------------------------------------
   Work strip (recent jobs preview)
   -------------------------------------------------------------------------- */

.work-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.work-strip a {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

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

.work-strip a:hover img {
  transform: scale(1.06);
}

.work-strip figcaption,
.work-strip .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 15px 12px;
  background: linear-gradient(transparent, rgba(20, 12, 5, 0.82));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Insurance / trust band
   -------------------------------------------------------------------------- */

.trust-band {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.trust-band h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.trust-band p {
  margin: 0;
  color: var(--muted);
}

.badge-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 22px;
}

.badge-row img {
  height: 62px;
  width: auto;
  object-fit: contain;
  filter: saturate(0.95);
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  background: linear-gradient(115deg, var(--green-deep), var(--green-dark) 55%, var(--green));
  color: #fff;
  padding: 74px 0;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800;
  margin: 0 0 6px;
  max-width: 620px;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.cta-phones {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.cta-phones .big-phone {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.cta-phones .big-phone:hover {
  color: var(--lime);
}

.cta-phones small {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   Portfolio gallery + filters
   -------------------------------------------------------------------------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.pill {
  padding: 9px 20px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--brown-soft);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pill:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.pill.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}

.gallery-item.hidden {
  display: none;
}

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

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: 40px 16px 13px;
  background: linear-gradient(transparent, rgba(20, 12, 5, 0.85));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

.gallery-item .cat {
  flex: none;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
}

.cat.water { background: var(--blue); }
.cat.fire { background: var(--orange); }
.cat.mold { background: var(--green); }
.cat.cleanup { background: var(--brown-soft); }

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 10, 5, 0.92);
  padding: 4vh 4vw;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

.lightbox-caption {
  position: absolute;
  bottom: 3.5vh;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}

.lightbox button {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox button:hover {
  background: var(--green);
}

.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.t-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.t-stars {
  color: var(--orange);
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  margin-bottom: 13px;
}

.t-card blockquote {
  margin: 0 0 18px;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--body);
  flex: 1;
}

.t-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.t-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(62, 155, 51, 0.14);
  color: var(--green-dark);
  font-weight: 800;
  font-size: 0.9rem;
}

.t-card footer strong {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.25;
}

.t-card footer span {
  font-size: 0.79rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */

.about-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-copy p {
  font-size: 1.02rem;
}

.about-copy .lead {
  font-size: 1.16rem;
  color: var(--ink);
  font-weight: 500;
}

.signature {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.signature .sig-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
}

.signature span {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
}

.about-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 110px;
}

.logo-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 34px;
  display: flex;
  justify-content: center;
}

.logo-card img {
  width: 78%;
}

.facts-card {
  background: var(--brown);
  color: #cfc4b6;
  border-radius: var(--radius);
  padding: 30px 32px;
}

.facts-card h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.facts-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.facts-card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.facts-card li:last-child {
  border-bottom: 0;
}

.facts-card svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 3px;
  stroke: var(--lime);
}

.facts-card strong {
  color: #fff;
}

/* --------------------------------------------------------------------------
   Services page grid
   -------------------------------------------------------------------------- */

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

.services-grid .svc-card .thumb {
  aspect-ratio: 3 / 2;
}

.svc-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--green);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  align-items: start;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.info-card .info-body {
  padding: 32px 34px;
}

.info-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
}

.info-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.info-list li {
  display: flex;
  gap: 14px;
  padding: 11px 0;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.info-list li:last-child {
  border-bottom: 0;
}

.info-list svg {
  width: 19px;
  height: 19px;
  flex: none;
  margin-top: 3px;
  stroke: var(--green-dark);
}

.info-list a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

.info-list a:hover {
  color: var(--green-dark);
}

.info-list .sub {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
}

.map-embed {
  width: 100%;
  height: 230px;
  border: 0;
  display: block;
  border-top: 1px solid var(--line);
  filter: saturate(0.9);
}

.promise-list {
  list-style: none;
  margin: 0;
  padding: 20px 34px 30px;
  background: rgba(62, 155, 51, 0.06);
  border-top: 1px solid var(--line);
}

.promise-list li {
  display: flex;
  gap: 11px;
  padding: 6px 0;
  font-size: 0.9rem;
  align-items: flex-start;
}

.promise-list svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 3px;
  stroke: var(--green);
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 38px 40px;
}

.form-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.form-card > p {
  color: var(--muted);
  margin-bottom: 26px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--brown-soft);
  margin-bottom: 7px;
}

.field label .req {
  color: var(--orange);
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(62, 155, 51, 0.15);
  background: #fff;
}

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

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 14px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 50px 20px;
}

.form-success.show {
  display: block;
}

.form-success .success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(62, 155, 51, 0.13);
  margin-bottom: 20px;
}

.form-success .success-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--green);
}

.form-success h4 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.form-success p {
  color: var(--muted);
  margin: 0;
}

.btn .spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn.loading .spinner {
  display: inline-block;
}

.btn.loading .btn-label {
  opacity: 0.75;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--brown);
  color: #b9ad9e;
  font-size: 0.9rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.1fr;
  gap: 44px;
  padding: 64px 0 48px;
}

.footer-brand .logo-tile {
  display: inline-flex;
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  margin-bottom: 18px;
}

.footer-brand .logo-tile img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: 8px;
}

.footer-brand p {
  max-width: 300px;
  line-height: 1.7;
}

.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.site-footer h4::after {
  content: "";
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--lime);
  margin-top: 8px;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li,
.footer-contact li {
  padding: 5px 0;
}

.footer-links a {
  color: #b9ad9e;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--lime);
}

.footer-contact li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 4px;
  stroke: var(--lime);
}

.footer-contact a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.footer-contact a:hover {
  color: var(--lime);
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, transform 0.2s ease;
}

.social-row a:hover {
  background: var(--green);
  transform: translateY(-2px);
}

.social-row svg {
  width: 17px;
  height: 17px;
  fill: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.8rem;
}

.footer-bottom strong {
  color: #fff;
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

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

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1020px) {
  .feature-tiles {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-grid,
  .services-grid,
  .t-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .work-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .trust-band {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .badge-row {
    justify-content: center;
  }
}

@media (max-width: 860px) {
  .topbar-items .hide-mobile {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .site-nav.open {
    display: block;
  }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px;
  }
  .site-nav a {
    border-radius: 10px;
    padding: 13px 16px;
  }
  .header-cta {
    display: none;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .split-media .float-card {
    left: 12px;
    bottom: -20px;
  }
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .about-side {
    position: static;
  }
  .hero {
    min-height: 560px;
    padding: 70px 0 90px;
  }
  .cta-phones {
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .section {
    padding: 64px 0;
  }
  .feature-tiles,
  .card-grid,
  .services-grid,
  .t-grid,
  .gallery-grid,
  .work-strip {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 28px 22px;
  }
  .trust-band {
    padding: 32px 24px;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .brand-name strong {
    font-size: 1.1rem;
  }
}
