/* ==========================================================
   Laundrology — design system
   ========================================================== */
:root {
  --purple-950: #20123A;
  --purple-900: #2E1A4F;
  --purple-800: #3C2368;
  --purple-700: #4F2D82;
  --purple-600: #6238A0;
  --purple-100: #E9E1F5;
  --purple-50: #F5F1FB;
  --orange-600: #D8560F;
  --orange-500: #F26B21;
  --orange-100: #FEE9DC;
  --orange-50: #FFF5EE;
  --ink: #1F1B2D;
  --muted: #6B6880;
  --line: #E7E3EF;
  --bg: #FBF9FE;
  --white: #fff;
  --green: #1E9E62;
  --green-50: #E6F6EE;
  --red: #D6364B;
  --red-50: #FCE9EC;
  --amber: #B7791F;
  --amber-50: #FDF3DD;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(46,26,79,.06), 0 1px 3px rgba(46,26,79,.06);
  --shadow: 0 6px 24px rgba(46,26,79,.08);
  --shadow-lg: 0 18px 50px rgba(46,26,79,.16);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--purple-900); letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 2px; border-radius: 6px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--purple-700); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid transparent; border-radius: 999px; padding: 12px 26px; font-weight: 700; font-size: .95rem; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange-500); color: #fff; box-shadow: 0 6px 16px rgba(242,107,33,.32); }
.btn-primary:hover { background: var(--orange-600); box-shadow: 0 8px 22px rgba(242,107,33,.4); }
.btn-purple { background: var(--purple-700); color: #fff; }
.btn-purple:hover { background: var(--purple-800); }
.btn-outline { background: transparent; border-color: var(--purple-700); color: var(--purple-700); }
.btn-outline:hover { background: var(--purple-700); color: #fff; }
.btn-light { background: #fff; color: var(--purple-700); }
.btn-light:hover { background: var(--purple-50); }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.btn-sm { padding: 8px 16px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; }

/* ---------- Header ---------- */
.topbar { background: var(--purple-950); color: #E9E1F5; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar .tb-group { display: flex; gap: 20px; flex-wrap: wrap; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo b { font-size: 1.75rem; font-weight: 800; letter-spacing: -.04em; color: var(--purple-700); }
.logo b span { color: var(--orange-500); }
.logo small { white-space: nowrap; font-size: .52rem; letter-spacing: .14em; color: var(--muted); font-weight: 700; margin-top: 3px; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { white-space: nowrap; font-weight: 600; font-size: .92rem; padding: 8px 12px; border-radius: 8px; color: var(--ink); position: relative; }
.nav a:not(.btn):hover { background: var(--purple-50); color: var(--purple-700); }
.nav a.active:not(.btn) { color: var(--orange-500); }
.nav a.active:not(.btn)::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--orange-500); border-radius: 2px; }
.nav .btn { margin-left: 10px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; stroke: var(--purple-700); }
@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 72px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px 24px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(-120%); transition: transform .25s ease; max-height: calc(100vh - 72px); overflow: auto; }
  .nav.open { transform: none; }
  .nav a:not(.btn) { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a.active:not(.btn)::after { display: none; }
  .nav .btn { margin: 14px 0 0; }
}
@media (max-width: 640px) { .topbar .tb-hide { display: none; } }

/* ---------- Page banner ---------- */
.page-hero { background: linear-gradient(120deg, var(--purple-900), var(--purple-700)); color: #fff; padding: 44px 0 40px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(242,107,33,.35), transparent 65%); }
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 6px 0 6px; }
.page-hero p { color: #D9CCF0; margin: 0; max-width: 620px; }
.crumbs { display: flex; gap: 8px; font-size: .85rem; color: #CDBDEB; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .6; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.section-alt { background: #fff; border-block: 1px solid var(--line); }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-500); margin-bottom: 10px; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 56px 0; } }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1000px 500px at 85% -10%, rgba(242,107,33,.14), transparent 60%), linear-gradient(180deg, #fff, var(--purple-50)); padding: 64px 0 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--orange-500); }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 520px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-trust div b { display: block; font-size: 1.5rem; font-weight: 800; color: var(--purple-700); line-height: 1.1; }
.hero-trust div span { font-size: .82rem; color: var(--muted); }
.hero-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tile { position: relative; border-radius: 20px; padding: 22px; min-height: 190px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; transition: transform .25s, box-shadow .25s; box-shadow: var(--shadow); }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tile:nth-child(even) { transform: translateY(24px); }
.tile:nth-child(even):hover { transform: translateY(20px); }
.tile svg { position: absolute; top: 18px; right: 18px; width: 64px; height: 64px; opacity: .92; }
.tile h3 { color: #fff; margin: 0 0 2px; font-size: 1.3rem; }
.tile span { font-size: .85rem; opacity: .9; }
.tile.t1 { background: linear-gradient(145deg, #5BB5A2, #2E7D8C); }
.tile.t2 { background: linear-gradient(145deg, #6238A0, #3C2368); }
.tile.t3 { background: linear-gradient(145deg, #F7A04B, #F26B21); }
.tile.t4 { background: linear-gradient(145deg, #E2566B, #A12A55); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .tile:nth-child(even) { transform: none; } }

/* ---------- Quick order bar ---------- */
.quick { margin-top: -40px; position: relative; z-index: 5; }
.quick-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 22px 26px; display: grid; grid-template-columns: 1.1fr 1fr 1fr auto; gap: 16px; align-items: end; border: 1px solid var(--line); }
@media (max-width: 960px) { .quick-card { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .quick-card { grid-template-columns: 1fr; } }

/* ---------- Price cards ---------- */
.plan { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--purple-100); }
.plan .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--purple-50); color: var(--purple-700); margin-bottom: 18px; }
.plan .ico svg { width: 28px; height: 28px; }
.plan.featured { background: linear-gradient(160deg, var(--purple-800), var(--purple-700)); color: #fff; border: none; }
.plan.featured h3, .plan.featured .price b { color: #fff; }
.plan.featured .ico { background: rgba(255,255,255,.14); color: #fff; }
.plan.featured .plan-list li { color: #E9E1F5; }
.plan .tag { position: absolute; top: 18px; right: 18px; background: var(--orange-500); color: #fff; font-size: .7rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; letter-spacing: .04em; }
.plan .from { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.plan.featured .from { color: #CDBDEB; }
.price { margin: 2px 0 16px; display: flex; align-items: baseline; gap: 4px; }
.price b { font-size: 2.4rem; font-weight: 800; color: var(--purple-700); letter-spacing: -.03em; }
.price small { color: var(--muted); font-size: .85rem; }
.plan.featured .price small { color: #CDBDEB; }
.plan-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; flex: 1; }
.plan-list li { position: relative; padding-left: 26px; font-size: .92rem; color: var(--muted); }
.plan-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-4.8' fill='none' stroke='%231E9E62' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.plan.featured .plan-list li::before { background-color: rgba(255,255,255,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plans-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.plans-grid .plan { grid-column: span 2; }
.plans-grid .plan:nth-child(4) { grid-column: 2 / span 2; }
.plans-grid .plan:nth-child(5) { grid-column: 4 / span 2; }
@media (max-width: 960px) { .plans-grid { grid-template-columns: repeat(2, 1fr); } .plans-grid .plan, .plans-grid .plan:nth-child(4), .plans-grid .plan:nth-child(5) { grid-column: auto; } }
@media (max-width: 640px) { .plans-grid { grid-template-columns: 1fr; } }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; position: relative; }
.step { text-align: center; padding: 0 8px; position: relative; }
.step .n { width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 2px solid var(--purple-100); color: var(--purple-700); display: grid; place-items: center; margin: 0 auto 16px; position: relative; z-index: 1; box-shadow: var(--shadow-sm); }
.step .n svg { width: 28px; height: 28px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 32px; left: calc(50% + 40px); right: calc(-50% + 40px); border-top: 2px dashed var(--purple-100); }
.step h3 { font-size: 1.05rem; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: .9rem; margin: 0; }
@media (max-width: 800px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; } .step::after { display: none; } }

/* ---------- Offers ---------- */
.offers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1060px) { .offers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .offers-grid { grid-template-columns: 1fr; } }
.offer { border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.offer:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.offer-top { padding: 26px 22px 22px; color: #fff; position: relative; }
.offer-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 20px; background: radial-gradient(circle at 10px 0, transparent 8px, #fff 8.5px) -10px 0/20px 20px repeat-x; }
.offer-top .pct { font-size: 3.4rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.offer-top .pct small { font-size: 1.1rem; font-weight: 800; margin-left: 4px; }
.offer-top p { margin: 8px 0 0; font-size: .85rem; opacity: .95; }
.offer.o1 .offer-top { background: linear-gradient(135deg, #E2566B, #C73A55); }
.offer.o2 .offer-top { background: linear-gradient(135deg, #F7A04B, #F26B21); }
.offer.o3 .offer-top { background: linear-gradient(135deg, #3AA6B5, #1F7A8A); }
.offer.o4 .offer-top { background: linear-gradient(135deg, #8DAA2B, #5E7A14); }
.offer-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.offer-body h4 { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.offer-body ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 6px; font-size: .9rem; flex: 1; }
.offer-body li::before { content: "•"; color: var(--orange-500); font-weight: 800; margin-right: 8px; }
.coupon { display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 2px dashed var(--purple-100); background: var(--purple-50); border-radius: 12px; padding: 8px 8px 8px 14px; }
.coupon code { font-weight: 800; letter-spacing: .12em; color: var(--purple-700); font-size: .95rem; }
.coupon button { background: var(--purple-700); color: #fff; border: 0; border-radius: 8px; font-weight: 700; font-size: .8rem; padding: 8px 14px; cursor: pointer; }
.coupon button:hover { background: var(--purple-800); }

/* ---------- Why us ---------- */
.why { background: linear-gradient(135deg, var(--purple-950), var(--purple-700)); color: #fff; position: relative; overflow: hidden; }
.why::before { content: ""; position: absolute; left: -120px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(242,107,33,.3), transparent 65%); }
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; position: relative; }
.why h2 { color: #fff; }
.why .lead { color: #D9CCF0; }
.why-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.why-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 22px; backdrop-filter: blur(6px); }
.why-card .i { width: 44px; height: 44px; border-radius: 12px; background: var(--orange-500); display: grid; place-items: center; margin-bottom: 14px; }
.why-card .i svg { width: 22px; height: 22px; stroke: #fff; }
.why-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 4px; }
.why-card p { color: #CDBDEB; font-size: .88rem; margin: 0; }
.why-visual { border-radius: 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); padding: 28px; margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: center; }
.why-visual b { display: block; font-size: 1.7rem; font-weight: 800; color: #fff; }
.why-visual span { font-size: .78rem; color: #CDBDEB; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 520px) { .why-cards { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-art { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-art div { border-radius: 20px; min-height: 180px; display: grid; place-items: center; }
.about-art div:first-child { grid-row: span 2; background: linear-gradient(160deg, var(--purple-100), var(--purple-50)); min-height: 376px; }
.about-art div:nth-child(2) { background: var(--orange-100); }
.about-art div:nth-child(3) { background: #DDF1EC; }
.about-art svg { width: 72px; height: 72px; stroke: var(--purple-700); }
.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--orange-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-4.8' fill='none' stroke='%23F26B21' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Testimonials ---------- */
.testi { position: relative; max-width: 760px; margin: 0 auto; text-align: center; }
.testi-track { position: relative; min-height: 220px; }
.testi-item { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s; }
.testi-item.on { opacity: 1; visibility: visible; position: relative; }
.testi-item blockquote { margin: 0 0 20px; font-size: 1.2rem; line-height: 1.7; color: var(--ink); font-weight: 500; }
.stars { color: var(--orange-500); letter-spacing: 3px; margin-bottom: 14px; font-size: 1.1rem; }
.testi-who { display: inline-flex; align-items: center; gap: 12px; text-align: left; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--purple-700); color: #fff; font-weight: 800; display: grid; place-items: center; }
.testi-who b { display: block; line-height: 1.2; }
.testi-who small { color: var(--muted); }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: var(--purple-100); cursor: pointer; padding: 0; transition: .2s; }
.dots button.on { background: var(--orange-500); width: 28px; border-radius: 6px; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(120deg, var(--orange-500), #F78B3F); border-radius: 28px; padding: 48px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; box-shadow: 0 20px 50px rgba(242,107,33,.3); }
.cta h2 { color: #fff; margin: 0 0 4px; }
.cta p { margin: 0; opacity: .95; }
.app-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; padding: 8px 16px; border-radius: 10px; border: 1px solid #444; transition: transform .15s; }
.badge:hover { transform: translateY(-2px); }
.badge svg { width: 22px; height: 22px; fill: #fff; }
.badge small { display: block; font-size: .6rem; letter-spacing: .06em; text-transform: uppercase; opacity: .8; line-height: 1; }
.badge b { font-size: 1rem; line-height: 1.2; }

/* ---------- Footer ---------- */
.perks { background: var(--purple-800); color: #fff; }
.perks .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 36px; padding-bottom: 36px; }
.perk { display: flex; gap: 16px; align-items: center; }
.perk .i { flex: none; width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.perk .i svg { width: 26px; height: 26px; stroke: var(--orange-500); }
.perk small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #CDBDEB; }
.perk b { font-weight: 600; line-height: 1.3; display: block; }
@media (max-width: 800px) { .perks .container { grid-template-columns: 1fr; } }
.site-footer { background: var(--purple-950); color: #C9BCE0; padding-top: 64px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer .logo b { color: #fff; }
.site-footer .logo small { color: #9C8CBC; }
.site-footer p { color: #B3A4D0; }
.f-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.f-list a:hover { color: #fff; }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; }
.f-contact svg { width: 18px; height: 18px; stroke: var(--orange-500); flex: none; margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: .15s; }
.socials a:hover { background: var(--orange-500); }
.socials svg { width: 17px; height: 17px; fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating call ---------- */
.fab { position: fixed; left: 20px; bottom: 20px; z-index: 90; display: flex; align-items: center; gap: 10px; background: var(--orange-500); color: #fff; padding: 12px 18px 12px 14px; border-radius: 999px; font-weight: 700; box-shadow: 0 10px 28px rgba(242,107,33,.45); font-size: .9rem; }
.fab:hover { background: var(--orange-600); }
.fab svg { width: 20px; height: 20px; stroke: #fff; }
@media (max-width: 520px) { .fab span { display: none; } .fab { padding: 14px; } }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; position: relative; }
.field label, .label { font-size: .82rem; font-weight: 700; color: var(--purple-900); }
.field label .req, .label .req { color: var(--orange-500); }
.input, .select, .textarea { width: 100%; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; font-size: .95rem; transition: border-color .15s, box-shadow .15s; min-height: 48px; }
.textarea { min-height: 110px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #A29EB5; }
.input:hover, .select:hover, .textarea:hover { border-color: #CFC7E2; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--purple-600); box-shadow: 0 0 0 4px rgba(98,56,160,.14); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 7.5l5 5 5-5' fill='none' stroke='%236B6880' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.input[readonly], .input:disabled { background: var(--purple-50); color: var(--muted); cursor: not-allowed; }
.field.invalid .input, .field.invalid .select, .field.invalid .textarea { border-color: var(--red); background: #FFFBFC; }
.err { display: none; color: var(--red); font-size: .8rem; font-weight: 600; }
.field.invalid .err { display: block; }
.hint { font-size: .8rem; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.input-group { display: flex; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; transition: .15s; }
.input-group:focus-within { border-color: var(--purple-600); box-shadow: 0 0 0 4px rgba(98,56,160,.14); }
.input-group .pre { display: grid; place-items: center; padding: 0 14px; background: var(--purple-50); font-weight: 700; color: var(--purple-700); border-right: 1.5px solid var(--line); }
.input-group .input { border: 0; box-shadow: none; border-radius: 0; }
.field.invalid .input-group { border-color: var(--red); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--purple-700); flex: none; }
.check a { color: var(--orange-500); font-weight: 600; }
.seg { display: inline-grid; grid-auto-flow: column; background: var(--purple-50); border-radius: 12px; padding: 4px; gap: 4px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 8px 18px; border-radius: 9px; font-weight: 700; font-size: .88rem; color: var(--muted); transition: .15s; }
.seg input:checked + span { background: #fff; color: var(--purple-700); box-shadow: var(--shadow-sm); }
.seg input:focus-visible + span { outline: 3px solid var(--orange-500); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: .88rem; font-weight: 600; transition: .15s; }
.chip span:hover { border-color: var(--purple-600); }
.chip input:checked + span { background: var(--purple-700); border-color: var(--purple-700); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--orange-500); outline-offset: 2px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); }
.card-pad { padding: 28px; }

/* ---------- Pricing page ---------- */
.price-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.side-nav { position: sticky; top: 96px; display: grid; gap: 8px; }
.side-nav a, .side-nav button { display: flex; align-items: center; justify-content: space-between; text-align: left; padding: 14px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .92rem; cursor: pointer; transition: .15s; color: var(--ink); }
.side-nav a:hover, .side-nav button:hover { border-color: var(--purple-600); color: var(--purple-700); }
.side-nav .on { background: var(--purple-700); color: #fff; border-color: var(--purple-700); box-shadow: var(--shadow); }
.side-nav .on:hover { color: #fff; }
.side-nav svg { width: 16px; height: 16px; stroke: currentColor; opacity: .7; }
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: thin; }
.tabs button { flex: none; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .88rem; cursor: pointer; transition: .15s; }
.tabs button:hover { border-color: var(--purple-600); color: var(--purple-700); }
.tabs button.on { background: var(--orange-500); border-color: var(--orange-500); color: #fff; }
.search { position: relative; margin-bottom: 24px; }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; stroke: var(--muted); }
.search .input { padding-left: 46px; }
.items-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; transition: .2s; }
.item:hover { box-shadow: var(--shadow); border-color: var(--purple-100); }
.item h4 { font-size: .92rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.item dl { margin: 0; display: grid; gap: 8px; }
.item dl div { display: flex; justify-content: space-between; gap: 12px; font-size: .88rem; }
.item dt { color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.item dd { margin: 0; font-weight: 800; color: var(--purple-700); }
.note { display: flex; gap: 10px; align-items: flex-start; background: var(--amber-50); color: #7A5410; border-radius: 12px; padding: 14px 16px; font-size: .88rem; margin-top: 24px; }
.note svg { width: 18px; height: 18px; flex: none; stroke: currentColor; margin-top: 2px; }
.empty { text-align: center; padding: 56px 16px; color: var(--muted); }
.empty svg { width: 48px; height: 48px; stroke: var(--purple-100); margin: 0 auto 12px; }
.empty b { display: block; color: var(--ink); margin-bottom: 4px; }
@media (max-width: 900px) { .price-layout { grid-template-columns: 1fr; } .side-nav { position: static; grid-auto-flow: column; grid-auto-columns: 1fr; } .items-grid { grid-template-columns: 1fr; } }

/* ---------- Service detail ---------- */
.svc-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.svc-hero { border-radius: 22px; min-height: 260px; padding: 36px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; margin-bottom: 32px; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--purple-800), #4E7AC7); }
.svc-hero h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 0; }
.svc-hero p { margin: 6px 0 0; opacity: .9; }
.svc-hero svg { position: absolute; right: 28px; top: 24px; width: 110px; height: 110px; opacity: .25; stroke: #fff; }
.prose h3 { margin-top: 32px; }
.prose p { color: #4A4660; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 8px; }
.panel { border-radius: 16px; padding: 22px; border: 1px solid var(--line); background: #fff; }
.panel.good { background: var(--green-50); border-color: #C9ECDA; }
.panel.bad { background: var(--red-50); border-color: #F5CDD3; }
.panel h4 { font-size: 1rem; margin-bottom: 12px; }
.panel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: .92rem; }
.panel.good li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 10px; }
.panel.bad li::before { content: "✕"; color: var(--red); font-weight: 800; margin-right: 10px; }
.timeline { display: grid; gap: 14px; counter-reset: t; margin: 18px 0 0; padding: 0; list-style: none; }
.timeline li { counter-increment: t; display: grid; grid-template-columns: 40px 1fr; gap: 14px; background: #fff; border: 1px solid var(--line); padding: 16px 18px; border-radius: 14px; align-items: center; }
.timeline li::before { content: counter(t); width: 40px; height: 40px; border-radius: 50%; background: var(--purple-50); color: var(--purple-700); font-weight: 800; display: grid; place-items: center; }
.pill-links { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-links a { padding: 8px 16px; border-radius: 999px; background: var(--purple-50); color: var(--purple-700); font-weight: 700; font-size: .88rem; }
.pill-links a:hover { background: var(--purple-700); color: #fff; }
@media (max-width: 900px) { .svc-layout { grid-template-columns: 1fr; } .two-col { grid-template-columns: 1fr; } }

/* ---------- Outlets ---------- */
.outlet-bar { display: flex; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; align-items: center; }
.outlet-bar .search { flex: 1; min-width: 240px; margin: 0; }
.count { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.outlet { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 14px; transition: .2s; }
.outlet:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--purple-100); }
.outlet header { display: flex; gap: 12px; align-items: flex-start; }
.pin { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--orange-100); display: grid; place-items: center; }
.pin svg { width: 20px; height: 20px; stroke: var(--orange-500); }
.outlet h3 { margin: 0; font-size: 1.05rem; }
.outlet .open { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; color: var(--green); }
.outlet .open::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.outlet address { font-style: normal; color: var(--muted); font-size: .88rem; flex: 1; }
.outlet footer { display: flex; gap: 10px; }
.outlet footer .btn { flex: 1; }

/* ---------- Franchise ---------- */
.fr-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.fr-benefits { display: grid; gap: 16px; margin: 28px 0; }
.fr-b { display: flex; gap: 16px; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.fr-b .i { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--purple-50); display: grid; place-items: center; }
.fr-b .i svg { width: 22px; height: 22px; stroke: var(--purple-700); }
.fr-b h3 { font-size: 1rem; margin: 0 0 2px; }
.fr-b p { margin: 0; font-size: .88rem; color: var(--muted); }
.form-card { padding: 36px; }
.form-card h2 { font-size: 1.5rem; }
.success { text-align: center; padding: 32px 8px; }
.success .tick { width: 72px; height: 72px; border-radius: 50%; background: var(--green-50); display: grid; place-items: center; margin: 0 auto 18px; }
.success .tick svg { width: 36px; height: 36px; stroke: var(--green); }
@media (max-width: 900px) { .fr-grid { grid-template-columns: 1fr; } .form-card { padding: 24px; } }

/* ---------- Login ---------- */
.auth { min-height: calc(100vh - 72px - 120px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-art { background: linear-gradient(150deg, var(--purple-950), var(--purple-700)); color: #fff; padding: 64px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.auth-art::after { content: ""; position: absolute; right: -100px; bottom: -100px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(242,107,33,.4), transparent 65%); }
.auth-art h1 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.auth-art ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; position: relative; z-index: 1; }
.auth-art li { display: flex; gap: 12px; align-items: center; color: #E0D4F4; }
.auth-art li svg { width: 22px; height: 22px; stroke: var(--orange-500); flex: none; }
.auth-form { display: grid; place-items: center; padding: 48px 24px; }
.auth-box { width: 100%; max-width: 420px; }
.auth-box h2 { font-size: 1.7rem; margin-bottom: 6px; }
.auth-box > p { color: var(--muted); }
.otp { display: flex; gap: 10px; justify-content: space-between; }
.otp input { width: 100%; max-width: 60px; height: 60px; text-align: center; font-size: 1.5rem; font-weight: 800; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.otp input:focus { outline: none; border-color: var(--purple-600); box-shadow: 0 0 0 4px rgba(98,56,160,.14); }
.divider { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .8rem; font-weight: 700; margin: 26px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.linkbtn { background: none; border: 0; color: var(--orange-500); font-weight: 700; cursor: pointer; padding: 0; }
.linkbtn:hover { text-decoration: underline; }
.linkbtn[disabled] { color: var(--muted); cursor: default; text-decoration: none; }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; } .auth-art { display: none; } }

/* ---------- Account ---------- */
.acct { display: grid; grid-template-columns: 290px 1fr; gap: 32px; align-items: start; padding: 40px 0 72px; }
.acct-side { position: sticky; top: 96px; display: grid; gap: 16px; }
.profile-mini { padding: 22px; display: flex; gap: 14px; align-items: center; }
.profile-mini .avatar { width: 54px; height: 54px; font-size: 1.2rem; background: linear-gradient(135deg, var(--purple-700), var(--orange-500)); }
.profile-mini b { display: block; line-height: 1.2; }
.profile-mini small { color: var(--muted); }
.acct-nav { padding: 10px; display: grid; gap: 2px; }
.acct-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; font-weight: 600; font-size: .92rem; color: var(--ink); transition: .15s; }
.acct-nav a svg { width: 19px; height: 19px; stroke: currentColor; flex: none; opacity: .75; }
.acct-nav a:hover { background: var(--purple-50); color: var(--purple-700); }
.acct-nav a.on { background: var(--purple-700); color: #fff; }
.acct-nav a .badge-n { margin-left: auto; background: var(--orange-500); color: #fff; font-size: .7rem; padding: 2px 8px; border-radius: 999px; font-weight: 800; }
.acct-nav hr { border: 0; border-top: 1px solid var(--line); margin: 8px 6px; width: calc(100% - 12px); }
.acct-nav a.out { color: var(--red); }
.acct-nav a.out:hover { background: var(--red-50); color: var(--red); }
.acct-main h2 { font-size: 1.6rem; margin: 0; }
.acct-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.acct-head p { margin: 4px 0 0; color: var(--muted); }
.panel-view { display: none; }
.panel-view.on { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.stat { padding: 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.stat small { color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.stat b { display: block; font-size: 1.6rem; font-weight: 800; color: var(--purple-700); letter-spacing: -.02em; }
.stat.hl { background: linear-gradient(135deg, var(--purple-800), var(--purple-700)); border: 0; }
.stat.hl small { color: #CDBDEB; }
.stat.hl b { color: #fff; }
.req-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; }
.summary { position: sticky; top: 96px; padding: 24px; }
.summary h3 { font-size: 1.05rem; }
.summary ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; font-size: .9rem; }
.summary li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.summary li span:last-child { font-weight: 700; text-align: right; }
.summary .empty-s { color: var(--muted); font-size: .88rem; padding: 12px 0; }
.addr-pick { display: grid; gap: 10px; }
.addr-opt { cursor: pointer; display: block; }
.addr-opt input { position: absolute; opacity: 0; }
.addr-opt div { border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; transition: .15s; background: #fff; }
.addr-opt input:checked + div { border-color: var(--purple-600); background: var(--purple-50); box-shadow: 0 0 0 3px rgba(98,56,160,.1); }
.addr-opt input:focus-visible + div { outline: 3px solid var(--orange-500); }
.addr-opt svg { width: 20px; height: 20px; stroke: var(--purple-700); flex: none; margin-top: 2px; }
.addr-opt b { display: block; font-size: .9rem; }
.addr-opt span { color: var(--muted); font-size: .85rem; }
.slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slot { cursor: pointer; }
.slot input { position: absolute; opacity: 0; }
.slot span { display: block; text-align: center; padding: 10px 6px; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 700; font-size: .82rem; background: #fff; transition: .15s; }
.slot input:checked + span { background: var(--purple-700); color: #fff; border-color: var(--purple-700); }
.slot input:focus-visible + span { outline: 3px solid var(--orange-500); }
.promo-row { display: flex; gap: 10px; }
.promo-row .input { flex: 1; text-transform: uppercase; letter-spacing: .08em; }
.promo-msg { font-size: .82rem; font-weight: 600; margin-top: 6px; }
.promo-msg.ok { color: var(--green); }
.promo-msg.no { color: var(--red); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
.tbl th { text-align: left; padding: 14px 18px; background: var(--purple-50); color: var(--purple-900); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; white-space: nowrap; }
.tbl td { padding: 16px 18px; border-top: 1px solid var(--line); vertical-align: middle; }
.tbl tbody tr:hover { background: #FDFCFF; }
.tbl .mono { font-variant-numeric: tabular-nums; font-weight: 700; }
.tbl .sub { display: block; color: var(--muted); font-size: .8rem; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.paid, .status.success, .status.credit { background: var(--green-50); color: var(--green); }
.status.pending, .status.due { background: var(--amber-50); color: var(--amber); }
.status.cancel, .status.debit { background: var(--red-50); color: var(--red); }
.status.debit { background: #F1EEF8; color: var(--purple-700); }
.tbl-tools { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.tbl-tools .search { margin: 0; flex: 1; max-width: 340px; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-size: .88rem; color: var(--muted); flex-wrap: wrap; gap: 12px; }
.pager div { display: flex; gap: 6px; }
.pager button { min-width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 700; }
.pager button:hover:not([disabled]) { border-color: var(--purple-600); color: var(--purple-700); }
.pager button.on { background: var(--purple-700); color: #fff; border-color: var(--purple-700); }
.pager button[disabled] { opacity: .4; cursor: default; }
.icon-btn { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: #fff; display: inline-grid; place-items: center; cursor: pointer; color: var(--red); }
.icon-btn:hover { background: var(--red-50); border-color: var(--red); }
.icon-btn svg { width: 16px; height: 16px; stroke: currentColor; }
.wallet-hero { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; margin-bottom: 28px; }
.wallet-card { border-radius: 20px; padding: 26px; color: #fff; background: linear-gradient(135deg, var(--purple-900), var(--purple-600)); position: relative; overflow: hidden; min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; }
.wallet-card::after { content: ""; position: absolute; right: -50px; top: -50px; width: 200px; height: 200px; border-radius: 50%; background: rgba(242,107,33,.4); filter: blur(20px); }
.wallet-card small { color: #CDBDEB; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .75rem; }
.wallet-card b { display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.wallet-card span { font-size: .85rem; color: #E0D4F4; position: relative; z-index: 1; }
.topup { padding: 24px; }
.topup h3 { font-size: 1.05rem; }
.amt-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 16px; }
.amt-chips button { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; cursor: pointer; }
.amt-chips button:hover { border-color: var(--purple-600); }
.amt-chips button.on { background: var(--purple-700); color: #fff; border-color: var(--purple-700); }
.range { width: 100%; accent-color: var(--orange-500); margin: 4px 0 14px; }
.addr-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.addr-card { padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.addr-card + .addr-card { margin-top: 12px; }
.addr-card .pin { flex: none; }
.addr-card b { display: block; }
.addr-card span { color: var(--muted); font-size: .88rem; display: block; }
.addr-card .acts { margin-left: auto; display: flex; gap: 6px; }
.addr-card .acts .icon-btn { color: var(--purple-700); }
.tag-def { display: inline-block; font-size: .68rem; background: var(--green-50); color: var(--green); padding: 2px 8px; border-radius: 999px; font-weight: 800; margin-left: 8px; vertical-align: middle; }
.map { border-radius: 16px; min-height: 240px; border: 1px solid var(--line); background: linear-gradient(0deg, rgba(255,255,255,.4), rgba(255,255,255,.4)), repeating-linear-gradient(0deg, #D9EEF5 0 1px, transparent 1px 38px), repeating-linear-gradient(90deg, #D9EEF5 0 1px, transparent 1px 38px), #E8F5F9; position: relative; display: grid; place-items: center; }
.map .pinp { width: 42px; height: 42px; background: var(--orange-500); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: grid; place-items: center; box-shadow: 0 8px 18px rgba(242,107,33,.4); }
.map .pinp::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.avatar-lg { width: 84px; height: 84px; font-size: 1.8rem; background: linear-gradient(135deg, var(--purple-700), var(--orange-500)); }
.profile-top { display: flex; gap: 20px; align-items: center; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.refer-hero { border-radius: 22px; padding: 36px; color: #fff; background: linear-gradient(120deg, var(--purple-800), var(--purple-600)); display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: center; position: relative; overflow: hidden; margin-bottom: 24px; }
.refer-hero h3 { color: #fff; font-size: 1.8rem; }
.refer-hero h3 em { font-style: normal; color: #FFB27A; }
.refer-hero p { color: #E0D4F4; }
.refer-hero .big { font-size: 4rem; font-weight: 800; text-align: center; color: #FFB27A; line-height: 1; letter-spacing: -.04em; }
.refer-hero .big small { display: block; font-size: .85rem; color: #E0D4F4; font-weight: 600; letter-spacing: 0; margin-top: 6px; }
.code-box { display: inline-flex; align-items: center; gap: 12px; background: rgba(255,255,255,.12); border: 1.5px dashed rgba(255,255,255,.5); padding: 8px 8px 8px 18px; border-radius: 12px; margin: 8px 0 14px; }
.code-box code { font-weight: 800; letter-spacing: .16em; font-size: 1.2rem; }
.refer-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.refer-steps .stat b { font-size: 1.1rem; }
.refer-steps .stat p { margin: 4px 0 0; font-size: .85rem; color: var(--muted); }
@media (max-width: 1000px) {
  .acct { grid-template-columns: 1fr; padding-top: 24px; }
  .acct-side { position: static; }
  .acct-nav { grid-auto-flow: column; overflow-x: auto; grid-auto-columns: max-content; }
  .acct-nav hr { display: none; }
  .profile-mini { display: none; }
  .req-grid, .addr-layout, .wallet-hero, .refer-hero { grid-template-columns: 1fr; }
  .summary { position: static; }
  .refer-steps { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: 1fr; }
}

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 30px); background: var(--purple-950); color: #fff; padding: 12px 22px; border-radius: 12px; font-weight: 600; font-size: .9rem; opacity: 0; pointer-events: none; transition: .3s; z-index: 300; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; stroke: #6EE7A8; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* ---------- Account: horizontal tabs (overrides sidebar layout) ---------- */
.acct { grid-template-columns: 1fr; gap: 24px; padding: 32px 0 72px; }
.acct-side { position: static; grid-template-columns: 1fr; gap: 16px; }
.profile-mini { display: flex; padding: 16px 22px; }
.acct-nav { display: flex; gap: 4px; padding: 6px; overflow-x: auto; scrollbar-width: none; position: sticky; top: 72px; z-index: 20; }
.acct-nav::-webkit-scrollbar { display: none; }
.acct-nav a { flex: none; white-space: nowrap; padding: 11px 18px; border-radius: 999px; }
.acct-nav hr { border: 0; border-left: 1px solid var(--line); margin: 6px 6px; width: 0; align-self: stretch; display: block; }
.acct-nav a.out { margin-left: auto; }
.stat-row { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .stat-row { grid-template-columns: 1fr; } .acct-nav a { padding: 10px 14px; } .acct-nav a.out { margin-left: 0; } }

/* ---------- Photography ---------- */
.tile { padding: 0; min-height: 0; aspect-ratio: 340 / 420; background: var(--purple-100); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.svc-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-card { display: block; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 340 / 447; background: var(--purple-100); transition: transform .25s, box-shadow .25s; }
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.svc-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.svc-card:hover img { transform: scale(1.04); }
@media (max-width: 960px) { .svc-cards { grid-template-columns: repeat(2, 1fr); } }
.why-img { border-radius: 20px; margin-top: 28px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; box-shadow: var(--shadow-lg); }
.about-art img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.about-art img:first-child { grid-row: span 2; min-height: 376px; }
.about-art img:not(:first-child) { min-height: 180px; }
.testi-sec { background: linear-gradient(rgba(78,45,135,.86), rgba(242,107,33,.72)), url("../img/testimonials-bg.jpg") center/cover; color: #fff; }
.testi-sec h2, .testi-sec blockquote, .testi-sec .testi-who b { color: #fff; }
.testi-sec .section-head p, .testi-sec .testi-who small { color: #F1E8FB; }
.testi-sec .eyebrow { color: #FFD2B3; }
.testi-sec .dots button { background: rgba(255,255,255,.4); }
.testi-sec .dots button.on { background: #fff; }
.testi-sec .avatar { background: #fff; color: var(--purple-700); }
.svc-banner { width: 100%; border-radius: 22px; margin-bottom: 32px; box-shadow: var(--shadow); aspect-ratio: 870 / 300; object-fit: cover; }
.how-img { width: 100%; border-radius: 20px; margin: 20px 0 32px; border: 1px solid var(--line); background: #fff; }
.auth-art { background: linear-gradient(150deg, rgba(32,18,58,.92), rgba(79,45,130,.82) 60%, rgba(242,107,33,.55)), url("../img/why-machine.jpg") center/cover; }
