/* ===================================================================
   Royal Finishes Painting — styles
   =================================================================== */

:root {
  /* Brand — tuned to logo: vivid royal purple + metallic gold */
  --purple-900: #35084a;
  --purple-800: #490f63;
  --purple-700: #5f1a82;
  --purple-600: #7a1fa5;
  --purple-500: #9333c9;
  --gold-600: #b0851f;
  --gold-500: #d4af37;
  --gold-400: #e6c765;

  /* Neutrals */
  --ink: #1c1622;
  --body: #4a4552;
  --muted: #6f6a78;
  --line: #e9e4ee;
  --cream: #faf7f4;
  --cream-2: #f3eef0;
  --white: #ffffff;

  /* System */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(53, 8, 74, 0.07);
  --shadow: 0 14px 40px rgba(53, 8, 74, 0.12);
  --shadow-lg: 0 30px 70px rgba(53, 8, 74, 0.18);
  --container: 1180px;
  --banner-h: 36px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 120px; }

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--purple-600); color: #fff; box-shadow: 0 8px 22px rgba(122, 31, 165, 0.30); }
.btn-primary:hover { background: var(--purple-700); box-shadow: 0 12px 28px rgba(122, 31, 165, 0.40); }
.btn-ghost { background: transparent; color: var(--ink); border-color: transparent; }
.btn-ghost:hover { color: var(--purple-600); transform: none; }
.btn-outline-light { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.55); backdrop-filter: blur(4px); }
.btn-outline-light:hover { background: rgba(255,255,255,0.16); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-wisetack { background: #07c0ca; color: #fff; box-shadow: 0 8px 22px rgba(7,192,202,0.35); }
.btn-wisetack:hover { background: #06abb4; box-shadow: 0 12px 28px rgba(7,192,202,0.45); }
.btn-wisetack-logo { width: 36px; height: 36px; display: inline-block; margin-top: -6px; margin-bottom: -6px; }
.btn-block { width: 100%; }
.btn-secondary { background: #fff; color: var(--purple-600); border-color: var(--purple-600); }
.btn-secondary:hover { background: var(--purple-600); color: #fff; }

/* ---------- Sales landing pages (funnel) ---------- */
.sales-sub { color: var(--muted); max-width: 580px; margin: 14px auto 0; font-size: 1.08rem; line-height: 1.6; }
.sales-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ---------- FAQ accordion ---------- */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; margin-bottom: 14px; overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .25s var(--ease), border-color .25s; }
.faq-item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-chev { flex: none; width: 22px; height: 22px; color: var(--purple-600); transition: transform .3s var(--ease); }
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-a { padding: 0 26px 24px; color: var(--muted); line-height: 1.7; }
.faq-a p { margin-bottom: 12px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a a { color: var(--purple-600); font-weight: 600; }
@media (max-width: 560px) {
  .faq-item summary { padding: 18px 18px; font-size: 1.05rem; }
  .faq-a { padding: 0 18px 20px; }
}

/* ---------- Resources page ---------- */
.res-head { max-width: 720px; margin: 0 auto 34px; }
.res-head.center { text-align: center; }
.res-head .eyebrow { margin-bottom: 8px; }
.res-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); margin-bottom: 10px; }
.res-head p { color: var(--muted); font-size: 1.05rem; }

.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.partner-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.partner-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.partner-logo { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--cream); color: var(--purple-600); margin-bottom: 16px; }
.partner-logo svg { width: 26px; height: 26px; }
.partner-tag { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 7px; }
.partner-card h3 { font-size: 1.22rem; margin-bottom: 8px; }
.partner-card p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.partner-card .service-link { margin-top: auto; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.blog-thumb { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--purple-700), var(--purple-500)); display: grid; place-items: center; color: rgba(255,255,255,.92); }
.blog-thumb svg { width: 44px; height: 44px; }
.blog-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-meta { font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.blog-card h3 { font-size: 1.18rem; line-height: 1.32; margin-bottom: 10px; color: var(--ink); }
.blog-card p { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.blog-readmore { margin-top: auto; color: var(--purple-600); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; transition: gap .2s var(--ease); }
.blog-card:hover .blog-readmore { gap: 11px; }

/* ---------- Service areas / map ---------- */
.map-wrap { position: relative; z-index: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
#map { height: 820px; width: 100%; background: #eaeef0; }
.leaflet-tooltip.rfp-tip { background: rgba(255,255,255,0.94); border: none; box-shadow: 0 1px 5px rgba(0,0,0,0.3); color: var(--ink); font-family: var(--font-body); font-size: 0.7rem; font-weight: 700; padding: 2px 7px; border-radius: 6px; white-space: nowrap; }
.leaflet-tooltip.rfp-tip::before { display: none; }
.leaflet-tooltip.rfp-tip-home { background: var(--gold-500); color: var(--purple-900); }
.leaflet-popup-content { font-family: var(--font-body); font-size: .95rem; }
.leaflet-popup-content strong { color: var(--purple-700); }
.map-legend { display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: center; margin-top: 22px; font-size: .93rem; color: var(--muted); }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend-dot { width: 15px; height: 15px; border-radius: 50%; flex: none; }
.legend-dot.home { background: var(--gold-500); border: 2px solid var(--purple-900); }
.legend-dot.town { background: var(--purple-600); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.legend-area { width: 20px; height: 15px; flex: none; border: 2px dashed var(--purple-600); background: rgba(122,31,165,.10); border-radius: 3px; }

.areas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; margin-top: 10px; }
.area-col .area-sub { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-600); display: block; margin-bottom: 2px; }
.area-col h3 { font-size: 1.2rem; margin-bottom: 12px; }
.area-col ul { list-style: none; }
.area-col li { color: var(--muted); padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .96rem; display: flex; align-items: center; gap: 9px; }
.area-col li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--purple-600); border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); flex: none; }
.area-col li:last-child { border-bottom: 0; }
@media (max-width: 560px) { #map { height: 600px; } }

/* ---------- Announcement banner ---------- */
.top-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 110;
  height: var(--banner-h);
  display: flex; align-items: center; justify-content: center;
  background: #0c0c0f;
  color: #fff;
  padding: 0 16px;
  white-space: nowrap;
  overflow: hidden;
}
.top-banner p {
  margin: 0;
  font-size: clamp(0.72rem, 2.6vw, 0.9rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: var(--banner-h); left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; height: 74px; }
.brand { grid-column: 1; justify-self: start; display: inline-flex; align-items: center; }
.brand-logo { height: 65px; width: auto; }

.main-nav { grid-column: 2; justify-self: center; display: flex; align-items: center; gap: 30px; }
.header-actions { grid-column: 3; justify-self: end; }
.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
  background: none; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--gold-500);
  transition: width 0.28s var(--ease);
}
.nav-link:hover { color: var(--purple-600); }
.nav-link:hover::after { width: 100%; }

/* Dropdowns */
.nav-item { position: relative; }
.chev { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.nav-item:hover .chev { transform: rotate(180deg); }

.dropdown {
  list-style: none;
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 212px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  z-index: 120;
}
.dropdown::before { /* invisible hover bridge to the toggle */
  content: ""; position: absolute; top: -18px; left: 0; right: 0; height: 18px;
}
.dropdown li a {
  display: block;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.dropdown li a:hover { background: var(--cream); color: var(--purple-600); }

@media (min-width: 901px) {
  .nav-item:hover > .dropdown,
  .nav-item:focus-within > .dropdown {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-phone { font-size: 0.95rem; padding: 10px 14px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; flex-direction: column; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(53,8,74,0.90) 0%, rgba(53,8,74,0.58) 45%, rgba(53,8,74,0.25) 100%),
    linear-gradient(to top, rgba(26,4,38,0.60), transparent 42%);
}
.hero-content { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-top: 150px; padding-bottom: 40px; min-width: 0; }
.hero-inner { max-width: 720px; text-align: left; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); color: #fff; font-weight: 600; line-height: 1.04; }
.hero h1 .accent { color: var(--gold-400); font-style: italic; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255,255,255,0.9); margin: 24px 0 34px; max-width: 600px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 40px; }
.hero-badges span {
  font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.92);
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-badges span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-400); }

/* ---------- Hero trust badges ---------- */
.hero-badge-bar {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 14px 0 30px;
}
.badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
}
.badges li { flex: 1 1 100px; display: flex; justify-content: center; }
.badges img {
  height: 94px;
  width: auto;
  transition: transform 0.3s var(--ease);
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.38));
}
.badges img:hover { transform: translateY(-4px) scale(1.05); }

@media (max-width: 720px) {
  .hero-badge-bar { padding: 6px 0 26px; }
  .badges { gap: 16px; justify-content: center; }
  .badges li { flex: 0 1 28%; }
  .badges img { height: 82px; }
}

/* ---------- Sections ---------- */
.section { padding: 108px 0; }
.section-alt { background: var(--cream); }

/* Soft curved section transitions (each band curves up over the one above) */
main > section:not(.hero),
.site-footer {
  position: relative;
  z-index: 1;
  border-top-left-radius: clamp(30px, 4.5vw, 52px);
  border-top-right-radius: clamp(30px, 4.5vw, 52px);
  margin-top: calc(-1 * clamp(30px, 4.5vw, 52px));
}
#why { border-radius: 0; margin-top: 0; }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.eyebrow-dark { color: var(--gold-600); }
.eyebrow-light { color: var(--gold-400); }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 16px; }
.section-lead { font-size: 1.1rem; color: var(--muted); }

/* ---------- Cards grid ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
  color: #fff; margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.32rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; }
.stat-card strong { color: var(--gold-600); font-weight: 700; }
.stat-card .stat-figure {
  font-family: 'Fraunces', serif; font-weight: 700; line-height: 0.92;
  font-size: clamp(4.4rem, 9vw, 6rem); color: var(--purple-700);
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px;
}
.stat-card .stat-figure span {
  font-family: 'Inter', sans-serif; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted);
}
.stat-card .stat-source {
  font-size: 0.78rem; color: var(--muted); margin-top: 16px;
}

/* ===== Horizontal stat cards with animated donut ===== */
.stat-stack { display: flex; flex-direction: column; gap: 22px; }
.stat-card-h {
  display: flex; align-items: center; gap: 46px; padding: 36px 42px;
}
.stat-card-h.reverse { flex-direction: row-reverse; }
.stat-card-h .stat-body { flex: 1; min-width: 0; }
.stat-card-h .stat-body h3 { font-size: 1.5rem; }
.stat-card-h .stat-body h3 + p { margin-bottom: 14px; }
.stat-card-h .stat-list { margin-bottom: 14px; }
.stat-card-h .stat-source { margin-top: 4px; color: #9c97a6; }

.donut-wrap { position: relative; flex: 0 0 212px; width: 212px; height: 212px; }
.donut { width: 100%; height: 100%; transform: rotate(-90deg); }
.donut-track { fill: none; stroke: var(--line, #e9e4ee); stroke-width: 15; }
.donut-ring { fill: none; stroke-width: 15; stroke-linecap: round; stroke-dasharray: 502.65; }
/* Rings sit at their filled position by default (visible even without JS). */
.ring-base { stroke: var(--purple-700, #5f1a82); stroke-dashoffset: var(--fill, 0); }
.ring-over { stroke: var(--gold-500, #d4af37); stroke-dashoffset: var(--fill, 467.47); }
/* Animate in only when .animate is present; end state == filled default, so it can
   never get stuck empty if a frame is dropped or JS doesn't run. */
.donut-wrap.animate .ring-base { animation: donutFill 1.3s cubic-bezier(0.22,0.61,0.36,1) both; }
.donut-wrap.animate .ring-over { animation: donutFill 0.45s cubic-bezier(0.22,0.61,0.36,1) 1.3s both; }
@keyframes donutFill { from { stroke-dashoffset: 502.65; } to { stroke-dashoffset: var(--fill); } }

.donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.donut-num { font-family: 'Fraunces', serif; font-weight: 700; line-height: 1; font-size: 2.9rem; color: var(--purple-700, #5f1a82); }
.donut-label { font-size: 0.64rem; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted, #6f6a78); margin-top: 6px; max-width: 110px; }

@media (max-width: 760px) {
  .stat-card-h, .stat-card-h.reverse { flex-direction: column; text-align: center; gap: 26px; padding: 32px 26px; }
  .stat-card-h .stat-list { text-align: left; }
}

/* ===== "Our work" specialist cards (image + caption) ===== */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work-media { aspect-ratio: 4 / 3; overflow: hidden; }
.work-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.work-card:hover .work-media img { transform: scale(1.04); }
.work-text { padding: 22px 26px 28px; }
.work-text h3 { font-size: 1.25rem; margin-bottom: 8px; }
.work-text p { color: var(--muted); font-size: 0.96rem; }
@media (max-width: 820px) { .work-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }

/* ===== Featured single review ===== */
.review-feature { max-width: 760px; margin: 0 auto; text-align: center; }
.review-feature .rf-stars { color: var(--gold-500); font-size: 2rem; letter-spacing: 4px; margin-bottom: 22px; }
.review-feature blockquote {
  font-family: 'Fraunces', serif; font-weight: 400;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.5; color: var(--ink); margin: 0 0 26px;
}
.review-feature blockquote strong { font-weight: 700; color: var(--purple-700); }
.review-author { display: inline-flex; align-items: center; gap: 14px; }
.rf-avatar {
  width: 48px; height: 48px; border-radius: 50%; flex: 0 0 48px;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-800));
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 0.95rem; letter-spacing: 0.04em;
}
.rf-meta { display: flex; flex-direction: column; text-align: left; }
.rf-name { font-weight: 700; color: var(--ink); }
.rf-src { font-size: 0.85rem; color: var(--muted); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ===== Standard vs Royal Package comparison ===== */
.compare-wrap { max-width: 720px; margin: 0 auto; }
.compare-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.compare-table th, .compare-table td { padding: 15px 18px; text-align: center; vertical-align: middle; }
.compare-table tbody tr:not(:last-child) > * { border-bottom: 1px solid var(--line); }
.compare-table thead th { border-bottom: 2px solid var(--line); }
.compare-table thead th.ct-standard { font-family: 'Fraunces', serif; font-size: 1.05rem; color: var(--muted); }
.compare-table thead th.ct-royal {
  font-family: 'Fraunces', serif; font-size: 1.1rem; color: #fff;
  background: linear-gradient(160deg, var(--purple-600), var(--purple-800));
  border-bottom-color: var(--purple-800);
}
.compare-table thead th.ct-royal small {
  display: block; font-family: 'Inter', sans-serif; font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-400); margin-top: 5px;
}
.compare-table tbody th { text-align: left; font-weight: 600; color: var(--ink); font-size: 0.98rem; width: 54%; }
.compare-table .ct-royal { background: rgba(122, 31, 165, 0.055); }
.ct-yes { color: var(--gold-600); font-weight: 700; font-size: 1.15rem; line-height: 1; }
.ct-no { color: #cfc9d6; font-weight: 700; }
.ct-val { font-weight: 700; color: var(--ink); font-size: 0.98rem; }
.ct-fee { font-weight: 600; color: var(--muted); font-size: 0.82rem; }
.ct-good { font-weight: 700; color: var(--gold-600); font-size: 0.9rem; }
@media (max-width: 560px) {
  .compare-table th, .compare-table td { padding: 12px 10px; }
  .compare-table tbody th { font-size: 0.9rem; }
}

.card-cta {
  background: linear-gradient(150deg, var(--purple-700), var(--purple-900));
  color: #fff; border: none; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px;
}
.card-cta h3 { color: #fff; }
.card-cta p { color: rgba(255,255,255,0.82); margin-bottom: 12px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 1/1; object-fit: cover; }
.about-media-badge {
  position: absolute; bottom: -22px; right: -14px;
  background: #fff; border-radius: var(--radius);
  padding: 18px 24px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; line-height: 1.2;
}
.about-media-badge strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--purple-700); }
.about-media-badge span { font-size: 0.85rem; color: var(--muted); }
.about-copy h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 20px; }
.about-copy p { margin-bottom: 16px; }
.about-copy .btn { margin-top: 12px; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 22px; }
.process-step {
  position: relative;
  padding: 38px 30px 34px;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.process-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num {
  font-family: var(--font-display); font-weight: 600; font-size: 2.6rem;
  color: transparent; -webkit-text-stroke: 1.5px var(--gold-500);
  display: block; margin-bottom: 14px;
}
.process-step h3 { font-size: 1.4rem; margin-bottom: 10px; }
.process-step p { color: var(--muted); }
.services-note {
  margin-top: 40px; text-align: center; color: var(--muted);
  max-width: 720px; margin-inline: auto; font-size: 1rem;
}
.services-note a { color: var(--purple-600); font-weight: 600; }
.services-note a:hover { text-decoration: underline; }

/* ---------- Services cards ---------- */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.05); }
.service-tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--purple-600); color: #fff;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 6px 14px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(122, 31, 165, 0.35);
}
.service-body { padding: 28px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-size: 1.6rem; margin-bottom: 10px; }
.service-body > p { color: var(--muted); margin-bottom: 18px; }
.service-list { list-style: none; margin-bottom: 22px; display: flex; flex-direction: column; gap: 9px; }
.service-list li { position: relative; padding-left: 26px; color: var(--body); font-size: 0.98rem; }
.service-list li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold-500);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
  background-color: var(--gold-600);
}
.service-link { margin-top: auto; color: var(--purple-600); font-weight: 600; font-size: 1rem; }
.service-link:hover { color: var(--purple-700); text-decoration: underline; }

/* ---------- Financing band ---------- */
.financing { background: #eafafb; color: var(--body); padding: 84px 0; }
/* When dropped among standard .section blocks, match their vertical rhythm. */
.financing.financing--section-pad { padding: 108px 0; }
@media (max-width: 720px) { .financing.financing--section-pad { padding: 68px 0; } }
.financing-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.financing-copy h2 { color: var(--ink); font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 16px; }
.financing-copy > p { color: var(--body); font-size: 1.1rem; max-width: 560px; margin-bottom: 26px; }
.financing-copy strong { color: #0d8a8a; font-weight: 700; }
.financing-features { display: flex; flex-direction: column; gap: 16px; margin-bottom: 30px; }
.fin-feature { display: flex; align-items: center; gap: 16px; }
.fin-feature img { width: 54px; height: 54px; flex-shrink: 0; }
.fin-feature strong { display: block; color: var(--ink); font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
.fin-feature span { color: var(--muted); font-size: 0.95rem; }
.financing-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.financing-phone { width: 300px; max-width: 82%; height: auto; filter: drop-shadow(0 22px 44px rgba(13, 90, 90, 0.22)); }
.financing-seal { position: absolute; bottom: 48px; left: 8%; width: 122px; height: auto; filter: drop-shadow(0 10px 22px rgba(13, 90, 90, 0.3)); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }

/* ---------- Reviews ---------- */
.section-dark { background: linear-gradient(160deg, var(--purple-900), var(--purple-700)); color: #fff; }
.section-dark .section-head h2 { color: #fff; }
.stars-lead { color: var(--gold-400); font-size: 1.2rem; letter-spacing: 2px; }
.stars-lead span { color: rgba(255,255,255,0.8); font-size: 0.95rem; letter-spacing: normal; margin-left: 8px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  background: #fff;
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
  display: flex; flex-direction: column;
}
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.review-who strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 1.02rem; line-height: 1.2; font-weight: 600; }
.review-src { display: flex; align-items: center; gap: 5px; font-size: 0.8rem; color: var(--muted); }
.g-mark { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; letter-spacing: -0.5px; }
.g-mark .b { color: #4285F4; } .g-mark .r { color: #EA4335; } .g-mark .y { color: #FBBC05; } .g-mark .g2 { color: #34A853; }
.review .stars { color: var(--gold-500); font-size: 1.45rem; letter-spacing: 3px; margin-bottom: 12px; }
.review p { color: var(--body); font-size: 1rem; margin-bottom: 18px; }
.review-meta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.review-meta span { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--muted); }
.review-meta svg { width: 15px; height: 15px; color: var(--purple-600); flex-shrink: 0; }
/* Reviews carousel (gallery page) */
.stars-lead-light { color: var(--gold-500); font-size: 1.2rem; letter-spacing: 2px; }
.stars-lead-light span { color: var(--muted); font-size: 0.95rem; letter-spacing: normal; margin-left: 8px; }
.reviews-carousel { position: relative; }
.car-track {
  display: flex; gap: 22px; align-items: stretch;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  /* roomy padding so each card's soft box-shadow isn't clipped by the scroll container */
  padding: 28px 22px 56px;
  scrollbar-width: none;
}
.car-track::-webkit-scrollbar { display: none; }
.car-track .review { flex: 0 0 340px; max-width: 86%; scroll-snap-align: center; }
/* Long reviews get their own internal scroll instead of being cut off */
.car-track .review p {
  max-height: 188px; overflow-y: auto; padding-right: 10px;
  scrollbar-width: thin; scrollbar-color: var(--purple-500) transparent;
}
.car-track .review p::-webkit-scrollbar { width: 6px; }
.car-track .review p::-webkit-scrollbar-thumb { background: var(--purple-500); border-radius: 999px; }
.car-btn {
  position: absolute; top: 44%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow); color: var(--purple-600); z-index: 3;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.car-btn:hover { background: var(--cream); transform: translateY(-50%) scale(1.06); }
.car-btn svg { width: 22px; height: 22px; }
.car-prev { left: -8px; }
.car-next { right: -8px; }
@media (max-width: 760px) {
  .car-btn { display: none; }
  .car-track .review { flex-basis: 85%; }
}

.reviews-cta { text-align: center; margin-top: 40px; }
.reviews-cta a { color: var(--gold-400); font-weight: 600; }
.reviews-cta a:hover { text-decoration: underline; }

/* ---------- CTA band + form ---------- */
.cta-band { padding: 96px 0; background: var(--cream-2); }
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cta-copy h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 18px; }
.cta-copy > p { font-size: 1.1rem; color: var(--muted); margin-bottom: 26px; }
.cta-contact { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.cta-contact li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); font-size: 1.1rem; }
.cta-contact svg { color: var(--purple-600); flex-shrink: 0; }
.cta-contact a:hover { color: var(--purple-600); }
.cta-copy .call-cta { margin-bottom: 22px; }
.cta-copy .cta-or { font-size: 0.98rem; color: var(--muted); margin-bottom: 0; }
.cta-copy .cta-or a { color: var(--purple-600); font-weight: 600; }

.quote-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.quote-form h3 { font-size: 1.5rem; margin-bottom: 22px; }
.form-placeholder { display: inline-flex; align-items: center; gap: 6px; background: #fde68a; color: #92400e; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; margin-bottom: 16px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--purple-500); background: #fff;
  box-shadow: 0 0 0 4px rgba(147, 51, 201, 0.14);
}
.field textarea { resize: vertical; }
.quote-form .btn { margin-top: 6px; }
.form-note { text-align: center; font-size: 0.88rem; color: var(--muted); margin-top: 14px; }
.form-note a { color: var(--purple-600); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--purple-900), #26063a);
  color: rgba(255,255,255,0.72);
  padding-top: 72px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 56px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Brand block */
.footer-wordmark { font-family: var(--font-display); font-size: 1.7rem; color: #fff; font-weight: 600; margin-bottom: 14px; }
.footer-wordmark span { color: var(--gold-400); }
.footer-tagline { font-size: 0.97rem; max-width: 340px; margin-bottom: 22px; line-height: 1.6; }
.footer-contact { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.footer-contact li { display: flex; align-items: center; gap: 11px; font-size: 0.97rem; }
.footer-contact svg { color: var(--gold-400); flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,0.85); transition: color 0.2s; }
.footer-contact a:hover { color: var(--gold-400); }

/* Discrete staff-only link (internal quoting app, not a customer CTA) */
.footer-staff-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; color: rgba(255,255,255,0.4);
  padding: 4px 10px; border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.12);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.footer-staff-link svg { opacity: 0.85; }
.footer-staff-link:hover { color: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.05); }

/* Nav columns */
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 {
  color: #fff; font-family: var(--font-body);
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 18px;
  position: relative; padding-bottom: 12px;
}
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--gold-500); }
.footer-col a { display: block; font-size: 0.96rem; margin-bottom: 12px; color: rgba(255,255,255,0.72); transition: color 0.2s, transform 0.2s; }
.footer-col a:hover { color: var(--gold-400); transform: translateX(3px); }

/* Bottom bar */
.footer-bottom { padding: 22px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 10px 24px; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin: 0; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { font-size: 0.85rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-legal a:hover { color: var(--gold-400); }

/* ---------- Sticky mobile call bar ---------- */
.mobile-callbar { display: none; }
@media (max-width: 720px) {
  .mobile-callbar {
    display: flex;
    gap: 10px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 200;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(12px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 24px rgba(53, 8, 74, 0.12);
  }
  .mobile-callbar a {
    flex: 1;
    display: flex; align-items: center; justify-content: center; gap: 7px;
    padding: 14px 10px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.98rem;
  }
  .mcb-call { background: var(--gold-500); color: var(--purple-900); }
  .mcb-quote { background: var(--purple-600); color: #fff; }
  body { padding-bottom: 78px; }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--cream);
  text-align: center;
  min-height: clamp(340px, 44vh, 470px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 111px 0 0; /* top clears the fixed banner + header so content centers in the visible band */
  border-radius: 0 !important;
  margin-top: 0 !important;
}
/* Faint interior photo behind the cream banner for a hint of texture */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../assets/hero-texture.webp") center / cover no-repeat;
  opacity: 0.07;
  filter: grayscale(0.35);
  pointer-events: none;
}
.page-hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.3rem); color: var(--ink); margin: 10px 0 12px; letter-spacing: -0.01em; }
.page-hero p { color: var(--muted); max-width: 560px; margin: 0 auto; font-size: 1.08rem; }

/* ---------- Before / after slider ---------- */
.ba { position: relative; max-width: 620px; margin: 0 auto; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); user-select: none; touch-action: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { clip-path: inset(0 50% 0 0); }
.ba-divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; transform: translateX(-1.5px); box-shadow: 0 0 12px rgba(0,0,0,.4); pointer-events: none; }
.ba-handle { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 50px; height: 50px; border-radius: 50%; background: #fff; border: none; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.35); color: var(--purple-600); font-size: 20px; cursor: ew-resize; }
.ba-tag { position: absolute; bottom: 16px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; padding: 6px 14px; border-radius: 999px; }
.ba-tag-b { left: 16px; background: rgba(28,22,34,.6); }
.ba-tag-a { right: 16px; background: rgba(122,31,165,.78); }
.ba-cap { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 18px; }
.ba-cap strong { color: var(--ink); }

/* Two-up before/after sliders */
.ba-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 34px; max-width: 880px; margin: 0 auto; }
.ba-duo .ba { max-width: 100%; }
.ba-duo .ba-cap { margin-top: 14px; max-width: 460px; margin-left: auto; margin-right: auto; }

/* Project spotlight: distinct, left-aligned header */
.spotlight-head { margin-bottom: 30px; max-width: 720px; }
.spotlight-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--gold-500); color: var(--purple-900);
  font-weight: 700; font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 15px; border-radius: 999px; margin-bottom: 16px;
}
.spotlight-badge svg { width: 14px; height: 14px; }
.spotlight-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 10px; }
.spotlight-meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.97rem; }
.spotlight-meta svg { width: 17px; height: 17px; color: var(--purple-600); flex-shrink: 0; }
.ba-hint { text-align: center; color: var(--muted); font-size: 0.86rem; margin-top: 14px; }

/* Project spotlight: slider left, photos right */
.spotlight-grid { display: grid; grid-template-columns: minmax(0, 470px) 1fr; gap: 40px; align-items: start; }
.spotlight-slider .ba { max-width: 470px; }
/* Desktop: stretch the slider to match the photo grid's height */
@media (min-width: 901px) {
  .spotlight-grid { align-items: stretch; grid-template-columns: 470px 1fr; }
  .spotlight-slider { display: flex; flex-direction: column; }
  .spotlight-slider .ba { flex: 1 1 auto; min-height: 0; aspect-ratio: auto; width: 100%; }
}
.spotlight-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.spotlight-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow-sm); transition: transform 0.4s var(--ease); }
.spotlight-photos img:hover { transform: scale(1.03); }
.spotlight-photos .sp-item { position: relative; margin: 0; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.spotlight-photos .sp-item img { border-radius: 0; box-shadow: none; }
.sp-tag { position: absolute; top: 8px; left: 8px; z-index: 2; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; padding: 4px 9px; border-radius: 999px; }
.sp-before { background: rgba(28,22,34,0.72); }
.sp-after { background: rgba(122,31,165,0.84); }

/* ---------- Work gallery (projects + misc) ---------- */
.proj-group { margin-top: 46px; }
.proj-group:first-of-type { margin-top: 0; }
.proj-head { display: flex; align-items: baseline; gap: 6px 14px; margin-bottom: 16px; flex-wrap: wrap; }
.proj-head h3 { font-size: 1.5rem; }
.proj-loc { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.proj-loc svg { width: 15px; height: 15px; color: var(--purple-600); flex: none; }
.proj-note { color: var(--muted); font-size: 0.92rem; }
.ph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); gap: 14px; }
.ph { margin: 0; position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); background: #ececec; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.ph:hover img { transform: scale(1.04); }
.ph-grid.featured { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; }
.ph-grid.featured .ph { aspect-ratio: 4 / 3; border-radius: 18px; box-shadow: var(--shadow); }
/* mosaic: one large 2x2 tile beside smaller ones */
.ph-grid.mosaic { grid-template-columns: repeat(3, 1fr); }
.ph-grid.mosaic .ph.big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
/* duo: two large pics side by side on top, four smaller ones underneath */
.ph-grid.duo { grid-template-columns: repeat(4, 1fr); }
.ph-grid.duo .ph.big { grid-column: span 2; aspect-ratio: 3 / 2; }
@media (max-width: 900px) {
  .ph-grid.duo { grid-template-columns: repeat(2, 1fr); }
  .ph-grid.duo .ph.big { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
}
@media (max-width: 560px) {
  .ph-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ph-grid.mosaic { grid-template-columns: 1fr 1fr; }
  .ph-grid.mosaic .ph.big { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
}
@media (max-width: 900px) {
  .spotlight-grid { grid-template-columns: 1fr; gap: 28px; }
  .spotlight-slider .ba { margin: 0 auto; }
}

/* ---------- Funnel choice cards ---------- */
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; max-width: 980px; margin: 0 auto; }
.choice-grid.two { max-width: 820px; grid-template-columns: 1fr 1fr; }
.choice-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.choice-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.choice-icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--purple-600), var(--purple-500)); color: #fff; margin-bottom: 20px; }
.choice-icon svg { width: 30px; height: 30px; }
.choice-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.choice-card p { color: var(--muted); margin-bottom: 22px; font-size: 0.98rem; }
.choice-go { margin-top: auto; color: var(--purple-600); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s var(--ease); }
.choice-card:hover .choice-go { gap: 11px; }
.choice-back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: 0.92rem; margin-bottom: 22px; }
.choice-back:hover { color: var(--purple-600); }
@media (max-width: 680px) { .choice-grid.two { grid-template-columns: 1fr; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards-grid, .process, .reviews-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-media { max-width: 460px; }
  .financing-inner { grid-template-columns: 1fr; gap: 36px; }
  .financing-visual { order: -1; }
  .financing-phone { width: 250px; }
  .financing-seal { width: 100px; bottom: 36px; left: 18%; }
  .cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
}

/* Header switches to the hamburger menu early, so the inline nav never crowds the logo */
@media (max-width: 900px) {
  .header-inner { display: flex; align-items: center; justify-content: space-between; }
  .brand { min-width: 0; }
  .brand-logo { height: 54px; }
  .btn-phone { display: none; }
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed; top: 74px; left: 0; right: 0;
    justify-self: stretch; width: 100vw;
    flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 6px 24px 22px;
    box-shadow: var(--shadow);
    z-index: 90;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-item { width: 100%; }
  .main-nav > .nav-link,
  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .nav-link::after { display: none; }
  .nav-item:hover .chev { transform: none; }
  .dropdown-toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
  .dropdown {
    position: static; transform: none;
    opacity: 1; visibility: visible; pointer-events: auto;
    background: transparent; border: none; box-shadow: none; border-radius: 0;
    min-width: 0; padding: 0; z-index: auto;
    max-height: 0; overflow: hidden;
    transition: max-height 0.32s var(--ease);
  }
  .dropdown::before { display: none; }
  .dropdown.open { max-height: 340px; }
  .dropdown li a {
    padding: 13px 0 13px 18px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1rem;
    color: var(--muted);
  }
}

@media (max-width: 720px) {
  .btn-quote { display: none; }
  .brand-logo { height: 50px; }
  .section { padding: 68px 0; }
  .cards-grid, .process, .reviews-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
  .hero { min-height: auto; }
  .hero-content { padding-top: 150px; padding-bottom: 40px; }
  .field-row { grid-template-columns: 1fr; }
  .about-media-badge { right: 12px; }
}
