/* palette: forest-amber */
:root {
  --primary-color: #1B5E20;
  --secondary-color: #2E7D32;
  --accent-color: #E8A020;
  --background-color: #F2FAF2;
  --dark-color: #111111;
  --text-color: #333333;
  --border-color: rgba(0,0,0,0.12);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.16);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --main-font: 'Merriweather', Georgia, serif;
  --alt-font: 'Open Sans', Arial, sans-serif;
}

/* BASE RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--alt-font);
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.7;
}

body {
  overflow-x: hidden;
  width: 100%;
}

/* TYPOGRAPHY SCALE */
h1, h2, h3, h4 {
  font-family: var(--main-font);
  color: var(--dark-color);
  line-height: 1.25;
}

h1 {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 900;
}

h2 {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 12px;
}

h3 {
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 700;
  margin-bottom: 8px;
}

p {
  font-size: clamp(14px, 1.6vw, 17px);
  color: var(--text-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* PRESET STARTUP-GRADIENT STRICT RULES */
section {
  padding: 56px 16px;
  margin: 0;
}

@media (min-width: 1024px) {
  section {
    padding: 64px 24px;
  }
}

h1 .grad, .hero h1 span {
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-primary {
  box-shadow: 0 0 30px color-mix(in srgb, var(--accent-color) 50%, transparent);
}

.icon-bg {
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  border-radius: 12px;
  padding: 12px;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  min-height: 44px;
  border: none;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--accent-color);
  color: #ffffff;
}

.btn-outline-white {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--primary-color);
}

/* CARDS GENERAL */
.card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card:nth-child(1) { animation-delay: 0s; }
.card:nth-child(2) { animation-delay: 0.12s; }
.card:nth-child(3) { animation-delay: 0.24s; }
.card:nth-child(4) { animation-delay: 0.36s; }

/* HEADER & MOBILE NAV (CSS-ONLY) */
header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  max-height: 42px;
  width: auto;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.burger-btn .bar {
  height: 3px;
  width: 100%;
  background-color: var(--dark-color);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

#menu-toggle:checked ~ .burger-btn .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
#menu-toggle:checked ~ .burger-btn .bar:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked ~ .burger-btn .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  z-index: 999;
}

#menu-toggle:checked ~ .site-nav {
  display: block;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-nav a {
  font-weight: 600;
  color: var(--dark-color);
}

.site-nav a:hover {
  color: var(--primary-color);
}

@media (min-width: 768px) {
  .burger-btn {
    display: none;
  }
  .site-nav {
    display: flex !important;
    position: static;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .site-nav ul {
    flex-direction: row;
    gap: 28px;
  }
}

/* SECTION REVEAL ANIMATION */
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  animation: reveal-up linear both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}

/* HERO (EDITORIAL-BLEED) */
.hero-editorial {
  min-height: 81vh;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 64px;
  padding-bottom: 64px;
}

.hero-container {
  max-width: 1100px;
  margin: 0 auto;
}

.hero-editorial h1 {
  font-size: clamp(2.2rem, 9vw, 8rem);
  line-height: 0.95;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.editorial-divider {
  border-top: 2px solid var(--dark-color);
  margin-bottom: 32px;
  width: 100%;
}

.hero-columns {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.hero-columns p {
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.8;
}

@media (min-width: 768px) {
  .hero-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.hero-cta-wrap {
  margin-top: 16px;
}

.hero-cta-wrap .btn {
  font-size: 0.95rem;
}

/* SECTION HEADERS */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px auto;
}

/* SECTION 2: HOW IT WORKS */
.section-how {
  min-height: 420px;
  background: var(--background-color);
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .how-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .how-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.how-step {
  position: relative;
}

.step-number {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--accent-color);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}

.feature-media-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 32px;
  box-shadow: var(--shadow-md);
}

.feature-media-box img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.media-overlay-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  max-width: 480px;
}

/* SECTION 3: TIMELINE */
.section-timeline {
  min-height: 480px;
  background: #ffffff;
}

.timeline-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 3px;
  background: var(--accent-color);
}

@media (min-width: 768px) {
  .timeline-line {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
  margin-left: 48px;
}

@media (min-width: 768px) {
  .timeline-item {
    margin-left: 0;
    width: 45%;
  }
  .timeline-item:nth-child(even) {
    margin-left: auto;
  }
}

.timeline-marker {
  position: absolute;
  top: 20px;
  left: -48px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-color);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  z-index: 2;
}

@media (min-width: 768px) {
  .timeline-item:nth-child(odd) .timeline-marker {
    right: -58px;
    left: auto;
  }
  .timeline-item:nth-child(even) .timeline-marker {
    left: -58px;
  }
}

.timeline-step-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary-color);
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.timeline-image-banner {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.timeline-image-banner img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

/* SECTION 4: PROGRESS BARS */
.section-progress {
  min-height: 380px;
  background: var(--background-color);
}

.progress-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

@property --bar {
  syntax: '<integer>';
  initial-value: 0;
  inherits: false;
}

.bar-fill {
  --pct: 78;
  width: calc(var(--bar) * 1%);
  animation: fill-bar 1.5s ease-out forwards;
  animation-timeline: view();
  animation-range: entry 0% entry 50%;
  background: var(--accent-color);
  height: 12px;
  border-radius: 999px;
}

@keyframes fill-bar {
  from { --bar: 0; }
  to { --bar: var(--pct); }
}

.bar-track {
  background: var(--border-color);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.95rem;
}

.progress-pct {
  color: var(--primary-color);
  font-weight: 700;
}

/* SECTION 5: DENSE ICON GRID */
.section-dense {
  min-height: 280px;
  background: #ffffff;
}

.dense-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 640px) {
  .dense-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.dense-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px;
  background: var(--background-color);
  border-radius: var(--radius-sm);
  gap: 12px;
}

.dense-item .icon-bg {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
}

.dense-item span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark-color);
}

/* SECTION 6: CTA BANNER */
.section-cta {
  min-height: 200px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #ffffff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-banner-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-banner-inner h2 {
  color: #ffffff;
}

.cta-banner-inner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

/* SECTION 7: CONTACT + FAQ */
.section-contact-faq {
  background: var(--background-color);
}

.contact-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

@media (min-width: 1024px) {
  .contact-faq-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-item i {
  font-size: 1.25rem;
  color: var(--accent-color);
  margin-top: 4px;
}

.contact-form-block {
  background: #ffffff;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-group input {
  margin-top: 4px;
}

.checkbox-group label {
  font-size: 0.8rem;
  font-weight: normal;
}

.faq-container {
  margin-top: 48px;
}

.faq-container h2 {
  text-align: center;
  margin-bottom: 32px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  box-shadow: none;
  border: 1px solid var(--border-color);
}

.faq-item h3 {
  color: var(--primary-color);
}

/* FOOTER */
footer {
  background: var(--dark-color);
  color: #F0F0F0;
  padding: 48px 24px 32px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

footer img[alt="logo"] {
  filter: brightness(0) invert(1);
  max-height: 36px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-size: 0.88rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}