/* =============================================================================
   Custom Woodworks demo: Main Stylesheet
   Design: warm neutrals, wood tones, charcoal, craftsmanship feel
   Approach: semantic, accessible, mobile-first responsive
   ============================================================================= */

/* =============================================================================
   0. RESET & BASE
   ============================================================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* --- Color Palette ---
     Warm charcoal, wood tones, cream (no generic corporate blues/grays) */
  --c-dark:        #1C1410;   /* Deep charcoal brown */
  --c-charcoal:    #2A2018;   /* Rich charcoal */
  --c-wood-deep:   #5C3A1C;   /* Deep wood */
  --c-wood:        #7A5A35;   /* Core wood tone */
  --c-wood-mid:    #A07040;   /* Medium wood */
  --c-wood-light:  #C49058;   /* Light wood accent */
  --c-wood-pale:   #D4AA78;   /* Pale warm wood */
  --c-cream:       #F8F3EB;   /* Main background */
  --c-cream-soft:  #F2EBE0;   /* Section alt background */
  --c-cream-mid:   #E8DDD0;   /* Borders, dividers */
  --c-cream-warm:  #DDD0BB;   /* Stronger border */
  --c-gray:        #5A5248;   /* Body text */
  --c-gray-mid:    #7A7068;   /* Secondary text */
  --c-gray-light:  #9A9088;   /* Muted text */
  --c-white:       #FDFAF5;   /* Off-white surfaces */
  --c-red-err:     #A83030;   /* Form error */
  --c-green-ok:    #286040;   /* Form success */

  /* --- Typography --- */
  --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* --- Spacing & Layout --- */
  --section-py:     clamp(4rem, 8vw, 6.5rem);
  --container-max:  1180px;
  --container-px:   clamp(1.25rem, 5vw, 2.5rem);

  /* --- Radii --- */
  --r-sm: 3px;
  --r-md: 7px;
  --r-lg: 14px;

  /* --- Transitions --- */
  --t-fast: 180ms ease;
  --t-base: 240ms ease;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-charcoal);
  background-color: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Accessible focus ring: visible and on-brand */
:focus-visible {
  outline: 2.5px solid var(--c-wood-light);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--c-wood);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--t-fast);
}

a:hover {
  color: var(--c-wood-mid);
}

address {
  font-style: normal;
}

/* =============================================================================
   1. LAYOUT UTILITIES
   ============================================================================= */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.section {
  padding-block: var(--section-py);
}

.section--alt {
  background-color: var(--c-cream-soft);
}

/* =============================================================================
   2. TYPOGRAPHY UTILITIES
   ============================================================================= */

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-wood-mid);
  margin-bottom: 0.875rem;
}

.section-heading {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--c-dark);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.025rem;
  color: var(--c-gray);
  max-width: 540px;
  line-height: 1.65;
}

.section-intro {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-intro .section-sub {
  margin-inline: auto;
}

/* =============================================================================
   3. SKIP LINK (accessibility)
   ============================================================================= */

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--c-dark);
  color: var(--c-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: top var(--t-fast);
}

.skip-link:focus {
  top: 1rem;
}

/* Demo banner */
.demo-banner {
  margin: 0;
  padding: 0.5rem var(--container-px);
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--c-gray);
  background: linear-gradient(90deg, #ebe4d8 0%, #f3ede4 50%, #ebe4d8 100%);
  border-bottom: 1px solid var(--c-cream-mid);
}

.demo-banner__label {
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.1rem 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-wood-deep);
  background: rgba(92, 58, 28, 0.1);
  border-radius: var(--r-sm);
}

/* =============================================================================
   4. BUTTONS
   ============================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background-color var(--t-fast),
    color var(--t-fast),
    border-color var(--t-fast),
    box-shadow var(--t-fast);
}

.btn--primary {
  background-color: var(--c-wood);
  color: var(--c-white);
  border-color: var(--c-wood);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: var(--c-wood-mid);
  border-color: var(--c-wood-mid);
  color: var(--c-white);
  box-shadow: 0 4px 14px rgba(122, 90, 53, 0.35);
}

.btn--ghost {
  background-color: transparent;
  color: var(--c-white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--c-white);
}

.btn--outline {
  background-color: transparent;
  color: var(--c-wood);
  border-color: var(--c-wood);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background-color: var(--c-wood);
  color: var(--c-white);
}

.btn--full {
  width: 100%;
}

/* =============================================================================
   5. PLACEHOLDER IMAGE SYSTEM
   Warm wood-tone gradient placeholders. Replace with real photos for live site.
   ============================================================================= */

.ph {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--r-lg);
}

.ph--shop {
  aspect-ratio: 5 / 4;
  background: linear-gradient(145deg, #1C0E06 0%, #3C220E 45%, #2E1A0A 75%, #160B04 100%);
}

/* Real about photo */
.about__photo {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center;
  border-radius: var(--r-lg);
  display: block;
}

.ph--gallery {
  width: 100%;
  height: 100%;
  border-radius: 0;
  /* --ph-l and --ph-l2 lightness values set per gallery item via inline style */
  background: linear-gradient(
    150deg,
    hsl(26, 60%, var(--ph-l, 18%)) 0%,
    hsl(30, 55%, var(--ph-l2, 28%)) 55%,
    hsl(22, 55%, calc(var(--ph-l, 18%) - 4%)) 100%
  );
}

/* Subtle diagonal grain lines over any ph-- element */
.ph::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    112deg,
    transparent,
    transparent 12px,
    rgba(255, 255, 255, 0.025) 12px,
    rgba(255, 255, 255, 0.025) 13px
  );
  pointer-events: none;
}

.ph__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.38);
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.5;
  padding: 1rem;
}

.ph__icon {
  width: 44px;
  height: 44px;
  opacity: 0.35;
}

.ph__icon--sm {
  width: 28px;
  height: 28px;
  opacity: 0.4;
}

.ph__label {
  font-size: 0.75rem;
  opacity: 0.9;
}

.ph__label small {
  display: block;
  font-size: 0.65rem;
  opacity: 0.7;
  margin-top: 0.2rem;
  letter-spacing: 0.04em;
}

/* =============================================================================
   6. NAVIGATION
   ============================================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: var(--c-white);
  border-bottom: 1px solid var(--c-cream-mid);
  box-shadow: 0 1px 0 rgba(28, 20, 16, 0.04);
  transition: box-shadow var(--t-base);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(28, 20, 16, 0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 2rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  line-height: 1.2;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-img {
  width: auto;
  max-width: min(200px, 42vw);
  height: 48px;
  object-fit: contain;
  object-position: left center;
  display: block;
  flex-shrink: 0;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
}

.nav__logo-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-dark);
  letter-spacing: -0.01em;
}

.nav__logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-gray-mid);
}

.nav__menu {
  display: flex;
  list-style: none;
  gap: 0.125rem;
  align-items: center;
}

.nav__link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-gray);
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  border-radius: var(--r-sm);
  transition: background-color var(--t-fast), color var(--t-fast);
}

.nav__link:hover,
.nav__link:focus-visible {
  background-color: var(--c-cream-soft);
  color: var(--c-dark);
}

.nav__link--cta {
  background-color: var(--c-wood);
  color: var(--c-white);
  margin-left: 0.5rem;
  padding: 0.5rem 1.1rem;
}

.nav__link--cta:hover,
.nav__link--cta:focus-visible {
  background-color: var(--c-wood-mid);
  color: var(--c-white);
}

/* Hamburger toggle: hidden on desktop */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--r-sm);
  flex-shrink: 0;
}

.nav__bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--c-dark);
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background-color: var(--c-white);
    border-bottom: 1px solid var(--c-cream-mid);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem var(--container-px) 1.75rem;
    gap: 0.25rem;
    box-shadow: 0 12px 40px rgba(28, 20, 16, 0.12);
    /* Hidden state */
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity var(--t-base), transform var(--t-base);
  }

  .nav__menu.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav__link {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
  }

  .nav__link--cta {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  /* Hamburger animation when open */
  .nav__toggle[aria-expanded="true"] .nav__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav__toggle[aria-expanded="true"] .nav__bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .nav__toggle[aria-expanded="true"] .nav__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* =============================================================================
   7. HERO SECTION (split: solid content panel + single image, no layered photos)
   ============================================================================= */

.hero {
  background-color: var(--c-dark);
}

.hero__split {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 52%);
  min-height: clamp(480px, 78vh, 720px);
  max-width: var(--container-max);
  margin-inline: auto;
}

.hero__panel--content {
  background-color: var(--c-dark);
  display: flex;
  align-items: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 2.5rem);
}

.hero__panel-inner {
  max-width: 32rem;
}

.hero__panel--media {
  position: relative;
  min-height: 280px;
  background-color: #1a1510;
}

.hero__media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-wood-pale);
  margin-bottom: 1.25rem;
  display: block;
}

.hero__heading {
  font-family: var(--font-head);
  font-size: clamp(2.25rem, 5vw, 3.35rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--c-white);
  margin-bottom: 1.35rem;
  letter-spacing: -0.02em;
}

.hero__heading em {
  font-style: italic;
  color: var(--c-wood-light);
}

.hero__subtext {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(253, 250, 245, 0.82);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__demo-tag {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(253, 250, 245, 0.45);
}

/* =============================================================================
   8. ABOUT SECTION
   ============================================================================= */

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.about__visual {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(28, 20, 16, 0.1);
}

.about__text .section-heading {
  margin-bottom: 1.25rem;
}

.about__text p {
  color: var(--c-gray);
  margin-bottom: 1.2rem;
}

.about__text p:first-of-type {
  font-size: 1.05rem;
}

.about__pillars {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-cream-mid);
}

.about__pillar {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.about__pillar strong {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-dark);
}

.about__pillar span {
  font-size: 0.8rem;
  color: var(--c-gray-mid);
  line-height: 1.45;
}

@media (max-width: 960px) {
  .hero__split {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero__panel--media {
    min-height: min(48vw, 320px);
    max-height: 380px;
    order: -1;
  }
}

@media (max-width: 860px) {
  .about__inner {
    grid-template-columns: 1fr;
  }

  .about__visual {
    max-width: 520px;
  }

  .about__pillars {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .about__pillars {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
   9. SERVICES SECTION
   ============================================================================= */

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.services__grid--four {
  grid-template-columns: repeat(2, 1fr);
}

.svc-card {
  background-color: var(--c-white);
  border: 1px solid var(--c-cream-mid);
  border-radius: var(--r-md);
  padding: 2rem 1.75rem;
  transition:
    box-shadow var(--t-base),
    border-color var(--t-base),
    transform var(--t-base);
}

.svc-card:hover {
  box-shadow: 0 6px 22px rgba(28, 20, 16, 0.1);
  border-color: var(--c-wood-pale);
  transform: translateY(-3px);
}

.svc-card__icon {
  width: 44px;
  height: 44px;
  color: var(--c-wood);
  margin-bottom: 1rem;
}

.svc-card__icon svg {
  width: 100%;
  height: 100%;
}

.svc-card__heading {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--c-dark);
  margin-bottom: 0.75rem;
}

.svc-card__text {
  font-size: 0.9rem;
  color: var(--c-gray);
  line-height: 1.68;
}

@media (max-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services__grid--four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .services__grid {
    grid-template-columns: 1fr;
  }

  .services__grid--four {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
   10. REVIEWS SECTION
   ============================================================================= */

.reviews {
  background-color: var(--c-cream-soft);
}

.reviews__intro {
  max-width: 42rem;
}

.reviews__disclaimer-mark {
  font-weight: 600;
  color: var(--c-dark);
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.review-box {
  display: flex;
  flex-direction: column;
  background-color: var(--c-white);
  border: 2px solid var(--c-cream-warm);
  border-radius: var(--r-md);
  padding: 1.5rem 1.35rem;
  box-shadow: 0 2px 12px rgba(28, 20, 16, 0.06);
}

.review-box__stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 0.65rem;
  color: var(--c-wood-mid);
}

.review-star {
  flex-shrink: 0;
}

.review-box__tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-gray-light);
  margin-bottom: 0.75rem;
}

.review-box__quote {
  margin: 0 0 1rem;
  padding: 0;
  border: none;
  font-family: var(--font-head);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--c-charcoal);
  flex-grow: 1;
}

.review-box__quote p {
  margin: 0;
}

.review-box__author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-wood-deep);
  margin: 0;
}

@media (max-width: 900px) {
  .reviews__grid {
    grid-template-columns: 1fr;
    max-width: 28rem;
    margin-inline: auto;
  }
}

/* =============================================================================
   11. GALLERY SECTION
   ============================================================================= */

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(200px, 24vw, 280px);
  gap: 0.875rem;
}

.gallery__grid--uniform {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(200px, 22vw, 300px);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  cursor: default;
  margin: 0;
  border: 1px solid var(--c-cream-mid);
  background-color: var(--c-cream-soft);
}

.gallery-item .ph--gallery {
  transition: transform var(--t-base);
}

.gallery-item:hover .ph--gallery {
  transform: scale(1.04);
}

.gallery-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--t-base);
}

.gallery-item:hover .gallery-item__img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .gallery__grid,
  .gallery__grid--uniform {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: clamp(180px, 42vw, 240px);
  }
}

@media (max-width: 480px) {
  .gallery__grid,
  .gallery__grid--uniform {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(200px, 55vw);
  }
}

/* =============================================================================
   12. CONTACT SECTION
   ============================================================================= */

.contact__inner {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.contact__intro {
  color: var(--c-gray);
  margin-bottom: 2rem;
}

.contact__demo-lead {
  color: var(--c-dark);
}

.contact__demo-note {
  font-size: 0.85rem;
  color: var(--c-gray-mid);
}

.contact__social {
  margin: 0.25rem 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.contact__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.375rem;
  margin-bottom: 2rem;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact__item-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--c-wood-light);
  margin-top: 3px;
}

.contact__item strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-gray-light);
  margin-bottom: 0.25rem;
}

.contact__item span,
.contact__address {
  font-size: 0.95rem;
  color: var(--c-charcoal);
  line-height: 1.55;
}

.contact__link {
  font-size: 0.95rem;
  color: var(--c-charcoal);
  text-decoration: none;
}

.contact__link:hover {
  color: var(--c-wood);
  text-decoration: underline;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.contact__map-note {
  font-size: 0.82rem;
}

.contact__map-note a {
  color: var(--c-gray-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact__map-note a:hover {
  color: var(--c-wood);
}

/* --- Contact Form --- */

.contact__form-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--c-dark);
  margin-bottom: 0.5rem;
}

.contact__form-note {
  font-size: 0.8rem;
  color: var(--c-gray-light);
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

.contact-form {
  position: relative;
}

/* Honeypot: visually hidden, for bot detection */
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  pointer-events: none;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1.125rem;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-charcoal);
}

.form-req {
  color: var(--c-wood-mid);
  margin-left: 2px;
}

.form-optional {
  font-weight: 500;
  font-size: 0.78em;
  color: var(--c-gray-mid);
}

.form-input {
  width: 100%;
  padding: 0.75rem 0.95rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--c-dark);
  background-color: var(--c-white);
  border: 1.5px solid var(--c-cream-warm);
  border-radius: var(--r-sm);
  appearance: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--c-wood-light);
  box-shadow: 0 0 0 3px rgba(196, 144, 88, 0.2);
}

.form-input.has-error {
  border-color: var(--c-red-err);
}

.form-input.has-error:focus {
  box-shadow: 0 0 0 3px rgba(168, 48, 48, 0.18);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.form-error {
  font-size: 0.78rem;
  color: var(--c-red-err);
  min-height: 1.1em;
  display: block;
  line-height: 1.4;
}

.form-status {
  padding: 0.875rem 1rem;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  display: none;
}

.form-status.is-success {
  display: block;
  background-color: #E8F4EC;
  color: var(--c-green-ok);
  border: 1px solid #A8D5B4;
}

.form-status.is-error {
  display: block;
  background-color: #F8EAEA;
  color: var(--c-red-err);
  border: 1px solid #E0AAAA;
}

@media (max-width: 860px) {
  .contact__inner {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
   13. FOOTER
   ============================================================================= */

.site-footer {
  background-color: var(--c-dark);
  padding-block: 2.75rem;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer__name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-cream);
}

.footer__address {
  font-size: 0.8rem;
  color: var(--c-gray-mid);
  max-width: 36rem;
  line-height: 1.5;
}

.footer__demo-label {
  font-weight: 600;
  color: var(--c-wood-pale);
}

.footer__link {
  color: var(--c-wood-pale);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__link:hover {
  color: var(--c-cream);
}

.footer__phone-line {
  font-size: 0.8rem;
  color: var(--c-gray-mid);
  margin: 0.35rem 0 0;
}

.footer__demo-note {
  color: var(--c-gray-mid);
}

.footer__phone {
  font-size: 0.8rem;
  color: var(--c-wood-pale);
  text-decoration: none;
  transition: color var(--t-fast);
}

.footer__phone:hover {
  color: var(--c-cream);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.125rem;
}

.footer__nav a {
  font-size: 0.82rem;
  color: var(--c-gray-mid);
  text-decoration: none;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-sm);
  transition: color var(--t-fast);
}

.footer__nav a:hover {
  color: var(--c-cream);
}

.footer__legal {
  width: 100%;
  font-size: 0.72rem;
  color: #5A5248;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  margin-top: 0.25rem;
  text-align: center;
}

/* =============================================================================
   14. REDUCED MOTION
   Respects user's prefers-reduced-motion preference
   ============================================================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .gallery-item:hover .gallery-item__img {
    transform: none;
  }
}

/* =============================================================================
   15. PRINT
   Basic print styles: hide nav, hero chrome
   ============================================================================= */

@media print {
  .site-header,
  .hero__actions,
  .site-footer .footer__nav {
    display: none;
  }

  body {
    font-size: 11pt;
    color: #000;
    background: #fff;
  }

  .section-heading {
    color: #000;
  }
}
