:root {
  --primary: #6b850c;
  --bg-dark: #1e2609;
  --bg-light: #f3f6e7;
  --text-dark: #182004;
  --text-light: #f9fbea;
  --accent: #dce8b1;
  --border: #c5d287;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.65;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffffee;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 700;
}

.brand img {
  width: 42px;
  height: 42px;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1rem;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
}

nav a:hover,
nav a:focus-visible {
  background: var(--accent);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  padding: 0.4rem 0.7rem;
}

.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 78vh;
}

.hero-content {
  background: linear-gradient(140deg, var(--bg-dark), #2c3a0d);
  color: var(--text-light);
  padding: 3rem clamp(1rem, 3vw, 3.5rem);
  display: grid;
  align-content: center;
  gap: 1rem;
}

.hero-image {
  background: url("../image/picture.jpg") center/cover no-repeat;
  min-height: 340px;
}

.btn-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

section {
  padding: 3rem 0;
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.section-contrast {
  background: #ffffff;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
}

.section-dark .card {
  background: #324015;
  color: #fff;
  border-color: #5b741a;
}

.icon {
  font-size: 2rem;
  color: #d7f180;
}

.timeline {
  border-left: 3px solid var(--primary);
  padding-left: 1rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
}

form {
  display: grid;
  gap: 0.8rem;
}

input,
textarea,
button,
select {
  font: inherit;
}

input,
textarea {
  width: 100%;
  border: 1px solid #8da146;
  border-radius: 12px;
  padding: 0.7rem;
}

button[type="submit"] {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.2rem;
  cursor: pointer;
}

footer {
  background: #121803;
  color: var(--text-light);
  padding: 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: #0d1202;
  color: #fff;
  border-radius: 16px;
  border: 1px solid #6f8b13;
  padding: 1rem;
  z-index: 100;
  display: none;
}

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.8rem;
}

.cookie-actions button {
  border: 1px solid #9fbb3d;
  background: #1f2a08;
  color: #fff;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: #00000099;
  display: none;
  place-items: center;
  z-index: 120;
}

.cookie-modal-box {
  width: min(640px, 92%);
  background: #fff;
  border-radius: 16px;
  padding: 1rem;
}

.cookie-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.6rem 0;
}

.page-hero {
  background: linear-gradient(130deg, #e9f2ca, #d8e5a8);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}

.animated-section {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animated-section.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.wave-panel {
  background: linear-gradient(145deg, #f9fbe9, #e5efbf);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem;
  color: #000;
}

.creative-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.creative-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: #000;
}

.creative-list i {
  font-size: 1.4rem;
  color: var(--primary);
}

.instructor-block {
  border-radius: 18px;
  padding: 1.2rem;
  background: #2c3a0d;
  color: #fff;
  border: 1px solid #5f7b16;
  box-shadow: 0 14px 24px #0f140447;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.step-card {
  border: 1px dashed #99b337;
  border-radius: 14px;
  padding: 0.85rem;
  background: #f6fadf;
}

.step-card strong {
  display: inline-block;
  margin-bottom: 0.45rem;
}

.feature-overlap {
  position: relative;
  padding: 3.5rem 0 2rem;
}

.feature-overlap::before {
  content: "";
  position: absolute;
  width: min(340px, 60vw);
  height: min(250px, 44vw);
  right: 8%;
  top: 1.8rem;
  border-radius: 30px;
  background: #f3b7bf;
  z-index: 0;
}

.feature-overlap-wrap {
  position: relative;
  z-index: 1;
}

.feature-image-shell {
  max-width: 760px;
  margin-left: auto;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 30px #1111111f;
}

.feature-image-shell img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.feature-card {
  max-width: 540px;
  margin-top: -105px;
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 26px;
  padding: 1.2rem 1.3rem;
  box-shadow: 0 16px 28px #1111111c;
}

.feature-card .credit {
  font-size: 0.88rem;
  color: #485020;
}

.beginner-trio {
  padding: 2.4rem 0;
}

.trio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.trio-card {
  border-radius: 22px;
  padding: 1.2rem 1rem;
  color: #fff;
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 0.6rem;
}

.trio-card i {
  font-size: 2rem;
  color: #ffe7eb;
}

.trio-card h3 {
  margin: 0;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.trio-card p {
  margin: 0;
}

.trio-card.one {
  background: #3f5f0e;
}

.trio-card.two {
  background: #6b850c;
}

.trio-card.three {
  background: #8faa2a;
}

iframe {
  width: 100%;
  max-width: 100%;
  border: 0;
  border-radius: 14px;
}

@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trio-grid {
    grid-template-columns: 1fr;
  }

  .feature-overlap::before {
    right: 4%;
  }

  .feature-card {
    margin-top: -60px;
  }
}

@media (max-width: 680px) {
  .menu-toggle {
    display: inline-block;
  }

  nav {
    display: none;
    width: 100%;
  }

  nav.open {
    display: block;
  }

  nav ul {
    flex-direction: column;
    padding: 0.5rem 0 0.9rem;
  }

  .topbar {
    flex-wrap: wrap;
  }

  .grid-2,
  .grid-3,
  .footer-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .feature-overlap::before {
    width: 170px;
    height: 130px;
    top: 1.2rem;
    right: 0.6rem;
  }

  .feature-card {
    margin-top: 0.8rem;
    max-width: 100%;
  }
}

@media (max-width: 320px) {
  body {
    font-size: 14px;
  }

  .btn,
  .cookie-actions button {
    width: 100%;
    text-align: center;
  }

  .hero-content {
    padding: 1rem;
  }
}
