/* ============================================================
   BUŠIM v6 — "Organic Horizon"
   Font: Cabin (titles) + Lora (body)
   Palette: dark green sparingly, light/airy, greige, beige,
            muted greens, grey shades
   ============================================================ */

:root {
  --c-forest: #2B5219;
  --c-grass: #4A7C2E;
  --c-muted-green: #7a9b6a;
  --c-sage: #a8b89a;
  --c-cream: #F5F2EA;
  --c-warm-white: #FAFAF6;
  --c-parchment: #EEEBE2;
  --c-greige: #d8d4ca;
  --c-beige: #e6e0d4;
  --c-stone: #c8c2b6;
  --c-grey-warm: #9a958c;
  --c-dark: #2a2a28;
  --c-dark-soft: #4a4a46;
  --c-border: #d4d0c6;
  --c-border-card: #f0eee9;
  --c-white: #fff;
  --c-services-bg: #FAFAF6;

  --ff-title: 'Cabin', 'Segoe UI', sans-serif;
  --ff-body: 'Lora', 'Georgia', serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-xxl: 7rem;

  --max-w: 1200px;
  --nav-h: 88px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

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

body {
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-dark);
  background: var(--c-warm-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-forest); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--c-grass); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--c-grass);
  outline-offset: 2px;
}

ul, ol { list-style: none; }
address { font-style: normal; }

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-title {
  font-family: var(--ff-title);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--c-forest);
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--c-dark-soft);
  max-width: 640px;
  line-height: 1.75;
  margin-bottom: var(--space-lg);
}

/* ============================================================
   BUTTON
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--ff-title);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.15s, box-shadow 0.25s;
  text-align: center;
}

.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--c-forest);
  color: var(--c-cream);
}

.btn--primary:hover {
  background: var(--c-grass);
  color: #fff;
  box-shadow: 0 4px 16px rgba(43, 82, 25, 0.2);
}

/* ============================================================
   NAV — with logo
   ============================================================ */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(250, 250, 246, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.4s, box-shadow 0.4s;
}

.main-nav.nav-scrolled {
  background: rgba(250, 250, 246, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 10px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-logo-link {
  margin-right: auto;
}

.nav-logo {
  display: block;
  width: 156px;
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
}

.nav-links a {
  font-family: var(--ff-title);
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--c-dark);
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--c-forest);
  background: rgba(43, 82, 25, 0.06);
}

/* Nav CTA button */
.nav-cta {
  padding: 0.55rem 1.4rem;
  font-size: 0.82rem;
  margin-left: 0.75rem;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .nav-cta { display: none; }
}

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-dark);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-burger { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(250, 250, 246, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s ease, opacity 0.35s ease;
  }

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

  .nav-links a {
    font-size: 1.25rem;
    padding: 0.75rem 1.5rem;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(250, 250, 246, 0.97) 0%,
    rgba(250, 250, 246, 0.97) 40%,
    rgba(250, 250, 246, 0.85) 52%,
    rgba(250, 250, 246, 0.3) 68%,
    rgba(250, 250, 246, 0.0) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: calc(var(--nav-h) + var(--space-lg)) 1.25rem 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: var(--space-md);
  flex: 1;
}

@media (min-width: 769px) {
  .hero-content {
    padding-top: calc(var(--nav-h) + var(--space-xl));
  }
}

/* Hero top: title + text + region */
.hero-top {
  max-width: 720px;
}

/* Hero intro line */
.hero-intro {
  font-family: var(--ff-title);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--c-dark-soft);
  margin-bottom: var(--space-md);
}

/* Title — single flex line */
.hero-tagline {
  font-family: var(--ff-title);
  font-weight: 600;
  color: var(--c-forest);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  -webkit-text-stroke: 0.5px var(--c-forest);
}

.hero-text {
  font-size: 1.08rem;
  color: var(--c-dark-soft);
  line-height: 1.75;
  max-width: 620px;
  margin-bottom: var(--space-sm);
}

.hero-region {
  font-family: var(--ff-title);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-muted-green);
}

/* Hero bottom: contact box + CTA side by side */
.hero-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}


.hero-contact {
  background: rgba(255, 255, 255, 0.55);
  border-left: 3px solid var(--c-muted-green);
  padding: var(--space-sm) var(--space-md);
  border-radius: 0 6px 6px 0;
}

.hero-contact-label {
  font-family: var(--ff-title);
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-muted-green);
  display: block;
  margin-bottom: 0.2rem;
}

.hero-phone {
  font-family: var(--ff-title);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--c-forest);
  display: block;
  letter-spacing: 0.02em;
}

.hero-phone:hover { color: var(--c-grass); }

.hero-email {
  font-family: var(--ff-title);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--c-dark-soft);
}

/* Decorative green wavy lines between hero and services */
.hero-green-lines {
  position: relative;
  z-index: 3;
  line-height: 0;
  margin-bottom: -1px;
}

.hero-green-lines svg {
  display: block;
  width: 100%;
  height: 30px;
}

@media (min-width: 769px) {
  .hero-green-lines svg { height: 40px; }
}

/* Green wavy lines between all sections */
.green-lines {
  position: relative;
  z-index: 3;
  line-height: 0;
  margin-bottom: -1px;
}

.green-lines svg {
  display: block;
  width: 100%;
  height: 30px;
}

@media (min-width: 769px) {
  .green-lines svg { height: 40px; }
}

/* Hero bottom wave */
.hero-wave {
  position: relative;
  z-index: 3;
  margin-top: auto;
  line-height: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

@media (min-width: 769px) {
  .hero-wave svg { height: 80px; }
}

/* ============================================================
   WAVE DIVIDERS — organic horizon shapes
   ============================================================ */
.wave-divider {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  line-height: 0;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

@media (min-width: 769px) {
  .wave-divider svg { height: 80px; }
}

.wave-divider--services {
  background: var(--c-services-bg);
}

.wave-divider--cream {
  background: var(--c-cream);
}

.wave-divider--about {
  background: var(--c-warm-white);
}

.wave-divider--grass {
  background: var(--c-cream);
}

/* ============================================================
   SERVICES — lighter background with subtle texture
   ============================================================ */
.services {
  background-color: var(--c-services-bg);
  background-image:
    /* Subtle paper-like texture */
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(0,0,0,0.008) 3px,
      rgba(0,0,0,0.008) 6px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 4px,
      rgba(0,0,0,0.005) 4px,
      rgba(0,0,0,0.005) 8px
    ),
    radial-gradient(ellipse 600px 400px at 20% 30%, rgba(210,205,195,0.3), transparent),
    radial-gradient(ellipse 500px 350px at 80% 70%, rgba(200,195,185,0.2), transparent);
  padding: var(--space-xl) 0 var(--space-xxl);
  position: relative;
}

.services-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.services-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.services-header .section-title {
  color: var(--c-forest);
}

.services-header .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* Services group (Stavby / Zeleň) */
.services-group {
  margin-bottom: var(--space-xl);
}

.services-group:last-child {
  margin-bottom: 0;
}

.services-group-title {
  font-family: var(--ff-title);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-forest);
  text-align: center;
  margin-bottom: var(--space-md);
  position: relative;
}

.services-group--green .flip-card-front,
.services-group--green .flip-card-back {
  border-color: var(--c-sage);
}

.services-group-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--c-forest);
  margin: 0.6rem auto 0;
  opacity: 0.4;
}

/* ============================================================
   FLIP CARDS — dark grey border, no border-radius
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

@media (min-width: 769px) {
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
  }
}

.flip-card {
  perspective: 800px;
  height: 280px;
  cursor: pointer;
}

@media (min-width: 769px) {
  .flip-card { height: 320px; }
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

/* Flip on hover (desktop) */
@media (hover: hover) {
  .flip-card:hover .flip-card-inner,
  .flip-card:focus .flip-card-inner {
    transform: rotateY(180deg);
  }
}

/* Flip on click */
.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--c-border-card);
}

.flip-card-front {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #fff;
}

.card-illustration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-front-title {
  position: relative;
  z-index: 1;
  font-family: var(--ff-title);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--c-forest);
  background: linear-gradient(0deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.88) 60%, transparent 100%);
  padding: 2.5rem 0.75rem 0.9rem;
}

.flip-card-back {
  transform: rotateY(180deg);
  background: var(--c-warm-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-md) var(--space-sm);
}

.card-back-icon {
  width: 48px;
  height: 48px;
  color: var(--c-grass);
  margin-bottom: var(--space-sm);
}

.flip-card-back h4 {
  font-family: var(--ff-title);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--c-forest);
  margin-bottom: 0.5rem;
}

.flip-card-back p {
  font-size: 0.85rem;
  color: var(--c-dark-soft);
  line-height: 1.6;
}

/* ============================================================
   MOBILE CARDS — compact mode
   ============================================================ */
@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .flip-card {
    height: auto;
    perspective: none;
  }

  .flip-card-inner {
    transform-style: flat;
    transition: none;
    height: auto;
  }

  .flip-card-front {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-sm);
    min-height: 110px;
    background: var(--c-warm-white);
  }

  .card-illustration {
    display: none;
  }

  .card-front-title {
    background: none;
    padding: 0;
    text-align: center;
    font-size: 0.82rem;
  }

  /* Show icon placeholder on front for mobile */
  .flip-card-front::before {
    content: '';
    display: block;
    width: 36px;
    height: 36px;
    margin-bottom: 0.5rem;
    background: var(--c-sage);
    border-radius: 50%;
    opacity: 0.4;
  }

  .flip-card-back {
    position: relative;
    transform: none;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    padding: 0 var(--space-sm);
    border-radius: 0 0 8px 8px;
    border-top: 2px solid var(--c-border-card);
    background: var(--c-parchment);
  }

  .flip-card.flipped .flip-card-inner {
    transform: none;
  }

  .flip-card.flipped .flip-card-back {
    max-height: 300px;
    opacity: 1;
    padding: var(--space-md) var(--space-sm);
  }
}

/* ============================================================
   REALIZACE — carousel
   ============================================================ */
.realizace {
  background: var(--c-cream);
  padding: var(--space-xl) 0 var(--space-lg);
}

.realizace-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  margin-bottom: var(--space-lg);
}

.carousel-wrap {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.carousel {
  overflow: hidden;
  padding: 0 1.25rem;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  gap: var(--space-md);
}

.carousel-slide {
  flex: 0 0 calc(100% - 2.5rem);
  min-width: 0;
  background: var(--c-warm-white);
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--c-border-card);
  transition: transform 0.3s, box-shadow 0.3s;
}

@media (min-width: 600px) {
  .carousel-slide {
    flex: 0 0 calc(50% - var(--space-md));
  }
}

@media (min-width: 900px) {
  .carousel-slide {
    flex: 0 0 calc(33.333% - var(--space-md));
  }
}

.carousel-slide:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
}

.carousel-visual {
  overflow: hidden;
  background: var(--c-parchment);
}

.carousel-visual svg {
  width: 100%;
  height: auto;
  display: block;
}

.carousel-caption {
  padding: var(--space-sm) 1.25rem var(--space-md);
}

.carousel-tag {
  font-family: var(--ff-title);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-muted-green);
  display: inline-block;
  margin-bottom: 0.2rem;
}

.carousel-caption h3 {
  font-family: var(--ff-title);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--c-forest);
  margin-bottom: 0.3rem;
}

.carousel-caption p {
  font-size: 0.88rem;
  color: var(--c-dark-soft);
  line-height: 1.6;
}

/* Carousel controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) 1.25rem 0;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--c-border);
  background: var(--c-warm-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-dark-soft);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.carousel-btn:hover {
  border-color: var(--c-grass);
  color: var(--c-forest);
  background: rgba(43, 82, 25, 0.04);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--c-greige);
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  padding: 0;
}

.carousel-dot:hover { background: var(--c-grey-warm); }
.carousel-dot.active {
  background: var(--c-grass);
  transform: scale(1.2);
}

/* ============================================================
   O NÁS
   ============================================================ */
.about {
  background: var(--c-warm-white);
  padding: var(--space-xl) 0;
}

.about-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

@media (min-width: 769px) {
  .about-layout {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

.about-text p {
  margin-bottom: var(--space-sm);
  line-height: 1.8;
}

.about-lead {
  font-size: 1.12rem;
}

.about-visual {
  position: relative;
  padding: 1.5rem;
}

.about-wavy-border {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.about-visual svg {
  width: 100%;
  height: auto;
  display: block;
}

.about-visual svg:not(.about-wavy-border) {
  border-radius: 42% 38% 44% 36% / 35% 40% 32% 42%;
  overflow: hidden;
}


/* Team */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-sm);
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--space-md);
  background: var(--c-cream);
  border-radius: 0;
  border: 1px solid var(--c-border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.team-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.team-avatar {
  font-family: var(--ff-title);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--c-warm-white);
  background: var(--c-forest);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.team-card strong {
  font-family: var(--ff-title);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--c-forest);
}

.team-card span {
  font-size: 0.82rem;
  color: var(--c-dark-soft);
  margin-bottom: 0.4rem;
}

.team-card a {
  font-family: var(--ff-title);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--c-grass);
}

/* ============================================================
   KONTAKT
   ============================================================ */
.contact {
  background: var(--c-cream);
  padding: var(--space-xl) 0 var(--space-xxl);
}

.contact-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 769px) {
  .contact-grid {
    grid-template-columns: 1.5fr 1fr;
    align-items: start;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

@media (min-width: 500px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

label {
  font-family: var(--ff-title);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-dark-soft);
}

input, select, textarea {
  font-family: var(--ff-body);
  font-size: 0.95rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--c-border);
  border-radius: 4px;
  background: var(--c-warm-white);
  color: var(--c-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:hover, select:hover, textarea:hover {
  border-color: var(--c-muted-green);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--c-grass);
  box-shadow: 0 0 0 3px rgba(74, 124, 46, 0.1);
  outline: none;
}

textarea { resize: vertical; min-height: 120px; }
select { cursor: pointer; }

.contact-form .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* Contact info panel */
.contact-info {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.contact-info-box {
  background: var(--c-warm-white);
  border: 2px solid var(--c-border-card);
  border-radius: 8px;
  padding: var(--space-md);
}

.contact-info-box h3 {
  font-family: var(--ff-title);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-forest);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--c-sage);
}

.contact-info-box dl {
  display: grid;
  gap: 0.15rem;
}

.contact-info-box dt {
  font-family: var(--ff-title);
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-muted-green);
  margin-top: var(--space-sm);
}

.contact-info-box dt:first-child { margin-top: 0; }

.contact-info-box dd {
  font-size: 0.92rem;
  color: var(--c-dark);
  line-height: 1.55;
}

.contact-info-box dd a {
  color: var(--c-forest);
  font-weight: 600;
}

.contact-info-box .contact-dt--spaced {
  margin-top: var(--space-sm);
}

/* ============================================================
   FOOTER — opaque dark green, watercolor texture
   ============================================================ */
.site-footer {
  background-color: #1e3514;
  background-image:
    /* Watercolor-style layered texture */
    radial-gradient(ellipse 800px 300px at 20% 30%, rgba(90,128,64,0.18), transparent),
    radial-gradient(ellipse 600px 250px at 70% 60%, rgba(74,124,46,0.15), transparent),
    radial-gradient(ellipse 500px 200px at 50% 80%, rgba(43,82,25,0.12), transparent),
    radial-gradient(ellipse 900px 400px at 80% 20%, rgba(106,154,72,0.1), transparent),
    /* Gradient over opaque base */
    linear-gradient(180deg, #2d4a1e 0%, #263f18 30%, #1e3514 60%, #1a2e12 100%);
  color: rgba(255,255,255,0.82);
  padding-top: var(--space-xl);
  position: relative;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (min-width: 769px) {
  .footer-grid {
    grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
  }
}

.footer-logo {
  margin-bottom: var(--space-sm);
  width: 56px;
  height: 56px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.65;
  opacity: 0.7;
}

.footer-col h4 {
  font-family: var(--ff-title);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: var(--space-sm);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

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

.footer-col address {
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-col address p { margin-bottom: 0.4rem; }

.footer-col address a {
  color: rgba(255,255,255,0.8);
}

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

.map-wrap {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.map-wrap iframe {
  display: block;
  filter: grayscale(0.35) brightness(0.9);
}

.footer-bottom {
  padding: var(--space-md) 0;
  text-align: center;
}

.footer-bottom p {
  font-family: var(--ff-title);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  opacity: 0.45;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .main-nav, .wave-divider, .hero-scene, .hero-overlay, .hero-wave,
  .carousel-controls, .map-wrap iframe { display: none; }

  body { background: #fff; color: #000; font-size: 11pt; }
  .hero { min-height: auto; }
  .section-title { color: #000; }
  a { color: #000; text-decoration: underline; }
  .flip-card { height: auto; perspective: none; }
  .flip-card-inner { transform-style: flat; }
  .flip-card-front { position: relative; }
  .flip-card-back { position: relative; transform: none; display: block; }
}
