/* ── Reset & Variables ─────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green:        #22c55e;
  --green-mid:    #16a34a;
  --green-dark:   #15803d;
  --green-deep:   #052e16;
  --green-light:  #dcfce7;
  --white:        #ffffff;
  --off:          #f0fdf4;
  --text:         #111827;
  --muted:        #6b7280;
  --border:       #e2e8f0;
  --shadow:       0 4px 24px rgba(0,0,0,.08);
  --shadow-green: 0 8px 32px rgba(34,197,94,.18);
  --radius:       12px;
  --radius-lg:    18px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
img  { max-width: 100%; display: block; }
a    { color: var(--green-dark); text-decoration: none; }
a:hover { color: var(--green); }

/* ── Typography ────────────────────────────────────── */
h1,h2,h3,h4 { font-family: 'Space Grotesk', sans-serif; line-height: 1.2; letter-spacing: -0.3px; }

/* ── Layout ────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 5rem 0; }
.section--white { background: var(--white); }
.section--off   { background: var(--off); }

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .8rem 2rem;
  border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s;
  text-align: center;
}
.btn--primary  { background: var(--green);      color: #fff; border-color: var(--green); }
.btn--primary:hover  { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn--outline  { background: rgba(255,255,255,.55); color: var(--green-dark); border-color: var(--green); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--outline:hover  { background: rgba(255,255,255,.80); }
.btn--white    { background: #fff; color: var(--green-dark); box-shadow: 0 2px 12px rgba(0,0,0,.1); }
.btn--white:hover    { background: var(--green-light); transform: translateY(-1px); box-shadow: 0 4px 18px rgba(0,0,0,.14); }
.btn--full     { width: 100%; display: block; }

/* ── Navbar ────────────────────────────────────────── */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(34,197,94,.12); box-shadow: 0 1px 16px rgba(0,0,0,.06); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 2rem; }
.logo { font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--green-dark); letter-spacing: -0.5px; display: flex; align-items: center; gap: .5rem; }
.logo span { color: var(--green); }
.logo-img { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; border-radius: 50%; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a { font-size: .88rem; font-weight: 600; color: var(--muted); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--green-dark); }
.btn-nav-cta { background: var(--green); color: #fff; padding: .5rem 1.2rem; border-radius: 8px; font-weight: 700; font-size: .88rem; white-space: nowrap; }
.btn-nav-cta:hover { background: var(--green-dark); color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
main { padding-top: 64px; }

/* ── Flash messages ────────────────────────────────── */
.flash { padding: .9rem 2rem; font-weight: 600; font-size: .9rem; text-align: center; }
.flash--success { background: #dcfce7; color: #166534; }
.flash--error   { background: #fee2e2; color: #991b1b; }

/* ── Section labels ────────────────────────────────── */
.section-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2.5px; color: var(--green); margin-bottom: .5rem; }
.section-title { font-size: 2.2rem; font-weight: 700; color: var(--green-dark); margin-bottom: .75rem; }
.section-sub   { color: var(--muted); font-size: .95rem; max-width: 580px; margin-bottom: 3rem; }

/* ── Hero: CSS custom property color animation ─────── */
@property --hc1 { syntax: '<color>'; initial-value: #9db89d; inherits: false; }
@property --hc2 { syntax: '<color>'; initial-value: #afc8b0; inherits: false; }
@property --hc3 { syntax: '<color>'; initial-value: #c4d8c4; inherits: false; }
@property --hc4 { syntax: '<color>'; initial-value: #d8eed8; inherits: false; }

@keyframes heroColors {
  0%, 100% { --hc1: #9db89d; --hc2: #afc8b0; --hc3: #c4d8c4; --hc4: #d8eed8; }
  50%       { --hc1: #89b0ba; --hc2: #9ec5cd; --hc3: #b6d4dc; --hc4: #cce8ee; }
}
@keyframes orbBreathe {
  0%, 100% { opacity: .55; transform: scale(1); }
  50%       { opacity: .82; transform: scale(1.10); }
}
@keyframes orbBreatheSm {
  0%, 100% { opacity: .28; transform: scale(1); }
  50%       { opacity: .48; transform: scale(1.14); }
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .50; transform: scale(.72); }
}

/* ── Hero ──────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 2rem 5rem;
  text-align: center;
  background: linear-gradient(140deg, var(--hc1) 0%, var(--hc2) 22%, var(--hc3) 55%, var(--hc4) 100%);
  animation: heroColors 5s ease-in-out infinite;
}
.hero::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.62) 0%, rgba(215,242,220,.36) 28%, rgba(170,218,178,.10) 54%, transparent 70%);
  top: -180px;
  right: -150px;
  pointer-events: none;
  animation: orbBreathe 8s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.40) 0%, rgba(192,232,236,.20) 36%, transparent 68%);
  bottom: -130px;
  left: -100px;
  pointer-events: none;
  animation: orbBreatheSm 12s ease-in-out infinite;
}
.hero-inner { max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }

/* Badge row */
.hero-badges { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .42rem 1.05rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .4px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .2s;
}
.hero-badge:hover { transform: translateY(-1px); }
.hero-badge--dot {
  background: rgba(255,255,255,.58);
  color: var(--green-dark);
  border: 1px solid rgba(29,158,117,.30);
}
.hero-badge--dot::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
  animation: dotPulse 2.6s ease-in-out infinite;
}
.hero-badge--outline {
  background: rgba(255,255,255,.28);
  color: var(--green-dark);
  border: 1.5px solid rgba(29,158,117,.44);
}

.hero-title { font-size: 3.6rem; font-weight: 700; color: #0d2016; line-height: 1.1; margin-bottom: 1rem; letter-spacing: -1.5px; }
.hero-title span { color: var(--green-dark); }
.hero-sub { font-size: 1.05rem; color: #3d5245; margin: 0 auto 2.5rem; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Stats bar ─────────────────────────────────────── */
.stats-bar { background: var(--green-dark); color: #fff; padding: 2.5rem 2rem; display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; text-align: center; }
.stat-n { font-family: 'Space Grotesk', sans-serif; font-size: 2.2rem; font-weight: 700; letter-spacing: -1px; }
.stat-l { font-size: .82rem; opacity: .75; margin-top: .25rem; font-weight: 500; }

/* ── Tracks ────────────────────────────────────────── */
.tracks-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.track-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; position: relative; overflow: hidden; transition: all .3s; }
.track-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--green), var(--green-dark)); }
.track-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-green); border-color: rgba(34,197,94,.35); }
.track-num  { font-size: .72rem; font-weight: 700; color: var(--green); letter-spacing: 2px; text-transform: uppercase; margin-bottom: .75rem; }
.track-icon { width: 48px; height: 48px; background: var(--green-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1rem; }
.track-title { font-size: 1.15rem; font-weight: 600; color: var(--green-dark); margin-bottom: .4rem; }
.track-desc  { font-size: .85rem; color: var(--green); font-weight: 600; margin-bottom: .75rem; }
.track-list  { list-style: none; display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.track-list li { font-size: .83rem; color: var(--muted); padding-left: 1rem; position: relative; }
.track-list li::before { content: '→'; position: absolute; left: 0; color: var(--green); font-size: .75rem; }
.track-link { font-size: .85rem; font-weight: 700; color: var(--green); }

/* ── Why cards ─────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
.why-card  { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; transition: all .25s; }
.why-card:hover { border-color: rgba(34,197,94,.4); box-shadow: 0 6px 24px rgba(34,197,94,.14); transform: translateY(-3px); }
.why-icon  { width: 40px; height: 40px; background: var(--green-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: .9rem; }
.why-title { font-size: .95rem; font-weight: 700; color: var(--green-dark); margin-bottom: .35rem; }
.why-text  { font-size: .83rem; color: var(--muted); line-height: 1.6; }

/* ── CTA section ───────────────────────────────────── */
.cta-section { background: linear-gradient(135deg, #22c55e 0%, #16a34a 48%, #15803d 100%); padding: 5rem 2rem; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 25% 50%, rgba(255,255,255,.10) 0%, transparent 65%); pointer-events: none; }
.cta-section .container { position: relative; }
.cta-title { font-size: 2.4rem; font-weight: 700; color: #fff; margin-bottom: .75rem; letter-spacing: -0.5px; }
.cta-sub   { color: rgba(255,255,255,.80); font-size: 1.05rem; margin-bottom: 2.5rem; }

/* ── Page hero ─────────────────────────────────────── */
.page-hero { background: linear-gradient(135deg, var(--green-light) 0%, #f0fdf4 55%, #fff 100%); padding: 4rem 2rem; }
.page-hero h1 { font-size: 2.6rem; font-weight: 700; color: var(--green-dark); margin-top: .4rem; letter-spacing: -1px; }
.page-hero p  { color: var(--muted); margin-top: .5rem; font-size: .95rem; }

/* ── About ─────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 4rem; }
.about-text h2 { font-size: 2rem; color: var(--green-dark); margin-bottom: 1rem; }
.about-text p  { color: var(--muted); line-height: 1.8; margin-bottom: 1rem; font-size: .95rem; }
.about-highlight { font-weight: 700; color: var(--green-dark) !important; }
.about-card { background: var(--green-light); border-radius: 20px; padding: 2.5rem; border: 1px solid rgba(29,158,117,.2); }
.about-card-label { font-size: .72rem; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1.2rem; }
.about-checklist { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.about-checklist li { display: flex; gap: .75rem; align-items: flex-start; font-size: .9rem; color: var(--green-dark); }
.about-checklist li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.model-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; margin-top: 2rem; }
.model-card { background: var(--white); border-radius: var(--radius); padding: 1.5rem; border-left: 3px solid var(--green); }
.model-num  { font-size: .72rem; color: var(--green); font-weight: 700; letter-spacing: 1px; margin-bottom: .4rem; }
.model-card h4 { font-size: .95rem; font-weight: 700; color: var(--green-dark); margin-bottom: .4rem; }
.model-card p  { font-size: .83rem; color: var(--muted); line-height: 1.6; }

/* ── Services ──────────────────────────────────────── */
.service-block { background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 2.5rem; margin-bottom: 2rem; }
.service-block-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.service-block-num { width: 48px; height: 48px; background: var(--green); color: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; flex-shrink: 0; font-family: 'Space Grotesk', sans-serif; }
.service-block-title { font-size: 1.4rem; font-weight: 700; color: var(--green-dark); }
.service-block-sub   { font-size: .85rem; color: var(--green); font-weight: 600; margin-top: .2rem; }
.service-items-grid  { display: grid; grid-template-columns: repeat(auto-fill,minmax(210px,1fr)); gap: 1rem; }
.service-item { background: var(--off); border-radius: 10px; padding: 1.2rem; border: 1px solid var(--border); }
.service-item-icon  { font-size: 1.5rem; margin-bottom: .5rem; }
.service-item-title { font-weight: 700; font-size: .9rem; color: var(--green-dark); margin-bottom: .35rem; }
.service-item-desc  { font-size: .8rem; color: var(--muted); line-height: 1.55; }

/* ── Products ──────────────────────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.product-card  { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all .3s; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-green); border-color: rgba(34,197,94,.35); }
.product-img   { position: relative; width: 100%; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--green-light), rgba(29,158,117,.25)); display: flex; align-items: center; justify-content: center; font-size: 3rem; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform .5s ease; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-body  { padding: 1.5rem; }
.product-badge { display: inline-block; background: var(--green-light); color: var(--green-dark); padding: .3rem .8rem; border-radius: 999px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: .8rem; }
.product-name  { font-size: 1.2rem; font-weight: 700; color: var(--green-dark); margin-bottom: .5rem; }
.product-desc  { font-size: .83rem; color: var(--muted); line-height: 1.65; margin-bottom: 1rem; }
.product-features { list-style: none; display: flex; flex-direction: column; gap: .35rem; }
.product-features li { font-size: .8rem; color: var(--muted); display: flex; align-items: center; gap: .5rem; }
.product-features li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

/* ── Contact ───────────────────────────────────────── */
.contact-grid      { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.contact-form-wrap h2 { font-size: 1.3rem; color: var(--green-dark); margin-bottom: 1.5rem; }
.contact-form .form-group { margin-bottom: 1.2rem; }
.contact-form label { display: block; font-size: .78rem; font-weight: 700; color: var(--green-dark); text-transform: uppercase; letter-spacing: .3px; margin-bottom: .4rem; }
.contact-form input,
.contact-form textarea,
.contact-form select { width: 100%; padding: .72rem 1rem; border: 1px solid var(--border); border-radius: 8px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: .9rem; color: var(--text); transition: border .2s, box-shadow .2s; }
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(34,197,94,.15); }
.contact-form textarea { height: 130px; resize: vertical; }
.contact-form input.is-invalid,
.contact-form textarea.is-invalid,
.contact-form select.is-invalid { border-color: #f87171; }
.field-error { display: block; font-size: .78rem; color: #dc2626; margin-top: .3rem; }
.contact-info h2 { font-size: 1.3rem; color: var(--green-dark); margin-bottom: .5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.2rem; }
.contact-icon { width: 44px; height: 44px; background: var(--green-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.contact-item h4 { font-weight: 700; color: var(--green-dark); font-size: .9rem; margin-bottom: .15rem; }
.contact-item p, .contact-item a { font-size: .88rem; color: var(--muted); }

/* ── Footer ────────────────────────────────────────── */
.site-footer { background: var(--green-deep); color: #fff; padding: 3.5rem 2rem 1.5rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-logo { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 700; margin-bottom: .4rem; display: flex; align-items: center; gap: .65rem; }
.footer-logo-img { width: 44px; object-fit: contain; flex-shrink: 0; }
.footer-brand p { font-size: .85rem; opacity: .65; }
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a { color: rgba(255,255,255,.7); font-size: .88rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-contact p { font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: .4rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.5rem; text-align: center; font-size: .82rem; opacity: .5; max-width: 1200px; margin: 0 auto; }

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 900px) {
  .tracks-grid, .why-grid, .products-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .stats-bar { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .hero-title { font-size: 2.4rem; }
  .tracks-grid, .why-grid, .products-grid, .model-grid { grid-template-columns: 1fr; }
  .nav-links, .btn-nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 1rem 2rem; gap: .75rem; }
}
