:root {
  --background: #f5f2ec;
  --foreground: #1f2521;
  --muted: #626a61;
  --panel: #ffffff;
  --stone: #3b403d;
  --accent: #2f6f4e;
  --accent-dark: #244f3b;
  --line: rgba(31, 37, 33, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}

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

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(31, 37, 33, 0.92);
  padding: 12px clamp(18px, 4vw, 56px);
  color: #ffffff;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  min-width: 210px;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.1;
}

.brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 30px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.nav-links a,
.top-phone {
  transition: color 160ms ease;
}

.nav-links a:hover,
.top-phone:hover {
  color: #ffffff;
}

.top-phone {
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100vh - 72px));
  align-items: center;
  isolation: isolate;
  padding: clamp(54px, 10vw, 116px) clamp(20px, 5vw, 72px);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(23, 30, 26, 0.9) 0%, rgba(23, 30, 26, 0.68) 42%, rgba(23, 30, 26, 0.2) 100%),
    linear-gradient(0deg, rgba(23, 30, 26, 0.58), rgba(23, 30, 26, 0.06));
}

.hero-content {
  max-width: 760px;
  color: #ffffff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #b9e4c7;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 14px;
  font-size: 21px;
  line-height: 1.2;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 14px 20px;
  font-weight: 800;
  line-height: 1;
}

.button.primary {
  background: #ffffff;
  color: #243029;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: #ffffff;
}

.section,
.section-band,
.contact-section {
  padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro {
  border-bottom: 1px solid var(--line);
  background: #fffaf0;
}

.intro-grid,
.terms-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.intro-grid p,
.terms-grid p,
.contact-grid p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(28px, 5vw, 48px);
}

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

.fraction-card,
.advantage-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 30px rgba(31, 37, 33, 0.06);
}

.fraction-card {
  min-height: 190px;
  padding: 24px;
}

.fraction-card span {
  display: block;
  margin-bottom: 24px;
  color: var(--stone);
  font-size: 34px;
  font-weight: 850;
  line-height: 1;
}

.fraction-card p,
.advantage-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.muted {
  background: #ded8cc;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.advantage-card {
  min-height: 220px;
  padding: clamp(22px, 3vw, 34px);
}

.terms {
  background: var(--stone);
  color: #ffffff;
}

.terms .section-kicker,
.contact-section .section-kicker {
  color: #b9e4c7;
}

.terms-grid p {
  color: rgba(255, 255, 255, 0.74);
}

.process-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  padding: 16px;
}

.process-list span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: var(--stone);
  font-size: 18px;
  font-weight: 850;
}

.process-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.contact-section {
  background: #1f2521;
  color: #ffffff;
}

.contact-grid {
  align-items: center;
}

.contact-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-panel {
  display: grid;
  gap: 12px;
  background: #ffffff;
  padding: clamp(20px, 4vw, 36px);
  color: var(--foreground);
}

.contact-panel a,
.contact-panel span {
  display: flex;
  min-height: 56px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 800;
}

.contact-panel span {
  border-bottom: 0;
  color: var(--accent-dark);
}

@media (max-width: 920px) {
  .topbar {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 680px;
  }

  .intro-grid,
  .terms-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .fraction-grid,
  .advantage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .topbar {
    align-items: flex-start;
    gap: 14px;
    padding: 12px 16px;
  }

  .brand {
    min-width: auto;
  }

  .top-phone {
    padding: 9px 10px;
  }

  .nav-links {
    overflow-x: auto;
    justify-content: flex-start;
    gap: 18px;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 620px;
    padding: 44px 18px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(23, 30, 26, 0.92), rgba(23, 30, 26, 0.64)),
      linear-gradient(0deg, rgba(23, 30, 26, 0.62), rgba(23, 30, 26, 0.16));
  }

  .button {
    width: 100%;
  }

  .section,
  .section-band,
  .contact-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .fraction-grid,
  .advantage-grid {
    grid-template-columns: 1fr;
  }

  .fraction-card,
  .advantage-card {
    min-height: auto;
  }

  .process-list li {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .process-list span {
    width: 42px;
    height: 42px;
  }
}
