/* ==========================================================================
   Purple House Photography - Calgary, Alberta
   Design system: brand purple #763F9C (from the logo), deep plum darks, soft lilac tints, gold accent.
   Fonts: Fraunces (headings) + Manrope (body).
   ========================================================================== */

:root {
  --purple-950: #150a24;
  --purple-900: #1f0f35;
  --purple-800: #2c1649;
  --purple-700: #43206c;
  --purple-600: #5e2f85;
  --purple-500: #763f9c;
  --purple-400: #9368b5;
  --purple-300: #b79ad0;
  --purple-200: #dccbea;
  --purple-100: #eee5f6;
  --purple-50: #f8f4fc;

  --ink: #1d1727;
  --ink-soft: #3a3246;
  --muted: #645b71;
  --line: #e5dcee;
  --gold: #e9b44c;
  --gold-600: #8f6410;
  --success: #1f7a4d;
  --danger: #b3261e;

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1200px;
  --narrow: 820px;
  --gutter: clamp(18px, 4vw, 40px);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(31, 15, 53, 0.06), 0 6px 16px -8px rgba(31, 15, 53, 0.14);
  --shadow-md: 0 18px 40px -18px rgba(31, 15, 53, 0.38);
  --shadow-lg: 0 40px 80px -32px rgba(31, 15, 53, 0.5);

  --header-h: 84px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset / base ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 18px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
body.nav-open { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.012em;
  color: var(--purple-950);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; }
a { color: var(--purple-500); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--purple-700); }
ul, ol { padding-left: 1.2rem; }
address { font-style: normal; }
strong { font-weight: 700; }
em { font-style: italic; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--purple-500); color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--purple-700); color: #fff; padding: 0.7rem 1.1rem; border-radius: 10px; text-decoration: none; font-weight: 700; transition: top 0.2s; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout helpers ---------------------------------------------- */
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(var(--narrow), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--tint { background: var(--purple-50); }
.section--dark {
  color: #e2d5ef;
  background: radial-gradient(900px 480px at 90% -10%, rgba(147, 104, 181, 0.35), transparent 60%), linear-gradient(160deg, var(--purple-950), var(--purple-800) 70%, #3b1d5e);
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--tight { padding-block: clamp(44px, 6vw, 76px); }
.lead { font-size: 1.2rem; color: var(--ink-soft); }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.mt-0 { margin-top: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  margin: 0 0 1rem;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--purple-500);
}
.eyebrow .icon { width: 1.2em; height: 1.2em; }
.is-light .eyebrow, .page-hero .eyebrow, .section--dark .eyebrow, .cta-band .eyebrow { color: var(--gold); }

.section-head { max-width: 46rem; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section-head.is-left { margin-inline: 0; text-align: left; }
.section-title { margin-bottom: 0.45em; }
.section-title em, h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--purple-500); }
.is-light .section-title, .is-light .section-lead { color: #fff; }
.is-light .section-title em, .section--dark h2 em, .page-hero h1 em, .cta-band h2 em { color: var(--gold); }
.section-lead { font-size: 1.15rem; color: var(--muted); margin: 0; }
.is-light .section-lead { color: #d9c9ea; }

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem 1.65rem;
  border: 2px solid transparent; border-radius: 999px;
  font: 700 0.95rem/1.1 var(--font-body); letter-spacing: 0.01em; text-decoration: none; text-align: center;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}
.btn .icon { width: 1.15em; height: 1.15em; transition: transform 0.2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-sm { padding: 0.7rem 1.2rem; font-size: 0.88rem; }
.btn-primary { background: var(--purple-500); color: #fff; box-shadow: 0 12px 26px -12px rgba(118, 63, 156, 0.85); }
.btn-primary:hover { background: var(--purple-600); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(118, 63, 156, 0.9); }
.btn-light { background: #fff; color: var(--purple-700); box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.5); }
.btn-light:hover { background: var(--gold); color: var(--purple-950); transform: translateY(-2px); }
.btn-outline { border-color: var(--purple-500); color: var(--purple-600); background: transparent; }
.btn-outline:hover { background: var(--purple-500); color: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--purple-700); border-color: #fff; transform: translateY(-2px); }
.btn-text { padding: 0; border-radius: 0; color: var(--purple-600); border-width: 0; border-bottom: 2px solid var(--purple-200); padding-bottom: 0.2rem; }
.btn-text:hover { color: var(--purple-700); border-color: var(--purple-500); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.8rem; }
.btn-row.is-center { justify-content: center; }

/* ---------- Top bar + header -------------------------------------------- */
.topbar { background: var(--purple-950); color: #d3c3e4; font-size: 0.82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; }
.topbar__where { display: flex; align-items: center; gap: 0.5rem; margin: 0; }
.topbar__links { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.topbar .dot { margin: 0 0.25rem; opacity: 0.6; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 28px -18px rgba(31, 15, 53, 0.45); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { width: auto; height: 62px; }
.header__actions { display: flex; align-items: center; gap: 0.75rem; }

.primary-nav ul { display: flex; align-items: center; gap: 0.2rem; list-style: none; margin: 0; padding: 0; }
.primary-nav li { position: relative; display: flex; align-items: center; }
.nav-link { position: relative; display: block; padding: 0.7rem 0.95rem; font-weight: 700; font-size: 0.95rem; color: var(--ink); text-decoration: none; }
.nav-link::after { content: ""; position: absolute; left: 0.95rem; right: 0.95rem; bottom: 0.35rem; height: 2px; background: var(--purple-500); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
.nav-link:hover { color: var(--purple-600); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--purple-600); }
.has-sub > .nav-link { padding-right: 0.2rem; }
.sub-toggle { border: 0; background: none; padding: 0.45rem 0.5rem 0.45rem 0.1rem; cursor: pointer; color: var(--muted); display: grid; place-items: center; }
.sub-toggle .icon { width: 16px; height: 16px; transition: transform 0.2s; }
.has-sub:hover .sub-toggle .icon, .sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.sub {
  position: absolute; left: -12px; top: 100%; z-index: 5; min-width: 300px; margin: 0; padding: 0.6rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.primary-nav .sub { display: block; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.is-open .sub { opacity: 1; visibility: visible; transform: none; }
.sub li { display: block; }
.sub a { display: block; padding: 0.7rem 0.9rem; border-radius: 12px; text-decoration: none; color: var(--ink); }
.sub a:hover { background: var(--purple-50); }
.sub strong { display: block; font-size: 0.95rem; }
.sub small { display: block; color: var(--muted); font-size: 0.8rem; line-height: 1.4; }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 50%; background: #fff; color: var(--purple-700); cursor: pointer; place-items: center; }
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

.mobile-nav { position: fixed; z-index: 49; left: 0; right: 0; bottom: 0; top: var(--header-h); background: #fff; overflow-y: auto; padding: 1rem var(--gutter) 6rem; display: none; }
.mobile-nav:not([hidden]) { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav > nav > ul > li { border-bottom: 1px solid var(--line); }
.mobile-nav a { display: block; padding: 1rem 0; font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; color: var(--purple-950); text-decoration: none; }
.mobile-nav__row { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav__row button { border: 0; background: var(--purple-50); color: var(--purple-600); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.mobile-nav__row button .icon { width: 18px; height: 18px; transition: transform 0.2s; }
.mobile-nav__row button[aria-expanded="true"] .icon { transform: rotate(180deg); }
.mobile-sub { padding: 0 0 0.8rem 1rem !important; }
.mobile-sub[hidden] { display: none; }
.mobile-sub a { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; padding: 0.6rem 0; color: var(--ink-soft); }
.mobile-nav__foot { display: grid; gap: 1rem; margin-top: 2rem; }
.mobile-nav__foot .btn { font-family: var(--font-body); font-size: 1rem; color: #fff; padding: 1rem 1.4rem; }
.mobile-nav__mail { display: flex !important; align-items: center; gap: 0.6rem; font-family: var(--font-body) !important; font-size: 1rem !important; font-weight: 600 !important; color: var(--purple-600) !important; padding: 0 !important; }
.mobile-nav__mail .icon { width: 20px; height: 20px; }

/* ---------- Home hero ---------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--purple-50), #fff 78%); }
.hero::before {
  content: ""; position: absolute; right: -14%; top: -34%; width: 940px; aspect-ratio: 1; border-radius: 50%;
  border: 2px solid rgba(118, 63, 156, 0.12);
  box-shadow: 0 0 0 64px rgba(118, 63, 156, 0.035), 0 0 0 128px rgba(118, 63, 156, 0.025);
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(36px, 5.5vw, 76px); }
.hero h1 { font-size: clamp(2.45rem, 5.4vw, 4.4rem); letter-spacing: -0.022em; margin-bottom: 0.45em; }
.hero__lead { font-size: 1.16rem; color: var(--ink-soft); max-width: 34rem; }
.hero__lead strong { color: var(--purple-700); }
.hero__sub { font-weight: 700; color: var(--purple-600); font-size: 1.05rem; margin-bottom: 0; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 0.7rem 1.8rem; list-style: none; margin: 2.2rem 0 0; padding: 1.4rem 0 0; border-top: 1px solid var(--line); }
.hero__proof li { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 0.92rem; color: var(--ink-soft); }
.hero__proof .icon { width: 20px; height: 20px; color: var(--purple-500); }
.hero__proof .stars .icon { width: 16px; height: 16px; color: var(--gold); }

/* Moving photo wall */
.wall {
  position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; height: clamp(440px, 50vw, 660px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 11%, #000 89%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 11%, #000 89%, transparent 100%);
}
.wall__col { overflow: hidden; }
.wall__col:nth-child(2) { margin-top: 36px; }
.wall__track { display: grid; gap: 16px; animation: wall-up var(--dur, 70s) linear infinite; will-change: transform; }
.wall__col--down .wall__track { animation-name: wall-down; }
.wall__card { aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--purple-100); box-shadow: var(--shadow-md); }
.wall__card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
@keyframes wall-up { to { transform: translateY(calc(-50% - 8px)); } }
@keyframes wall-down { from { transform: translateY(calc(-50% - 8px)); } to { transform: translateY(0); } }
.wall:hover .wall__track { animation-play-state: paused; }

/* ---------- Client marquee ---------------------------------------------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: #fff; padding: 1.5rem 0 1.6rem; }
.marquee__label { text-align: center; margin: 0 0 1rem; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__group { display: flex; align-items: center; gap: 3.2rem; padding-right: 3.2rem; margin: 0; list-style: none; }
.marquee__group li { display: flex; align-items: center; gap: 3.2rem; font-family: var(--font-head); font-size: 1.5rem; font-weight: 500; color: var(--purple-700); white-space: nowrap; }
.marquee__group li::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Generic split sections -------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 84px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split--top { align-items: start; }
.split__media { position: relative; }
.frame { position: relative; margin: 0; }
.frame img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.frame::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--purple-200); border-radius: var(--radius-lg); z-index: -1; }
.split--reverse .frame::before { inset: 18px 18px -18px -18px; }
.frame--portrait img { aspect-ratio: 4 / 5; object-fit: cover; }
.frame__badge {
  position: absolute; right: -14px; bottom: 28px; background: #fff; border-radius: var(--radius); padding: 0.9rem 1.2rem; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 0.8rem; font-weight: 700; font-size: 0.9rem; line-height: 1.3;
}
.frame__badge strong { font-family: var(--font-head); font-size: 2rem; color: var(--purple-500); line-height: 1; }
.split__body h2 { margin-bottom: 0.5em; }
.split__body .btn-row { margin-top: 1.6rem; }

/* ---------- Stats -------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin: 0; padding: 0; list-style: none; }
.stat { text-align: center; }
.stat__value { font-family: var(--font-head); font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 600; line-height: 1; color: #fff; }
.stat__value span { color: var(--gold); }
.stat__label { margin-top: 0.7rem; color: #cdb9e1; font-size: 0.95rem; line-height: 1.45; }
.stats--light .stat__value { color: var(--purple-700); }
.stats--light .stat__value span { color: var(--gold-600); }
.stats--light .stat__label { color: var(--muted); }

/* ---------- Audience grid ----------------------------------------------- */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.audience li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.4rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.audience li:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--purple-300); }
.audience__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--purple-100); color: var(--purple-600); margin-bottom: 1rem; }
.audience__icon .icon { width: 26px; height: 26px; }
.audience h3 { font-size: 1.15rem; margin-bottom: 0.4em; }
.audience p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

/* ---------- Steps / process --------------------------------------------- */
.process { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 2rem; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(var(--purple-200), var(--purple-500)); }
.step { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 1.3rem; }
.step__num {
  position: relative; z-index: 1; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
  background: #fff; border: 2px solid var(--purple-500); color: var(--purple-600);
  font-family: var(--font-head); font-size: 1.25rem; font-weight: 700;
}
.step__body h3 { margin: 0.2rem 0 0.35em; font-size: 1.3rem; }
.step__body p { margin: 0; color: var(--muted); }
.process__aside { position: sticky; top: calc(var(--header-h) + 24px); }

/* Photo "print" stack */
.print-stack { position: relative; aspect-ratio: 1 / 1.08; }
.print { position: absolute; margin: 0; padding: 12px 12px 12px; background: #fff; border-radius: 6px; box-shadow: var(--shadow-md); }
.print img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.print--1 { width: 56%; left: 0; top: 4%; transform: rotate(-5deg); z-index: 1; }
.print--2 { width: 56%; right: 0; top: 0; transform: rotate(4deg); z-index: 2; }
.print--3 { width: 60%; left: 20%; bottom: 0; transform: rotate(-1.5deg); z-index: 3; }
.print-note {
  position: absolute; z-index: 4; right: -2%; bottom: 10%; background: var(--purple-500); color: #fff; padding: 0.9rem 1.2rem; border-radius: var(--radius);
  box-shadow: var(--shadow-md); font-weight: 700; font-size: 0.9rem; max-width: 190px; line-height: 1.35; transform: rotate(3deg);
}
.print-note strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--gold); line-height: 1; margin-bottom: 0.15rem; }

/* ---------- Cards (services) -------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card__figure { position: relative; }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--purple-100); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(transparent, rgba(21, 10, 36, 0.55)); }
.card__icon { position: absolute; z-index: 2; left: 1.6rem; bottom: -26px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--purple-500); color: #fff; box-shadow: 0 10px 22px -8px rgba(118, 63, 156, 0.8); }
.card__icon .icon { width: 26px; height: 26px; }
.card__body { display: flex; flex-direction: column; gap: 0.6rem; flex: 1; padding: 2.1rem 1.6rem 1.7rem; }
.card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.card h3 { margin: 0; font-size: 1.4rem; }
.card__price { flex: none; text-align: right; font-weight: 800; color: var(--purple-600); font-size: 0.95rem; line-height: 1.2; }
.card__price small { display: block; font-weight: 600; color: var(--muted); font-size: 0.75rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; line-height: 1.65; }
.card .checklist { margin-top: 0.4rem; font-size: 0.92rem; }
.card .btn-text { margin-top: auto; align-self: flex-start; }
.card__body > .btn { margin-top: auto; }

/* ---------- Pricing ------------------------------------------------------ */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; gap: 0.9rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.2rem 2rem; box-shadow: var(--shadow-sm); }
.price-card h3 { margin: 0; font-size: 1.45rem; }
.price-card__tag { display: inline-flex; align-self: flex-start; align-items: center; gap: 0.4rem; background: var(--purple-100); color: var(--purple-600); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 999px; padding: 0.35rem 0.8rem; }
.price-card p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.price-card .price { margin: 0.2rem 0 0; font-family: var(--font-head); font-size: clamp(2.8rem, 4.6vw, 3.6rem); font-weight: 600; line-height: 1; color: var(--purple-700); }
.price-card .price small { margin-left: 0.3rem; font-family: var(--font-body); font-size: 0.92rem; font-weight: 600; color: var(--muted); }
.price-card .price .from { margin: 0 0.45rem 0 0; font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; letter-spacing: 0.02em; color: var(--muted); }
.price-card .checklist { margin: 0.3rem 0 0.6rem; font-size: 0.95rem; }
.price-card .btn { margin-top: auto; }
.price-card .btn + .btn { margin-top: 0; }
.price-card__extra { border-top: 1px solid var(--line); padding-top: 0.9rem; display: grid; gap: 0.3rem; font-size: 0.95rem; }
.price-card__extra strong { color: var(--purple-700); }
.price-card--feature { background: linear-gradient(160deg, var(--purple-600), var(--purple-800)); border-color: transparent; color: #e7d9f4; box-shadow: var(--shadow-lg); }
.price-card--feature h3, .price-card--feature .price { color: #fff; }
.price-card--feature .price small, .price-card--feature .price .from, .price-card--feature p { color: #d7c4ea; }
.price-card--feature .price-card__tag { background: rgba(255, 255, 255, 0.14); color: var(--gold); }
.price-card--feature .price-card__extra { border-color: rgba(255, 255, 255, 0.18); }
.price-card--feature .price-card__extra strong { color: #fff; }
.price-card--feature .checklist .icon { background: rgba(255, 255, 255, 0.16); color: var(--gold); }
.price-note { margin: 2rem auto 0; max-width: 46rem; text-align: center; color: var(--muted); font-size: 0.95rem; }
.price-note strong { color: var(--ink); }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.checklist li { display: flex; align-items: flex-start; gap: 0.7rem; }
.checklist .icon { width: 22px; height: 22px; padding: 4px; margin-top: 0.18rem; border-radius: 50%; background: var(--purple-100); color: var(--purple-600); }
.checklist--cols { grid-template-columns: repeat(2, 1fr); gap: 0.65rem 2rem; }

/* ---------- Photo grid + lightbox --------------------------------------- */
.photo-grid { --row: 240px; --row-h: var(--row); --gap: 10px; display: flex; flex-wrap: wrap; gap: var(--gap); list-style: none; margin: 0; padding: 0; }
.photo-grid::after { content: ""; flex-grow: 1000000000; }
.photo-grid__item { position: relative; flex: calc(var(--ar) * 100) 1 calc(var(--ar) * var(--row-h)); aspect-ratio: var(--ar); min-width: 0; border-radius: 12px; overflow: hidden; background: var(--purple-100); }
.photo-grid__item[hidden] { display: none; }
.photo-grid__item a { position: absolute; inset: 0; display: block; cursor: zoom-in; }
.photo-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease), filter 0.4s; }
.photo-grid__item:hover img { transform: scale(1.05); }
.photo-grid__zoom { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--purple-700); opacity: 0; transform: scale(0.8); transition: opacity 0.25s, transform 0.25s; }
.photo-grid__zoom .icon { width: 18px; height: 18px; }
.photo-grid__item:hover .photo-grid__zoom, .photo-grid__item a:focus-visible .photo-grid__zoom { opacity: 1; transform: none; }
.photo-grid--tight { --gap: 8px; }

/* Uniform tile grid for short previews (always fills its rows) */
.tiles { --cols: 4; --tile-ratio: 1 / 1; display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 12px; list-style: none; margin: 0; padding: 0; }
.tiles li { position: relative; aspect-ratio: var(--tile-ratio); border-radius: 14px; overflow: hidden; background: var(--purple-100); }
.tiles a { position: absolute; inset: 0; display: block; cursor: zoom-in; }
.tiles img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform 0.8s var(--ease); }
.tiles li:hover img { transform: scale(1.05); }
.tiles .photo-grid__zoom { opacity: 0; }
.tiles li:hover .photo-grid__zoom, .tiles a:focus-visible .photo-grid__zoom { opacity: 1; transform: none; }
.tiles--wide { --tile-ratio: 3 / 2; }
.grid-more { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; margin-top: 2.2rem; }
.grid-more p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.lightbox { position: fixed; inset: 0; z-index: 100; display: none; color: #fff; background: rgba(14, 7, 24, 0.95); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox.is-open { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; padding: 14px clamp(14px, 3vw, 28px); }
.lightbox__count { font-weight: 700; font-size: 0.9rem; letter-spacing: 0.08em; color: #cdb9e1; }
.lightbox__stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 clamp(52px, 8vw, 120px); }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55); transition: opacity 0.25s; }
.lightbox__img.is-loading { opacity: 0.25; }
.lightbox__btn { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer; transition: background 0.2s, transform 0.2s; }
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox__btn .icon { width: 24px; height: 24px; }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: clamp(6px, 2vw, 24px); }
.lightbox__next { right: clamp(6px, 2vw, 24px); }
.lightbox__caption { max-width: 72ch; margin: 0 auto; padding: 14px 24px 22px; text-align: center; font-size: 0.95rem; color: #d3c3e4; }

/* ---------- Reviews ------------------------------------------------------ */
.reviews { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.rating-box { text-align: left; }
.rating-box__score { display: flex; align-items: baseline; gap: 0.6rem; font-family: var(--font-head); font-size: clamp(3.4rem, 7vw, 5.4rem); font-weight: 600; line-height: 1; color: #fff; }
.rating-box__score small { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: #cdb9e1; }
.rating-box .stars .icon { width: 26px; height: 26px; }
.rating-box p { color: #d9c9ea; }
.rating-box .btn { margin-top: 0.6rem; }

.slider { position: relative; }
.slider__viewport { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), visibility 0.55s; }
.slide.is-active { opacity: 1; visibility: visible; transform: none; }
.no-js .slide { grid-area: auto; opacity: 1; visibility: visible; transform: none; margin-bottom: 1rem; }
.slider__controls { display: flex; align-items: center; gap: 1rem; margin-top: 1.4rem; }
.slider__dots { display: flex; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.slider__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.3); cursor: pointer; transition: width 0.3s var(--ease), background 0.3s; }
.slider__dots button[aria-current="true"] { width: 30px; border-radius: 999px; background: var(--gold); }
.slider__btn { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid rgba(255, 255, 255, 0.35); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: background 0.2s; }
.slider__btn:hover { background: rgba(255, 255, 255, 0.18); }
.slider__btn .icon { width: 20px; height: 20px; }
.slider__ctrl-group { display: flex; gap: 0.6rem; margin-left: auto; }

.quote-card { display: flex; flex-direction: column; gap: 1.1rem; height: 100%; margin: 0; padding: 2.1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); color: var(--ink); }
.quote-card__top { display: flex; align-items: center; justify-content: space-between; }
.quote-card__mark .icon { width: 36px; height: 36px; color: var(--purple-200); }
.quote-card blockquote { margin: 0; font-family: var(--font-head); font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.6; color: var(--ink); }
.quote-card blockquote p { margin: 0; }
.quote-card figcaption { display: flex; align-items: center; gap: 0.9rem; margin-top: auto; }
.quote-card figcaption strong { display: block; line-height: 1.2; }
.quote-card figcaption small { display: block; color: var(--muted); font-size: 0.85rem; }
.quote-card__avatar { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--purple-500); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; }
.slider .quote-card { background: rgba(255, 255, 255, 0.98); box-shadow: var(--shadow-lg); border: 0; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars .icon { width: 18px; height: 18px; }
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

/* ---------- Page hero (inner pages) ------------------------------------- */
.page-hero {
  position: relative; overflow: hidden; color: #e2d5ef;
  background: radial-gradient(900px 520px at 88% -10%, rgba(147, 104, 181, 0.5), transparent 60%), linear-gradient(160deg, var(--purple-950), var(--purple-800) 72%, #3b1d5e);
}
.page-hero::before { content: ""; position: absolute; left: -8%; bottom: -55%; width: 640px; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.07); box-shadow: 0 0 0 56px rgba(255, 255, 255, 0.025); pointer-events: none; }
.page-hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(46px, 7vw, 92px); }
.page-hero.has-photo .page-hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.7fr); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.8vw, 3.8rem); margin-bottom: 0.4em; max-width: 18ch; }
.page-hero .lead { color: #dccdec; max-width: 40rem; margin: 0; }
.page-hero__media { position: relative; justify-self: end; width: min(100%, 440px); margin: 0; aspect-ratio: var(--ratio, 4 / 5); border-radius: var(--radius-lg); overflow: visible; }
.page-hero__media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.page-hero__media::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 2px solid rgba(233, 180, 76, 0.55); border-radius: var(--radius-lg); }
.page-hero--wide .page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero--wide .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--wide::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(21, 10, 36, 0.93), rgba(21, 10, 36, 0.72) 55%, rgba(21, 10, 36, 0.4)); }
.page-hero--wide.has-photo .page-hero__inner { grid-template-columns: minmax(0, 1fr); }
.page-hero--wide .page-hero__inner { padding-block: clamp(70px, 10vw, 130px); }

.breadcrumbs { margin: 0 0 1.4rem; font-size: 0.85rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; color: #cdb9e1; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 0.4rem; opacity: 0.5; }
.breadcrumbs a { color: #e9def4; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs [aria-current] { color: #fff; font-weight: 700; }

/* ---------- CTA band ----------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; color: #eadcf6; background: linear-gradient(120deg, var(--purple-600), var(--purple-800) 80%); }
.cta-band::before { content: ""; position: absolute; right: -6%; top: -90%; width: 620px; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.1); box-shadow: 0 0 0 56px rgba(255, 255, 255, 0.04), 0 0 0 112px rgba(255, 255, 255, 0.03); pointer-events: none; }
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; padding-block: clamp(46px, 6vw, 76px); }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.55rem); margin: 0 0 0.35em; max-width: 24ch; }
.cta-band p { margin: 0; max-width: 40rem; color: #e1d2f0; font-size: 1.1rem; }
.cta-band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; flex: none; }
.cta-band__actions .btn-row { margin: 0; }
.cta-band__phone { display: inline-flex; align-items: center; gap: 0.7rem; color: #fff; text-decoration: none; font-size: 1.05rem; }
.cta-band__phone:hover { color: var(--gold); }
.cta-band__phone .icon { width: 22px; height: 22px; color: var(--gold); }

/* ---------- Gallery cards (portfolio index) ----------------------------- */
.gallery-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.gallery-card { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; color: #fff; text-decoration: none; background: var(--purple-800); isolation: isolate; box-shadow: var(--shadow-sm); transition: box-shadow 0.3s, transform 0.3s var(--ease); }
.gallery-card:hover { color: #fff; box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.gallery-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery-card:hover img { transform: scale(1.06); }
.gallery-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(21, 10, 36, 0) 35%, rgba(21, 10, 36, 0.92)); }
.gallery-card__body { position: absolute; inset: auto 0 0 0; padding: 1.8rem; }
.gallery-card__count { display: inline-block; margin-bottom: 0.6rem; padding: 0.3rem 0.8rem; border-radius: 999px; background: rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.gallery-card h3 { color: #fff; margin: 0 0 0.35em; font-size: 1.6rem; }
.gallery-card p { margin: 0 0 1rem; color: #e1d2f0; font-size: 0.97rem; line-height: 1.55; }
.gallery-card__go { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 800; font-size: 0.92rem; color: var(--gold); }
.gallery-card__go .icon { width: 18px; height: 18px; transition: transform 0.2s; }
.gallery-card:hover .gallery-card__go .icon { transform: translateX(4px); }

/* ---------- Staff strip -------------------------------------------------- */
.strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.strip li { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--purple-100); box-shadow: var(--shadow-sm); }
.strip img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform 0.8s var(--ease); }
.strip li:hover img { transform: scale(1.05); }
.strip--3 { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.banner-photo { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.banner-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 40%; }

/* ---------- Contact ------------------------------------------------------ */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: calc(-1 * clamp(40px, 6vw, 70px)); position: relative; z-index: 5; }
.contact-card { display: flex; flex-direction: column; gap: 0.35rem; padding: 1.8rem 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); text-decoration: none; color: var(--ink); transition: transform 0.3s var(--ease), border-color 0.3s; }
.contact-card:hover { transform: translateY(-5px); border-color: var(--purple-300); color: var(--ink); }
.contact-card__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--purple-100); color: var(--purple-600); margin-bottom: 0.7rem; }
.contact-card__icon .icon { width: 26px; height: 26px; }
.contact-card small { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact-card strong { font-family: var(--font-head); font-size: 1.35rem; color: var(--purple-950); line-height: 1.25; word-break: break-word; }
.contact-card span { color: var(--muted); font-size: 0.95rem; }
.contact-card--email strong { font-family: var(--font-body); font-size: 1.02rem; font-weight: 800; letter-spacing: -0.01em; padding-block: 0.35rem; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow-sm); }
.panel h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.info-list { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: 1.1rem; }
.info-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.info-list .icon { width: 22px; height: 22px; margin-top: 0.2rem; color: var(--purple-500); }
.info-list strong { display: block; }
.info-list small { color: var(--muted); display: block; }
.info-list a { font-weight: 600; }

.map-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--purple-100); aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; filter: saturate(0.75) hue-rotate(-12deg) contrast(1.02); }
.map-card__pin { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -100%); color: var(--purple-500); filter: drop-shadow(0 6px 8px rgba(31, 15, 53, 0.45)); pointer-events: none; }
.map-card__pin .icon { width: 46px; height: 46px; fill: var(--purple-500); stroke: #fff; stroke-width: 1.6; }
.map-card__link { position: absolute; inset: 0; z-index: 3; }
.map-card__button { position: absolute; left: 14px; bottom: 14px; z-index: 4; padding: 0.65rem 1.1rem; font-size: 0.85rem; pointer-events: none; }

/* ---------- Forms -------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.3rem; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 0.4rem; font-weight: 700; font-size: 0.9rem; }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.92rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.4;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #736a80; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--purple-500); box-shadow: 0 0 0 4px rgba(118, 63, 156, 0.16); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field-error { margin: 0.35rem 0 0; color: var(--danger); font-size: 0.85rem; font-weight: 600; }
.field-error[hidden] { display: none; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 2.8rem; cursor: pointer; }
.select .icon { position: absolute; right: 1rem; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.6rem; margin-top: 1.5rem; }
.form-note { display: flex; gap: 0.6rem; align-items: flex-start; flex: 1 1 260px; margin: 0; font-size: 0.85rem; color: var(--muted); line-height: 1.5; }
.form-note .icon { width: 18px; height: 18px; margin-top: 0.1rem; color: var(--purple-500); }
.form-alert { padding: 0.95rem 1.15rem; margin-bottom: 1.3rem; border-radius: var(--radius-sm); font-weight: 600; line-height: 1.5; }
.form-alert[hidden] { display: none; }
.form-alert.is-success { background: #e7f5ee; color: #165c3a; border: 1px solid #bfe3cf; }
.form-alert.is-error { background: #fcecea; color: #8e1c15; border: 1px solid #f3c4bf; }
.form.is-sending .btn { opacity: 0.7; pointer-events: none; }
.form-success { text-align: center; padding: 1.5rem 0.5rem; }
.form-success .icon { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: #e7f5ee; color: var(--success); margin: 0 auto 1rem; }
.form-success h3 { margin-bottom: 0.4em; }

/* ---------- FAQ ---------------------------------------------------------- */
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.25s, box-shadow 0.25s; }
.faq__item[open] { border-color: var(--purple-300); box-shadow: var(--shadow-sm); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; cursor: pointer; list-style: none; font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; color: var(--purple-950); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { width: 22px; height: 22px; color: var(--purple-500); transition: transform 0.25s; }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__answer { padding: 0 1.4rem 1.3rem; color: var(--muted); }
.faq__answer p { margin: 0; }

/* ---------- Chips -------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 0.55rem 1.2rem; border: 1.5px solid var(--purple-200); border-radius: 999px; background: #fff; color: var(--purple-700); font-family: var(--font-head); font-size: 1.15rem; font-weight: 500; }
.chips .chips__more { border-style: dashed; color: var(--muted); font-family: var(--font-body); font-size: 1rem; background: transparent; }

/* ---------- Tips / mini cards ------------------------------------------- */
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.mini-grid li { padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.mini-grid .icon { width: 28px; height: 28px; color: var(--purple-500); margin-bottom: 0.8rem; }
.mini-grid h3 { font-size: 1.12rem; margin-bottom: 0.35em; }
.mini-grid p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.book-card { text-align: center; max-width: 780px; margin-inline: auto; padding: clamp(2rem, 4vw, 3.4rem); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.book-card .btn { margin-top: 0.8rem; font-size: 1.05rem; padding: 1.15rem 2.2rem; }
.book-card .btn-row { justify-content: center; }
.book-card__fine { margin: 1.4rem 0 0; color: var(--muted); font-size: 0.92rem; }

/* ---------- Prose (privacy) --------------------------------------------- */
.prose { font-size: 1.04rem; }
.prose h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: 2.2em 0 0.5em; }
.prose h3 { margin: 1.6em 0 0.4em; }
.prose ul { margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.4em; }

/* ---------- 404 ---------------------------------------------------------- */
.not-found { text-align: center; padding-block: clamp(70px, 12vw, 150px); }
.not-found__code { font-family: var(--font-head); font-size: clamp(6rem, 20vw, 12rem); line-height: 1; margin: 0; background: linear-gradient(180deg, var(--purple-500), var(--purple-200)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Footer ------------------------------------------------------- */
.site-footer { background: var(--purple-950); color: #b9a8cc; font-size: 0.95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr 1.3fr; gap: 2.6rem; padding-block: 76px 44px; }
.site-footer h2 { margin: 0 0 1.2rem; font-family: var(--font-body); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; }
.site-footer a { color: #d8c9e8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__logo img { width: 210px; height: auto; margin-bottom: 1.2rem; }
.footer__brand p { max-width: 24rem; }
.footer__social { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.footer__social a { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 600; }
.footer__social .icon { width: 20px; height: 20px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer__contact li { display: grid; grid-template-columns: 22px 1fr; column-gap: 0.8rem; align-items: start; }
.footer__contact .icon { width: 20px; height: 20px; color: var(--gold); margin-top: 0.2rem; }
.footer__contact small { grid-column: 2; display: block; color: #9b8bb0; font-size: 0.82rem; }
.footer__tags { padding-block: 0 44px; }
.footer__tags-title { margin: 0 0 0.9rem; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: #9b8bb0; }
.footer__tags ul { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.footer__tags li { border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; padding: 0.35rem 0.85rem; font-size: 0.8rem; color: #cdbbe0; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem 2rem; padding-block: 22px; font-size: 0.86rem; }
.footer__bottom p { margin: 0; }
.footer__bottom ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }

.mobile-cta { display: none; }

/* ---------- Reveal on scroll -------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .cards, .pricing, .gallery-cards { grid-template-columns: repeat(2, 1fr); }
  .pricing .price-card--feature { order: -1; grid-column: 1 / -1; }
  .audience, .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .photo-grid { --row-h: calc(var(--row) * 0.9); }
  .tiles:not(.tiles--2) { grid-template-columns: repeat(3, 1fr); }
  .strip { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  :root { --header-h: 74px; }
  .topbar { display: none; }
  .primary-nav { display: none; }
  .nav-toggle { display: grid; }
  .brand img { height: 54px; }
  .hero__inner, .page-hero.has-photo .page-hero__inner, .split, .process, .reviews, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__media { order: 0; }
  .hero__copy { order: 1; }
  .wall { order: 2; height: 420px; }
  .page-hero__media { justify-self: start; width: min(100%, 360px); }
  .process__aside { position: static; order: -1; max-width: 420px; margin-inline: auto; }
  .print-stack { max-width: 420px; margin-inline: auto; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 2.4rem; }
  .contact-cards { grid-template-columns: 1fr; margin-top: 2rem; }
  .frame::before { inset: 14px -10px -14px 14px; }
  .frame__badge { right: 12px; }
  .frame--portrait { max-width: 460px; margin-inline: auto; }
  .split__media > .frame:not(.frame--portrait) { max-width: 680px; margin-inline: auto; }
  .quote-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 1rem; padding-bottom: 76px; }
  .cards, .pricing, .gallery-cards, .quote-grid { grid-template-columns: 1fr; }
  .gallery-card { aspect-ratio: 5 / 4; }
  .photo-grid { --row-h: calc(var(--row) * 0.8); --gap: 6px; }
  .tiles { grid-template-columns: repeat(2, 1fr) !important; gap: 8px; }
  .form-grid { grid-template-columns: 1fr; }
  .checklist--cols { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; padding-block: 56px 32px; }
  .footer__bottom-inner { flex-direction: column; }
  .banner-photo img { aspect-ratio: 4 / 3; }
  .quote-card { padding: 1.6rem; }
  .hero__proof { gap: 0.8rem 1.4rem; }
  .btn-row .btn { flex: 1 1 100%; }
  .wall { height: 380px; gap: 10px; }
  .wall__track { gap: 10px; }
  .wall__card { border-radius: 14px; }
  .mobile-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1.25fr; gap: 0.6rem;
    padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform 0.35s var(--ease);
  }
  .mobile-cta.is-visible, .no-js .mobile-cta { transform: none; }
  .mobile-cta .btn { padding: 0.85rem 1rem; font-size: 0.92rem; }
}

@media (max-width: 520px) {
  .header__actions .btn { display: none; }
  .strip { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .audience, .mini-grid { grid-template-columns: 1fr; }
  .stats { gap: 1.6rem 1rem; }
  .print-note { right: 0; }
  .lightbox__stage { padding: 0 8px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 0; transform: none; }
  .lightbox__prev { left: 12px; }
  .lightbox__next { right: 12px; }
  .lightbox__caption { padding-inline: 70px; min-height: 48px; }
}

/* ---------- Motion preferences ------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wall__track, .marquee__track { animation: none; }
  .wall { height: auto; -webkit-mask-image: none; mask-image: none; }
  .wall__track > [data-dup], .marquee__group[aria-hidden="true"] { display: none; }
  .wall__col:nth-child(2) { margin-top: 0; }
  .wall__col .wall__card:nth-child(n + 4) { display: none; }
  .marquee__track { width: auto; flex-wrap: wrap; justify-content: center; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .slide, .card, .card__media img, .gallery-card, .gallery-card img { transition: none; }
}

@media print {
  .topbar, .site-header, .mobile-cta, .cta-band, .site-footer, .lightbox { display: none !important; }
  body { padding: 0; }
}
