@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Libre+Baskerville:wght@400;700&display=swap');

:root {
  --ink: #11211d;
  --forest: #173b31;
  --deep: #09221c;
  --mint: #d9eee2;
  --paper: #f7f3ea;
  --stone: #e8e0d1;
  --copper: #b96d3a;
  --copper-dark: #8e4f2c;
  --blueprint: #315b6f;
  --white: #fffdf8;
  --muted: #66736f;
  --line: rgba(17, 33, 29, 0.14);
  --shadow: 0 20px 60px rgba(9, 34, 28, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  background:
    linear-gradient(90deg, rgba(17, 33, 29, 0.045) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(180deg, var(--paper), #fffaf1 44%, #f1ebdf);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 58%, rgba(185, 109, 58, 0.08) 58.2% 58.8%, transparent 59%),
    linear-gradient(120deg, transparent 0 68%, rgba(49, 91, 111, 0.07) 68.2% 68.6%, transparent 68.9%);
  z-index: -1;
}

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

img,
svg {
  max-width: 100%;
}

.site-shell {
  overflow: hidden;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 253, 248, 0.22);
  background: rgba(9, 34, 28, 0.92);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 18px;
}

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

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--deep);
  font-weight: 800;
  letter-spacing: 0;
  background:
    linear-gradient(135deg, var(--mint) 0 48%, var(--copper) 48% 56%, var(--white) 56%);
  border: 1px solid rgba(255, 253, 248, 0.34);
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.brand-text span {
  color: rgba(255, 253, 248, 0.7);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  padding: 10px 12px;
  color: rgba(255, 253, 248, 0.82);
  font-size: 0.84rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--white);
  background: rgba(255, 253, 248, 0.1);
}

.hero {
  position: relative;
  padding: 58px 0 40px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(9, 34, 28, 0.98), rgba(23, 59, 49, 0.94)),
    radial-gradient(circle at 20% 20%, rgba(217, 238, 226, 0.16), transparent 34%);
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% 0 auto;
  width: min(720px, 86vw);
  height: 72%;
  opacity: 0.64;
  background:
    linear-gradient(128deg, transparent 0 18%, rgba(185, 109, 58, 0.42) 18.2% 18.9%, transparent 19.1% 33%, rgba(217, 238, 226, 0.22) 33.2% 33.8%, transparent 34% 50%, rgba(49, 91, 111, 0.36) 50.3% 50.9%, transparent 51.2%),
    repeating-linear-gradient(90deg, rgba(255, 253, 248, 0.08) 0 1px, transparent 1px 56px);
  clip-path: polygon(12% 0, 100% 0, 86% 100%, 0 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
}

.kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--copper);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
}

h1,
h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 700;
}

h1 {
  max-width: 860px;
  font-size: clamp(2.45rem, 10vw, 5.8rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 7vw, 4rem);
}

h3 {
  font-size: 1.08rem;
}

.lead {
  max-width: 700px;
  margin: 20px 0 0;
  color: rgba(255, 253, 248, 0.78);
  font-size: clamp(1.02rem, 2vw, 1.24rem);
}

.hero-panel {
  align-self: end;
  padding: 22px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  background: rgba(255, 253, 248, 0.08);
  backdrop-filter: blur(16px);
}

.curve-card {
  display: grid;
  gap: 18px;
}

.curve-card small {
  color: rgba(255, 253, 248, 0.66);
  font-weight: 700;
  text-transform: uppercase;
}

.curve-line {
  position: relative;
  height: 110px;
  border-left: 1px solid rgba(255, 253, 248, 0.2);
  border-bottom: 1px solid rgba(255, 253, 248, 0.2);
  background: linear-gradient(180deg, transparent, rgba(217, 238, 226, 0.08));
}

.curve-line::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 4%;
  top: 58%;
  height: 3px;
  background: linear-gradient(90deg, var(--mint), var(--copper));
  transform: skewY(-10deg);
  transform-origin: left center;
}

.curve-line::after {
  content: "";
  position: absolute;
  right: 2%;
  top: 25%;
  width: 12px;
  height: 12px;
  background: var(--copper);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.btn-primary {
  color: var(--deep);
  background: var(--mint);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 253, 248, 0.28);
}

.section {
  padding: 74px 0;
}

.section-alt {
  background: rgba(255, 253, 248, 0.58);
  border-block: 1px solid rgba(17, 33, 29, 0.08);
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.split {
  display: grid;
  gap: 28px;
}

.grid-3,
.grid-2,
.stats-grid,
.team-grid {
  display: grid;
  gap: 16px;
}

.card,
.testimonial,
.info-block,
.policy-block {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.76);
  box-shadow: 0 10px 30px rgba(9, 34, 28, 0.06);
}

.card {
  position: relative;
  min-height: 220px;
  padding: 24px;
  overflow: hidden;
}

.card::before {
  content: attr(data-index);
  display: block;
  margin-bottom: 28px;
  color: var(--copper);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 2.4rem;
  line-height: 1;
}

.card::after {
  content: "";
  position: absolute;
  top: 25px;
  right: 22px;
  width: 72px;
  height: 18px;
  border-top: 2px solid var(--forest);
  border-right: 2px solid var(--copper);
  transform: skewX(-24deg);
}

.card p,
.testimonial p,
.info-block p,
.policy-block p,
.policy-block li {
  color: var(--muted);
}

.card p,
.testimonial p,
.info-block p {
  margin: 12px 0 0;
}

.stats-grid {
  counter-reset: stat;
}

.stat {
  padding: 24px;
  color: var(--white);
  background: var(--deep);
  border: 1px solid rgba(255, 253, 248, 0.1);
}

.stat strong {
  display: block;
  color: var(--mint);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(2.1rem, 7vw, 4rem);
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 253, 248, 0.72);
  font-weight: 700;
}

.testimonial {
  padding: 24px;
}

.testimonial strong {
  display: block;
  margin-top: 18px;
  color: var(--forest);
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.82);
}

.faq summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--forest);
  font-weight: 800;
}

.faq p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.page-hero {
  position: relative;
  padding: 64px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--deep), var(--forest));
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(2.25rem, 9vw, 5rem);
}

.page-hero p {
  max-width: 680px;
  color: rgba(255, 253, 248, 0.76);
  font-size: 1.1rem;
}

.info-block,
.policy-block {
  padding: 24px;
}

.info-block h3,
.policy-block h2,
.policy-block h3 {
  margin-bottom: 12px;
}

.policy-block {
  margin-bottom: 16px;
}

.policy-block ul {
  padding-left: 20px;
}

.company-table {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.company-table div {
  display: grid;
  gap: 4px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.company-table dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-table dd {
  margin: 0;
  font-weight: 700;
}

.team-card {
  padding: 22px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(9, 34, 28, 0.96), rgba(23, 59, 49, 0.9)),
    linear-gradient(120deg, transparent 54%, rgba(185, 109, 58, 0.32) 54.3% 55%, transparent 55.4%);
}

.team-card span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 253, 248, 0.7);
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-item {
  padding: 18px;
  border-left: 4px solid var(--copper);
  background: rgba(255, 253, 248, 0.78);
}

.contact-item strong,
.contact-item a {
  display: block;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(17, 33, 29, 0.2);
  border-radius: 0;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.site-footer {
  padding: 46px 0 28px;
  color: rgba(255, 253, 248, 0.76);
  background:
    linear-gradient(135deg, rgba(9, 34, 28, 0.98), rgba(9, 34, 28, 0.94)),
    repeating-linear-gradient(90deg, rgba(255, 253, 248, 0.08) 0 1px, transparent 1px 52px);
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer-title {
  color: var(--white);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.35rem;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 253, 248, 0.78);
}

.footer-links a:hover {
  color: var(--mint);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 253, 248, 0.16);
  color: rgba(255, 253, 248, 0.56);
  font-size: 0.86rem;
}

@media (min-width: 760px) {
  .nav-links {
    display: flex;
  }

  .hero {
    padding: 90px 0 66px;
  }

  .hero-grid,
  .split {
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    align-items: center;
  }

  .grid-3,
  .stats-grid,
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
  }

  .company-table div {
    grid-template-columns: 180px 1fr;
  }
}

@media (min-width: 1040px) {
  .section {
    padding: 96px 0;
  }

  .card:nth-child(2) {
    transform: translateY(28px);
  }

  .card:nth-child(3) {
    transform: translateY(56px);
  }
}

@media (max-width: 759px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .nav-links a {
    white-space: nowrap;
  }

  .brand {
    min-width: 0;
  }

  .hero-panel {
    max-width: 420px;
  }
}
