:root {
  --green: #4f6f52;
  --green-dark: #38553a;
  --gray: #747774;
  --black: #121212;
  --white: #ffffff;
  --cream: #efe8dd;
  --chocolate: #5a3b2f;
  --border: rgba(18, 18, 18, 0.08);
  --shadow: 0 20px 45px rgba(18, 18, 18, 0.08);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
}

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

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

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

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

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1rem;
}

.header-end {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  min-width: 2.25rem;
  padding: 0.3rem 0.45rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--black);
  cursor: pointer;
  opacity: 0.72;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.lang-flag-icon {
  display: flex;
  flex-shrink: 0;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(18, 18, 18, 0.12);
}

.lang-flag-icon svg {
  display: block;
  width: 22px;
  height: auto;
}

.lang-code {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lang-btn:hover {
  opacity: 0.92;
}

.lang-btn.is-active {
  opacity: 1;
  background: rgba(79, 111, 82, 0.14);
}

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

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

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--gray);
  font-size: 0.82rem;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--chocolate));
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  font-weight: 500;
  position: relative;
}

.site-nav a.active:not(.btn)::after,
.site-nav a:hover:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--green);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.2rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--black);
  margin: 6px 0;
  transition: 0.25s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  border: 1px solid var(--green);
  transition: 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: var(--green-dark);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1px solid rgba(18, 18, 18, 0.16);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn-sm {
  padding: 0.7rem 1rem;
}

.hero,
.page-hero {
  padding: 4.5rem 0 3rem;
  background:
    radial-gradient(circle at top left, rgba(79, 111, 82, 0.18), transparent 30%),
    linear-gradient(180deg, #fbfaf7 0%, #ffffff 100%);
}

.hero-grid,
.page-hero-grid,
.split-grid,
.stats-grid,
.values-grid,
.proof-grid,
.testimonial-grid {
  display: grid;
  gap: 1.5rem;
}

.hero-grid,
.page-hero-grid,
.split-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.8rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.35rem, 4vw, 4.4rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

h3 {
  font-size: 1.2rem;
}

.lead {
  font-size: 1.08rem;
  color: #363636;
  max-width: 60ch;
}

.narrow {
  max-width: 54ch;
}

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

.trust-points,
.check-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.trust-points li,
.check-list li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.trust-points li::before,
.check-list li::before {
  content: "✓";
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(79, 111, 82, 0.14);
  color: var(--green);
  font-weight: 800;
}

.hero-card,
.portrait-frame,
.stat-card,
.feature-card,
.value-card,
.info-panel,
.story-box,
.proof-card,
.testimonial-card,
.cta-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--white);
}

.hero-card {
  overflow: hidden;
}

.hero-card img,
.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-info {
  padding: 1.1rem 1.25rem 1.35rem;
  background: linear-gradient(180deg, rgba(90, 59, 47, 0.04), rgba(79, 111, 82, 0.08));
}

.hero-card-info h2 {
  font-size: 1.35rem;
  margin-bottom: 0.2rem;
}

.hero-card-info p {
  margin: 0;
  color: var(--gray);
}

.portrait-frame {
  overflow: hidden;
  min-height: 580px;
}

.portrait-frame.small {
  min-height: 420px;
}

.section {
  padding: 4.2rem 0;
}

.muted {
  background: #faf8f5;
}

.soft-accent {
  background: linear-gradient(180deg, rgba(239, 232, 221, 0.65), rgba(255, 255, 255, 0.8));
}

.stats-grid,
.values-grid,
.proof-grid,
.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card,
.feature-card,
.value-card,
.info-panel,
.story-box,
.proof-card,
.testimonial-card {
  padding: 1.5rem;
}

.feature-stack {
  display: grid;
  gap: 1rem;
}

.info-panel {
  background: linear-gradient(180deg, rgba(239, 232, 221, 0.7), rgba(255, 255, 255, 1));
}

.story-box {
  max-width: 760px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.proof-label {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(79, 111, 82, 0.12);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 700;
}

.image-placeholder {
  display: grid;
  place-items: center;
  min-height: 220px;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(18, 18, 18, 0.18);
  background: linear-gradient(135deg, rgba(79, 111, 82, 0.18), rgba(90, 59, 47, 0.14));
  color: var(--chocolate);
  text-align: center;
  font-weight: 700;
}

.cta-panel {
  padding: 1.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.site-footer {
  padding: 1.6rem 0;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.footer-wrap,
.footer-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  justify-content: flex-start;
}

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

@media (max-width: 900px) {
  .hero-grid,
  .page-hero-grid,
  .split-grid,
  .stats-grid,
  .values-grid,
  .proof-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

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

  .site-nav a.active:not(.btn)::after,
  .site-nav a:hover:not(.btn)::after {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .cta-panel,
  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .portrait-frame,
  .portrait-frame.small {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .hero,
  .page-hero,
  .section {
    padding-top: 3.2rem;
    padding-bottom: 3.2rem;
  }

  h1 {
    font-size: 2.3rem;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .brand small {
    font-size: 0.75rem;
  }

  .container {
    width: min(calc(100% - 1.15rem), var(--container));
  }
}
