 /* ============================================
   SCHMIDT COUNTERTOPS — Design System & Styles
   ============================================ */

/* ---------- Root Variables ---------- */
:root {
  /* Brand Colors */
  --sc-charcoal: #1c1c1e;
  --sc-graphite: #2a2a2e;
  --sc-dark: #0f0f11;
  --sc-bronze: #B5872D;
  --sc-bronze-light: #c9a96e;
  --sc-bronze-dark: #8c6f3f;
  --sc-white: #ffffff;
  --sc-warm-white: #faf9f6;
  --sc-stone: #f0eee9;
  --sc-light-gray: #e8e5df;
  --sc-mid-gray: #9a958d;
  --sc-text: #2d2d2f;
  --sc-text-light: #6b6660;
  --sc-border: #e0ddd5;
  --sc-overlay: rgba(15, 15, 17, 0.65);
  --sc-overlay-heavy: rgba(15, 15, 17, 0.78);

  /* Typography */
  --sc-font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --sc-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --sc-fs-xs: 0.75rem;
  --sc-fs-sm: 0.875rem;
  --sc-fs-base: 1rem;
  --sc-fs-md: 1.125rem;
  --sc-fs-lg: 1.25rem;
  --sc-fs-xl: 1.5rem;
  --sc-fs-2xl: 2rem;
  --sc-fs-3xl: 2.5rem;
  --sc-fs-4xl: 3.25rem;
  --sc-fs-5xl: 4rem;

  /* Spacing */
  --sc-section-py: 4.5rem;
  --sc-section-py-lg: 5.5rem;
  --sc-gap: 2rem;

  /* Radius */
  --sc-radius-sm: 4px;
  --sc-radius: 8px;
  --sc-radius-lg: 12px;
  --sc-radius-xl: 16px;

  /* Shadows */
  --sc-shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --sc-shadow: 0 4px 16px rgba(0,0,0,.08);
  --sc-shadow-lg: 0 8px 32px rgba(0,0,0,.1);
  --sc-shadow-xl: 0 16px 48px rgba(0,0,0,.12);

  /* Transitions */
  --sc-transition: 0.3s ease;
  --sc-transition-fast: 0.15s ease;
}

/* ---------- Base Reset & Typography ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  
}

body {
  font-family: var(--sc-font-body);
  font-size: var(--sc-fs-base);
  line-height: 1.7;
  color: var(--sc-text);
  background-color: var(--sc-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 100%;
   background-image:
    linear-gradient(rgba(255,255,255,0.35), rgba(255,255,255,0.35)),
    url("../img/bg_pattern.png");
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--sc-font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--sc-charcoal);
  margin-bottom: 0rem;
}

h1 { font-size: var(--sc-fs-4xl); letter-spacing: -0.02em; }
h2 { font-size: var(--sc-fs-3xl); letter-spacing: -0.015em; }
h3 { font-size: var(--sc-fs-2xl); }
h4 { font-size: var(--sc-fs-xl); }
h5 { font-size: var(--sc-fs-lg); }
h6 { font-size: var(--sc-fs-md); }

p {
  margin-bottom: 1rem;
  color: #393735;
}

a {
  color: #B5872D;
  text-decoration: none;
  transition: color var(--sc-transition-fast);
}

a:hover {
  color: var(--sc-bronze-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------- Utility Classes ---------- */
.sc-section {
  padding: var(--sc-section-py) 0;
  overflow: hidden;
  position: relative;
}

.sc-section-lg {
  padding: var(--sc-section-py-lg) 0;
}

.sc-section-dark {
  background-color: var(--sc-charcoal);
  background: linear-gradient(rgba(0,0,0, 0.35), rgba(15,15,17, 1)), url('../img/bg-black.png') center/cover no-repeat;
  color: var(--sc-warm-white);
}

.sc-section-dark h2,
.sc-section-dark h3,
.sc-section-dark h4,
.sc-section-dark h5 {
  color: var(--sc-white);
}

.sc-section-dark p {
  color: var(--sc-light-gray);
}

.sc-section-stone {
  background-color: var(--sc-stone);
  background: linear-gradient(rgba(255,255,255, 0.15), rgba(255,255,255, 0.25)), url('../img/bg-tan.png') center/cover no-repeat;
}

.sc-section-warm {
  background-color: var(--sc-warm-white);
}

.sc-eyebrow {
    font-size: var(--sc-fs-xs);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #B5872D;
    margin-bottom: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
  }

  .sc-eyebrow::after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 1px;
    background-color: #B5872D;
  }

  .sc-hero-content .sc-eyebrow::after, .sc-page-hero .sc-eyebrow::after {
    background-color: #ffffff !important;
  }

  .text-center .sc-eyebrow::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 1px;
    background-color: #B5872D;
  }

.sc-lead {
    font-size: var(--sc-fs-md);
    line-height: 1.8;
    color: #332d27;
    max-width: 640px;
    font-weight: 500;
  }

.sc-lead-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.sc-divider {
  width: 48px;
  height: 3px;
  background: #B5872D;
  border: none;
  margin: 1.5rem 0;
}

.sc-divider-center {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn-sc-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-size: var(--sc-fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sc-white);
  background-color: #B5872D;
  border: 2px solid #B5872D;
  border-radius: 0;
  transition: all var(--sc-transition);
  cursor: pointer;
  line-height: 1.4;
}

.btn-sc-primary:hover,
.btn-sc-primary:focus-visible {
  background-color: var(--sc-bronze-dark);
  border-color: var(--sc-bronze-dark);
  color: var(--sc-white);
  transform: translateY(-1px);
  box-shadow: var(--sc-shadow);
}

.btn-sc-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-size: var(--sc-fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sc-white);
  background-color: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 0;
  transition: all var(--sc-transition);
  cursor: pointer;
  line-height: 1.4;
}

.btn-sc-outline:hover,
.btn-sc-outline:focus-visible {
  border-color: var(--sc-white);
  background-color: rgba(255,255,255,0.1);
  color: var(--sc-white);
}

.btn-sc-outline-dark {
  color: var(--sc-charcoal);
  border-color: var(--sc-charcoal);
}

.btn-sc-outline-dark:hover,
.btn-sc-outline-dark:focus-visible {
  background-color: var(--sc-charcoal);
  color: var(--sc-white);
}

.btn-sc-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-size: var(--sc-fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sc-white);
  background-color: var(--sc-charcoal);
  border: 2px solid var(--sc-charcoal);
  border-radius: 0;
  transition: all var(--sc-transition);
  cursor: pointer;
  line-height: 1.4;
}

.btn-sc-dark:hover,
.btn-sc-dark:focus-visible {
  background-color: var(--sc-dark);
  border-color: var(--sc-dark);
  color: var(--sc-white);
  transform: translateY(-1px);
  box-shadow: var(--sc-shadow);
}

.btn-sc-lg {
  padding: 1rem 2.5rem;
  font-size: var(--sc-fs-base);
}

/* Focus visible for accessibility */
*:focus-visible {
  outline: 2px solid #B5872D;
  outline-offset: 2px;
}

/* ---------- Topbar ---------- */
.sc-topbar {
  background-color: #2f2e2e;
  color: #ffffff;
  font-size: 0.85rem;
  padding: 0.6rem 0;
  letter-spacing: 0.02em;
}

.sc-topbar a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color var(--sc-transition-fast);
}

.sc-topbar a:hover {
  color: var(--sc-white);
}

/* ---------- Navbar ---------- */
.sc-navbar {
  background-color: #ffffff;
  padding: 0.45rem 0;
  transition: padding 0.3s ease, background-color var(--sc-transition), box-shadow var(--sc-transition);
  z-index: 1050;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05); /* very light base shadow */
}

.sc-navbar.scrolled { padding: 0.65rem 0; box-shadow: 0 4px 16px rgba(0,0,0,0.08); background-color: #fffffff2; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

.sc-navbar .navbar-brand {
  padding: 0;
  margin-right: 0;
}

.sc-navbar .navbar-brand img {
  height: 78px;
  width: auto;
  transition: height 0.3s ease;
    min-width: 139px;
    object-fit: contain;
}

.sc-navbar.scrolled .navbar-brand img { height: 58px; }

.sc-navbar .nav-link {
  color: #212529 !important;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.5rem 0.7rem !important;
  transition: color var(--sc-transition-fast);
}

.sc-navbar .nav-link:hover,
.sc-navbar .nav-link:focus,
.sc-navbar .nav-link.active {
  color: #B5872D !important;
}

.sc-navbar .dropdown-menu {
  background-color: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--sc-radius);
  padding: 0.5rem 0;
  margin-top: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  min-width: 220px;
}

.sc-navbar .dropdown-item {
  color: #4a4949;
  font-size: var(--sc-fs-sm);
  padding: 0.55rem 1.25rem;
  font-weight: 500;
  transition: all var(--sc-transition-fast);
}

.sc-navbar .dropdown-item:hover,
.sc-navbar .dropdown-item:focus {
  color: #1c1c1e;
  background-color: rgba(176, 141, 87, 0.1);
}

.sc-navbar .dropdown-item.active, 
.sc-navbar .dropdown-item:active {
  color: #1c1c1e;
  background-color: #F7F3EE;
}

.sc-navbar .navbar-toggler {
  border: none;
  padding: 0.5rem;
  color: #212529;
}

.sc-navbar .navbar-toggler:focus {
  box-shadow: none;
  /* outline: 2px solid #B5872D;
  outline-offset: 2px; */
}

.sc-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(33, 37, 41, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.sc-navbar .btn-nav-cta {
  padding: 0.6rem 1.5rem;
  font-size: var(--sc-fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sc-white);
  background-color: #B5872D;
  border: none;
  border-radius: 0;
  transition: all var(--sc-transition);
  white-space: nowrap;
}

.sc-navbar .btn-nav-cta:hover {
  background-color: #2f2e2e;
  color: var(--sc-white);
  transform: translateY(-1px);
}



/* Desktop dropdown on hover */
@media (min-width: 992px) {
  .sc-navbar .dropdown:hover > .dropdown-menu {
    display: block;
    animation: sc-fadeDown 0.2s ease;
  }
  .sc-navbar .dropdown > .dropdown-menu {
    margin-top: 0;
  }
}

@keyframes sc-fadeDown {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Mobile fullscreen nav */
@media (max-width: 991.98px) {
  .sc-navbar .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: #1c1c1e;
    z-index: 1060;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
  }

  .sc-navbar .navbar-collapse.show {
    opacity: 1;
    visibility: visible;
  }

  .sc-navbar .navbar-collapse.collapsing {
    opacity: 0;
    visibility: visible;
    height: 100vh !important;
    height: 100dvh !important;
  }

  /* Logo inside mobile menu */
  .sc-mobile-logo { position: absolute; top: 1.5rem; left: 1.5rem; width: 160px; height: auto; z-index: 1070; }
  /* Close button inside mobile menu */
  .sc-mobile-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 2rem;
    line-height: 1;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 1070;
    transition: color 0.15s ease;
  }

  .sc-mobile-close:hover {
    color: #ffffff;
  }

  .sc-navbar .navbar-collapse .navbar-nav {
    flex-direction: column;
    align-items: center !important;
    gap: 0 !important;
    width: 100%;
    max-width: 320px;
      margin: 0 auto;
  }

  .sc-navbar .nav-link {
    padding: 0.85rem 1rem;
    font-size: 1.1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    width: 100%;
  }

  .sc-navbar .dropdown-menu {
      display: block !important;
      background-color: rgba(255,255,255,0.05);
      border: none;
      padding: 0;
      box-shadow: none;
      text-align: center;
      max-height: 0;
      overflow: hidden;
      opacity: 0;
      visibility: hidden;
      transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease, visibility 0.4s ease;
      margin: 0;
    }

    .sc-navbar .dropdown-menu.show {
      max-height: 400px;
      opacity: 1;
      visibility: visible;
      padding: 0.5rem 0;
    }

  .sc-navbar .dropdown-item {
    padding: 0.6rem 1rem;
    text-align: center;
  }
    .sc-navbar .nav-link {
      color: #ffffff !important;
    }
    .sc-navbar .dropdown-item {
      color: rgba(255,255,255,0.7) !important;
    }
    .sc-navbar .dropdown-item:hover, .sc-navbar .dropdown-item:focus {
      color: #ffffff !important;
      background-color: transparent;
    }

  .sc-navbar .btn-nav-cta {
    margin: 1.5rem auto 0;
    display: inline-block;
    text-align: center;
  }
}

/* ---------- Hero Section ---------- */
.sc-hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--sc-dark);
}

.sc-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.sc-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 15, 17, 0.7) 0%,
    rgba(15, 15, 17, 0.7) 100%
  );
  z-index: 1;
}

.sc-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 6rem 0 6rem;
}

.sc-hero h1 {
  color: var(--sc-white);
  font-size: var(--sc-fs-5xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.sc-hero .sc-hero-sub {
  font-size: var(--sc-fs-lg);
  color: rgba(255,255,255,0.9);
  margin-bottom: 2.25rem;
  max-width: 560px;
  line-height: 1.7;
}

.sc-hero .btn-group-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Page hero for inner pages */
.sc-page-hero {
  position: relative;
  padding: 8rem 0 4rem;
  background-color: var(--sc-charcoal);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.sc-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--sc-overlay-heavy);
}

.sc-page-hero .container {
  position: relative;
  z-index: 2;
}

.sc-page-hero h1 {
  color: var(--sc-white);
  margin-bottom: 1rem;
}

.sc-page-hero p {
  color: rgba(255,255,255,0.90);
  font-size: var(--sc-fs-md);
  max-width: 600px;
}

.sc-page-hero .sc-eyebrow,
.sc-hero .sc-eyebrow {
  color: whitesmoke;
}

.sc-breadcrumb {
  margin-bottom: 1rem;
}

.sc-breadcrumb .breadcrumb-item,
.sc-breadcrumb .breadcrumb-item a {
  font-size: var(--sc-fs-xs);
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sc-breadcrumb .breadcrumb-item a:hover {
  color: var(--sc-bronze-light);
}

.sc-breadcrumb .breadcrumb-item.active {
  color: rgba(255,255,255,0.7);
}

.sc-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.35);
}

/* ---------- Trust Bar ---------- */
.sc-trust-bar {
  background-color: var(--sc-dark);
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.sc-trust-item {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.75rem;
  color: rgba(255,255,255,0.7);
  font-size: var(--sc-fs-sm);
  font-weight: 500;
  text-align: left;
  color:whitesmoke;
}

.sc-trust-item svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #B5872D;
}

/* ---------- Cards ---------- */
.sc-card {
  background: var(--sc-white);
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--sc-border);
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  height: 100%;
}

.sc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.sc-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.sc-card-body {
  padding: 1.75rem;
}

.sc-card-body h3 {
  font-size: var(--sc-fs-xl);
  margin-bottom: 0.75rem;
}

.sc-card-body p {
  font-size: var(--sc-fs-sm);
  margin-bottom: 1.25rem;
}

.sc-card-link {
  font-size: var(--sc-fs-sm);
  font-weight: 600;
  color: #B5872D;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--sc-transition);
}

.sc-card-link:hover {
  gap: 0.7rem;
  color: var(--sc-bronze-dark);
}

/* Service Card variant with animated sidebar */
.sc-card-service {
  position: relative;
  /* To ensure the left line overlays cleanly */
}

.sc-card-service::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 4px;
  height: 0;
  background-color: #B5872D;
  transition: height 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 10;
}

.sc-card-service:hover::before {
  height: 100%;
}

/* Dark card variant */
.sc-card-dark {
  background: var(--sc-graphite);
  border-color: rgba(255,255,255,0.06);
}

.sc-card-dark h3,
.sc-card-dark h4 {
  color: var(--sc-white);
}

.sc-card-dark p {
  color: rgba(255,255,255,0.6);
}

/* ---------- Process / Steps ---------- */
.sc-step {
  text-align: center;
  padding: 2rem 1.5rem;
}

.sc-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #B5872D;
  color: var(--sc-white);
  font-size: var(--sc-fs-xl);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.sc-step h4 {
  font-size: var(--sc-fs-lg);
  margin-bottom: 0.75rem;
}

.sc-step p {
  font-size: var(--sc-fs-sm);
}

/* ---------- Testimonials ---------- */
.sc-testimonial {
  background-color: var(--sc-white);
  border: 1px solid var(--sc-border);
  border-radius: 0;
  padding: 2.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sc-testimonial-stars {
  color: #B5872D;
  margin-bottom: 1rem;
  font-size: var(--sc-fs-lg);
}

.sc-testimonial blockquote {
  font-size: var(--sc-fs-base);
  font-style: italic;
  color: var(--sc-text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.sc-testimonial-author {
  font-weight: 600;
  font-size: var(--sc-fs-sm);
  color: var(--sc-charcoal);
}

.sc-testimonial-role {
  font-size: var(--sc-fs-xs);
  color: var(--sc-mid-gray);
}

/* ---------- Gallery ---------- */
  .sc-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  @media (max-width: 991.98px) {
    .sc-gallery-grid {
       grid-template-columns: repeat(2, 1fr);
    }
  }
  

.sc-gallery-item {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 4/3;
}


.sc-gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.sc-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sc-gallery-item:hover img {
  transform: scale(1.04);
}

.sc-gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,15,17,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--sc-transition);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.sc-gallery-item:hover .sc-gallery-item-overlay {
  opacity: 1;
}

.sc-gallery-item-overlay span {
  color: var(--sc-white);
  font-weight: 600;
  font-size: var(--sc-fs-sm);
}

/* Gallery filter buttons */
.sc-gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.sc-gallery-filters .btn-filter {
  padding: 0.5rem 1.25rem;
  font-size: var(--sc-fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--sc-border);
  background: var(--sc-white);
  color: var(--sc-text-light);
  border-radius: 0;
  cursor: pointer;
  transition: all var(--sc-transition-fast);
}

.sc-gallery-filters .btn-filter:hover,
.sc-gallery-filters .btn-filter.active {
  background: var(--sc-charcoal);
  color: var(--sc-white);
  border-color: var(--sc-charcoal);
}

/* ---------- CTA Block ---------- */
.sc-cta-block {
  background-color: var(--sc-charcoal);
  padding: 4.5rem 0;
  text-align: center;
}

.sc-cta-block h2 {
  color: var(--sc-white);
  font-size: var(--sc-fs-3xl);
  margin-bottom: 1rem;
}

.sc-cta-block p {
  color: rgba(255,255,255,0.7);
  font-size: var(--sc-fs-md);
  max-width: 560px;
  margin: 0 auto 2rem;
}

.sc-cta-block .btn-group-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Alternate CTA with bronze background */
.sc-cta-block-bronze {
  background: linear-gradient(135deg, #B5872D 0%, #B5872D 100%);
}

.sc-cta-block-bronze p {
  color: rgba(255,255,255,0.85);
}

/* ---------- Forms ---------- */
.sc-form .form-control,
.sc-form .form-select {
  background-color: var(--sc-warm-white);
  border: 1px solid var(--sc-border);
  border-radius: 0;
  padding: 0.85rem 1rem;
  font-size: var(--sc-fs-sm);
  color: var(--sc-text);
  transition: border-color var(--sc-transition-fast), box-shadow var(--sc-transition-fast);
}

.sc-form .form-control:focus,
.sc-form .form-select:focus {
  border-color: #B5872D;
  box-shadow: 0 0 0 3px rgba(176,141,87,0.15);
  background-color: var(--sc-white);
}

.sc-form .form-label {
  font-size: var(--sc-fs-sm);
  font-weight: 600;
  color: var(--sc-charcoal);
  margin-bottom: 0.4rem;
}

.sc-form textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

/* Honeypot */
.sc-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* ---------- Footer ---------- */
.sc-footer {
  background-color: var(--sc-dark);
  padding: 4rem 0 0;
}

.sc-footer h5 {
  color: var(--sc-white);
  font-size: var(--sc-fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.sc-footer p,
.sc-footer li,
.sc-footer a {
  color: rgba(255,255,255,0.55);
  font-size: var(--sc-fs-sm);
}

.sc-footer a:hover {
  color: var(--sc-bronze-light);
}

.sc-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sc-footer li {
  margin-bottom: 0.5rem;
}

.sc-footer-brand img {
  /* height: 36px; */
  margin-bottom: 1rem;
}

.sc-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 0;
  margin-top: 3rem;
}

.sc-footer-bottom p {
  margin: 0;
  font-size: var(--sc-fs-xs);
  color: rgba(255,255,255,0.35);
}

/* ---------- FAQ / Accordion ---------- */
.sc-accordion .accordion-item {
  border: 1px solid var(--sc-border);
  border-radius: var(--sc-radius) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.sc-accordion .accordion-button {
  font-weight: 600;
  font-size: var(--sc-fs-base);
  color: var(--sc-charcoal);
  background-color: var(--sc-white);
  padding: 1.15rem 1.5rem;
  box-shadow: none;
}

.sc-accordion .accordion-button:not(.collapsed) {
  color: var(--sc-bronze-dark);
  background-color: var(--sc-warm-white);
  box-shadow: none;
}

.sc-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232d2d2f'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.sc-accordion .accordion-body {
  padding: 1.25rem 1.5rem;
  font-size: var(--sc-fs-sm);
  color: var(--sc-text-light);
  line-height: 1.8;
}

/* ---------- Feature List ---------- */
.sc-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sc-feature-list li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
  font-size: var(--sc-fs-sm);
  color: #2f2f2f;
  font-weight:500
}

.sc-feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  background-color: #B5872D;
  border-radius: 50%;
}

/* ---------- Stats / Metrics ---------- */
.sc-stat {
  text-align: center;
  padding: 1.5rem;
}

.sc-stat-number {
  font-size: var(--sc-fs-4xl);
  font-weight: 800;
  color: #958266;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
  text-shadow: 0px 0px 5px #000;
}

.sc-stat-label {
  font-size: var(--sc-fs-sm);
  font-weight: 600;
  color: var(--sc-charcoal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sc-section-dark .sc-stat-label {
  color: rgba(255,255,255,0.9);
}

/* ---------- Map Placeholder ---------- */
.sc-map-placeholder {
  background-color: var(--sc-stone);
  border-radius: 0;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sc-mid-gray);
  font-size: var(--sc-fs-sm);
  border: 1px solid var(--sc-border);
}

/* ---------- Responsive Typography ---------- */
@media (max-width: 1199.98px) {
  h1 { font-size: var(--sc-fs-3xl); }
  h2 { font-size: var(--sc-fs-2xl); }
  .sc-hero h1 { font-size: var(--sc-fs-4xl); }
}

@media (max-width: 767.98px) {
  :root {
    --sc-section-py: 3.5rem;
    --sc-section-py-lg: 4.5rem;
  }

  h1 { font-size: var(--sc-fs-2xl); }
  h2 { font-size: var(--sc-fs-xl); }
  h3 { font-size: var(--sc-fs-lg); }

  .sc-hero {
    min-height: 50vh;
  }

  .sc-hero h1 {
    font-size: var(--sc-fs-3xl);
  }

  .sc-hero .sc-hero-sub {
    font-size: var(--sc-fs-base);
  }

  .sc-hero-content {
      padding: 4rem 0 2rem;
    }

  .sc-page-hero {
    padding: 6rem 0 3rem;
  }

  

  .sc-cta-block {
    padding: 3.5rem 0;
  }

  .sc-cta-block h2 {
    font-size: var(--sc-fs-2xl);
  }

  .sc-stat-number {
    font-size: var(--sc-fs-3xl);
  }

  .sc-testimonial {
    padding: 1.75rem;
  }
}

@media (max-width: 575.98px) {
  .sc-hero h1 {
    font-size: var(--sc-fs-2xl);
  }

  .sc-hero .btn-group-hero {
    flex-direction: column;
  }

  .sc-gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Skip to Content ---------- */
.sc-skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: #B5872D;
  color: var(--sc-white);
  padding: 0.75rem 1.5rem;
  border-radius: 0;
  z-index: 9999;
  font-weight: 600;
  font-size: var(--sc-fs-sm);
  transition: top var(--sc-transition-fast);
}

.sc-skip-link:focus {
  top: 1rem;
  color: var(--sc-white);
}

/* ---------- Internal Link List (for location pages etc.) ---------- */
.sc-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
}

.sc-link-list li a {
  display: inline-block;
  padding: 0.4rem 1rem;
  font-size: var(--sc-fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid var(--sc-border);
  border-radius: 0;
  color: var(--sc-text-light);
  transition: all var(--sc-transition-fast);
}

.sc-link-list li a:hover {
  background-color: var(--sc-charcoal);
  border-color: var(--sc-charcoal);
  color: var(--sc-white);
}

/* ---------- Content Utilities ---------- */
.sc-img-wrapper {
  position: relative;
  display: block;
  /* Add margin on mobile so the offset border isn't clipped by the screen edges */
  margin-left: 15px;
  margin-right: 15px;
}

@media (min-width: 768px) {
  .sc-img-wrapper {
    margin-left: 0;
    margin-right: 0;
  }
}

.sc-img-wrapper::after {
  content: "";
  position: absolute;
  top: -15px;
  left: -15px;
  right: 15px;
  bottom: 15px;
  border: 1px solid #B5872D;
  pointer-events: none;
  z-index: 1;
}

/* Modifiers for right-side images */
.sc-img-wrapper-right::after {
  left: 15px;
  right: -15px;
}

@media (min-width: 992px) {
  /* Naturally 2nd child means it's on the right */
  .row > [class*="col-"]:nth-child(2) .sc-img-wrapper::after,
  .row > [class*="col-"]:last-child .sc-img-wrapper::after {
    left: 15px;
    right: -15px;
  }
  
  /* Exception: if the 2nd child is pushed left */
  .row > [class*="col-"]:nth-child(2).order-lg-1 .sc-img-wrapper::after,
  .row > [class*="col-"]:last-child.order-lg-1 .sc-img-wrapper::after,
  .row > [class*="col-"]:nth-child(2).order-lg-first .sc-img-wrapper::after,
  .row > [class*="col-"]:last-child.order-lg-first .sc-img-wrapper::after {
    left: -15px;
    right: 15px;
  }

  /* First child but ordered to the right */
  .row > [class*="col-"]:first-child.order-lg-2 .sc-img-wrapper::after,
  .row > [class*="col-"]:nth-child(1).order-lg-2 .sc-img-wrapper::after,
  .row > [class*="col-"]:first-child.order-lg-last .sc-img-wrapper::after,
  .row > [class*="col-"]:nth-child(1).order-lg-last .sc-img-wrapper::after {
    left: 15px;
    right: -15px;
  }
}

.sc-img-rounded {
  border-radius: 0;
  display: block;
  width: 100%;
}

.sc-shadow {
  box-shadow: var(--sc-shadow);
}

.sc-shadow-lg {
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

/* Edge profile grid */
.sc-edge-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  @media (min-width: 768px) {
    .sc-edge-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  @media (min-width: 992px) {
    .sc-edge-grid {
      grid-template-columns: repeat(6, 1fr);
    }
  }

  .sc-edge-item {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--sc-white);
    border: 1px solid var(--sc-border);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: default;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .sc-edge-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
  }

  .sc-edge-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.6s ease;
  }

  .sc-edge-item:hover img {
    transform: scale(1.05);
  }

  .sc-edge-item::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    z-index: 2;
  }

  .sc-edge-item span {
    position: relative;
    z-index: 3;
    font-size: var(--sc-fs-sm);
    font-weight: 600;
    color: var(--sc-white);
    padding: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

/* ---------- Print Styles ---------- */
@media print {
  .sc-navbar, .sc-footer, .sc-cta-block {
    display: none !important;
  }
  body {
    color: #000;
    background: #fff;
  }
}





/* ---------- Swiper Overrides ---------- */
.materialsSwiper {
  padding: 1rem 5px; /* Leave room for shadow clipping */
  margin: -1rem -5px 0;
}
.sc-materials-wrapper {
  position: relative;
}
.sc-materials-wrapper .swiper-button-next,
.sc-materials-wrapper .swiper-button-prev {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background-color: var(--sc-white);
  border-radius: 50%;
  box-shadow: var(--sc-shadow);
  color: #B5872D !important;
  z-index: 10;
}
.sc-materials-wrapper .swiper-button-next::after,
.sc-materials-wrapper .swiper-button-prev::after {
  font-size: 1.25rem;
  font-weight: bold;
}
/* Mobile / Tablet default (inside the edge) */
.sc-materials-wrapper .swiper-button-next { right: 10px; }
.sc-materials-wrapper .swiper-button-prev { left: 10px; }

/* Desktop (float completely outside the cards into the margins) */
@media (min-width: 992px) {
  .sc-materials-wrapper .swiper-button-next { right: -60px; }
  .sc-materials-wrapper .swiper-button-prev { left: -60px; }
}
/* Overlay card variant */
.sc-card-overlay {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    min-height: 400px; border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
      background-color: var(--color-dark);
  }

  .sc-card-overlay.sc-card-hover:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.sc-card-overlay .sc-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.6s ease;
}

.sc-card-overlay.sc-card-hover:hover .sc-card-img {
    transform: scale(1.05);
}

.sc-card-overlay::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.15);
      z-index: 2;
      transition: background 0.4s ease;
  }
  .sc-card-overlay:hover::after {
      background: rgba(0,0,0,0.4);
  }

.sc-card-overlay .sc-card-content {
      position: relative;
      z-index: 3;
      padding: 32px 24px;
      background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
      color: var(--sc-white);
  }

.sc-card-overlay .sc-card-title {
    color: var(--color-white);
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.sc-card-overlay .sc-card-desc {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.sc-card-overlay .sc-card-arrow {
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--color-white);
    font-size: 1.25rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.sc-card-overlay.sc-card-hover:hover .sc-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Service Area Lists */
.sc-city-list-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}
.sc-city-list {
    display: grid !important;
    grid-template-columns: repeat(2, max-content) !important;
    row-gap: 1rem !important;
    column-gap: 2rem !important;
    margin: 0 auto !important;
    padding: 0 !important;
    width: max-content !important;
}
@media (min-width: 600px) {
    .sc-city-list {
        grid-template-columns: repeat(3, max-content) !important;
        column-gap: 6rem !important; /* Increase gap to space them out */
    }
}
@media (min-width: 1000px) {
    .sc-city-list {
        grid-template-columns: repeat(3, max-content) !important;
        column-gap: 18rem !important; /* Increase gap to space them out */
    }
}
.sc-city-list .city-item {
    display: flex !important;
    align-items: flex-start !important;
    text-align: left !important;
    margin: 0 !important;
}
.sc-city-list .city-item svg {
    margin-top: 4px !important;
    flex-shrink: 0 !important;
    margin-right: 0.75rem !important;
}
/* ---------- Gallery Pagination ---------- */
.sc-gallery-pagination .page-link {
  color: #B5872D;
}
.sc-gallery-pagination .page-item.active .page-link {
  background-color: #B5872D;
  border-color: #B5872D;
  color: #ffffff;
}
.sc-gallery-pagination .page-link:hover {
  color: #ffffff;
  background-color: #88755a;
  border-color: #88755a;
}
.sc-gallery-pagination .page-item.disabled .page-link {
  color: #d3ccc2;
}
.sc-gallery-pagination .page-link:focus {
  box-shadow: 0 0 0 0.25rem rgba(154, 133, 102, 0.25);
}


/* ---------- Pagination Styling ---------- */
.sc-gallery-pagination .page-link {
  color: #B5872D;
}

.sc-gallery-pagination .page-link:hover,
.sc-gallery-pagination .page-link:focus {
  color: #7a6a51; /* Subtly darker on hover */
  background-color: #f8f9fa;
}

.sc-gallery-pagination .page-item.active .page-link {
  background-color: #B5872D;
  border-color: #B5872D;
  color: #fff;
}

.sc-gallery-pagination .page-item.disabled .page-link {
  color: #cbbba6;
}


/* ---------- Brand Logo Slideshow ---------- */
.sc-brand-logo {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
  width: 100%;
  max-height: 80px;
  object-fit: contain;
}
.sc-brand-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}
.brandSwiper-wrapper {
  position: relative;
  padding: 0 40px;
}
.brandSwiper-wrapper .swiper-button-next,
.brandSwiper-wrapper .swiper-button-prev {
  color: var(--sc-bronze, #B5872D);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 40px;
  height: 40px;
}
.brandSwiper-wrapper .swiper-button-next:after,
.brandSwiper-wrapper .swiper-button-prev:after {
  font-size: 1.2rem;
}


/* ==================================================
   CAMBRIA DESIGNS GRID API
   ================================================== */
#shop-cambria {
  background-color: #fcfcfc;
}

.sc-search-input {
  border-radius: 0;
  border: 1px solid rgba(0,0,0,0.1);
  padding: 1rem 1.5rem;
  font-size: 1rem;
  box-shadow: none;
  transition: all 0.3s ease;
}

.sc-search-input:focus {
  border-color: var(--sc-primary);
  outline: none;
}

#cambria-grid .cambria-card {
  position: relative;
  background: transparent;
  overflow: hidden;
}

.cambria-img-wrapper {
  position: relative;
  width: 100%;
  /* Keep 3:2 ratio */
  padding-top: 66.66%; 
  overflow: hidden;
  background-color: #eee;
}

.cambria-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}

.cambria-main-img {
  z-index: 1;
  opacity: 1;
}

.cambria-hover-img {
  z-index: 2;
  opacity: 0;
}

#cambria-grid .cambria-card:hover .cambria-main-img {
  opacity: 0;
}

#cambria-grid .cambria-card:hover .cambria-hover-img {
  opacity: 1;
}

.cambria-info {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #e5e5e5;
  padding: 0.5rem 1.5rem;
  text-align: center;
  z-index: 3;
  width: auto;
  white-space: nowrap;
}

.cambria-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: #111;
}

#cambria-load-more {
  color: #111113;
  border: 2px solid #111113;
  background-color: transparent;
  transition: all 0.3s ease;
  border-radius: 0;
}

#cambria-load-more:hover {
  color: #fff;
  border-color: #B5872D;
  background-color: #B5872D;
}


  @media (max-width: 1100px) {
    .sc-swiper-nav-btn {
      display: none !important;
    }
  }