/* A&C Upholstery - public site styles.
   Brand colors come from Admin > Settings and are injected as --brand / --accent / --dark. */

:root {
  --brand: #1048a0;
  --accent: #f0b429;
  --dark: #0b1b33;
  --cream: #f6f1ea;
  --text: #2b2420;
  --muted: #6f655e;
  --line: #e6ddd2;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(31, 26, 23, 0.06), 0 8px 24px rgba(31, 26, 23, 0.08);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --header-h: 76px;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brand);
}

h1,
h2,
h3,
.h1 {
  font-family: var(--serif);
  line-height: 1.15;
  color: var(--dark);
  margin: 0 0 0.5em;
  font-weight: 700;
  text-wrap: balance;
}

h1,
.h1 {
  font-size: clamp(2.3rem, 5.5vw, 4rem);
}
h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
}
h3 {
  font-size: 1.3rem;
}

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.container.narrow {
  max-width: 820px;
}
.text-center {
  text-align: center;
}
.muted {
  color: var(--muted);
}
.pre span,
.pre {
  white-space: pre-line;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  background: var(--white);
  padding: 8px 14px;
  border-radius: 6px;
}

.icon {
  flex-shrink: 0;
  vertical-align: middle;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  font-family: var(--sans);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  line-height: 1.2;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--brand);
  color: var(--white);
}
.btn-primary:hover {
  background: color-mix(in srgb, var(--brand) 85%, black);
}
.btn-secondary {
  background: transparent;
  color: currentColor;
  border-color: currentColor;
}
.btn-light {
  background: var(--white);
  color: var(--dark);
}
.btn-light:hover {
  background: var(--cream);
}
.btn-sm {
  padding: 10px 18px;
  font-size: 0.95rem;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn[disabled] {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

/* ---------- Header ---------- */

.preview-banner {
  background: #2563eb;
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px;
}
.announcement {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  font-size: 0.9rem;
  padding: 8px 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--dark);
  min-width: 0;
}
.logo img {
  max-height: 56px;
  width: auto;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}
.logo-text strong {
  font-family: var(--serif);
  font-size: 1.35rem;
}
.logo-text small {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav ul a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
}
.site-nav ul a:hover {
  color: var(--brand);
}
.site-nav ul a[aria-current='page'] {
  color: var(--brand);
  box-shadow: inset 0 -2px 0 var(--accent);
  border-radius: 0;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  color: var(--dark);
  cursor: pointer;
}

@media (max-width: 1040px) {
  .nav-phone {
    display: none;
  }
}

@media (max-width: 880px) {
  :root {
    --header-h: 66px;
  }
  .nav-toggle {
    display: block;
  }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    display: none;
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav ul {
    flex-direction: column;
  }
  .site-nav ul a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1.05rem;
  }
  .site-nav ul a[aria-current='page'] {
    box-shadow: none;
  }
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 16px;
  }
  .nav-phone {
    display: inline-flex;
    justify-content: center;
    padding: 10px;
  }
  .logo-text small {
    display: none;
  }
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(56px, 8vw, 104px) 0;
}
.section-tight {
  padding: 40px 0;
}
.bg-white {
  background: var(--white);
}
.bg-cream {
  background: var(--cream);
}
.bg-dark {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.85);
}
.bg-brand {
  background: var(--brand);
  color: rgba(255, 255, 255, 0.92);
}
.bg-dark h2,
.bg-dark h3,
.bg-brand h2,
.bg-brand h3 {
  color: var(--white);
}
.bg-dark a:not(.btn),
.bg-brand a:not(.btn) {
  color: var(--white);
}
.bg-dark .eyebrow,
.bg-brand .eyebrow {
  color: var(--accent);
}
.bg-brand .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 12px;
}
.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.lead {
  font-size: 1.15rem;
  color: var(--muted);
}
.bg-dark .lead,
.bg-brand .lead {
  color: inherit;
}

.prose > :last-child {
  margin-bottom: 0;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
  margin: 0 0 1em;
}
.prose ul {
  list-style: none;
  padding-left: 0;
}
.prose ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 8px;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E")
    center/12px no-repeat;
}

/* Image placeholder - shown until a photo is uploaded in the admin. */
.img-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  width: 100%;
  color: color-mix(in srgb, var(--brand) 45%, transparent);
  background-color: color-mix(in srgb, var(--accent) 12%, var(--cream));
  background-image: repeating-linear-gradient(
      45deg,
      transparent 0 14px,
      color-mix(in srgb, var(--accent) 10%, transparent) 14px 15px
    ),
    repeating-linear-gradient(-45deg, transparent 0 14px, color-mix(in srgb, var(--accent) 10%, transparent) 14px 15px);
}
.rounded {
  border-radius: var(--radius);
  overflow: hidden;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  color: var(--white);
  background-color: var(--dark);
  background-image: radial-gradient(ellipse at 85% 10%, color-mix(in srgb, var(--brand) 70%, transparent), transparent 60%),
    radial-gradient(ellipse at 0% 100%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 55%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 9px);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero.has-image::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(20, 16, 14, 0.85) 0%, rgba(20, 16, 14, 0.55) 55%, rgba(20, 16, 14, 0.25) 100%);
}
.hero-inner {
  position: relative;
}
.hero h1,
.hero .h1 {
  color: var(--white);
  max-width: 820px;
}
.hero .eyebrow {
  color: var(--accent);
}
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 640px;
  color: rgba(255, 255, 255, 0.86);
}
.hero-large {
  padding: clamp(96px, 14vw, 180px) 0;
  min-height: min(82vh, 760px);
  display: flex;
  align-items: center;
}
.hero-medium {
  padding: clamp(72px, 10vw, 128px) 0;
}
.hero-small {
  padding: clamp(56px, 8vw, 96px) 0;
}
.hero-small h1,
.hero-small .h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}

/* ---------- Split (image + text) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.split-reverse .split-media {
  order: -1;
}
.split-media img,
.split-media .img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.split-media.fit-contain img {
  object-fit: contain;
  box-shadow: none;
  max-height: 460px;
}
@media (max-width: 820px) {
  .split {
    grid-template-columns: 1fr;
  }
  .split-reverse .split-media {
    order: 0;
  }
}

/* ---------- Cards ---------- */

.grid {
  display: grid;
  gap: 24px;
}
.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 960px) {
  .cols-3,
  .cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .cols-2,
  .cols-3,
  .cols-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.bg-cream .card {
  border-color: transparent;
}
.bg-dark .card,
.bg-brand .card {
  color: var(--text);
}
.card-linked:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.card .img-placeholder {
  aspect-ratio: 16 / 10;
}
.card-num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  padding: 28px 28px 0;
  line-height: 1;
}
.card-body {
  padding: 20px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-body h3 {
  margin-bottom: 10px;
}
.card-body p {
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
}
.card-link {
  margin-top: auto;
  padding-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--brand);
  font-size: 0.95rem;
}

/* ---------- Steps ---------- */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  counter-reset: step;
}
.steps li {
  position: relative;
}
.step-num {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.steps p {
  color: var(--muted);
  margin: 0;
}
.bg-dark .steps p,
.bg-brand .steps p {
  color: inherit;
}

/* ---------- Stats ---------- */

.stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 24px;
  text-align: center;
}
.stats strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--accent);
  line-height: 1.1;
}
.bg-brand .stats strong {
  color: var(--white);
}
.stats span {
  font-size: 0.95rem;
}

/* ---------- Gallery ---------- */

.gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.gallery a {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
}
.gallery img,
.gallery .img-placeholder {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.4s ease;
}
.gallery a:hover img {
  transform: scale(1.04);
}
.gallery .caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 14px 12px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 8, 7, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox-overlay img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 6px;
}
.lightbox-overlay p {
  color: var(--white);
  margin-top: 12px;
}

/* ---------- Before / after ---------- */

.ba-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: 32px;
}
.ba {
  margin: 0;
}
.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ba-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.ba-img img,
.ba-img .img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.ba-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(31, 26, 23, 0.85);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.ba-tag.ba-after {
  background: var(--brand);
}
.ba figcaption {
  margin-top: 12px;
  font-weight: 600;
  text-align: center;
}

/* ---------- Testimonials ---------- */

.testimonial {
  margin: 0;
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  color: var(--text);
}
.bg-cream .testimonial {
  border-color: transparent;
  box-shadow: var(--shadow);
}
.stars {
  display: flex;
  gap: 2px;
  color: var(--accent);
  margin-bottom: 14px;
}
.testimonial blockquote {
  margin: 0 0 20px;
  font-size: 1.05rem;
  flex: 1;
}
.testimonial figcaption strong {
  display: block;
  color: var(--dark);
}
.testimonial figcaption span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- FAQ ---------- */

.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 40px 22px 0;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  color: var(--dark);
}
.bg-dark .faq summary,
.bg-brand .faq summary {
  color: var(--white);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--brand);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq details .prose {
  padding-bottom: 22px;
  color: var(--muted);
}

/* ---------- CTA ---------- */

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta h2 {
  margin-bottom: 8px;
}
.cta p {
  margin: 0;
  font-size: 1.1rem;
}
.cta .btn-row {
  margin-top: 0;
}

/* ---------- Forms ---------- */

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 900px) {
  .form-layout {
    grid-template-columns: 1fr;
  }
}
.form-layout .section-head {
  margin-bottom: 32px;
}
.lead-form {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 36px);
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid .full {
  grid-column: 1 / -1;
}
@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
.lead-form label span {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid #d6cbbf;
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
}
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent);
}
.file-field input {
  padding: 10px;
  background: var(--cream);
  border-style: dashed;
}
.file-field small {
  display: block;
  color: var(--muted);
  margin-top: 6px;
  font-size: 0.85rem;
}
.lead-form .btn {
  margin-top: 8px;
  width: 100%;
}
.cf-turnstile {
  margin-top: 18px;
}
.form-status p {
  margin: 18px 0 0;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 500;
}
.form-status .ok {
  background: #e8f5ec;
  color: #1d6b36;
}
.form-status .err {
  background: #fdecec;
  color: #a12020;
}
.lead-form.sent .form-grid,
.lead-form.sent .btn,
.lead-form.sent .cf-turnstile {
  display: none;
}
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px;
}
.bg-cream .contact-card {
  background: var(--white);
}
.contact-card h3 {
  font-size: 1.15rem;
  margin-top: 24px;
}
.contact-card h3:first-child {
  margin-top: 0;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.contact-list .icon {
  color: var(--brand);
  margin-top: 3px;
}
.contact-list a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}
.contact-list a:hover {
  color: var(--brand);
}

.hours {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 20px;
  margin: 0 0 20px;
}
.hours dt {
  font-weight: 600;
}
.hours dd {
  margin: 0;
}

.socials {
  list-style: none;
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 16px 0 0;
}
.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  transition: background 0.15s ease;
}
.socials a:hover {
  background: var(--dark);
}

.map {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  box-shadow: var(--shadow);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.72);
  padding: 72px 0 0;
  font-size: 0.96rem;
}
.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--white);
}
.site-footer h3 {
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr 1.2fr;
  gap: 40px;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
}
.footer-contact .icon {
  color: var(--accent);
  margin-top: 4px;
}
.site-footer .socials a {
  background: rgba(255, 255, 255, 0.1);
}
.site-footer .socials a:hover {
  background: var(--brand);
}
.footer-bottom {
  margin-top: 56px;
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Footer hours: stack day above time so long ranges don't wrap mid-value. */
.site-footer .hours {
  grid-template-columns: 1fr;
  gap: 0;
}
.site-footer .hours dt {
  color: var(--white);
}
.site-footer .hours dd {
  margin-bottom: 10px;
}

/* ---------- Google reviews ---------- */

.g-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: -24px 0 40px;
  font-size: 1.05rem;
}
.g-summary strong {
  font-size: 1.6rem;
  font-family: var(--serif);
  color: var(--dark);
}
.bg-dark .g-summary strong,
.bg-brand .g-summary strong {
  color: var(--white);
}
.g-summary .stars {
  margin: 0;
}
/* Long reviews: first 125 characters + "Read more". Without JavaScript the full text shows. */
.testimonial blockquote.rv-text {
  flex: none;
}
.rv-text .rv-ellipsis,
.rv-more {
  display: none;
}
.js .rv-text:not(.is-open) .rv-ellipsis {
  display: inline;
}
.js .rv-text:not(.is-open) .rv-rest {
  display: none;
}
.js .rv-more {
  display: inline-block;
  align-self: flex-start;
  margin: -12px 0 16px;
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.rv-more:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.g-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.g-author img,
.g-initial {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}
.testimonial .g-author .g-initial {
  display: grid;
  place-items: center;
  background: var(--brand);
  color: var(--white);
  font-weight: 700;
}
.g-author a {
  color: inherit;
  text-decoration: none;
}
.g-author a:hover strong {
  text-decoration: underline;
}
.g-author small {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}
.g-more {
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: auto;
}
.btn-row.center {
  justify-content: center;
}
.g-actions .btn-secondary {
  color: var(--brand);
}
.bg-dark .g-actions .btn-secondary,
.bg-brand .g-actions .btn-secondary {
  color: var(--white);
}
.g-attribution {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 24px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.reviews-empty {
  text-align: center;
  padding: 32px;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

/* ---------- Review cards & slider ---------- */

.review-card {
  height: 100%;
}
.g-who {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.g-badge {
  margin-left: auto;
  align-self: flex-start;
  display: inline-flex;
}

.slider {
  position: relative;
}
.slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 4px;
  padding: 6px 4px 14px;
  margin: -6px -4px 0;
  scrollbar-width: none;
}
.slider-track::-webkit-scrollbar {
  display: none;
}
.slider-track:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  border-radius: var(--radius);
}
.slide {
  scroll-snap-align: start;
  display: flex;
}
.slide > .testimonial {
  flex: 1;
}
@media (max-width: 960px) {
  .slider-track {
    grid-auto-columns: calc((100% - 24px) / 2);
  }
}
@media (max-width: 620px) {
  .slider-track {
    grid-auto-columns: 86%;
    gap: 16px;
  }
}
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}
.slider:not(.is-ready) .slider-controls,
.slider.fits .slider-controls {
  display: none;
}
.slider-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  background: var(--white);
  color: var(--brand);
  font-size: 1.7rem;
  line-height: 1;
  padding: 0 0 4px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.slider-btn:hover {
  background: var(--brand);
  color: var(--white);
}
.slider-btn:focus-visible,
.slider-dots button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.slider-dots {
  display: flex;
  gap: 8px;
}
.slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 25%, transparent);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}
.slider-dots button[aria-current='true'] {
  width: 26px;
  background: var(--brand);
}
.bg-dark .slider-btn,
.bg-brand .slider-btn {
  border-color: var(--white);
  background: transparent;
  color: var(--white);
}
.bg-dark .slider-dots button,
.bg-brand .slider-dots button {
  background: rgba(255, 255, 255, 0.35);
}
.bg-dark .slider-dots button[aria-current='true'],
.bg-brand .slider-dots button[aria-current='true'] {
  background: var(--white);
}
