:root {
  --ink: #0a1a0e;
  --muted: #4d5f51;
  --line: #c9d9c9;
  --paper: #f4f8f2;
  --white: #ffffff;
  --green: #019100;
  --green-deep: #006400;
  --green-2: #007a00;
  --green-soft: #e4f5e3;
  --shadow: 0 18px 60px rgba(0, 100, 0, .12);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Noto Sans", Arial, sans-serif;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #019100; outline-offset: 3px; }
.skip-link {
  position: fixed;
  left: 12px;
  top: -48px;
  z-index: 20;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 248, 242, .94);
  border-bottom: 1px solid rgba(0, 90, 0, .08);
  backdrop-filter: blur(18px);
}
.nav-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.brand-logo {
  width: 82px;
  height: 52px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid rgba(1, 145, 0, .08);
  border-radius: var(--radius);
  padding: 2px;
}
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-weight: 800;
}
.brand strong { display: block; font-size: 1.05rem; }
.brand small { display: block; color: var(--muted); font-size: .78rem; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}
.nav-links a {
  color: var(--green-deep);
  font-weight: 650;
  font-size: .94rem;
}
.nav-links a:hover, .nav-links a.active { color: var(--green-2); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
select, input, textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
select { padding: 9px 10px; }
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--green-deep);
  color: var(--green-deep);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 750;
}
.cart-link strong {
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--ink);
  font-size: .8rem;
}
.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 4px auto;
}

.section { padding: 76px 0; }
.shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 32px)); margin: 0 auto; }
.eyebrow {
  color: var(--green-deep);
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
}
h1, h2, h3 { line-height: 1.08; margin: 0 0 16px; letter-spacing: 0; }
h1 { font-size: clamp(2.55rem, 6vw, 5.8rem); max-width: 940px; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 18px; color: var(--muted); }
.lead { font-size: clamp(1.08rem, 2vw, 1.35rem); max-width: 740px; color: var(--muted); }
.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  position: relative;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 90, 0, .94), rgba(0, 90, 0, .74) 45%, rgba(0, 90, 0, .28)),
    url("Gallery/39165083_2146949265571014_3585453043891568640_n.jpg") center / cover;
  z-index: -2;
  transform: scale(1.05);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(transparent, rgba(0, 90, 0, .45));
  z-index: -1;
}
.hero-content {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0 46px;
}
.hero .eyebrow, .hero .btn-primary { color: var(--white); }
.hero p { color: rgba(255,255,255,.82); }
.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
}
.btn-primary { background: var(--green); color: var(--ink); }
.btn-dark { background: var(--green-deep); color: var(--white); }
.btn-light { background: var(--white); color: var(--green-deep); }
.btn-ghost {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.35);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  border-color: var(--green-deep);
  color: var(--green-deep);
}
.btn-primary:hover { background: #16a516; }
.btn-dark:hover, .btn-outline:hover { background: var(--green-2); border-color: var(--green-2); color: var(--white); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.hero-stats {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
}
.stat {
  padding: 22px;
  border-right: 1px solid rgba(255,255,255,.18);
}
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 1.55rem; color: var(--white); }
.stat span { color: rgba(255,255,255,.74); font-size: .92rem; }
.gallery-mosaic {
  display: grid;
  grid-template-columns: 1.1fr .9fr 1fr;
  gap: 12px;
}
.gallery-mosaic img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.gallery-mosaic img:first-child {
  grid-row: span 2;
  aspect-ratio: 1 / 2.04;
}

.band-white { background: var(--white); }
.band-green { background: var(--green-deep); color: var(--white); }
.band-green p, .band-green .lead { color: rgba(255,255,255,.78); }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: 48px;
  align-items: center;
}
.media-panel {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
}
.media-panel img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.panel-caption { padding: 18px; color: var(--muted); }
.grid-3, .grid-4, .course-grid, .service-grid, .news-grid {
  display: grid;
  gap: 18px;
}
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.course-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 30px rgba(0, 100, 0, .06);
}
.band-white .card { background: #fbfaf6; }
.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--green-soft);
  color: var(--green-deep);
  font-weight: 900;
}
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: .82rem;
  font-weight: 750;
}
.price { color: var(--green-deep); font-size: 1.28rem; font-weight: 850; margin: 12px 0; }
.muted { color: var(--muted); }
.filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0;
}
.filters label { display: grid; gap: 6px; color: var(--muted); font-weight: 700; font-size: .9rem; }
.filters select { width: 100%; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
label { display: grid; gap: 7px; color: var(--green-deep); font-weight: 700; font-size: .93rem; }
input, textarea { width: 100%; padding: 12px 13px; }
textarea { min-height: 118px; resize: vertical; }
.full { grid-column: 1 / -1; }
.timeline {
  border-left: 2px solid var(--green);
  padding-left: 24px;
  display: grid;
  gap: 24px;
}
.timeline article { position: relative; }
.timeline article::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 5px var(--paper);
}
.cart-table { display: grid; gap: 12px; }
.cart-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.qty-controls { display: inline-flex; align-items: center; gap: 8px; }
.qty-controls button, .remove-btn {
  min-width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
}
.total-box {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  background: var(--green-deep);
  color: var(--white);
  border-radius: var(--radius);
}
.total-box p { color: rgba(255,255,255,.75); margin: 0; }
.location-stack { display: grid; gap: 16px; }
.map-box {
  min-height: 320px;
  overflow: hidden;
  border-radius: var(--radius);
}
.map-box iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.location-details { padding: 24px; background: var(--green-deep); color: var(--white); border-radius: var(--radius); }
.location-details p, .location-details a { color: rgba(255,255,255,.88); }
.testimonial {
  border-left: 4px solid var(--green);
  padding-left: 18px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(80px);
  opacity: 0;
  min-width: min(420px, calc(100% - 32px));
  padding: 14px 18px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  transition: .24s ease;
  z-index: 30;
  text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.site-footer {
  background: #004d00;
  color: var(--white);
  padding: 52px 0 24px;
}
.site-footer p, .site-footer a, .site-footer small { color: rgba(255,255,255,.72); }
.footer-brand { margin-bottom: 12px; }
.site-footer .brand-logo { background: var(--white); }
.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr .7fr 1fr 1fr;
  gap: 32px;
}
.site-footer h2 { font-size: 1rem; margin-bottom: 12px; }
.site-footer a { display: block; margin: 8px 0; }
.newsletter { display: grid; gap: 12px; align-content: start; }
.newsletter h2 { margin: 0; }
.site-footer .newsletter label { color: rgba(255,255,255,.88); }
.newsletter input, .newsletter .btn { width: 100%; }
.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255,255,255,.6);
  font-size: .9rem;
}

@media (max-width: 900px) {
  .nav-shell { min-height: 68px; flex-wrap: wrap; padding: 12px 0; }
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    order: 4;
    width: 100%;
    margin: 0;
    padding: 12px 0;
    border-top: 1px solid var(--line);
  }
  .nav-links.open { display: grid; gap: 10px; }
  .nav-actions { margin-left: auto; }
  .hero { min-height: auto; }
  .hero-content { padding-top: 96px; }
  .hero-stats, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .grid-3, .course-grid, .service-grid, .news-grid, .footer-grid { grid-template-columns: 1fr; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  h1 { font-size: 2.55rem; }
  .section { padding: 54px 0; }
  .hero-actions .btn, .actions .btn { width: 100%; }
  .hero-stats, .filters, .form-grid { grid-template-columns: 1fr; }
  .gallery-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-mosaic img:first-child { grid-row: auto; aspect-ratio: 1; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .cart-row { grid-template-columns: 1fr; }
  .total-box, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .brand small { display: none; }
}
