/* ==========================================================================
   THE RECOAT GOAT — Homepage Styles
   WordPress-friendly semantic classes. Match approved mockup.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design tokens & reset
   -------------------------------------------------------------------------- */
:root {
  --walnut: #5B3A29;
  --honey: #D4A259;
  --honey-hover: #c4944a;
  --oak: #EEDFCB;
  --cream: #F7F3EE;
  --warmgray: #8B8B8B;
  --charcoal: #2E2A27;
  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 1140px;
  --section-pad-d: 72px;
  --section-pad-m: 48px;
  --radius: 16px;
  --shadow-soft: 0 4px 20px rgba(46, 42, 39, 0.08);
  --shadow-header: 0 2px 12px rgba(46, 42, 39, 0.06);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--charcoal);
  background-color: var(--cream);
}

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

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

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

/* --------------------------------------------------------------------------
   Layout container (WordPress: use .container or .entry-content wrapper)
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 768px) {
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section {
  padding-top: var(--section-pad-m);
  padding-bottom: var(--section-pad-m);
}

@media (min-width: 768px) {
  .section {
    padding-top: var(--section-pad-d);
    padding-bottom: var(--section-pad-d);
  }
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--charcoal);
  text-align: center;
  margin: 0 0 1.5rem;
}

.section-heading--light {
  color: var(--cream);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.btn-primary {
  background-color: var(--honey);
  color: var(--walnut);
  border-color: var(--honey);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background-color: var(--honey-hover);
  border-color: var(--honey-hover);
  color: var(--walnut);
}

.btn-secondary {
  background-color: transparent;
  color: var(--walnut);
  border-color: var(--walnut);
}

.btn-secondary:hover {
  background-color: var(--walnut);
  color: var(--cream);
}

.btn--light-border {
  color: var(--cream);
  border-color: var(--oak);
}

.btn--light-border:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--cream);
}

.btn--small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   HEADER (Sticky)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream) url("../img/header-hero-bg.png") no-repeat center top;
  background-size: cover;
  box-shadow: none;
  transition: box-shadow 0.2s;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 32px;
  padding-bottom: 14px;
  min-height: 72px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.header-brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.2;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}

.header-brand-word {
  display: block;
}

@media (min-width: 768px) {
  .header-brand-text {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
  }

  .header-brand-word {
    display: inline;
  }

  .header-brand-word:not(:last-child)::after {
    content: " ";
  }
}

.header-nav {
  display: none;
}

.header-nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-nav-list a {
  font-weight: 500;
  color: var(--charcoal);
}

.header-nav-list a:hover {
  color: var(--walnut);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-actions .btn {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.header-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--charcoal);
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s;
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

.header-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.header-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.header-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

.header-menu-mobile {
  display: block;
  background: var(--cream);
  border-top: 1px solid var(--oak);
  padding: 1rem 24px 1.5rem;
  box-shadow: 0 8px 20px rgba(46, 42, 39, 0.06);
}

.header-menu-mobile[aria-hidden="true"] {
  display: none;
}

.header-nav-list-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.header-nav-list-mobile a {
  display: block;
  padding: 0.6rem 0;
  font-weight: 500;
  color: var(--charcoal);
}

.header-nav-list-mobile a:hover {
  color: var(--walnut);
}

.header-nav-list-mobile .btn {
  margin-top: 0.5rem;
  text-align: center;
}

/* Desktop header */
@media (min-width: 992px) {
  .header-nav {
    display: block;
  }

  .header-toggle {
    display: none;
  }

  .header-menu-mobile {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: url("../img/header-hero-bg.png") no-repeat center bottom;
  background-size: cover;
  background-color: var(--cream);
  padding-bottom: 0;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  gap: 30px;
  align-items: flex-start;
  padding-top: var(--section-pad-m);
  padding-bottom: 2rem;
  min-height: 920px;
}

.hero-panel {
  order: 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(46, 42, 39, 0.08);
}

.hero-content {
  order: 0;
  text-align: center;
  margin-top: 0;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin: 0 0 0.75rem;
  opacity: 0.9;
}

.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--walnut);
  background: rgba(212, 162, 89, 0.2);
  border: 1px solid rgba(91, 58, 41, 0.2);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.hero-feature-badge {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--charcoal);
  margin: 0 0 1rem;
  padding: 12px 16px;
  background: rgba(212, 162, 89, 0.15);
  border-radius: var(--radius);
  border-left: 3px solid var(--honey);
}

.hero-feature-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--honey);
  border-radius: 50%;
  margin-top: 2px;
}

.hero-description {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--charcoal);
  margin: 0 0 0.75rem;
}

.hero-description-secondary {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--charcoal);
  margin: 0 0 1.5rem;
  opacity: 0.9;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 0.5rem;
  line-height: 1.15;
}

.hero-subhead {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--charcoal);
  margin: 0 0 0.25rem;
}

.hero-region {
  font-size: 0.95rem;
  color: var(--charcoal);
  margin: 0 0 1.5rem;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9), 0 0 8px rgba(255, 255, 255, 0.6);
}

.hero-buttons {
  order: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 15px 0;
  transform: translateY(-20px);
}

.hero-visual {
  order: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration-wrap {
  display: inline-block;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
  transform: translateY(-60px) scale(2);
  transform-origin: top center;
}
.hero-illustration-wrap:active {
  cursor: grabbing;
}

@keyframes hero-goat-jitter {
  0%, 100% { transform: translate(0, 0); }
  15% { transform: translate(2px, -2px); }
  30% { transform: translate(-2px, 1px); }
  45% { transform: translate(1px, 2px); }
  60% { transform: translate(-1px, -1px); }
  75% { transform: translate(2px, 1px); }
}
.hero-illustration--jitter {
  animation: hero-goat-jitter 0.4s ease-in-out;
}

.hero-illustration {
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom;
  display: block;
}

.hero-floor {
  height: 80px;
  background: linear-gradient(180deg, transparent 0%, rgba(46, 42, 39, 0.08) 100%);
  margin-top: -2px;
  box-shadow: 0 -4px 16px rgba(46, 42, 39, 0.06);
}

@media (min-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding-top: var(--section-pad-d);
    padding-bottom: 3rem;
    min-height: 525px;
  }

  .hero-panel {
    order: 0;
    grid-column: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
  }

  .hero-buttons {
    padding: 0;
    justify-content: flex-start;
  }

  .hero-visual {
    order: 0;
    grid-column: 2;
    grid-row: 1 / -1;
    justify-content: center;
    align-items: flex-end;
  }

  .hero-illustration-wrap {
    transform: translateY(350px) scale(2);
    transform-origin: bottom center;
  }

  .hero-illustration {
    max-height: 618px;
  }

  .hero-floor {
    height: 100px;
  }
}

/* --------------------------------------------------------------------------
   ABOUT
   -------------------------------------------------------------------------- */
.about-content {
  max-width: 720px;
  margin: 0 auto 2rem;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--charcoal);
  margin: 0 0 1rem;
}

.about-service-area {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--oak);
}

.about-service-area h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 0.5rem;
}

.about-service-area p {
  margin: 0;
  font-size: 1rem;
  color: var(--warmgray);
}

.about-features {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: start;
}

.about-bullets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 480px;
  margin: 0 auto;
}

.about-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--charcoal);
}

.check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--walnut);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

.about-accent {
  display: none;
}

.about-cta-wrap {
  text-align: center;
  margin: 0;
}

@media (min-width: 768px) {
  .about-features {
    grid-template-columns: 1fr auto;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  .about-bullets {
    grid-template-columns: 1fr 1fr;
    max-width: none;
    margin: 0;
  }

  .about-accent {
    display: block;
  }

  .about-goat-illustration {
    max-width: 180px;
  }
}

/* --------------------------------------------------------------------------
   SERVICES (dark band)
   -------------------------------------------------------------------------- */
.section--dark {
  background-color: var(--walnut);
  color: var(--cream);
}

/* Compact services list */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
  margin: 0 auto 2rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.service-list-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: inherit;
  font-size: 1rem;
  text-align: left;
  color: var(--charcoal);
  background: none;
  border: none;
  border-bottom: 1px solid var(--oak);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.service-list-item:last-child {
  border-bottom: none;
}

.service-list-item:hover {
  background: rgba(212, 162, 89, 0.12);
  color: var(--walnut);
}

.service-list-icon {
  flex-shrink: 0;
}

.service-list-icon img {
  width: 40px;
  height: 40px;
  opacity: 0.9;
}

.service-list-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.service-list-text strong {
  font-size: 1.05rem;
  color: inherit;
}

.service-list-blurb {
  font-size: 0.9rem;
  color: var(--warmgray);
  font-weight: 400;
}

.service-list-arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--charcoal);
  opacity: 0.5;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform 0.2s;
}

.service-list-item:hover .service-list-arrow {
  transform: translateX(4px);
  opacity: 0.8;
}

/* Service modal */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s, visibility 0.25s;
}

.service-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.service-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(46, 42, 39, 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.service-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 24px 48px rgba(46, 42, 39, 0.2);
  padding: 2rem 2rem 2rem;
}

.service-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  padding: 0;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--warmgray);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.service-modal-close:hover {
  color: var(--charcoal);
}

.service-modal-body {
  padding-right: 2rem;
}

.service-modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 0.25rem;
}

.service-modal-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--walnut);
  margin: 0 0 1rem;
}

.service-modal-highlight {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 1rem;
  padding: 10px 14px;
  background: rgba(212, 162, 89, 0.12);
  border-radius: 8px;
  border-left: 3px solid var(--honey);
}

.service-modal-body p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--charcoal);
  margin: 0 0 1rem;
}

.service-modal-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 1rem 0 0.5rem;
}

.service-modal-body ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.service-modal-body li {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--warmgray);
  margin-bottom: 0.35rem;
}

.service-modal-ideal {
  font-size: 0.9rem !important;
  color: var(--warmgray) !important;
  margin-top: 1rem !important;
}

.service-modal-cta {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
}

/* Legacy service card (kept for potential reuse) */
.service-card {
  background: #fff;
  color: var(--charcoal);
  border: 1px solid var(--oak);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  box-shadow: 0 8px 28px rgba(46, 42, 39, 0.12);
  transform: translateY(-2px);
}

.service-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 1rem;
}

.service-card-icon {
  margin-bottom: 1rem;
}

.service-card-icon img {
  width: 48px;
  height: 48px;
  opacity: 0.85;
}

.service-card-desc {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.service-card-ideal {
  margin: 0;
  font-size: 0.9rem;
  color: var(--warmgray);
}

.service-card-ideal strong {
  color: var(--charcoal);
}

.service-tagline {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--walnut);
  margin: 0 0 0.75rem;
}

.service-highlight {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 1rem;
  padding: 10px 14px;
  background: rgba(212, 162, 89, 0.12);
  border-radius: 8px;
  border-left: 3px solid var(--honey);
}

.service-includes h4,
.service-benefits h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 0.5rem;
}

.service-includes,
.service-benefits {
  margin: 0 0 1rem;
}

.service-features {
  margin: 0;
  padding-left: 1.25rem;
}

.service-features li {
  font-size: 0.9rem;
  color: var(--warmgray);
  margin-bottom: 0.35rem;
}

.services-grid--expanded .service-card {
  padding: 1.75rem;
}

@media (min-width: 992px) {
  .services-grid--expanded {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .services-grid--expanded {
    grid-template-columns: repeat(3, 1fr);
  }
}

.section-subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: var(--warmgray);
  margin: -0.5rem 0 1.5rem;
}

/* Project Gallery */
.project-gallery .section-heading {
  margin-bottom: 0.25rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
}

.gallery-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  padding: 0;
  overflow: hidden;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--oak);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.2s, transform 0.2s;
}

.gallery-thumb:hover {
  box-shadow: 0 6px 24px rgba(46, 42, 39, 0.15);
  transform: scale(1.02);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  vertical-align: top;
}

@media (min-width: 540px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
    max-width: 720px;
  }
}

/* Gallery lightbox popup */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s, visibility 0.25s;
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(46, 42, 39, 0.85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.gallery-lightbox-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  max-width: 900px;
}

.gallery-lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}

.gallery-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.gallery-lightbox-prev,
.gallery-lightbox-next {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  padding: 0;
  font-size: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}

.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
  background: rgba(255, 255, 255, 0.35);
}

.gallery-lightbox-prev::before,
.gallery-lightbox-next::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto;
  background: currentColor;
}

.gallery-lightbox-prev::before {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E") center/contain no-repeat;
}

.gallery-lightbox-next::before {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E") center/contain no-repeat;
}

.gallery-lightbox-image-wrap {
  flex: 1;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox-image {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.gallery-placeholder {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 42, 39, 0.06);
  border-radius: var(--radius);
  color: var(--warmgray);
  font-size: 0.95rem;
}

.services-cta-wrap {
  text-align: center;
  margin: 0;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   WHY CHOOSE US
   -------------------------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 880px;
  margin: 0 auto 1.5rem;
}

.why-item {
  background: #fff;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--oak);
  box-shadow: var(--shadow-soft);
}

.why-item--featured {
  border-color: var(--honey);
  background: linear-gradient(135deg, rgba(212, 162, 89, 0.08) 0%, #fff 100%);
}

.why-item h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.why-item .why-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--honey);
  border-radius: 50%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px 12px no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px 12px no-repeat;
}

.why-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--warmgray);
}

.why-footer {
  text-align: center;
  font-size: 1rem;
  color: var(--walnut);
  font-weight: 600;
  margin: 0;
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .why-item--featured {
    grid-column: 1 / -1;
    max-width: 560px;
    margin: 0 auto;
  }
}

/* --------------------------------------------------------------------------
   FAQ (Grid)
   -------------------------------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid var(--oak);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.faq-question {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
}

.faq-answer {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--warmgray);
}

@media (min-width: 640px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------------------------------------------------
   SERVICE AREA
   -------------------------------------------------------------------------- */
.service-area-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.service-area-content {
  text-align: center;
}

.service-area-content p {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.map-placeholder {
  min-height: 220px;
  background: linear-gradient(135deg, var(--oak) 0%, #e5d5bc 100%);
  border: 1px solid rgba(91, 58, 41, 0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warmgray);
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .service-area-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    text-align: left;
  }

  .service-area-content {
    text-align: left;
  }

  .service-area-content p {
    margin-left: 0;
    margin-right: 0;
  }

  .map-placeholder {
    min-height: 260px;
  }
}

/* --------------------------------------------------------------------------
   CTA SECTION
   -------------------------------------------------------------------------- */
.cta-section {
  background: linear-gradient(180deg, var(--oak) 0%, rgba(238, 223, 203, 0.6) 100%);
}

.cta-inner {
  text-align: center;
}

.cta-text {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  color: var(--charcoal);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 0.75rem;
}

.contact-info > p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--charcoal);
  margin: 0 0 1rem;
}

.contact-methods {
  margin: 0 0 1rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--charcoal);
  margin: 0 0 0.5rem;
}

.contact-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--walnut);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
}

.contact-note {
  font-size: 0.9rem;
  color: var(--warmgray);
  font-style: italic;
  margin: 0;
}

@media (min-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
  }
}

.cta-form-message {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
}
.cta-form-message--success {
  background: rgba(91, 58, 41, 0.12);
  color: var(--walnut);
  border: 1px solid rgba(91, 58, 41, 0.25);
}
.cta-form-message--error {
  background: rgba(139, 0, 0, 0.08);
  color: #8b2020;
  border: 1px solid rgba(139, 0, 0, 0.2);
}

.cta-form {
  max-width: 100%;
  text-align: left;
}

.contact-content .cta-form {
  margin: 0;
}

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.cta-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.cta-form-field--full {
  grid-column: 1 / -1;
}
.cta-form-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
}
.cta-form-field .required {
  color: var(--walnut);
}
.cta-form-field input,
.cta-form-field textarea,
.cta-form-field select {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal);
  background: #fff;
  border: 1px solid var(--oak);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cta-form-field select {
  cursor: pointer;
  appearance: auto;
}
.cta-form-field input:focus,
.cta-form-field textarea:focus,
.cta-form-field select:focus {
  outline: none;
  border-color: var(--walnut);
  box-shadow: 0 0 0 2px rgba(91, 58, 41, 0.15);
}
.cta-form-field textarea {
  resize: vertical;
  min-height: 80px;
}
.cta-form-submit {
  margin: 1.25rem 0 0;
}
.cta-form-submit .btn {
  width: 100%;
}

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

.cta-inner .btn + .btn {
  margin-left: 1rem;
}

@media (max-width: 480px) {
  .cta-inner .btn + .btn {
    margin-left: 0;
    margin-top: 0.75rem;
  }

  .cta-inner .btn {
    display: block;
  }
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--walnut);
  color: var(--cream);
  padding-top: var(--section-pad-m);
  padding-bottom: 0;
}

.footer-inner {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-brand-text strong {
  font-size: 1.15rem;
  color: var(--cream);
}

.footer-brand-text span {
  font-size: 0.9rem;
  opacity: 0.9;
}

.footer-tagline {
  font-size: 0.9rem;
  opacity: 0.85;
  margin: 0.5rem 0 0;
  max-width: 320px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link,
.footer-location {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font-size: 0.95rem;
  margin: 0;
}

.footer-link:hover {
  opacity: 0.9;
}

.footer-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: currentColor;
}

.footer-icon--email {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E") center/contain no-repeat;
}

.footer-icon--location {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.footer-links a {
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-links a:hover {
  opacity: 0.9;
}

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

.footer-bottom .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.8;
  text-align: center;
}

.footer-region {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.7;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .footer-brand {
    grid-column: 1;
    grid-row: 1 / -1;
  }

  .footer-contact {
    grid-column: 2;
    grid-row: 1;
  }

  .footer-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-end;
  }
}

@media (min-width: 992px) {
  .footer-inner {
    grid-template-columns: 1.2fr 1fr;
  }

  .footer-links {
    grid-column: 2;
    grid-row: 1 / -1;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
  }
}
