/* ===================================================================
   Top Choice Cabinets — Wix Layout Rebuild (Clean Code)
   =================================================================== */

/* ===== DESIGN TOKENS ===== */
:root {
  /* Colors */
  --bg-primary: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-dark: #1d1d1f;
  --bg-gray: #c5c3c3;
  --bg-dark-section: #4a4a4a;
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-light: #f5f5f7;
  --text-light-secondary: rgba(245, 245, 247, .7);
  --border: rgba(0, 0, 0, 0.08);
  --accent: #c8963e;
  --accent-light: #d4a85a;
  --accent-dark: #a07830;
  --accent-gradient: linear-gradient(135deg, #d4a85a, #c8963e, #a07830);
  --accent-gradient-reverse: linear-gradient(315deg, #d4a85a, #c8963e, #a07830);
  --text-gold: #5c5535;

  /* Typography */
  --font-family: system-ui, -apple-system, 'SF Pro Display', 'SF Pro Text', sans-serif;
  --font-serif: 'Playfair Display', 'Georgia', serif;
  --font-marquee: clamp(2.5rem, 5vw, 4rem);
  --font-super: clamp(2rem, 4vw, 3rem);
  --font-elevated: clamp(1.5rem, 3vw, 2.2rem);
  --font-eyebrow: 0.75rem;
  --font-body: clamp(0.95rem, 1.2vw, 1.1rem);

  /* Spacing */
  --section-gap: clamp(80px, 10vw, 120px);
  --content-gap: clamp(40px, 6vw, 80px);
  --element-gap: clamp(20px, 3vw, 40px);

  /* Widths */
  --max-content: 980px;
  --max-text: 680px;
  --max-wide: 1200px;

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-family);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }

/* ===== TYPOGRAPHY UTILITY CLASSES ===== */
.headline-marquee {
  font-size: var(--font-marquee);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.headline-super {
  font-size: var(--font-super);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.headline-elevated {
  font-size: var(--font-elevated);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.headline-eyebrow {
  font-size: var(--font-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #6b5a1e;
}
.body-text {
  font-size: var(--font-body);
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Gradient text effect */
.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gradient-text-reverse {
  background: var(--accent-gradient-reverse);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== LAYOUT ===== */
.container { max-width: var(--max-wide); margin: 0 auto; padding: 0 24px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 980px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.3s var(--ease-out), opacity 0.3s, background 0.3s, color 0.3s;
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn:hover { transform: scale(1.02); }
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { opacity: 0.9; }
.btn--secondary {
  background: transparent;
  color: var(--accent);
  padding: 14px 0;
  border-radius: 0;
  font-weight: 500;
}
.btn--secondary::after {
  content: ' \2192';
  transition: transform 0.2s;
  display: inline-block;
}
.btn--secondary:hover::after { transform: translateX(4px); }
.btn--secondary:hover { opacity: 0.8; transform: none; }
.btn--outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn--outline:hover { background: var(--accent); color: #fff; }
.btn--large { padding: 18px 44px; font-size: 1.05rem; }

/* Gold button (Wix-style, less rounded) */
.btn--gold {
  display: inline-block;
  padding: 14px 36px;
  background: #ddd5b5;
  color: #1d1d1f;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  text-align: center;
  width: fit-content;
  letter-spacing: 0.02em;
}
.btn--gold:hover {
  background: #e8e0c4;
  transform: translateY(-1px);
}

/* Outline light button (for dark backgrounds) */
.btn--outline-light {
  display: inline-block;
  padding: 10px 24px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
  text-align: center;
}
.btn--outline-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* Outline dark button (for light backgrounds) */
.btn--outline-dark {
  display: inline-block;
  padding: 10px 24px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--text-primary);
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  text-align: center;
}
.btn--outline-dark:hover {
  background: var(--text-primary);
  color: #fff;
}

/* ===== ANIMATIONS ===== */
[data-animate] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-animate][data-delay="100"] { transition-delay: 0.1s; }
[data-animate][data-delay="200"] { transition-delay: 0.2s; }
[data-animate][data-delay="300"] { transition-delay: 0.3s; }
[data-animate][data-delay="400"] { transition-delay: 0.4s; }

/* ===== NAV (Transparent over hero, dark when scrolled) ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s, backdrop-filter 0.4s, transform 0.4s ease;
}
.nav--hidden {
  transform: translateY(-100%);
}
.nav.is-scrolled {
  background: rgba(29, 29, 31, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.nav__inner {
  max-width: 100%;
  margin: 0;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}
.nav__logo img { height: 65px; width: auto; }
.nav__logo-text {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.35;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  padding: 2px 0 5px 10px;
}
.nav__links {
  display: flex;
  list-style: none;
  gap: 6px;
  align-items: center;
}
.nav__links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: #fff;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 4px;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.nav__links a:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.8);
}
.nav__phone a {
  border-color: transparent !important;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.nav__phone a:hover {
  background: transparent !important;
  opacity: 0.8;
}

/* Hamburger toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px; height: 20px;
  position: relative;
  z-index: 110;
}
.nav__toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #fff;
  position: absolute;
  left: 0;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__toggle span:nth-child(1) { top: 0; }
.nav__toggle span:nth-child(2) { top: 9px; }
.nav__toggle span:nth-child(3) { top: 18px; }

/* ===== HERO (Background carousel — 77vh like original) ===== */
.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  overflow: hidden;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__slide--active { opacity: 1; }

/* Subtle bottom gradient — keeps image bright, text area has gentle contrast */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.25) 45%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 1;
  pointer-events: none;
}
/* Text overlay — centered, text-shadow for readability */
.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  z-index: 2;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.4);
}
.hero__eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold, #c8963e);
  margin-bottom: 16px;
}
.hero__content h1 {
  font-family: var(--font-sans, system-ui, -apple-system, sans-serif);
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 800px;
}
.hero__sub {
  font-size: clamp(0.95rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 560px;
  opacity: 0.88;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}
.hero__link {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.hero__link:hover { opacity: 1; }
.hero__trust {
  display: flex;
  gap: 40px;
}
.hero__trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.hero__trust-item strong {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.hero__trust-item span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

/* Arrow navigation */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.3s;
  color: #fff;
}
.hero__arrow:hover { opacity: 1; }
.hero__arrow svg { width: 24px; height: 24px; }
.hero__arrow--prev { left: 8px; }
.hero__arrow--next { right: 8px; }

/* Dot indicators */
.hero__dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}
.hero__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, border-color 0.3s;
  /* Ensure 48px touch target via padding */
  box-sizing: content-box;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}
.hero__dot::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
}
.hero__dot--active {
  background: #fff;
  border-color: #fff;
}
.hero__dot:hover { border-color: #fff; }

/* ===== SERVICES (Gray background, 4-column grid) ===== */
.services {
  background: var(--bg-gray);
  padding: var(--section-gap) 0;
}
.services__inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 24px;
}
.services__title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  text-align: center;
  margin-bottom: var(--content-gap);
  color: var(--text-primary);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.services__text-card {
  background: var(--bg-dark-section);
  color: #fff;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 4px;
}
.services__text-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 16px;
  font-weight: 600;
  line-height: 1.3;
}
.services__text-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 24px;
}
.services__card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  display: block;
  aspect-ratio: 3 / 4;
}
.services__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.services__card:hover img { transform: scale(1.05); }
.services__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 16px;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, transparent 100%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ===== WHY CHOOSE US (Alternating image-text rows) ===== */
.why-us {
  background: var(--bg-primary);
}
.why-us__header {
  background: var(--bg-gray);
  text-align: center;
  padding: 40px 24px;
}
.why-us__header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--text-primary);
}
.why-us__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.why-us__text {
  padding: clamp(24px, 4vw, 40px) clamp(60px, 12%, 160px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.why-us__text h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  color: var(--text-gold);
  margin-bottom: 10px;
  font-weight: 400;
  line-height: 1.3;
}
.why-us__text p {
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}
.why-us__text p:last-child {
  margin-bottom: 0;
}
.why-us__image {
  overflow: hidden;
}
.why-us__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 480px;
}

/* ===== FAMILY-OWNED (Dark background + overlapping card) ===== */
.family {
  background: var(--bg-dark-section);
  padding: clamp(40px, 6vw, 70px) 0;
  position: relative;
  overflow: hidden;
}
.family__inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}
.family__card {
  background: rgba(255,255,255,0.95);
  padding: clamp(24px, 3vw, 40px);
  border-radius: 4px;
  position: relative;
  z-index: 2;
}
.family__card h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.3;
}
.family__card p {
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}
.family__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.family__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  max-height: 380px;
}

/* ===== OUTSTANDING QUALITY (Gray bg, image grid + text) ===== */
.quality {
  background: var(--bg-gray);
  padding: clamp(50px, 7vw, 80px) 0;
}
.quality__inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.quality__images {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}
.quality__img {
  border-radius: 4px;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.quality__img--large {
  grid-column: 2;
  grid-row: 1 / -1;
}
.quality__text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.3;
  font-weight: 400;
}
.quality__text p {
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ===== MOSAIC CTA (Kitchen Your Way — 3-image triptych) ===== */
.mosaic-cta {
  position: relative;
  overflow: hidden;
}
.mosaic-cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  min-height: 420px;
}
.mosaic-cta__img {
  overflow: hidden;
}
.mosaic-cta__img img,
.mosaic-cta__center img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mosaic-cta__center {
  position: relative;
  overflow: hidden;
}
.mosaic-cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  color: #fff;
}
.mosaic-cta__overlay h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}
.mosaic-cta__overlay p {
  font-size: var(--font-body);
  opacity: 0.9;
  margin-bottom: 24px;
  max-width: 400px;
  line-height: 1.6;
}

/* ===== CONTACT ===== */
.contact {
  padding: var(--section-gap) 0;
  position: relative;
}
.contact__header {
  text-align: center;
  max-width: var(--max-text);
  margin: 0 auto var(--content-gap);
}
.contact__header .headline-eyebrow { margin-bottom: 16px; }
.contact__headline {
  font-size: var(--font-super);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.contact__body {
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact__description {
  font-size: var(--font-body);
  color: var(--text-secondary);
  line-height: 1.7;
  text-align: center;
  max-width: var(--max-text);
  margin-bottom: var(--element-gap);
}
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: var(--element-gap);
}
.contact__row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: var(--text-secondary);
}
.contact__row svg { flex-shrink: 0; color: var(--accent); width: 20px; height: 20px; }
.contact__row a { transition: color 0.2s; }
.contact__row a:hover { color: var(--accent); }
.contact__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== QUOTE MODAL ===== */
.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.quote-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.quote-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.quote-modal__panel {
  position: relative;
  background: #fff;
  border-radius: 16px;
  width: 90vw;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  transition: transform 0.3s var(--ease-out);
}
.quote-modal.is-open .quote-modal__panel {
  transform: translateY(0);
}
.quote-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.quote-modal__title {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}
.quote-modal__subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 6px;
  line-height: 1.5;
}
.quote-modal__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.quote-modal__close {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.2s;
}
.quote-modal__close:hover {
  color: var(--text-primary);
}

/* Autosave hint — fade in/out */
.contact-form__autosave {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  flex-shrink: 0;
}
.contact-form__autosave.is-visible {
  opacity: 1;
}
.contact-form__autosave svg {
  flex-shrink: 0;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form__field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}
.contact-form__field label span[aria-hidden] {
  color: var(--accent);
}
.contact-form__optional {
  font-weight: 400;
  color: var(--text-secondary);
}
.contact-form__field input,
.contact-form__field textarea {
  font-family: var(--font-family);
  font-size: 0.95rem;
  padding: 12px 16px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 8px;
  background: var(--bg-alt);
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}
.contact-form__field input:focus,
.contact-form__field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,150,62,0.15);
}
.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}
.contact-form__field textarea {
  resize: vertical;
  min-height: 100px;
}

/* File upload area */
.contact-form__upload {
  position: relative;
  border: 2px dashed rgba(0,0,0,0.12);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.contact-form__upload:hover,
.contact-form__upload.is-dragover {
  border-color: var(--accent);
  background: rgba(200,150,62,0.04);
}
.contact-form__file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.contact-form__upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  pointer-events: none;
}
.contact-form__upload-label svg {
  color: var(--accent);
}
.contact-form__upload-label strong {
  color: var(--accent);
}
.contact-form__upload-hint {
  font-size: 0.78rem;
  color: var(--text-secondary);
  opacity: 0.7;
}

/* File list */
.contact-form__file-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form__file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--bg-alt);
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.contact-form__file-item small {
  opacity: 0.6;
}
.contact-form__file-item button {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}
.contact-form__file-item button:hover {
  color: #d32f2f;
}

/* Submit button extras */
.contact-form__submit {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.contact-form__spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: cf-spin 0.6s linear infinite;
}
@keyframes cf-spin {
  to { transform: rotate(360deg); }
}

/* Status messages */
.contact-form__status {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}
.contact-form__status--success {
  background: #e8f5e9;
  color: #2e7d32;
}
.contact-form__status--error {
  background: #fce4ec;
  color: #c62828;
}

/* ===== FEATURED PROJECTS ===== */
.featured-projects { padding: var(--section-gap) 0; background: var(--bg-primary); }
.fp-container { max-width: var(--max-wide); margin: 0 auto; padding: 0 24px; }
.fp-header { text-align: center; margin-bottom: var(--content-gap); }
.fp-eyebrow { font-size: var(--font-eyebrow); font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: #6b5a1e; margin-bottom: 16px; }
.fp-title { font-size: var(--font-super); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; color: var(--text-primary); }
.fp-title span { background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.fp-intro { font-size: var(--font-body); color: var(--text-secondary); margin-top: 16px; max-width: var(--max-text); margin-left: auto; margin-right: auto; }

/* Project cards grid */
.fp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* Card */
.fp-card {
  position: relative; overflow: hidden; border-radius: 16px;
  cursor: pointer; background: var(--bg-alt);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.fp-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.fp-card.is-open { transform: none; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.fp-card__image { aspect-ratio: 3 / 2; overflow: hidden; }
.fp-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.fp-card:hover .fp-card__image img { transform: scale(1.05); }
.fp-card__info { padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; }
.fp-card__title { font-size: 1rem; font-weight: 600; color: var(--text-primary); }
.fp-card__count { font-size: 0.8rem; color: var(--text-secondary); white-space: nowrap; margin-left: 12px; }
.fp-card__chevron { width: 20px; height: 20px; color: var(--text-secondary); transition: transform 0.3s var(--ease-out); flex-shrink: 0; margin-left: 8px; }
.fp-card.is-open .fp-card__chevron { transform: rotate(180deg); }

/* Expand panel */
.fp-panel {
  grid-column: 1 / -1;
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s var(--ease-out);
}
.fp-panel.is-open { overflow: visible; }
.fp-panel__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  padding: 8px 0 24px;
}
.fp-panel__item {
  display: block; border-radius: 10px; overflow: hidden;
  cursor: pointer; position: relative;
}
.fp-panel__item img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3;
  display: block; transition: transform 0.4s var(--ease-out);
}
.fp-panel__item:hover img { transform: scale(1.05); }

/* ===== PHOTO WALL ===== */
.photo-wall { padding: var(--section-gap) 0; background: var(--bg-alt); }
.photo-wall .pw-container { max-width: var(--max-wide); margin: 0 auto; padding: 0 24px; }
.photo-wall__header { text-align: center; margin-bottom: var(--content-gap); }
.photo-wall__eyebrow { font-size: var(--font-eyebrow); font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: #6b5a1e; margin-bottom: 16px; }
.photo-wall__title { font-size: var(--font-super); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; color: var(--text-primary); }
.photo-wall__title span { background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.photo-wall__intro { font-size: var(--font-body); color: var(--text-secondary); margin-bottom: var(--content-gap); text-align: center; max-width: var(--max-text); margin-left: auto; margin-right: auto; }
.photo-wall__filters { display: flex; justify-content: center; gap: 8px; margin-bottom: var(--element-gap); flex-wrap: wrap; padding: 12px 24px; position: sticky; top: 0; z-index: 50; background: rgba(245,245,247,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.photo-wall__filter-btn { background: transparent; border: 1px solid var(--border); border-radius: 980px; padding: 8px 20px; color: var(--text-secondary); font-size: 0.82rem; font-weight: 500; cursor: pointer; transition: all 0.3s var(--ease-out); font-family: var(--font-family); }
.photo-wall__filter-btn:hover { background: var(--bg-alt); color: var(--text-primary); border-color: rgba(0,0,0,0.15); }
.photo-wall__filter-btn.is-active { background: #8a6b20; border-color: #8a6b20; color: #fff; }
.photo-wall__grid { columns: 3; column-gap: 12px; }
.photo-wall__item { break-inside: avoid; border-radius: 12px; overflow: hidden; cursor: pointer; position: relative; margin-bottom: 12px; display: inline-block; width: 100%; }
.photo-wall__item.is-hidden { display: none; }
.photo-wall__item img { width: 100%; display: block; transition: transform 0.6s var(--ease-out); }
.photo-wall__item:hover img { transform: scale(1.05); }
.photo-wall__num { position: absolute; top: 8px; left: 8px; z-index: 2; font-size: 0.65rem; font-weight: 600; color: rgba(255,255,255,0.85); background: rgba(0,0,0,0.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 2px 8px; border-radius: 4px; letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }
.photo-wall__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 50%, transparent 100%); opacity: 0; transition: opacity 0.35s ease; pointer-events: none; z-index: 1; }
.photo-wall__item:hover .photo-wall__overlay { opacity: 1; }
.photo-wall__overlay strong { display: block; font-size: 0.85rem; font-weight: 600; color: #fff; margin-bottom: 4px; }
.photo-wall__overlay span { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.75); line-height: 1.4; }

/* ===== PW LIGHTBOX ===== */
.pw-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.95); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.pw-lightbox.is-open { opacity: 1; pointer-events: auto; }
.pw-lightbox__img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 8px; }
.pw-lightbox__close, .pw-lightbox__prev, .pw-lightbox__next { position: absolute; background: none; border: none; color: #fff; font-size: 2.5rem; cursor: pointer; padding: 16px; opacity: 0.6; transition: opacity 0.2s; z-index: 10000; }
.pw-lightbox__close:hover, .pw-lightbox__prev:hover, .pw-lightbox__next:hover { opacity: 1; }
.pw-lightbox__close { top: 16px; right: 24px; }
.pw-lightbox__prev { left: 24px; top: 50%; transform: translateY(-50%); font-size: 3rem; }
.pw-lightbox__next { right: 24px; top: 50%; transform: translateY(-50%); font-size: 3rem; }

/* ===== GOOGLE REVIEWS ===== */
.google-reviews { padding: var(--section-gap) 0; background: var(--bg-primary); }
.gr-container { max-width: var(--max-wide); margin: 0 auto; padding: 0 24px; }
.gr-header { text-align: center; margin-bottom: var(--content-gap); }
.gr-eyebrow { font-size: var(--font-eyebrow); font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: #6b5a1e; margin-bottom: 16px; }
.gr-title { font-size: var(--font-super); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; color: var(--text-primary); margin-bottom: 24px; }
.gr-title span { background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.gr-summary { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 1rem; color: var(--text-secondary); }
.gr-summary-stars { color: var(--accent); font-size: 1.25rem; letter-spacing: 2px; }
.gr-summary-score { font-size: 1.5rem; font-weight: 700; color: var(--text-primary); }
.gr-google-icon { height: 24px; vertical-align: middle; }
.gr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gr-card { background: var(--bg-primary); border: 1px solid #e5e5e7; border-radius: 12px; padding: 28px 24px; transition: box-shadow 0.3s ease; }
.gr-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.gr-card--hidden { display: none; }
.gr-card__header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.gr-card__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-gradient); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.gr-card__meta { flex: 1; }
.gr-card__name { font-size: 0.95rem; font-weight: 600; color: var(--text-primary); }
.gr-card__date { font-size: 0.8rem; color: var(--text-secondary); }
.gr-card__stars { color: var(--accent); font-size: 0.9rem; letter-spacing: 1px; margin-bottom: 10px; }
.gr-card__text { font-size: 0.93rem; line-height: 1.6; color: #424245; }
.gr-show-more { text-align: center; margin-top: 40px; }
#gr-show-more-btn { display: inline-block; padding: 12px 32px; border-radius: 980px; border: 1.5px solid #8a6b20; background: transparent; color: #6b5a1e; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; letter-spacing: 0.02em; }
#gr-show-more-btn:hover { background: #8a6b20; color: #fff; }

/* ===== FOOTER (Multi-column dark) ===== */
.footer {
  background: var(--bg-dark);
  padding: 64px 0 32px;
  color: var(--text-light);
}
.footer__inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__logo { height: 60px; width: auto; }
.footer__brand-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.01em;
}
.footer__col h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 16px;
}
.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col a {
  font-size: 0.95rem;
  color: var(--text-light-secondary);
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--text-light); }
.footer__contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-light-secondary);
  margin-bottom: 10px;
}
.footer__contact-row svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.footer__contact-row a {
  color: var(--text-light-secondary);
  transition: color 0.2s;
}
.footer__contact-row a:hover { color: var(--text-light); }
.footer__bottom {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 24px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 48px;
  text-align: center;
}
.footer__bottom p {
  font-size: 0.75rem;
  color: var(--text-light-secondary);
}

/* ===== CONTACT FAB ===== */
#contact-us-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  backdrop-filter: blur(16px) saturate(1.6);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 980px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  font-family: var(--font-family);
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}
#contact-us-fab:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transform: translateY(-1px);
}
#contact-us-fab svg { flex-shrink: 0; width: 15px; height: 15px; }

/* ===== MOBILE BOTTOM BAR ===== */
#mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--bg-dark);
  justify-content: space-around;
  padding: 10px 0;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
}
#mobile-bottom-bar a {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
#mobile-bottom-bar svg { width: 24px; height: 24px; }

/* ===== RESPONSIVE — TABLET (<=1068px) ===== */
@media (max-width: 1068px) {
  /* Services */
  .services__grid { grid-template-columns: repeat(2, 1fr); }

  /* Why Us */
  .why-us__row { grid-template-columns: 1fr; }
  .why-us__text { padding: 30px 40px; }
  .why-us__image img { max-height: 350px; }

  /* Family */
  .family__inner { grid-template-columns: 1fr; }

  /* Quality */
  .quality__inner { grid-template-columns: 1fr; }

  /* Mosaic */
  .mosaic-cta__grid { grid-template-columns: 1fr; }
  .mosaic-cta__img { display: none; }
  .mosaic-cta__center { min-height: 350px; }

  /* Photo Wall */
  .photo-wall__grid { columns: 2; }

  /* Google Reviews */
  .gr-grid { grid-template-columns: repeat(2, 1fr); }

  /* Featured Projects */
  .fp-panel__grid { grid-template-columns: repeat(3, 1fr); }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* ===== RESPONSIVE — MOBILE (<=734px) ===== */
@media (max-width: 734px) {
  /* Nav mobile overlay */
  .nav__links {
    position: fixed;
    top: 0; right: 0;
    width: 100%; height: 100vh;
    background: rgba(29, 29, 31, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    padding: 80px 32px 32px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    z-index: 105;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a {
    font-size: 1.1rem !important;
    border: none !important;
    padding: 10px 0 !important;
  }
  /* Nav bar — compact mobile */
  .nav__inner { height: 56px; padding: 0 16px; }
  .nav__logo { gap: 8px; }
  .nav__logo img { height: 40px; }
  .nav__logo-text {
    font-size: 0.72rem;
    line-height: 1.25;
    border-left-width: 1.5px;
    border-bottom-width: 1.5px;
    padding: 1px 0 3px 7px;
  }
  .nav__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    -webkit-tap-highlight-color: transparent;
  }
  .nav__toggle span { width: 22px; left: 11px; }
  .nav__toggle span:nth-child(1) { top: 13px; }
  .nav__toggle span:nth-child(2) { top: 22px; }
  .nav__toggle span:nth-child(3) { top: 31px; }
  .nav__toggle.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

  /* Hero — mobile */
  .hero {
    height: 100svh;
    min-height: 520px;
    max-height: 780px;
  }
  .hero__content h1 { font-size: clamp(1.8rem, 8vw, 2.8rem); }
  .hero__sub { font-size: 0.9rem; }
  .hero__actions {
    flex-direction: column;
    gap: 14px;
  }
  .hero__trust { gap: 24px; }
  .hero__trust-item strong { font-size: 1.1rem; }
  .hero__arrow { top: 50%; width: 44px; height: 44px; }
  .hero__arrow svg { width: 16px; height: 16px; }
  .hero__arrow--prev { left: 8px; }
  .hero__arrow--next { right: 8px; }
  .hero__dots { bottom: 16px; }

  /* Services */
  .services__grid { grid-template-columns: 1fr; }
  .services__card { aspect-ratio: 16 / 9; }

  /* Why Us */
  .why-us__row { grid-template-columns: 1fr; }
  .why-us__text { padding: 24px; }
  .why-us__image img { max-height: 280px; }

  /* Family */
  .family__inner { grid-template-columns: 1fr; }

  /* Quality */
  .quality__inner { grid-template-columns: 1fr; }
  .quality__images { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .quality__img { height: 160px; }
  .quality__img--large { grid-column: 1 / -1; grid-row: auto; height: 220px; }

  /* Mosaic */
  .mosaic-cta__grid { grid-template-columns: 1fr; }
  .mosaic-cta__img { display: none; }
  .mosaic-cta__center { min-height: 300px; }

  /* Featured Projects */
  .fp-grid { grid-template-columns: 1fr; gap: 16px; }
  .fp-card__info { padding: 12px 16px; }
  .fp-card__title { font-size: 0.9rem; }
  .fp-panel__grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }

  /* Photo Wall */
  .photo-wall__grid { columns: 1; }
  .photo-wall__filters { gap: 6px; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-left: -24px; margin-right: -24px; padding-left: 16px; padding-right: 16px; }
  .photo-wall__filters::-webkit-scrollbar { display: none; }
  .photo-wall__filter-btn { padding: 12px 14px; font-size: 0.75rem; min-height: 44px; flex-shrink: 0; }
  .pw-lightbox__img { max-width: 95vw !important; max-height: 80vh !important; }
  .pw-lightbox__close { top: 8px !important; right: 8px !important; font-size: 2rem !important; min-width: 44px !important; min-height: 44px !important; }
  .pw-lightbox__prev { left: 4px !important; font-size: 2.5rem !important; min-width: 44px !important; min-height: 44px !important; }
  .pw-lightbox__next { right: 4px !important; font-size: 2.5rem !important; min-width: 44px !important; min-height: 44px !important; }

  /* Google Reviews */
  .gr-grid { grid-template-columns: 1fr; }
  .google-reviews { padding: 60px 0; }

  /* Contact */
  .contact__actions { flex-direction: column; width: 100%; max-width: 320px; }
  .contact__actions .btn { width: 100%; }
  /* Quote modal */
  .quote-modal__panel { width: 95vw; padding: 24px; max-height: 95vh; }
  .contact-form__row { grid-template-columns: 1fr; }
  .contact-form__submit { align-self: stretch; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer__brand { align-items: center; }
  .footer__col ul { align-items: center; }
  .footer__contact-row { align-items: flex-start; text-align: left; }
  .footer__contact-row svg { margin-top: 3px; }

  /* Mobile bar */
  #mobile-bottom-bar { display: none; }
  #contact-us-fab { bottom: 20px; right: 16px; padding: 10px 18px; font-size: 12px; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  [data-animate] { opacity: 1; transform: none; }
}
