:root {
  --purple: #6d3eab;
  --purple-deep: #3d2170;
  --purple-soft: #f6f1fb;
  --purple-mid: #8b61c2;
  --ink: #1c1430;
  --muted: #5e5672;
  --line: #e7e0f0;
  --gold: #d89a12;
  --white: #ffffff;
  --bg: #faf8fc;
  --shadow: 0 18px 50px rgba(61, 33, 112, 0.08);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: Outfit, Inter, sans-serif; line-height: 1.15; margin: 0 0 0.6rem; }
p { margin: 0 0 1rem; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.icon { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -0.18em; flex: none; }
.icon-bubble .icon { width: 26px; height: 26px; }
.menu-toggle .icon, .drawer-head .icon { width: 28px; height: 28px; }

.topbar { background: var(--purple-deep); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.topbar-inner, .header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-inner { min-height: 42px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .icon { width: 16px; height: 16px; color: #f0c14a; }
.topbar-link:hover { color: #f0c14a; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 24px rgba(28,20,48,0.05); }
.header-inner { min-height: 92px; }
.brand img { height: 74px; width: auto; }
.desktop-nav { display: flex; gap: 0; align-items: center; font-weight: 600; font-size: 13px; color: var(--muted); }
.desktop-nav a, .drawer-nav a { padding: 8px 7px; border-radius: 8px; white-space: nowrap; }
.header-actions .btn { padding: 10px 14px; }
.desktop-nav a.is-active, .drawer-nav a.is-active { color: var(--purple); }
.desktop-nav a:hover, .drawer-nav a:hover { color: var(--purple); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle, .drawer-head button {
  border: 0; background: transparent; cursor: pointer; color: var(--ink); display: none;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 12px; padding: 14px 22px; font-weight: 700; border: 2px solid transparent;
  cursor: pointer; font-family: inherit; font-size: 15px;
}
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-deep); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--purple); color: var(--purple); }
.btn-gold { background: var(--gold); color: #1c1430; }
.btn-gold:hover { filter: brightness(0.96); }

.hero { padding: 56px 0 36px; background: #fff; overflow: hidden; }
.hero-grid, .split, .form-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.kicker { display: flex; align-items: center; gap: 12px; color: var(--purple); font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 14px; }
.kicker:before { content: ""; width: 42px; height: 2px; background: var(--gold); }
.hero h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.03em; }
.hero h1 span, .section-title span { color: var(--purple); }
.lede { font-size: 18px; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-panel {
  background: linear-gradient(160deg, #f7f2fc 0%, #fff 55%);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
}
.hero-panel img.panel-logo { height: 92px; width: auto; margin-bottom: 8px; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.mini-grid .mini:last-child:nth-child(odd) { grid-column: 1 / -1; }
.mini {
  background: #fff; border-radius: 16px; padding: 16px; border: 1px solid var(--line);
}
.mini strong { display: block; font-family: Outfit, sans-serif; }
.mini span { color: var(--muted); font-size: 13px; }
.float-note {
  position: absolute; right: -12px; bottom: -18px;
  background: #fff; border-radius: 16px; padding: 14px 16px;
  box-shadow: var(--shadow); display: flex; gap: 10px; align-items: center;
  border: 1px solid var(--line);
}
.hero-visual { position: relative; }
.hero-visual img {
  width: 100%; height: 520px; object-fit: cover; object-position: center 30%;
  border-radius: 28px; box-shadow: var(--shadow);
}
.hero-chip {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(255,255,255,0.95); border-radius: 16px; padding: 12px 14px;
  display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow);
}
.hero-chip .icon { width: 28px; height: 28px; color: var(--purple); }
.hero-chip span { display: block; color: var(--muted); font-size: 13px; font-weight: 500; }
.service-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.service-pills a {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px;
  display: flex; gap: 12px; align-items: flex-start;
}
.service-pills a:hover { border-color: var(--purple-mid); box-shadow: var(--shadow); }
.service-pills .icon-bubble { width: 44px; height: 44px; margin: 0; flex: none; }
.service-pills strong { display: block; font-family: Outfit, sans-serif; }
.service-pills span { color: var(--muted); font-size: 13px; }
.feature-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-photo { position: relative; display: block; border-radius: 22px; overflow: hidden; color: #fff; }
.feature-photo img { width: 100%; height: 340px; object-fit: cover; transition: transform 0.35s ease; }
.feature-photo:hover img { transform: scale(1.04); }
.feature-photo div {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 20px;
  background: linear-gradient(transparent, rgba(28, 20, 48, 0.82));
}
.feature-photo span { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: #f0c14a; }
.feature-photo strong { display: block; margin-top: 6px; font-family: Outfit, sans-serif; font-size: 26px; line-height: 1.15; }
.intro-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: center; }
.intro-photo { width: 100%; height: 320px; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.section-photo { width: 100%; height: 240px; object-fit: cover; border-radius: 22px; margin-bottom: 18px; }
.franchise-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.section { padding: 72px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.section-head h2, .split h2, .page-hero h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.02em; }
.gold-bar { width: 72px; height: 5px; border-radius: 99px; background: var(--gold); margin: 14px auto 0; }
.left-bar { margin-left: 0; }

.cards, .plan-grid, .step-grid, .office-grid { display: grid; gap: 18px; }
.cards { grid-template-columns: repeat(4, 1fr); }
.plan-grid { grid-template-columns: repeat(3, 1fr); }
.plan-grid.general-grid { grid-template-columns: repeat(2, 1fr); }
.step-grid, .office-grid { grid-template-columns: repeat(3, 1fr); }
.card, .plan, .step, .office, .quote, .info-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.card:hover, .plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); transition: 0.2s ease; }
.icon-bubble {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--purple-soft); color: var(--purple); margin-bottom: 14px;
}
.card h3, .plan h3, .step h3 { font-size: 22px; }
.card p, .plan p, .step p, .office p, .quote p { color: var(--muted); }
.text-link { color: var(--purple); font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }

.stats { background: var(--purple-deep); color: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stats strong { display: block; font-family: Outfit, sans-serif; font-size: 42px; color: #f0c14a; }
.stats span { letter-spacing: 0.12em; text-transform: uppercase; font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.75); }

.checklist { list-style: none; padding: 0; margin: 18px 0 0; }
.checklist li { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px; color: var(--ink); }
.checklist .icon { color: var(--purple); width: 20px; height: 20px; margin-top: 3px; }

.band { background: #fff; }
.soft { background: var(--purple-soft); }

.tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--purple); background: var(--purple-soft);
  border-radius: 99px; padding: 4px 10px; margin-bottom: 10px;
}
.plan-meta { display: flex; justify-content: space-between; gap: 10px; align-items: end; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.plan-meta b { font-family: Outfit, sans-serif; font-size: 22px; color: var(--purple-deep); display: block; }
.plan-meta small { color: var(--muted); }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote footer { font-weight: 700; color: var(--ink); }
.quote footer span { display: block; font-weight: 500; color: var(--muted); font-size: 14px; }

.page-hero { padding: 54px 0 20px; background: linear-gradient(180deg, #fff, var(--bg)); }
.page-hero p { color: var(--muted); max-width: 680px; font-size: 18px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 14px; }
input, select, textarea {
  width: 100%; margin-top: 6px; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; font: inherit; background: #fff; color: var(--ink);
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(109,62,171,0.25); border-color: var(--purple); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute; left: -9999px; }
.notice { background: #eefbf3; color: #146c43; border: 1px solid #b7ebc9; padding: 12px 14px; border-radius: 12px; margin-bottom: 14px; }
.notice.error { background: #fff1f1; color: #9b1c1c; border-color: #ffd0d0; }

.drawer-backdrop, .drawer { display: none; }
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.8fr 0.8fr 1.3fr; gap: 32px; }
.footer-brand img { height: 68px; }
.site-footer h4 { font-size: 18px; margin-bottom: 14px; }
.site-footer h4:after { content: ""; display: block; width: 42px; height: 3px; background: var(--gold); border-radius: 99px; margin-top: 8px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; color: var(--muted); }
.site-footer a:hover { color: var(--purple); }
.footer-offices span { display: block; font-weight: 700; color: var(--ink); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.disclaimer { font-size: 12px; color: var(--muted); }
.wa-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--purple); }
.float-wa {
  position: fixed; right: 18px; bottom: 18px; width: 54px; height: 54px; border-radius: 50%;
  background: #1fa855; color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); z-index: 30;
}

@media (max-width: 1280px) {
  .desktop-nav, .header-actions .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .drawer-backdrop.is-open { display: block; position: fixed; inset: 0; background: rgba(28,20,48,0.45); z-index: 50; }
  .drawer.is-open {
    display: flex; flex-direction: column; position: fixed; top: 0; right: 0; height: 100%; width: min(340px, 88vw);
    background: #fff; z-index: 60; padding: 18px; box-shadow: var(--shadow);
  }
  .drawer-head { display: flex; justify-content: space-between; align-items: center; }
  .drawer-head button { display: inline-flex; }
  .drawer-nav { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; font-weight: 700; }
}

@media (max-width: 980px) {
  .hero-grid, .split, .form-layout, .cards, .plan-grid, .step-grid, .quotes, .footer-grid, .stats .container, .office-grid, .feature-photos, .service-pills, .intro-grid, .franchise-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cards, .footer-grid, .stats .container { grid-template-columns: 1fr 1fr; }
  .float-note, .hero-chip { position: static; margin-top: 14px; }
  .hero-visual img, .feature-photo img { height: 280px; }
}

@media (max-width: 720px) {
  .hero-grid, .split, .form-layout, .cards, .plan-grid, .step-grid, .quotes, .footer-grid, .stats .container, .office-grid, .form-row, .mini-grid, .feature-photos, .service-pills, .intro-grid, .franchise-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual img { height: 240px; }
  .intro-photo { height: 220px; }
  .topbar-address { display: none; }
  .brand img { height: 62px; }
  .header-inner { min-height: 78px; }
  .section { padding: 52px 0; }
  .container { width: min(var(--max), calc(100% - 28px)); }
}
