:root {
  --color-primary: #2f6f4e;
  --color-secondary: #1f4b32;
  --color-accent: #d4a574;
  --color-background: #f9f6f1;
  --color-text: #1d2a2d;
  --color-muted: #6b7b76;
  --max-width: 1200px;
  --font-family: "Poppins", "Lato", "Open Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-family);
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

a:hover,
a:focus {
  color: var(--color-primary);
}

a:focus-visible {
  outline: 3px solid rgba(47, 111, 78, 0.3);
  outline-offset: 2px;
  border-radius: 4px;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(249, 246, 241, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.navbar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__brand {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: var(--color-primary);
}

.navbar__links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.navbar__link {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  text-decoration: none;
}

.navbar__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.navbar__link:hover::after,
.navbar__link:focus::after,
.navbar__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.navbar__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--color-primary);
}

main {
  padding: 0 1.5rem 2.5rem;
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.2rem 0;
}

.section--no-top {
  padding-top: 0;
}

.section--compact {
  padding-bottom: 2rem;
}

.section--compact + .section {
  padding-top: 2rem;
}

.section__heading {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  color: var(--color-primary);
}

.section__subheading {
  font-size: 1.1rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
}

.hero {
  position: relative;
  display: grid;
  gap: 1.6rem;
  align-items: center;
}

.hero__content {
  max-width: 70ch;
}

.hero__image {
  border-radius: 18px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content h1 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.hero__subtitle {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: var(--color-accent);
  font-size: 1rem;
  font-weight: 600;
}

.hero__content p {
  margin-bottom: 1.4rem;
  font-size: 1.1rem;
  color: var(--color-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 20px rgba(47, 111, 78, 0.2);
  text-decoration: none;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(47, 111, 78, 0.25);
}

.btn:focus-visible {
  outline: 3px solid rgba(47, 111, 78, 0.35);
  outline-offset: 3px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
}

.card__image {
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 12px;
}

.card__title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

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

.grid-two {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.about-story {
  align-items: start;
}

.about-story__text {
  display: grid;
  gap: 1.6rem;
}

.section-illustration {
  max-width: 420px;
  width: 100%;
  justify-self: center;
}

.highlight-list {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.highlight {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.highlight h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: var(--color-primary);
}

.highlight p {
  margin: 0;
  color: var(--color-muted);
}

.contact-form {
  display: grid;
  gap: 1.2rem;
  max-width: 640px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(47, 111, 78, 0.2);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background-color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(47, 111, 78, 0.15);
}

.contact-details {
  margin-top: 1.5rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.contact-details a {
  color: var(--color-primary);
  font-weight: 600;
}

.footer {
  background-color: #1d2a2d;
  color: #f5f5f5;
  padding: 2rem 1.5rem;
}

.footer__content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.footer__links a {
  color: #f5f5f5;
}

.hero::after {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 180px;
  height: 180px;
  background: rgba(47, 111, 78, 0.1);
  border-radius: 40px;
  z-index: -1;
  filter: blur(0px);
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  left: 1rem;
  max-width: 520px;
  margin: 0 auto;
  background-color: #fff;
  padding: 1.2rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.9rem;
}

.cookie-banner button {
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cookie-banner__reject {
  background: #d9e4dc;
  color: var(--color-text);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.hero-card {
  background-color: #fff;
  border-radius: 16px;
  padding: 1.35rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.hero-card .section__heading {
  margin-top: 0;
}

main > .section:first-of-type {
  padding-top: 2rem;
}

@media (max-width: 768px) {
  .navbar {
    padding: 0.75rem 1rem;
  }

  .navbar__toggle {
    display: block;
  }

  .navbar__links {
    position: absolute;
    top: 100%;
    right: 1rem;
    background-color: rgba(249, 246, 241, 0.98);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
    min-width: 220px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .navbar__links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero::after {
    display: none;
  }

  .section {
    padding: 2.35rem 0;
  }

  .hero__content h1 {
    font-size: 2.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.cookie-banner.is-hidden {
  display: none;
}
