/*
Theme Name: Telehuerto
Description: Tema a medida para telehuerto.com (frutas y verduras a domicilio).
Version: 1.1.4
Text Domain: telehuerto
*/
:root{--dg:#2c5a2e;--g:#3f7a1c;--lg:#e8f1da;--cream:#fbf8ee;--y:#f6b928;--o:#ef7d1f;--ink:#25321f;--mut:#5c6b52;--r:22px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Trebuchet MS","Segoe UI",Helvetica,Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.65;font-size:17px}
img{max-width:100%;height:auto}
a{color:var(--dg)}
h1,h2,h3,h4{font-family:"Trebuchet MS","Segoe UI",Helvetica,Arial,sans-serif;color:var(--dg);line-height:1.18;margin:0 0 .5em;font-weight:800}
h1{font-size:clamp(2.1rem,4.6vw,3.6rem)}
h2{font-size:clamp(1.7rem,3.2vw,2.5rem)}
h3{font-size:1.35rem}
p{margin:0 0 1em}
.th-wrap{max-width:1180px;margin:0 auto;padding:0 24px}
/* top bar */
.th-top{background:var(--dg);color:#fff;font-size:.9rem}
.th-top .th-wrap{display:flex;justify-content:space-between;gap:12px;padding-top:9px;padding-bottom:9px;flex-wrap:wrap}
.th-top a{color:#fff;font-weight:700;text-decoration:none}
.th-top .y{color:var(--y)}
/* header */
.th-head{background:#fff;position:sticky;top:0;z-index:50;box-shadow:0 2px 14px rgba(44,90,46,.10)}
.th-head .th-wrap{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:84px}
.th-brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.th-brand img{height:62px;width:auto;border-radius:12px}
.th-brand span{font-weight:900;font-size:1.55rem;color:var(--dg);letter-spacing:.5px}
.th-nav ul{list-style:none;display:flex;gap:6px;margin:0;padding:0}
.th-nav a{display:block;padding:10px 16px;border-radius:999px;text-decoration:none;color:var(--ink);font-weight:700}
.th-nav a:hover,.th-nav .current-menu-item>a{background:var(--lg);color:var(--dg)}
.th-burger{display:none;background:var(--lg);border:0;border-radius:12px;width:46px;height:46px;font-size:1.4rem;color:var(--dg);cursor:pointer}
/* buttons */
.wp-block-buttons{display:flex;gap:14px;flex-wrap:wrap;margin:1.2em 0 0}
.wp-block-button__link,.th-btn{display:inline-block;background:var(--g);color:#fff!important;font-weight:800;text-decoration:none;padding:15px 30px;border-radius:999px;box-shadow:0 6px 0 var(--dg);transition:transform .15s,box-shadow .15s;border:0;font-size:1rem}
.wp-block-button__link:hover,.th-btn:hover{transform:translateY(3px);box-shadow:0 3px 0 var(--dg)}
.is-style-outline .wp-block-button__link,.th-btn.alt{background:#fff;color:var(--dg)!important;box-shadow:0 6px 0 var(--lg);border:2px solid var(--dg)}
.th-yellow .wp-block-button__link{background:var(--y);color:var(--dg)!important;box-shadow:0 6px 0 #b8861a}
.th-head .th-btn{padding:12px 24px;box-shadow:0 4px 0 var(--dg)}
/* hero */
.th-hero{background:var(--cream);position:relative;overflow:hidden;padding:70px 0 90px}
.th-hero:before{content:"";position:absolute;right:-140px;top:-120px;width:560px;height:560px;border-radius:50%;background:var(--lg)}
.th-hero:after{content:"";position:absolute;left:-90px;bottom:-110px;width:300px;height:300px;border-radius:50%;background:#fdebb8}
.th-hero .th-wrap{position:relative;z-index:2;display:grid;grid-template-columns:1.15fr .85fr;gap:40px;align-items:center}
.th-eyebrow{display:inline-block;color:#a84a00;font-weight:800;text-transform:uppercase;letter-spacing:2px;font-size:.85rem;margin:0 0 .8em}
.th-lead{font-size:1.35rem;font-weight:700;color:var(--g);margin-bottom:.6em}
.th-hero-art img{border-radius:50%;border:10px solid #fff;box-shadow:0 20px 50px rgba(44,90,46,.25);display:block;margin:0 auto;max-width:430px;width:100%}
.th-small{color:var(--mut);font-weight:700;margin-top:1.4em}
/* feature strip */
.th-strip{margin-top:-46px;position:relative;z-index:5}
.th-strip .th-wrap>.wp-block-group{display:grid;grid-template-columns:repeat(4,1fr);gap:0;background:var(--dg);border-radius:var(--r);overflow:hidden;box-shadow:0 18px 40px rgba(44,90,46,.28)}
.th-strip .wp-block-group .wp-block-group{padding:28px 26px;border-right:1px solid rgba(255,255,255,.18)}
.th-strip .wp-block-group .wp-block-group:last-child{border:0}
.th-strip h3{color:var(--y);font-size:1.15rem;margin-bottom:.3em}
.th-strip p{color:#e9f3dc;margin:0;font-size:.97rem}
/* sections */
.th-section{padding:84px 0}
.th-section.tint{background:var(--cream)}
.th-section.green{background:var(--lg)}
.th-center{text-align:center}
.th-center .wp-block-buttons{justify-content:center}
.th-head2{max-width:720px;margin:0 auto 46px;text-align:center}
.th-two{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.th-three{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.th-four{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.th-card{background:#fff;border-radius:var(--r);padding:38px 34px;box-shadow:0 10px 34px rgba(44,90,46,.12);border-bottom:6px solid var(--g)}
.th-card.o{border-color:var(--o)}
.th-card.y{border-color:var(--y)}
.th-card h3{margin-top:0}
.th-card .tag{font-weight:800;color:var(--g);font-size:1.12rem}
.th-step{text-align:center;padding:10px 20px}
.th-step .n{width:76px;height:76px;border-radius:50%;background:var(--y);color:var(--dg);font-size:2rem;font-weight:900;display:flex;align-items:center;justify-content:center;margin:0 auto 18px;box-shadow:0 6px 0 #b8861a}
.th-why{background:#fff;border-radius:var(--r);padding:28px 24px;border:2px dashed #b7d38e}
.th-why h3{font-size:1.15rem;color:var(--g);margin-bottom:.4em}
.th-band{background:var(--dg);color:#fff;border-radius:calc(var(--r) + 8px);padding:60px 40px;text-align:center;position:relative;overflow:hidden}
.th-band h2{color:#fff}
.th-band p{color:#e1eed0}
.th-band .th-phone{font-size:1.4rem;font-weight:800;color:var(--y)}
.th-list{list-style:none;padding:0;margin:0}
.th-list li{padding:12px 0 12px 42px;position:relative;font-weight:700;border-bottom:1px dashed #cfe0b4}
.th-list li:before{content:"✓";position:absolute;left:0;top:10px;width:28px;height:28px;border-radius:50%;background:var(--g);color:#fff;text-align:center;line-height:28px;font-size:.95rem}
.th-page{padding:72px 0 90px}
.th-pagehero{background:var(--cream);padding:64px 0 54px;position:relative;overflow:hidden}
.th-pagehero:before{content:"";position:absolute;right:-90px;top:-100px;width:360px;height:360px;border-radius:50%;background:var(--lg)}
.th-pagehero .th-wrap{position:relative}
.th-pagehero h1{margin:0;max-width:880px}
.th-narrow{max-width:820px}
.th-phone-line{font-weight:800;font-size:1.2rem}
details{background:#fff;border:2px solid var(--lg);border-radius:16px;padding:6px 22px;margin-bottom:14px}
details[open]{border-color:var(--g)}
summary{cursor:pointer;font-weight:800;color:var(--dg);padding:14px 0;font-size:1.08rem}
/* footer */
.th-foot{background:var(--dg);color:#d8e8c6;padding:60px 0 0}
.th-foot .th-wrap{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px}
.th-foot h4{color:var(--y);font-size:1.1rem}
.th-foot a{color:#fff;text-decoration:none}
.th-foot ul{list-style:none;margin:0;padding:0}
.th-foot li{margin:0 0 .5em}
.th-foot .brand{display:flex;gap:12px;align-items:center;margin-bottom:14px}
.th-foot .brand img{height:56px;border-radius:12px}
.th-foot .brand b{color:#fff;font-size:1.4rem}
.th-copy{border-top:1px solid rgba(255,255,255,.15);margin-top:40px;padding:18px 0;text-align:center;font-size:.9rem}
.th-wa{position:fixed;right:20px;bottom:20px;z-index:99;width:62px;height:62px;border-radius:50%;background:#25d366;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 22px rgba(0,0,0,.28)}
.th-wa svg{width:34px;height:34px;fill:#fff}
@media(max-width:900px){
 .th-hero .th-wrap,.th-two,.th-three,.th-foot .th-wrap{grid-template-columns:1fr}
 .th-four,.th-strip .th-wrap>.wp-block-group{grid-template-columns:1fr 1fr}
 .th-strip .wp-block-group .wp-block-group{border-right:0;border-bottom:1px solid rgba(255,255,255,.18)}
 .th-burger{display:block}
 .th-nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;box-shadow:0 14px 20px rgba(0,0,0,.1);padding:10px 24px 20px}
 .th-nav.open{display:block}
 .th-nav ul{flex-direction:column}
 .th-head .th-btn{display:none}
 .th-hero{padding:46px 0 80px}
 .th-hero-art{order:-1}
 .th-hero-art img{max-width:280px}
 .th-section{padding:60px 0}
}
@media(max-width:560px){.th-four,.th-strip .th-wrap>.wp-block-group{grid-template-columns:1fr}.th-top .hide{display:none}.th-brand span{font-size:1.25rem}}
.wp-block-buttons.th-center{justify-content:center}.th-band .wp-block-buttons{justify-content:center}.th-hero .wp-block-buttons{justify-content:flex-start}
.th-content .wp-block-buttons{margin:1.2em 0 2.2em}.th-content .th-band{margin-top:1.5em}.th-band h2,.th-band h3,.th-band p{color:#fff}.th-band .wp-block-button__link{color:#2b4a1f}.th-band a.th-phone{color:#f6b928}.th-content h3{margin-top:1em}
.th-eu{text-align:center;padding:26px 0 8px;border-top:1px solid rgba(255,255,255,.18);margin-top:22px}.th-eu img{display:inline-block;max-width:100%;height:auto;width:460px}@media(max-width:560px){.th-eu img{width:100%;max-width:340px}}
.th-eu{grid-column:1/-1}
.th-eu{grid-column:auto;text-align:left;border:0;margin:18px 0 0;padding:0}.th-eu img{width:100%;max-width:300px}
.th-eu{grid-column:1/-1;text-align:center;border-top:1px solid rgba(255,255,255,.18);margin:26px 0 0;padding:26px 0 8px}
.th-eu img{width:100%;max-width:620px;height:auto}
.th-lang{margin-left:14px;display:inline-block;vertical-align:middle}
.th-lang a{display:inline-flex;align-items:center;gap:4px;margin-left:8px;color:#fff}
.th-lang img{vertical-align:middle}
@media(max-width:560px){.th-eu img{max-width:100%}.th-top .th-wrap{justify-content:center}}
.th-foot .th-wrap{grid-template-columns:1.4fr 1fr 1fr 1.1fr}@media(max-width:900px){.th-foot .th-wrap{grid-template-columns:1fr 1fr}}@media(max-width:560px){.th-foot .th-wrap{grid-template-columns:1fr}}
