/* ============================================================
   COMPONENTS — Backyard Playground
   Navigation, footer, buttons, cards, forms, gallery, lightbox
   ============================================================ */

/* ================================================================
   NAVIGATION
   ================================================================ */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: rgba(45, 45, 45, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              backdrop-filter var(--duration-normal) var(--ease-out);
  padding-block: var(--space-5);
}

.site-nav.scrolled {
  background: var(--color-charcoal);
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
  padding-block: var(--space-4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-xl);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: var(--weight-regular);
  color: var(--color-white);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-logo-tagline {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brass);
  margin-top: 2px;
}

/* Desktop nav links */
.nav-links {
  display: none;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

@media (min-width: 900px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color var(--duration-fast);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-brass);
  transition: width var(--duration-normal) var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* CTA button in nav */
.nav-cta {
  display: none;
}

/* Remove underline-offset padding inherited from .nav-links a */
.nav-links .nav-cta {
  padding-bottom: var(--space-2);
}

@media (min-width: 900px) {
  .nav-cta {
    display: inline-flex;
    align-items: center;
    padding: var(--space-2) var(--space-6);
    background: var(--color-brass);
    color: var(--color-white) !important;
    border-radius: var(--radius-full);
    font-size: var(--text-sm) !important;
    font-weight: var(--weight-semibold) !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background var(--duration-fast);
    white-space: nowrap;
  }
  .nav-cta:hover {
    background: var(--color-brass-light) !important;
    color: var(--color-white) !important;
  }
  .nav-cta::after {
    display: none !important;
  }
}

/* Hamburger */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
}

@media (min-width: 900px) {
  .nav-hamburger {
    display: none;
  }
}

.nav-hamburger span {
  display: block;
  height: 1.5px;
  background: var(--color-white);
  border-radius: var(--radius-full);
  transition: transform var(--duration-normal) var(--ease-out),
              opacity var(--duration-fast);
  transform-origin: center;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu overlay */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--color-charcoal);
  z-index: calc(var(--z-sticky) - 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.nav-mobile.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile a {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  color: var(--color-warm-white);
  opacity: 0.85;
  transition: color var(--duration-fast), opacity var(--duration-fast);
}

.nav-mobile a:hover,
.nav-mobile a.active {
  color: var(--color-brass);
  opacity: 1;
}

.nav-mobile-phones {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  text-align: center;
}

.nav-mobile-phones a {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}

/* ================================================================
   FOOTER
   ================================================================ */

.site-footer {
  background: var(--color-black);
  color: rgba(255,255,255,0.65);
  padding-block: var(--space-16) var(--space-8);
}

.footer-grid {
  display: grid;
  gap: var(--space-10);
  grid-template-columns: 1fr;
  margin-bottom: var(--space-12);
}

@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand .nav-logo-name {
  font-size: var(--text-xl);
  color: var(--color-warm-white);
}

.footer-brand p {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  max-width: 32ch;
  color: rgba(255,255,255,0.5);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: var(--weight-semibold);
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-5);
}

.footer-col a {
  display: block;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--space-3);
  transition: color var(--duration-fast);
  text-decoration: none;
}

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

.footer-phones a {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.8) !important;
  font-weight: var(--weight-medium);
}

.footer-phones .location {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: default;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
  max-width: none;
}

.footer-social {
  display: flex;
  gap: var(--space-5);
}

.footer-social a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: color var(--duration-fast);
}

.footer-social a:hover {
  color: var(--color-brass);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

/* ================================================================
   BUTTONS
   ================================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--duration-fast),
              color var(--duration-fast),
              box-shadow var(--duration-fast),
              transform var(--duration-fast);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  line-height: 1;
}

.btn:active {
  transform: translateY(1px);
}

/* Primary: brass fill */
.btn--primary {
  background: var(--color-brass);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(196, 151, 59, 0.35);
}

.btn--primary:hover {
  background: var(--color-brass-light);
  box-shadow: 0 4px 16px rgba(196, 151, 59, 0.45);
}

/* Secondary: outline */
.btn--secondary {
  background: transparent;
  color: var(--color-charcoal);
  border: 1.5px solid var(--color-charcoal);
}

.btn--secondary:hover {
  background: var(--color-charcoal);
  color: var(--color-white);
}

/* Ghost: for use on dark/photo backgrounds */
.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255,255,255,0.7);
}

.btn--ghost:hover {
  background: var(--color-white);
  color: var(--color-charcoal);
  border-color: var(--color-white);
}

/* Large variant */
.btn--lg {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-base);
}

/* Button with arrow icon */
.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform var(--duration-fast);
}

.btn:hover svg {
  transform: translateX(3px);
}

/* ================================================================
   HERO
   ================================================================ */

.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  max-height: 900px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--color-charcoal);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 15, 8, 0.80) 0%,
    rgba(20, 15, 8, 0.30) 50%,
    rgba(20, 15, 8, 0.15) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(var(--space-16), 8vh, var(--space-32));
}

.hero__container {
  max-width: var(--container-xl);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hero__label {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-brass);
  margin-bottom: var(--space-4);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 6vw, var(--text-5xl));
  color: var(--color-white);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-6);
  max-width: 14em;
}

.hero__title em {
  font-style: italic;
  color: var(--color-brass-light);
}

.hero__subtitle {
  font-size: var(--text-md);
  color: rgba(255,255,255,0.80);
  max-width: 44ch;
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  right: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.45);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 0.3; }
  50%       { transform: scaleY(0.5); opacity: 0.8; }
}

/* ================================================================
   VALUE PROP STRIP / FEATURE CARDS
   ================================================================ */

.feature-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-8);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: var(--border);
  transition: box-shadow var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out);
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  color: var(--color-brass);
  flex-shrink: 0;
}

.feature-card__title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  color: var(--color-charcoal);
  margin-bottom: var(--space-2);
}

.feature-card__body {
  font-size: var(--text-base);
  color: var(--color-slate-light);
  line-height: var(--leading-relaxed);
  max-width: none;
}

/* ================================================================
   PROCESS STEPS
   ================================================================ */

.process-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  position: relative;
}

.process-step__number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  color: var(--color-brass);
  line-height: 1;
  opacity: 0.25;
  font-weight: var(--weight-bold);
  flex-shrink: 0;
}

.process-step__title {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  color: var(--color-charcoal);
  margin-bottom: var(--space-2);
}

.process-step__body {
  font-size: var(--text-base);
  color: var(--color-slate-light);
  line-height: var(--leading-relaxed);
  max-width: none;
}

/* ================================================================
   TESTIMONIAL CAROUSEL
   ================================================================ */

.testimonial-carousel {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform var(--duration-slow) var(--ease-out);
}

.testimonial-slide {
  min-width: 100%;
  padding-inline: var(--space-4);
}

.testimonial-card {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}

.testimonial-card__quote {
  font-family: var(--font-serif);
  font-size: clamp(var(--text-xl), 3vw, var(--text-2xl));
  line-height: var(--leading-snug);
  color: var(--color-white);
  margin-bottom: var(--space-8);
  font-style: italic;
}

.testimonial-card__quote::before {
  content: '\201C';
  color: var(--color-brass);
  font-size: 1.5em;
  line-height: 0;
  vertical-align: -0.4em;
  margin-right: 0.1em;
}

.testimonial-card__author {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-brass);
  font-weight: var(--weight-semibold);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.testimonial-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all var(--duration-fast);
}

.testimonial-btn:hover {
  border-color: var(--color-brass);
  color: var(--color-brass);
}

.testimonial-btn svg {
  width: 16px;
  height: 16px;
}

.testimonial-dots {
  display: flex;
  gap: var(--space-2);
}

.testimonial-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all var(--duration-fast);
  border: none;
}

.testimonial-dot.active {
  background: var(--color-brass);
  width: 22px;
}

/* ================================================================
   GALLERY GRID
   ================================================================ */

.gallery-filters {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--space-10);
}

.gallery-filter-btn {
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
  background: var(--color-white);
  color: var(--color-slate);
  border: var(--border);
  cursor: pointer;
  transition: all var(--duration-fast);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--color-charcoal);
  color: var(--color-white);
  border-color: var(--color-charcoal);
}

.gallery-grid {
  columns: 1;
  gap: var(--space-4);
}

@media (min-width: 600px) {
  .gallery-grid {
    columns: 2;
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    columns: 3;
  }
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: var(--space-4);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  background: var(--color-sand);
}

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

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--duration-slow) var(--ease-out);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,15,8,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--duration-normal);
  display: flex;
  align-items: flex-end;
  padding: var(--space-5);
}

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

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__caption {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  font-weight: var(--weight-medium);
}

/* ================================================================
   LIGHTBOX
   ================================================================ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(10, 8, 6, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox__caption {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
  text-align: center;
}

.lightbox__close {
  position: fixed;
  top: var(--space-6);
  right: var(--space-6);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  color: var(--color-white);
  cursor: pointer;
  transition: background var(--duration-fast);
  z-index: 1;
}

.lightbox__close:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox__close svg {
  width: 20px;
  height: 20px;
}

.lightbox__prev,
.lightbox__next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  color: var(--color-white);
  cursor: pointer;
  transition: background var(--duration-fast);
}

.lightbox__prev { left: var(--space-6); }
.lightbox__next { right: var(--space-6); }

.lightbox__prev:hover,
.lightbox__next:hover {
  background: var(--color-brass);
}

.lightbox__prev svg,
.lightbox__next svg {
  width: 20px;
  height: 20px;
}

/* ================================================================
   CONTACT FORM
   ================================================================ */

.form {
  display: grid;
  gap: var(--space-5);
}

.form-row {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-charcoal);
}

.form-group label .required {
  color: var(--color-brass);
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: var(--space-4);
  background: var(--color-white);
  border: 1.5px solid var(--color-sand-dark);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--color-charcoal);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-brass);
  box-shadow: 0 0 0 3px rgba(196, 151, 59, 0.15);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236E6E6E' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
}

.form-group textarea {
  min-height: 140px;
}

.form-group .field-error {
  font-size: var(--text-xs);
  color: #c0392b;
  display: none;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #c0392b;
}

.form-group.has-error .field-error {
  display: block;
}

.form-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
}

.form-radio-option {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--color-slate);
}

.form-radio-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-brass);
  cursor: pointer;
}

/* ================================================================
   STAT / NUMBER CALLOUT
   ================================================================ */

.stat-callout {
  text-align: center;
  padding: var(--space-8);
}

.stat-callout__number {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  color: var(--color-brass);
  line-height: 1;
  font-weight: var(--weight-regular);
  margin-bottom: var(--space-3);
}

.stat-callout__label {
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-slate-light);
  font-weight: var(--weight-medium);
}

/* ================================================================
   PULL QUOTE / BLOCKQUOTE
   ================================================================ */

.pull-quote {
  border-left: 3px solid var(--color-brass);
  padding-left: var(--space-6);
  margin: var(--space-10) 0;
}

.pull-quote p {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  color: var(--color-charcoal);
  font-style: italic;
  line-height: var(--leading-snug);
  max-width: 44ch;
}

/* ================================================================
   WARRANTY TABLE
   ================================================================ */

.warranty-table {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: var(--border);
  font-size: var(--text-sm);
}

.warranty-table th,
.warranty-table td {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  border-bottom: var(--border);
}

.warranty-table th {
  background: var(--color-charcoal);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: var(--weight-semibold);
}

.warranty-table tr:last-child td {
  border-bottom: none;
}

.warranty-table tr:nth-child(even) td {
  background: var(--color-sand);
}

.warranty-table td:first-child {
  font-weight: var(--weight-medium);
  color: var(--color-charcoal);
}

.warranty-table .highlight {
  color: var(--color-brass);
  font-weight: var(--weight-semibold);
}

.warranty-table .dim {
  color: var(--color-slate-light);
}

/* ================================================================
   TEAM CARD
   ================================================================ */

.team-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.team-card__img-wrap {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-sand);
}

.team-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--duration-slow) var(--ease-out);
}

.team-card:hover .team-card__img-wrap img {
  transform: scale(1.04);
}

.team-card__name {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  color: var(--color-charcoal);
  margin-bottom: var(--space-1);
}

.team-card__credential {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-brass);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-3);
}

.team-card__bio {
  font-size: var(--text-sm);
  color: var(--color-slate-light);
  line-height: var(--leading-relaxed);
  max-width: none;
}

/* ================================================================
   GALLERY PREVIEW (Home page)
   ================================================================ */

.gallery-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: var(--space-3);
}

@media (min-width: 900px) {
  .gallery-preview {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
  }
  .gallery-preview__item:first-child {
    grid-column: span 2;
  }
}

.gallery-preview__item {
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 1;
  background: var(--color-sand);
  position: relative;
}

.gallery-preview__item:first-child {
  aspect-ratio: auto;
  grid-row: span 2;
}

@media (min-width: 900px) {
  .gallery-preview__item:first-child {
    aspect-ratio: auto;
    grid-row: span 1;
  }
}

.gallery-preview__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.gallery-preview__item:hover img {
  transform: scale(1.05);
}

.gallery-preview__item--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-sand);
  color: var(--color-slate-light);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ================================================================
   SCROLL FADE-IN ANIMATION
   ================================================================ */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up--delay-1 { transition-delay: 80ms; }
.fade-up--delay-2 { transition-delay: 160ms; }
.fade-up--delay-3 { transition-delay: 240ms; }
.fade-up--delay-4 { transition-delay: 320ms; }

/* ================================================================
   CONTACT PAGE
   ================================================================ */

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.contact-phone-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.contact-phone-item__location {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: var(--weight-semibold);
  color: var(--color-brass);
}

.contact-phone-item__number {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  color: var(--color-charcoal);
  text-decoration: none;
  transition: color var(--duration-fast);
  line-height: 1.1;
}

.contact-phone-item__number:hover {
  color: var(--color-brass);
}

.contact-service-area {
  padding: var(--space-6);
  background: var(--color-sand);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--color-brass);
}

.contact-service-area h4 {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-brass);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-3);
}

.contact-service-area p {
  font-size: var(--text-base);
  color: var(--color-slate);
  max-width: none;
}

.contact-lead-time {
  padding: var(--space-6);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: var(--border);
}

.contact-lead-time h4 {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-slate-light);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-3);
}

.contact-lead-time p {
  font-size: var(--text-sm);
  color: var(--color-slate);
  line-height: var(--leading-relaxed);
  max-width: none;
}
