/* ============ Public website ============ */
/* Brand colors: change here */
:root {
  --ink: #1d1420;
  --plum: #6d2b86;
  --plum-dark: #521d66;
  --lilac: #cb6ce6;
  --soft: #f4ecf7;
  --page: #faf7fb;
  --card: #ffffff;
  --muted: #6b5f70;
  --line: #e9dfed;
  --bad: #b0261c;
  --r-lg: 28px;
  --r: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d2b86' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: var(--page); }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
a { color: var(--plum); }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(800px, 100% - 32px); }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.tiny { font-size: .8rem; margin: 14px 0 0; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: #fff; padding: 10px 14px; border-radius: 10px; }
:focus-visible { outline: 3px solid var(--lilac); outline-offset: 3px; }
.notice { background: #fff3cd; color: #5c4400; text-align: center; font-size: .82rem; padding: 6px 16px; margin: 0; }
.eyebrow { display: flex; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 700; color: var(--plum); margin-bottom: 18px; }
.eyebrow::after { content: ""; width: 56px; height: 1px; background: currentColor; opacity: .45; }

/* Buttons */
.pill { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 8px 8px 24px; border: 0; border-radius: 999px; background: var(--plum); color: #fff; font: 700 .98rem var(--font); text-decoration: none; cursor: pointer; transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.pill:hover { background: var(--plum-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgb(109 43 134 / 25%); }
.pill:active { transform: translateY(0); }
.pill:disabled { opacity: .6; cursor: wait; transform: none; }
.pill.dark { background: var(--ink); }
.pill.dark:hover { background: #000; }
.pill.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); padding: 8px 22px; }
.pill.ghost:hover { border-color: var(--plum); box-shadow: none; }
.arrow { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #fff var(--arrow) center / 18px no-repeat; transition: transform .35s var(--ease); }
.pill:hover .arrow, .service:hover .arrow { transform: rotate(45deg); }
.link-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1.5px solid var(--lilac); }
.link-btn:hover { color: var(--plum); }
.contacts { display: flex; flex-wrap: wrap; gap: 4px 22px; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 20; padding: 14px 0; transition: padding .3s var(--ease); }
.nav-inner { width: min(1180px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: rgb(255 255 255 / 86%); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 14px; transition: box-shadow .3s var(--ease); }
.nav.scrolled { padding: 8px 0; }
.nav.scrolled .nav-inner { box-shadow: 0 10px 30px rgb(29 20 32 / 8%); }
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.nav-brand img { border-radius: 12px; }
.nav-brand span { display: flex; flex-direction: column; line-height: 1.1; }
.nav-brand b { font-size: 1rem; letter-spacing: -.01em; }
.nav-brand small { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--lilac); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { min-height: 46px; font-size: .9rem; padding-left: 20px; }
.nav-cta .arrow { width: 32px; height: 32px; }

/* Hero */
.hero { padding: 6px 0 0; }
.hero-card { position: relative; width: min(1240px, 100% - 32px); margin-inline: auto; min-height: min(720px, 86vh); border-radius: var(--r-lg); overflow: hidden; background: var(--soft); display: flex; align-items: center; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(250 247 251 / 98%) 0%, rgb(250 247 251 / 92%) 34%, rgb(250 247 251 / 45%) 55%, rgb(250 247 251 / 0%) 72%); }
.fx .hero-media img { animation: settle 2.4s var(--ease) both; }
@keyframes settle { from { scale: 1.07; filter: saturate(.85); } to { scale: 1; filter: none; } }
.hero-media.flip img { transform: scaleX(-1); }
.hero-content { position: relative; padding: 64px clamp(24px, 5vw, 72px); max-width: 720px; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: 22px; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { font-style: normal; color: var(--plum); }
.hero-text { font-size: 1.1rem; color: #4a3f4f; max-width: 32em; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-bottom: 44px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 18px 0; }
.trust li { display: flex; align-items: center; gap: 10px; white-space: nowrap; padding-right: 18px; margin-right: 18px; border-right: 1px solid rgb(29 20 32 / 15%); font-size: .8rem; color: var(--muted); }
.trust li:last-child { border: 0; margin: 0; padding: 0; }
.trust b { display: block; color: var(--ink); font-size: .92rem; }
.trust svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--plum); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }

/* Sections */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section.tint { background: var(--soft); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; }
.photo-note { margin: 16px 0 0; font-size: .8rem; color: var(--muted); text-align: right; }

/* Reveal on scroll */
.fx .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.fx .reveal.in { opacity: 1; transform: none; }
.fx .reveal.settled { transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease); }
.fx .hero .reveal:nth-child(2) { --d: .08s; }
.fx .hero .reveal:nth-child(3) { --d: .16s; }
.fx .hero .reveal:nth-child(4) { --d: .24s; }
.fx .hero .reveal:nth-child(5) { --d: .32s; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service { position: relative; display: flex; flex-direction: column; padding: 30px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); text-decoration: none; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease); }
.service:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgb(29 20 32 / 9%); border-color: transparent; }
.service p { color: var(--muted); flex: 1; }
.service-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--soft); margin-bottom: 22px; transition: background .4s var(--ease); }
.service-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--plum); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s var(--ease); }
.service:hover .service-icon { background: var(--plum); }
.service:hover .service-icon svg { stroke: #fff; }
.service-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; color: var(--plum); }
.service-link .arrow { width: 30px; height: 30px; background-color: var(--soft); }

/* Before & after */
.ba-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.ba-tabs button { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: 600 .9rem var(--font); color: var(--ink); cursor: pointer; transition: all .3s var(--ease); }
.ba-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ba { position: relative; margin: 0; aspect-ratio: 16 / 8.5; border-radius: var(--r-lg); overflow: hidden; background: #ddd; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.ba-before { filter: saturate(.9); }
.ba-tag { position: absolute; top: 18px; padding: 6px 14px; border-radius: 999px; background: rgb(29 20 32 / 70%); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(6px); pointer-events: none; }
.ba-tag.left { left: 18px; }
.ba-tag.right { right: 18px; background: rgb(255 255 255 / 85%); color: var(--ink); }
.ba-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #fff; pointer-events: none; box-shadow: 0 0 0 1px rgb(0 0 0 / 6%); }
.ba-line span { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: #fff; box-shadow: 0 8px 24px rgb(0 0 0 / 22%); }
.ba-line span::before, .ba-line span::after { content: ""; position: absolute; top: 50%; width: 9px; height: 9px; margin-top: -5px; border: solid var(--plum); border-width: 0 0 2.5px 2.5px; }
.ba-line span::before { left: 14px; transform: rotate(45deg); }
.ba-line span::after { right: 14px; transform: rotate(-135deg); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba-range:focus-visible + * { outline: none; }
.ba:has(.ba-range:focus-visible) { outline: 3px solid var(--lilac); outline-offset: 4px; }

/* Process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.steps li { padding: 34px 30px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.steps li:nth-child(2) { --d: .1s; }
.steps li:nth-child(3) { --d: .2s; }
.num { display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--lilac); margin-bottom: 18px; line-height: 1; }
.steps p { color: var(--muted); margin: 0; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: var(--r-lg); }
.about-badge { position: absolute; right: -14px; bottom: 34px; background: var(--ink); color: #fff; border-radius: 20px; padding: 18px 24px; display: flex; flex-direction: column-reverse; box-shadow: 0 18px 40px rgb(29 20 32 / 25%); }
.about-badge b { font-size: 2.1rem; letter-spacing: -.03em; line-height: 1; color: var(--lilac); }
.about-badge span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; margin-bottom: 6px; }
.about-text > div p { color: #4a3f4f; font-size: 1.06rem; }
.signature { font-family: "Great Vibes", cursive; font-size: 2.4rem; color: var(--plum); margin: 8px 0 26px; line-height: 1.2; }

/* Gallery */
.gallery { display: grid; grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 16px; }
.g { margin: 0; overflow: hidden; border-radius: var(--r); background: var(--soft); }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.g:hover img { transform: scale(1.05); }
.g1 { grid-row: span 2; }
.g4 { grid-column: span 2; }
.g2 { --d: .08s; } .g3 { --d: .16s; } .g4 { --d: .24s; }

/* Quote */
.quote-section { background: var(--ink); color: #fff; }
.quote-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.quote-intro { position: sticky; top: 120px; }
.quote-intro .eyebrow { color: var(--lilac); }
.quote-intro > p:not(.eyebrow) { color: #d9cfdd; font-size: 1.06rem; }
.quote-intro .link-btn { color: #fff; }
.quote-intro .muted { color: #b9adbe; margin-top: 18px; }
.quote-card { background: var(--card); color: var(--ink); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); }
.progress { height: 4px; border-radius: 4px; background: var(--soft); overflow: hidden; margin-bottom: 14px; }
.progress span { display: block; height: 100%; width: 33%; background: linear-gradient(90deg, var(--plum), var(--lilac)); border-radius: 4px; transition: width .6s var(--ease); }
.step-count { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 20px; padding: 0; }
.fx .step:not([hidden]) { animation: stepIn .5s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.field { margin-bottom: 20px; }
.label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 10px; }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .9rem; min-width: 0; }
.opt { font-weight: 500; color: var(--muted); font-size: .78rem; }
input, select, textarea { font: inherit; font-size: 16px; font-weight: 500; width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 4px rgb(203 108 230 / 18%); }
textarea { resize: vertical; }
[aria-invalid="true"] { border-color: var(--bad) !important; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.full { grid-column: 1 / -1; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; font-weight: 600; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .9rem; transition: all .25s var(--ease); }
.chip:hover span { border-color: var(--lilac); }
.chip input:checked + span { background: var(--plum); border-color: var(--plum); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--lilac); outline-offset: 2px; }
.chip input[aria-invalid="true"] + span { border-color: var(--bad); }
.check { flex-direction: row; align-items: flex-start; gap: 12px; font-weight: 500; font-size: .86rem; color: #4a3f4f; }
.check input { width: 22px; height: 22px; min-height: 0; flex: none; margin: 1px 0 0; accent-color: var(--plum); }
.hp { position: absolute; left: -9999px; }
.error { color: var(--bad); font-weight: 600; margin: 16px 0 0; }
.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.form-nav #nextBtn { margin-left: auto; }
.thanks { text-align: center; padding-block: 56px; }
.thanks h3 { font-size: 1.8rem; }
.check-icon { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; }
.check-icon svg { width: 34px; height: 34px; fill: none; stroke: var(--plum); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 0; }
.fx .thanks:not([hidden]) .check-icon svg { animation: draw .8s var(--ease) .2s both; }
@keyframes draw { from { stroke-dashoffset: 24; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 700; font-size: 1.06rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-weight: 500; transition: transform .35s var(--ease), background .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--soft); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* Footer */
.footer { background: #0d090e; color: #fff; padding: 56px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.footer-logo { width: 190px; height: auto; }
.footer a { color: #fff; }
.footer p { margin: 0 0 8px; }
.muted-light { color: #a99eae; font-size: .88rem; }
.muted-light a { color: #a99eae; }

/* Floating button (phones) */
.float-cta { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 30; display: none; justify-content: center; align-items: center; min-height: 54px; border-radius: 999px; background: var(--plum); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 14px 34px rgb(29 20 32 / 30%); transform: translateY(120%); transition: transform .45s var(--ease); }
.float-cta.show { transform: none; }

/* Tablet */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-wrap, .about { grid-template-columns: 1fr; }
  .quote-intro { position: static; }
  .about-media { max-width: 520px; }
}
/* Phone */
@media (max-width: 760px) {
  html { scroll-padding-top: 84px; }
  .nav { padding: 10px 0; }
  .nav-brand b { font-size: .92rem; }
  .nav-cta { padding-left: 16px; min-height: 44px; }
  .nav-cta .arrow { display: none; }
  .nav-cta { padding-right: 16px; }
  .hero-card { min-height: 0; flex-direction: column; align-items: stretch; width: calc(100% - 20px); }
  .hero-media { position: relative; height: 300px; }
  .hero-media::after { background: linear-gradient(180deg, rgb(244 236 247 / 0%) 55%, var(--soft) 100%); }
  .hero-content { padding: 8px 22px 32px; }
  .hero h1 { font-size: clamp(2.1rem, 10vw, 2.8rem); }
  .hero-text { font-size: 1rem; }
  .hero-actions { margin-bottom: 30px; }
  .hero-actions .pill { width: 100%; justify-content: space-between; }
  .trust { flex-direction: column; gap: 14px; }
  .trust li { border: 0; margin: 0; padding: 0; }
  .services, .steps { grid-template-columns: 1fr; }
  .service { padding: 24px; }
  .ba { aspect-ratio: 4 / 4.2; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 160px 160px; gap: 10px; }
  .g1 { grid-column: span 2; grid-row: auto; }
  .g4 { grid-column: span 2; }
  .grid { grid-template-columns: 1fr; }
  .step[data-step="1"] .grid { grid-template-columns: 1fr 1fr; }
  .about-badge { right: 12px; }
  .float-cta { display: flex; }
  .footer { padding-bottom: 96px; }
  .photo-note { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
