:root {
  --bg: #f8f5ef;
  --accent: #48733c;
  --accent-dark: #315027;
  --text: #333333;
  --muted: #666666;
  --white: #ffffff;
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Header & nav */

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(248, 245, 239, 0.96);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container.narrow {
  max-width: 850px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo-image {
  height: 44px;
  width: auto;
}

/* Desktop nav */
.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  align-items: center;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.18);
  cursor: pointer;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.9rem;
  color: #333333;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav-toggle.open {
  background: rgba(0,0,0,0.04);
}

/* Mobile nav behaviour */
@media (max-width: 800px) {
  .nav {
    padding: 0.5rem 0;
  }

  .logo-image {
    height: 38px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0.7rem 1.25rem 0.9rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    background: rgba(248,245,239,0.98);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 8px 18px rgba(0,0,0,0.05);
    display: none;
  }

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

main {
  padding: 2.2rem 0 3rem;
}

/* Real spacing under header */
.hero,
.container.narrow {
  margin-top: 2.5rem;
}

@media (max-width: 800px) {
  .hero,
  .container.narrow {
    margin-top: 2rem;
  }
}

/* HERO home */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(1.9rem, 5vw, 2.7rem);
  margin-bottom: 1rem;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--white);
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-primary:hover {
  background-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.hero-card {
  background: var(--white);
  border-radius: 1.25rem;
  padding: 1.7rem 1.5rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
}

.hero-card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero-card-list {
  list-style: none;
  font-size: 0.95rem;
  color: var(--muted);
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.hero-card-list li::before {
  content: "•";
  color: var(--accent);
  font-weight: bold;
  display: inline-block;
  width: 1rem;
  margin-left: -0.3rem;
}

.hero-card-footer {
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px dashed rgba(0,0,0,0.08);
  padding-top: 0.8rem;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.8rem;
  }
}

/* Section cards */

.section {
  margin-top: 3rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.35rem;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 30rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: 1rem;
  padding: 1.4rem;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  font-size: 0.95rem;
  color: var(--muted);
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.pill {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.highlight {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 900px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 600px) {
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Text blocks */

h1 {
  font-size: clamp(1.8rem, 4vw, 2.3rem);
  margin-bottom: 0.75rem;
}

.intro {
  font-size: 0.98rem;
  color: var(--muted);
  margin-bottom: 1.8rem;
  max-width: 40rem;
}

.notice {
  background: var(--white);
  border-left: 4px solid var(--accent);
  padding: 1rem 1.1rem;
  border-radius: 0.8rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 2rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.steps {
  display: grid;
  gap: 1.4rem;
  margin-bottom: 2.5rem;
}

.step {
  background: rgba(255,255,255,0.9);
  border-radius: 1rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
}

.step-number {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 0.1rem;
}

.step-title {
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.step-text {
  font-size: 0.95rem;
  color: var(--muted);
}

.tips {
  background: rgba(255,255,255,0.8);
  border-radius: 1rem;
  padding: 1.4rem 1.5rem;
  border: 1px dashed rgba(0,0,0,0.12);
  font-size: 0.92rem;
  color: var(--muted);
}

.tips h2 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.tips ul {
  margin-left: 1.1rem;
  margin-top: 0.3rem;
}

.tips li {
  margin-bottom: 0.25rem;
}

@media (max-width: 700px) {
  .step {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-number {
    margin-bottom: 0.2rem;
  }
}

/* Lang switch tabs */

.lang-switch {
  display: inline-flex;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.1rem;
}

.lang-tab {
  border: none;
  background: transparent;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.lang-tab.active {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.lang-panel {
  display: none;
}

.lang-panel.active {
  display: block;
}

/* Contact form */

.contact-form {
  background: var(--white);
  border-radius: 1.1rem;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 8px 22px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.04);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form-row label {
  font-size: 0.9rem;
  color: var(--muted);
}

.form-row input,
.form-row textarea {
  padding: 0.7rem 0.8rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(0,0,0,0.16);
  font: inherit;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(72,115,60,0.1);
}

/* Legal page */
.legal p {
  margin-bottom: 1rem;
}

/* Footer */

footer {
  border-top: 1px solid rgba(0,0,0,0.05);
  padding: 1.5rem 0 2rem;
  font-size: 0.85rem;
  color: var(--muted);
  background: rgba(255,255,255,0.6);
  margin-top: 3rem;
}

footer .container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}

footer a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 600px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
  }
}
