/*
Theme Name: Recambios Serrano
Description: Web de Recambios Serrano.
Version: 6.0
Author: Recambios Serrano
*/
:root{--green:#78B82A;--green-dark:#4f7f13;--green-soft:#eef8e3;--ink:#1a2118;--muted:#667064;--line:#dfe7d9;--white:#fff;--orange:#f06d16;--max:1180px;--shadow:0 14px 35px rgba(24,39,12,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#f7f9f5;line-height:1.55}img{display:block;max-width:100%}a{color:inherit}.container{width:min(var(--max),calc(100% - 36px));margin:auto}.section{padding:54px 0;scroll-margin-top:90px}.kicker{color:var(--green-dark);font-size:.72rem;letter-spacing:.13em;text-transform:uppercase;font-weight:950}h1,h2,h3{margin-top:0;color:var(--green-dark)}
.topbar{background:var(--green);color:#fff;font-size:.78rem}.topbar-inner{height:34px;display:flex;justify-content:flex-end;align-items:center}.topbar a{font-weight:900;text-decoration:none;color:#fff}
header{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid var(--line)}.header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:22px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none}.brand img{width:51px;height:51px;object-fit:contain}.brand-name{font-size:1.12rem;line-height:1;font-weight:950;color:var(--green-dark);letter-spacing:-.035em}.brand-sub{font-size:.65rem;color:var(--muted);font-weight:800;margin-top:4px}nav{display:flex;gap:3px;align-items:center}nav a{padding:8px 10px;border-radius:9px;text-decoration:none;font-size:.82rem;font-weight:850}nav a:hover{background:var(--green-soft);color:var(--green-dark)}
.hero{position:relative;min-height:535px;background:var(--hero-image) center/cover no-repeat;display:flex;align-items:flex-end;overflow:hidden}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(16,25,7,.78),rgba(16,25,7,.18) 70%),linear-gradient(0deg,rgba(0,0,0,.48),transparent 55%)}.hero-content{position:relative;color:#fff;padding:68px 0 58px;max-width:850px}.hero-badge{display:inline-block;background:rgba(120,184,42,.94);padding:8px 12px;border-radius:8px;font-size:.72rem;font-weight:950;letter-spacing:.06em;text-transform:uppercase}.hero h1{color:#fff;font-size:clamp(2.5rem,5.8vw,5rem);line-height:.96;letter-spacing:-.06em;margin:14px 0 16px;max-width:780px}.hero p{font-size:1.1rem;max-width:690px;margin:0;color:rgba(255,255,255,.94)}.actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.btn{display:inline-flex;min-height:45px;padding:10px 16px;border-radius:9px;align-items:center;justify-content:center;text-decoration:none;font-weight:950;font-size:.82rem}.btn-primary{background:var(--green);color:#fff}.btn-light{background:#fff;color:var(--green-dark)}
.trust-strip{background:#fff;border-bottom:1px solid var(--line)}.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);padding:20px 0}.trust-grid>div{padding:4px 18px;border-right:1px solid var(--line)}.trust-grid>div:last-child{border:0}.trust-grid strong{display:block;color:var(--green-dark);font-size:1.2rem}.trust-grid span{display:block;color:var(--muted);font-size:.76rem;font-weight:700}
.attention{background:var(--green-soft)}.attention-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:48px;align-items:center}.attention h2,.section-head h2,.history h2,.contact-final h2{font-size:clamp(2rem,4.2vw,3.35rem);line-height:1.02;letter-spacing:-.055em;margin:6px 0 14px}.lead{font-size:1.03rem;color:#364036}.attention-points{margin-top:25px;display:grid;gap:10px}.attention-points>div{display:grid;grid-template-columns:40px 1fr;gap:12px;padding:12px 0;border-top:1px solid rgba(79,127,19,.18)}.attention-points b{color:var(--green);font-size:.8rem}.attention-points strong{display:block;color:var(--green-dark)}.attention-points span{font-size:.86rem}.counter-visual{position:relative;border-radius:22px;overflow:hidden;box-shadow:var(--shadow);background:#fff}.counter-visual img{width:100%;aspect-ratio:16/10;object-fit:cover}.visual-label{position:absolute;left:16px;bottom:16px;background:rgba(255,255,255,.94);color:var(--green-dark);padding:9px 12px;border-radius:8px;font-size:.75rem;font-weight:950}
.products{background:#fff}.section-head{max-width:800px;margin-bottom:27px}.section-head p{color:var(--muted);margin:0}.product-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:16px}.product-card{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff;box-shadow:var(--shadow);display:flex;flex-direction:column}.product-card img{width:100%;height:240px;object-fit:cover;background:#edf3e9}.product-card.featured img{height:280px}.product-card>div{padding:17px}.product-card span{font-size:.68rem;font-weight:950;color:var(--green)}.product-card h3{font-size:1.5rem;margin:5px 0}.product-card p{color:var(--muted);margin:0;font-size:.86rem}
.history{background:#f1f5ee}.history-grid{display:grid;grid-template-columns:180px 1fr;gap:35px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:30px}.history-year{font-size:clamp(3.5rem,8vw,6rem);line-height:.85;font-weight:950;color:var(--green)}.history-copy h3{font-size:1.7rem;margin:0 0 8px}.history-copy p{color:var(--muted)}.history-now{margin-top:24px;padding:18px 20px;border-left:5px solid var(--green);background:var(--green-soft)}.history-now span{font-weight:950;color:var(--green-dark)}.history-now p{margin:5px 0 0}
.stores{background:#fff}.store-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.store{display:grid;grid-template-columns:190px 1fr;border:1px solid var(--line);border-radius:17px;overflow:hidden;background:#fff}.store-image{min-height:240px;background:#e8eee2}.store-image img{width:100%;height:100%;object-fit:cover}.store-body{padding:18px}.store-kicker{font-size:.67rem;color:var(--green);font-weight:950;text-transform:uppercase;letter-spacing:.08em}.store h3{font-size:1.1rem;line-height:1.15;margin:5px 0}.store address{font-style:normal;color:var(--muted);font-size:.82rem}.store-hours{display:inline-block;margin:11px 0 9px;color:var(--green-dark);font-weight:950;font-size:.77rem}.store-actions{display:flex;gap:6px;flex-wrap:wrap}.store-actions a{background:var(--green-soft);padding:7px 9px;border-radius:8px;text-decoration:none;font-size:.72rem;font-weight:900;color:var(--green-dark)}.map{display:inline-block;margin-top:10px;text-decoration:none;background:var(--green);color:#fff;padding:9px 11px;border-radius:9px;font-size:.76rem;font-weight:950;box-shadow:0 4px 12px rgba(0,0,0,.08)}.map:hover{filter:brightness(.95)}
.andel-section{padding:54px 0;background:var(--green-dark)}.andel-panel{background:#fff;border-radius:22px;padding:28px;box-shadow:var(--shadow)}.andel-head{display:flex;align-items:center;gap:20px;border-bottom:1px solid var(--line);padding-bottom:20px}.andel-logo{display:flex;align-items:center;gap:7px;min-width:145px}.andel-mark{width:38px;height:38px;border-radius:9px;display:grid;place-items:center;background:#f07b1f;color:#fff;font-weight:950}.andel-word{font-weight:950;font-size:1.45rem;letter-spacing:.04em;color:#2e4855}.andel-logo small{color:#69736f;font-weight:800;font-size:.63rem;margin-left:-3px}.andel-head h2{font-size:clamp(1.8rem,3.5vw,3rem);line-height:1;margin:5px 0 0}.andel-content{display:grid;grid-template-columns:1fr .9fr;gap:30px;align-items:center;padding-top:24px}.andel-lead{font-size:1.18rem;color:#273128;font-weight:800}.andel-content p{color:var(--muted)}.andel-facts{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.andel-facts span{background:var(--green-soft);color:var(--green-dark);padding:8px 10px;border-radius:8px;font-size:.73rem;font-weight:900}.andel-photo{border-radius:16px;overflow:hidden}.andel-photo img{width:100%;aspect-ratio:4/3;object-fit:cover}
.contact-final{background:#fff}.contact-final-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:30px;align-items:center}.contact-box{border:1px solid var(--line);border-radius:16px;padding:22px;background:var(--green-soft);display:grid;gap:7px}.contact-box strong{font-size:1.15rem;color:var(--green-dark)}.contact-box span{font-size:.84rem;color:var(--muted)}.contact-box a{font-weight:950;text-decoration:none;color:var(--green-dark)}.client-section{background:#17250a;color:#fff;padding:34px 0}.client-inner{display:flex;justify-content:space-between;align-items:center;gap:20px}.client-section .kicker{color:#a9db68}.client-section h2{color:#fff;margin:3px 0}.client-section p{color:#d5ddcf;margin:0}.portal{background:#fff;color:var(--green-dark);padding:11px 15px;border-radius:9px;text-decoration:none;font-weight:950;font-size:.82rem;white-space:nowrap}
footer{background:#101900;color:#b8c3ae}.footer{padding:32px 0 18px;display:flex;justify-content:space-between;gap:20px;font-size:.8rem}.footer strong{color:#fff}.footer a{color:#d2dcc9;text-decoration:none;display:block;margin-top:3px}.footer .admin a{opacity:.35;font-size:.68rem}.bottom{text-align:center;border-top:1px solid rgba(255,255,255,.1);padding:11px 0;font-size:.68rem;color:#839078}
.basic-page{padding:70px 0}
@media(max-width:900px){nav{display:none}.trust-grid{grid-template-columns:1fr 1fr}.trust-grid>div:nth-child(2){border-right:0}.attention-grid,.andel-content,.contact-final-grid{grid-template-columns:1fr}.product-grid{grid-template-columns:1fr 1fr}.product-card.featured{grid-column:span 2}.store-grid{grid-template-columns:1fr}.history-grid{grid-template-columns:1fr}.history-year{font-size:4.5rem}.andel-head{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.container{width:min(var(--max),calc(100% - 26px))}.brand-sub{display:none}.hero{min-height:510px}.hero-content{padding:55px 0 40px}.hero h1{font-size:clamp(2.35rem,12vw,4rem)}.trust-grid{grid-template-columns:1fr 1fr}.product-grid{grid-template-columns:1fr}.product-card.featured{grid-column:auto}.store{grid-template-columns:1fr}.store-image{min-height:190px}.section{padding:42px 0}.andel-panel{padding:20px}.footer{display:block}.footer>div{margin-bottom:14px}.client-inner{display:block}.portal{display:inline-flex;margin-top:15px}}
/* v8 corrections */
.hero{position:relative;overflow:hidden;background:#1e2a1b}
.hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0}
.hero-shade{position:absolute;inset:0;z-index:1}
.hero-content{position:relative;z-index:2}
.counter-visual img{width:100%;height:100%;min-height:360px;object-fit:cover}
.product-card img,.store-image img{display:block;width:100%;object-fit:cover}
.store-image img{height:220px}
.product-card img{height:270px}
.section{padding-top:58px;padding-bottom:58px}
@media(max-width:700px){.section{padding-top:38px;padding-bottom:38px}.store-image img{height:190px}.product-card img{height:220px}}

/* v10 refinements */
.hero-photo{object-position:center center}
.andel-logo{display:flex;align-items:center;min-width:230px;max-width:280px;background:#fff;border-radius:12px;padding:10px 14px}
.andel-logo img{display:block;width:100%;height:auto;max-height:86px;object-fit:contain}
.store-image img{width:100%;height:230px;object-fit:cover;display:block}
@media(max-width:760px){.andel-head{align-items:flex-start;flex-direction:column}.andel-logo{min-width:180px;max-width:220px}.store-image img{height:210px}}

/* v11: lectura y fotos de tiendas */
body{font-weight:600;font-size:16px}.section-head p,.lead,.attention-points span,.history-copy p,.history-now p,.product-card p,.store address,.contact-box span,.client-section p,.andel-content p{font-weight:650;font-size:1rem}.store-image{background:var(--green-soft);display:flex;align-items:center;justify-content:center}.store-image.image-missing:after{content:"Recambios Serrano";color:var(--green-dark);font-weight:950;font-size:1.1rem}.store-image.image-missing img{display:none!important}.topbar,.brand-sub,nav a,.store-kicker,.store-hours,.map,.btn,.portal,.footer{font-weight:900}
