/*
Theme Name: InnovaTree
Theme URI: https://innovatree.com
Author: DIY Trees
Author URI: https://diytrees.com
Description: Official homepage theme for InnovaTree.com — fast-growing hybrid poplar trees by University of Minnesota NRRI, available from DIY Trees.
Version: 1.0
License: GNU General Public License v2 or later
Tags: one-page, green, nature, ecommerce
*/

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;600;700;900&family=Questrial&display=swap');

/* ============================================================
   CSS RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark:   #183219;
  --green-mid:    #609159;
  --green-light:  #a8c97f;
  --green-pale:   #eef5e8;
  --cream:        #f7f4ee;
  --white:        #ffffff;
  --text-dark:    #1a2e1a;
  --text-body:    #3d4f3d;
  --text-muted:   #6b7c6b;
  --font-heading: 'Archivo', sans-serif;
  --font-body:    'Questrial', sans-serif;
  --radius:       6px;
  --shadow:       0 4px 24px rgba(24,50,25,0.10);
  --shadow-lg:    0 12px 48px rgba(24,50,25,0.16);
  --transition:   0.25s ease;
  --max-width:    1140px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-mid); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-dark); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.15;
  font-weight: 700;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  padding: 15px 36px;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  text-align: center;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--green-mid);
  color: var(--white);
  border-color: var(--green-mid);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--green-dark);
}
.btn-dark {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}
.btn-dark:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 48px; font-size: 17px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--green-dark);
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  height: 70px;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.5px;
}
.nav-logo span { color: var(--green-light); }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links .nav-cta a {
  background: var(--green-mid);
  color: var(--white);
  padding: 8px 20px;
  border-radius: var(--radius);
}
.nav-links .nav-cta a:hover { background: var(--green-light); color: var(--green-dark); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, #2a5c2a 60%, var(--green-mid) 100%);
  color: var(--white);
  padding: 100px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: rgba(168,201,127,0.25);
  border: 1px solid var(--green-light);
  color: var(--green-light);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}
#hero h1 {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.05;
}
#hero h1 span { color: var(--green-light); }
.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(17px, 2vw, 21px);
  color: rgba(255,255,255,0.82);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.65;
}
.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-image-placeholder {
  margin: 56px auto 0;
  max-width: 860px;
  height: 420px;
  background: rgba(255,255,255,0.06);
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-heading);
  font-size: 15px;
  letter-spacing: 1px;
}

/* ============================================================
   STATS BAR
   ============================================================ */
#stats-bar {
  background: var(--green-mid);
  padding: 28px 24px;
}
.stats-inner {
  display: flex;
  justify-content: space-around;
  max-width: var(--max-width);
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 20px;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin-top: 4px;
}

/* ============================================================
   SECTION STYLES
   ============================================================ */
section { padding: 80px 24px; }
.section-eyebrow {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  margin-bottom: 16px;
}
.section-lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ============================================================
   ABOUT / TWO-COLUMN SECTION
   ============================================================ */
#about {
  background: var(--cream);
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.col-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--green-pale);
  border: 2px dashed var(--green-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 13px;
  letter-spacing: 1px;
}
.col-text p {
  color: var(--text-body);
  margin-bottom: 20px;
  font-size: 16.5px;
  line-height: 1.75;
}
.uofm-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--green-light);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-top: 8px;
}
.uofm-credit::before {
  content: '🎓';
  font-size: 16px;
}

/* ============================================================
   FEATURES GRID
   ============================================================ */
#features {
  background: var(--white);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.feature-card {
  background: var(--cream);
  border-radius: 12px;
  padding: 36px 28px;
  border-left: 4px solid var(--green-mid);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 700;
}
.feature-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   TREE SPECS
   ============================================================ */
#specs {
  background: var(--green-dark);
  color: var(--white);
}
#specs .section-eyebrow { color: var(--green-light); }
#specs .section-title { color: var(--white); }
#specs .section-lead { color: rgba(255,255,255,0.72); }
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.spec-item {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.spec-icon { font-size: 28px; flex-shrink: 0; margin-top: 2px; }
.spec-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 4px;
}
.spec-value {
  font-size: 16px;
  color: rgba(255,255,255,0.90);
  line-height: 1.5;
}

/* ============================================================
   USES SECTION
   ============================================================ */
#uses {
  background: var(--cream);
}
.uses-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
}
.uses-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.uses-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  color: var(--text-body);
  background: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.uses-list li::before {
  content: '🌿';
  font-size: 18px;
  flex-shrink: 0;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
#faq {
  background: var(--white);
}
.faq-inner {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid #e0ebd8;
  padding: 24px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
}
.faq-question::after {
  content: '+';
  font-size: 22px;
  color: var(--green-mid);
  flex-shrink: 0;
  font-weight: 400;
  transition: transform var(--transition);
}
details[open] .faq-question::after {
  transform: rotate(45deg);
}
.faq-answer {
  padding-top: 14px;
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ============================================================
   KIT SECTION
   ============================================================ */
#kit {
  background: var(--green-pale);
}
.kit-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}
.kit-contents {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0 32px;
}
.kit-contents li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15.5px;
  color: var(--text-body);
}
.kit-contents li::before {
  content: '✓';
  color: var(--green-mid);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
.price-block {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.price-option {
  background: var(--white);
  border: 2px solid var(--green-light);
  border-radius: var(--radius);
  padding: 14px 20px;
  text-align: center;
  min-width: 110px;
}
.price-option.featured { border-color: var(--green-mid); background: var(--green-pale); }
.price-qty {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.price-amount {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  color: var(--green-dark);
}
.price-per {
  font-size: 12px;
  color: var(--text-muted);
}
.guarantee-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--green-light);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-body);
}
.guarantee-badge::before { content: '🛡️'; font-size: 20px; }

/* ============================================================
   TESTIMONIAL / QUOTE
   ============================================================ */
#quote {
  background: var(--green-mid);
  padding: 72px 24px;
  text-align: center;
}
.quote-text {
  font-family: var(--font-heading);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--white);
  max-width: 780px;
  margin: 0 auto 20px;
  line-height: 1.45;
  font-style: italic;
}
.quote-attribution {
  font-size: 14px;
  color: rgba(255,255,255,0.80);
  font-style: normal;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
#cta-banner {
  background: linear-gradient(135deg, var(--green-dark), #2c5c2c);
  padding: 80px 24px;
  text-align: center;
}
#cta-banner h2 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}
#cta-banner p {
  font-size: 18px;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: #0f1f0f;
  color: rgba(255,255,255,0.65);
  padding: 48px 24px 28px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 10px;
}
.footer-brand-name span { color: var(--green-light); }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 300px; }
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 14px; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
}
.footer-bottom a { color: rgba(255,255,255,0.45); }
.trademark-notice {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  margin-top: 8px;
  line-height: 1.6;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .two-col, .two-col.reverse { grid-template-columns: 1fr; direction: ltr; gap: 36px; }
  .two-col.reverse .col-image-placeholder { order: -1; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .specs-grid { grid-template-columns: 1fr; }
  .uses-inner { grid-template-columns: 1fr; gap: 36px; }
  .kit-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 620px) {
  section { padding: 56px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--green-dark);
    padding: 20px 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
  }
  .hero-image-placeholder { height: 220px; }
  .stats-inner { gap: 28px; }
  .price-block { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
