/* Premium Quality Painters — design system */
:root {
  --ink: #1a2332;
  --ink-soft: #2c3a4f;
  --slate: #5c6778;
  --muted: #8b95a5;
  --line: #e8e4df;
  --line-soft: #eeeeee;
  --surface: #ffffff;
  --surface-soft: #ffffff;
  --surface-tint: #ffffff;
  --warm: #ffffff;

  --brand: #d4573a;
  --brand-hover: #bf4a2f;
  --brand-soft: #fdeee9;
  --accent: #2a9d8f;
  --accent-hover: #238276;
  --accent-soft: #e8f6f3;
  --gold: #c9a962;

  --err-line: #f0c4bc;
  --err-bg: #fff5f2;

  --swatch-coral: #e85d4c;
  --swatch-amber: #f4a261;
  --swatch-teal: #2a9d8f;
  --swatch-blue: #457b9d;
  --swatch-plum: #6d597a;
  --swatch-gold: #c9a962;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-xs: 0 2px 8px rgba(26, 35, 50, 0.04);
  --shadow-sm: 0 8px 24px rgba(26, 35, 50, 0.06);
  --shadow-md: 0 16px 48px rgba(26, 35, 50, 0.1);
  --shadow-lg: 0 24px 64px rgba(26, 35, 50, 0.14);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --header-h: 100px;
  --topbar-h: 36px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: #ffffff;
  padding-bottom: 4.5rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.api-alert-wrap {
  padding-top: 0.85rem;
}

.api-alert {
  border: 1px solid var(--err-line);
  background: var(--err-bg);
  color: #7a3a2e;
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  line-height: 1.45;
}

.api-alert code {
  font-size: 0.88em;
  background: rgba(255, 255, 255, 0.65);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.35rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.65rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }

a { color: inherit; text-decoration: none; }

/* Topbar */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 500;
}

.topbar__inner {
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  padding: 0.35rem 0;
}

.topbar__badge {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.topbar__sep { opacity: 0.35; }

.topbar__phone {
  color: #fff;
  font-weight: 700;
  margin-left: 0.25rem;
}

.topbar__phone:hover { color: var(--gold); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  flex-shrink: 0;
}

.brand-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.brand-mark {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--brand), #e07a5f);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  box-shadow: 0 8px 20px rgba(212, 87, 58, 0.28);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.primary-nav a {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate);
  transition: color 0.15s, background 0.15s;
}

.primary-nav a:hover {
  color: var(--ink);
  background: var(--surface-tint);
}

.primary-nav a.active {
  color: var(--brand);
  background: var(--brand-soft);
}

.header-ctas {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1.4rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s, color 0.15s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary,
.btn-gold {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(212, 87, 58, 0.28);
}

.btn-primary:hover,
.btn-gold:hover {
  background: var(--brand-hover);
  box-shadow: 0 14px 28px rgba(212, 87, 58, 0.32);
}

.btn-secondary,
.btn-outline {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover,
.btn-outline:hover {
  border-color: var(--ink-soft);
  background: var(--surface-soft);
}

.btn-ghost,
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover,
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-sm { padding: 0.52rem 1rem; font-size: 0.82rem; }
.btn-lg { padding: 0.9rem 1.65rem; font-size: 0.95rem; }
.btn-full { width: 100%; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(3.5rem, 8vw, 5.5rem);
  background: #ffffff;
}

.hero__backdrop {
  display: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__swatches {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.hero__swatches span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--swatch, var(--brand));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  border: 2px solid #fff;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow--hero { color: var(--brand); }

.eyebrow--light { color: var(--gold); }

.hero__copy h1 {
  max-width: 11ch;
  margin-bottom: 1rem;
  color: var(--ink);
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-style: italic;
  color: var(--ink-soft);
  margin: 0 0 0.85rem;
}

.hero__lead {
  max-width: 34rem;
  margin: 0 0 1.75rem;
  color: var(--slate);
  font-size: 1.02rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__trust li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate);
}

.hero__trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.hero__visual { position: relative; }

.hero__frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--surface-tint);
}

.hero__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(255,255,255,0.8), rgba(212,87,58,0.25));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

.hero__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.hero__photo--fallback {
  background:
    linear-gradient(160deg, rgba(26,35,50,0.05), rgba(26,35,50,0.15)),
    linear-gradient(135deg, var(--swatch-teal), var(--swatch-blue) 45%, var(--swatch-plum));
}

.hero__badge {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 3;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
}

.hero__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
  color: var(--brand);
}

.hero__badge span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}

.hero__stat {
  padding: 1rem 0.85rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
  box-shadow: var(--shadow-xs);
}

.hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--ink);
  line-height: 1.1;
}

.hero__stat span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.3;
}

/* Features */
.features-strip {
  margin-top: -1.5rem;
  position: relative;
  z-index: 2;
  padding-bottom: 1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: #fff;
}

.feature-card__icon--coral { background: linear-gradient(145deg, var(--swatch-coral), #d4573a); }
.feature-card__icon--teal { background: linear-gradient(145deg, var(--swatch-teal), #238276); }
.feature-card__icon--slate { background: linear-gradient(145deg, var(--ink-soft), var(--ink)); }

.feature-card h3 { margin-bottom: 0.45rem; }
.feature-card p { margin: 0; color: var(--slate); font-size: 0.92rem; }

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
}

.section--soft {
  background: var(--surface-soft);
  border-block: 1px solid var(--line-soft);
}

.section--about {
  background: #ffffff;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.25rem;
}

.section-head--center {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 { margin-bottom: 0.75rem; }

.section-lead {
  margin: 0;
  color: var(--slate);
  font-size: 1.02rem;
}

.section-cta {
  margin-top: 2.25rem;
  text-align: center;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card-grid-wide {
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
}

.info-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s;
}

.info-card--linked:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 87, 58, 0.22);
}

.card-stretch {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-tint);
}

.card-media--wide { aspect-ratio: 16 / 10; }

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.info-card--linked:hover .card-media img { transform: scale(1.05); }

.card-media--placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--surface-tint), #ebe5dc);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-grid .info-card:nth-child(3n+1) .card-media--placeholder {
  background: linear-gradient(145deg, #fdeee9, #f7ddd4);
  color: #b85a42;
}

.card-grid .info-card:nth-child(3n+2) .card-media--placeholder {
  background: linear-gradient(145deg, #e8f6f3, #d4ebe6);
  color: #2a7a6f;
}

.card-grid .info-card:nth-child(3n+3) .card-media--placeholder {
  background: linear-gradient(145deg, #eef2f7, #dde5ef);
  color: #45607a;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.35rem 1.4rem 1.45rem;
}

.card-body h3 { margin-bottom: 0.55rem; }

.card-body p {
  margin: 0;
  flex: 1;
  color: var(--slate);
  font-size: 0.92rem;
}

.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.15rem;
  position: relative;
  z-index: 3;
}

.card-action-btn { flex-shrink: 0; }

.text-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent);
}

.pill {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill-light {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.price {
  margin: 0.75rem 0 0;
  font-weight: 800;
  color: var(--brand);
}

.meta-line {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.meta-line-light { color: rgba(255, 255, 255, 0.75); }

/* About */
.about-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.about-split p { color: var(--slate); }

.about-panel__inner {
  padding: clamp(1.75rem, 4vw, 2.25rem);
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  position: relative;
}

.about-panel__inner::before {
  content: "“";
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--brand-soft);
  pointer-events: none;
}

.about-panel__quote {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
}

.about-panel__author {
  margin: 1.25rem 0 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
}

.check-list {
  margin: 1.35rem 0 1.65rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.55rem;
  margin-bottom: 0.65rem;
  color: var(--slate);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.check-list--compact { margin: 1rem 0; }

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.quote-card {
  margin: 0;
  padding: 1.65rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.quote-card p {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.quote-card footer {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.85rem;
}

.quote-card footer strong { color: var(--ink); }

.quote-card footer span { color: var(--muted); }

.rating {
  margin: 0 0 0.65rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}

/* Testimonials empty + CTA */
.testimonials-section { background: var(--surface-soft); border-top: 1px solid var(--line-soft); }

.testimonials-empty {
  max-width: 520px;
  margin: 0 auto;
  padding: clamp(1.75rem, 4vw, 2.25rem);
  text-align: center;
  border: 2px dashed var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.testimonials-empty__title {
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: var(--ink);
}

.testimonials-empty__text {
  margin: 0;
  color: var(--slate);
  font-size: 0.95rem;
}

.testimonials-cta {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* Testimonial submit modal */
.testimonial-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.testimonial-modal.is-open { display: flex; }

.testimonial-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 35, 50, 0.72);
  backdrop-filter: blur(4px);
}

.testimonial-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.testimonial-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem 1rem;
  border-bottom: 1px solid var(--line);
}

.testimonial-modal__header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.testimonial-modal__header p {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--slate);
}

.testimonial-modal__close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--slate);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.testimonial-modal__close:hover {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand);
}

.testimonial-modal__body {
  overflow-y: auto;
  padding: 1.25rem 1.35rem 1.5rem;
}

.testimonial-form__label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.testimonial-form__input {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.72rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  font: inherit;
  color: var(--ink);
}

.testimonial-form__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.15);
}

.star-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.star-rating__star {
  padding: 0.15rem 0.25rem;
  border: 0;
  background: transparent;
  font-size: 1.65rem;
  line-height: 1;
  color: #d8d2cb;
  cursor: pointer;
  transition: color 0.12s, transform 0.12s;
}

.star-rating__star.is-active,
.star-rating__star:hover {
  color: var(--gold);
}

.star-rating__star:focus-visible {
  outline: 2px solid var(--accent);
  border-radius: 4px;
}

.testimonial-form__error {
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 0.88rem;
}

.testimonial-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.testimonial-form__actions .btn { flex: 1; min-width: 140px; }

.testimonial-form__success {
  text-align: center;
  padding: 0.5rem 0 0.25rem;
}

.testimonial-form__success-title {
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: #047857;
}

.testimonial-form__success-text {
  margin: 0 0 1.25rem;
  color: var(--slate);
  font-size: 0.92rem;
}

.testimonial-form__success .btn { min-width: 120px; }

.btn.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

/* CTA banner */
.cta-banner {
  padding: clamp(3rem, 6vw, 4rem) 0;
  background:
    linear-gradient(135deg, var(--ink) 0%, #243247 55%, #2a4a52 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  top: -180px;
  right: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 87, 58, 0.22), transparent 68%);
  pointer-events: none;
}

.cta-banner__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-banner__copy { max-width: 36rem; }

.cta-banner__copy h2 { margin-bottom: 0.65rem; }

.cta-banner__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Page hero (inner pages) */
.page-hero {
  padding: clamp(2.75rem, 6vw, 4rem) 0;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.page-hero__inner {
  max-width: 760px;
}

.page-hero__inner .eyebrow a {
  color: inherit;
}

.page-hero__inner .eyebrow a:hover {
  color: var(--brand);
}

.page-hero--compact {
  padding: clamp(2rem, 4vw, 2.75rem) 0;
}

.page-hero h1 { margin: 0.35rem 0 0.65rem; }

.page-hero .subhead,
.page-hero .hero__tagline {
  max-width: 42rem;
  margin: 0;
  color: var(--slate);
  font-family: var(--font-body);
  font-style: normal;
  font-size: 1.05rem;
}

.page-hero .eyebrow { margin-bottom: 0.5rem; }

.breadcrumb-link {
  color: var(--brand);
  font-weight: 700;
}

.breadcrumb-link:hover { text-decoration: underline; }

.cta-row,
.hero-cta-row,
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Banner slider */
.banner-slider {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.banner-slider-track { position: relative; }

.banner-slide {
  display: none;
  position: relative;
  overflow: hidden;
}

.banner-slide.is-active { display: block; }

.banner-slide img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center;
  display: block;
}

.banner-slide-placeholder {
  width: 100%;
  aspect-ratio: 21 / 9;
  background: linear-gradient(135deg, var(--swatch-teal), var(--swatch-blue), var(--swatch-plum));
}

.banner-slide-placeholder--card {
  aspect-ratio: 21 / 9;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.banner-slide-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: linear-gradient(180deg, transparent, rgba(26, 35, 50, 0.88));
  color: #fff;
}

.banner-slide-content h3 {
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

.banner-slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.banner-nav {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.banner-nav:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.banner-dots {
  display: flex;
  gap: 0.45rem;
  margin: 0 auto;
}

.banner-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d8d2cb;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}

.banner-dot.is-active {
  background: var(--brand);
  transform: scale(1.25);
}

.banner-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.banner-card img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center;
  display: block;
}

.banner-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.25rem 1.4rem 1.4rem;
}

.banner-card-body h3 { margin: 0; flex: 1; }

/* Gallery */
.gallery-section {
  background: var(--surface);
  border-top: 1px solid var(--line-soft);
}

.gallery-page { padding-top: 2rem; }

.gallery-album { margin-bottom: 2.75rem; }
.gallery-album:last-child { margin-bottom: 0; }

.gallery-album-title {
  margin: 0 0 1.15rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--line);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
}

.gallery-grid--home,
.gallery-grid--page {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: zoom-in;
}

.gallery-placeholder {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--surface-tint), #e8e2da);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-grid--home .gallery-item:nth-child(6n+1) .gallery-placeholder { background: linear-gradient(145deg, #fdeee9, #f5ddd4); color: #b85a42; }
.gallery-grid--home .gallery-item:nth-child(6n+2) .gallery-placeholder { background: linear-gradient(145deg, #fff0df, #f8dfc4); color: #a66a2d; }
.gallery-grid--home .gallery-item:nth-child(6n+3) .gallery-placeholder { background: linear-gradient(145deg, #e8f6f3, #d4ebe6); color: #2a7a6f; }
.gallery-grid--home .gallery-item:nth-child(6n+4) .gallery-placeholder { background: linear-gradient(145deg, #eef2f7, #dde5ef); color: #45607a; }
.gallery-grid--home .gallery-item:nth-child(6n+5) .gallery-placeholder { background: linear-gradient(145deg, #f1ebf4, #e4d9ea); color: #6d597a; }
.gallery-grid--home .gallery-item:nth-child(6n+6) .gallery-placeholder { background: linear-gradient(145deg, #faf3e3, #efe2c8); color: #9a7b3f; }

.gallery-item figcaption {
  padding: 0.75rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate);
  border-top: 1px solid var(--line-soft);
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.gallery-modal.is-open { display: flex; }

body.modal-open { overflow: hidden; }

.gallery-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 35, 50, 0.88);
  backdrop-filter: blur(4px);
}

.gallery-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 96vw);
  max-height: 92vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
}

.gallery-modal__img {
  width: 100%;
  max-height: calc(92vh - 58px);
  object-fit: contain;
  background: var(--ink);
}

.gallery-modal__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
}

.gallery-modal__title { margin: 0; font-size: 0.92rem; }

.gallery-modal__close {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-modal__close:hover { background: rgba(255, 255, 255, 0.1); }

/* How section */
.how-section {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
  background: var(--surface-soft);
  border-block: 1px solid var(--line-soft);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.how-step {
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.how-num {
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 800;
}

.how-step h3 { margin-bottom: 0.4rem; }
.how-step p { margin: 0; color: var(--slate); font-size: 0.92rem; }

/* Detail pages */
.detail-layout { padding-top: 2rem; }

.detail-hero-image {
  margin: 0 0 2rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--surface-tint);
}

.detail-hero-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.detail-hero-image--contain img {
  object-fit: contain;
  max-height: none;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}

.detail-grid--single { grid-template-columns: 1fr; }

.detail-aside {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.detail-aside .btn { margin-bottom: 0.75rem; }

.detail-price {
  margin: 0 0 1rem;
  color: var(--slate);
}

.detail-price strong {
  font-size: 1.6rem;
  color: var(--brand);
}

.detail-footer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.rich-text p { margin: 0 0 1rem; color: var(--slate); }
.rich-text ul, .rich-text ol { margin: 0 0 1rem; padding-left: 1.25rem; color: var(--slate); }
.rich-text h2, .rich-text h3 { margin: 1.5rem 0 0.75rem; color: var(--ink); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}

.contact-aside {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.contact-aside h2 { margin-bottom: 1.25rem; }

.contact-method { margin-bottom: 1.25rem; }

.contact-method-label {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-method-value {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--brand);
}

.contact-note {
  color: var(--slate);
  font-size: 0.92rem;
}

.contact-form {
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.contact-form h2 { margin-bottom: 0.35rem; }

.form-helper {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-form label {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.72rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  font: inherit;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.15);
}

.req { color: var(--brand); }

.form-success {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(42, 157, 143, 0.25);
  color: #1f6b61;
}

.form-error {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.empty-note {
  padding: 2rem;
  text-align: center;
  color: var(--muted);
}

/* Legal */
.legal-content { padding-top: 2rem; }
.narrow { max-width: 720px; }

.legal-content .narrow h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
  color: var(--ink);
}

.legal-content .narrow h2:first-child { margin-top: 0; }

.legal-content .narrow p,
.legal-content .narrow li { color: var(--slate); }

.legal-content .narrow ul {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.legal-content .narrow li { margin-bottom: 0.4rem; }

.legal-content .narrow a {
  color: var(--brand);
  font-weight: 700;
}

/* Footer */
.site-footer {
  margin-top: 0;
  padding: clamp(3rem, 6vw, 4rem) 0 1.5rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
}

.footer-shell { position: relative; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.7fr 0.9fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  height: 72px;
  width: auto;
  margin-bottom: 0.85rem;
  object-fit: contain;
}

.footer-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 0.85rem;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
}

.footer-brand strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
}

.footer-brand p {
  margin: 0 0 0.35rem;
  font-size: 0.88rem;
}

.footer-tagline {
  font-style: italic;
  color: rgba(255, 255, 255, 0.55) !important;
}

.footer-swatches {
  display: flex;
  gap: 0.4rem;
  margin-top: 1rem;
}

.footer-swatches span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-swatches span:nth-child(1) { background: var(--swatch-coral); }
.footer-swatches span:nth-child(2) { background: var(--swatch-amber); }
.footer-swatches span:nth-child(3) { background: var(--swatch-teal); }
.footer-swatches span:nth-child(4) { background: var(--swatch-blue); }
.footer-swatches span:nth-child(5) { background: var(--swatch-gold); }

.footer-label {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-col a {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.15s;
}

.footer-col a:hover { color: #fff; }

.footer-col--contact .btn {
  margin-top: 0.85rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright,
.powered {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.powered a,
.copyright a { color: var(--gold); }

/* Mobile CTA */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 -8px 24px rgba(26, 35, 50, 0.08);
}

.mobile-cta-bar a {
  padding: 0.95rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 800;
}

.mobile-cta-estimate {
  background: var(--brand);
  color: #fff;
}

.mobile-cta-call {
  background: var(--ink);
  color: #fff;
}

/* Legacy aliases */
.kicker {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

.subhead { color: var(--slate); font-size: 1.05rem; margin: 0; }
.lead { color: var(--slate); }

.cta-banner-inner,
.cta-banner__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.tinted-section {
  background: #ffffff;
  padding: clamp(3.5rem, 7vw, 5rem) 0;
}

.about-panel blockquote { margin: 0; }

.call-pill {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__grid,
  .about-split,
  .contact-grid,
  .detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .hero__photo { aspect-ratio: 16 / 10; }
  .hero__copy h1 { max-width: none; }
}

@media (max-width: 768px) {
  body { padding-bottom: 3.75rem; }

  .topbar__inner {
    font-size: 0.72rem;
    justify-content: flex-start;
    padding-inline: 0;
  }

  .nav-toggle { display: flex; }

  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }

  .primary-nav.is-open { display: flex; }

  .primary-nav a {
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
  }

  .header-ctas { display: none; }

  .nav-wrap {
    position: relative;
    flex-wrap: wrap;
    min-height: 84px;
  }

  .card-grid { grid-template-columns: 1fr; }

  .hero__stats { grid-template-columns: 1fr; }

  .mobile-cta-bar { display: grid; }

  .cta-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
