/* ==========================================================================
   Royal Hands Handyman Services — Design System
   Brand: Royal purple + gold. "We take pride in every job."
   Built by FluxGrid Studio.
   ========================================================================== */

/* ---- Design tokens ---------------------------------------------------- */
:root {
  /* Brand */
  --purple: #6a2c91;
  --purple-600: #5b2580;
  --purple-700: #491d68;
  --purple-800: #341049;
  --purple-900: #240b33;
  --gold: #e2a019;
  --gold-400: #efc04a;
  --gold-600: #8a5e00;

  /* Neutrals */
  --ink: #1f1828;
  --body: #3d3650;
  --muted: #6b6478;
  --line: #e7e2ee;
  --bg: #ffffff;
  --bg-soft: #faf8fc;
  --bg-tint: #f4eefa;
  --white: #ffffff;

  /* Utility */
  --ok: #1f8a4c;
  --shadow-sm: 0 1px 2px rgba(36, 11, 51, .06), 0 1px 3px rgba(36, 11, 51, .08);
  --shadow: 0 6px 18px rgba(36, 11, 51, .08);
  --shadow-lg: 0 18px 50px rgba(36, 11, 51, .16);
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  --maxw: 1180px;
  --gut: clamp(1.1rem, 4vw, 2rem);

  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---- Reset / base ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--purple-700); }
strong { color: var(--ink); font-weight: 700; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
/* Focus ring: context-aware color so the indicator passes 3:1 on every surface */
:focus-visible { outline: 3px solid var(--purple-700); outline-offset: 2px; border-radius: 4px; }
/* On dark brand surfaces, switch to a light gold ring */
.hero :focus-visible, .page-hero :focus-visible, .bg-purple :focus-visible,
.cta-band :focus-visible, .trust-strip :focus-visible, .site-footer :focus-visible,
.topbar :focus-visible { outline-color: var(--gold-400); }
/* Gold CTAs: dark ring on light pages, light ring when sitting on dark brand surfaces */
.btn-gold:focus-visible, .call-fab:focus-visible { outline-color: var(--purple-900); }
.hero .btn-gold:focus-visible, .page-hero .btn-gold:focus-visible,
.cta-band .btn-gold:focus-visible, .bg-purple .btn-gold:focus-visible { outline-color: #fff; }

/* ---- Layout helpers --------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.container-narrow { max-width: 820px; }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-sm { padding-block: clamp(2.2rem, 5vw, 3.5rem); }
.bg-soft { background: var(--bg-soft); }
.bg-tint { background: var(--bg-tint); }
.bg-purple { background: var(--purple-800); color: #efeaf4; }
.bg-purple h1, .bg-purple h2, .bg-purple h3 { color: #fff; }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-family: var(--font-body); font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; font-size: .76rem;
  color: var(--gold-600); margin-bottom: .7rem;
}
.bg-purple .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: var(--gold-400); }
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--body); }
.bg-purple .lead { color: #d9cfe6; }
.measure { max-width: 64ch; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.section-head { max-width: 720px; margin-bottom: 2.4rem; }
.section-head.center { margin-inline: auto; }

/* ---- Buttons (liquid glass) ------------------------------------------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .15s ease, border-color .2s ease;
  text-align: center; line-height: 1.2; min-height: 48px;
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  backdrop-filter: blur(10px) saturate(150%);
}
/* glossy top sheen — the "glass" highlight, on every CTA */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.38), rgba(255,255,255,.06) 42%, rgba(255,255,255,0) 60%);
  pointer-events: none;
}
/* liquid light-sweep on hover */
.btn::after {
  content: ""; position: absolute; top: 0; left: -75%; width: 55%; height: 100%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-18deg); opacity: 0; pointer-events: none;
}
.btn:hover::after { animation: btn-sheen .75s ease; }
@keyframes btn-sheen { from { left: -75%; opacity: .9; } to { left: 125%; opacity: 0; } }
.btn:active { transform: translateY(1px); }

/* Gold primary — stays opaque for AA contrast, gains glass gloss */
.btn-gold {
  background: linear-gradient(180deg, var(--gold-400), var(--gold) 70%); color: #2a1a02;
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 8px 20px rgba(226,160,25,.32), inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 2px rgba(150,95,5,.25);
}
.btn-gold:hover { background: linear-gradient(180deg, #f6cd63, var(--gold-400) 75%); color: #2a1a02; box-shadow: 0 12px 30px rgba(226,160,25,.46), inset 0 1px 0 rgba(255,255,255,.65); }

/* Purple — opaque glossy glass */
.btn-purple {
  background: linear-gradient(180deg, var(--purple-600), var(--purple-700)); color: #fff;
  border-color: rgba(255,255,255,.2);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.3);
}
.btn-purple:hover { background: linear-gradient(180deg, var(--purple), var(--purple-700)); color: #fff; box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.4); }

/* Outline — light frosted glass tint over white backgrounds */
.btn-outline {
  background: rgba(106,44,145,.06); color: var(--purple); border-color: rgba(106,44,145,.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
.btn-outline:hover { background: var(--purple); color: #fff; border-color: var(--purple); box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.25); }

/* Ghost-light — true frosted glass for dark / hero backgrounds */
.btn-ghost-light {
  background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 4px 16px rgba(36,11,51,.18);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.95); color: var(--purple-800); border-color: rgba(255,255,255,.9); }

.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.06rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---- Top bar + header ------------------------------------------------- */
.topbar {
  background: var(--purple-900); color: #d9cfe6; font-size: .85rem;
}
.topbar .container { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; align-items: center; justify-content: center; padding-block: .45rem; }
.topbar a { color: #f1e7fb; font-weight: 600; }
.topbar a:hover { color: var(--gold-400); }
.topbar .sep { opacity: .4; }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .6rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-head); }
.brand img { height: 52px; width: auto; }
.brand .brand-txt { display: none; line-height: 1.05; }
.brand .brand-txt b { display: block; color: var(--purple); font-size: 1.06rem; letter-spacing: .01em; }
.brand .brand-txt span { display: block; color: var(--gold-600); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-family: var(--font-body); font-weight: 700; }
@media (min-width: 520px) { .brand .brand-txt { display: block; } }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { width: 26px; height: 3px; background: var(--purple-800); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-menu { display: flex; align-items: center; gap: .2rem; }
.nav-menu > li { position: relative; list-style: none; }
.nav-menu a, .nav-menu .menu-btn {
  display: inline-flex; align-items: center; gap: .3rem; font-weight: 600; font-size: .96rem;
  color: var(--ink); padding: .6rem .7rem; border-radius: 8px; background: none; border: 0; cursor: pointer; font-family: var(--font-body);
}
.nav-menu a:hover, .nav-menu .menu-btn:hover, .nav-menu [aria-current="page"] { color: var(--purple); background: var(--bg-tint); }
.nav-menu .caret { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -3px; transition: transform .2s; }
.has-mega > .menu-btn[aria-expanded="true"] .caret { transform: rotate(-135deg); margin-top: 2px; }
.nav-cta { margin-left: .4rem; }

.mega {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 1rem; min-width: 560px; display: none; grid-template-columns: 1fr 1fr; gap: .2rem .8rem;
}
.mega.wide { grid-template-columns: 1fr 1fr 1fr; min-width: 720px; }
.has-mega:hover .mega, .mega.open { display: grid; }
/* Desktop only: keyboard focus reveals the panel (mobile uses the JS .open toggle) */
@media (min-width: 961px) { .has-mega:focus-within .mega { display: grid; } }
.mega a { display: block; padding: .5rem .6rem; font-weight: 600; color: var(--ink); }
.mega a small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.mega a:hover { background: var(--bg-tint); color: var(--purple); }
.mega .mega-head { grid-column: 1 / -1; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-600); font-weight: 700; padding: .2rem .6rem; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); background: #fff;
    flex-direction: column; align-items: stretch; gap: .1rem; padding: 5rem 1.1rem 2rem;
    box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .28s ease;
    overflow-y: auto; z-index: 70;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-menu > li { width: 100%; }
  .nav-menu a, .nav-menu .menu-btn { width: 100%; justify-content: space-between; padding: .8rem .7rem; font-size: 1.02rem; }
  .nav-cta { margin: .6rem 0 0; }
  .nav-cta a { background: var(--gold); color: #2a1a02; justify-content: center; }
  .mega { position: static; transform: none; display: none; min-width: 0; width: 100%; box-shadow: none; border: 0; border-left: 3px solid var(--bg-tint); border-radius: 0; padding: .2rem 0 .4rem .6rem; grid-template-columns: 1fr; }
  .mega.wide { min-width: 0; grid-template-columns: 1fr; }
  .mega.open { display: block; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(36,11,51,.45); z-index: 65; opacity: 0; pointer-events: none; transition: opacity .25s; }
  .nav-backdrop.show { opacity: 1; pointer-events: auto; }
}

/* ---- Hero ------------------------------------------------------------- */
.hero { position: relative; background: linear-gradient(135deg, var(--purple-800) 0%, var(--purple-600) 55%, var(--purple) 100%); color: #fff; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -8%; top: -30%; width: 520px; height: 520px; background: radial-gradient(circle, rgba(226,160,25,.28), transparent 62%); pointer-events: none; }
.hero .container { position: relative; display: grid; gap: 2.4rem; align-items: center; padding-block: clamp(3rem, 8vw, 5.5rem); }
@media (min-width: 900px) { .hero .container { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--gold-400); }
.hero p { color: #e4dbef; font-size: clamp(1.05rem, 2vw, 1.22rem); }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem .9rem; margin-top: 1.4rem; }
.hero-badge { display: inline-flex; align-items: center; gap: .45rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: .45rem .8rem; border-radius: 999px; font-size: .85rem; font-weight: 600; color: #fff; }
.hero-badge svg { color: var(--gold-400); }
.hero-card { background: #fff; color: var(--body); border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow-lg); }
.hero-card h2 { font-size: 1.4rem; margin-bottom: .3rem; }
.page-hero { background: linear-gradient(135deg, var(--purple-800), var(--purple-600)); color: #fff; }
.page-hero .container { padding-block: clamp(2.6rem, 6vw, 4rem); }
.page-hero h1 { color: #fff; max-width: 22ch; }
.page-hero p { color: #e0d5ee; max-width: 60ch; }

/* ---- Breadcrumbs ------------------------------------------------------ */
.crumbs { font-size: .82rem; color: rgba(255,255,255,.8); margin-bottom: .8rem; }
.crumbs a { color: rgba(255,255,255,.9); font-weight: 600; }
.crumbs a:hover { color: var(--gold-400); }
.crumbs .sep { margin-inline: .4rem; opacity: .55; }

/* ---- Cards & grids ---------------------------------------------------- */
.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card { background: #fff; color: var(--body); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s; height: 100%; }
.card p { color: var(--body); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #e0d3ee; }
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.card-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; margin-top: .6rem; }
.card-link::after { content: "→"; transition: transform .15s; }
.card:hover .card-link::after { transform: translateX(4px); }

.svc-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 13px; background: var(--bg-tint); color: var(--purple); margin-bottom: 1rem; }
.svc-icon svg { width: 28px; height: 28px; }
.card.feature .svc-icon { background: linear-gradient(135deg, var(--purple), var(--purple-600)); color: var(--gold-400); }

/* ---- Feature / split rows --------------------------------------------- */
.split { display: grid; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } .split.reverse > :first-child { order: 2; } }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--bg-tint); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Photo service cards --------------------------------------------- */
.card-photo {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background-color: var(--purple-800); background-size: cover; background-position: center;
  border: 1px solid rgba(255,255,255,.08); min-height: 320px;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem;
}
.card-photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(36,11,51,.22) 0%, rgba(36,11,51,.72) 52%, rgba(20,6,30,.95) 100%);
  transition: background .25s ease;
}
.card-photo > * { position: relative; }
.card-photo h3 { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.card-photo p { color: rgba(255,255,255,.92); text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.card-photo .card-link { color: var(--gold-400); }
.card-photo:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(226,160,25,.55); }
.card-photo:hover::before { background: linear-gradient(180deg, rgba(36,11,51,.28) 0%, rgba(36,11,51,.76) 50%, rgba(20,6,30,.97) 100%); }
.card-photo .svc-icon {
  background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.card.feature.card-photo .svc-icon { background: rgba(255,255,255,.18); color: var(--gold-400); }

/* ---- Photo heroes ----------------------------------------------------- */
.hero.has-photo { background-size: cover; background-position: center; }
.hero.has-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(120deg, rgba(52,16,73,.94) 0%, rgba(73,29,104,.82) 48%, rgba(36,11,51,.74) 100%);
}
.hero.has-photo .container { z-index: 2; }
.page-hero.has-photo { position: relative; background-size: cover; background-position: center; }
.page-hero.has-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(120deg, rgba(52,16,73,.93) 0%, rgba(73,29,104,.8) 50%, rgba(36,11,51,.8) 100%);
}
.page-hero.has-photo .container { position: relative; z-index: 1; }

/* ---- Check lists ------------------------------------------------------ */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.ticks li { position: relative; padding-left: 2rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .15rem; width: 1.35rem; height: 1.35rem;
  border-radius: 50%; background: var(--bg-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236a2c91' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.ticks.on-purple li::before { background-color: rgba(255,255,255,.14); }
.ticks.cols { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ---- Stats / trust strip --------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; text-align: center; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--gold-400); line-height: 1; }
.stat span { font-size: .9rem; color: #d9cfe6; }
.trust-strip { background: var(--purple-900); color: #cdbfe0; }
.trust-strip .container { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: center; padding-block: 1rem; font-weight: 600; font-size: .92rem; }
.trust-strip .ti { display: inline-flex; align-items: center; gap: .5rem; }
.trust-strip svg { color: var(--gold-400); flex: none; }

/* ---- Steps ------------------------------------------------------------ */
.steps { counter-reset: step; display: grid; gap: 1.2rem; }
.step { position: relative; padding-left: 4rem; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 2.9rem; height: 2.9rem; display: grid; place-items: center; border-radius: 50%; background: var(--purple); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; box-shadow: var(--shadow); }

/* ---- Testimonials ----------------------------------------------------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); height: 100%; display: flex; flex-direction: column; }
.quote .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: .6rem; }
.quote blockquote { font-size: 1.04rem; color: var(--ink); margin: 0 0 1rem; }
.quote .who { margin-top: auto; font-weight: 700; color: var(--purple); }
.quote .who small { display: block; font-weight: 500; color: var(--muted); }

/* ---- Gallery ---------------------------------------------------------- */
.gal-filter { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 1.8rem; }
.gal-filter button { background: #fff; border: 1px solid var(--line); color: var(--ink); padding: .5rem 1rem; border-radius: 999px; font-weight: 600; cursor: pointer; font-family: var(--font-body); }
.gal-filter button[aria-pressed="true"] { background: var(--purple); color: #fff; border-color: var(--purple); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.gal-item { border-radius: var(--radius); overflow: hidden; background: var(--bg-tint); aspect-ratio: 4/3; position: relative; box-shadow: var(--shadow-sm); }
.gal-item .ba { display: grid; grid-template-columns: 1fr 1fr; height: 100%; }
.gal-item .ba > div { display: grid; place-items: center; padding: 1rem; text-align: center; font-weight: 700; color: var(--purple-800); }
.gal-item .ba .before { background: #efe7f6; }
.gal-item .ba .after { background: linear-gradient(135deg, var(--gold-400), var(--gold)); color: #2a1a02; }
.gal-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(36,11,51,.85)); color: #fff; padding: 1.4rem .9rem .7rem; font-size: .85rem; font-weight: 600; }

/* ---- Accordion (FAQ) -------------------------------------------------- */
.accordion { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-q { width: 100%; text-align: left; background: none; border: 0; padding: 1.1rem 1.2rem; font-size: 1.05rem; font-weight: 700; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center; font-family: var(--font-body); }
.acc-q:hover { color: var(--purple); }
.acc-q .ico { flex: none; width: 22px; height: 22px; position: relative; }
.acc-q .ico::before, .acc-q .ico::after { content: ""; position: absolute; background: var(--purple); border-radius: 2px; inset: 0; margin: auto; }
.acc-q .ico::before { width: 14px; height: 2.5px; }
.acc-q .ico::after { width: 2.5px; height: 14px; transition: transform .2s; }
.acc-q[aria-expanded="true"] .ico::after { transform: rotate(90deg); opacity: 0; }
.acc-a { padding: 0 1.2rem; max-height: 0; overflow: hidden; transition: max-height .28s ease, padding .28s ease; }
.acc-a[hidden] { display: block; }
.acc-a > div { padding-bottom: 1.1rem; color: var(--body); }

/* ---- Forms ------------------------------------------------------------ */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 4vw, 2.2rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; color: var(--ink); margin-bottom: .35rem; font-size: .94rem; }
.field .req { color: #b3261e; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg-soft);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .8rem .9rem; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(106,44,145,.16); }
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .field-row.two { grid-template-columns: 1fr 1fr; } }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: .3rem; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .55rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice label { display: flex; align-items: center; gap: .5rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .65rem .8rem; cursor: pointer; font-weight: 600; font-size: .92rem; margin: 0; background: var(--bg-soft); }
.choice input:checked + label { border-color: var(--purple); background: var(--bg-tint); color: var(--purple); box-shadow: 0 0 0 1px var(--purple) inset; }
.choice input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; }
.form-note { font-size: .84rem; color: var(--muted); }
.form-success { display: none; background: #eef8f1; border: 1px solid #bfe4cb; color: #155e34; padding: 1rem 1.1rem; border-radius: var(--radius-sm); margin-bottom: 1rem; font-weight: 600; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- CTA band --------------------------------------------------------- */
.cta-band { background: linear-gradient(135deg, var(--purple-700), var(--purple)); color: #fff; border-radius: var(--radius-lg); padding: clamp(1.8rem, 5vw, 3rem); text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; left: -10%; bottom: -60%; width: 360px; height: 360px; background: radial-gradient(circle, rgba(226,160,25,.3), transparent 60%); }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: #e4dbef; position: relative; max-width: 56ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; position: relative; }

/* ---- Pricing ---------------------------------------------------------- */
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.price-table th, .price-table td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
.price-table thead th { background: var(--purple-800); color: #fff; font-family: var(--font-body); }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table td:last-child, .price-table th:last-child { text-align: right; white-space: nowrap; font-weight: 700; color: var(--purple); }
.tier-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.tier { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; display: flex; flex-direction: column; }
.tier.featured { border-color: var(--gold); box-shadow: var(--shadow-lg); position: relative; }
.tier.featured::before { content: "Most Popular"; position: absolute; top: -.85rem; left: 50%; transform: translateX(-50%); background: var(--gold); color: #2a1a02; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .8rem; border-radius: 999px; }
.tier .price { font-family: var(--font-head); font-size: 2.2rem; color: var(--ink); }
.tier .price small { font-size: .9rem; color: var(--muted); font-family: var(--font-body); font-weight: 600; }
.tier ul { margin: 1rem 0 1.4rem; }
.tier .btn { margin-top: auto; }

/* ---- Footer ----------------------------------------------------------- */
.site-footer { background: var(--purple-900); color: #c3b4d6; padding-block: clamp(2.6rem, 6vw, 3.6rem) 1.4rem; font-size: .92rem; }
.site-footer a { color: #d9cce9; }
.site-footer a:hover { color: var(--gold-400); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1.4fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-brand img { height: 60px; background: #fff; border-radius: 12px; padding: 6px; }
.footer-brand p { margin-top: .9rem; max-width: 34ch; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .8rem; color: var(--gold-400); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-contact li { display: flex; gap: .55rem; margin-bottom: .6rem; }
.footer-contact svg { color: var(--gold-400); flex: none; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.4rem; padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; align-items: center; font-size: .82rem; color: #9d8db4; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.fg-credit { display: flex; justify-content: center; margin-top: 1.4rem; }
.fg-credit a { display: inline-flex; align-items: center; gap: .5rem; font-size: .75rem; color: #9d8db4; }
.fg-credit a:hover { color: #fff; }
.fg-credit img { height: 20px; width: auto; }

/* ---- Floating call button (mobile) ------------------------------------ */
.call-fab { position: fixed; right: 1rem; bottom: 1rem; z-index: 55; background: linear-gradient(180deg, var(--gold-400), var(--gold) 70%); color: #2a1a02; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.6); }
.call-fab:hover { color: #2a1a02; background: linear-gradient(180deg, #f6cd63, var(--gold-400) 75%); box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.7); }
@media (min-width: 961px) { .call-fab { display: none; } }

/* ---- Misc ------------------------------------------------------------- */
.note { background: var(--bg-tint); border-left: 4px solid var(--gold); border-radius: var(--radius-sm); padding: 1rem 1.2rem; }
.badge-pill { display: inline-flex; align-items: center; gap: .4rem; background: var(--bg-tint); color: var(--purple); border-radius: 999px; padding: .3rem .8rem; font-size: .82rem; font-weight: 700; }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-list a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; font-size: .88rem; font-weight: 600; }
.tag-list a:hover { background: var(--purple); color: #fff; border-color: var(--purple); }
.prose > * + * { margin-top: 1rem; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: #2a1a02; padding: .6rem 1rem; border-radius: 0 0 8px 0; font-weight: 700; z-index: 100; }
.skip-link:focus { left: 0; }
.anchor-nav { display: flex; flex-wrap: wrap; gap: .5rem; }
.anchor-nav a { font-size: .9rem; font-weight: 600; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem; }
.anchor-nav a:hover { background: var(--bg-tint); border-color: var(--purple); }
