/* Kraft Floors - Kennewick & Tri-Cities WA - Gold Remodeling Style */

:root {
  --color-gold: #c9a227;
  --color-gold-dark: #a8861f;
  --color-gold-light: #e5c84a;
  --color-banner-bg: #1a1d23;
  --color-primary: var(--color-gold);
  --color-primary-dark: var(--color-gold-dark);
  --color-text: #2c2c2c;
  --color-text-muted: #444444;
  --color-bg: #faf9f6;
  --color-bg-alt: #f0efe8;
  --color-white: #fff;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-serif: 'Libre Baskerville', Georgia, serif;
  --container: min(1200px, 100% - 2rem);
  --header-height: 72px;
  --banner-height: 40px;
}

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

html {
  scroll-behavior: smooth;
}

/* iOS / notched devices: respect safe areas (requires viewport-fit=cover on meta viewport) */

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

.container {
  width: var(--container);
  margin-inline: auto;
  padding-inline: max(1rem, env(safe-area-inset-left, 0px)) max(1rem, env(safe-area-inset-right, 0px));
}

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

/* Top banner */
.top-banner {
  background: var(--color-banner-bg);
  color: var(--color-white);
  padding: max(0.5rem, env(safe-area-inset-top, 0px)) max(1rem, env(safe-area-inset-right, 0px)) 0.5rem max(1rem, env(safe-area-inset-left, 0px));
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
}

.top-banner-phone {
  color: var(--color-gold);
  letter-spacing: 0.02em;
}

.top-banner-phone:hover {
  text-decoration: underline;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 1.25rem;
}

.logo-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.logo {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-text);
}

.logo-tagline {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav > ul > li {
  position: relative;
}

.nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text);
  padding: 0.45em 0.25em;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--color-gold-dark);
}

.nav a.current {
  color: var(--color-gold-dark);
  font-weight: 600;
}

.nav-dropdown-wrap {
  position: relative;
  display: inline-block;
}

.nav-dropdown-trigger::after {
  content: '';
  display: inline-block;
  margin-left: 0.25em;
  vertical-align: 0.2em;
  border: 4px solid transparent;
  border-top-color: currentColor;
}

.nav-dropdown-wrap:hover .nav-dropdown-trigger,
.nav-dropdown-wrap:focus-within .nav-dropdown-trigger {
  color: var(--color-gold-dark);
}

.nav ul.nav-dropdown,
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: auto;
  min-width: 200px;
  max-height: min(70vh, 28rem);
  overflow-y: auto;
  margin: 0;
  margin-top: 2px;
  padding: 0.5rem 0;
  list-style: none;
  background: var(--color-white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 10;
  display: block;
  flex-direction: unset;
  align-items: unset;
  gap: 0;
}

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

.nav-dropdown li {
  margin: 0;
}

.nav-dropdown a {
  display: block;
  padding: 0.55rem 1.25rem;
  font-size: 1rem;
  white-space: nowrap;
}

.nav-dropdown a:hover {
  background: var(--color-bg-alt);
}

.nav-cta-wrap {
  margin-left: 0.5rem;
}

.nav-cta-wrap .btn-cta {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.2s, opacity 0.2s;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-banner-bg);
}

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

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

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

.btn-cta {
  background: var(--color-gold);
  color: var(--color-banner-bg);
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

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

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background-color: #1a252f;
  color: var(--color-white);
}

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

.hero-bg-image,
.hero-slide-video,
.hero-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-video-slider .hero-slide-video {
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  filter: brightness(1.15) contrast(1.05) saturate(1.08);
}

.hero-video-slider .hero-slide-video.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-bg-video {
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  filter: brightness(1.15) contrast(1.05) saturate(1.08);
}

.hero-bg-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(26, 37, 47, 0.2) 0%, rgba(15, 20, 25, 0.15) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 0;
}

.hero-text-box {
  display: inline-block;
  background: rgba(0, 0, 0, 0.5);
  padding: 1.75rem 2rem;
  border-radius: 12px;
  max-width: 100%;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  max-width: 28ch;
}

.hero p {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  opacity: 0.95;
  max-width: 36ch;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-secondary {
  background: var(--color-gold);
  color: var(--color-banner-bg);
  border: none;
}

.hero-buttons .btn-primary:hover,
.hero-buttons .btn-secondary:hover {
  background: var(--color-gold-light);
  color: var(--color-banner-bg);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section:nth-child(even) {
  background: var(--color-bg-alt);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.section-title-line {
  display: block;
  font-weight: 700;
  white-space: nowrap;
}

.section-title--compact {
  line-height: 1.25;
}

.section-title--compact .section-title-line {
  margin-bottom: 0.15em;
}

.section-title-tagline {
  display: block;
  font-weight: 700;
}

@media (max-width: 640px) {
  .section-title-line {
    white-space: normal;
  }
}

.section-title--fit {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.section-subtitle {
  margin: 0 0 2rem;
  color: var(--color-text-muted);
  max-width: 50ch;
}

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

.section-cta {
  margin-top: 2rem;
}

/* Services teaser with marble background */
.section.section-services-teaser {
  position: relative;
  background-color: var(--color-bg);
}

.section.section-services-teaser::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url(marble-bg.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.35;
  z-index: 0;
}

.section.section-services-teaser .container {
  position: relative;
  z-index: 1;
}

.section-services-teaser .section-title,
.section-services-teaser .section-title-line,
.section-services-teaser .section-title-tagline {
  color: var(--color-text);
}

.section-services-teaser .section-subtitle {
  color: var(--color-text-muted);
}

/* Teaser cards */
.hero-teaser {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.teaser-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  background: var(--color-white);
  border: 2px solid var(--color-gold);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  text-decoration: none;
  color: var(--color-text);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s, background 0.25s;
}

.teaser-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--color-gold-dark);
  background: var(--color-bg);
  color: var(--color-text);
}

.teaser-icon {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-gold-dark);
  letter-spacing: 0.02em;
}

.teaser-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  margin-top: 0.35rem;
}

/* About */
.about-remodeling-bg {
  position: relative;
  background-image: url(./about-remodeling-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-remodeling-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(248, 247, 244, 0.6);
  z-index: 0;
}

.about-remodeling-bg .container {
  position: relative;
  z-index: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-content h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  margin: 0 0 1rem;
}

.about-content p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
}

.link-arrow {
  font-weight: 600;
  color: var(--color-gold);
}

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

.about-list {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  color: var(--color-text-muted);
}

.about-list li {
  margin-bottom: 0.5rem;
}

.services-detail .service-block {
  margin-bottom: 2rem;
  padding: 2rem;
  border-radius: 8px;
  background: var(--color-white);
}

.services-detail .service-block:nth-child(even) {
  background: var(--color-bg-alt);
}

/* Kitchen why section with background */
.kitchen-why-bg {
  position: relative;
}

.kitchen-why-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url(./kitchen-why-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.kitchen-why-bg .container {
  position: relative;
  z-index: 2;
}

.kitchen-why-bg .service-block--kitchen {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: none;
  margin-left: -4rem;
  margin-right: -4rem;
  padding-left: 4.5rem;
  padding-right: 4.5rem;
}

@media (max-width: 768px) {
  .kitchen-why-bg .service-block--kitchen {
    margin-left: 0;
    margin-right: 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.services-detail .service-block--kitchen {
  padding: 3rem 2.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(201, 162, 39, 0.15);
  border-left: 4px solid var(--color-gold);
}

.services-detail .service-block--kitchen .section-title--fit {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--color-text);
}

.services-detail .service-block--kitchen .section-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 68ch;
  margin: 0 0 1.5rem;
  color: var(--color-text);
}

.services-detail .service-block--kitchen p {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 68ch;
  margin: 0 0 1.25rem;
  color: var(--color-text-muted);
}

.services-detail .service-block--kitchen p:last-of-type {
  margin-bottom: 0;
  padding-top: 0.5rem;
  font-weight: 500;
  color: var(--color-text);
}

@media (max-width: 768px) {
  .services-detail .service-block--kitchen {
    padding: 2rem 1.5rem;
  }
}

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

/* Brands carousel */
.brands-carousel-wrap {
  margin: 2.5rem 0;
  overflow: hidden;
  min-height: 100px;
}

.brands-carousel-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1rem;
  text-align: center;
  color: var(--color-text);
}

.brands-carousel {
  overflow: hidden;
  padding: 1rem 0;
}

.brands-carousel-track {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.brand-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  height: 60px;
}

.brand-logo img {
  max-height: 40px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.brand-logo-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-muted);
  white-space: nowrap;
}


/* Kitchen projects gallery */
.kitchen-projects {
  background: var(--color-bg-alt);
}

.kitchen-projects .section-title {
  text-align: center;
}

.kitchen-projects .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.kitchen-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.kitchen-project-card {
  background: var(--color-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.kitchen-project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.kitchen-project-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.kitchen-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.kitchen-project-card:hover .kitchen-project-image img {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .kitchen-projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .kitchen-projects-grid {
    grid-template-columns: 1fr;
  }
}

/* Kitchen banner */
.kitchen-banner {
  padding: 0;
  overflow: hidden;
  margin-top: 2rem;
}

.kitchen-banner-image {
  min-height: 280px;
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
}

/* Flooring Products grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--color-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.product-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card-content {
  padding: 1.25rem;
}

.product-card-content h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.product-card-content p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.products-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.products-cta p {
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

/* Flooring about / intro content */
.flooring-about {
  background: var(--color-bg-alt);
}

.flooring-about-content {
  max-width: 68ch;
  margin: 0 auto;
}

.flooring-about-content p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 0 1.25rem;
  color: var(--color-text);
}

.flooring-about-content h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  color: var(--color-text);
}

.flooring-about-content h2:first-of-type {
  margin-top: 0;
}

.flooring-about-cta {
  margin-top: 2rem !important;
  font-size: 1.1rem !important;
  line-height: 1.6 !important;
}

.flooring-about-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.flooring-about-buttons .btn {
  margin: 0;
}

.flooring-about-buttons .btn-primary,
.flooring-about-buttons .btn-secondary {
  background: var(--color-gold);
  color: var(--color-banner-bg);
  border: none;
}

.flooring-about-buttons .btn-primary:hover,
.flooring-about-buttons .btn-secondary:hover {
  background: var(--color-gold-dark);
  color: var(--color-white);
}

.flooring-about-process {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* FAQ */
.faq-list {
  max-width: 700px;
}

.faq-with-cta .faq-cta-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}

.faq-with-cta .faq-list {
  max-width: none;
}

.faq-cta {
  background: var(--color-banner-bg);
  color: var(--color-white);
  padding: 2rem;
  border-radius: 10px;
  position: sticky;
  top: calc(var(--header-height) + var(--banner-height) + 1rem);
}

.faq-cta h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}

.faq-cta p {
  margin: 0 0 1.25rem;
  opacity: 0.9;
  font-size: 0.95rem;
}

.faq-cta .btn {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 0.75rem;
}

.faq-cta .btn:last-child {
  margin-bottom: 0;
}

.faq-cta .btn-primary,
.faq-cta .btn-secondary {
  background: var(--color-gold);
  color: var(--color-banner-bg);
  border: none;
}

.faq-cta .btn-primary:hover,
.faq-cta .btn-secondary:hover {
  background: var(--color-gold-dark);
  color: var(--color-white);
}

@media (max-width: 900px) {
  .faq-with-cta .faq-cta-wrap {
    grid-template-columns: 1fr;
  }

  .faq-cta {
    position: static;
  }
}

.faq-item {
  background: var(--color-white);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  float: right;
  font-size: 1.25rem;
  color: var(--color-gold);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat {
  background: var(--color-white);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Process with faint blueprint background */
.section.process {
  position: relative;
  background-color: var(--color-bg);
}

.section.process::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url(https://images.pexels.com/photos/271667/pexels-photo-271667.jpeg?auto=compress&cs=tinysrgb&w=1920);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.2;
  z-index: 0;
}

.section.process .container {
  position: relative;
  z-index: 1;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.process-step {
  background: var(--color-white);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: relative;
}

.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-gold);
  color: var(--color-banner-bg);
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 0.75rem;
}

.process-step h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.process-step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery-item {
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-home .gallery-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* Projects page place cards */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.project-card {
  background: var(--color-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.project-card-image {
  overflow: hidden;
  background: var(--color-bg-alt);
  isolation: isolate;
}

.project-card-image img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
  transition: transform 0.3s;
}

.project-card:hover .project-card-image img {
  transform: scale(1.02);
}

.project-card-caption {
  padding: 1rem 1.25rem;
  margin: 0;
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-text);
}

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

/* Areas */
.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.areas-list li {
  margin: 0;
}

.areas-list span,
.areas-list a {
  background: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.areas-list a:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

/* City area landing pages */
.area-city-content {
  background: var(--color-bg-alt);
}

.area-city-prose {
  max-width: 42rem;
  margin: 0 auto;
}

.area-city-prose p {
  margin-bottom: 1rem;
  line-height: 1.65;
}

.area-city-prose .section-title--fit {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

.area-city-list {
  margin: 0 0 1.25rem 1.25rem;
  line-height: 1.7;
}

.area-city-list li {
  margin-bottom: 0.35rem;
}

.area-city-cta {
  margin-top: 1.25rem;
}

.area-city-showroom {
  margin-top: 1rem;
}

.area-city-back {
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.breadcrumb--hero {
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.breadcrumb--hero a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.areas-bg {
  background: var(--color-bg-alt);
}

/* Areas section with Tri-Cities map background */
.areas-map-bg {
  position: relative;
  /* must not clip the city dropdown (absolute below trigger) */
  overflow: visible;
  background: var(--color-bg-alt);
}

.areas-map-bg .section-title {
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.areas-map-bg .container {
  position: relative;
  z-index: 2;
}

.areas-map-bg-iframe {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.areas-map-bg-iframe iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
}

.areas-map-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(255,255,255,0.65) 0%, rgba(250,250,248,0.72) 100%);
  pointer-events: none;
}

/* Areas hero with Tri-Cities map background */
.areas-hero-map {
  position: relative;
  min-height: 200px;
}

.areas-hero-map-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url(./tri-cities-map.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.4;
}

.areas-hero-map .container {
  position: relative;
  z-index: 1;
}

/* Reviews */
.reviews-section-bg {
  position: relative;
  isolation: isolate;
  background-color: #f5f3ef;
  background-image: url(./cta-marble-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-text);
}

.reviews-section-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.82) 0%,
    rgba(253, 252, 249, 0.78) 45%,
    rgba(250, 247, 242, 0.88) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.reviews-section-bg .container {
  position: relative;
  z-index: 1;
}

.reviews-section-bg .section-title,
.reviews-section-bg .section-subtitle {
  color: #1a1a1a;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.reviews-section-bg .section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.reviews-section-bg .section-subtitle {
  color: #333333;
  font-size: 1.15rem;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.reviews-section-bg .reviews-link {
  color: var(--color-gold-dark);
  font-weight: 700;
}

.reviews-section-bg .reviews-link:hover {
  color: var(--color-gold);
}

.reviews-section-bg .btn-primary {
  background: var(--color-gold);
  color: var(--color-banner-bg);
}

.reviews-section-bg .btn-primary:hover {
  background: var(--color-gold-dark);
  color: var(--color-white);
}

.reviews-carousel {
  position: relative;
  max-width: 640px;
  margin: 0 auto 1.5rem;
}

.reviews-track {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.review-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.75rem 2rem;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.review-card.is-active {
  opacity: 1;
  visibility: visible;
}

.review-stars {
  color: #f9a825;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.review-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #1a1a1a;
  margin: 0 0 1rem;
  font-style: italic;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.review-cite {
  font-size: 0.9rem;
  color: #333333;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.reviews-prev,
.reviews-next {
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-gold);
  background: var(--color-white);
  color: var(--color-text);
  border-radius: 8px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.reviews-prev:hover,
.reviews-next:hover {
  background: var(--color-gold);
  color: var(--color-banner-bg);
}

.reviews-dots {
  display: flex;
  gap: 0.5rem;
}

.reviews-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--color-gold);
  opacity: 0.4;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.2s;
}

.reviews-dots button.is-active {
  opacity: 1;
}

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

.reviews-cta + .reviews-cta {
  margin-top: 0.75rem;
}

.reviews-link {
  font-weight: 600;
}

/* Homepage FAQ */
.faq-section {
  background: var(--color-bg-alt);
}

.faq-section .section-subtitle {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.faq-list {
  max-width: 42rem;
  margin: 1.5rem auto 0;
}

.faq-item {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  margin-bottom: 0.65rem;
  background: var(--color-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-item[open] {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 1rem 1.15rem 1rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--color-text);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--color-bg-alt);
  color: var(--color-gold-dark);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-question:hover {
  color: var(--color-gold-dark);
}

.faq-question:focus {
  outline: none;
}

.faq-item .faq-question:focus-visible {
  box-shadow: inset 0 0 0 2px var(--color-gold-dark);
  border-radius: 7px;
}

.faq-answer {
  padding: 0 1.25rem 1.15rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.faq-answer p {
  margin: 0;
  padding-top: 0.85rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

.faq-section--local {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.faq-section--local .section-title {
  text-align: center;
}

/* CTA strip */
.cta-strip {
  position: relative;
  isolation: isolate;
  background-color: #f5f3ef;
  background-image: url(./cta-marble-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-banner-bg);
}

.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.82) 0%,
    rgba(253, 252, 249, 0.78) 45%,
    rgba(250, 247, 242, 0.88) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.cta-strip .container {
  position: relative;
  z-index: 1;
}

.cta-strip .section-title,
.cta-strip .section-subtitle {
  color: var(--color-banner-bg);
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.cta-strip .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.cta-strip-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.cta-strip .btn-primary {
  background: var(--color-banner-bg);
  color: var(--color-white);
}

.cta-strip .btn-primary:hover {
  background: #0f1419;
  color: var(--color-white);
}

.cta-strip .btn-secondary {
  background: transparent;
  color: var(--color-banner-bg);
  border: 2px solid var(--color-banner-bg);
}

.cta-strip .btn-secondary:hover {
  background: var(--color-banner-bg);
  color: var(--color-gold);
  border-color: var(--color-banner-bg);
}

/* Gallery bg */
.gallery-bg {
  background: var(--color-bg-alt);
}

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
  align-items: start;
}

.contact-info {
  background: var(--color-banner-bg);
  color: var(--color-white);
  padding: 1.5rem;
  border-radius: 10px;
}

.contact-info a {
  color: var(--color-gold);
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-info .footer-maps-link {
  margin-top: 1.25rem;
  color: var(--color-white);
}

.contact-info .footer-maps-link:hover {
  text-decoration: none;
  color: var(--color-gold);
}

.contact-page-map {
  max-width: 100%;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form .form-row:last-of-type {
  grid-column: 1 / -1;
}

.contact-form button {
  grid-column: 1 / -1;
  justify-self: start;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-row label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
}

.form-row input,
.form-row textarea {
  padding: 0.6rem 0.75rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: var(--color-white);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
  right: max(1.5rem, env(safe-area-inset-right, 0px));
  z-index: 50;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-banner-bg);
  color: var(--color-white);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s, background 0.2s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #0f1419;
}

/* Footer */
.footer {
  background: var(--color-banner-bg);
  color: var(--color-white);
  padding: 2.5rem 0 max(1.5rem, env(safe-area-inset-bottom, 0px));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer .logo {
  color: var(--color-white);
}

.footer-brand p {
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  opacity: 0.85;
}

.footer-brand-serve {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand-serve-title {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 1;
}

.footer-brand-serve-cities {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  line-height: 1.55;
  opacity: 0.88;
}

.footer-brand-serve-services {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  opacity: 0.82;
}

.footer-maps-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-white);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.footer-maps-link:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.footer-maps-icon {
  font-size: 1.1rem;
}

.footer-map-embed {
  margin-top: 1rem;
  max-width: 420px;
  min-height: 280px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  background: rgba(0, 0, 0, 0.15);
}

.footer-map-embed iframe {
  display: block;
  width: 100%;
  min-height: 280px;
}

/* About page large map */
.about-map-section {
  background: var(--color-bg-alt);
}

.about-map-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-map-section .section-title {
  text-align: center;
}

.about-map-section .section-subtitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.about-map-directions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: var(--color-gold-dark);
  transition: color 0.2s;
}

.about-map-directions:hover {
  color: var(--color-gold);
}

.about-map-embed {
  width: 100%;
  align-self: stretch;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.about-map-embed iframe {
  display: block;
  width: 100%;
  height: 450px;
  min-height: 400px;
}

.footer h4 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

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

.footer-links li {
  margin-bottom: 0.4rem;
}

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

.footer-contact p {
  margin: 0.25rem 0;
  font-size: 0.95rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-socials a {
  color: var(--color-white);
  transition: opacity 0.2s, color 0.2s;
}

.footer-socials a:hover {
  color: var(--color-gold);
  opacity: 0.9;
}

.footer-socials svg {
  display: block;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-bottom .footer-badges {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

/* Page hero (subpages) */
.page-hero {
  padding: 3rem 0 2rem;
  background: var(--color-banner-bg);
  color: var(--color-white);
}

.page-hero .section-title {
  color: var(--color-white);
}

.page-hero .section-subtitle {
  color: rgba(255,255,255,0.9);
}

/* Page hero with image background */
.page-hero-image {
  color: var(--color-white);
}

.page-hero-image .hero-bg-floor {
  background-position: center bottom;
}

.page-hero-image .hero-bg-flooring {
  background-position: center 88%;
}

.flooring-hero .hero-text-box {
  background: rgba(0, 0, 0, 0.55);
}

.flooring-hero .hero-text-box p {
  max-width: 42ch;
}

.hero-tagline {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nowrap {
  white-space: nowrap;
}

/* Page hero with video background */
.page-hero-video .hero-video-single {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-video .hero-video-single video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  filter: brightness(1.15) contrast(1.05) saturate(1.08);
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-map-embed {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-socials {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
    min-height: min(520px, 70dvh);
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: calc(var(--banner-height) + var(--header-height));
    left: 0;
    right: 0;
    z-index: 99;
    background: var(--color-white);
    padding-top: 1rem;
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    max-height: calc(100vh - var(--banner-height) - var(--header-height));
    overflow-y: auto;
  }

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

  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav > ul > li {
    position: static;
  }

  .nav li a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    white-space: normal;
  }

  .nav li:last-child a {
    border-bottom: none;
  }

  .nav-dropdown-wrap {
    display: block;
  }

  .nav-dropdown-trigger::after {
    display: none;
  }

  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0 1rem;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
    border-left: 2px solid var(--color-gold);
  }

  .nav-dropdown a {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }

  .nav-cta-wrap {
    margin-left: 0;
  }

  .nav-cta-wrap .btn-cta {
    display: block;
    text-align: center;
  }

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

  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: max(1rem, env(safe-area-inset-left, 0px)) max(1rem, env(safe-area-inset-right, 0px));
  }

  .logo {
    font-size: 1.15rem;
  }

  .logo-tagline {
    font-size: 0.65rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .section {
    padding: 2.5rem 0;
  }
}
