/*
Theme Name: HerbaCasa Fresh — Barcelona
Theme URI: https://herbacasa.com
Author: HerbaCasa
Description: Bilingual Barcelona urban farm theme, with interest and sample requests.
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: herbacasa-fresh
*/
:root{--forest:#113e2a;--leaf:#319b56;--lime:#c8f368;--cream:#f6f9ee;--ink:#153f2c;--muted:#557263}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:'Arial',sans-serif;color:var(--ink);background:var(--cream)}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}button{cursor:pointer}.container{max-width:1310px;margin:auto;padding-left:32px;padding-right:32px}.header{position:relative;z-index:20;background:rgba(255,255,255,.96);box-shadow:0 4px 25px #183e2914}.header-inner{height:86px;display:flex;align-items:center;justify-content:space-between;gap:22px}.logo{display:flex;align-items:center;gap:13px;color:var(--forest);font-size:27px;font-weight:900;letter-spacing:-1.3px}.mark{display:inline-flex;width:44px;height:44px;background:var(--lime);border-radius:14px;justify-content:center;align-items:center;font-size:30px;transform:rotate(-8deg)}.logo small{display:block;font-size:10px;letter-spacing:2px;font-weight:700}.nav{display:flex;align-items:center;gap:24px;font-size:13px;font-weight:750}.nav a:hover,.nav a:focus{color:var(--leaf)}.nav .action{background:var(--forest);color:#fff;padding:12px 16px;border-radius:6px}.language{display:flex;gap:7px;font-size:12px;font-weight:900}.language a{padding:8px 9px;border-radius:5px}.language a.active{background:var(--lime)}.hero{position:relative;min-height:660px;overflow:hidden;background:var(--forest);color:#fff}.slides{position:absolute;inset:0}.slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .7s,visibility .7s}.slide.active{opacity:1;visibility:visible}.slide-photo{position:absolute;inset:0;background-position:center;background-size:cover;filter:saturate(1.12)}.slide:nth-child(1) .slide-photo{background-image:linear-gradient(90deg,#0b291df5 5%,#103b29d1 40%,#103b2960 100%),url('https://herbacasa.com/wp-content/uploads/2026/11/Brotes-de-lechuga-hidroponica-—-fotografia-de-referencia-Laura-Geror.jpg')}.slide:nth-child(2) .slide-photo{background-image:linear-gradient(90deg,#0b291df2 5%,#103b29d6 45%,#103b2970 100%),url('https://herbacasa.com/wp-content/uploads/2026/11/Cultivo-hidroponico-urbano-—-fotografia-de-referencia-Altifarm-Enverde.jpg')}.hero-inner{position:relative;z-index:2;max-width:1310px;margin:auto;padding:96px 32px 120px}.eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:11px;letter-spacing:.2em;font-weight:900;text-transform:uppercase;color:var(--lime)}.eyebrow:before{content:'✳';font-size:19px}.hero h1{font-size:clamp(57px,7vw,110px);line-height:.98;letter-spacing:-.075em;max-width:870px;margin:29px 0}.hero h1 em,.section h2 em{font-family:Georgia,serif;font-weight:400;color:var(--lime)}.hero p{font-size:clamp(17px,1.7vw,21px);max-width:670px;line-height:1.62;color:#e6f0e4}.btn{display:inline-flex;align-items:center;justify-content:center;gap:18px;border:0;border-radius:5px;background:var(--lime);color:var(--forest);font-size:14px;font-weight:900;padding:17px 24px;transition:transform .2s}.btn:hover{transform:translateY(-2px)}.btn-outline{color:#fff;background:transparent;border:1px solid #b5c6b6}.hero-buttons{display:flex;gap:13px;flex-wrap:wrap;margin-top:34px}.slider-controls{position:absolute;z-index:10;bottom:38px;left:max(32px,calc((100vw - 1246px)/2));display:flex;align-items:center;gap:12px}.dot{width:34px;height:5px;background:#dce7d688;border:0;border-radius:20px;padding:0}.dot.active{background:var(--lime)}.slide-count{font-size:12px;font-weight:900;letter-spacing:.1em;margin-left:12px}.photo-disclaimer{position:absolute;right:28px;bottom:25px;color:#ebf2e3;font-size:10px;z-index:10;opacity:.75}.strip{background:var(--lime);padding:23px 0}.strip-inner{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;font-weight:900;letter-spacing:.11em;font-size:11px}.section{padding:105px 0}.section h2{font-size:clamp(44px,5.4vw,80px);line-height:1.06;letter-spacing:-.065em;margin:18px 0 24px}.section h2 em{color:var(--leaf)}.intro-grid{display:grid;grid-template-columns:.9fr 1.5fr;gap:85px}.intro-grid p{font-size:20px;line-height:1.7;color:var(--muted)}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:35px}.stat{background:#fff;border-radius:8px;padding:28px 24px;min-height:230px}.stat .n{font-size:12px;color:var(--leaf);font-weight:900}.stat h3{font-size:25px;letter-spacing:-1px;margin:15px 0}.stat p{color:var(--muted);line-height:1.6;font-size:14px}.green{background:#e8f4dd}.dark{background:var(--forest);color:#fff}.dark p{color:#e5eee6}.dark h2 em{color:var(--lime)}.two-col{display:grid;grid-template-columns:1.2fr 1fr;gap:90px;align-items:center}.two-col p{font-size:18px;line-height:1.75}.pilot-card{background:#d0f19f;color:var(--forest);padding:45px;transform:rotate(2deg);border-radius:7px}.pilot-card strong{display:block;font-size:42px;letter-spacing:-2px;line-height:1.1;margin:15px 0}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:32px}.crop{background:#fff;padding:30px;min-height:230px}.crop span{font-size:11px;letter-spacing:.1em;font-weight:900;color:var(--leaf)}.crop h3{font-size:29px;letter-spacing:-1px}.crop p{font-size:15px;line-height:1.65;color:var(--muted)}.crop:last-child{background:var(--lime)}.forms-intro{max-width:820px}.form-tabs{display:flex;gap:10px;margin:30px 0 0;flex-wrap:wrap}.form-tab{background:#e8eee5;border:1px solid #aecab3;color:var(--forest);padding:15px 19px;font-weight:900;border-radius:6px}.form-tab.active{background:var(--forest);color:#fff}.form-panel{display:none;background:white;border:1px solid #d8e3d7;border-radius:10px;padding:34px;margin-top:14px;box-shadow:0 14px 30px #123e2911}.form-panel.active{display:block}.form-panel h3{font-size:26px;margin:0 0 7px}.form-panel>p{color:var(--muted);margin-bottom:22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px}.field{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:800}.field input,.field select,.field textarea{border:1px solid #b7c8b9;border-radius:5px;padding:13px;color:var(--forest);background:#fff;min-height:48px}.field textarea{min-height:115px}.field.wide{grid-column:1/-1}.consent{display:flex;gap:12px;align-items:start;margin:20px 0;font-size:13px;line-height:1.6}.consent input{margin-top:5px}.help{color:var(--muted);font-size:12px;line-height:1.6}.status{padding:14px 18px;margin:12px 0;border-radius:6px;background:#e3f7dd;color:#153b2b}.status.error{background:#ffe3dc;color:#712f24}.other-fields[hidden]{display:none}.herbs{display:grid;grid-template-columns:1fr 160px;align-items:center;gap:32px;border-top:1px solid #d3e3ce;padding:44px 0}.herbs h3{font-size:32px;letter-spacing:-1px;margin:10px 0}.herbs img{max-width:120px;max-height:170px;object-fit:contain}.footer{background:#0a2a1c;color:#edf5e9;padding:55px 0}.footer-inner{display:flex;justify-content:space-between;gap:22px;align-items:start}.footer a{text-decoration:underline}.footer p{color:#b8ceb9;font-size:13px;line-height:1.6}.wp-block-post-content{max-width:1200px;margin:30px auto;padding:0 30px}.shop-content{max-width:1200px;margin:0 auto;padding:60px 30px}.demo-notice{padding:10px;background:#e7f2dd;color:var(--forest);text-align:center;font-size:13px}.mobile-toggle{display:none}@media(max-width:900px){.nav{gap:11px;flex-wrap:wrap}.nav a{font-size:11px}.intro-grid,.two-col{grid-template-columns:1fr;gap:20px}.stat-grid,.cards{grid-template-columns:repeat(2,1fr)}.hero{min-height:610px}.pilot-card{transform:none}}@media(max-width:650px){.container{padding-left:20px;padding-right:20px}.header-inner{height:auto;min-height:80px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}.logo{font-size:23px}.nav{order:3;width:100%;overflow:auto;flex-wrap:nowrap;white-space:nowrap;padding-bottom:7px}.nav a{font-size:12px}.hero-inner{padding:75px 20px 125px}.hero h1{font-size:56px}.section{padding:65px 0}.section h2{font-size:46px}.stat-grid,.cards,.form-grid{grid-template-columns:1fr}.field.wide{grid-column:auto}.form-panel{padding:22px}.footer-inner{flex-direction:column}.slider-controls{left:20px}.photo-disclaimer{right:12px;font-size:9px}.herbs{grid-template-columns:1fr 90px}}

.woocommerce ul.products{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px}.woocommerce ul.products li.product{width:auto!important;float:none!important;background:#fff;padding:22px;border-radius:8px}.woocommerce a.button,.woocommerce button.button{background:#c8f368;color:#103c29;border-radius:5px}.woocommerce div.product{max-width:1180px;margin:40px auto}.woocommerce .price{color:#237c48}.hero .slide h1{max-width:850px}.lead-form label{margin-bottom:4px}.lead-form input:focus-visible,.lead-form select:focus-visible,.lead-form textarea:focus-visible{outline:2px solid #319b56;outline-offset:2px}

/* V2: sequential customer journey */
.hc-steps{display:grid;grid-template-columns:1fr;gap:28px;margin-top:34px}.hc-steps .form-panel{display:block!important;margin-top:0;scroll-margin-top:25px}.hc-steps .form-panel:nth-child(2){background:#f6faee}.hc-steps .form-panel:nth-child(3){background:#eaf5de}.hc-steps .form-step{font-size:12px;font-weight:900;letter-spacing:.16em;color:#28874c;margin-bottom:14px}.hc-steps .form-panel h3{font-size:clamp(26px,3vw,43px);letter-spacing:-.05em}.hc-steps .form-panel>p{font-size:17px;max-width:840px}.hc-steps .form-panel .lead-form{margin-top:20px}.hc-steps .form-panel .btn{margin-top:5px}.hc-steps .form-panel .field input,.hc-steps .form-panel .field select,.hc-steps .form-panel .field textarea{width:100%;min-width:0}.hc-steps .form-panel .lead-form{max-width:1000px}

/* HerbaCasa v1.3: unified Productos catalogue */
.hc-products-hero{background:linear-gradient(115deg,#103623 0%,#235941 100%);color:#fff;padding:90px 0}.hc-products-hero .eyebrow{color:var(--lime)}.hc-products-hero h1{font-size:clamp(45px,5.7vw,78px);line-height:1.02;letter-spacing:-.065em;max-width:890px;margin:20px 0}.hc-products-hero p{font-size:20px;max-width:790px;color:#e3f0e2;line-height:1.6}.hc-products-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:27px}.hc-products-section{padding:88px 0;scroll-margin-top:20px}.hc-products-section-head{display:flex;justify-content:space-between;align-items:end;gap:22px;margin-bottom:30px}.hc-products-section h2{font-size:clamp(38px,4.5vw,61px);letter-spacing:-.055em;line-height:1.08;margin:14px 0}.hc-products-section p{line-height:1.7;color:var(--muted);font-size:17px;max-width:780px}.hc-products-kicker{font-size:11px;font-weight:900;letter-spacing:.14em;color:#338a4d}.hc-products-shop-link{color:#22583a;text-decoration:underline;font-weight:800;white-space:nowrap;padding-bottom:10px}.hc-products-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}.hc-products-card{background:#fff;border:1px solid #d9e7d2;border-radius:12px;overflow:hidden;box-shadow:0 14px 25px #183e2910;display:grid;grid-template-columns:180px 1fr;min-height:265px}.hc-products-img{background:#edf5e7;display:grid;place-items:center;overflow:hidden}.hc-products-img img{width:100%;height:100%;max-height:350px;object-fit:contain;padding:15px}.hc-products-farm-img img{padding:0;object-fit:cover}.hc-products-card-body{padding:26px;display:flex;flex-direction:column}.hc-products-card h3{font-size:26px;letter-spacing:-.04em;margin:12px 0}.hc-products-card p{font-size:14px;margin:0 0 12px}.hc-products-label{color:#318a51;font-size:11px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}.hc-products-card-end{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:auto;flex-wrap:wrap}.hc-products-card-end strong{font-size:21px}.hc-products-card-end .amount{font-size:21px}.hc-products-card-button{border-radius:5px;background:var(--forest);color:#fff;padding:12px 15px;font-size:12px;font-weight:900}.hc-products-card-button:hover{background:#267747}.hc-products-unavailable{font-size:12px;color:#7b7b7b;font-weight:700}.hc-products-fresh{background:#e9f4dd}.hc-products-photo-note{font-size:12px!important;margin-top:18px}.hc-products-enquiry{background:#fff}.hc-products-enquiry-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:7%;align-items:start}.hc-products-enquiry .lead-form{border:1px solid #d6e5cf;border-radius:10px;background:#f7faef;padding:26px}.hc-products-small{font-size:14px!important}.hc-products-next{background:var(--lime)}.hc-products-next .hc-products-kicker{color:var(--forest)}.hc-products-next .btn{background:var(--forest);color:#fff}.hc-products-next p{color:#31563c}
@media(max-width:1000px){.hc-products-grid{grid-template-columns:1fr}.hc-products-enquiry-grid{grid-template-columns:1fr;gap:25px}}
@media(max-width:650px){.hc-products-hero{padding:60px 0}.hc-products-hero p{font-size:17px}.hc-products-section{padding:60px 0}.hc-products-section-head{flex-direction:column;align-items:start}.hc-products-card{grid-template-columns:115px 1fr;min-height:220px}.hc-products-card-body{padding:15px}.hc-products-card h3{font-size:21px}.hc-products-card-end{align-items:start}.hc-products-card-end strong{font-size:18px}}
