/*
Theme Name: AgroGardenTech v2.5 Logo Grande
Theme URI: https://agrogardentech.com
Author: OpenAI
Description: Tema WordPress profesional para maquinaria, jardinería, agricultura, repuestos y servicio técnico. Incluye productos, sectores, marcas, formularios y páginas dinámicas.
Version: 2.5.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: motomaq
*/
:root{--green:#224D12;--green2:#224D12;--lime:#E5D6CA;--ink:#201B1A;--muted:#5E4232;--bg:#DCDFD4;--line:#E5D6CA;--white:#FFFFFF;--red:#5E4232}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:var(--ink);background:var(--bg)}a{text-decoration:none;color:inherit}img{max-width:100%;height:auto}.site-header{position:sticky;top:0;z-index:50;background:#201B1A;color:#FFFFFF;display:flex;align-items:center;gap:24px;padding:14px max(5vw,28px);box-shadow:0 5px 22px #0002}.brand{font-size:23px;font-weight:900;letter-spacing:-.8px;white-space:nowrap}.brand b{color:var(--red)}.gear{color:var(--lime)}.site-nav{display:flex;gap:19px;align-items:center;margin-left:auto}.site-nav a{font-size:14px;opacity:.88}.site-nav a:hover,.site-nav .current-menu-item>a{color:#E5D6CA;opacity:1}.cta,.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 20px;border-radius:999px;background:var(--green2);color:#FFFFFF;font-weight:800;border:0;cursor:pointer;transition:.2s}.cta:hover,.btn:hover{filter:brightness(1.08);transform:translateY(-1px)}.menu-toggle{display:none;background:transparent;border:1px solid #FFFFFFfff55;color:white;border-radius:9px;padding:8px 11px}.hero{min-height:520px;padding:75px max(6vw,35px);display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:35px;background:linear-gradient(120deg,#201B1A,#224D12 58%,#DCDFD4)}.hero h1{font-size:clamp(42px,6vw,78px);line-height:.96;color:white;margin:12px 0 22px;letter-spacing:-3px}.hero h1 em{font-style:normal;color:#E5D6CA}.hero p{color:#DCDFD4;max-width:650px;font-size:18px;line-height:1.6}.eyebrow{font-size:13px!important;letter-spacing:2px;font-weight:900;color:#E5D6CA!important}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.ghost{background:transparent;border:1px solid #FFFFFFfff77}.hero-art{height:320px;border-radius:28px;background:radial-gradient(circle at 50% 40%,#E5D6CA,#DCDFD4);display:grid;place-items:center;font-size:130px;box-shadow:0 25px 50px #0003}.section,.page{max-width:1200px;margin:auto;padding:64px 28px}.heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px}.heading h2,.page h1{font-size:clamp(32px,4vw,48px);margin:6px 0}.heading>a{font-weight:800;color:var(--green2)}.cards,.product-grid,.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card,.product{background:#FFFFFF;border:1px solid var(--line);border-radius:18px;padding:25px;box-shadow:0 8px 24px #201B1A10;transition:.2s}.card:hover,.product:hover{transform:translateY(-4px);box-shadow:0 14px 30px #201B1A20}.icon,.pic{height:72px;width:72px;border-radius:16px;background:#E5D6CA;display:grid;place-items:center;font-size:34px}.pic{width:100%;height:190px;font-size:75px;margin-bottom:18px;background:linear-gradient(135deg,#E5D6CA,#DCDFD4);overflow:hidden}.pic img{width:100%;height:100%;object-fit:cover}.card h3,.product h3{font-size:21px;margin:18px 0 8px}.card p,.product p,.page>p,.muted{color:var(--muted);line-height:1.6}.card b,.back,.product .more{color:var(--green2);font-weight:800}.dark{max-width:1200px;margin:0 auto 25px;padding:42px;border-radius:24px;background:#201B1A;color:white;display:flex;align-items:center;justify-content:space-between;gap:30px}.dark h2{font-size:36px;margin:5px 0}.dark p{color:#DCDFD4}.light{background:white;color:var(--green)}.trust{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding-top:25px}.trust div{padding:22px;border-left:3px solid #224D12}.trust span{display:block;color:var(--muted);margin-top:6px}.product-grid{grid-template-columns:repeat(4,1fr);margin:35px 0}.product small,.price{font-weight:900;color:#224D12}.product .btn{margin-top:8px;padding:10px 16px}.detail{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:start}.detail .visual{min-height:420px;border-radius:28px;background:linear-gradient(135deg,#E5D6CA,#DCDFD4);display:grid;place-items:center;font-size:150px;overflow:hidden}.detail .visual img{width:100%;height:100%;object-fit:cover}.detail h1{font-size:50px;margin-top:0}.specs{padding:0;list-style:none}.specs li{padding:12px 0;border-bottom:1px solid var(--line)}.archive-head{background:linear-gradient(115deg,#201B1A,#224D12);color:white;padding:55px max(6vw,35px)}.archive-head .inner{max-width:1144px;margin:auto}.archive-head h1{font-size:clamp(40px,5vw,64px);margin:5px 0}.archive-head p{max-width:720px;color:#DCDFD4}.filters{display:flex;gap:10px;flex-wrap:wrap;margin:25px 0}.filter{padding:9px 14px;background:#FFFFFF;border:1px solid var(--line);border-radius:999px;font-weight:700}.filter:hover{border-color:var(--green2);color:var(--green2)}form.card{max-width:760px}label{display:block;font-weight:800;margin:16px 0 7px}input,select,textarea{width:100%;padding:14px;border:1px solid #5E4232;border-radius:10px;font:inherit;background:white}button.btn{margin-top:18px}.notice{margin:18px 0;padding:14px;border-radius:10px;background:#E5D6CA}.notice.error{background:#E5D6CA}.brand-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:30px}.brandbox{background:white;border:1px solid var(--line);border-radius:14px;padding:28px;text-align:center;font-weight:900;font-size:20px}.site-footer{background:#201B1A;color:#DCDFD4;padding:32px max(5vw,28px);display:flex;align-items:center;gap:25px;justify-content:space-between}.footer-links{display:flex;gap:18px;font-size:13px}.crumb{font-size:14px;color:var(--muted);margin-bottom:25px}.crumb a{color:var(--green2)}.content{line-height:1.75}.content h2,.content h3{margin-top:1.6em}.empty{text-align:center;padding:55px;background:#FFFFFF;border-radius:18px;border:1px solid var(--line)}@media(max-width:900px){.site-header{flex-wrap:wrap}.menu-toggle{display:block;margin-left:auto}.site-nav{display:none;order:3;width:100%;flex-direction:column;align-items:flex-start;padding:10px 0}.site-nav.open{display:flex}.header-cta{display:none}.hero{grid-template-columns:1fr}.hero-art{height:230px}.cards,.product-grid,.service-grid{grid-template-columns:repeat(2,1fr)}.detail{grid-template-columns:1fr}.brand-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.cards,.product-grid,.service-grid,.trust{grid-template-columns:1fr}.dark,.site-footer{align-items:flex-start;flex-direction:column}.hero{padding-top:48px}.hero h1{letter-spacing:-1.5px}.hero-art{font-size:90px}.detail .visual{min-height:280px}.detail h1{font-size:38px}}

/* Portada dinámica con imágenes */
.hero-slider{position:relative;height:400px;border-radius:28px;overflow:hidden;background:#E5D6CA;box-shadow:0 25px 50px #0003;isolation:isolate}.hero-slide{position:absolute;inset:0;margin:0;opacity:0;transform:scale(1.035);transition:opacity .8s ease,transform 5s ease}.hero-slide.is-active{opacity:1;transform:scale(1);z-index:1}.hero-slide img{width:100%;height:100%;display:block;object-fit:cover}.hero-slider:after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(180deg,transparent 55%,#201B1A66)}.hero-dots{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);display:flex;gap:9px;z-index:3}.hero-dot{width:10px;height:10px;border:0;border-radius:999px;padding:0;background:#FFFFFF99;cursor:pointer;transition:.25s}.hero-dot.is-active{width:30px;background:#E5D6CA}.hero-copy{position:relative;z-index:2}@media(max-width:900px){.hero-slider{height:330px}}@media(max-width:560px){.hero-slider{height:260px;border-radius:20px}}

.custom-logo{max-height:54px;width:auto;display:block}.card-image{height:150px;border-radius:14px;overflow:hidden;margin-bottom:18px;background:#E5D6CA}.card-image img{width:100%;height:100%;object-fit:cover}.service-thumb{width:100%;height:100%;object-fit:cover}
.section-photo-head{background-size:cover!important;background-position:center!important;min-height:330px;display:flex;align-items:center}.page-feature-image,.content-feature-image{max-width:1200px;margin:0 auto;overflow:hidden}.page-feature-image img{width:100%;height:min(420px,48vw);object-fit:cover;display:block}.content-feature-image{border-radius:22px;margin:20px 0 32px}.content-feature-image img{width:100%;max-height:520px;object-fit:cover;display:block}

/* Galerías editables v1.5 */
.motomaq-section-gallery{max-width:1180px;margin:28px auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;padding:0 20px}.motomaq-section-gallery figure{margin:0;overflow:hidden;border-radius:18px;background:#E5D6CA;aspect-ratio:4/3}.motomaq-section-gallery img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}.motomaq-section-gallery figure:hover img{transform:scale(1.025)}

/* AgroGardenTech logo */
.site-header .custom-logo{max-height:234px;max-width:686.4px;width:auto;height:auto;object-fit:contain}.site-footer .custom-logo{max-height:90px;max-width:240px;object-fit:contain}

/* Logo de cabecera 50% mayor que en v2.2; adaptable a móviles */
@media(max-width:560px){.site-header .custom-logo{max-width:min(686.4px,85vw);height:auto}}

/* v2.5: logotipo 60% mayor que v2.4 (234px -> 374.4px). */
.site-header{flex-wrap:wrap;min-height:0;align-items:center}
.site-header .brand{display:block;flex:0 1 auto;min-width:0;white-space:normal}
.site-header .brand .custom-logo{display:block;width:auto;height:auto;max-height:374.4px;max-width:min(100%,1098px);object-fit:contain}
.site-header .site-nav{margin-left:auto}
@media(max-width:900px){.site-header .brand{max-width:100%}.site-header .brand .custom-logo{max-width:min(100%,85vw);max-height:374.4px}}
