/* ============================================================
   Kova Grow — Design System
   Brand palette derived from the Kova Grow logo:
   teal + cyan circuit flourish with a growth/leaf motif.
   ============================================================ */

:root {
  /* Brand colors */
  --teal: #00b3a3;
  --teal-dark: #00897b;
  --cyan: #00f2d7;
  --green: #32cd32;
  --ink: #0b1f24;
  --slate: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f4fbfa;
  --bg-dark: #07171a;

  /* Typography */
  --font-head: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: "Roboto", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Radii & shadow */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(11, 31, 36, .08);
  --shadow: 0 10px 30px rgba(11, 31, 36, .10);
  --shadow-lg: 0 24px 60px rgba(0, 179, 163, .18);

  /* Layout */
  --maxw: 1160px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration: none; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.2em; color: var(--slate); }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-head); font-weight: 600;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  font-size: .98rem; line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(120deg, var(--teal), var(--cyan));
  color: #042f2a; box-shadow: var(--shadow-lg);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 28px 70px rgba(0,179,163,.30); }
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-dark); }
.btn-light {
  background: #fff; color: var(--teal-dark); box-shadow: var(--shadow-sm);
}
.btn-light:hover { transform: translateY(-2px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.brand .logo { height: 38px; width: auto; }
.brand .accent { color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .98rem; }
.nav-links a:hover { color: var(--teal); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 540px at 85% -10%, rgba(0,242,215,.20), transparent 60%),
    radial-gradient(900px 500px at 0% 20%, rgba(0,179,163,.16), transparent 55%),
    var(--bg-soft);
  padding: clamp(60px, 9vw, 120px) 0 clamp(50px, 7vw, 90px);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--teal-dark); background: rgba(0,179,163,.10);
  padding: 8px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 span { color: var(--teal); }
.hero p.lead { font-size: 1.18rem; max-width: 38ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; }
.hero-trust .stat strong { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--ink); line-height: 1; }
.hero-trust .stat span { font-size: .9rem; color: var(--muted); }

.hero-visual {
  position: relative; border-radius: 24px; padding: 26px;
  background: linear-gradient(160deg, rgba(255,255,255,.9), rgba(244,251,250,.7));
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.hero-visual .mock {
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-sm);
  overflow: hidden; border: 1px solid var(--line);
}
.hero-visual .mock-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.hero-visual .mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: inline-block; }
.hero-visual .mock-body { padding: 18px; }
.growth-chart { width: 100%; height: 180px; }
.growth-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; margin-top: 12px; font-size: .9rem; }
.growth-row b { color: var(--green); }

/* ---------- Section ---------- */
section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow {
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .12em; color: var(--teal-dark);
}
.section-head p { font-size: 1.1rem; }

/* ---------- Cards / Grid ---------- */
.card-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(0,179,163,.4); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(0,179,163,.16), rgba(0,242,215,.16));
  color: var(--teal-dark); margin-bottom: 18px; font-size: 1.5rem;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: .98rem; margin-bottom: 0; }

/* ---------- Process ---------- */
.process { background: var(--bg-soft); }
.steps { display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding: 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step .num {
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem;
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal), var(--cyan)); color: #042f2a; margin-bottom: 14px;
}

/* ---------- Stats band ---------- */
.band { background: linear-gradient(120deg, var(--teal-dark), var(--ink)); color: #fff; }
.band h2, .band p { color: #fff; }
.band .stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.band .stat strong { display: block; font-family: var(--font-head); font-size: 2.6rem; line-height: 1; }
.band .stat span { color: rgba(255,255,255,.78); font-size: .95rem; }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.quote .stars { color: var(--green); margin-bottom: 12px; letter-spacing: 2px; }
.quote p { font-size: 1.02rem; flex: 1; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote .avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--cyan)); display: grid; place-items: center; color: #042f2a; font-weight: 700; font-family: var(--font-head); }
.quote .who b { display: block; color: var(--ink); font-family: var(--font-head); }
.quote .who span { font-size: .85rem; color: var(--muted); }

/* ---------- Logo strip ---------- */
.logos { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; justify-content: center; opacity: .65; }
.logos span { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--slate); }

/* ---------- CTA ---------- */
.cta-box {
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  border-radius: 28px; padding: clamp(36px, 6vw, 64px); text-align: center; color: #042f2a;
  box-shadow: var(--shadow-lg);
}
.cta-box h2 { color: #042f2a; }
.cta-box p { color: #064b43; font-size: 1.15rem; max-width: 52ch; margin-inline: auto; }
.cta-box .btn-light { background: #042f2a; color: #fff; }
.cta-box .btn-light:hover { background: #064b43; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,.75); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { color: rgba(255,255,255,.7); }
.site-footer ul a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--bg-soft); padding: clamp(48px, 7vw, 80px) 0; border-bottom: 1px solid var(--line); }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--teal-dark); }

/* ---------- Services detail ---------- */
.service-list { display: grid; gap: 22px; grid-template-columns: repeat(2, 1fr); }
.service-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.service-item .icon { margin-bottom: 14px; }

/* ---------- Pricing / Retainer ---------- */
.price-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.price { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.price.featured { border-color: var(--teal); box-shadow: var(--shadow); position: relative; }
.price.featured::after { content: "Most Popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--teal); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .75rem; padding: 5px 14px; border-radius: 999px; }
.price h3 { font-size: 1.2rem; }
.price .amount { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--ink); margin: 6px 0 4px; }
.price .amount small { font-size: 1rem; color: var(--muted); font-weight: 500; }
.price ul { list-style: none; padding: 0; margin: 18px 0 26px; }
.price ul li { padding: 8px 0 8px 28px; position: relative; border-bottom: 1px solid var(--line); font-size: .95rem; }
.price ul li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.price .btn { margin-top: auto; justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-info .info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info .info-item .icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(0,179,163,.12); color: var(--teal-dark); font-size: 1.2rem; flex: none; }
.contact-info .info-item b { display: block; font-family: var(--font-head); color: var(--ink); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: #fff; transition: border .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,179,163,.15); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-success { display: none; background: rgba(50,205,50,.12); border: 1px solid var(--green); color: var(--teal-dark); padding: 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 18px 20px; font-family: var(--font-head); font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--teal); transition: .2s; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 20px 18px; color: var(--slate); }

/* ---------- 404 ---------- */
.error-wrap { text-align: center; padding: 120px 0; }
.error-wrap h1 { font-size: 6rem; color: var(--teal); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .card-grid, .quote-grid, .price-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .band .stat-grid { grid-template-columns: 1fr 1fr; }
  .service-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 18px 22px; gap: 16px;
  }
  .card-grid, .quote-grid, .price-grid, .steps, .band .stat-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
