:root {
  --bg: #eceff2;
  --surface: #ffffff;
  --surface-alt: #e2e6ea;
  --text: #1a222c;
  --muted: #5c6775;
  --line: #c8cfd8;
  --brand: #2a3441;
  --brand-deep: #121820;
  --accent: #c45c26;
  --accent-soft: #f4e8df;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 8px 24px rgba(18, 24, 32, 0.08);
  --shadow-md: 0 18px 40px rgba(18, 24, 32, 0.12);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Barlow", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  opacity: 0;
  transition: opacity 0.25s ease;
}

body.page-ready {
  opacity: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
}

.kicker {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  font-family: "Roboto Slab", serif;
  color: var(--brand-deep);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.text-lg {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text);
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid #e8cfc0;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-main {
  font-family: "Roboto Slab", serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-deep);
}

.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.85rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--accent);
}

.nav-cta {
  background: var(--brand);
  color: #fff !important;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
}

.nav-cta:hover {
  background: var(--brand-deep);
  color: #fff !important;
}

.hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(18, 24, 32, 0.88), rgba(42, 52, 65, 0.78)),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 18px,
      rgba(255, 255, 255, 0.03) 18px,
      rgba(255, 255, 255, 0.03) 19px
    ),
    linear-gradient(180deg, #3d4a5c 0%, #2a3441 100%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.hero-panel h1,
.hero-panel .text-lg {
  color: #fff;
}

.hero-panel p.kicker {
  color: #f0b48a;
}

.hero-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.list-clean {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.list-clean li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-weight: 500;
}

.list-clean li:last-child {
  border-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: #a84d1f;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  border-color: #fff;
}

.btn-block {
  width: 100%;
}

.section,
.section-tight {
  padding: 4rem 0;
}

.section-tight {
  padding: 2rem 0 3rem;
  margin-top: -1.5rem;
}

.section-alt {
  background: var(--surface-alt);
}

.section-contact {
  background: var(--brand-deep);
  color: #fff;
}

.section-contact h2,
.section-contact .kicker {
  color: #fff;
}

.section-contact .kicker {
  color: #f0b48a;
}

.section-contact p,
.section-contact .contact-list {
  color: #c5cdd6;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.stat strong {
  display: block;
  font-family: "Roboto Slab", serif;
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.stat {
  color: var(--muted);
  font-size: 0.9rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.panel-accent {
  border-left: 4px solid var(--accent);
}

.list-check {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-check li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.5rem;
  color: var(--text);
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  font-size: 1.1rem;
}

.flow-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-weight: 500;
}

.flow-list span {
  font-family: "Roboto Slab", serif;
  font-weight: 700;
  color: var(--accent);
  min-width: 2rem;
}

.note {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-style: italic;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: 1rem;
}

.contact-list strong {
  display: block;
  color: #fff;
  margin-bottom: 0.2rem;
}

.contact-list a {
  color: #f0b48a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form {
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.85rem;
  font-weight: 600;
  font-size: 0.88rem;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.form-status {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  min-height: 1.25rem;
}

.form-status.is-success {
  color: var(--accent);
  font-weight: 600;
}

.site-footer {
  background: #0d1117;
  color: #8b96a3;
  padding: 1.5rem 0;
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .contact-grid,
  .card-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 1rem;
    gap: 0.5rem;
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }
}
