:root {
  --ink: #14251f;
  --muted: #617069;
  --paper: #f6f5ef;
  --white: #fff;
  --green: #176b4d;
  --green-dark: #0d4d37;
  --lime: #d8ef72;
  --line: #d9ded7;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a { color: inherit; }
.site-header, main, .site-footer { max-width: 1180px; margin-inline: auto; }
.site-header {
  min-height: 82px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; gap: 12px; align-items: center; font-weight: 800; text-decoration: none; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--green);
  color: white;
  letter-spacing: -.05em;
}

.hero {
  margin: 14px 24px 80px;
  padding: clamp(32px, 6vw, 76px);
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  align-items: end;
  gap: 48px;
  border-radius: 32px;
  background: var(--ink);
  color: white;
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -140px;
  top: -160px;
  border-radius: 50%;
  background: var(--lime);
  opacity: .17;
}
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 780px; font-size: clamp(42px, 6.2vw, 80px); line-height: .99; letter-spacing: -.055em; margin-bottom: 26px; }
h2 { font-size: clamp(31px, 4vw, 50px); line-height: 1.05; letter-spacing: -.04em; }
h3 { font-size: 23px; line-height: 1.15; letter-spacing: -.025em; }
.lead { max-width: 680px; color: #dce5e1; font-size: clamp(18px, 2vw, 22px); }
.eyebrow { color: var(--green); font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.hero .eyebrow { color: var(--lime); }
.hero-actions { display: flex; align-items: center; gap: 24px; margin: 34px 0; }
.button {
  display: inline-block;
  padding: 15px 22px;
  border: 0;
  border-radius: 12px;
  color: white;
  background: var(--green);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.hero .button { color: var(--ink); background: var(--lime); }
.button-small { padding: 11px 16px; }
.text-link { font-weight: 750; text-underline-offset: 5px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 12px 28px; padding: 0; margin: 0; list-style: none; color: #c7d2cd; font-size: 14px; }
.trust-list li::before { content: "✓"; color: var(--lime); font-weight: 900; margin-right: 8px; }
.info-card { position: relative; z-index: 1; padding: 28px; border: 1px solid #496159; border-radius: var(--radius); background: #20372f; }
.info-card h2 { font-size: 29px; }
.info-card p:last-child { margin-bottom: 0; color: #cbd5d1; }
.card-label { color: var(--lime); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.hero-visual { min-height: 520px; position: relative; overflow: hidden; border-radius: 24px; }
.hero-visual > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; filter: saturate(.75) contrast(1.05); }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(13, 31, 25, .82)); }
.hero-visual .info-card { position: absolute; z-index: 2; right: 18px; bottom: 18px; left: 18px; padding: 22px; background: rgba(20, 37, 31, .86); backdrop-filter: blur(12px); }
.hero-visual .info-card h2 { margin-bottom: 10px; font-size: 25px; }
.hero-visual .info-card p:last-child { font-size: 14px; }

.section { margin: 0 24px; padding: 74px 0; border-top: 1px solid var(--line); }
.section-heading { max-width: 650px; margin-bottom: 40px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card { min-height: 250px; padding: 26px; border-radius: var(--radius); background: var(--white); box-shadow: 0 14px 40px rgba(20, 37, 31, .05); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.service-card[href]:hover { transform: translateY(-4px); box-shadow: 0 18px 45px rgba(20, 37, 31, .1); }
.service-card p { margin-bottom: 0; color: var(--muted); }
.service-number { display: inline-block; margin-bottom: 46px; color: var(--green); font-size: 13px; font-weight: 900; }
.card-link { display: inline-block; margin-top: 20px; color: var(--green); font-weight: 800; font-size: 14px; }
.more-services { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
.more-services a { padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--green); font-size: 14px; font-weight: 800; text-decoration: none; }
.visual-story { max-width: 1180px; margin: 0 auto 72px; padding: 0 24px; display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 16px; }
.visual-card { min-height: 400px; margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink); }
.visual-card img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .5s ease; }
.visual-card:hover img { transform: scale(1.035); }
.visual-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(8, 26, 20, .88)); }
.visual-card figcaption { position: absolute; z-index: 1; right: 24px; bottom: 24px; left: 24px; color: white; }
.visual-card figcaption span, .visual-card figcaption strong { display: block; }
.visual-card figcaption span { margin-bottom: 8px; color: var(--lime); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.visual-card figcaption strong { max-width: 330px; font-size: 23px; line-height: 1.15; }

.page-hero { margin: 14px 24px 40px; padding: clamp(34px, 6vw, 72px); border-radius: 32px; background: var(--ink); color: white; }
.page-hero h1 { max-width: 900px; }
.page-hero .lead { margin-bottom: 0; }
.breadcrumbs { margin-bottom: 28px; color: #b9c7c1; font-size: 14px; }
.breadcrumbs a { text-underline-offset: 4px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 56px; }
.article-content { max-width: 760px; }
.article-content h2 { margin-top: 54px; font-size: clamp(28px, 3.5vw, 42px); }
.article-content h3 { margin-top: 32px; }
.article-content p, .article-content li { color: #46564f; }
.article-content ul { padding-left: 22px; }
.article-content li { margin-bottom: 8px; }
.notice { margin: 34px 0; padding: 22px; border-left: 4px solid var(--green); border-radius: 0 14px 14px 0; background: #e8ece7; }
.notice p { margin-bottom: 0; }
.side-panel { align-self: start; position: sticky; top: 24px; padding: 26px; border-radius: var(--radius); background: white; box-shadow: 0 14px 40px rgba(20, 37, 31, .06); }
.side-panel h2 { font-size: 25px; }
.side-panel ul { padding-left: 20px; color: var(--muted); }
.side-panel .button { width: 100%; text-align: center; margin-top: 12px; }
.faq-list details { margin-bottom: 12px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.faq-list summary { cursor: pointer; font-weight: 800; }
.faq-list details p { margin: 14px 0 0; }
.legal-hero h1 { margin-bottom: 18px; }
.legal-content { max-width: 860px; margin-inline: auto; }
.legal-content h2 { margin-top: 42px; font-size: 28px; }
.legal-content p { color: #46564f; }
.draft-banner { margin-bottom: 44px; padding: 18px 20px; border: 1px solid #d0b65a; border-radius: 12px; background: #fff5c9; color: #544514; }
.area-section { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.area-section .section-heading { margin-bottom: 0; }
.area-section .button { flex: 0 0 auto; }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.audience-card { min-height: 360px; padding: 30px; display: flex; flex-direction: column; align-items: flex-start; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink); color: white; text-decoration: none; transition: transform .2s ease; }
.audience-card:hover { transform: translateY(-4px); }
.audience-card > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.audience-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 30, 24, .25), rgba(12, 30, 24, .94)); }
.audience-card > :not(img):not(.audience-overlay) { position: relative; z-index: 1; }
.audience-card h3 { max-width: 440px; margin: 22px 0 12px; font-size: clamp(28px, 3vw, 40px); }
.audience-card p:not(.eyebrow) { max-width: 480px; color: #cbd5d1; }
.audience-card span { margin-top: auto; color: var(--lime); font-weight: 800; }
.error-page { min-height: calc(100vh - 190px); max-width: 760px; margin: 0 auto; padding: 100px 24px; text-align: center; }
.error-page h1 { margin-bottom: 22px; font-size: clamp(44px, 7vw, 76px); }
.error-page p:not(.error-code) { margin-bottom: 34px; color: var(--muted); font-size: 19px; }
.error-code { margin-bottom: 10px; color: var(--green); font-size: 14px; font-weight: 900; letter-spacing: .18em; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0; list-style: none; counter-reset: steps; }
.steps li { padding: 28px; border-left: 4px solid var(--green); background: #e8ece7; border-radius: 0 16px 16px 0; }
.steps strong, .steps span { display: block; }
.steps strong { margin-bottom: 8px; font-size: 19px; }
.steps span { color: var(--muted); }

.form-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 28px; border-radius: var(--radius); background: var(--white); }
.lead-form label { display: grid; gap: 7px; font-size: 14px; font-weight: 750; }
.lead-form input, .lead-form select { width: 100%; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: #f5f6f3; font: inherit; }
.lead-form .button { grid-column: 1 / -1; opacity: .65; }
.site-footer { padding: 28px 24px 46px; display: flex; justify-content: space-between; gap: 32px; color: var(--muted); border-top: 1px solid var(--line); font-size: 13px; }
.site-footer p:first-child { max-width: 700px; }

@media (max-width: 850px) {
  .hero, .form-section { grid-template-columns: 1fr; }
  .hero-visual { min-height: 440px; }
  .content-layout { grid-template-columns: 1fr; }
  .side-panel { position: static; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .visual-story { grid-template-columns: 1fr 1fr; }
  .visual-card-large { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; }
  .area-section { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
  .site-header { padding-inline: 16px; }
  .brand span:last-child { font-size: 14px; }
  .hero, .section { margin-inline: 14px; }
  .hero { padding: 34px 22px; margin-bottom: 44px; }
  h1 { font-size: 43px; }
  .hero-actions, .site-footer { align-items: flex-start; flex-direction: column; }
  .service-grid, .lead-form { grid-template-columns: 1fr; }
  .visual-story { grid-template-columns: 1fr; padding-inline: 14px; }
  .visual-card, .visual-card-large { min-height: 360px; grid-column: auto; }
}
