:root {
  --ink: #101820;
  --ink-2: #243241;
  --paper: #f7f1e8;
  --paper-2: #fffaf1;
  --line: rgba(16, 24, 32, 0.14);
  --orange: #f27b2f;
  --orange-dark: #b94d16;
  --green: #2f7d5c;
  --blue: #234c6f;
  --muted: #68727d;
  --white: #fffefa;
  --shadow: 0 24px 80px rgba(16, 24, 32, 0.12);
  --radius-lg: 34px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --container: min(1180px, calc(100vw - 36px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 2%, rgba(242, 123, 47, 0.18), transparent 28rem),
    linear-gradient(135deg, #fbf4e8 0%, #f7f1e8 46%, #eef3f0 100%);
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 70%);
  z-index: -1;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--orange-dark); }
img { max-width: 100%; height: auto; }
.container { width: var(--container); margin: 0 auto; }
.narrow { max-width: 880px; }
.skip-link { position: absolute; left: -999px; top: 10px; z-index: 999; }
.skip-link:focus { left: 10px; background: var(--ink); color: white; padding: 8px 12px; border-radius: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(247, 241, 232, 0.86);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.02em; }
.brand small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: var(--paper-2);
  background: linear-gradient(145deg, var(--ink), var(--blue));
  box-shadow: inset 0 -10px 18px rgba(255,255,255,.06), 0 12px 30px rgba(16,24,32,.16);
  font-family: "Unbounded", sans-serif;
  font-size: 13px;
}
.primary-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 18px; padding: 0; margin: 0; list-style: none; font-size: 14px; font-weight: 800; }
.nav-list a { display: inline-flex; padding: 10px 0; }
.header-phone { font-weight: 900; color: var(--orange-dark); white-space: nowrap; }
.menu-toggle { display: none; margin-left: auto; border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 10px 14px; font-weight: 800; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 42px;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.75fr); gap: 42px; align-items: stretch; }
.eyebrow { margin: 0 0 12px; color: var(--orange-dark); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -0.045em; margin: 0; }
h1 { font-family: "Unbounded", "Manrope", sans-serif; font-size: clamp(42px, 6vw, 82px); max-width: 980px; }
h2 { font-family: "Unbounded", "Manrope", sans-serif; font-size: clamp(30px, 3.7vw, 54px); }
h3 { font-size: clamp(22px, 2.2vw, 32px); }
.lead { font-size: clamp(18px, 2vw, 23px); color: var(--ink-2); max-width: 760px; margin: 20px 0 0; }
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(16,24,32,.14); }
.button-primary { background: var(--orange); color: #1d120b; border-color: transparent; }
.button-ghost { background: rgba(255,255,255,.62); }
.button-dark { background: var(--ink); color: var(--paper-2); border-color: var(--ink); }
.hero-proof {
  display: grid;
  gap: 14px;
  padding: 26px;
  border-radius: var(--radius-lg);
  color: var(--paper-2);
  background:
    radial-gradient(circle at 70% 10%, rgba(242,123,47,.42), transparent 18rem),
    linear-gradient(145deg, var(--ink), #18344c 70%, #1b4f42);
  box-shadow: var(--shadow);
}
.metric { padding: 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; background: rgba(255,255,255,.07); }
.metric strong { display: block; font-family: "Unbounded", sans-serif; font-size: 34px; line-height: 1; }
.metric span { color: rgba(255,255,255,.78); font-size: 14px; }

.trust-strip { margin: 20px auto 60px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trust-item { border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.58); padding: 16px; font-weight: 900; }
.trust-item span { display: block; color: var(--muted); font-size: 13px; font-weight: 700; }

.section { padding: 72px 0; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 30px; }
.section-head p { max-width: 560px; color: var(--muted); margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card, .post-card, .content-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.68);
  box-shadow: 0 12px 40px rgba(16,24,32,.06);
}
.card { padding: 24px; min-height: 250px; position: relative; overflow: hidden; }
.card::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: rgba(242,123,47,.12); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); }
.text-link { color: var(--orange-dark); font-weight: 900; }
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.step { position: relative; padding: 22px; border-radius: 22px; background: var(--ink); color: var(--paper-2); min-height: 210px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 18px; border-radius: 50%; background: var(--orange); color: var(--ink); font-weight: 900; }
.step p { color: rgba(255,255,255,.75); margin-bottom: 0; }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 26px; align-items: stretch; }
.panel { padding: 34px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: rgba(255,255,255,.72); }
.panel-dark { background: var(--ink); color: var(--paper-2); }
.panel-dark p, .panel-dark li { color: rgba(255,255,255,.78); }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.check-list li { padding-left: 32px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 6px; background: var(--green); box-shadow: inset 0 0 0 5px rgba(255,255,255,.55); }

.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.7); padding: 0; overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 900; }
.faq details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

.cta-band {
  width: var(--container);
  margin: 34px auto 80px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius-lg);
  color: var(--paper-2);
  background:
    linear-gradient(120deg, rgba(242,123,47,.22), transparent 36%),
    var(--ink);
  box-shadow: var(--shadow);
}
.cta-band p { color: rgba(255,255,255,.78); max-width: 680px; }
.cta-band .button-ghost { color: var(--paper-2); background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }

.page-shell { padding: 54px 0 78px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; color: var(--muted); font-size: 13px; font-weight: 800; }
.page-title-block { margin-bottom: 28px; }
.content-card { padding: clamp(24px, 4vw, 46px); }
.rich-content { font-size: 18px; }
.rich-content h2 { font-size: clamp(28px, 3vw, 42px); margin: 42px 0 14px; }
.rich-content h3 { margin: 28px 0 10px; }
.rich-content p, .rich-content li { color: var(--ink-2); }
.rich-content ul, .rich-content ol { padding-left: 24px; }
.rich-content table { width: 100%; border-collapse: collapse; margin: 24px 0; overflow: hidden; border-radius: 14px; }
.rich-content th, .rich-content td { border: 1px solid var(--line); padding: 14px; text-align: left; vertical-align: top; }
.rich-content th { background: rgba(242,123,47,.12); }
.table-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table { min-width: 760px; }
.price-table td:first-child, .price-table th:first-child { width: 64px; text-align: center; font-weight: 900; }
.price-table td:last-child, .price-table th:last-child { width: 150px; white-space: nowrap; font-weight: 900; color: var(--orange-dark); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.post-card h2 { font-family: "Manrope", sans-serif; font-size: 24px; letter-spacing: -0.03em; }
.post-card p { color: var(--muted); margin: 0; }
.post-meta { color: var(--muted); font-weight: 800; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.gallery-card { min-height: 180px; display: flex; align-items: end; padding: 18px; border-radius: 22px; color: var(--paper-2); background: linear-gradient(145deg, #16324a, #2f7d5c); position: relative; overflow: hidden; }
.gallery-card::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; }
.gallery-card strong { position: relative; z-index: 1; font-size: 20px; }

.site-footer { padding: 60px 0 26px; background: #0d141b; color: var(--paper-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: 28px; }
.site-footer p, .site-footer a, .footer-bottom { color: rgba(255,255,255,.72); }
.site-footer h3 { font-size: 18px; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.brand-footer { margin-bottom: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 26px; margin-top: 36px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .primary-nav { position: absolute; inset: 76px 18px auto; display: none; padding: 16px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper-2); box-shadow: var(--shadow); }
  .primary-nav.is-open { display: block; }
  .nav-list { display: grid; gap: 6px; }
  .header-phone { display: none; }
  .hero-grid, .split, .cta-band { grid-template-columns: 1fr; }
  .trust-strip, .cards, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --container: min(100vw - 22px, 1180px); }
  .header-inner { min-height: 68px; }
  .brand small { display: none; }
  .brand-mark { width: 42px; height: 42px; border-radius: 14px; }
  .hero { padding-top: 44px; }
  .hero-proof, .panel, .content-card, .cta-band { padding: 22px; border-radius: 24px; }
  .trust-strip, .cards, .post-grid, .process, .footer-grid, .gallery-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .section-head { display: block; }
  .footer-bottom { display: grid; }
}
