/* =========================================================
   Ziegler Construction — Shared Stylesheet
   Base/reusable styles first, page-specific sections below.
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --color-dark: #1a1a1a;
  --color-dark-elevated: #232323;
  --color-cream: #e8e3d3;
  --color-cream-elevated: #f2efe4;
  --color-accent: #42af48;
  --color-accent-dark: #338637;
  --color-white: #ffffff;
  --color-text-dark: #1a1a1a;
  --color-text-muted-onwhite: #ffffffb3;
  --color-text-muted-ondark: #d8d8d0;
  --color-text-muted-oncream: #4a4a42;
  --color-border-onDark: #ffffff26;
  --color-border-onCream: #1a1a1a1f;

  --font-heading: 'Poppins', 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-accent: 'Playfair Display', serif;

  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;

  --transition-base: 0.3s ease;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
}

.accent-italic {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
}

/* ---------- Layout Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

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

.section--dark {
  background: var(--color-dark);
  color: var(--color-white);
}

.section--cream {
  background: var(--color-cream);
  color: var(--color-text-dark);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.05rem;
  opacity: 0.85;
}

.badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.badge--dark {
  background: var(--color-accent);
  color: var(--color-white);
}

.badge--cream {
  background: var(--color-dark);
  color: var(--color-accent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform var(--transition-base), background var(--transition-base),
    color var(--transition-base), box-shadow var(--transition-base);
  white-space: nowrap;
}

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

.btn-solid {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 8px 24px rgba(66, 175, 72, 0.35);
}

.btn-solid:hover {
  background: var(--color-accent-dark);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-outline-light:hover {
  background: var(--color-white);
  color: var(--color-dark);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-dark);
  border: 2px solid var(--color-dark);
}

.btn-outline-dark:hover {
  background: var(--color-dark);
  color: var(--color-white);
}

.btn-outline-accent {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn-outline-accent:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* ---------- Placeholder Photo Boxes ---------- */
.placeholder-img {
  background: #4a4a4a;
  border: 1px solid #666;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-dark);
  border-bottom: 1px solid var(--color-border-onDark);
}

/* ---------- Transparent Header (index.html only) ---------- */
.page-home .site-header {
  position: fixed;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: transparent;
  transition: background-color 250ms ease, border-bottom-color 250ms ease;
}

.page-home .site-header.is-scrolled {
  background: var(--color-dark);
  border-bottom-color: var(--color-border-onDark);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}

.logo-lockup {
  display: flex;
  align-items: center;
}

.logo-img {
  display: block;
  width: auto;
  height: 56px;
}

@media (max-width: 480px) {
  .logo-img {
    height: 42px;
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 110;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--color-white);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-menu > li {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-white);
  padding: 8px 0;
  transition: color var(--transition-base);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--color-accent);
}

.nav-link .chevron {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform var(--transition-base);
}

.has-dropdown:hover .chevron {
  transform: rotate(225deg);
  margin-top: 3px;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--color-dark-elevated);
  border: 1px solid var(--color-border-onDark);
  border-radius: var(--radius-sm);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 10px 12px;
  font-size: 0.85rem;
  color: var(--color-text-muted-ondark);
  border-radius: 4px;
}

.dropdown li a:hover {
  background: var(--color-dark);
  color: var(--color-accent);
}

.dropdown-empty {
  padding: 10px 12px;
  font-size: 0.8rem;
  color: var(--color-text-muted-ondark);
  font-style: italic;
}

/* Responsive Nav */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    inset: 0 0 0 30%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    background: var(--color-dark);
    padding: 40px;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    border-left: 1px solid var(--color-border-onDark);
  }

  .nav-menu.is-open {
    transform: translateX(0);
  }

  .nav-menu > li {
    width: 100%;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background: transparent;
    border: none;
    margin-top: 8px;
    padding: 0 0 0 12px;
  }

  .has-dropdown.is-expanded .dropdown {
    display: block;
  }

  .nav-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: var(--color-white);
  background: var(--color-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg .placeholder-img {
  min-height: 92vh;
  font-size: 1.4rem;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(26, 26, 26, 0.55) 0%,
    rgba(26, 26, 26, 0.35) 35%,
    rgba(26, 26, 26, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 24px 90px;
  max-width: 760px;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  margin: 18px 0 10px;
}

.hero-subheading {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 18px;
  font-family: var(--font-heading);
}

.hero-subheading .accent-italic {
  font-size: 1.05em;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--color-text-muted-onwhite);
  max-width: 520px;
  margin-bottom: 34px;
}

/* ---------- Home Hero Spacing (index.html only) ---------- */
.hero--home {
  padding-top: var(--home-header-height, 93px);
  min-height: calc(92vh + var(--home-header-height, 93px));
}

.hero--home .badge--dark {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 500;
}

.hero--home .badge--dark::before {
  content: "";
  position: absolute;
  inset: -20px -28px;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.28) 55%, rgba(0, 0, 0, 0) 80%);
  pointer-events: none;
}

.hero--home .hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.88) 12%,
    rgba(0, 0, 0, 0.85) 25%,
    rgba(0, 0, 0, 0.74) 38%,
    rgba(0, 0, 0, 0.63) 50%,
    rgba(0, 0, 0, 0.54) 62%,
    rgba(0, 0, 0, 0.48) 75%,
    rgba(0, 0, 0, 0.45) 88%,
    rgba(0, 0, 0, 0.44) 100%
  );
}

.hero--home .hero-content {
  max-width: 1200px;
  padding-bottom: 210px;
}

.hero--home .hero-content h1 {
  font-size: clamp(2.4rem, 5.2vw, 3.9rem);
  margin: 18px 0 32px;
  max-width: 655px;
}

.hero--home .hero-subheading {
  margin-bottom: 14px;
}

/* ---------- Home Hero — Mobile Overrides ----------
   Desktop's overlay/spacing are tuned for a wide two-zone layout (text
   column on the left, image showing through on the right) with a tall,
   generously-padded hero. On mobile the content spans the full width and
   there's no "image side" for the horizontal gradient to spare, so the
   desktop-strength overlay reads as near-solid black; the tall min-height
   and 210px bottom padding (sized for the wide desktop button row) also
   leave excess empty space above/below the stacked mobile content. */
@media (max-width: 900px) {
  .hero--home {
    min-height: calc(66vh + var(--home-header-height, 93px));
  }

  .hero--home .hero-content {
    padding-top: 32px;
    padding-bottom: 56px;
  }

  .hero--home .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.78) 0%,
      rgba(0, 0, 0, 0.75) 12%,
      rgba(0, 0, 0, 0.68) 25%,
      rgba(0, 0, 0, 0.59) 38%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(0, 0, 0, 0.43) 62%,
      rgba(0, 0, 0, 0.38) 75%,
      rgba(0, 0, 0, 0.36) 88%,
      rgba(0, 0, 0, 0.35) 100%
    );
  }
}

/* ---------- Service Page Hero (GC / ER / HS / LS only) ---------- */
.hero--service {
  min-height: 50vh;
  align-items: center;
}

.hero--service .hero-bg .placeholder-img {
  min-height: 50vh;
}

.hero--service .hero-content {
  max-width: 1200px;
  padding-top: 0;
  padding-bottom: 0;
}

.hero--service .hero-content h1 {
  max-width: 760px;
  margin: 18px 0 28px;
}

/* ---------- Service Page Hero — Mobile Overrides ----------
   50vh is proportional against the wider desktop heading/button layout,
   but on mobile the heading wraps to two lines and there's no subheading
   or badge to fill the space, so the centered content leaves excess empty
   gap above the heading and below the button. Tighten min-height only
   (desktop untouched) — align-items:center on .hero--service keeps the
   reduction symmetric top and bottom automatically. */
@media (max-width: 900px) {
  .hero--service {
    min-height: 37.5vh;
  }

  .hero--service .hero-bg .placeholder-img {
    min-height: 37.5vh;
  }
}

/* GC banner photo (bright garage interior) reads lighter than the other
   service hero photos under the standard overlay; strengthen it here so
   headline/button contrast matches ER/HS/LS. */
.hero-overlay--gc {
  background: linear-gradient(
    180deg,
    rgba(26, 26, 26, 0.7) 0%,
    rgba(26, 26, 26, 0.5) 35%,
    rgba(26, 26, 26, 0.92) 100%
  );
}

/* Hardscaping banner photo (bright deck/wood) reads lighter than the
   other service hero photos under the standard overlay; strengthen it
   here so headline/button contrast matches ER/GC/LS. */
.hero-overlay--hs {
  background: linear-gradient(
    180deg,
    rgba(26, 26, 26, 0.78) 0%,
    rgba(26, 26, 26, 0.6) 35%,
    rgba(26, 26, 26, 0.95) 100%
  );
}

/* =========================================================
   SERVICES
   ========================================================= */
#services {
  /* Home header is position:fixed and overlaps normal document flow;
     offset the anchor-scroll target so the fixed header doesn't cover
     the section heading when jumping in via the nav "Services" link. */
  scroll-margin-top: var(--home-header-height, 93px);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

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

.service-card {
  background: var(--color-dark-elevated);
  border: 1px solid var(--color-border-onDark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card-img {
  height: 350px;
}

.service-card-img-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-card-body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.service-card-body p {
  color: var(--color-text-muted-ondark);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex: 1;
}

/* =========================================================
   WHY CHOOSE US
   ========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

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

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

.why-item {
  text-align: center;
}

.why-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.why-item h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.why-item p {
  color: var(--color-text-muted-ondark);
  font-size: 0.92rem;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.testimonial-card {
  background: var(--color-cream-elevated);
  border: 1px solid var(--color-border-onCream);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  color: var(--color-accent);
  font-size: 1.1rem;
}

.testimonial-card p.quote {
  font-size: 0.98rem;
  margin-bottom: 20px;
  flex: 1;
}

.quote .read-more {
  color: var(--color-accent);
  font-weight: 600;
  white-space: nowrap;
}

.testimonial-author {
  font-weight: 700;
  font-size: 0.95rem;
}

.testimonial-location {
  color: var(--color-text-muted-oncream);
  font-size: 0.85rem;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--color-cream-elevated);
  border: 1px solid var(--color-border-onCream);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  color: var(--color-text-dark);
}

.faq-question .chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: rotate(45deg);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.faq-item.is-open .faq-question .chevron {
  transform: rotate(-135deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), padding var(--transition-base);
  padding: 0 24px;
}

.faq-answer p {
  color: var(--color-text-muted-oncream);
  font-size: 0.95rem;
  font-weight: 700;
  font-style: italic;
  padding-bottom: 20px;
}

.faq-item.is-open .faq-answer {
  max-height: 320px;
  padding: 0 24px;
}

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta {
  background: linear-gradient(180deg, var(--color-dark) 0%, #101010 100%);
  color: var(--color-white);
  text-align: center;
}

.final-cta .section-header {
  max-width: 720px;
  margin-bottom: 34px;
}

.final-cta h2 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  margin-bottom: 18px;
}

.final-cta p {
  color: var(--color-text-muted-ondark);
  font-size: 1.05rem;
}

.final-cta .btn-row {
  justify-content: center;
  margin-bottom: 20px;
}

.final-cta-note {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--color-text-muted-ondark);
  font-size: 0.95rem;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: #101010;
  color: var(--color-white);
  padding: 80px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--color-border-onDark);
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.footer-brand .logo-img {
  height: 44px;
}

.footer-brand p {
  color: var(--color-text-muted-ondark);
  font-size: 0.92rem;
  margin: 18px 0 22px;
  max-width: 320px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.92rem;
  margin-bottom: 22px;
}

.footer-contact a {
  color: var(--color-text-muted-ondark);
  transition: color var(--transition-base);
}

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

.footer-badge {
  width: 130px;
  height: 46px;
  object-fit: contain;
  object-position: left center;
}

.footer-col h4 {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a,
.footer-col li {
  color: var(--color-text-muted-ondark);
  font-size: 0.92rem;
  transition: color var(--transition-base);
}

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

.footer-hours {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 14px 0;
  font-size: 0.9rem;
  color: var(--color-text-muted-ondark);
}

.footer-service-area {
  font-size: 0.85rem;
  color: var(--color-text-muted-ondark);
  line-height: 1.6;
}

.footer-bottom {
  padding: 28px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.footer-bottom .legal {
  font-size: 0.82rem;
  color: var(--color-text-muted-ondark);
}

.footer-bottom .seo-keywords {
  font-size: 0.72rem;
  color: #6b6b66;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
}

.footer-bottom .credit {
  font-size: 0.75rem;
  color: #6b6b66;
}

/* =========================================================
   ABOUT PAGE — HERO VARIANT
   ========================================================= */
.hero--about {
  min-height: 34.5vh;
  align-items: center;
}

.hero--about .hero-bg .placeholder-img {
  min-height: 34.5vh;
}

.hero--about .hero-content {
  max-width: 1200px;
  padding-top: 0;
  padding-bottom: 0;
}

.hero--about .hero-content h1 {
  max-width: 760px;
  margin: 18px 0 28px;
}

/* =========================================================
   ABOUT PAGE — VALUES ROW
   ========================================================= */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

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

/* =========================================================
   ABOUT PAGE — ABOUT US SPLIT
   ========================================================= */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 860px) {
  .about-split {
    grid-template-columns: 1fr;
  }

  .about-photo-frame {
    order: -1;
  }
}

.about-split-text h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 22px;
}

.about-split-text p {
  color: var(--color-text-muted-ondark);
  font-size: 1.02rem;
  margin-bottom: 18px;
  max-width: 520px;
}

.about-split-text .btn {
  margin-top: 10px;
}

.about-photo-frame {
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.about-photo-frame .placeholder-img {
  border: none;
}

.about-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* =========================================================
   SERVICE PAGES — SHARED COMPONENTS
   ========================================================= */

/* ---------- Intro Split (text + before/after slider) ---------- */
.service-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 900px) {
  .service-intro-grid {
    grid-template-columns: 1fr;
  }
}

.service-intro-text h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 22px;
}

.service-intro-text p {
  color: var(--color-text-muted-ondark);
  font-size: 1.02rem;
  margin-bottom: 18px;
}

.inline-link {
  color: var(--color-accent);
  font-weight: 600;
}

.inline-link:hover {
  text-decoration: underline;
}

/* ---------- Before / After Slider ---------- */
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  touch-action: pan-y;
  border: 1px solid var(--color-border-onDark);
}

.ba-layer {
  position: absolute;
  inset: 0;
}

.ba-layer .placeholder-img {
  width: 100%;
  height: 100%;
}

.ba-layer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ba-layer--before {
  clip-path: inset(0 50% 0 0);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  pointer-events: none;
}

.ba-handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--color-white);
  transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.ba-handle-grip {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  pointer-events: auto;
  cursor: ew-resize;
}

.ba-handle-grip svg {
  width: 18px;
  height: 18px;
}

.ba-label {
  position: absolute;
  top: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(26, 26, 26, 0.65);
  color: var(--color-white);
  pointer-events: none;
}

.ba-label--before {
  left: 16px;
}

.ba-label--after {
  right: 16px;
}

/* ---------- Feature Cards ---------- */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 900px) {
  .feature-cards {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--color-cream-elevated);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  color: var(--color-text-dark);
}

.feature-card h3 {
  font-size: 1.2rem;
  padding-bottom: 16px;
  margin-bottom: 16px;
  position: relative;
}

.feature-card h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46px;
  height: 3px;
  background: var(--color-accent);
}

.feature-card p {
  color: var(--color-text-muted-oncream);
  font-size: 0.95rem;
}

/* ---------- Mid-Page CTA ---------- */
.mid-cta {
  background: var(--color-dark-elevated);
  color: var(--color-white);
  text-align: center;
}

.mid-cta .section-header {
  max-width: 680px;
  margin-bottom: 28px;
}

.mid-cta h2 {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}

.mid-cta p {
  color: var(--color-text-muted-ondark);
  font-size: 1.02rem;
}

.mid-cta .btn-row {
  justify-content: center;
}

/* ---------- Concepts Carousel ---------- */
.concepts-carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.concepts-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-onDark);
}

.concepts-track {
  display: flex;
  transition: transform 0.5s ease;
}

.concepts-slide {
  flex: 0 0 100%;
  aspect-ratio: 16 / 9;
}

.concepts-slide .placeholder-img {
  width: 100%;
  height: 100%;
}

.concepts-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.concepts-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-dark-elevated);
  border: 1px solid var(--color-border-onDark);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  transition: background var(--transition-base), transform var(--transition-base);
  z-index: 2;
}

.concepts-arrow:hover {
  background: var(--color-accent);
}

.concepts-arrow--prev {
  left: -24px;
}

.concepts-arrow--next {
  right: -24px;
}

@media (max-width: 640px) {
  .concepts-arrow--prev {
    left: 8px;
  }

  .concepts-arrow--next {
    right: 8px;
  }
}

.concepts-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.concepts-pagination button {
  padding: 0;
  cursor: pointer;
  color: var(--color-text-muted-ondark);
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.pagination-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.pagination-dot.is-active {
  background: var(--color-accent);
}

.pagination-dash {
  width: 30px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
}

.pagination-dash.is-active {
  background: var(--color-accent);
}

.pagination-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-num.is-active {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

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

.contact-info h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 32px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.contact-row a {
  font-size: 1.05rem;
  font-weight: 600;
  transition: color var(--transition-base);
}

.contact-row a:hover {
  color: var(--color-accent);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(66, 175, 72, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-form-wrap {
  width: 100%;
  height: 856px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

@media (max-width: 560px) {
  .contact-form-wrap {
    height: 900px;
  }
}

/* =========================================================
   MODAL (shared component)
   ========================================================= */
body.modal-open {
  overflow: hidden;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(26, 26, 26, 0.75);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--color-cream-elevated);
  color: var(--color-text-dark);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transform: translateY(16px);
  transition: transform var(--transition-base);
}

.modal-overlay.is-open .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--color-text-dark);
  background: rgba(26, 26, 26, 0.06);
  transition: background var(--transition-base);
}

.modal-close:hover,
.modal-close:focus-visible {
  background: rgba(26, 26, 26, 0.14);
}

.modal-card .stars {
  margin-bottom: 20px;
}

.modal-quote {
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.modal-card .testimonial-author {
  font-weight: 700;
}
