/* ============================================================
   Picture Framing Warehouse — Main Stylesheet
   ============================================================ */

/* --- Design Tokens ----------------------------------------- */
:root {
  --ink: #1a1a2e;
  --ink-soft: #16213e;
  --vivid-red: #e63946;
  --vivid-orange: #f77f00;
  --vivid-yellow: #fcbf49;
  --vivid-blue: #1d3557;
  --vivid-cyan: #00b4d8;
  --vivid-magenta: #d63384;
  --gold: #f77f00;
  --gold-light: #fcbf49;
  --gold-glow: rgba(247, 127, 0, 0.12);
  --cream: #fff8f0;
  --warm: #fff0e6;
  --parchment: #ffe8d6;
  --slate: #3d405b;
  --slate-light: #6b6f8a;
  --border: rgba(26, 26, 46, 0.08);
  --border-gold: rgba(247, 127, 0, 0.25);
  --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
  --shadow: 0 16px 48px rgba(26, 26, 46, 0.1);
  --shadow-lg: 0 32px 64px rgba(26, 26, 46, 0.14);
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --font-heading: "DM Serif Display", Georgia, serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --rainbow: linear-gradient(
    90deg,
    var(--vivid-red),
    var(--vivid-orange),
    var(--vivid-yellow),
    var(--vivid-cyan),
    var(--vivid-blue),
    var(--vivid-magenta)
  );
  --grad-gold: linear-gradient(135deg, var(--vivid-red), var(--vivid-orange), var(--vivid-yellow));
  --mesh-bg: radial-gradient(ellipse 60% 50% at 15% 25%, rgba(230, 57, 70, 0.15), transparent),
    radial-gradient(ellipse 50% 60% at 85% 20%, rgba(0, 180, 216, 0.18), transparent),
    radial-gradient(ellipse 40% 50% at 60% 80%, rgba(247, 127, 0, 0.2), transparent),
    radial-gradient(ellipse 45% 40% at 30% 70%, rgba(252, 191, 73, 0.18), transparent),
    radial-gradient(ellipse 35% 35% at 75% 55%, rgba(214, 51, 132, 0.1), transparent),
    linear-gradient(160deg, #fff8f0 0%, #fff0e6 40%, #ffe8d6 100%);
  --mesh-bg-dark: linear-gradient(160deg, #2d2020 0%, #1f1515 50%, #2a1a1a 100%);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.7;
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin-top: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--vivid-red);
}

/* --- Skip Link --------------------------------------------- */
.skip-link {
  position: fixed;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--vivid-red);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 1100;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  color: #fff;
  outline: 3px solid var(--vivid-yellow);
  outline-offset: 2px;
}

/* --- Scroll Progress Bar ----------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--vivid-red), var(--vivid-orange), var(--vivid-yellow));
  z-index: 1060;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* --- Navigation -------------------------------------------- */
.nav-main {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 4px solid transparent;
  border-image: var(--rainbow) 1;
  transition: box-shadow 0.3s ease;
}

.nav-main.scrolled {
  box-shadow: 0 4px 24px rgba(26, 26, 46, 0.1);
}

.nav-link {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--ink) !important;
  transition: color 0.25s ease;
  padding: 0.5rem 0.85rem !important;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--vivid-red) !important;
}

.nav-link.active {
  color: var(--vivid-red) !important;
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--vivid-red), var(--vivid-orange));
  color: #fff !important;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  border: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.3);
  color: #fff !important;
}

.btn-nav-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.25), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-nav-cta:hover::after {
  opacity: 1;
}

.navbar-brand img {
  height: 42px;
  width: auto;
}

/* --- Breadcrumbs ------------------------------------------- */
.bc-wrap {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
  color: var(--slate-light);
  flex-wrap: wrap;
  gap: 0;
}

.breadcrumb-nav li {
  display: flex;
  align-items: center;
}

.breadcrumb-nav li + li::before {
  content: "/";
  margin: 0 0.5rem;
  color: var(--slate-light);
  opacity: 0.5;
}

.breadcrumb-nav a {
  color: var(--slate-light);
  font-weight: 500;
}

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

.breadcrumb-nav .current {
  color: var(--ink);
  font-weight: 600;
}

/* --- Hero Eyebrow ------------------------------------------ */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  padding: .4rem 1rem;
  border-radius: 999px;
  background: var(--gold-glow);
  border: 1px solid var(--border-gold);
  margin-bottom: 1.25rem;
}

/* --- Hero -------------------------------------------------- */
.hero {
  position: relative;
  padding: 9rem 0 5rem;
  overflow-x: clip;
  background: var(--mesh-bg);
}

.hero h1 {
  color: var(--ink);
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  margin-bottom: 1.25rem;
  line-height: 1.08;
  letter-spacing: -.01em;
}

.hero h1 em {
  font-style: italic;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  color: var(--slate);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 34rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  margin-top: 2.5rem;
  text-align: center;
}

.hero-stat .num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--ink);
  line-height: 1.1;
}

.hero-stat .label {
  display: block;
  font-size: .72rem;
  color: var(--slate-light);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: .25rem;
}

/* --- Floating Frame ---------------------------------------- */
.hero-frame {
  position: relative;
  border-radius: 6px;
  box-shadow:
    0 0 0 10px #8B6B3A,
    0 0 0 14px #B8945A,
    0 0 0 18px rgba(0,0,0,.08),
    0 30px 80px -10px rgba(26,26,46,.25);
  overflow: hidden;
  max-width: 480px;
  margin: 0 auto 2rem;
}

.hero-frame img {
  width: 100%;
  display: block;
  border-radius: inherit;
}

@media (min-width: 992px) {
  .hero-frame {
    transform: rotate(1.5deg);
    animation: heroFloat 6s ease-in-out infinite;
    max-width: 520px;
    margin: 0;
  }
}

@keyframes heroFloat {
  0%, 100% { transform: rotate(1.5deg) translateY(0); }
  50% { transform: rotate(1.5deg) translateY(-10px); }
}

/* --- Page Header ------------------------------------------- */
.page-header {
  position: relative;
  padding: 8rem 0 3rem;
  text-align: center;
  overflow: hidden;
  background: var(--mesh-bg);
}

.page-header h1 {
  color: var(--ink);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--slate);
  font-size: 1.05rem;
  max-width: 36rem;
  margin: 0 auto;
}

/* --- Sections ---------------------------------------------- */
.sec {
  padding: 5.5rem 0;
}

.sec-cream {
  background: var(--cream);
}

.sec-dark {
  background: var(--warm);
  color: var(--ink);
}

.sec-dark h2,
.sec-dark h3,
.sec-dark h4 {
  color: var(--ink);
}

.sec-dark p {
  color: var(--slate);
}

.sec-eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.sec-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.sec-dark .sec-title {
  color: var(--ink);
}

.sec-lead {
  font-size: 1.05rem;
  color: var(--slate);
  max-width: 48rem;
  line-height: 1.7;
}

.sec-dark .sec-lead {
  color: var(--slate);
}

.gold-line {
  width: 72px;
  height: 4px;
  background: var(--rainbow);
  border-radius: 999px;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.gold-line-center {
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons ----------------------------------------------- */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--vivid-red), var(--vivid-orange));
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(230, 57, 70, 0.25);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(230, 57, 70, 0.35);
  color: #fff;
}

.btn-gold::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.25), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-gold:hover::after {
  opacity: 1;
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--vivid-blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29, 53, 87, 0.3);
  color: #fff;
}

.btn-outline-warm {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.7rem 1.8rem;
  border-radius: 999px;
  border: 2px solid var(--border-gold);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-outline-warm:hover {
  transform: translateY(-2px);
  background: var(--gold-glow);
  color: var(--vivid-orange);
}

/* --- Cards (card-frame) ------------------------------------ */
.card-frame {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.1), rgba(247, 127, 0, 0.1));
  color: var(--vivid-red);
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.card-frame h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.card-frame p {
  color: var(--slate-light);
  font-size: 0.95rem;
  line-height: 1.65;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 1rem;
  transition: gap 0.25s ease, color 0.25s ease;
}

.card-link:hover {
  gap: 0.6rem;
  color: var(--vivid-red);
}

/* --- Service Cards ----------------------------------------- */
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.service-card-img {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.service-card-img::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(26, 26, 46, 0.4), transparent);
  pointer-events: none;
}

.service-card-body {
  padding: 1.5rem 1.75rem 1.75rem;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--slate-light);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* --- Gallery ----------------------------------------------- */
.gallery-grid {
  column-count: 3;
  column-gap: 1rem;
}

.gallery-item {
  break-inside: avoid;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

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

.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 46, 0.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}

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

.gallery-overlay .caption {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
}

/* --- Gallery Hero V2 (immersive full-bleed) ---------------- */
.gallery-hero-v2 {
  position: relative;
  height: 70vh;
  min-height: 400px;
  max-height: 600px;
  overflow: hidden;
}
.gallery-hero-v2 > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-hero-v2__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,.7) 0%, rgba(26,26,46,.3) 40%, rgba(26,26,46,.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* --- Gallery Filter Tabs ----------------------------------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
}
.gallery-filter-btn {
  background: transparent;
  border: 2px solid var(--border);
  border-radius: 999px;
  padding: .55rem 1.5rem;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--slate);
  cursor: pointer;
  transition: all .25s ease;
}
.gallery-filter-btn:hover {
  border-color: var(--vivid-orange);
  color: var(--vivid-orange);
}
.gallery-filter-btn.active {
  background: linear-gradient(135deg, var(--vivid-red), var(--vivid-orange));
  border-color: transparent;
  color: #fff;
}

/* --- Gallery Grid V2 (CSS Grid masonry-like) --------------- */
.gallery-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  grid-auto-flow: dense;
}
.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .4s ease, box-shadow .4s ease;
}
.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
  min-height: 280px;
}
.gallery-card:hover img {
  transform: scale(1.06);
}
.gallery-card--wide {
  grid-column: span 2;
}
.gallery-card--wide img {
  min-height: 320px;
}
.gallery-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,.85) 0%, rgba(26,26,46,.2) 40%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity .35s ease;
}
.gallery-card:hover .gallery-card__overlay {
  opacity: 1;
}
.gallery-card__tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--vivid-yellow);
  margin-bottom: .4rem;
}
.gallery-card__title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: .25rem;
  line-height: 1.2;
}
.gallery-card__desc {
  color: rgba(255,255,255,.75);
  font-size: .85rem;
  margin: 0;
  line-height: 1.5;
}

/* --- Lightbox ----------------------------------------------- */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.gallery-lightbox.open {
  opacity: 1;
  visibility: visible;
}
.gallery-lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  transform: scale(.92);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.gallery-lightbox.open .gallery-lightbox__img {
  transform: scale(1);
}
.gallery-lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,.1);
  border: 0;
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.gallery-lightbox__close:hover {
  background: rgba(255,255,255,.2);
}
.gallery-lightbox__caption {
  color: rgba(255,255,255,.8);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-top: 1rem;
  text-align: center;
}

/* Gallery responsive */
@media (max-width: 991.98px) {
  .gallery-grid-v2 { grid-template-columns: repeat(2, 1fr); }
  .gallery-card--wide { grid-column: span 2; }
  .gallery-hero-v2 { height: 50vh; min-height: 300px; }
}
@media (max-width: 767.98px) {
  .gallery-grid-v2 { grid-template-columns: repeat(2, 1fr); }
  .gallery-card--wide { grid-column: span 2; }
  .gallery-card img { min-height: 200px; }
  .gallery-card--wide img { min-height: 220px; }
  .gallery-hero-v2 { height: 45vh; min-height: 260px; }
  .gallery-card__overlay { opacity: 1; } /* Always show on touch */
  .gallery-card__title { font-size: 1rem; }
  .gallery-card__desc { font-size: .78rem; }
}
@media (max-width: 575.98px) {
  .gallery-grid-v2 { grid-template-columns: 1fr; }
  .gallery-card--wide { grid-column: span 1; }
  .gallery-card img { min-height: 240px; }
  .gallery-hero-v2 { height: 40vh; min-height: 220px; }
  .gallery-filter-btn { padding: .45rem 1rem; font-size: .8rem; }
}

/* --- Reviews ----------------------------------------------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

.review-card::before {
  content: "\201C";
  position: absolute;
  top: 0.75rem;
  right: 1.25rem;
  font-family: var(--font-heading);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--gold-glow);
  pointer-events: none;
}

.stars {
  color: var(--vivid-orange);
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.review-card p {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.reviewer {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink);
}

.review-featured {
  border-left: 4px solid var(--gold);
  grid-column: span 1;
  background: var(--cream);
}

.review-featured p {
  font-size: 1.05rem;
}

/* Review Carousel (homepage) */
.review-carousel {
  position: relative;
  overflow: hidden;
  margin: 0 -1rem;
  padding: 0 1rem;
}
.review-track {
  display: flex;
  gap: 1.25rem;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.review-slide {
  flex: 0 0 calc(33.333% - .85rem);
  min-width: 0;
}
@media (max-width: 991.98px) {
  .review-slide { flex: 0 0 calc(50% - .65rem); }
}
@media (max-width: 767.98px) {
  .review-slide { flex: 0 0 100%; }
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}
.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
  font-size: 1rem;
  color: var(--ink);
}
.carousel-btn:hover {
  border-color: var(--vivid-red);
  color: var(--vivid-red);
  background: rgba(230,57,70,.06);
}
.carousel-btn:disabled { opacity: .3; cursor: default; }
.carousel-dots {
  display: flex;
  gap: .5rem;
  align-items: center;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: all .3s;
}
.carousel-dot.active {
  background: var(--vivid-red);
  width: 24px;
  border-radius: 999px;
}

/* --- FAQ --------------------------------------------------- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: #fff;
}

.faq-item summary {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  padding: 1.25rem 3rem 1.25rem 1.25rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  color: var(--ink);
  transition: color 0.25s ease, background 0.25s ease;
}

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

.faq-item summary::marker {
  display: none;
  content: "";
}

.faq-item summary::after {
  content: "\276F";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  font-size: 0.9rem;
  color: var(--slate-light);
  transition: transform 0.3s ease, color 0.3s ease;
  font-family: var(--font-body);
}

.faq-item[open] summary {
  color: var(--vivid-red);
  background: rgba(230, 57, 70, 0.04);
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(270deg);
  color: var(--vivid-red);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item .faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-item[open] .faq-answer-wrap {
  grid-template-rows: 1fr;
}

.faq-item .faq-answer-wrap > div {
  overflow: hidden;
}

/* --- Process Steps ----------------------------------------- */
.step {
  text-align: center;
  padding: 1.5rem;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.step h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--slate-light);
  font-size: 0.92rem;
  line-height: 1.6;
}

.steps-row {
  display: flex;
  gap: 1.5rem;
}

.steps-row .step {
  flex: 1;
}

/* --- Hours Table ------------------------------------------- */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.hours-table th,
.hours-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.hours-table th {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hours-table td {
  color: var(--slate);
}

.hours-table .today {
  background: rgba(230, 57, 70, 0.06);
  font-weight: 600;
}

.hours-table .today td {
  color: var(--vivid-red);
}

/* --- Check List -------------------------------------------- */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 2rem;
}
.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: .75rem;
  color: var(--slate);
  font-size: .95rem;
  break-inside: avoid;
}
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--vivid-red);
  font-weight: 700;
}

/* --- Map Frame --------------------------------------------- */
.map-frame {
  border: 0;
  width: 100%;
  min-height: 300px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* --- Quote Form -------------------------------------------- */
.quote-form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate);
  margin-bottom: 0.35rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.quote-form textarea {
  min-height: 100px;
  resize: vertical;
}

.quote-form .form-group {
  margin-bottom: 1.25rem;
}

.quote-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* --- Footer ------------------------------------------------ */
.footer {
  background: var(--mesh-bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}

.footer h4 {
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.25s ease;
}

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

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

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

.footer-links a {
  font-size: 0.9rem;
}

.footer-bar {
  border-top: 2px solid transparent;
  border-image: var(--rainbow) 1;
  padding-top: 2rem;
  padding-bottom: 2rem;
  margin-top: 3rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --- Sticky Bar -------------------------------------------- */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background: rgba(255, 255, 255, 0.97);
  border-top: 2px solid transparent;
  border-image: var(--rainbow) 1;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.sticky-bar .btn-gold {
  font-size: 0.85rem;
  padding: 0.6rem 1.6rem;
}

/* --- Ali Memorial ------------------------------------------ */
.memorial-section {
  border-left: 4px solid var(--vivid-yellow);
  padding: 1.75rem 2rem;
  background: rgba(252, 191, 73, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  animation: memorialGlow 4s ease-in-out infinite;
}

@keyframes memorialGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(252, 191, 73, 0);
  }
  50% {
    box-shadow: 0 0 20px 4px rgba(252, 191, 73, 0.12);
  }
}

/* --- Pull Quote (About page) ------------------------------- */
.pull-quote {
  border-left: 4px solid var(--vivid-red);
  padding: 1.75rem 2rem;
  background: rgba(230, 57, 70, .04);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--slate);
  max-width: 600px;
  margin: 2rem auto;
  text-align: left;
}

/* --- Promise Statement ------------------------------------- */
.promise-text {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  line-height: 1.4;
  color: var(--ink);
  max-width: 550px;
  margin: 0 auto;
}

.memorial-glow {
  border-left: 4px solid var(--vivid-yellow);
  padding: 1.5rem 2rem;
  background: rgba(252, 191, 73, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  animation: memorialGlow 4s ease-in-out infinite;
}

/* --- Showroom Band ----------------------------------------- */
.showroom-band {
  position: relative;
  overflow: hidden;
}
.showroom-band > img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}
.showroom-band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,.6) 0%, rgba(26,26,46,.2) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
}

/* --- 404 Page ---------------------------------------------- */
.page-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--mesh-bg);
}
.page-404 .big-404 {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 15vw, 12rem);
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 1rem;
}

/* --- Misc Missing Styles ----------------------------------- */
.aggregate-rating {
  text-align: center;
  margin-bottom: 2.5rem;
}
.aggregate-rating__score {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--ink);
  line-height: 1;
}
.aggregate-rating__stars {
  font-size: 1.5rem;
  color: var(--vivid-orange);
  letter-spacing: .1em;
  margin: .5rem 0;
}
.aggregate-rating__count {
  font-size: .95rem;
  color: var(--slate);
}
.contact-info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.faq-category { margin-bottom: 2.5rem; }
.faq-list { margin: 0; }
.memorial-content { max-width: 700px; margin: 0 auto; text-align: center; }
.cta-section { text-align: center; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.page-404__code {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 15vw, 12rem);
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: .5rem;
}
.page-404__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: .75rem;
}
.page-404__message {
  color: var(--slate);
  margin-bottom: 2rem;
}

/* --- Animations -------------------------------------------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Hero stagger entrance */
.hero-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.hero-stagger.hero-loaded > * {
  opacity: 1;
  transform: translateY(0);
}
.hero-stagger.hero-loaded > *:nth-child(1) { transition-delay: .1s; }
.hero-stagger.hero-loaded > *:nth-child(2) { transition-delay: .25s; }
.hero-stagger.hero-loaded > *:nth-child(3) { transition-delay: .4s; }
.hero-stagger.hero-loaded > *:nth-child(4) { transition-delay: .55s; }
.hero-stagger.hero-loaded > *:nth-child(5) { transition-delay: .7s; }

.hero-visual-anim {
  opacity: 0;
  transform: translateX(30px) scale(.97);
  transition: opacity .8s ease .3s, transform .8s ease .3s;
}
.hero-visual-anim.hero-loaded {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* Scroll-triggered animation classes — visible by default, animated as enhancement */
.fade-up,
.slide-left,
.slide-right,
.scale-in,
.fade-in-slow {
  opacity: 0;
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up { transform: translateY(24px); }
.slide-left { transform: translateX(-40px); }
.slide-right { transform: translateX(40px); }
.scale-in { transform: scale(.85); }
.fade-in-slow { transform: translateY(0); }

.fade-up.anim-visible,
.slide-left.anim-visible,
.slide-right.anim-visible,
.scale-in.anim-visible,
.fade-in-slow.anim-visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Stagger delays */
.fade-up-d1.anim-visible, .anim-d1.anim-visible { transition-delay: .1s; }
.fade-up-d2.anim-visible, .anim-d2.anim-visible { transition-delay: .2s; }
.fade-up-d3.anim-visible, .anim-d3.anim-visible { transition-delay: .3s; }
.fade-up-d4.anim-visible, .anim-d4.anim-visible { transition-delay: .4s; }

/* Gold line grow */
.gold-line-anim { width: 0; transition: width .6s ease; }
.gold-line-anim.anim-visible { width: 72px; }

/* Eyebrow track-in */
.eyebrow-anim { letter-spacing: .3em; opacity: 0; transition: letter-spacing .5s ease, opacity .5s ease; }
.eyebrow-anim.anim-visible { letter-spacing: .12em; opacity: 1; }

/* FALLBACK: If JS doesn't load, show everything anyway */
/* CSS-only fallback: if JS doesn't add .anim-visible within 3s, show everything anyway */
@keyframes forceVisible {
  to { opacity: 1; transform: none; }
}
.fade-up, .slide-left, .slide-right, .scale-in, .fade-in-slow {
  animation: forceVisible 0s 3s forwards;
}
.hero-stagger > * {
  animation: forceVisible 0s 2s forwards;
}
.hero-visual-anim {
  animation: forceVisible 0s 2s forwards;
}
.gold-line-anim {
  animation: forceVisible 0s 3s forwards;
}
.eyebrow-anim {
  animation: forceVisible 0s 3s forwards;
}
/* When JS adds the class, it cancels the fallback animation via the transition */
.fade-up.anim-visible,
.slide-left.anim-visible,
.slide-right.anim-visible,
.scale-in.anim-visible,
.fade-in-slow.anim-visible,
.hero-stagger.hero-loaded > *,
.hero-visual-anim.hero-loaded {
  animation: none;
}

@media (scripting: none) {
  .fade-up, .slide-left, .slide-right, .scale-in, .fade-in-slow,
  .gold-line-anim, .eyebrow-anim, .hero-stagger > *, .hero-visual-anim {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .gold-line-anim { width: 72px !important; }
}

/* --- Responsive -------------------------------------------- */
/* ── TABLET (< 992px) ────────────────────────────────────── */
@media (max-width: 991.98px) {
  .hero {
    padding: 7.5rem 0 4rem;
    text-align: center;
  }
  .hero-lead { margin-inline: auto; }
  .hero-cta-row { justify-content: center; }
  .hero-frame { max-width: min(70vw, 380px); }
  .sec { padding: 4.5rem 0; }
  .gallery-grid { column-count: 2; }
  .review-grid { grid-template-columns: repeat(2, 1fr); }

  /* Mobile nav panel */
  .navbar-collapse {
    background: #fff;
    box-shadow: 0 20px 40px rgba(26,26,46,.08);
    padding: 1rem 1.5rem 1.5rem;
    border-radius: 0 0 var(--radius) var(--radius);
    margin-top: .5rem;
  }
  .navbar-collapse .nav-link {
    font-size: 1.05rem;
    padding: .85rem 0 !important;
    border-bottom: 1px solid var(--border);
  }
  .navbar-collapse .nav-link.active {
    border-left: 3px solid var(--vivid-red);
    padding-left: .75rem !important;
  }
  .navbar-collapse .btn-nav-cta {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
  }
  .navbar-toggler {
    border: 1px solid var(--border);
    border-radius: .5rem;
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* ── MOBILE (< 768px) ───────────────────────────────────── */
@media (max-width: 767.98px) {
  .sec { padding: 3.5rem 0; }
  .hero {
    padding: 6.5rem 0 3rem;
  }
  .hero h1 { font-size: clamp(2rem, 7vw, 2.6rem); }
  .hero-lead { font-size: 1rem; }
  .hero-frame { max-width: min(85vw, 360px); }
  .hero-stat .num { font-size: 1.6rem; }
  .hero-stats { gap: 1rem; }
  .hero-cta-row {
    flex-direction: column;
    gap: .75rem;
  }
  .hero-cta-row .btn {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
  }
  .page-header { padding: 6.5rem 0 2rem; }
  .page-header h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .sec-title { font-size: clamp(1.5rem, 5vw, 2.2rem); }

  .gallery-grid { column-count: 2; }
  .review-grid { grid-template-columns: 1fr; }
  .review-featured { grid-column: span 1; }
  .showroom-band > img { height: 320px; }
  .showroom-band-overlay { padding-bottom: 1.75rem; }

  .quote-form input,
  .quote-form select,
  .quote-form textarea {
    font-size: 16px;
    min-height: 48px;
  }
  .btn-gold, .btn-dark, .btn-outline-warm {
    min-height: 48px;
    padding: .75rem 1.5rem;
  }

  /* Sticky bar bottom padding */
  body { padding-bottom: 72px; }
  .footer { padding-bottom: 5rem; }
}

/* ── NARROW MOBILE (< 576px) ────────────────────────────── */
@media (max-width: 575.98px) {
  .sec { padding: 2.75rem 0; }
  .container { padding-inline: 1.25rem; }
  .hero { padding: 5.5rem 0 2.5rem; }
  .hero h1 { font-size: 2rem; }
  .hero-lead { font-size: .95rem; }
  .hero-frame { max-width: min(88vw, 320px); }
  .hero-stat .num { font-size: 1.4rem; }
  .hero-eyebrow { font-size: .72rem; padding: .35rem .85rem; }
  .page-header { padding: 5.5rem 0 1.5rem; }
  .page-header h1 { font-size: 1.6rem; }

  .card-frame { padding: 1.5rem; border-radius: 1.25rem; }
  .service-card-body { padding: 1.25rem; }
  .service-card-img { height: 180px; }
  .review-card { padding: 1.5rem; }
  .gallery-grid { column-count: 1; }
  .faq-item summary { font-size: 1rem; padding: 1rem 2.5rem 1rem 1rem; }
  .memorial-section { padding: 1.25rem; }
  .sec-eyebrow { font-size: .7rem; }
}

/* --- Accessibility ----------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .hero-frame {
    animation: none;
  }

  .memorial-section {
    animation: none;
  }
}

/* --- Print ------------------------------------------------- */
@media print {
  .nav-main,
  .scroll-progress,
  .footer,
  .sticky-bar,
  .skip-link {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
    background: #fff !important;
    color: #000 !important;
  }

  .hero h1,
  .hero-lead {
    color: #000 !important;
  }

  .hero h1 em {
    -webkit-text-fill-color: var(--vivid-red);
  }

  .sec-dark {
    background: #fff !important;
    color: #000 !important;
  }

  .sec-dark h2,
  .sec-dark h3,
  .sec-dark h4,
  .sec-dark p {
    color: #000 !important;
  }

  .page-header {
    background: #fff !important;
    padding: 1rem 0;
  }

  .page-header h1,
  .page-header p {
    color: #000 !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  .container {
    max-width: 100% !important;
    padding: 0 !important;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }

  .btn-gold,
  .btn-dark,
  .btn-outline-warm,
  .btn-nav-cta {
    border: 1px solid #000;
    background: none !important;
    color: #000 !important;
    box-shadow: none !important;
  }
}

/* Fix: framework utility class made the nav menu invisible */
.nav-main .navbar-collapse.collapse { visibility: visible; }
