:root {
  --orange: #f36523;
  --orange-dark: #d24e12;
  --blue: #283890;
  --blue-dark: #1c2868;
  --ink: #17191f;
  --muted: #5c6270;
  --line: #e4e0d8;
  --paper: #f6f4f0;
  --white: #ffffff;
  --green: #12810c;
  --shadow: 0 18px 50px rgba(23, 25, 31, 0.08);
  --header: 78px;
  --font-d: "Montserrat", "Segoe UI", sans-serif;
  --font-b: "Barlow", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-b);
  font-size: 1.0625rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-d); line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 0.6rem; }
p { margin: 0 0 0.9rem; }
ul { margin: 0; padding: 0; list-style: none; }

.skip {
  position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff;
  padding: 0.6rem 0.9rem; z-index: 100; 
}
.skip:focus { top: 1rem; }

.wrap { width: min(1160px, calc(100% - 2rem)); margin-inline: auto; }
.topbar { background: var(--ink); color: #efeae3; font-size: 0.92rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 0.45rem 0; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(246, 244, 240, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header); gap: 1rem; }
.logo img { width: 168px; height: auto; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: transparent; border: 1px solid var(--ink); color: var(--ink);
  min-height: 44px; padding: 0 0.8rem; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 16px; height: 1.5px; background: currentColor; position: relative;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }
.nav { display: none; }
.nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); padding: 0.6rem 1rem 1rem; }
.nav-list { display: grid; gap: 0.15rem; }
.nav a, .has-sub > button {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 44px; padding: 0.2rem 0.2rem; color: var(--ink); text-decoration: none;
  background: none; border: 0; width: 100%; text-align: left; cursor: pointer; font-weight: 600;
}
.nav a[aria-current="page"] { color: var(--orange-dark); }
.has-sub ul { display: none; padding: 0 0 0.4rem 0.8rem; }
.has-sub.is-open ul { display: grid; }
.header-cta { margin-top: 0.6rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  min-height: 48px; padding: 0.75rem 1.15rem; text-decoration: none; border: 0; cursor: pointer;
  font-family: var(--font-d); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em;
  text-transform: uppercase; line-height: 1.2;
}
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-line { background: transparent; color: var(--blue); border: 1px solid var(--blue); }
.btn-line:hover { background: var(--blue); color: #fff; }
.btn[disabled] { opacity: 0.6; cursor: wait; }

.hero { background: var(--blue); color: #fff; overflow: clip; }
.hero-grid { display: grid; gap: 2.2rem; padding: 2.4rem 0 2.8rem; align-items: center; }
.hero-grid > * { min-width: 0; }
.kicker { font-family: var(--font-d); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); margin: 0 0 0.8rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.55rem); max-width: 14ch; color: #fff; }
.lede { font-size: 1.12rem; max-width: 42rem; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.3rem 0 0.7rem; }
.micro { color: rgba(255,255,255,.75); font-size: 0.95rem; max-width: 38rem; }

.mock { position: relative; min-height: 320px; padding-bottom: 2.2rem; }
.browser, .phone {
  background: #fff; color: var(--ink); border-radius: 14px; box-shadow: var(--shadow);
}
.browser { padding: 0.7rem; }
.browser-bar { display: flex; gap: 0.35rem; margin-bottom: 0.7rem; }
.browser-bar span { width: 8px; height: 8px; border-radius: 50%; background: #ddd4c8; }
.browser-bar span:first-child { background: var(--orange); }
.mini-site { background: #f7f5f1; padding: 0.8rem; min-height: 210px; }
.mini-top { display: flex; gap: 0.7rem; align-items: center; color: var(--blue); font-size: 0.72rem; margin-bottom: 1rem; }
.mini-top b { margin-right: auto; font-family: var(--font-d); }
.mini-h { font-family: var(--font-d); font-weight: 800; font-size: 1.15rem; line-height: 1.15; max-width: 16ch; margin: 0 0 0.4rem; }
.mini-p { color: var(--muted); font-size: 0.85rem; margin: 0 0 0.8rem; }
.mini-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }
.mini-row span { background: #fff; border-top: 3px solid var(--orange); padding: 0.7rem 0.4rem; font-size: 0.75rem; font-weight: 700; }
.mini-row span:first-child { background: var(--blue); color: #fff; border-top-color: var(--blue); }
.phone {
  position: relative; width: 148px; margin: -1.6rem 0 0 auto; padding: 0.55rem; border-radius: 22px;
}
.phone-top { height: 8px; width: 36px; margin: 0.1rem auto 0.45rem; background: #ece7df; border-radius: 99px; }
.product { height: 72px; background: linear-gradient(160deg, var(--orange), #ffd7c4); margin-bottom: 0.45rem; }
.phone strong, .phone em { display: block; font-style: normal; font-size: 0.78rem; }
.phone em { color: var(--muted); margin-bottom: 0.4rem; }
.buy { background: var(--blue); color: #fff; text-align: center; font-size: 0.72rem; font-weight: 700; padding: 0.35rem; }
.mock-note { margin: 1.4rem 0 0; font-size: 0.82rem; color: rgba(255,255,255,.62); }

.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; }
.stat { padding: 1.3rem 0.2rem; border-bottom: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-d); font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--blue); letter-spacing: -0.04em; }
.stat span { color: var(--muted); font-size: 0.95rem; }

.section { padding: 4.2rem 0; }
.section-head { max-width: 44rem; margin-bottom: 1.8rem; }
.section h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.section-head p, .muted { color: var(--muted); }
.band { background: #fff; }
.band-blue { background: var(--blue-dark); color: #fff; }
.band-blue .muted, .band-blue p { color: rgba(255,255,255,.82); }

.problem-grid, .service-grid, .diff-grid, .news-grid, .price-grid, .work-grid, .franchise-grid {
  display: grid; gap: 0.9rem;
}
.problem-card, .service-card, .diff-card, .news-card, .price-card, .work-card, .plan-card {
  background: #fff; border: 1px solid var(--line); padding: 1.15rem 1.15rem 1.2rem;
}
.problem-card strong { display: block; margin-bottom: 0.35rem; font-family: var(--font-d); }
.icon-badge {
  width: 42px; height: 42px; display: grid; place-items: center; color: var(--orange);
  border: 1px solid #f3d2c2; margin-bottom: 0.8rem;
}
.icon-badge svg { width: 22px; height: 22px; }
.service-card h3, .diff-card h3, .news-card h3 { font-size: 1.2rem; }
.feature-pair { display: grid; gap: 0.9rem; margin-bottom: 0.9rem; }
.feature {
  background: var(--blue); color: #fff; padding: 1.4rem; min-height: 100%;
  display: grid; align-content: start; gap: 0.4rem;
}
.feature.alt { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.feature h3 { color: inherit; font-size: 1.55rem; }
.feature ul, .price-card ul, .plan-card ul { display: grid; gap: 0.4rem; margin: 0.6rem 0 1rem; }
.feature li, .price-card li, .plan-card li { padding-left: 1.15rem; position: relative; }
.feature li::before, .price-card li::before, .plan-card li::before {
  content: ""; position: absolute; left: 0; top: 0.55rem; width: 7px; height: 7px; background: var(--orange);
}
.feature.alt li::before { background: var(--blue); }

.price-card { display: flex; flex-direction: column; background: #fff; }
.price-card.is-focus { border: 2px solid var(--blue); position: relative; }
.price-card .flag {
  align-self: flex-start; background: var(--blue); color: #fff; font-size: 0.72rem;
  letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-d); font-weight: 700;
  padding: 0.25rem 0.45rem; margin-bottom: 0.7rem;
}
.price { font-family: var(--font-d); font-size: 2.2rem; letter-spacing: -0.04em; color: var(--orange-dark); margin: 0.2rem 0; }
.price small { display: block; font-family: var(--font-b); font-size: 0.95rem; letter-spacing: 0; color: var(--muted); font-weight: 500; }
.price-card .btn, .feature .btn, .plan-card .btn { margin-top: auto; }
.compare { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin-top: 1.4rem; background: #fff; }
.compare th, .compare td { border-bottom: 1px solid var(--line); text-align: left; padding: 0.7rem 0.55rem; vertical-align: top; }
.compare th { font-family: var(--font-d); font-size: 0.82rem; }
.table-wrap { overflow-x: auto; }
.table-note { color: var(--muted); font-size: 0.92rem; }

.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; padding: 0 0 1.2rem; }
.step-n {
  width: 46px; height: 46px; display: grid; place-items: center; background: var(--blue); color: #fff;
  font-family: var(--font-d); font-weight: 700;
}
.work-card { padding: 0; overflow: hidden; background: #fff; }
.work-card img { width: 100%; aspect-ratio: 16/11; object-fit: cover; background: #ece7df; }
.work-card div { padding: 0.9rem 1rem 1.05rem; }
.work-card h3 { font-size: 1rem; }
.work-card p { color: var(--muted); font-size: 0.95rem; min-height: 2.6em; }
.work-card a.more { font-weight: 700; text-decoration: none; }

.split { display: grid; gap: 1.4rem; }
.quote { margin: 0; padding: 1.2rem; background: #fff; border-left: 4px solid var(--orange); }
.quote p { font-size: 1.08rem; }
.quote cite { display: block; margin-top: 0.7rem; font-style: normal; color: var(--muted); font-weight: 600; }

.faq-item { border-bottom: 1px solid var(--line); background: #fff; }
.faq-item button {
  width: 100%; text-align: left; background: none; border: 0; padding: 1rem 0.2rem;
  font-family: var(--font-d); font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem;
}
.faq-item button span { color: var(--orange); }
.faq-item .panel { display: none; padding: 0 0.2rem 1rem; color: var(--muted); }
.faq-item.is-open .panel { display: block; }

.cta-band { background: var(--orange); color: #fff; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 3rem); max-width: 16ch; }
.cta-band p { max-width: 38rem; }
.cta-band .btn-blue { background: var(--ink); }
.page-hero { padding: 3rem 0 1rem; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.3rem); max-width: 16ch; }
.crumbs { color: var(--muted); font-size: 0.92rem; margin-bottom: 0.8rem; }
.crumbs a { color: inherit; }
.prose { max-width: 46rem; }
.prose h2 { margin-top: 1.6rem; font-size: 1.45rem; }
.narrow { display: grid; gap: 1.2rem; }
.panel { background: #fff; border: 1px solid var(--line); padding: 1.2rem; }
.lead-form { display: grid; gap: 0.8rem; }
.field { display: grid; gap: 0.3rem; }
.field label { font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; border: 1px solid #ccc6bc; background: #fff; padding: 0.65rem 0.75rem; color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(243,101,35,.35); border-color: var(--orange); }
.check { display: flex; gap: 0.6rem; align-items: flex-start; }
.check input { margin-top: 0.3rem; width: 1.05rem; height: 1.05rem; }
.form-status { min-height: 1.4em; font-weight: 600; }
.form-status.is-ok { color: var(--green); }
.form-status.is-err { color: #9d1c1c; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.contact-points { display: grid; gap: 0.8rem; }
.contact-points a { font-weight: 700; }

.site-footer { background: #12141a; color: #d9d4cc; padding: 3rem 0 5.5rem; }
.site-footer h2 { color: #fff; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-grid { display: grid; gap: 1.6rem; }
.footer-brand img { width: 160px; background: #fff; padding: 0.4rem; margin-bottom: 0.8rem; }
.footer-grid ul { display: grid; gap: 0.35rem; }
.contact-list span { display: block; color: #a7a095; font-size: 0.82rem; }
.footer-address { margin-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1rem; font-size: 0.95rem; }
.address-note { color: #a7a095; }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.12); }
.socials { display: flex; gap: 1rem; }

.wa-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 30;
  background: var(--green); color: #fff; text-decoration: none; font-weight: 700;
  min-height: 48px; padding: 0.75rem 0.95rem; box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
  display: flex; gap: 0.8rem; align-items: center; justify-content: space-between;
  background: #fff; border-top: 1px solid var(--line); padding: 0.75rem 1rem; box-shadow: var(--shadow);
}
.cookie p { margin: 0; font-size: 0.92rem; }
.cookie button { background: var(--ink); color: #fff; border: 0; min-height: 40px; padding: 0 0.8rem; cursor: pointer; flex: none; }
body:has(.cookie:not([hidden])) .wa-float { bottom: 5.4rem; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

@media (min-width: 760px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat { border-bottom: 0; border-right: 1px solid var(--line); padding: 1.6rem 1rem; }
  .stat:last-child { border-right: 0; }
  .problem-grid, .service-grid { grid-template-columns: 1fr 1fr; }
  .price-grid, .franchise-grid, .news-grid { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr 1fr; }
  .diff-grid { grid-template-columns: 1fr 1fr 1fr; }
  .split, .feature-pair, .narrow.two { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
  .footer-grid { grid-template-columns: 1.3fr 0.8fr 0.9fr 1.1fr; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; padding: 4rem 0 4.4rem; }
  .phone { position: absolute; right: 7%; bottom: -8px; margin: 0; }
}

@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .nav { display: flex; align-items: center; gap: 0.4rem; position: static; background: none; border: 0; padding: 0; }
  .nav-list { display: flex; align-items: center; gap: 0.15rem; }
  .nav a, .has-sub > button { width: auto; min-height: 44px; padding: 0 0.55rem; font-weight: 600; font-size: 0.98rem; }
  .has-sub { position: relative; }
  .has-sub ul {
    display: none; position: absolute; top: 100%; left: 0; min-width: 240px;
    background: #fff; border: 1px solid var(--line); padding: 0.4rem; box-shadow: var(--shadow);
  }
  .has-sub:hover ul, .has-sub:focus-within ul, .has-sub.is-open ul { display: grid; }
  .header-cta { margin: 0 0 0 0.4rem; }
  .price-grid { grid-template-columns: repeat(3, 1fr); }
  .problem-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1400px) {
  .wrap { width: min(1200px, calc(100% - 4rem)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
