:root {
  --green: #81c43a;
  --green-dark: #4d8f20;
  --purple: #652483;
  --purple-dark: #43165b;
  --ink: #16131a;
  --muted: #615b68;
  --line: #e9e3ee;
  --bg: #fffaf3;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(36, 20, 48, .14);
  --radius: 24px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, var(--bg) 52%, #fff 100%);
  line-height: 1.5;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.topbar {
  background: var(--purple);
  color: #fff;
  font-size: 14px;
}
.topbar .container { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 8px 0; flex-wrap: wrap; }
.topbar a { font-weight: 800; text-decoration: none; }
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(101,36,131,.14);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 245px; }
.brand img { width: 238px; height: 74px; object-fit: contain; }
.brand strong { display: block; font-size: 20px; line-height: 1; color: var(--purple); }
.brand span { display: block; font-size: 12px; color: var(--muted); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.navlinks { display: flex; align-items: center; gap: 18px; }
.navlinks a { text-decoration: none; font-weight: 800; color: #2b2630; font-size: 15px; }
.social-link { border: 1px solid #d8c9e4; border-radius: 999px; padding: 9px 13px; background: #f7f0fc; color: var(--purple) !important; }
.menu-toggle { display: none; border: 0; background: var(--purple); color: #fff; border-radius: 14px; padding: 10px 13px; font-weight: 900; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 18px; border-radius: 999px; background: var(--green); color: #142100; text-decoration: none; font-weight: 950; border: 2px solid rgba(0,0,0,.08); box-shadow: 0 10px 22px rgba(129,196,58,.26); cursor: pointer; }
.btn.purple { background: var(--purple); color: #fff; box-shadow: 0 10px 22px rgba(101,36,131,.22); }
.btn.white { background: #fff; color: var(--purple); box-shadow: none; border-color: rgba(101,36,131,.22); }
.btn.block { width: 100%; }
.hero { padding: 46px 0 70px; position: relative; overflow: hidden; }
.hero:before { content: ''; position: absolute; inset: 22px -16% auto auto; width: 360px; height: 360px; border-radius: 999px; background: rgba(129,196,58,.14); filter: blur(2px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 38px; align-items: center; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: #f1e7f8; color: var(--purple); font-weight: 950; font-size: 14px; }
h1 { font-size: clamp(42px, 7vw, 78px); letter-spacing: -0.055em; line-height: .94; margin: 18px 0 18px; }
h1 span { color: var(--green-dark); }
.lead { font-size: clamp(18px, 2vw, 22px); color: #3e3547; max-width: 650px; margin: 0 0 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.quick-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 14px; box-shadow: 0 10px 22px rgba(0,0,0,.04); }
.quick-card b { display: block; font-size: 21px; color: var(--purple); }
.quick-card span { color: var(--muted); font-weight: 750; font-size: 13px; }
.hero-card { background: #fff; border: 1px solid var(--line); border-radius: 32px; box-shadow: var(--shadow); padding: 24px; position: relative; }
.logo-panel { background: radial-gradient(circle at top left, rgba(129,196,58,.25), transparent 44%), #fff; border-radius: 26px; padding: 18px; min-height: 300px; display: grid; place-items: center; border: 1px solid rgba(101,36,131,.12); }
.logo-panel img { width: 100%; max-height: 280px; object-fit: contain; }
.badge-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.badge { background: #fbf7ff; border: 1px solid #eadbf5; border-radius: 18px; padding: 13px; font-weight: 900; }
.badge small { display: block; color: var(--muted); font-weight: 700; }
.section { padding: 70px 0; }
.section.alt { background: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.section-head h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1; letter-spacing: -.04em; }
.section-head p { color: var(--muted); max-width: 550px; margin: 0; font-weight: 650; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 12px 28px rgba(29, 18, 37, .06); }
.card .icon { width: 52px; height: 52px; border-radius: 18px; background: #f0e4f7; display: grid; place-items: center; font-size: 26px; margin-bottom: 14px; }
.card h3 { margin: 0 0 8px; font-size: 23px; }
.card p { margin: 0; color: var(--muted); font-weight: 600; }
.list { display: grid; gap: 10px; margin-top: 16px; padding: 0; list-style: none; }
.list li { display: flex; gap: 9px; color: #39313f; font-weight: 700; }
.list li:before { content: '✓'; color: var(--green-dark); font-weight: 950; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.feature-box { background: linear-gradient(135deg, var(--purple), var(--purple-dark)); color: #fff; border-radius: 30px; padding: 28px; box-shadow: var(--shadow); }
.feature-box h2 { font-size: clamp(32px, 4vw, 46px); line-height: 1; margin: 0 0 14px; letter-spacing: -.04em; }
.feature-box p { color: rgba(255,255,255,.86); font-size: 18px; font-weight: 650; }
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.review { background: #fff; border: 1px solid rgba(255,255,255,.25); border-radius: 22px; padding: 18px; color: var(--ink); }
.stars { color: #f4b000; letter-spacing: 2px; font-weight: 900; }
.quote-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow); padding: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 900; font-size: 14px; color: #342b3d; }
input, select, textarea { width: 100%; border: 1px solid #ddd2e8; border-radius: 15px; padding: 13px 14px; font: inherit; background: #fff; min-height: 48px; }
textarea { min-height: 110px; resize: vertical; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checks label { display: flex; align-items: center; gap: 9px; border: 1px solid #ddd2e8; border-radius: 15px; padding: 11px; font-weight: 850; }
.checks input { width: auto; min-height: auto; }
.notice { padding: 14px 16px; background: #f3fbe9; border: 1px solid #d9edc4; border-radius: 18px; color: #24410d; font-weight: 800; margin: 14px 0; }
.map-card { background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 22px; box-shadow: 0 12px 28px rgba(29,18,37,.06); }
.map-fake { border-radius: 22px; min-height: 230px; background: linear-gradient(135deg, #eee2f5 0 24%, #f7f0fc 24% 48%, #e8f5dd 48% 70%, #fff4dc 70%); display: grid; place-items: center; border: 1px solid #e7dbef; text-align: center; padding: 22px; }
.estimate-card { margin: 18px 0; padding: 18px; border-radius: 22px; background: linear-gradient(135deg, #f8f1fc, #f1fbe8); border: 1px solid #e2d2ed; }
.estimate-card h3 { margin: 0 0 6px; font-size: 24px; }
.small-note, .fine-print { color: var(--muted); font-size: 13px; font-weight: 700; margin: 0 0 12px; }
.fine-print { margin: 10px 0 0; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-grid label { display: grid; gap: 6px; }
.estimate-total { margin-top: 14px; padding: 14px; border-radius: 18px; background: #fff; border: 1px solid #e2d8ea; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.estimate-total span { color: var(--muted); font-weight: 900; }
.estimate-total strong { color: var(--purple); font-size: 28px; line-height: 1; }
.footer { background: #18101f; color: #fff; padding: 42px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 28px; }
.footer a { color: #fff; text-decoration: none; }
.footer p, .footer li { color: rgba(255,255,255,.78); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.copyright { border-top: 1px solid rgba(255,255,255,.14); margin-top: 28px; padding-top: 18px; color: rgba(255,255,255,.62); font-size: 14px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-card { min-height: 190px; border-radius: 24px; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: linear-gradient(145deg, var(--purple), var(--green-dark)); overflow: hidden; position: relative; }
.gallery-card:before { content: ''; position: absolute; inset: 14px; border: 2px dashed rgba(255,255,255,.33); border-radius: 20px; }
.gallery-card b, .gallery-card span { position: relative; z-index: 1; }
.gallery-card b { font-size: 20px; }
.page-hero { padding: 46px 0; background: linear-gradient(135deg, #f5eafa, #eefbdd); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: 12px; }
.admin-body { background: #f8f5fb; }
.admin-shell { display: grid; grid-template-columns: 280px 1fr; min-height: 100vh; }
.admin-sidebar { background: #18101f; color: #fff; padding: 24px; position: sticky; top: 0; height: 100vh; }
.admin-sidebar img { width: 150px; margin-bottom: 18px; background: #fff; border-radius: 18px; padding: 8px; }
.admin-sidebar nav { display: grid; gap: 8px; }
.admin-sidebar a { color: #fff; text-decoration: none; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.08); font-weight: 800; }
.admin-main { padding: 24px; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 16px; }
.stat b { display: block; font-size: 28px; color: var(--purple); }
.table-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 12px 28px rgba(29,18,37,.05); margin-bottom: 18px; }
.table-card h2 { padding: 18px; margin: 0; font-size: 22px; }
.table-wrap { overflow: auto; }
table { border-collapse: collapse; width: 100%; min-width: 850px; }
th, td { padding: 13px 16px; border-top: 1px solid #eee7f4; text-align: left; vertical-align: top; }
th { background: #fbf7ff; font-size: 13px; color: #52405d; text-transform: uppercase; letter-spacing: .04em; }
.status { display: inline-flex; border-radius: 999px; padding: 5px 10px; background: #edf7e4; color: #31590f; font-weight: 900; font-size: 12px; }
.modal { border: none; border-radius: 24px; padding: 0; width: min(720px, calc(100% - 24px)); box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(20,12,27,.5); }
.modal-inner { padding: 24px; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 14px; }
.day { min-height: 70px; border-radius: 14px; background: #f8f2fc; border: 1px solid #eadcf3; padding: 8px; font-weight: 850; }
.day small { display: block; margin-top: 6px; color: var(--purple); }
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .navlinks { display: none; position: absolute; left: 16px; right: 16px; top: 86px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 16px; flex-direction: column; align-items: stretch; }
  .navlinks.open { display: flex; }
  .navlinks a { padding: 8px; }
  .hero-grid, .split, .quote-wrap, .footer-grid, .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { position: relative; height: auto; }
  .cards { grid-template-columns: 1fr; }
  .quick, .stats { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .section-head { display: block; }
}
@media (max-width: 580px) {
  .container { width: min(var(--max), calc(100% - 22px)); }
  .brand { min-width: 180px; }
  .brand img { width: 178px; height: 56px; }
  .brand strong { font-size: 17px; }
  .topbar .container { justify-content: center; text-align: center; }
  .quick, .badge-row, .form-grid, .checks, .review-grid, .gallery, .stats, .mini-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 26px; }
  .hero-actions .btn { width: 100%; }
}
