/* The Bonsai Company — brand stylesheet
   Palette derived from the logo:
   lime #BFD630 · slate ink #44555F  */

:root {
  --lime: #bfd630;
  --lime-deep: #9bb41f;      /* richer foliage */
  --green-accent: #5f7d1b;   /* accessible green for links/buttons on light bg */
  --ink: #3c4c55;            /* slate wordmark colour */
  --ink-900: #2b363d;        /* darker slate for headings */
  --paper: #f7f6f1;          /* warm off-white page */
  --paper-2: #efece3;        /* soft neutral panel */
  --line: #e2ddd0;           /* hairline borders */
  --muted: #6c7a80;          /* secondary text */
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(44, 54, 61, 0.10);
  --shadow-sm: 0 4px 14px rgba(44, 54, 61, 0.08);
  --radius: 14px;
  --maxw: 1140px;
  --font-head: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink-900);
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

a { color: var(--green-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container {
  width: min(100% - 2.5rem, var(--maxw));
  margin-inline: auto;
}

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-accent);
  margin-bottom: 0.9rem;
}

.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary { background: var(--ink-900); color: #fff; }
.btn-primary:hover { background: #1f2a30; box-shadow: var(--shadow-sm); }
.btn-lime { background: var(--lime); color: var(--ink-900); }
.btn-lime:hover { background: var(--lime-deep); box-shadow: var(--shadow-sm); }
.btn-ghost { background: transparent; color: var(--ink-900); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-900); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 241, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand img { height: 46px; width: auto; }
.brand .brand-name {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink-900);
  font-size: 1.05rem;
  line-height: 1.1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.98rem;
}
.nav-links a:hover { color: var(--green-accent); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 0.6rem; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink-900);
  margin: 5px 0;
  transition: 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(191, 214, 48, 0.22), transparent 60%),
    linear-gradient(180deg, #fbfaf6 0%, var(--paper) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.hero h1 span { color: var(--green-accent); }
.hero .lead { margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.8rem; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.hero-badges span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-badges strong { color: var(--ink-900); }
.hero-art {
  position: relative;
  display: grid;
  place-items: center;
}
.hero-art .disc {
  aspect-ratio: 1;
  width: min(100%, 420px);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #fff 0%, #f3f1e8 70%, #e8e4d6 100%);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  padding: 2.5rem;
}
.hero-art img { width: 86%; filter: drop-shadow(0 8px 18px rgba(44,54,61,0.14)); }

/* ---------- Trust strip ---------- */
.trust {
  background: var(--ink-900);
  color: #e9ede8;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2.2rem 0;
  text-align: center;
}
.trust .num {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--lime);
  line-height: 1;
}
.trust small { color: #aeb9b2; font-size: 0.85rem; letter-spacing: 0.04em; }

/* ---------- Collection ---------- */
.section-head { max-width: 62ch; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #eef2df 0%, #e4ecd1 100%);
  display: grid;
  place-items: center;
  color: var(--lime-deep);
}
.card-media svg { width: 40%; opacity: 0.85; }
.card-body { padding: 1.1rem 1.2rem 1.3rem; }
.card-body h3 { margin-bottom: 0.25rem; }
.card-meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.7rem; }
.price { font-weight: 700; color: var(--ink-900); }
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-accent);
  background: rgba(191, 214, 48, 0.18);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}

/* ---------- Services ---------- */
.services { background: var(--paper-2); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem;
  border: 1px solid var(--line);
}
.service .ico {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(191, 214, 48, 0.2);
  display: grid; place-items: center;
  color: var(--green-accent);
  margin-bottom: 1rem;
}
.service .ico svg { width: 26px; height: 26px; }
.service h3 { margin-bottom: 0.4rem; }
.service p { color: var(--muted); margin: 0; font-size: 0.97rem; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
.about-art {
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--ink-900), #46606a);
  min-height: 340px;
  display: grid;
  place-items: center;
  color: var(--lime);
  box-shadow: var(--shadow);
}
.about-art svg { width: 45%; opacity: 0.9; }
.about ul { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.about li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.7rem;
  color: var(--ink);
}
.about li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--lime);
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(800px 300px at 20% 120%, rgba(191,214,48,0.25), transparent 60%),
    var(--ink-900);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #c7cfca; max-width: 55ch; margin-inline: auto; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--ink-900);
}
.field input, .field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--lime);
  border-color: var(--lime);
}
.contact-info li {
  list-style: none;
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
  align-items: flex-start;
}
.contact-info { padding: 0; margin: 1.2rem 0 0; }
.contact-info .ico { color: var(--green-accent); margin-top: 2px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink-900);
  color: #c7cfca;
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: 0.95rem; letter-spacing: 0.05em; text-transform: uppercase; }
.site-footer a { color: #c7cfca; }
.site-footer a:hover { color: var(--lime); text-decoration: none; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.footer-brand img { height: 52px; background: #fff; padding: 6px; border-radius: 10px; margin-bottom: 1rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #9aa6a0;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.25rem 1.5rem;
    gap: 1rem;
  }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art .disc { width: min(78%, 340px); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
