:root {
  --bg: #f5f7fa;
  --paper: #ffffff;
  --text: #1b1f24;
  --muted: #4b5563;
  --brand: #155e3b;
  --brand-600: #0f4c2f;
  --accent: #198754;
  --border: #e5e7eb;
  --shadow: 0 10px 30px rgba(21, 94, 59, .12);
  --radius: 18px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: var(--bg);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
  height: auto
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px
}

a {
  color: var(--brand);
  text-decoration: none
}

a:hover {
  text-decoration: underline
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(8px) saturate(140%);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: .2px;
  color: var(--text)
}

.brand .logo {
  width: 36px;
  height: 36px
}

.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

.nav a {
  padding: 10px 14px;
  border-radius: 12px
}

.nav a:hover,
.nav a.active {
  background: #eef5f0;
  text-decoration: none
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 40px;
  padding: 56px 0;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
  margin: 0 0 14px
}

.lead {
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--muted);
  margin: 0 0 20px
}

.cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-weight: 800;
  cursor: pointer;
  letter-spacing: .2px;
  background: linear-gradient(#fff, #f9fbfb);
}

.btn.primary {
  background: linear-gradient(#198754, #146c43);
  color: #fff;
  border-color: #0f4c2f
}

.btn.primary:hover {
  background: linear-gradient(#16784b, #115a39)
}

.btn.ghost {
  background: #fff
}

.btn.flat {
  box-shadow: none
}

.section {
  padding: 64px 0
}

.section h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin: 0 0 16px
}

.section .sub {
  color: var(--muted);
  margin: -6px 0 24px
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px
}

.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 20px
}

.kv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px
}

.kv .imgwrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border)
}

.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  background: #e6f4ea;
  color: #0f5132;
  border: 1px solid #c6ead2
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery img {
  display: block;
  width: 100%;

  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow)
}

.table th,
.table td {
  border: 1px solid var(--border);
  padding: 12px 14px;
  text-align: left
}

.table th {
  background: #f4f7f5
}

.faq {
  max-width: 900px
}

.qa {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 12px 0;
  box-shadow: var(--shadow)
}

.q {
  font-weight: 800;
  cursor: pointer
}

.a {
  display: none;
  color: var(--muted);
  margin-top: 8px
}

footer {
  border-top: 1px solid var(--border);
  background: #fff
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 22px;
  padding: 28px 0
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 16px 0;
  color: var(--muted);
  font-size: 15px
}

.notice {
  font-size: 15px;
  color: #334155;
  background: #eef7f1;
  border: 1px dashed #cfe8d9;
  padding: 14px 16px;
  border-radius: 14px
}

.cookie-banner {
  position: fixed;
  inset: auto 20px 20px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
  z-index: 70;
  display: none;
  max-width: 680px;
}

.cookie-banner.show {
  display: block
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 42px 0
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr
  }

  .grid-2 {
    grid-template-columns: 1fr
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width: 640px) {

  .grid-3,
  .gallery {
    grid-template-columns: 1fr
  }

  .footer-inner {
    grid-template-columns: 1fr
  }

  .btn {
    padding: 12px 16px
  }
}

@media (max-width: 960px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .gallery {
    grid-template-columns: 1fr;
  }
}

.faq .faq-group {
  margin: 26px 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: #1b1f24;
}

.faq details.qa {
  background: #fff;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 12px 0;
  box-shadow: var(--shadow, 0 8px 22px rgba(0, 0, 0, .04));
}

.faq details.qa[open] {
  border-color: #cfe8d9;
  background: #f7fbf8;
}

.faq details.qa>summary.q {
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  outline: none;
}

.faq details.qa>summary.q::-webkit-details-marker {
  display: none
}

.faq details.qa>summary.q::after {
  content: "+";
  float: right;
  font-weight: 800;
  transform: translateY(-1px);
}

.faq details.qa[open]>summary.q::after {
  content: "–";
}

.faq .a {
  margin-top: 10px;
  color: var(--muted, #4b5563);
  font-size: 16px;
  line-height: 1.65;
}

.faq .sub {
  color: var(--muted, #4b5563);
  margin-top: -6px;
  margin-bottom: 18px;
}

.contact .sub {
  color: var(--muted);
  margin: -6px 0 20px
}

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.contact-form .hp {
  display: none !important
}

.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.contact-form label {
  font-weight: 700
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="file"],
.contact-form select,
.contact-form textarea {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  font: inherit;
  outline: none;
}

.contact-form textarea {
  resize: vertical
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #cfe8d9;
  box-shadow: 0 0 0 4px rgba(25, 135, 84, .12)
}

.contact-form .chk {
  display: flex;
  gap: 10px;
  align-items: flex-start
}

.contact-form .chk input {
  margin-top: 4px
}

.contact-form .err {
  color: #b42318;
  min-height: 1em;
  font-size: 13px
}

.contact-form .actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 6px
}

.contact-form .status {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 700
}

.contact-form .status.ok {
  background: #e7f6ed;
  color: #0f5132;
  border: 1px solid #c6ead2
}

.contact-form .status.fail {
  background: #fdecec;
  color: #7a221c;
  border: 1px solid #f5c2c0
}

.btn.primary {
  position: relative
}

.btn-spinner {
  width: 1em;
  height: 1em;
  border: 2px solid rgba(255, 255, 255, .6);
  border-top-color: #fff;
  border-radius: 50%;
  display: none;
  margin-left: 8px;
  animation: spin 1s linear infinite;
}

.btn.loading .btn-text {
  opacity: .8
}

.btn.loading .btn-spinner {
  display: inline-block
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

@media (max-width: 840px) {
  .contact-form .row {
    grid-template-columns: 1fr
  }
}

.imgwrap {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.imgwrap--xl {
  aspect-ratio: 4 / 3;
}

.imgwrap--xl>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 1200px) {
  .imgwrap--xl {
    aspect-ratio: auto;
    height: 520px;
  }
}


@media (min-width: 1600px) {
  .imgwrap--xl {
    height: 600px;
  }
}

.flow .sub {
  color: var(--muted);
  margin: -6px 0 22px
}

.steps {
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px
}

.step {
  list-style: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
  position: relative;
}

.step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  background: #e6f4ea;
  color: #0f5132;
  border: 1px solid #c6ead2;
}

.step-title {
  margin: 0;
  font-size: 18px
}

.step-badge {
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  background: #f4f7f5;
  color: #1b1f24;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 8px;
}

.step-body p {
  margin: 6px 0 10px
}

.step-check {
  margin: 6px 0 0;
  padding-left: 20px
}

.step-check li {
  margin: 4px 0
}

.mini {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 6px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.mini th,
.mini td {
  border: 1px solid var(--border);
  padding: 8px 10px;
  text-align: left
}

.mini th {
  background: #f4f7f5
}

@media (min-width: 960px) {
  .steps {
    position: relative;
  }

  .steps::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(#eaf3ee, #eaf3ee);
  }

  .step {
    padding-left: 56px
  }

  .step .step-num {
    position: absolute;
    left: 10px;
    top: 18px
  }
}

@media (max-width: 640px) {
  .step-badge {
    width: 100%;
    text-align: left;
    margin-left: 0
  }
}

.flow-cta {
  margin-top: 20px
}

.plan .sub {
  color: var(--muted);
  margin: -6px 0 16px
}

.icon-list {
  margin: 8px 0 0 0;
  padding-left: 18px
}

.icon-list li {
  margin: 4px 0;
  list-style: disc;
}

.table.mini {
  font-size: 14px
}

ol.tight {
  margin: 0;
  padding-left: 18px
}

ol.tight li {
  margin: 6px 0
}

.check {
  margin: 8px 0 0 0;
  padding-left: 18px
}

.check li {
  margin: 4px 0;
  list-style: disc;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
p,
li,
a,
td,
th {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 640px) {
  .container {
    padding: 0 12px;
  }

  .section {
    padding: 40px 0;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 0;
  }

  .brand .logo {
    width: 30px;
    height: 30px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    gap: 8px;
    padding-bottom: 4px;
  }

  .nav a {
    padding: 8px 10px;
    border-radius: 10px;
    display: inline-block;
  }
}


@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 32px 0;
  }

  .kv {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .imgwrap,
  .imgwrap--xl {
    max-width: 100%;
  }

  .imgwrap--xl {
    aspect-ratio: 4 / 3;
    height: auto;
  }
}

@media (max-width: 560px) {
  .gallery {
    gap: 10px;
  }

  .gallery img {
    border-radius: 10px;
  }
}


@media (max-width: 640px) {
  .cta {
    gap: 10px;
  }

  .cta .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}


@media (max-width: 640px) {
  .card {
    padding: 16px;
    border-radius: 14px;
  }
}

.table {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table table {
  width: 100%;
}

.table th,
.table td {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .steps::before {
    display: none;
  }

  .step {
    padding: 14px;
  }

  .step-num {
    width: 30px;
    height: 30px;
  }

  .step-title {
    font-size: 17px;
  }
}

@media (max-width: 840px) {
  .contact-form .row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .contact-form {
    padding: 16px;
    border-radius: 14px;
  }

  .contact-form .actions {
    flex-wrap: wrap;
  }

  .contact-form .actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }

  .contact-form .status {
    font-size: 14px;
  }
}

@media (max-width: 800px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.cookie-banner {
  left: 12px;
  right: 12px;
  bottom: 12px;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 420px) {
  .cookie-actions {
    gap: 8px;
  }

  .cookie-actions .btn {
    flex: 1 1 100%;
  }
}

img,
svg,
video,
iframe {
  max-width: 100%;
  height: auto;
}