/* ============================================================
   Fernway — Indoor Plant Hire & Care
   Design tokens
   ============================================================ */
:root {
  --ink:        #102a22;   /* deep evergreen, primary text */
  --forest:     #163a2d;   /* dark green section bg */
  --forest-2:   #1d4d3b;   /* lifted dark green */
  --leaf:       #4f8f5a;   /* mid leaf green, illustrations */
  --leaf-soft:  #7eae74;   /* lighter foliage */
  --sprout:     #cfe85a;   /* chartreuse new-growth accent */
  --sprout-ink: #243200;   /* text on sprout */
  --paper:      #eef0e6;   /* sage-tinted off-white bg */
  --paper-2:    #f7f8f0;   /* lighter band */
  --card:       #ffffff;   /* card bg */
  --muted:      #5d6f63;   /* muted green-grey text */
  --muted-light:#a7bcab;   /* muted text on dark */
  --line:       #d6dac6;   /* hairline on light */
  --line-dark:  rgba(255,255,255,.14);

  --maxw: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(16,42,34,.05), 0 18px 40px -24px rgba(16,42,34,.28);
  --shadow-lift: 0 1px 2px rgba(16,42,34,.06), 0 28px 56px -28px rgba(16,42,34,.4);

  --ff-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, sans-serif;
  --ff-mono: "IBM Plex Mono", ui-monospace, "Cascadia Code", monospace;
}

/* ============================================================
   Base
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--ff-mono);
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--leaf);
  margin: 0 0 18px;
}
.eyebrow-light { color: var(--sprout); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: .95rem;
  padding: .8em 1.4em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; }
.btn-primary { background: var(--sprout); color: var(--sprout-ink); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(16,42,34,.5); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: #fff; transform: translateY(-2px); }
.btn.full { width: 100%; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(238,240,230,.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(238,240,230,.94); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--ff-display); }
.brand-mark { width: 26px; height: 26px; color: var(--leaf); }
.brand-name { font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-size: .95rem; font-weight: 500; color: var(--ink); position: relative; padding: 4px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--leaf); transition: width .22s ease;
}
.nav a:hover::after, .nav a:focus-visible::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 18px; }
.phone { font-family: var(--ff-mono); font-size: .85rem; color: var(--ink); }
.phone:hover { color: var(--leaf); }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px; margin-left: auto;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }

.mobile-nav { display: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background:
    linear-gradient(100deg, rgba(16,42,34,.96) 0%, rgba(16,42,34,.88) 38%, rgba(16,42,34,.58) 100%),
    url("images/hero-office.png") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
  padding: clamp(72px, 11vw, 132px) 0 clamp(72px, 9vw, 116px);
}
.hero-leaf { position: absolute; color: rgba(207,232,90,.10); pointer-events: none; }
.hero-leaf-1 { width: 460px; height: 460px; top: -90px; right: -90px; transform: rotate(18deg); }
.hero-leaf-2 { width: 300px; height: 300px; bottom: -110px; left: -70px; color: rgba(126,174,116,.12); }

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -.035em;
  margin: 0 0 22px;
}
.hero .eyebrow { color: var(--sprout); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.82); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 44px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 36px; border-top: 1px solid var(--line-dark); padding-top: 26px; }
.hero-stats dt { font-family: var(--ff-display); font-size: 1.7rem; font-weight: 700; color: #fff; }
.hero-stats dd { margin: 2px 0 0; font-size: .82rem; color: var(--muted-light); max-width: 16ch; }

/* Specimen card (hero) */
.specimen-card {
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 26px 26px 28px;
  box-shadow: var(--shadow-lift);
  position: relative;
}
.specimen-art {
  height: 220px; border-radius: var(--radius-sm); margin-bottom: 20px;
  overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--paper-2), #e4ead4);
}
.specimen-art img { width: 100%; height: 100%; object-fit: cover; }
.specimen-tag { font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; margin-bottom: 6px; }
.specimen-name { font-size: 1.5rem; }
.specimen-latin { font-family: var(--ff-mono); font-style: italic; color: var(--leaf); font-size: .9rem; margin: 2px 0 16px; }
.specimen-spec { display: grid; gap: 10px; }
.specimen-spec li { display: flex; align-items: center; justify-content: space-between; font-size: .9rem; border-top: 1px dashed var(--line); padding-top: 10px; }
.specimen-spec li span:first-child { font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.specimen-spec b { font-weight: 600; }

/* Light meter — three dots rendered from one ::before + box-shadow copies */
.meter {
  --on: var(--leaf);
  --off: var(--line);
  position: relative;
  display: inline-block;
  width: 36px;
  height: 8px;
}
.meter::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--off);
  box-shadow: 14px 0 0 var(--off), 28px 0 0 var(--off);
}
.meter[data-level="1"]::before { background: var(--on); }
.meter[data-level="2"]::before { background: var(--on); box-shadow: 14px 0 0 var(--on), 28px 0 0 var(--off); }
.meter[data-level="3"]::before { background: var(--on); box-shadow: 14px 0 0 var(--on), 28px 0 0 var(--on); }
.meter.inline { vertical-align: middle; margin: 0 2px; }

/* ============================================================
   Trust strip
   ============================================================ */
.trust { background: var(--ink); color: #fff; padding: 30px 0; }
.trust .wrap { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.trust-label { font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); white-space: nowrap; }
.trust-logos { display: flex; flex-wrap: wrap; gap: 14px 38px; margin-left: auto; }
.trust-logos li { font-family: var(--ff-display); font-weight: 600; font-size: 1.08rem; color: rgba(255,255,255,.62); letter-spacing: -.01em; }

/* ============================================================
   Sections (shared)
   ============================================================ */
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section-tint { background: var(--paper-2); }
.section-dark { background: var(--forest); color: #fff; position: relative; overflow: hidden; }

.section-head { max-width: 660px; margin: 0 0 52px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.section-sub { margin-top: 18px; color: var(--muted); font-size: 1.08rem; }
.section-dark .section-sub { color: var(--muted-light); }

.grid { display: grid; gap: 22px; }

/* ============================================================
   Services
   ============================================================ */
.services-grid { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 32px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service { display: flex; flex-direction: column; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.kicker {
  align-self: flex-start;
  font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--leaf); background: rgba(79,143,90,.1);
  padding: 5px 10px; border-radius: 999px; margin-bottom: 22px;
}
.card-icon { width: 38px; height: 38px; color: var(--leaf); margin-bottom: 16px; }
.card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }
.service-cta { background: var(--ink); color: #fff; border-color: var(--ink); justify-content: center; align-items: flex-start; }
.service-cta h3 { color: #fff; }
.service-cta p { color: var(--muted-light); margin-bottom: 22px; }

/* ============================================================
   Collection
   ============================================================ */
.collection-grid { grid-template-columns: repeat(3, 1fr); }
.specimen {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 24px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.specimen:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.specimen-photo { margin: -26px -26px 18px; height: 184px; overflow: hidden; border-bottom: 1px solid var(--line); }
.specimen-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.specimen:hover .specimen-photo img { transform: scale(1.04); }
.specimen h3 { font-size: 1.3rem; }
.latin { font-family: var(--ff-mono); font-style: italic; font-size: .85rem; color: var(--leaf); margin: 3px 0 18px; }
.spec-row { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-top: 1px dashed var(--line); font-size: .9rem; }
.spec-row span:first-child { font-family: var(--ff-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.spec-row b { font-weight: 600; }
.collection-note { margin-top: 30px; color: var(--muted); font-size: .92rem; }

/* ============================================================
   Benefits (dark)
   ============================================================ */
.benefits-feature {
  position: relative; z-index: 1;
  height: clamp(220px, 32vw, 400px);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 52px;
  box-shadow: var(--shadow-lift);
}
.benefits-feature img { width: 100%; height: 100%; object-fit: cover; }

.dark-leaf { position: absolute; width: 420px; height: 420px; color: rgba(207,232,90,.06); top: -80px; right: -80px; pointer-events: none; }
.dark-leaf-2 { top: auto; bottom: -120px; right: auto; left: -90px; width: 360px; height: 360px; color: rgba(126,174,116,.08); }
.benefits-grid { grid-template-columns: repeat(4, 1fr); position: relative; z-index: 1; }
.benefit { border-top: 2px solid var(--sprout); padding-top: 22px; }
.benefit-figure { font-family: var(--ff-display); font-weight: 800; font-size: 2.1rem; letter-spacing: -.03em; color: var(--sprout); margin-bottom: 12px; }
.benefit h3 { font-size: 1.2rem; margin-bottom: 8px; }
.benefit p { color: var(--muted-light); font-size: .96rem; }

/* ============================================================
   Process
   ============================================================ */
.process-grid { grid-template-columns: repeat(4, 1fr); counter-reset: none; }
.step { position: relative; padding-top: 20px; border-top: 1px solid var(--line); }
.step-no { font-family: var(--ff-mono); font-size: .9rem; color: var(--leaf); display: block; margin-bottom: 14px; letter-spacing: .05em; }
.step h3 { font-size: 1.3rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .98rem; }

/* ============================================================
   Pricing
   ============================================================ */
.pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 30px 34px;
  display: flex; flex-direction: column;
}
.price-feature { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-lift); }
.price-kicker { font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--leaf); margin-bottom: 16px; }
.price-feature .price-kicker { color: var(--sprout); }
.price { font-family: var(--ff-display); font-weight: 800; font-size: 2.9rem; letter-spacing: -.04em; line-height: 1; }
.price-from { font-family: var(--ff-mono); font-size: .8rem; font-weight: 400; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); vertical-align: middle; margin-right: 6px; }
.price-feature .price-from { color: var(--muted-light); }
.price-unit { font-family: var(--ff-body); font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-feature .price-unit { color: var(--muted-light); }
.price-note { color: var(--muted); font-size: .86rem; margin: 8px 0 22px; }
.price-feature .price-note { color: var(--muted-light); }
.price-list { display: grid; gap: 12px; margin-bottom: 28px; flex: 1; }
.price-list li { position: relative; padding-left: 26px; font-size: .96rem; }
.price-list li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--sprout);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 13l4 4L19 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 13l4 4L19 7' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ============================================================
   Testimonial
   ============================================================ */
.testimonial-section { padding-top: 0; }
.testimonial { max-width: 820px; margin: 0 auto; text-align: center; }
.quote-mark { width: 46px; height: 46px; color: var(--leaf); margin: 0 auto 22px; }
.testimonial blockquote {
  font-family: var(--ff-display); font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.28; letter-spacing: -.02em;
  margin: 0 0 26px;
}
.testimonial figcaption strong { display: block; font-size: 1.05rem; }
.testimonial figcaption span { color: var(--muted); font-size: .92rem; }

/* ============================================================
   Quote / CTA
   ============================================================ */
.quote-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.quote-copy .lede { color: rgba(255,255,255,.82); }
.contact-list { margin-top: 34px; display: grid; gap: 16px; }
.contact-list li { display: grid; grid-template-columns: 70px 1fr; align-items: baseline; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line-dark); font-size: 1rem; }
.contact-list span { font-family: var(--ff-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); }
.contact-list a:hover { color: var(--sprout); }

.quote-form { background: var(--card); color: var(--ink); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-lift); }
.field { display: flex; flex-direction: column; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.field input, .field textarea {
  font-family: var(--ff-body); font-size: 1rem; color: var(--ink);
  background: var(--paper-2); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(79,143,90,.18); }
.field textarea { resize: vertical; min-height: 84px; }
.quote-form .btn { margin-top: 6px; }
.form-status { margin-top: 16px; padding: 12px 14px; border-radius: var(--radius-sm); background: rgba(207,232,90,.22); color: var(--sprout-ink); font-size: .95rem; font-weight: 500; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--ink); color: #fff; padding: 64px 0 30px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { color: var(--muted-light); margin-top: 16px; max-width: 38ch; font-size: .96rem; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 11px; }
.footer-nav h4, .footer-contact h4 { font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); font-weight: 500; margin-bottom: 6px; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--sprout); }
.footer-contact p { color: var(--muted-light); font-size: .95rem; }
.footer-base { padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.footer-base p { color: var(--muted-light); font-size: .82rem; }
.acknowledgement { max-width: 70ch; }

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

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .specimen-card { max-width: 420px; }
  .services-grid, .collection-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  body.nav-open { overflow: hidden; }
  .mobile-nav {
    display: flex; flex-direction: column; gap: 4px;
    padding: 0 24px; max-height: 0; overflow: hidden;
    background: var(--paper); border-bottom: 1px solid transparent;
    transition: max-height .3s ease, padding .3s ease, border-color .3s ease;
  }
  body.nav-open .mobile-nav { max-height: 420px; padding: 12px 24px 22px; border-bottom-color: var(--line); }
  .mobile-nav a { padding: 12px 0; font-weight: 500; border-bottom: 1px solid var(--line); }
  .mobile-nav .btn { margin-top: 12px; }
  body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .trust .wrap { flex-direction: column; align-items: flex-start; gap: 16px; }
  .trust-logos { margin-left: 0; gap: 12px 24px; }
  .services-grid, .collection-grid, .pricing-grid, .benefits-grid, .process-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
