:root {
  --green: #1f9a3a;
  --green-dark: #0b6f2a;
  --green-soft: #eaf7ed;
  --text: #1f2a1f;
  --muted: #647064;
  --white: #ffffff;
  --border: #d7eadb;
  --shadow: 0 18px 40px rgba(11, 111, 42, 0.14);
  --radius: 22px;
  --header-height: 82px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; }
img { max-width: 100%; height: auto; }

.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 88px 0; }
.section-soft { background: var(--green-soft); }
.section-green { background: linear-gradient(135deg, var(--green), var(--green-dark)); color: var(--white); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 999;
  background: var(--green-dark);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 10px;
}
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.navbar {
  min-height: var(--header-height);
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; color: var(--green-dark); }
.brand-logo { width: 58px; height: 58px; object-fit: contain; border-radius: 50%; }
.brand-text { white-space: nowrap; }
.nav-menu { display: flex; align-items: center; gap: 14px; list-style: none; margin: 0; padding: 0; }
.nav-menu a { text-decoration: none; font-weight: 650; color: var(--text); padding: 9px 10px; border-radius: 999px; }
.nav-menu a:hover, .nav-menu a:focus { color: var(--green-dark); background: var(--green-soft); }
.nav-menu .nav-cta { background: var(--green); color: var(--white); padding-inline: 16px; }
.nav-menu .nav-cta:hover, .nav-menu .nav-cta:focus { background: var(--green-dark); color: var(--white); }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--green-dark); margin: 5px 0; border-radius: 999px; }

.hero { min-height: calc(100vh - var(--header-height)); display: flex; align-items: center; background: radial-gradient(circle at top right, var(--green-soft), transparent 42%), linear-gradient(180deg, #ffffff, #f9fdf9); }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--green-dark); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 800; font-size: 0.86rem; }
.eyebrow.light { color: #dff5e5; }
h1, h2, h3 { line-height: 1.15; margin-top: 0; }
h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); color: var(--green-dark); margin-bottom: 18px; }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); margin-bottom: 18px; }
h3 { font-size: 1.2rem; }
.lead { font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 680px; color: #334033; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.button { display: inline-flex; justify-content: center; align-items: center; border-radius: 999px; padding: 13px 20px; text-decoration: none; border: 2px solid transparent; font-weight: 800; cursor: pointer; }
.button-primary { background: var(--green); color: var(--white); }
.button-primary:hover { background: var(--green-dark); }
.button-secondary { border-color: var(--green); color: var(--green-dark); background: var(--white); }
.button-secondary:hover { background: var(--green-soft); }
.button.inverted { background: var(--white); color: var(--green-dark); width: 100%; }
.hero-card { background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow); border-radius: 34px; padding: 30px; text-align: center; }
.hero-logo { width: min(290px, 90%); border-radius: 50%; }
.time-box { margin-top: 22px; background: var(--green-soft); color: var(--green-dark); border-radius: var(--radius); padding: 18px; display: grid; gap: 2px; }
.time-label { font-weight: 700; }
.time-box strong { font-size: 1.7rem; }

.two-column { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: start; }
.info-cards, .board-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.info-card, .board-card, .manual-events, .calendar-placeholder, .contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 10px 26px rgba(11, 111, 42, 0.08);
}
.info-card h3 { color: var(--green-dark); margin-bottom: 8px; }
.info-card p, .board-card p { margin-bottom: 0; }

.training-grid, .contact-grid { display: grid; grid-template-columns: 1fr 0.9fr; gap: 44px; align-items: center; }
.large-text { font-size: 1.35rem; }
.training-card { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.35); border-radius: 30px; padding: 34px; display: grid; gap: 8px; text-align: center; }
.training-card .weekday { font-size: 1.2rem; font-weight: 800; }
.training-card strong { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; }
.training-card .muted { color: #dff5e5; }

.section-heading { max-width: 760px; margin-bottom: 30px; }
.calendar-wrapper iframe { width: 100%; min-height: 520px; border: 0; border-radius: var(--radius); }
.calendar-placeholder { border-style: dashed; text-align: center; background: #fbfffb; }
.calendar-placeholder code { display: inline-block; max-width: 100%; overflow-wrap: anywhere; background: var(--green-soft); color: var(--green-dark); padding: 10px 12px; border-radius: 12px; }
.manual-events { margin-top: 22px; }
.manual-events ul { margin: 0; padding-left: 20px; }
.manual-events li { margin: 8px 0; }
.hint { color: var(--muted); margin-bottom: 0; }
.board-card span { color: var(--muted); display: block; margin-bottom: 8px; }
.board-card strong { color: var(--green-dark); font-size: 1.1rem; }
.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.link-card {
  display: grid;
  grid-template-columns: 78px 1fr;
  align-items: center;
  gap: 18px;

  min-height: 112px;
  padding: 18px 20px;

  background: var(--white);
  border: 1px solid var(--green);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(11, 111, 42, 0.08);

  color: var(--text);
  text-decoration: none;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease;
}

.link-card:hover,
.link-card:focus {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--green-dark);
  background: #fbfffb;
}

.link-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;

  padding: 8px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
}

.link-card strong {
  display: block;
  color: var(--green-dark);
  font-size: 1.05rem;
  line-height: 1.25;
}

.link-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.95rem;
}

.link-card-featured {
  background: var(--green-soft);
  border-width: 2px;
}

.contact-note { color: #dff5e5; }
.contact-form { color: var(--text); display: grid; gap: 10px; }
.contact-form label { font-weight: 750; }
.contact-form input, .contact-form textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; font: inherit;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid rgba(31,154,58,0.22); border-color: var(--green); }
.checkbox-label { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 10px; font-weight: 500 !important; }
.checkbox-label input { width: auto; margin-top: 5px; }

.site-footer { background: #0d2514; color: var(--white); padding: 32px 0; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer p { margin: 4px 0 0; color: #cce7d2; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a { color: #dff5e5; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute;
    top: var(--header-height);
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 14px;
    box-shadow: var(--shadow);
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { display: block; }
  .hero-grid, .two-column, .training-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .brand-text { font-size: 0.95rem; }
  .brand-logo { width: 48px; height: 48px; }
  .info-cards, .board-grid, .link-grid { grid-template-columns: 1fr; }
  .hero-card { padding: 22px; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}
	  
	  .hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}
	  

	  
.form-message {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 700;
  background: #ffffff;
  color: var(--green-dark);
}

.form-message.error {
  color: #8a1f11;
}

