/* ============================================
   MAGGIE B'S FLOWER FARM LLC — style.css
   ORGANIC CSA · Abril Fatface + Karla
   Sage Green #6B8F71 · Terracotta #C4673A · Cream #FAF6EE
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sage:     #6B8F71;
  --sage-2:   #506A56;
  --sage-lt:  #EEF5EF;
  --sage-md:  #A8C8AA;
  --terra:    #C4673A;
  --terra-2:  #A04E28;
  --terra-lt: #FBF0EA;
  --cream:    #FAF6EE;
  --cream-2:  #F0E8D4;
  --white:    #FFFFFF;
  --text:     #1E2820;
  --dim:      #6A7A60;
  --border:   #D8E4D0;
  --border-2: #EBF3EC;
  --top-h:    34px;
  --nav-h:    64px;
  --r:        8px;
  --r-lg:     16px;
  --r-xl:     22px;
}

html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--text); font-family: 'Karla', sans-serif; font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
address { font-style: normal; }
em { font-style: italic; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
.sec-label { font-size: 0.54rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--sage); display: block; margin-bottom: 10px; }

.btn-sage  { display: inline-flex; align-items: center; background: var(--sage); color: white; font-family: 'Karla', sans-serif; font-size: 0.88rem; font-weight: 700; padding: 13px 28px; border-radius: 100px; border: none; cursor: pointer; transition: background 0.18s, transform 0.15s; }
.btn-sage:hover  { background: var(--sage-2); transform: translateY(-2px); }
.btn-terra { display: inline-flex; align-items: center; background: var(--terra); color: white; font-family: 'Karla', sans-serif; font-size: 0.88rem; font-weight: 700; padding: 13px 28px; border-radius: 100px; border: none; cursor: pointer; transition: background 0.18s, transform 0.15s; }
.btn-terra:hover { background: var(--terra-2); transform: translateY(-2px); }
.btn-ghost { display: inline-flex; align-items: center; background: transparent; color: white; font-family: 'Karla', sans-serif; font-size: 0.88rem; font-weight: 600; padding: 12px 28px; border-radius: 100px; border: 2px solid rgba(255,255,255,0.35); cursor: pointer; transition: all 0.18s; }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: white; }

/* ======= TOP BAR ======= */
.top-bar { height: var(--top-h); background: var(--sage-2); display: flex; align-items: center; justify-content: center; gap: 20px; font-size: 0.62rem; font-weight: 700; color: rgba(255,255,255,0.55); padding: 0 40px; }
.top-bar a { color: #C8EAC8; font-weight: 700; transition: opacity 0.18s; }
.top-bar a:hover { opacity: 0.7; }

/* ======= NAV ======= */
.nav { position: sticky; top: 0; z-index: 100; height: var(--nav-h); background: rgba(250,246,238,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1160px; margin: 0 auto; padding: 0 40px; height: 100%; display: flex; align-items: center; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-icon { width: 36px; height: 36px; }
.nl-main { display: block; font-family: 'Abril Fatface', serif; font-size: 1rem; color: var(--text); line-height: 1.1; }
.nl-sub { display: block; font-size: 0.5rem; font-weight: 700; letter-spacing: 0.1em; color: var(--dim); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin-left: auto; }
.nav-links a { font-size: 0.72rem; font-weight: 700; color: var(--dim); transition: color 0.18s; }
.nav-links a:hover { color: var(--sage); }
.nav-cta { font-size: 0.78rem; font-weight: 700; background: var(--sage); color: white; padding: 10px 22px; border-radius: 100px; transition: background 0.18s; flex-shrink: 0; }
.nav-cta:hover { background: var(--sage-2); }
.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; transition: transform 0.22s, opacity 0.2s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ======= HERO ======= */
.hero { position: relative; min-height: calc(100vh - var(--top-h) - var(--nav-h)); display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { filter: brightness(0.38) saturate(0.85); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(130deg, rgba(30,40,32,0.88) 0%, rgba(107,143,113,0.3) 60%, transparent 100%); }
.hero-content { position: relative; z-index: 2; padding: 80px 40px; max-width: 1160px; margin: 0 auto; width: 100%; display: flex; flex-direction: column; gap: 18px; }
.hc-pre { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; color: rgba(168,200,170,0.65); }
.hero-h1 { font-family: 'Abril Fatface', serif; font-size: clamp(2.8rem, 5.5vw, 6.5rem); color: white; line-height: 1.15; }
.hero-h1 em { color: var(--terra-lt); font-style: italic; }
.hero-p { font-size: 0.9rem; font-weight: 300; color: rgba(255,255,255,0.5); max-width: 520px; line-height: 1.9; }
.hc-acts { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ======= CSA SUBSCRIPTION ======= */
.csa { padding: 80px 0; background: var(--cream); border-top: 1px solid var(--border); }
.cs-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.cs-h2 { font-family: 'Abril Fatface', serif; font-size: clamp(2rem, 3.5vw, 3.4rem); color: var(--text); line-height: 1.2; margin-bottom: 10px; }
.cs-h2 em { color: var(--terra); font-style: italic; }
.cs-left > p { font-size: 0.84rem; color: var(--dim); line-height: 1.85; margin-bottom: 18px; }
.cs-perks { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.csp-item { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; font-weight: 700; color: var(--sage); }
.csp-item span { color: var(--dim); font-weight: 400; }
.cs-img { border-radius: var(--r-lg); overflow: hidden; height: 200px; }
.cs-img img { height: 100%; transition: transform 0.5s; }
.cs-img:hover img { transform: scale(1.04); }
.cs-plans { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.csp-plan { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--r-lg); padding: 16px 18px; cursor: pointer; transition: border-color 0.18s; position: relative; }
.csp-plan:hover { border-color: var(--sage); }
.cspp-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.cspp-title { font-size: 0.92rem; font-weight: 700; color: var(--text); }
.cspp-price { font-family: 'Abril Fatface', serif; font-size: 1.1rem; color: var(--sage); }
.cspp-price span { font-family: 'Karla', sans-serif; font-size: 0.72rem; font-weight: 400; color: var(--dim); }
.cspp-desc { font-size: 0.72rem; color: var(--dim); }
.cspp-tag { position: absolute; top: -8px; right: 14px; background: var(--terra); color: white; font-size: 0.56rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 10px; border-radius: 100px; }
.cs-form { background: var(--sage-lt); border: 1.5px solid var(--sage-md); border-radius: var(--r-xl); padding: 20px 18px; display: flex; flex-direction: column; gap: 12px; }
.csf-label { font-family: 'Abril Fatface', serif; font-size: 1rem; color: var(--text); }
.csf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.csf-group { display: flex; flex-direction: column; gap: 4px; }
.csf-group label { font-size: 0.56rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.csf-input { font-family: 'Karla', sans-serif; font-size: 0.86rem; background: var(--white); border: 1.5px solid var(--border); border-radius: var(--r); padding: 11px 13px; outline: none; color: var(--text); transition: border-color 0.18s; }
.csf-input:focus { border-color: var(--sage); }
.csf-submit { width: 100%; justify-content: center; }

/* ======= VOLUNTEER ======= */
.volunteer { padding: 80px 0; background: var(--white); border-top: 1px solid var(--border); }
.vl-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.vl-img { border-radius: var(--r-xl); overflow: hidden; height: 400px; }
.vl-img img { height: 100%; transition: transform 0.5s; }
.vl-img:hover img { transform: scale(1.04); }
.vl-h2 { font-family: 'Abril Fatface', serif; font-size: clamp(2rem, 3.5vw, 3.4rem); color: var(--text); line-height: 1.2; margin-bottom: 10px; }
.vl-h2 em { color: var(--terra); font-style: italic; }
.vl-right > p { font-size: 0.84rem; color: var(--dim); line-height: 1.85; margin-bottom: 18px; }
.vl-perks { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.vlp-item { display: flex; align-items: center; gap: 12px; background: var(--terra-lt); border: 1px solid #E8B098; border-radius: var(--r); padding: 12px 14px; }
.vlp-item > span { font-size: 1.4rem; font-weight: 800; color: var(--terra); flex-shrink: 0; min-width: 36px; text-align: center; }
.vlp-item strong { display: block; font-size: 0.82rem; font-weight: 700; color: var(--text); }
.vlp-item small { display: block; font-size: 0.64rem; color: var(--dim); }
.vl-form { display: flex; flex-direction: column; gap: 12px; }
.vlf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vlf-group { display: flex; flex-direction: column; gap: 4px; }
.vlf-group label { font-size: 0.56rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.vlf-input { font-family: 'Karla', sans-serif; font-size: 0.86rem; background: var(--cream); border: 1.5px solid var(--border); border-radius: var(--r); padding: 11px 13px; outline: none; color: var(--text); transition: border-color 0.18s; }
.vlf-input:focus { border-color: var(--terra); }
.vlf-submit { align-self: flex-start; }

/* ======= WHAT'S GROWING ======= */
.growing { padding: 80px 0; background: var(--cream); border-top: 1px solid var(--border); }
.gw-h2 { font-family: 'Abril Fatface', serif; font-size: clamp(2rem, 3.5vw, 3.4rem); color: var(--text); line-height: 1.2; margin-bottom: 6px; }
.gw-h2 em { color: var(--sage); font-style: italic; }
.gw-sub { font-size: 0.84rem; color: var(--dim); margin-bottom: 28px; }
.gw-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.gwg-card { border: 1.5px solid var(--border); border-radius: var(--r-lg); padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; background: var(--white); }
.gwg-spring { border-top: 3px solid #98C498; }
.gwg-peak { border-top: 3px solid var(--terra); }
.gwg-fall { border-top: 3px solid #C89850; }
.gwgc-month { font-family: 'Abril Fatface', serif; font-size: 0.9rem; color: var(--text); }
.gwgc-tag { font-size: 0.56rem; font-weight: 700; color: var(--dim); }
.gwgc-list { list-style: none; display: flex; flex-direction: column; gap: 3px; }
.gwgc-list li { font-size: 0.64rem; color: var(--dim); line-height: 1.4; }

/* ======= ABOUT ======= */
.about { position: relative; padding: 80px 0; overflow: hidden; }
.about-bg { position: absolute; inset: 0; }
.about-bg img { filter: brightness(0.28) saturate(0.7); }
.about-overlay { position: absolute; inset: 0; background: rgba(30,40,32,0.88); }
.about-content { position: relative; z-index: 2; max-width: 640px; display: flex; flex-direction: column; gap: 18px; }
.ab-h2 { font-family: 'Abril Fatface', serif; font-size: clamp(2rem, 3.5vw, 3.4rem); color: white; line-height: 1.2; }
.ab-h2 em { color: var(--terra-lt); font-style: italic; }
.ab-text { display: flex; flex-direction: column; gap: 12px; }
.ab-text p { font-size: 0.86rem; font-weight: 300; color: rgba(255,255,255,0.5); line-height: 1.9; }

/* ======= CONTACT ======= */
.contact { padding: 44px 0; background: var(--sage-lt); border-top: 1px solid var(--sage-md); }
.contact-inner { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.ct-block { display: flex; flex-direction: column; gap: 4px; }
.ct-label { font-size: 0.52rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--dim); }
.ct-val { font-size: 0.84rem; font-weight: 600; color: var(--text); line-height: 1.55; transition: color 0.18s; }
.ct-val:hover { color: var(--sage); }
.ct-big { font-family: 'Abril Fatface', serif; font-size: 1.4rem; color: var(--sage); }
.contact-inner .btn-sage { margin-left: auto; }

/* ======= FOOTER ======= */
.footer { background: var(--text); padding: 20px 0 0; }
.footer-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 14px; }
.fl { display: flex; align-items: center; gap: 9px; }
.fi { width: 30px; height: 30px; }
.fl span { font-size: 0.66rem; color: rgba(255,255,255,0.2); }
.fn { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.fn a { font-size: 0.64rem; font-weight: 700; color: rgba(255,255,255,0.2); transition: color 0.18s; }
.fn a:hover { color: var(--sage-md); }
.footer-bot { border-top: 1px solid rgba(255,255,255,0.06); padding: 12px 40px; font-size: 0.54rem; color: rgba(255,255,255,0.1); text-align: center; }

/* ======= MOBILE ======= */
.nav-links.open { display: flex !important; position: fixed; top: var(--nav-h); left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--border); flex-direction: column; padding: 8px 0 14px; gap: 0; z-index: 99; }
.nav-links.open a { display: block; padding: 12px 40px; border-bottom: 1px solid var(--border-2); }

@media (max-width: 1024px) {
  .cs-wrap { grid-template-columns: 1fr; gap: 40px; }
  .vl-wrap { grid-template-columns: 1fr; gap: 40px; }
  .gw-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
  .top-bar { height: auto; padding: 6px 24px; font-size: 0.54rem; flex-wrap: wrap; gap: 8px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .hero-content { padding: 56px 24px; }
  .csf-row { grid-template-columns: 1fr; }
  .vlf-row { grid-template-columns: 1fr; }
  .gw-grid { grid-template-columns: 1fr 1fr; }
  .contact-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .contact-inner .btn-sage { margin-left: 0; }
  .footer-bot { padding: 12px 24px; }
}
