@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@1,500;1,600&display=swap');

:root {
  --ink: #191917;
  --ink-soft: #2a2b27;
  --mint: #c4f241;
  --mint-deep: #a8d92b;
  --cream: #f3fdd9;
  --paper: #fbfaf6;
  --line: #e2e5d9;
  --muted: #6b7065;
  --green: #219653;
  --danger: #b42318;
  --radius: 18px;
  --shadow: 0 24px 60px -30px rgba(25, 25, 23, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -.03em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); letter-spacing: -.05em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: min(1160px, 92vw); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--ink); }
.muted { color: var(--muted); }
.serif { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 500; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.6rem; flex-wrap: wrap; }
.section-head p { max-width: 460px; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; cursor: pointer; transition: .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-mint { background: var(--mint); color: var(--ink); }
.btn-mint:hover { background: var(--mint-deep); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: #000; }
.btn-ghost { border-color: rgba(25,25,23,.25); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-block { width: 100%; }
.btn-sm { padding: .55rem 1rem; font-size: .82rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 246, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 74px; }
.logo { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.35rem; letter-spacing: -.04em; }
.brand-logo { height: 42px; width: auto; display: block; }
.brand-logo-light { filter: brightness(0) invert(1); }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: var(--mint);
  display: grid; place-items: center; font-weight: 800; font-size: 1rem;
}
.nav-links { display: flex; align-items: center; gap: 1.7rem; font-size: .9rem; font-weight: 600; }
.nav-links a:not(.btn):hover { color: var(--green); }
.nav-cta { display: flex; align-items: center; gap: .7rem; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--cream); border-bottom: 1px solid var(--line); }
.hero::after {
  content: ''; position: absolute; right: -160px; top: -180px; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(196,242,65,.85), rgba(243,253,217,0) 68%);
  border-radius: 50%; pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding: clamp(56px, 8vw, 96px) 0; position: relative; z-index: 1; }
.hero h1 { margin: .6rem 0 1rem; }
.hero h1 em { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 500; }
.hero-lede { font-size: 1.1rem; color: #4b4f45; max-width: 520px; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.6rem 0 1.4rem; }
.hero-trust { display: flex; gap: 1.4rem; flex-wrap: wrap; font-size: .8rem; font-weight: 600; color: #4b4f45; }
.hero-trust span { display: inline-flex; align-items: center; gap: .4rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

.hero-card { background: var(--ink); color: #fff; border-radius: 26px; padding: 1.8rem; box-shadow: var(--shadow); transform: rotate(-1.2deg); }
.hero-card .tag { display: inline-block; background: var(--mint); color: var(--ink); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px; }
.hero-card h3 { color: #fff; font-size: 1.7rem; margin: 1rem 0 .3rem; }
.hero-card .price-row { display: flex; align-items: baseline; gap: .8rem; margin: .4rem 0 1.2rem; flex-wrap: wrap; }
.hero-card .now { font-size: 2.4rem; font-weight: 800; color: var(--mint); letter-spacing: -.05em; }
.hero-card .was { color: #9fa39a; text-decoration: line-through; }
.hero-card ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem; font-size: .9rem; }
.hero-card li { display: flex; gap: .6rem; }
.hero-card li::before { content: '✓'; color: var(--mint); font-weight: 800; }
.hero-card .note { font-size: .74rem; color: #a8aca3; text-align: center; margin: .8rem 0 0; }

/* ---------- strip ---------- */
.strip { background: var(--ink); color: #fff; padding: .9rem 0; overflow: hidden; }
.strip-inner { display: flex; gap: 2.5rem; align-items: center; justify-content: center; flex-wrap: wrap; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: #d9ddd2; }
.strip b { color: var(--mint); }
.strip span::after { content: '✦'; margin-left: 2.5rem; color: var(--mint); }

/* ---------- services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.service-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; display: flex; flex-direction: column; transition: .25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfd5be; }
.service-card.featured { background: var(--ink); color: #f4f6ee; border-color: var(--ink); }
.service-card.featured .muted { color: #a9aea3; }
.service-card.featured .service-price-label { color: #a9aea3; }
.service-card.featured .base-price { color: #a9aea3; }
.service-badge {
  position: absolute; top: 1.2rem; right: 1.2rem; background: var(--mint); color: var(--ink);
  font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 999px;
}
.service-card h3 { font-size: 1.32rem; margin-bottom: .25rem; }
.service-tagline { font-size: .84rem; color: var(--muted); margin-bottom: 1.1rem; }
.service-card.featured .service-tagline { color: #a9aea3; }
.feature-list { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .45rem; font-size: .84rem; flex: 1; }
.feature-list li { display: flex; gap: .5rem; align-items: flex-start; }
.feature-list li::before { content: '✓'; color: var(--green); font-weight: 800; flex: none; }
.service-card.featured .feature-list li::before { color: var(--mint); }
.price-table { border-top: 1px solid var(--line); padding-top: 1rem; margin-bottom: 1.2rem; }
.service-card.featured .price-table { border-color: #37382f; }
.price-line { display: flex; justify-content: space-between; align-items: center; padding: .3rem 0; font-size: .84rem; }
.service-price-label { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.base-price { text-decoration: line-through; color: var(--muted); font-weight: 600; }
.discount-chip { background: var(--cream); color: #3d4a10; font-weight: 800; border-radius: 6px; padding: .1rem .45rem; font-size: .72rem; }
.service-card.featured .discount-chip { background: rgba(196,242,65,.16); color: var(--mint); }
.final-price { font-size: 1.9rem; font-weight: 800; letter-spacing: -.05em; color: var(--ink); }
.service-card.featured .final-price { color: var(--mint); }
.price-note { font-size: .7rem; color: var(--muted); }
.service-card.featured .price-note { color: #a9aea3; }
.service-meta { font-size: .72rem; color: var(--muted); margin-bottom: .9rem; }
.service-card.featured .service-meta { color: #a9aea3; }

/* ---------- guarantee ---------- */
.guarantee { background: var(--mint); border-radius: 28px; padding: clamp(2rem, 5vw, 3.4rem); display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.guarantee h2 { margin-bottom: .4rem; }
.guarantee p { max-width: 560px; margin: 0; color: #30351f; }
.guarantee-seal { width: 170px; height: 170px; border-radius: 50%; border: 2px dashed rgba(25,25,23,.5); display: grid; place-items: center; text-align: center; font-weight: 800; line-height: 1.15; padding: 1.2rem; }
.guarantee-seal span { display: block; font-size: 2.6rem; letter-spacing: -.06em; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; position: relative; }
.step-no { width: 38px; height: 38px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-weight: 800; margin-bottom: 1rem; }
.step h3 { font-size: 1rem; margin-bottom: .3rem; }
.step p { font-size: .84rem; color: var(--muted); margin: 0; }

/* ---------- affiliate ---------- */
.affiliate-band { background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; position: relative; overflow: hidden; }
.affiliate-band::before { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(196,242,65,.22), transparent 70%); right: -100px; bottom: -160px; }
.affiliate-band .eyebrow { color: var(--mint); }
.affiliate-band .eyebrow::before { background: var(--mint); }
.affiliate-band h2 { color: #fff; }
.affiliate-band p { color: #b9beb3; max-width: 480px; }
.affiliate-points { display: grid; gap: .8rem; margin-top: 1.4rem; }
.affiliate-points div { display: flex; gap: .8rem; align-items: flex-start; font-size: .9rem; color: #dfe3d8; }
.affiliate-points b { color: var(--mint); }
.affiliate-form-wrap { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); padding: 1.6rem; border-radius: 20px; position: relative; z-index: 1; }
.affiliate-form h3 { color: #fff; font-size: 1.15rem; }
.affiliate-form .field label { color: #cfd4c8; }
.affiliate-form .field input, .affiliate-form .field select { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); color: #fff; }
.affiliate-form .field input::placeholder { color: #8f948a; }
.affiliate-form select option { color: var(--ink); }

/* ---------- forms ---------- */
.field { display: grid; gap: .38rem; margin-bottom: 1rem; }
.field label { font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; padding: .82rem .95rem; border: 1px solid #cdd2c2; border-radius: 11px;
  background: #fff; color: var(--ink); font-size: .92rem; transition: .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(196,242,65,.5); }
.field textarea { resize: vertical; min-height: 110px; }
.field .hint { font-size: .72rem; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.field-error { color: var(--danger); font-size: .75rem; font-weight: 600; }
.form-note { font-size: .72rem; color: var(--muted); text-align: center; margin-top: .8rem; }

/* ---------- faq ---------- */
.faq { display: grid; gap: .7rem; max-width: 820px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.3rem; }
.faq summary { cursor: pointer; font-weight: 700; font-size: .95rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: .8rem 0 0; color: var(--muted); font-size: .9rem; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #c9cec3; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid #33352c; }
.footer .logo { color: #fff; }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer a { display: block; font-size: .86rem; color: #a9aea3; margin-bottom: .55rem; }
.footer a:hover { color: var(--mint); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .76rem; padding-top: 1.5rem; color: #868b80; }
.footer-brand p { font-size: .86rem; max-width: 280px; margin-top: .8rem; color: #a9aea3; }

/* ---------- checkout ---------- */
.checkout-wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: start; padding: 3rem 0 5rem; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); }
.panel h2 { font-size: 1.6rem; }
.summary-card { position: sticky; top: 96px; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 1.7rem; }
.summary-card h3 { color: #fff; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; font-size: .88rem; color: #c3c8bd; }
.summary-row b { color: #fff; }
.summary-total { border-top: 1px solid #3a3c32; margin-top: .8rem; padding-top: 1rem; }
.summary-total .amount { font-size: 1.8rem; font-weight: 800; color: var(--mint); letter-spacing: -.04em; }
.summary-card .small { font-size: .72rem; color: #969b90; margin-top: .8rem; }
.pay-badge { display: inline-flex; gap: .4rem; align-items: center; background: #fff; color: var(--ink); border-radius: 8px; padding: .3rem .6rem; font-size: .68rem; font-weight: 800; }
.progress-strip { display: flex; gap: .5rem; margin-bottom: 1.6rem; }
.progress-strip span { flex: 1; height: 4px; border-radius: 99px; background: var(--line); }
.progress-strip span.on { background: var(--mint-deep); }

/* ---------- portal ---------- */
.portal-hero { background: var(--ink); color: #fff; padding: 3rem 0; }
.portal-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.portal-hero p { color: #a9aea3; margin: 0; }
.portal-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 1.5rem; padding: 2.5rem 0 5rem; align-items: start; }
.timeline { display: grid; gap: 0; margin-top: 1.2rem; }
.timeline-item { display: grid; grid-template-columns: 28px 1fr; gap: .9rem; }
.timeline-mark { display: grid; justify-items: center; }
.timeline-dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); background: #fff; margin-top: 4px; }
.timeline-item.done .timeline-dot { background: var(--mint); border-color: var(--mint-deep); }
.timeline-item.active .timeline-dot { background: var(--ink); border-color: var(--ink); box-shadow: 0 0 0 4px var(--cream); }
.timeline-line { width: 2px; flex: 1; background: var(--line); min-height: 34px; }
.timeline-body { padding-bottom: 1.4rem; }
.timeline-body b { display: block; font-size: .9rem; }
.timeline-body span { font-size: .78rem; color: var(--muted); }
.code-input { font-size: 2rem !important; letter-spacing: .5em; text-align: center; font-weight: 800; padding: .8rem !important; }
.portal-login { max-width: 440px; margin: 4rem auto 6rem; }

/* ---------- projects & testimonials ---------- */
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.project-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .25s ease; }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-media { height: 210px; background: linear-gradient(135deg, #191917 0%, #3a402a 100%); position: relative; display: grid; place-items: center; color: var(--mint); font-family: 'Playfair Display', serif; font-size: 4rem; font-style: italic; overflow: hidden; }
.project-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-media em { position: absolute; top: 14px; left: 14px; background: var(--mint); color: var(--ink); font-family: 'Plus Jakarta Sans', sans-serif; font-style: normal; font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: .32rem .65rem; border-radius: 999px; }
.project-body { padding: 1.3rem; display: flex; flex-direction: column; flex: 1; }
.project-body h3 { margin-bottom: .35rem; }
.project-body p { font-size: .86rem; color: var(--muted); }
.project-foot { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding-top: .8rem; margin-top: auto; font-size: .73rem; color: var(--muted); font-weight: 700; }
.project-link { font-size: .82rem; font-weight: 700; margin-top: .6rem; text-decoration: underline; text-underline-offset: 3px; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.testimonial-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: .9rem; }
.testimonial-card blockquote { margin: 0; font-size: .9rem; color: #3f443b; flex: 1; line-height: 1.65; }
.stars { color: #d9a406; letter-spacing: .12em; font-size: .92rem; }
.stars span { color: #e3e6db; }
.testimonial-card figcaption { display: flex; gap: .7rem; align-items: center; border-top: 1px solid var(--line); padding-top: .9rem; }
.testimonial-card figcaption img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.testimonial-card figcaption strong { display: block; font-size: .84rem; }
.testimonial-card figcaption em { font-style: normal; font-size: .72rem; color: var(--muted); }

.file-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.file-list li { border: 1px solid var(--line); border-radius: 10px; padding: .65rem .8rem; font-size: .84rem; background: #fff; }
.file-list a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.file-list span { display: block; font-size: .72rem; color: var(--muted); margin-top: .1rem; }

.brief-list { display: grid; gap: .8rem; }
.brief-list div { border-bottom: 1px solid #eef0e7; padding-bottom: .7rem; }
.brief-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.brief-list b { display: block; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.brief-list span { font-size: .86rem; white-space: normal; }

/* ---------- alerts ---------- */
.alert { border-radius: 12px; padding: .9rem 1.1rem; font-size: .86rem; margin-bottom: 1.2rem; border: 1px solid; }
.alert-success { background: #eefadf; border-color: #b9e08a; color: #2d5410; }
.alert-error { background: #fef2f2; border-color: #f3c0bc; color: #8f1f16; }
.alert-info { background: #eef4ff; border-color: #c6d8f7; color: #1d3f75; }
.alert-warn { background: #fffaeb; border-color: #f2d59a; color: #6b4a05; }

/* ---------- badges ---------- */
.badge { display: inline-flex; align-items: center; font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: .25rem .55rem; border-radius: 999px; white-space: nowrap; }
.badge-mint { background: #e8f8c0; color: #37540a; }
.badge-info { background: #e4edff; color: #21488f; }
.badge-warn { background: #fff2cf; color: #7a5306; }
.badge-muted { background: #eceee7; color: #5f655a; }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: .84rem; }
table.data th { text-align: left; padding: .8rem 1rem; background: #f6f7f1; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: .85rem 1rem; border-bottom: 1px solid #eef0e7; vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: #fcfdf8; }
table.data .actions { display: flex; gap: .35rem; }

/* ---------- admin ---------- */
.admin-body { background: #f1f2ec; }
.admin-shell { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.admin-side { background: var(--ink); color: #cfd4c8; padding: 1.4rem 1rem; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: .3rem; }
.admin-side .logo { color: #fff; padding: .4rem .6rem 1.3rem; font-size: 1.15rem; }
.admin-side .brand-logo { height: 32px; }
.admin-login .brand-logo { height: 46px; margin-bottom: .4rem; }
.admin-side .logo-mark { width: 30px; height: 30px; }
.admin-side a.nav-item { display: flex; align-items: center; gap: .6rem; padding: .65rem .75rem; border-radius: 9px; font-size: .85rem; font-weight: 600; color: #b9beb2; }
.admin-side a.nav-item:hover { background: #26271f; color: #fff; }
.admin-side a.nav-item.active { background: var(--mint); color: var(--ink); }
.admin-side .side-foot { margin-top: auto; border-top: 1px solid #34362c; padding-top: .9rem; font-size: .78rem; }
.admin-side .side-foot a { color: #b9beb2; display: block; padding: .4rem .75rem; }
.admin-main { padding: 1.8rem clamp(1rem, 3vw, 2.4rem) 3rem; min-width: 0; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.admin-top h1 { font-size: 1.7rem; margin: 0; letter-spacing: -.03em; }
.admin-top p { margin: .2rem 0 0; font-size: .84rem; color: var(--muted); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.2rem; }
.stat .label { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.stat .value { font-size: 1.6rem; font-weight: 800; letter-spacing: -.04em; margin-top: .2rem; }
.stat .sub { font-size: .72rem; color: var(--muted); }
.stat.mint { background: var(--mint); border-color: var(--mint-deep); }
.stat.dark { background: var(--ink); color: #fff; }
.stat.dark .label, .stat.dark .sub { color: #a9aea3; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; margin-bottom: 1.2rem; }
.card h2 { font-size: 1.05rem; letter-spacing: -.01em; margin-bottom: 1rem; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.card-head h2 { margin: 0; }
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.2rem; align-items: start; }
.admin-login { min-height: 100vh; display: grid; place-items: center; background: var(--ink); padding: 1.5rem; }
.admin-login .panel { width: min(420px, 100%); }
.admin-login .logo { margin-bottom: 1.2rem; }
.inline-form { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.input-sm { padding: .5rem .65rem; border: 1px solid #cdd2c2; border-radius: 8px; font-size: .82rem; background: #fff; }
.discount-cell { display: flex; gap: .35rem; align-items: center; }
.empty { text-align: center; padding: 2.4rem 1rem; color: var(--muted); font-size: .88rem; }
.pill-row { display: flex; gap: .4rem; flex-wrap: wrap; }

@media (max-width: 980px) {
  .hero-grid, .checkout-wrap, .portal-grid, .affiliate-band, .two-col { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .admin-side .logo { padding: .4rem .6rem; }
  .admin-side .side-foot { margin: 0; border: 0; padding: 0; }
  .summary-card { position: static; }
  .guarantee { grid-template-columns: 1fr; }
  .guarantee-seal { width: 130px; height: 130px; }
}
@media (max-width: 680px) {
  .nav-links { display: none; position: absolute; top: 74px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; padding: 1.2rem 4vw; gap: 1rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta .btn-ghost { display: none; }
  .services-grid, .steps, .project-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .hero-card { transform: none; }
  .strip span::after { display: none; }
  .footer-bottom { flex-direction: column; }
}

/* ---------- brief wizard ---------- */
.wizard-top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.wizard-bar { flex: 1; height: 5px; border-radius: 99px; background: var(--line); overflow: hidden; }
.wizard-bar span { display: block; height: 100%; width: 16.66%; background: var(--mint-deep); border-radius: 99px; transition: width .35s ease; }
.wizard-dots { display: flex; gap: .35rem; }
.wizard-dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .68rem; font-weight: 800; background: #eef0e7; color: var(--muted); transition: .25s ease; }
.wizard-dot.active { background: var(--ink); color: var(--mint); transform: scale(1.06); }
.wizard-dot.done { background: var(--mint); color: var(--ink); }
.wizard-step { display: none; }
.wizard-step.active { display: block; animation: wizardIn .32s ease both; }
@keyframes wizardIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.wizard-step h2 { font-size: 1.55rem; margin-bottom: .3rem; }
.wizard-lede { color: var(--muted); font-size: .9rem; margin-bottom: 1.3rem; }
.wizard-actions { display: flex; justify-content: space-between; align-items: center; gap: .8rem; margin-top: 1.2rem; }
.opt-tag { font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: #f0f2ea; padding: .15rem .4rem; border-radius: 999px; margin-left: .3rem; vertical-align: middle; }
.review-box { background: var(--cream); border: 1px solid #dce9b8; border-radius: 14px; padding: 1rem 1.1rem; margin-bottom: 1.2rem; font-size: .84rem; }
.review-list { display: grid; gap: .45rem; }
.review-list div { display: flex; gap: .6rem; justify-content: space-between; border-bottom: 1px solid #e3edc8; padding-bottom: .35rem; }
.review-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.review-list b { max-width: 42%; color: #3f4a22; }
.review-list span { text-align: right; color: #4d5342; max-width: 56%; }
@media (max-width: 680px) { .wizard-dots { display: none; } .wizard-actions .btn { flex: 1; } }

/* ---------- portal tabs/progress ---------- */
.portal-progress { height: 5px; width: min(320px, 70vw); background: #3a3c32; border-radius: 99px; margin-top: .7rem; overflow: hidden; }
.portal-progress span { display: block; height: 100%; background: var(--mint); border-radius: 99px; }
.portal-tabs { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.portal-tabs .container { display: flex; gap: 1.4rem; overflow-x: auto; }
.portal-tabs a { padding: .85rem 0; font-size: .82rem; font-weight: 700; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.portal-tabs a:hover, .portal-tabs a.active { color: var(--ink); border-color: var(--mint-deep); }

/* ---------- media usage ---------- */
.media-bar { height: 12px; background: #eef0e7; border-radius: 99px; overflow: hidden; }
.media-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--mint), var(--mint-deep)); border-radius: 99px; transition: width .3s ease; }

/* ---------- chatbot ---------- */
.chat-widget { position: fixed; right: 18px; bottom: 18px; z-index: 90; font-family: 'Plus Jakarta Sans', sans-serif; }
.chat-launcher { display: flex; align-items: center; gap: .5rem; background: var(--ink); color: var(--mint); border: 0; border-radius: 999px; padding: .85rem 1.1rem; font-weight: 800; font-size: .85rem; cursor: pointer; box-shadow: 0 14px 40px rgba(0,0,0,.28); }
.chat-launcher-icon { font-size: 1.05rem; }
.chat-panel { display: none; position: absolute; right: 0; bottom: 64px; width: min(370px, calc(100vw - 24px)); height: min(540px, 72vh); background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px rgba(25,25,23,.32); flex-direction: column; }
.chat-widget.open .chat-panel { display: flex; animation: chatIn .22s ease both; }
@keyframes chatIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.chat-head { background: var(--ink); color: #fff; padding: 1rem 1.1rem; display: flex; justify-content: space-between; align-items: center; gap: .8rem; }
.chat-head strong { display: block; color: #fff; font-size: .92rem; }
.chat-head small { color: #a9aea3; font-size: .68rem; }
.chat-head button { background: transparent; border: 0; color: #cfd4c8; font-size: 1.4rem; cursor: pointer; line-height: 1; }
.chat-messages { flex: 1; overflow-y: auto; background: #f7f8f2; padding: 1rem; display: flex; flex-direction: column; gap: .55rem; }
.chat-msg { max-width: 85%; padding: .65rem .8rem; border-radius: 12px; font-size: .82rem; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }
.chat-msg.bot { background: #fff; border: 1px solid #e5e8dc; color: #33372e; border-bottom-left-radius: 4px; }
.chat-msg.user { align-self: flex-end; background: var(--ink); color: #f2f4ed; border-bottom-right-radius: 4px; }
.chat-msg.error { background: #fef2f2; border-color: #f3c0bc; color: #8f1f16; }
.chat-msg.typing { display: inline-flex; gap: .25rem; align-items: center; }
.chat-msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa08f; animation: chatBlink 1s infinite; }
.chat-msg.typing i:nth-child(2) { animation-delay: .15s; }
.chat-msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chatBlink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.chat-chips { display: flex; gap: .35rem; padding: .55rem .7rem 0; overflow-x: auto; background: #f7f8f2; }
.chat-chips button { white-space: nowrap; border: 1px solid #d9ddcd; background: #fff; color: #4d5342; border-radius: 999px; padding: .3rem .6rem; font-size: .68rem; font-weight: 700; cursor: pointer; }
.chat-chips button:hover { border-color: var(--mint-deep); }
.chat-form { display: flex; gap: .45rem; padding: .7rem; background: #fff; border-top: 1px solid var(--line); }
.chat-form input { flex: 1; border: 1px solid #cdd2c2; border-radius: 999px; padding: .65rem .9rem; font-size: .82rem; outline: none; }
.chat-form input:focus { border-color: var(--ink); }
.chat-form button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--ink); color: var(--mint); font-size: 1.1rem; cursor: pointer; flex: none; }
.chat-foot { background: #fff; padding: 0 .7rem .6rem; font-size: .64rem; color: var(--muted); display: flex; justify-content: space-between; gap: .5rem; }
.chat-foot button { border: 0; background: transparent; color: var(--muted); font-size: .64rem; text-decoration: underline; cursor: pointer; }
@media (max-width: 680px) { .chat-launcher-text { display: none; } .chat-launcher { padding: .9rem; } }
