/* ===================================================================
   SH&CO. Building & Development — styles.css
   Plain CSS, no framework. Edit design tokens in :root to rebrand.
   =================================================================== */

:root {
  --color-bg: hsl(220 20% 97%);
  --color-fg: hsl(220 30% 10%);
  --color-muted-fg: hsl(220 12% 42%);
  --color-card: hsl(0 0% 100%);
  --color-border: hsl(220 15% 88%);

  /* Brand palette — gold + warm near-black, matched to the SH&CO. logo */
  --color-primary: hsl(30 18% 14%);           /* warm near-black */
  --color-primary-dark: hsl(30 22% 7%);       /* deep black */
  --color-primary-light: hsl(38 35% 95%);     /* cream */
  --color-primary-fg: hsl(0 0% 100%);

  --color-accent: hsl(40 78% 48%);            /* rich gold */
  --color-accent-dark: hsl(36 78% 38%);       /* deeper gold */
  --color-accent-light: hsl(42 85% 62%);      /* soft gold */
  --color-accent-fg: hsl(30 30% 10%);         /* dark text on gold */

  --color-navy-900: hsl(30 22% 7%);           /* deep charcoal */
  --color-navy-800: hsl(28 18% 14%);          /* warm charcoal */

  --radius: 0.75rem;
  --container-max: 80rem;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-heading: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --shadow-sm: 0 1px 3px 0 hsl(220 30% 10% / 0.04);
  --shadow-md: 0 4px 8px -2px hsl(220 30% 10% / 0.08), 0 2px 4px -2px hsl(220 30% 10% / 0.04);
  --shadow-lg: 0 12px 28px -6px hsl(30 18% 14% / 0.18), 0 4px 8px -4px hsl(220 30% 10% / 0.06);
  --shadow-xl: 0 24px 50px -12px hsl(30 18% 14% / 0.22);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-fg);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

/* ---------- layout helpers ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ---------- scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- top bar (vendor announcement) ---------- */
.top-bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 51;
  background: linear-gradient(90deg, hsl(30 22% 7%) 0%, hsl(28 18% 14%) 100%);
  color: white;
  font-size: 0.8125rem;
}
.top-bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 2.25rem;
}
.top-bar-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(0 0% 100% / 0.85);
  min-width: 0;
}
.top-bar-text strong {
  color: white;
  font-weight: 700;
  white-space: nowrap;
}
.top-bar-cta-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 600px) {
  .top-bar-cta-text { display: none; }
}
.top-bar-dot {
  display: inline-block;
  width: 0.5rem; height: 0.5rem;
  border-radius: 999px;
  background: var(--color-accent);
  flex-shrink: 0;
  box-shadow: 0 0 8px hsl(40 78% 48% / 0.7);
}
.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--color-accent);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.top-bar-link:hover { color: hsl(42 90% 65%); }
.top-bar-link svg {
  width: 0.95rem; height: 0.95rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.top-bar-link:hover svg { transform: translateX(2px); }

/* Push the header down to make room for the top bar */
.site-header { top: 2.25rem !important; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: hsl(0 0% 100% / 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid hsl(0 0% 100% / 0.4);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.site-header.scrolled {
  background: hsl(0 0% 100% / 0.9);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}
.site-header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-logo {
  height: 3.75rem;
  width: auto;
  display: block;
  object-fit: contain;
  transition: opacity 0.3s ease;
}
.brand-logo.processing { opacity: 0; }
@media (max-width: 640px) {
  .brand-logo { height: 3rem; }
}
.brand-name {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}
.brand-tagline {
  margin-top: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: hsl(30 30% 25%);
}
.nav {
  display: none;
  align-items: center;
  gap: 2.25rem;
}
@media (min-width: 900px) { .nav { display: flex; } }
.nav a {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 600;
  color: hsl(220 30% 10% / 0.85);
  transition: color 0.2s ease;
  padding: 0.25rem 0;
}
.nav a:hover { color: var(--color-primary); }
.nav a.active { color: var(--color-primary); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.25rem;
  height: 2px;
  background: var(--color-primary);
  border-radius: 1px;
}
.header-cta {
  display: none;
  align-items: center;
  gap: 1.25rem;
}
@media (min-width: 900px) { .header-cta { display: flex; } }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--color-fg);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.header-phone svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  color: var(--color-accent);
}
.header-phone-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.15;
}
.header-phone-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-muted-fg);
}
.header-phone-number {
  font-size: 0.95rem;
  font-weight: 700;
}
.header-phone:hover { color: var(--color-primary); }
.header-phone:hover .header-phone-label { color: var(--color-primary); }
.menu-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.5rem;
  color: var(--color-fg);
}
.menu-toggle:hover { background: hsl(220 15% 92%); }
@media (min-width: 900px) { .menu-toggle { display: none; } }
.mobile-nav {
  display: none;
  padding: 0.5rem 0 1rem;
  border-top: 1px solid var(--color-border);
  flex-direction: column;
  gap: 0.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 0.6rem 0.6rem;
  border-radius: 0.5rem;
  font-weight: 500;
  color: var(--color-fg);
}
.mobile-nav a:hover { background: hsl(220 15% 92%); }
.mobile-nav a.active { background: var(--color-primary-light); color: var(--color-primary); }
.mobile-nav .mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: 0.625rem;
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-accent-fg);
  box-shadow: var(--shadow-lg);
}
.btn-primary:hover {
  background: hsl(38 92% 48%);
  transform: translateY(-2px);
}
.btn-ghost {
  background: hsl(0 0% 100% / 0.1);
  color: white;
  border: 1px solid hsl(0 0% 100% / 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: hsl(0 0% 100% / 0.2); }
.btn-outline {
  background: var(--color-card);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
}
.btn-outline:hover { background: var(--color-primary-light); }
.btn-navy {
  background: var(--color-primary);
  color: var(--color-primary-fg);
  box-shadow: var(--shadow-md);
}
.btn-navy:hover { background: var(--color-primary-dark); }
.btn-direct {
  background: hsl(30 22% 7% / 0.65);
  color: white;
  border: 1px solid hsl(40 78% 48% / 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 1.4rem;
  text-align: left;
  align-items: center;
}
.btn-direct:hover {
  background: hsl(30 22% 12% / 0.8);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}
.btn-direct svg {
  width: 1.4rem; height: 1.4rem;
  flex-shrink: 0;
  color: var(--color-accent);
}
.btn-direct-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.btn-direct-primary {
  font-weight: 700;
  font-size: 0.95rem;
}
.btn-direct-secondary {
  margin-top: 0.15rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}
.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  border-radius: 0.5rem;
}
.btn svg {
  width: 1.125rem; height: 1.125rem;
  flex-shrink: 0;
}
.btn-sm svg { width: 1rem; height: 1rem; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  padding: 9rem 0 5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide.active { opacity: 1; }
/* Caption strip for the current slide — top-right of hero, just under the header */
.hero-caption {
  position: absolute;
  top: 7.5rem;
  right: 1.5rem;
  z-index: 2;
  pointer-events: none;
  display: flex; justify-content: flex-end;
}
@media (max-width: 700px) {
  .hero-caption {
    top: auto;
    bottom: 1.25rem;
    left: 1rem;
    right: 1rem;
    justify-content: center;
  }
}
.hero-caption {
  /* JS sets --caption-min-width from the longest project title at runtime */
}
.hero-caption-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1.4rem;
  border-radius: 0.875rem;
  background: hsl(30 22% 7% / 0.65);
  border: 1px solid hsl(40 78% 48% / 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 28px -8px hsl(0 0% 0% / 0.35);
  color: white;
  pointer-events: auto;
  animation: hero-caption-fade 3s ease-in-out;
  /* Fixed min-width derived from longest entry, capped to fit the viewport */
  min-width: min(var(--caption-min-width, 22rem), calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
}
.hero-caption-pill svg {
  width: 1.4rem; height: 1.4rem;
  flex-shrink: 0;
  color: var(--color-accent);
}
.hero-caption-text {
  display: flex; flex-direction: column;
  line-height: 1.25;
  min-width: 0;
  flex: 1;
}
.hero-caption-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0625rem;
  /* No truncation — let it wrap if a title is unusually long */
  word-break: break-word;
}
.hero-caption-meta {
  margin-top: 0.15rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}
@keyframes hero-caption-fade {
  0%   { opacity: 0; transform: translateY(8px); }
  20%  { opacity: 1; transform: translateY(0); }
  85%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 1; transform: translateY(0); }
}
/* Fallback if slideshow JS hasn't run yet */
.hero-bg:not(:has(.hero-slide)) {
  background-image: url("../images/10-mordche-scher-blvd.png");
  background-size: cover; background-position: center;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(
    180deg,
    hsl(30 22% 7% / 0.55) 0%,
    hsl(30 22% 7% / 0.30) 45%,
    hsl(30 22% 7% / 0.75) 100%
  );
}
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  border: 1px solid hsl(0 0% 100% / 0.25);
  background: hsl(0 0% 100% / 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: hsl(0 0% 100% / 0.9);
}
.eyebrow-pill::before {
  content: "";
  width: 0.35rem; height: 0.35rem;
  border-radius: 50%;
  background: var(--color-accent);
}
.eyebrow-pill-lg {
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
}
.eyebrow-pill-gold {
  border-color: hsl(40 78% 48% / 0.6);
  background: hsl(40 78% 48% / 0.18);
  color: hsl(42 90% 78%);
}
.eyebrow-pill-gold::before { background: hsl(42 90% 70%); }
.hero-eyebrows {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
}
.hero h1 {
  margin-top: 1.5rem;
  font-size: clamp(2.25rem, 6vw, 4.25rem);
}
.hero .gradient-word {
  background: linear-gradient(135deg, hsl(42 85% 62%) 0%, hsl(38 92% 55%) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  margin-top: 1.5rem;
  max-width: 40rem;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: hsl(0 0% 100% / 0.85);
}
.hero-ctas {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 1rem;
}
.hero-ctas .btn { min-height: 4rem; }

/* ---------- page hero (non-home pages) ---------- */
.page-hero {
  background: linear-gradient(180deg, hsl(28 18% 14%) 0%, hsl(30 22% 8%) 100%);
  color: white;
  padding: 9rem 0 6rem;
}
.page-hero h1 {
  margin-top: 1.5rem;
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  color: white;
}
.page-hero p {
  margin-top: 1.5rem;
  max-width: 38rem;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: hsl(0 0% 100% / 0.8);
}
.page-hero .eyebrow-pill {
  border-color: hsl(38 92% 52% / 0.45);
  background: hsl(38 92% 52% / 0.12);
  color: var(--color-accent);
}
.page-hero .eyebrow-pill::before { display: none; }

/* ---------- stats ---------- */
.stats-section {
  position: relative;
  margin-top: -8rem;
  z-index: 20;
  padding-bottom: 3rem;
}
.stats-card {
  background: hsl(0 0% 100% / 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid hsl(0 0% 100% / 0.6);
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 700px) {
  .stats-card { grid-template-columns: repeat(3, 1fr); padding: 3rem; }
  .stats-section { margin-top: -9rem; }
}
.stat { text-align: center; }
.stat-value {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, hsl(38 95% 58%) 0%, hsl(28 75% 40%) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label {
  margin-top: 0.6rem;
  font-size: 0.875rem;
  color: var(--color-muted-fg);
  font-weight: 500;
}

/* ---------- sections ---------- */
.section {
  padding: 6rem 0;
}
@media (min-width: 768px) { .section { padding: 8rem 0; } }
.section-bg-muted { background: hsl(220 12% 92% / 0.4); }
.section-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-accent);
}
.section-title {
  margin-top: 0.75rem;
  font-size: clamp(2rem, 3.5vw, 3rem);
}
.section-subtitle {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--color-muted-fg);
  max-width: 40rem;
}
.section-head-center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ---------- service cards ---------- */
.services-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  height: 100%;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.service-icon {
  width: 3.5rem; height: 3.5rem;
  border-radius: 0.875rem;
  background: var(--color-primary);
  color: var(--color-accent);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px -4px hsl(40 78% 48% / 0.4);
}
.service-icon svg { width: 1.5rem; height: 1.5rem; }
.service-card h3 { margin-top: 1.5rem; font-size: 1.25rem; }
.service-card p {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-muted-fg);
}
.service-card-detailed { padding: 2.25rem; }
.service-card-detailed h3 { font-size: 1.5rem; }
.service-card-detailed ul { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.service-card-detailed li {
  display: flex; gap: 0.75rem; align-items: flex-start;
  font-size: 0.9375rem;
}
.service-card-detailed .check {
  flex-shrink: 0;
  width: 1.25rem; height: 1.25rem;
  border-radius: 999px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  margin-top: 0.15rem;
}
.service-card-detailed .check svg { width: 0.75rem; height: 0.75rem; }
.services-grid-2col {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .services-grid-2col { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }

/* ---------- portfolio cards with carousel ---------- */
.portfolio-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
@media (min-width: 1100px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }
.project-card {
  height: 100%;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
}
.project-card:hover { box-shadow: var(--shadow-xl); }
.carousel {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: hsl(220 12% 92%);
}
.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  touch-action: pan-y;
}
.carousel-slide {
  flex: 0 0 100%;
  width: 100%; height: 100%;
  overflow: hidden;
}
.carousel-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  user-select: none;
  -webkit-user-drag: none;
}
.project-card:hover .carousel-slide img { transform: scale(1.04); }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem; height: 2.5rem;
  border-radius: 999px;
  background: hsl(0 0% 100% / 0.92);
  color: var(--color-fg);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease;
  z-index: 2;
}
.carousel-btn svg { width: 1.25rem; height: 1.25rem; }
.carousel-btn:hover { background: white; }
.carousel-btn.prev { left: 0.75rem; }
.carousel-btn.next { right: 0.75rem; }
.carousel:hover .carousel-btn,
.carousel:focus-within .carousel-btn { opacity: 1; }
@media (hover: none) {
  .carousel-btn { opacity: 0.9; }
}
.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}
.carousel-dots button {
  width: 0.5rem; height: 0.5rem;
  border-radius: 999px;
  background: hsl(0 0% 100% / 0.55);
  transition: width 0.25s ease, background 0.2s ease;
}
.carousel-dots button.active {
  width: 1.25rem;
  background: white;
}
.carousel.single .carousel-btn,
.carousel.single .carousel-dots { display: none; }
.carousel-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, hsl(220 20% 94%), hsl(220 15% 88%));
  color: var(--color-muted-fg);
}
.carousel-placeholder .placeholder-inner {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; font-weight: 500;
}
.carousel-placeholder svg { width: 2.5rem; height: 2.5rem; opacity: 0.5; }
.project-badges {
  position: absolute;
  top: 1rem; left: 1rem; right: 1rem;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 2;
}
.badge-sqft {
  background: var(--color-accent);
  color: var(--color-accent-fg);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.badge-year {
  background: hsl(0 0% 100% / 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-fg);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.project-body { padding: 1.5rem; }
.project-category {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-primary);
}
.project-body h3 { margin-top: 0.5rem; font-size: 1.25rem; }
.project-body p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-muted-fg);
}

/* ---------- why us ---------- */
.whyus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .whyus-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
}
.whyus-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.whyus-list li {
  display: flex; gap: 0.75rem; align-items: flex-start;
  font-size: 0.9375rem;
}
.whyus-list .check {
  flex-shrink: 0;
  width: 1.5rem; height: 1.5rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-primary-fg);
  display: flex; align-items: center; justify-content: center;
  margin-top: 0.1rem;
}
.whyus-list .check svg { width: 0.875rem; height: 0.875rem; }
.whyus-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .whyus-images { gap: 1.25rem; } }
.whyus-images > div {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
}
.whyus-images > div:nth-child(2),
.whyus-images > div:nth-child(3) { margin-top: 2rem; }
.whyus-images img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ---------- navy gradient section (testimonials, cta, page-hero) ---------- */
.bg-navy {
  background: linear-gradient(180deg, hsl(28 18% 14%) 0%, hsl(30 22% 8%) 100%);
  color: white;
}
.bg-navy .section-title { color: white; }

/* ---------- testimonials ---------- */
.testimonials-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.testimonial {
  height: 100%;
  background: hsl(0 0% 100% / 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid hsl(0 0% 100% / 0.2);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.testimonial .stars {
  display: flex;
  gap: 0.2rem;
  color: var(--color-accent);
}
.testimonial .stars svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }
.testimonial .quote-icon { color: var(--color-accent); margin-top: 1rem; }
.testimonial .quote-icon svg { width: 2rem; height: 2rem; }
.testimonial blockquote {
  margin-top: 1rem;
  color: hsl(0 0% 100% / 0.9);
  line-height: 1.65;
}
.testimonial footer {
  margin-top: 2rem;
  color: white;
}
.testimonial .author-name {
  font-family: var(--font-heading);
  font-weight: 700;
}
.testimonial .author-role {
  font-size: 0.875rem;
  color: hsl(0 0% 100% / 0.7);
}

/* ---------- cta section ---------- */
.cta-inner {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}
.cta-inner h2 {
  color: white;
  font-size: clamp(2rem, 4vw, 3.5rem);
}
.cta-inner p {
  margin-top: 1.5rem;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: hsl(0 0% 100% / 0.8);
}
.cta-inner .btn { margin-top: 2.5rem; }

/* ---------- contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.3fr; gap: 3.5rem; } }
.contact-info h2 { font-size: 1.875rem; }
@media (min-width: 768px) { .contact-info h2 { font-size: 2.25rem; } }
.contact-list {
  margin-top: 2rem;
  display: flex; flex-direction: column; gap: 1.5rem;
}
.contact-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  color: inherit;
}
.contact-block:hover .contact-value { color: var(--color-primary); }
.contact-block .icon {
  flex-shrink: 0;
  width: 3rem; height: 3rem;
  border-radius: 0.875rem;
  background: var(--color-primary);
  color: var(--color-primary-fg);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px -3px hsl(40 78% 48% / 0.4);
}
.contact-block .icon svg { width: 1.125rem; height: 1.125rem; }
.contact-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-muted-fg);
}
.contact-value {
  margin-top: 0.25rem;
  font-weight: 600;
  color: var(--color-fg);
  transition: color 0.2s ease;
}
.direct-line {
  margin-top: 2.5rem;
  border-radius: 1rem;
  padding: 1.75rem;
  color: white;
  box-shadow: var(--shadow-lg);
}
.direct-line h3 {
  font-size: 1.25rem;
  color: white;
}
.direct-line p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: hsl(0 0% 100% / 0.8);
}
.direct-line .phone {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-accent);
}
.direct-line .phone:hover { text-decoration: underline; }

.contact-form-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-xl);
}
@media (min-width: 768px) { .contact-form-card { padding: 2.5rem; } }
.contact-form-card h2 { font-size: 1.5rem; }
@media (min-width: 768px) { .contact-form-card h2 { font-size: 1.875rem; } }
form.estimate-form {
  margin-top: 2rem;
  display: flex; flex-direction: column; gap: 1.25rem;
}
.form-section-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-muted-fg);
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}
.form-section-title:first-of-type { border-top: 0; padding-top: 0; }
input[type="file"] {
  font-family: inherit;
  padding: 0.65rem;
  background: var(--color-bg);
  border: 1px dashed var(--color-border);
  border-radius: 0.5rem;
  cursor: pointer;
}
input[type="file"]:hover { border-color: var(--color-accent); }
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-size: 0.875rem;
  font-weight: 600;
}
.field label .req { color: var(--color-accent); }
.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  background: var(--color-bg);
  color: var(--color-fg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px hsl(30 18% 14% / 0.18);
}
.field textarea { resize: vertical; min-height: 7rem; }
.form-hint {
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-muted-fg);
}
.form-success {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-radius: 0.75rem;
  background: var(--color-primary-light);
  border: 1px solid hsl(40 78% 48% / 0.3);
  text-align: center;
}
.form-success .icon {
  width: 2.5rem; height: 2.5rem;
  margin: 0 auto;
  color: var(--color-primary);
}
.form-success .title {
  margin-top: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
}
.form-success p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-muted-fg);
}
.form-success a { color: var(--color-primary); font-weight: 600; text-decoration: underline; }

/* ---------- footer ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--color-navy-900) 0%, var(--color-navy-800) 100%);
  color: hsl(0 0% 100% / 0.8);
  padding: 4rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.site-footer .brand-name { color: white; }
.site-footer .brand-tagline { color: hsl(0 0% 100% / 0.6); }
.footer-about {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: hsl(0 0% 100% / 0.65);
  max-width: 22rem;
  line-height: 1.65;
}
.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}
.footer-col ul {
  margin-top: 1.25rem;
  display: flex; flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9375rem;
}
.footer-col a {
  color: hsl(0 0% 100% / 0.7);
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--color-accent); }
.footer-contact li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: hsl(0 0% 100% / 0.7);
}
.footer-contact svg {
  flex-shrink: 0;
  width: 1rem; height: 1rem;
  margin-top: 0.2rem;
  color: var(--color-accent);
}
.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(0 0% 100% / 0.1);
  text-align: center;
  font-size: 0.75rem;
  color: hsl(0 0% 100% / 0.5);
}

/* ---------- mission section ---------- */
.section-mission {
  background: linear-gradient(180deg, hsl(30 22% 7%) 0%, hsl(28 18% 14%) 100%);
  color: white;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.section-mission::before,
.section-mission::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.22;
  pointer-events: none;
}
.section-mission::before {
  background: hsl(40 78% 48%);
  top: -120px; left: -120px;
}
.section-mission::after {
  background: hsl(36 78% 38%);
  bottom: -160px; right: -120px;
}
.mission-inner {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem;
}
.mission-quote-mark {
  color: var(--color-accent);
  display: inline-flex;
  margin-bottom: 1.5rem;
}
.mission-quote-mark svg { width: 3rem; height: 3rem; }
.mission-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.35;
  color: white;
  letter-spacing: -0.01em;
}
.mission-author { margin-top: 2.5rem; }
.mission-name {
  font-family: "Plus Jakarta Sans", serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}
.mission-title {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: hsl(0 0% 100% / 0.6);
}

/* ---------- utility ---------- */
.center-row { display: flex; justify-content: center; margin-top: 3rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-14 { margin-top: 3.5rem; }
