/*
Theme Name: Green-Hydro
Theme URI: https://green-hydro.mvp.sbarron.com
Description: Caribbean AgTech / hydroponic farming theme for Green-Hydro — produce e-commerce + the Producer-Buyer Exchange + a multi-step Farmers Registration. Built on Astra.
Author: Shane Barron
Template: astra
Version: 1.0
*/

/* ====================================================================
   DESIGN SYSTEM — Green-Hydro (Caribbean hydroponic AgTech)
   Palette: fresh leaf-green, sky-teal, warm sand, deep soil. Bright,
   growing, Caribbean — distinct from Hidden Oaks' deep forest.
   ==================================================================== */
:root{
  --leaf:#3faa5a;
  --leaf-deep:#2c8044;
  --leaf-bright:#5fc97a;
  --teal:#1ba0a8;
  --teal-deep:#137a80;
  --sand:#f6f3ea;
  --sand-2:#ece6d6;
  --soil:#2a2e22;
  --sun:#f0a92e;
  --mute:#5f6b58;
  --white:#fff;
  --line:rgba(42,46,34,.12);
  --line-light:rgba(255,255,255,.18);
  --shadow:0 22px 55px -28px rgba(42,46,34,.4);
  --shadow-sm:0 8px 22px -14px rgba(42,46,34,.26);
  --serif:'Fraunces','Georgia',serif;
  --sans:'Inter','Helvetica Neue',Arial,sans-serif;
  --ease:cubic-bezier(.22,1,.36,1);
  --r:14px; --r-sm:9px; --maxw:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:hidden}
body.green-hydro{margin:0;font-family:'Inter','Helvetica Neue',Arial,sans-serif;color:var(--soil);line-height:1.65;font-size:17px;overflow-x:hidden;
  background:
    radial-gradient(900px 460px at 88% -8%, rgba(63,170,90,.08), transparent 60%),
    radial-gradient(700px 420px at -5% 12%, rgba(27,160,168,.07), transparent 55%),
    var(--sand);
  -webkit-font-smoothing:antialiased}
body.green-hydro::before{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;opacity:.35;mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E")}
img{max-width:100%;display:block}
a{color:var(--teal-deep);text-decoration:none}
h1,h2,h3,h4{font-family:'Fraunces','Georgia',serif;font-weight:600;line-height:1.1;color:var(--leaf-deep);margin:0 0 .5em}
h1{font-size:clamp(2.4rem,6vw,4.6rem);letter-spacing:-.02em}
h2{font-size:clamp(1.9rem,4vw,3rem)}
h3{font-size:1.35rem}
p{margin:0 0 1.1em}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 24px;position:relative;z-index:2}
.eyebrow{font-family:var(--sans);font-weight:700;text-transform:uppercase;letter-spacing:.22em;font-size:.72rem;color:var(--teal);margin:0 0 1rem}
.gh-section{position:relative;z-index:2}
.btn{display:inline-flex;align-items:center;gap:.5em;font-family:var(--sans);font-weight:600;font-size:1rem;padding:.95em 1.9em;border-radius:100px;cursor:pointer;border:2px solid transparent;transition:.3s var(--ease);text-align:center}
.btn-leaf{background:linear-gradient(120deg,var(--leaf-bright),var(--leaf));color:#fff;box-shadow:var(--shadow-sm)}
.btn-leaf:hover{filter:brightness(1.06);transform:translateY(-3px);box-shadow:var(--shadow)}
.btn-sun{background:linear-gradient(120deg,var(--sun),#dd9418);color:#2a2310}
.btn-sun:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.btn-ghost{background:transparent;color:#fff;border-color:var(--line-light)}
.btn-ghost:hover{background:rgba(255,255,255,.14);transform:translateY(-3px)}
.btn-outline{background:transparent;color:var(--leaf-deep);border-color:var(--leaf-deep)}
.btn-outline:hover{background:var(--leaf-deep);color:#fff;transform:translateY(-3px)}
.gh-header{position:fixed;top:0;left:0;right:0;z-index:50;padding:18px 0;transition:.3s}
.gh-header.scrolled{background:rgba(246,243,234,.97);backdrop-filter:blur(10px);padding:11px 0;box-shadow:0 2px 24px rgba(42,46,34,.1)}
.gh-nav{display:flex;align-items:center;justify-content:space-between}
.gh-brand{display:flex;align-items:center;gap:.6rem;font-family:var(--serif);font-weight:600;font-size:1.4rem;color:#fff}
.scrolled .gh-brand{color:var(--leaf-deep)}
.gh-brand .mk{width:38px;height:38px;flex:none}
.gh-links{display:flex;align-items:center;gap:1.8rem;list-style:none;margin:0;padding:0}
.gh-links a{color:#fff;font-weight:500;font-size:.95rem;transition:color .2s;position:relative}
.scrolled .gh-links a{color:var(--soil)}
.gh-links a::after{content:"";position:absolute;left:0;bottom:-5px;width:0;height:2px;background:var(--sun);transition:width .25s}
.gh-links a:hover::after{width:100%}
.gh-toggle{display:none;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:8px}
.gh-toggle span{width:26px;height:2px;background:#fff;transition:.3s;border-radius:2px}
.scrolled .gh-toggle span{background:var(--soil)}
.gh-hero{position:relative;min-height:100vh;display:flex;align-items:center;color:#fff;overflow:hidden}
.gh-hero-bg{position:absolute;inset:0;z-index:0}
.gh-hero-bg img{width:100%;height:100%;object-fit:cover}
.gh-hero-bg::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,rgba(20,60,40,.85) 25%,rgba(20,60,40,.5) 60%,rgba(27,122,128,.3))}
.gh-hero-inner{position:relative;z-index:2;max-width:720px;padding-top:80px}
.gh-hero h1{color:#fff}
.gh-hero h1 em{font-style:italic;color:var(--leaf-bright)}
.gh-hero .lead{font-size:1.2rem;color:rgba(255,255,255,.9);max-width:52ch;margin:1.3rem 0 2rem}
.gh-hero-cta{display:flex;gap:1rem;flex-wrap:wrap}
.gh-pad{padding:clamp(60px,9vw,110px) 0}
.gh-head{max-width:680px;margin:0 auto 3rem;text-align:center}
.bg-leaf{background:linear-gradient(160deg,var(--leaf-deep),#1f5e32);color:var(--sand)}
.bg-leaf h2,.bg-leaf h3{color:#fff}.bg-leaf .eyebrow{color:var(--leaf-bright)}
.bg-sand2{background:linear-gradient(180deg,var(--sand),var(--sand-2))}
.paths{display:grid;grid-template-columns:1fr 1fr;gap:1.6rem}
.path{background:linear-gradient(170deg,#fff,#fbfaf5);border:1px solid var(--line);border-radius:var(--r);padding:2.2rem;text-align:center;box-shadow:var(--shadow-sm);transition:transform .3s,box-shadow .3s}
.path:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
.path .ic{width:60px;height:60px;border-radius:16px;margin:0 auto 1.2rem;display:grid;place-items:center;background:rgba(63,170,90,.12)}
.path .ic svg{width:32px;height:32px;stroke:var(--leaf);fill:none}
.path h3{font-size:1.5rem}
.produce-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem}
.produce{background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow-sm);transition:transform .3s}
.produce:hover{transform:translateY(-5px)}
.produce .ph{aspect-ratio:1;overflow:hidden}
.produce .ph img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.produce:hover .ph img{transform:scale(1.06)}
.produce .b{padding:1rem 1.2rem 1.3rem}
.produce h4{margin:0 0 .2rem;color:var(--soil)}
.produce .pr{font-family:var(--serif);font-size:1.2rem;color:var(--leaf-deep);font-weight:600}
.produce .pr small{font-size:.78rem;color:var(--mute);font-weight:400}
.stat-band{display:grid;grid-template-columns:repeat(4,1fr);gap:1.4rem;text-align:center}
.stat-band .n{font-family:var(--serif);font-size:2.6rem;color:var(--sun);line-height:1}
.stat-band .l{font-size:.85rem;color:rgba(255,255,255,.82);text-transform:uppercase;letter-spacing:.08em;margin-top:.3rem}
.gh-split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4.5rem);align-items:center}
.gh-split img{border-radius:var(--r);box-shadow:var(--shadow);width:100%;aspect-ratio:4/3;object-fit:cover}
.vlist{list-style:none;padding:0;margin:1.4rem 0;display:grid;gap:.9rem}
.vlist li{display:flex;gap:.8rem;align-items:flex-start;font-size:.98rem}
.vlist li svg{width:22px;height:22px;flex:none;stroke:var(--leaf);fill:none;margin-top:3px}
.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem}
.member{background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow-sm);text-align:center}
.member .av{aspect-ratio:1;background:linear-gradient(140deg,var(--leaf),var(--teal));display:grid;place-items:center;font-family:var(--serif);font-size:3rem;color:#fff}
.member .b{padding:1.3rem}
.member h4{margin:0}.member .role{color:var(--teal-deep);font-size:.88rem;font-weight:600}
.member p{font-size:.88rem;color:var(--mute);margin:.5rem 0 0}
.reg-wrap{max-width:720px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);padding:2.4rem;position:relative;z-index:2}
.reg-steps{display:flex;gap:.5rem;margin-bottom:2rem}
.reg-steps .s{flex:1;text-align:center;font-size:.78rem;color:var(--mute);font-weight:600}
.reg-steps .s .dot{width:30px;height:30px;border-radius:50%;background:var(--sand-2);color:var(--mute);display:grid;place-items:center;margin:0 auto .4rem;font-family:var(--serif);transition:.3s}
.reg-steps .s.on .dot{background:var(--leaf);color:#fff}
.reg-steps .s.done .dot{background:var(--leaf-deep);color:#fff}
.reg-step{display:none}.reg-step.active{display:block}
.reg-step h3{font-size:1.4rem;margin-bottom:.3rem}
.reg-step .hint{color:var(--mute);font-size:.92rem;margin-bottom:1.4rem}
.fg{margin-bottom:1.1rem}
.fg label{display:block;font-weight:600;font-size:.88rem;color:var(--leaf-deep);margin-bottom:.35rem}
.fg input,.fg select,.fg textarea{width:100%;padding:.8em 1em;border:1.5px solid var(--line);border-radius:var(--r-sm);font-family:inherit;font-size:1rem;background:#fff;transition:border .2s}
.fg input:focus,.fg select:focus,.fg textarea:focus{outline:none;border-color:var(--leaf)}
.fg-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.upload-zone{border:1.5px dashed var(--line);border-radius:var(--r-sm);padding:1.4rem;text-align:center;color:var(--mute);cursor:pointer;transition:.2s}
.upload-zone:hover{border-color:var(--leaf);color:var(--soil)}
.reg-nav{display:flex;gap:.7rem;justify-content:space-between;margin-top:1.6rem}
.reg-err{color:#c1453f;font-size:.86rem;margin-bottom:.8rem;display:none}
.reg-err.show{display:block}
.privacy-note{font-size:.8rem;color:var(--mute);background:var(--sand);border-radius:var(--r-sm);padding:.9rem 1.1rem;margin-top:1rem;border-left:3px solid var(--teal)}
.farmer-dash{display:none}.farmer-dash.show{display:block}
.dash-welcome{background:linear-gradient(135deg,var(--leaf),var(--teal));color:#fff;border-radius:var(--r);padding:1.8rem 2rem;margin-bottom:1.4rem}
.dash-welcome h3{color:#fff}
.dash-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
.dcard{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:1.4rem;box-shadow:var(--shadow-sm)}
.dcard .ic{width:40px;height:40px;border-radius:10px;background:rgba(63,170,90,.12);display:grid;place-items:center;margin-bottom:.7rem}
.dcard .ic svg{width:22px;height:22px;stroke:var(--leaf);fill:none}
.dcard h4{margin:0 0 .2rem}.dcard p{font-size:.85rem;color:var(--mute);margin:0}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:3rem}
.contact-form{display:grid;gap:1rem}
.contact-form label{font-weight:600;font-size:.88rem;color:var(--leaf-deep);display:block;margin-bottom:.3rem}
.contact-form input,.contact-form select,.contact-form textarea{width:100%;padding:.85em 1em;border:1.5px solid var(--line);border-radius:var(--r-sm);font-family:inherit;font-size:1rem;background:#fff}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{outline:none;border-color:var(--leaf)}
.info-card{background:var(--sand);border-radius:var(--r-sm);padding:1.3rem 1.5rem;margin-bottom:1rem;display:flex;gap:1rem;align-items:flex-start}
.info-card .ic{width:42px;height:42px;flex:none;border-radius:10px;background:#fff;display:grid;place-items:center}
.info-card .ic svg{width:22px;height:22px;stroke:var(--leaf);fill:none}
.info-card h4{margin:0 0 .15rem;color:var(--leaf-deep)}.info-card p{margin:0;font-size:.95rem;color:var(--mute)}
.form-note{padding:.85em 1.1em;border-radius:var(--r-sm);font-size:.92rem;display:none}
.form-note.ok{display:block;background:#e7f3ea;color:var(--leaf-deep);border:1px solid #bbe0c4}
.gh-footer{background:var(--soil);color:rgba(255,255,255,.72);padding:60px 0 0;position:relative;z-index:2}
.gh-foot-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.2fr;gap:2.4rem;padding-bottom:40px}
.gh-footer h4{color:#fff;font-family:var(--sans);font-size:.8rem;text-transform:uppercase;letter-spacing:.14em;margin-bottom:1.1rem}
.gh-footer a{color:rgba(255,255,255,.72);display:block;padding:.28rem 0;transition:color .2s;font-size:.92rem}
.gh-footer a:hover{color:var(--leaf-bright)}
.gh-foot-brand p{font-size:.92rem;max-width:300px;margin-top:1rem}
.gh-foot-bottom{border-top:1px solid var(--line-light);padding:20px 0;display:flex;justify-content:space-between;flex-wrap:wrap;gap:.5rem;font-size:.85rem}
.gh-foot-bottom a{display:inline;color:var(--leaf-bright);font-weight:600}
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s,transform .7s}
.reveal.in{opacity:1;transform:none}
@media(max-width:900px){ .produce-grid{grid-template-columns:1fr 1fr} .team-grid{grid-template-columns:1fr} .stat-band{grid-template-columns:1fr 1fr} .gh-foot-grid{grid-template-columns:1fr 1fr} }
@media(max-width:768px){
  .gh-links{position:fixed;inset:0 0 0 auto;width:min(80vw,320px);background:var(--leaf-deep);flex-direction:column;justify-content:center;gap:1.6rem;padding:2rem;transform:translateX(100%);transition:transform .35s var(--ease)}
  .gh-links.open{transform:translateX(0)}
  .gh-links a,.scrolled .gh-links a{color:#fff}
  .gh-toggle{display:flex}
  .paths,.gh-split,.contact-grid,.dash-cards,.fg-row{grid-template-columns:1fr}
}
@media(max-width:480px){ .produce-grid{grid-template-columns:1fr} body.green-hydro{font-size:16px} .gh-hero-cta{flex-direction:column} .gh-hero-cta .btn{width:100%;justify-content:center} .reg-wrap{padding:1.6rem} .reg-steps .s span{display:none} }
