:root {
  --color-bg: #faf9f7;
  --color-surface: #ffffff;
  --color-text: #2b2b28;
  --color-text-muted: #6b6b64;
  --color-border: #e3e1db;
  --color-accent: #4a6151;
  --color-accent-dark: #354438;
  --color-accent-light: #edf1ee;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  --max-width: 1140px;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-accent);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

header.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.2px;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 15px;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 8px;
  font-size: 22px;
  color: var(--color-text);
}

.hero {
  padding: 72px 0;
  background: linear-gradient(180deg, var(--color-accent-light), var(--color-bg));
  border-bottom: 1px solid var(--color-border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: 40px;
  line-height: 1.2;
  margin: 0 0 18px;
}

.hero p.lead {
  font-size: 18px;
  color: var(--color-text-muted);
  margin: 0 0 28px;
  max-width: 46ch;
}

.hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
}

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

.btn-primary:hover {
  background: var(--color-accent-dark);
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}

.btn-secondary:hover {
  border-color: var(--color-accent);
  text-decoration: none;
}

section {
  padding: 64px 0;
}

section.alt {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-head h2 {
  font-size: 30px;
  margin: 0 0 12px;
}

.section-head p {
  color: var(--color-text-muted);
  margin: 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
}

.card i.ph,
.card i[class^="ph-"] {
  font-size: 30px;
  color: var(--color-accent);
  margin-bottom: 14px;
  display: inline-block;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 15px;
}

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step {
  position: relative;
  padding-top: 8px;
}

.step .step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}

.image-feature {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-feature img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.notice-box {
  background: var(--color-accent-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.cta {
  text-align: center;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius);
  padding: 56px 32px;
}

.cta h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

.cta p {
  margin: 0 0 26px;
  opacity: 0.9;
}

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

.cta .btn-primary:hover {
  background: var(--color-accent-light);
}

footer.site-footer {
  background: var(--color-accent-dark);
  color: #e7e9e5;
  padding: 56px 0 24px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  color: #fff;
  margin: 0 0 16px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 10px;
}

.footer-grid a {
  color: #cfd3cb;
  font-size: 14px;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand .brand-name {
  color: #fff;
}

.footer-grid p {
  color: #cfd3cb;
  font-size: 14px;
  margin: 0 0 8px;
}

.footer-grid .contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #cfd3cb;
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #a9ada2;
}

.page-header {
  padding: 48px 0 32px;
  background: var(--color-accent-light);
  border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
  margin: 0 0 10px;
  font-size: 32px;
}

.page-header p {
  margin: 0;
  color: var(--color-text-muted);
}

.legal-content {
  max-width: 780px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 20px;
  margin: 34px 0 12px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--color-text-muted);
  font-size: 15px;
}

.legal-content .updated {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
}

.contact-info-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.contact-info-card li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 15px;
  color: var(--color-text-muted);
}

.contact-info-card li i {
  color: var(--color-accent);
  font-size: 20px;
  margin-top: 2px;
}

form.contact-form {
  display: grid;
  gap: 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

input,
textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  background: var(--color-bg);
  color: var(--color-text);
}

input:focus,
textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

.form-note {
  font-size: 13px;
  color: var(--color-text-muted);
}

.form-success {
  display: none;
  background: var(--color-accent-light);
  border: 1px solid var(--color-accent);
  color: var(--color-accent-dark);
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.team-card {
  text-align: center;
}

.team-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.team-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.team-card span {
  color: var(--color-text-muted);
  font-size: 13px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-accent-dark);
  color: #eceee9;
  padding: 20px 24px;
  z-index: 2000;
  display: none;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
}

.cookie-banner.show {
  display: block;
}

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-inner p {
  margin: 0;
  font-size: 14px;
  max-width: 640px;
  color: #d8dbd3;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-actions .btn-secondary {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.disclaimer-strip {
  background: var(--color-accent-dark);
  color: #e7e9e5;
  padding: 12px 0;
  font-size: 13px;
  text-align: center;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow);
  font-size: 20px;
  z-index: 90;
}

.back-to-top.show {
  display: flex;
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .steps,
  .footer-grid,
  .contact-grid,
  .team-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  nav.main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    display: none;
    padding: 16px 24px;
  }

  nav.main-nav.open {
    display: block;
  }

  nav.main-nav ul {
    flex-direction: column;
    gap: 16px;
  }

  .nav-toggle {
    display: block;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
