:root {
  --green-900: #1a3d2f;
  --green-700: #2d6a4f;
  --green-500: #40916c;
  --green-100: #d8f3dc;
  --sand-50: #f8f6f1;
  --sand-200: #e8e2d6;
  --brown-700: #5c4033;
  --text: #1f2937;
  --muted: #6b7280;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(26, 61, 47, 0.12);
  --radius: 16px;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--sand-50);
  line-height: 1.6;
}
img, picture { max-width: 100%; display: block; }
a { color: var(--green-700); }
a:hover { color: var(--green-900); }
.container { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--green-700); color: var(--white); padding: .75rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header — layout/alignment scoped to header only */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand-200);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  min-height: 4rem;
  position: relative;
}
/* Unified brand lockup — monogram SVG + wordmark */
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex-shrink: 1;
  min-width: 0;
  transition: opacity 0.2s ease;
}
.brand:hover { opacity: 0.92; }
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}
.brand-monogram {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(26, 61, 47, 0.22));
}
.brand-wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.12rem;
  min-width: 0;
  padding-top: 0.05rem;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--green-900);
  letter-spacing: -0.03em;
  line-height: 1;
}
.brand-tagline {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--green-700);
  letter-spacing: 0.02em;
  line-height: 1.2;
  opacity: 0.92;
}
@media (max-width: 480px) {
  .brand-monogram { width: 38px; height: 38px; }
  .brand-name { font-size: 1.12rem; }
  .brand-tagline { font-size: 0.6rem; letter-spacing: 0.01em; }
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  margin-left: auto;
}
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.25rem 1.25rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  white-space: nowrap;
}
.nav-links a.active,
.nav-links a:hover {
  color: var(--green-700);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  border: 1px solid var(--sand-200);
  border-radius: 999px;
  padding: 0.2rem;
  background: var(--white);
}
.lang-switcher a {
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.4rem 0.55rem;
  border-radius: 999px;
  color: var(--muted);
  line-height: 1;
}
.lang-switcher a.active {
  background: var(--green-700);
  color: var(--white);
}
/* CTA: explicit contrast — .nav-links a must not inherit onto this button */
.site-header .nav-cta.btn-primary {
  color: var(--white);
  background: var(--green-700);
  border: 2px solid var(--green-700);
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(45, 106, 79, 0.35);
}
.site-header .nav-cta.btn-primary:hover,
.site-header .nav-cta.btn-primary:focus-visible {
  color: var(--white);
  background: var(--green-900);
  border-color: var(--green-900);
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.35rem;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 1px;
}
body.is-lang-switching #main {
  opacity: 0.72;
  transition: opacity 0.15s ease;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.35rem; border-radius: 999px; font-weight: 600;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green-700); color: var(--white); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--green-900); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--green-700); border-color: var(--green-500); }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }

/* Hero */
.hero { position: relative; min-height: 72vh; display: grid; align-items: end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,61,47,.15) 0%, rgba(26,61,47,.75) 100%);
}
.hero-image { width: 100%; height: 100%; object-fit: cover; min-height: 72vh; }
.hero-content { position: relative; color: var(--white); padding: 4rem 0 3rem; }
.hero-content h1 {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1; margin: .5rem 0 1rem;
}
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; opacity: .9; }
.hero-subtitle { max-width: 52ch; font-size: 1.05rem; opacity: .95; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* Trust bar */
.trust-bar { background: var(--green-900); color: var(--white); padding: 1rem 0; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: center; font-weight: 600; }

/* Seasons — homepage seasonal cards (Sügis, Talv, Kevad, Suvi) */
.seasons-section { padding: 2.5rem 0; }
.season-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: stretch;
}
.season-card {
  display: block;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  min-height: 220px;
  text-decoration: none;
  color: var(--white);
  box-shadow: var(--shadow);
}
.season-card__media {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border-radius: inherit;
}
.season-card__media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.season-card .season-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}
.season-card:hover .season-image {
  transform: scale(1.05);
}
.season-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1rem 0.75rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  line-height: 1.2;
}

/* Intro */
.intro-section { padding: 2rem 0 3rem; }
.intro-card {
  background: var(--white); border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow); border: 1px solid var(--sand-200);
}
.intro-card h2 { font-family: var(--font-display); margin-top: 0; }

/* Gallery */
.gallery-section { padding: 1rem 0 3rem; }
.gallery-section h2 { font-family: var(--font-display); margin-bottom: 1.25rem; }
.gallery-track { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.gallery-row {
  display: flex; gap: 1rem; width: max-content;
  animation: gallery-scroll 40s linear infinite;
}
.gallery-item {
  border: 0; padding: 0; background: none; cursor: zoom-in; border-radius: 12px; overflow: hidden;
  width: 280px; flex: 0 0 280px; box-shadow: var(--shadow);
}
.gallery-image { width: 100%; height: 180px; object-fit: cover; }
@keyframes gallery-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.85);
  display: grid; place-items: center; padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox-image { max-width: min(92vw, 1100px); max-height: 85vh; border-radius: 12px; }
.lightbox-close {
  position: absolute; top: 1rem; right: 1rem; border: 0; background: none;
  color: var(--white); font-size: 2.5rem; cursor: pointer;
}

/* Testimonials */
.testimonials-section { padding: 1rem 0 4rem; }
.testimonials-section h2 { font-family: var(--font-display); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.testimonial-card {
  background: var(--white); border-radius: var(--radius); padding: 1.25rem;
  border: 1px solid var(--sand-200); margin: 0; color: var(--text);
}
.testimonial-card p { margin: 0; color: var(--text); }
.testimonial-card footer { color: var(--muted); font-size: .9rem; margin-top: .75rem; }

/* Page hero */
.page-hero { padding: 3rem 0 2rem; background: linear-gradient(180deg, var(--green-100), var(--sand-50)); }
.page-hero-compact { padding-bottom: 1.25rem; }
.page-hero h1 { font-family: var(--font-display); margin: 0 0 .5rem; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.lead { color: var(--muted); max-width: 60ch; }

/* Services */
.services-section { padding: 2rem 0 4rem; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--sand-200); box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.service-image { width: 100%; height: 200px; object-fit: cover; }
.service-body { padding: 1.25rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.service-body h2 { font-size: 1.15rem; margin: 0; }
.service-body p { margin: 0; color: var(--muted); flex: 1; }
.service-link { font-weight: 600; text-decoration: none; }
.service-card-cta { border-color: var(--green-500); }

/* Contact */
.contact-section { padding: 2rem 0 4rem; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.5rem; align-items: start; }
.contact-form, .info-card {
  background: var(--white); border-radius: var(--radius); padding: 1.5rem;
  border: 1px solid var(--sand-200); box-shadow: var(--shadow);
}
.form-field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.form-field input, .form-field textarea {
  border: 1px solid var(--sand-200); border-radius: 10px; padding: .75rem .9rem;
  font: inherit; background: var(--sand-50);
}
.form-field input:focus, .form-field textarea:focus {
  outline: 2px solid var(--green-500); outline-offset: 1px;
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-status { min-height: 1.5rem; font-weight: 600; }
.form-status.success { color: var(--green-700); }
.form-status.error { color: #b42318; }
.info-card h2 { margin-top: 0; font-family: var(--font-display); }
.muted { color: var(--muted); font-size: .9rem; }

/* FAQ */
.faq-section { padding: 1rem 0 4rem; }
.faq-list { display: grid; gap: .75rem; }
.faq-item {
  background: var(--white); border: 1px solid var(--sand-200);
  border-radius: 12px; padding: .25rem 1rem;
}
.faq-item summary {
  cursor: pointer; font-weight: 600; padding: .85rem 0;
  list-style: none; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--green-700); }
.faq-item p { margin: 0 0 1rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--brown-700); color: var(--white); padding: 2.5rem 0 1rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1.5rem; }
.footer-grid a { color: var(--white); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.footer-copy { text-align: center; color: rgba(255,255,255,.75); font-size: .9rem; margin-top: 1.5rem; }

/* Responsive */
@media (max-width: 960px) {
  .season-grid, .services-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .footer-grid, .trust-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: 0;
    background: var(--white);
    border: 1px solid var(--sand-200);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-left: 0;
  }
  .site-nav.open { display: flex; }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }
  .nav-links a { padding: 0.55rem 0; }
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--sand-200);
  }
  .lang-switcher { justify-content: center; }
  .site-header .nav-cta.btn-primary {
    width: 100%;
    text-align: center;
  }
  .season-grid, .services-grid, .testimonial-grid { grid-template-columns: 1fr; }
}