/* ==========================================================
   KK Property Services — stylesheet
   Brand colours are set once below; change them here.
   ========================================================== */
:root {
  --lav: #c8b7dc;
  --lav-soft: #ece4f5;
  --lav-mist: #f7f3fb;
  --lav-deep: #8a6fae;
  --plum: #2a2233;
  --ink: #15111a;
  --text: #4b4453;
  --white: #ffffff;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius: 22px;
  --shadow: 0 30px 60px -30px rgba(42, 34, 51, .35);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--lav); color: var(--ink); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-items: center;
  background: var(--white);
  transition: opacity .8s var(--ease), visibility .8s;
}
.loader img { width: 180px; animation: pulse 1.4s var(--ease) infinite alternate; }
body:not(.loading) .loader { opacity: 0; visibility: hidden; }
@keyframes pulse { from { opacity: .4; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }

/* ---------- Cursor glow (desktop) ---------- */
.cursor-glow {
  position: fixed; top: 0; left: 0; z-index: 0; pointer-events: none;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,183,220,.35), transparent 65%);
  transform: translate(-50%, -50%);
  opacity: 0; transition: opacity .4s;
}
@media (hover: hover) { body:hover .cursor-glow { opacity: 1; } }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-size: .72rem; letter-spacing: .32em; text-transform: uppercase;
  font-weight: 600; color: var(--lav-deep);
  display: inline-flex; align-items: center; gap: .8rem; margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--lav); }

.section { padding: clamp(80px, 11vw, 140px) clamp(20px, 6vw, 90px); position: relative; z-index: 1; }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 4rem; }
.section__head .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.section__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.08;
  color: var(--ink); margin-bottom: 1.4rem; letter-spacing: -.01em;
}
.section__title em { font-style: italic; color: var(--lav-deep); }
.section__title--light { color: var(--white); }
.section__title--light em { color: var(--lav); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 1.05rem 2.1rem; border-radius: 100px; overflow: hidden;
  font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; cursor: pointer; border: 0;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .4s;
  isolation: isolate;
}
.btn span { position: relative; z-index: 2; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  transform: translateY(101%); border-radius: inherit;
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--primary { background: var(--plum); color: var(--white); box-shadow: 0 14px 30px -12px rgba(42,34,51,.55); }
.btn--primary::before { background: var(--lav-deep); }
.btn--primary:hover { box-shadow: 0 20px 40px -12px rgba(138,111,174,.7); }
.btn--ghost { color: var(--ink); border: 1px solid rgba(21,17,26,.25); }
.btn--ghost::before { background: var(--lav-soft); }
.btn--small { padding: .75rem 1.4rem; background: var(--plum); color: #fff !important; font-size: .68rem; }
.btn--small::before { background: var(--lav-deep); }
.btn--small::after { display: none !important; }
.btn--full { width: 100%; grid-column: 1 / -1; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 70px);
  transition: padding .4s var(--ease), background .4s, box-shadow .4s;
}
.nav.scrolled {
  padding-top: 8px; padding-bottom: 8px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px -20px rgba(42,34,51,.35);
}
.nav__logo img { width: 112px; height: auto; transition: width .4s var(--ease), transform .4s var(--ease); }
.nav.scrolled .nav__logo img { width: 88px; }
.nav__logo:hover img { transform: rotate(-3deg) scale(1.04); }
.nav__links { display: flex; align-items: center; gap: 2.2rem; }
.nav__links a:not(.btn) {
  position: relative; font-size: .76rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 100%;
  background: var(--lav-deep); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__ext span { display: inline-block; transition: transform .4s var(--ease); }
.nav__ext:hover span { transform: translate(3px, -3px); }
.nav__toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 140px clamp(20px, 6vw, 90px) 160px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--white) 0%, var(--lav-mist) 55%, var(--lav-soft) 100%);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: float 16s ease-in-out infinite; }
.orb--1 { width: 520px; height: 520px; background: var(--lav); top: -140px; right: -120px; }
.orb--2 { width: 360px; height: 360px; background: #e7d9f3; bottom: 0; left: -120px; animation-delay: -5s; }
.orb--3 { width: 240px; height: 240px; background: #b49ccf; top: 40%; right: 30%; opacity: .25; animation-delay: -9s; }
@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-30px) scale(1.06); }
  66% { transform: translate(-30px,25px) scale(.95); }
}
.hero__inner { position: relative; z-index: 2; max-width: 780px; }
.hero__title {
  font-family: var(--serif); font-weight: 500; color: var(--ink);
  font-size: clamp(3rem, 8vw, 6.6rem); line-height: .98; letter-spacing: -.02em;
  margin-bottom: 1.8rem;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { font-style: italic; color: var(--lav-deep); }
.hero__lead { max-width: 560px; font-size: 1.06rem; margin-bottom: 2.6rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__anim { opacity: 0; transform: translateY(40px); }
body.ready .hero__anim {
  animation: rise 1.1s var(--ease) forwards; animation-delay: var(--d, 0s);
}
.hero__title .hero__anim { transform: translateY(105%); }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero__card {
  position: absolute; z-index: 2; right: clamp(20px, 7vw, 120px); bottom: 26%;
  padding: 1.5rem 1.7rem; border-radius: 20px; min-width: 290px;
  background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.9);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
body.ready .hero__card { animation: rise 1.1s var(--ease) forwards, bob 6s ease-in-out 2s infinite; animation-delay: var(--d), 2s; }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.hero__card-row { display: flex; align-items: center; gap: .8rem; font-size: .88rem; padding: .55rem 0; color: var(--ink); }
.hero__card-row + .hero__card-row { border-top: 1px solid rgba(42,34,51,.08); }
.hero__card-row strong { margin-left: auto; font-weight: 600; color: var(--lav-deep); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #7fbf9a; box-shadow: 0 0 0 4px rgba(127,191,154,.2); }
.dot--b { background: var(--lav-deep); box-shadow: 0 0 0 4px rgba(138,111,174,.2); }
.dot--c { background: #e0b56b; box-shadow: 0 0 0 4px rgba(224,181,107,.2); }

.hero__wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 180px; z-index: 1; }
.wave--1 { fill: var(--lav); opacity: .55; animation: waveMove 9s ease-in-out infinite alternate; }
.wave--2 { fill: var(--white); }
@keyframes waveMove { from { transform: translateX(0); } to { transform: translateX(-40px) scaleY(1.1); } }

.scroll-hint {
  position: absolute; z-index: 3; bottom: 110px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid var(--ink); border-radius: 20px; opacity: .5;
}
.scroll-hint span {
  position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px;
  background: var(--ink); border-radius: 3px; animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Stats ---------- */
.stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 1180px; margin: -40px auto 0; padding: 0 clamp(20px, 4vw, 40px);
}
.stat {
  text-align: center; padding: 2.2rem 1rem;
  background: var(--white); border: 1px solid var(--lav-soft);
  transition: transform .5s var(--ease), background .5s, box-shadow .5s;
}
.stat:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.stat:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.stat:hover { transform: translateY(-8px); background: var(--plum); box-shadow: var(--shadow); z-index: 1; }
.stat:hover .stat__num { color: var(--lav); }
.stat:hover .stat__label { color: rgba(255,255,255,.75); }
.stat__num { display: block; font-family: var(--serif); font-size: 3rem; font-weight: 500; color: var(--ink); line-height: 1.1; transition: color .5s; }
.stat__label { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; transition: color .5s; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; max-width: 1280px; margin: 0 auto; }
.about__visual { position: relative; }
.about__frame {
  aspect-ratio: 4/5; border-radius: 200px 200px var(--radius) var(--radius);
  background: linear-gradient(170deg, var(--lav-mist), var(--lav-soft) 60%, var(--lav));
  display: grid; place-items: center; padding: 3rem; overflow: hidden; position: relative;
  box-shadow: var(--shadow);
}
.about__frame::after {
  content: ""; position: absolute; inset: 14px; border-radius: 190px 190px 14px 14px;
  border: 1px solid rgba(255,255,255,.8); pointer-events: none;
}
.about__frame img { width: 80%; transition: transform 1.2s var(--ease); }
.about__visual:hover .about__frame img { transform: scale(1.08) rotate(-2deg); }
.about__badge {
  position: absolute; right: -24px; bottom: 50px;
  width: 140px; height: 140px; border-radius: 50%;
  background: var(--plum); color: var(--white);
  display: grid; place-content: center; text-align: center;
  box-shadow: var(--shadow); animation: spinSlow 18s linear infinite;
}
.about__badge strong { font-family: var(--serif); font-size: 1.6rem; font-style: italic; font-weight: 500; color: var(--lav); line-height: 1; }
.about__badge span { font-size: .62rem; letter-spacing: .25em; text-transform: uppercase; }
@keyframes spinSlow { 0%,100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
.about__copy p { margin-bottom: 1.2rem; }
.ticks { list-style: none; margin-top: 2rem; display: grid; gap: .9rem; }
.ticks li { display: flex; gap: .9rem; align-items: center; color: var(--ink); font-weight: 500; font-size: .95rem; }
.ticks li::before {
  content: "✓"; flex: none; display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--lav-soft); color: var(--lav-deep); font-size: .8rem;
}

/* ---------- Services ---------- */
.services { background: var(--lav-mist); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; max-width: 1240px; margin: 0 auto; }
.card {
  position: relative; overflow: hidden;
  background: var(--white); padding: 2.6rem 2.2rem 2.4rem; border-radius: var(--radius);
  border: 1px solid rgba(138,111,174,.12);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s;
  transform-style: preserve-3d; will-change: transform;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(200,183,220,.35), transparent 45%);
  opacity: 0; transition: opacity .5s;
}
.card:hover { box-shadow: var(--shadow); border-color: var(--lav); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; z-index: 1; }
.card__icon {
  width: 64px; height: 64px; border-radius: 18px; margin-bottom: 1.6rem;
  display: grid; place-items: center; background: var(--lav-soft);
  transition: background .5s var(--ease), transform .6s var(--ease);
}
.card__icon svg { width: 30px; height: 30px; fill: none; stroke: var(--lav-deep); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .5s; }
.card:hover .card__icon { background: var(--plum); transform: rotate(-8deg) scale(1.06); }
.card:hover .card__icon svg { stroke: var(--lav); }
.card h3 { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; color: var(--ink); line-height: 1.2; margin-bottom: .8rem; }
.card p { font-size: .93rem; }
.card__num {
  position: absolute !important; top: 1.4rem; right: 1.8rem;
  font-family: var(--serif); font-size: 3.2rem; font-style: italic; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--lav);
  transition: color .5s, transform .6s var(--ease);
}
.card:hover .card__num { color: var(--lav-soft); transform: translateY(-4px); }

/* ---------- Why ---------- */
.why {
  position: relative; z-index: 1; overflow: hidden;
  background: var(--plum); color: rgba(255,255,255,.75);
  padding: clamp(80px, 11vw, 140px) clamp(20px, 6vw, 90px);
}
.why::before {
  content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,183,220,.25), transparent 60%);
  top: -300px; right: -200px; animation: float 18s ease-in-out infinite;
}
.why__inner { position: relative; max-width: 1100px; margin: 0 auto; }
.why__head { text-align: center; margin-bottom: 3.5rem; }
.why__head .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.compare__col { padding: 2.6rem; border-radius: var(--radius); transition: transform .6s var(--ease); }
.compare__col:hover { transform: translateY(-6px); }
.compare__col h4 { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; margin-bottom: 1.4rem; }
.compare__col ul { list-style: none; display: grid; gap: 1rem; }
.compare__col li { display: flex; gap: .9rem; align-items: baseline; }
.compare__col--muted { border: 1px solid rgba(255,255,255,.14); }
.compare__col--muted h4 { color: rgba(255,255,255,.6); }
.compare__col--muted li::before { content: "—"; color: rgba(255,255,255,.35); }
.compare__col--feature { background: linear-gradient(150deg, var(--lav), #a991c6); color: var(--ink); box-shadow: 0 30px 60px -25px rgba(0,0,0,.5); }
.compare__col--feature h4 { color: var(--ink); font-style: italic; }
.compare__col--feature li { font-weight: 500; }
.compare__col--feature li::before { content: "✦"; color: var(--plum); }

/* ---------- Process ---------- */
.steps {
  list-style: none; position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  max-width: 1200px; margin: 0 auto; counter-reset: s;
}
.steps::before {
  content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--lav), transparent);
}
.step { text-align: center; padding: 0 .4rem; }
.step__n {
  position: relative; display: grid; place-items: center; margin: 0 auto 1.6rem;
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--lav);
  font-family: var(--serif); font-size: 1.7rem; font-style: italic; color: var(--lav-deep);
  transition: background .5s var(--ease), color .5s, transform .6s var(--ease), box-shadow .5s;
}
.step__n::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 1px dashed var(--lav); opacity: 0; transition: opacity .5s; animation: spin 12s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.step:hover .step__n { background: var(--plum); color: var(--lav); transform: scale(1.08); box-shadow: var(--shadow); }
.step:hover .step__n::after { opacity: 1; }
.step h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink); margin-bottom: .6rem; }
.step p { font-size: .92rem; }

/* ---------- Sales banner ---------- */
.sales { padding-top: 0; }
.sales__card {
  max-width: 1200px; margin: 0 auto; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 3rem;
  padding: clamp(2.5rem, 5vw, 4.5rem); border-radius: 30px;
  background: linear-gradient(120deg, var(--lav-soft), var(--lav-mist) 50%, #e3d6f0);
  border: 1px solid rgba(138,111,174,.18);
}
.sales__card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.7) 50%, transparent 65%);
  transform: translateX(-100%); transition: transform 1.2s var(--ease);
}
.sales__card:hover::after { transform: translateX(100%); }
.sales__card > div { max-width: 640px; }
.sales__card .btn { flex: none; }

/* ---------- FAQ ---------- */
.faq { background: var(--lav-mist); }
.faq__list { max-width: 860px; margin: 0 auto; display: grid; gap: 1rem; }
.faq details {
  background: var(--white); border-radius: 18px; padding: 0 2rem;
  border: 1px solid rgba(138,111,174,.12);
  transition: box-shadow .5s var(--ease), border-color .5s;
}
.faq details:hover, .faq details[open] { border-color: var(--lav); box-shadow: 0 20px 40px -28px rgba(42,34,51,.4); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.5rem 0;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--sans); font-weight: 300; font-size: 1.3rem;
  background: var(--lav-soft); color: var(--lav-deep);
  transition: transform .5s var(--ease), background .4s, color .4s;
}
.faq details[open] summary::after { transform: rotate(135deg); background: var(--plum); color: var(--lav); }
.faq details p { padding-bottom: 1.6rem; animation: fadeDown .5s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Contact ---------- */
.contact__wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); max-width: 1200px; margin: 0 auto; align-items: start; }
.contact__list { list-style: none; margin-top: 2.4rem; display: grid; gap: 1.3rem; }
.contact__list li { display: grid; gap: .1rem; color: var(--ink); font-size: 1.05rem; }
.contact__list span { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--lav-deep); font-weight: 600; }
.contact__list a { background: linear-gradient(var(--lav), var(--lav)) 0 100% / 0 40% no-repeat; transition: background-size .5s var(--ease); justify-self: start; }
.contact__list a:hover { background-size: 100% 40%; }

.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem;
  padding: clamp(2rem, 4vw, 3rem); border-radius: 28px;
  background: var(--white); border: 1px solid var(--lav-soft); box-shadow: var(--shadow);
}
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea, .field select {
  width: 100%; padding: 1.4rem 1.1rem .6rem; border-radius: 14px;
  border: 1px solid #e3dbec; background: var(--lav-mist);
  font: inherit; font-size: .95rem; color: var(--ink); resize: vertical;
  transition: border-color .4s, background .4s, box-shadow .4s;
  appearance: none; -webkit-appearance: none;
}
.field select { cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--lav-deep) 50%), linear-gradient(135deg, var(--lav-deep) 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field label {
  position: absolute; left: 1.1rem; top: 1.05rem; pointer-events: none;
  font-size: .9rem; color: #8b8394; transition: all .3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--lav-deep); background: var(--white);
  box-shadow: 0 0 0 4px rgba(200,183,220,.35);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label {
  top: .45rem; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lav-deep); font-weight: 600;
}
.field.error input, .field.error select { border-color: #c56a7c; }
.form__note { grid-column: 1 / -1; text-align: center; font-size: .9rem; color: var(--lav-deep); min-height: 1.2em; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--ink); color: rgba(255,255,255,.65); padding-top: 110px; }
.footer__wave { position: absolute; top: -1px; left: 0; width: 100%; height: 80px; }
.footer__wave path { fill: var(--white); }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 3rem; max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 6vw, 90px) 3rem; }
.footer__brand img { width: 150px; padding: 14px 18px; border-radius: 16px; background: var(--white); margin-bottom: 1.4rem; }
.footer__brand p { max-width: 320px; font-size: .92rem; }
.footer__col { display: grid; gap: .7rem; align-content: start; }
.footer__col h5 { font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--lav); margin-bottom: .6rem; font-weight: 600; }
.footer__col a { font-size: .92rem; transition: color .3s, transform .4s var(--ease); justify-self: start; }
.footer__col a:hover { color: var(--white); transform: translateX(6px); }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  max-width: 1200px; margin: 0 auto; padding: 1.6rem clamp(20px, 6vw, 90px);
  border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem;
}
.to-top:hover { color: var(--lav); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(46px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.card.reveal.in { transition: opacity 1s var(--ease), transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero__card { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .steps::before { display: none; }
}
@media (max-width: 900px) {
  .nav__toggle {
    display: grid; gap: 7px; place-content: center; z-index: 120;
    width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--plum);
  }
  .nav__toggle span { display: block; width: 18px; height: 1.5px; background: var(--white); transition: transform .4s var(--ease); }
  .nav.open .nav__toggle span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav.open .nav__toggle span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 0; z-index: 110; flex-direction: column; justify-content: center; gap: 2rem;
    background: var(--lav-mist); clip-path: circle(0 at calc(100% - 45px) 40px);
    transition: clip-path .8s var(--ease);
  }
  .nav.open .nav__links { clip-path: circle(150% at calc(100% - 45px) 40px); }
  .nav__links a:not(.btn) { font-family: var(--serif); font-size: 2rem; text-transform: none; letter-spacing: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:first-child { border-radius: var(--radius) 0 0 0; }
  .stat:nth-child(2) { border-radius: 0 var(--radius) 0 0; }
  .stat:nth-child(3) { border-radius: 0 0 0 var(--radius); }
  .stat:last-child { border-radius: 0 0 var(--radius) 0; }
  .about, .contact__wrap, .compare { grid-template-columns: 1fr; }
  .about__visual { max-width: 420px; margin: 0 auto; width: 100%; }
  .about__badge { right: -6px; }
  .sales__card { flex-direction: column; align-items: flex-start; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .cards, .steps, .form { grid-template-columns: 1fr; }
  .hero { padding-bottom: 140px; }
  .scroll-hint { display: none; }
  .hero__cta .btn { width: 100%; }
  .stat__num { font-size: 2.3rem; }
  .compare__col, .card { padding: 2rem 1.6rem; }
  .faq details { padding: 0 1.3rem; }
  .faq summary { font-size: 1.15rem; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero__anim { opacity: 1 !important; transform: none !important; }
}
