:root{
  --ink:#0f1114; --ink2:#1a1e22; --steel:#5b6770; --line:#d3d9de;
  --paper:#f1f3f5; --white:#fff; --red:#1c69d4; --red-d:#1555ad; --sky:#81c4ff;
  --head:"Barlow Condensed","Arial Narrow",Arial,sans-serif;
  --body:"Barlow",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--body);font-size:1.0625rem;line-height:1.6;color:var(--ink);background:var(--paper);overflow-x:hidden}
img{max-width:100%;height:auto}
a{color:inherit}
:focus-visible{outline:3px solid var(--sky);outline-offset:3px}
.wrap{width:100%;max-width:1120px;margin:0 auto;padding:0 1.25rem}
h1,h2,h3{font-family:var(--head);line-height:1.05;letter-spacing:.01em}
h2{font-size:clamp(2rem,4.5vw,3rem);font-weight:800;margin-bottom:1rem}
h3{font-size:1.5rem;font-weight:700}
p{max-width:62ch}
section{padding:4.5rem 0}
.intro{color:#fff;;margin-bottom:2.5rem}

.btn{display:inline-block;background:var(--red);color:#fff;font:inherit;font-weight:600;padding:.8rem 1.4rem;text-decoration:none;border:2px solid var(--red);cursor:pointer;text-align:center}
.btn:hover{background:var(--red-d);border-color:var(--red-d)}
.btn.ghost{background:transparent;border-color:#fff;color:#fff}
.btn.ghost:hover{background:#fff;color:var(--ink)}

.top{background:var(--ink);color:#fff;position:sticky;top:0;z-index:20}
.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:68px}
.logo{display:flex;align-items:center}
.logo img{height:52px;width:auto;display:block}
nav{flex:1;display:flex;justify-content:center}
nav ul{display:flex;gap:1.5rem;list-style:none}
nav a{text-decoration:none;font-weight:500;font-size:.98rem}
nav a:hover{text-decoration:underline;text-decoration-color:var(--sky);text-underline-offset:6px}
.top .btn{padding:.55rem 1rem;white-space:nowrap}

.hero{background:repeating-linear-gradient(115deg,transparent 0 54px,rgba(28,105,212,.16) 54px 58px),radial-gradient(60% 80% at 85% 20%,rgba(28,105,212,.35),transparent 70%),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M48 0H0V48' fill='none' stroke='%2381c4ff' stroke-opacity='.08'/%3E%3C/svg%3E"),var(--ink);color:#fff;overflow:hidden}
.hero-head{padding:4.5rem 0 2.5rem}
.hero h1{font-size:clamp(2.4rem,7vw,5rem);font-weight:800;max-width:18ch}
.hero-head p{color:#c9d1d8;margin-top:1.25rem;font-size:1.2rem}
.cta{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.75rem}
.crumbs{font-size:.9rem;color:#aab4bd;margin-bottom:1rem}.crumbs a{color:#fff}
.hero.sub .hero-head{padding:3.5rem 0 2.5rem}
.hero.sub h1{max-width:22ch;font-size:clamp(2.1rem,6vw,3.8rem)}
.hero-media{line-height:0}
.hero-media img{width:100%;height:clamp(220px,40vw,480px);object-fit:cover;object-position:56% 50%;display:block}
.hero-media.sub img{height:clamp(200px,28vw,360px)}
.brands{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #2b3239}
.brand{display:block;padding:2.25rem 1.5rem 2.5rem;text-decoration:none;border-right:1px solid #2b3239;transition:background .2s}
.brand:last-child{border-right:0}
.brand:hover{background:var(--ink2)}
.brand b{display:block;font-family:var(--head);font-size:clamp(1.6rem,3.6vw,2.6rem);font-weight:800;line-height:1}
.brand small{display:block;margin-top:.6rem;color:#aab4bd;font-size:.98rem}
.brand:hover b{color:var(--sky)}

.services{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:0 2rem;border-top:2px solid var(--ink)}
.service{padding:1.5rem 0;border-bottom:1px solid var(--line)}
.service p{color:#f8f9fa;margin-top:.35rem}

.dark{background:var(--ink);color:#fff}
.dark p{color:#c9d1d8}
.why,.book{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:start}
.facts{list-style:none;border-top:1px solid #2b3239}
.facts li{padding:1.1rem 0;border-bottom:1px solid #2b3239}
.facts strong{display:block;font-family:var(--head);font-size:1.5rem}

form{display:grid;gap:1rem}
label{font-weight:600;font-size:.95rem;display:grid;gap:.35rem}
input,select,textarea{font:inherit;padding:.75rem;border:1px solid #a3adb5;background:var(--white);color:var(--ink);border-radius:0;width:100%}
textarea{min-height:110px;resize:vertical}
.contact-list{list-style:none;margin-top:1.5rem;display:grid;gap:.6rem}
.contact-list a{font-weight:600}
.map{margin-top:2rem;background:var(--ink);color:#fff;min-height:260px;display:grid;place-items:center;text-align:center;padding:1.5rem}
.map iframe{width:100%;height:320px;border:0;display:block}

.prose{max-width:760px}.prose h2{font-size:1.9rem;margin:2.2rem 0 .8rem}
.prose p,.prose li{margin-bottom:.8rem}.prose ul{padding-left:1.2rem;max-width:62ch}.prose a{color:var(--red-d)}
details{border-bottom:1px solid var(--line);padding:1rem 0;max-width:760px}
summary{font-weight:600;cursor:pointer}details p{margin-top:.6rem}

footer{background:var(--ink2);color:#aab4bd;padding:2.5rem 0;font-size:.95rem}
footer .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem}
footer a{color:#fff}

@media(max-width:900px){
  .top .wrap{flex-wrap:wrap;gap:.25rem 1rem;padding-top:.5rem;padding-bottom:.5rem;min-height:0}
  nav{order:3;flex:0 0 100%;justify-content:flex-start;overflow-x:auto;padding-bottom:.4rem}
  nav ul{gap:1.25rem;white-space:nowrap}
  .why,.book{grid-template-columns:1fr;gap:2rem}
}
@media(max-width:700px){
  .brands{grid-template-columns:1fr}
  .brand{border-right:0;border-bottom:1px solid #2b3239;padding:1.4rem 1.25rem}
}
@media(max-width:600px){
  section{padding:3rem 0}
  .hero-head,.hero.sub .hero-head{padding:2.25rem 0 1.75rem}
  .cta .btn{flex:1 1 100%}
  .logo img{height:44px}
  .top .btn{padding:.45rem .8rem;font-size:.95rem}
  .map iframe{height:260px}
  footer .wrap{flex-direction:column}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* fondos: motor bóxer, líneas y bandas de dibujo de neumático */
.hero-head{position:relative}
.hero-head::before{content:"";position:absolute;top:0;bottom:0;right:0;width:56%;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 400' fill='none' stroke='%2381c4ff' stroke-opacity='.9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cdefs%3E%3Cg id='c'%3E%3Crect x='130' y='150' width='130' height='100'/%3E%3Cpath d='M145 142V258M160 142V258M175 142V258M190 142V258M205 142V258M220 142V258M235 142V258M250 142V258'/%3E%3Crect x='70' y='132' width='60' height='136' rx='6'/%3E%3Crect x='34' y='142' width='36' height='116' rx='8'/%3E%3Cpath d='M44 172H60M44 200H60M44 228H60M100 132V108M94 96h12v12H94z'/%3E%3Ccircle cx='100' cy='150' r='4'/%3E%3Ccircle cx='100' cy='250' r='4'/%3E%3Cpath d='M262 122H110M262 278H110'/%3E%3Cpath d='M84 268C80 318 120 340 190 340H452'/%3E%3C/g%3E%3C/defs%3E%3Ccircle cx='320' cy='200' r='170' stroke-dasharray='6 10' stroke-opacity='.5'/%3E%3Ccircle cx='320' cy='200' r='132' stroke-dasharray='2 8'/%3E%3Cuse href='%23c'/%3E%3Cuse href='%23c' transform='translate(640 0) scale(-1 1)'/%3E%3Ccircle cx='320' cy='200' r='78'/%3E%3Ccircle cx='320' cy='200' r='48'/%3E%3Ccircle cx='320' cy='200' r='14'/%3E%3Ccircle cx='320' cy='200' r='63' stroke-width='6' stroke-dasharray='2 22'/%3E%3Cpath d='M320 30V380M10 200H630' stroke-dasharray='14 4 2 4' stroke-opacity='.6'/%3E%3Cpath d='M34 44H606M34 36V52M320 36V52M606 36V52'/%3E%3C/svg%3E") right center/contain no-repeat;opacity:.75;pointer-events:none}
.hero-head>*{position:relative;z-index:1}
.brands{border-top:4px solid var(--red)}
.brand{background:rgba(15,17,20,.6)}
.brand:hover{background:var(--red)}.brand:hover b,.brand:hover small{color:#fff}
#servicios{background:repeating-linear-gradient(135deg,transparent 0 22px,rgba(28,105,212,.05) 22px 24px),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 400' fill='none' stroke='%230f1114' stroke-opacity='.07' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cdefs%3E%3Cg id='c'%3E%3Crect x='130' y='150' width='130' height='100'/%3E%3Cpath d='M145 142V258M160 142V258M175 142V258M190 142V258M205 142V258M220 142V258M235 142V258M250 142V258'/%3E%3Crect x='70' y='132' width='60' height='136' rx='6'/%3E%3Crect x='34' y='142' width='36' height='116' rx='8'/%3E%3Cpath d='M44 172H60M44 200H60M44 228H60M100 132V108M94 96h12v12H94z'/%3E%3Ccircle cx='100' cy='150' r='4'/%3E%3Ccircle cx='100' cy='250' r='4'/%3E%3Cpath d='M262 122H110M262 278H110'/%3E%3Cpath d='M84 268C80 318 120 340 190 340H452'/%3E%3C/g%3E%3C/defs%3E%3Ccircle cx='320' cy='200' r='170' stroke-dasharray='6 10' stroke-opacity='.5'/%3E%3Ccircle cx='320' cy='200' r='132' stroke-dasharray='2 8'/%3E%3Cuse href='%23c'/%3E%3Cuse href='%23c' transform='translate(640 0) scale(-1 1)'/%3E%3Ccircle cx='320' cy='200' r='78'/%3E%3Ccircle cx='320' cy='200' r='48'/%3E%3Ccircle cx='320' cy='200' r='14'/%3E%3Ccircle cx='320' cy='200' r='63' stroke-width='6' stroke-dasharray='2 22'/%3E%3Cpath d='M320 30V380M10 200H630' stroke-dasharray='14 4 2 4' stroke-opacity='.6'/%3E%3Cpath d='M34 44H606M34 36V52M320 36V52M606 36V52'/%3E%3C/svg%3E") right -60px bottom -30px/560px no-repeat,var(--paper)}
.service{border-left:3px solid var(--red);padding-left:1.25rem;margin-bottom:.5rem;border-bottom:0;background:rgba(255,255,255,.65)}
.dark{position:relative;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 400' fill='none' stroke='%2381c4ff' stroke-opacity='.12' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cdefs%3E%3Cg id='c'%3E%3Crect x='130' y='150' width='130' height='100'/%3E%3Cpath d='M145 142V258M160 142V258M175 142V258M190 142V258M205 142V258M220 142V258M235 142V258M250 142V258'/%3E%3Crect x='70' y='132' width='60' height='136' rx='6'/%3E%3Crect x='34' y='142' width='36' height='116' rx='8'/%3E%3Cpath d='M44 172H60M44 200H60M44 228H60M100 132V108M94 96h12v12H94z'/%3E%3Ccircle cx='100' cy='150' r='4'/%3E%3Ccircle cx='100' cy='250' r='4'/%3E%3Cpath d='M262 122H110M262 278H110'/%3E%3Cpath d='M84 268C80 318 120 340 190 340H452'/%3E%3C/g%3E%3C/defs%3E%3Ccircle cx='320' cy='200' r='170' stroke-dasharray='6 10' stroke-opacity='.5'/%3E%3Ccircle cx='320' cy='200' r='132' stroke-dasharray='2 8'/%3E%3Cuse href='%23c'/%3E%3Cuse href='%23c' transform='translate(640 0) scale(-1 1)'/%3E%3Ccircle cx='320' cy='200' r='78'/%3E%3Ccircle cx='320' cy='200' r='48'/%3E%3Ccircle cx='320' cy='200' r='14'/%3E%3Ccircle cx='320' cy='200' r='63' stroke-width='6' stroke-dasharray='2 22'/%3E%3Cpath d='M320 30V380M10 200H630' stroke-dasharray='14 4 2 4' stroke-opacity='.6'/%3E%3Cpath d='M34 44H606M34 36V52M320 36V52M606 36V52'/%3E%3C/svg%3E") left -80px bottom -60px/620px no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M48 0H0V48' fill='none' stroke='%2381c4ff' stroke-opacity='.08'/%3E%3C/svg%3E"),var(--ink)}
.dark::before,footer::before{content:"";position:absolute;top:0;left:0;right:0;height:14px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='14'%3E%3Cpath d='M0 14L18 0L36 14' fill='none' stroke='%230f1114' stroke-opacity='.45' stroke-width='3'/%3E%3C/svg%3E") repeat-x,var(--red)}
footer{position:relative;padding-top:3.25rem}
.crumbs a:hover{color:var(--sky)}
@media(max-width:900px){.hero-head::before{width:100%;opacity:.16}}
.service{padding:1.25rem 1rem 1.25rem 1.25rem}

/* luces de cambio: la barra se enciende al hacer scroll */
.shift{display:grid;grid-template-columns:repeat(14,1fr);gap:3px;height:6px;background:var(--ink)}
.shift i{display:block;background:#222a30}
.shift i.on.b{background:var(--red)}.shift i.on.w{background:var(--sky)}.shift i.on.r{background:#e7222e}
/* opiniones: cuentarrevoluciones */
.op-head{display:grid;grid-template-columns:minmax(220px,340px) 1fr;gap:3.5rem;align-items:center}
.gauge svg{width:100%;height:auto;display:block}
#aguja{transform-origin:150px 150px;transition:transform 1.1s cubic-bezier(.2,.9,.25,1)}
.reviews{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:1.25rem;margin-top:3.5rem}
.reviews:empty{display:none}
.review{background:#fff;color:var(--ink);padding:1.5rem;border-top:4px solid var(--red);display:flex;flex-direction:column;gap:1rem}
.review.big{grid-column:1/-1;padding:2rem}
.review .stars{color:#fbbc04;font-size:1.25rem;letter-spacing:.12em}
.review blockquote p{color:var(--ink);font-size:1.1rem;max-width:none}
.review.big blockquote p{font-family:var(--head);font-weight:600;font-size:clamp(1.5rem,3vw,2.2rem);line-height:1.15}
.review figcaption{display:flex;align-items:center;gap:.75rem;margin-top:auto}
.review .ini{flex:none;width:2.4rem;height:2.4rem;border-radius:50%;background:var(--red);color:#fff;display:grid;place-items:center;font-weight:700}
.review small{display:block;color:var(--steel)}
@media(max-width:820px){.op-head{grid-template-columns:1fr;gap:2rem}.gauge{max-width:280px;margin:0 auto}}

.logo img{height:46px;width:auto;background:#fff;padding:3px 8px;display:block}
@media(max-width:600px){.logo img{height:38px}}
.map{padding:0;display:block;min-height:0;background:var(--ink)}
.logo img{height:56px}
@media(max-width:600px){.logo img{height:44px}}
.map{background:#dfe5e9}


/* Ajustes globales de legibilidad, márgenes y responsive */
:root{scroll-padding-top:5rem}
html{scroll-behavior:smooth;overflow-x:clip}
body{margin:0;overflow-wrap:break-word}
img,svg,video,iframe{max-width:100%}
.wrap{width:min(100% - 2.5rem, 1200px);margin-inline:auto}
main,section,footer{min-width:0}
section{padding-block:clamp(3.25rem,6vw,6rem)}
h1,h2,h3,p,li,blockquote{overflow-wrap:anywhere}
h1{font-size:clamp(2.1rem,5.4vw,4.6rem);line-height:1.02}
h2{font-size:clamp(1.8rem,3.8vw,3.2rem);line-height:1.08}
p{line-height:1.7}
.logo{min-width:0;flex-shrink:0}
.logo img{display:block;width:auto;height:clamp(36px,4.6vw,56px);max-width:min(48vw,400px);object-fit:contain;background:transparent;padding:0}
.top .wrap{gap:1rem}
button,.btn,a{overflow-wrap:anywhere}
input,select,textarea{max-width:100%;min-width:0}
.cta,.actions{display:flex;flex-wrap:wrap;gap:.75rem}
.cta .btn{max-width:100%}
.grid,.services,.features,.gallery-grid,.reviews{min-width:0}
.customer-gallery{background:#f2f4f6;color:#111820}
.customer-gallery .eyebrow{font-size:.78rem;font-weight:800;letter-spacing:.15em;text-transform:uppercase;color:#b51f2b}
.customer-gallery .intro{max-width:760px}
.gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;margin-top:2rem}
.gallery-photo{position:relative;display:block;min-width:0;min-height:220px;overflow:hidden;background:#111820;color:white;text-decoration:none}
.gallery-photo img{display:block;width:100%;height:clamp(220px,30vw,390px);object-fit:cover;transition:transform .35s ease}
.gallery-photo:hover img,.gallery-photo:focus-visible img{transform:scale(1.035)}
.gallery-photo span{position:absolute;inset:auto 0 0;padding:1.2rem 1rem;background:linear-gradient(transparent,rgba(0,0,0,.88));font-weight:700;display:flex;justify-content:space-between;align-items:end;gap:1rem}
.gallery-note{font-size:.92rem;max-width:800px;margin-top:1.25rem;color:#4b5560}
.customer-gallery .cta{margin-top:1.25rem}
.review{min-width:0;border-radius:4px}
footer .wrap{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}
@media(max-width:760px){
 .wrap{width:min(100% - 2rem,1200px)}
 .top .wrap{flex-wrap:wrap}
 .logo img{height:38px;max-width:min(62vw,340px)}
 .gallery-grid{grid-template-columns:1fr;gap:1rem}
 .gallery-photo img{height:clamp(210px,58vw,340px)}
 .op-head{grid-template-columns:minmax(0,1fr);gap:1.5rem}
 .reviews{grid-template-columns:minmax(0,1fr);margin-top:2rem}
 .review.big{grid-column:auto;padding:1.5rem}
 footer .wrap{display:grid;grid-template-columns:minmax(0,1fr);gap:.8rem}
}
@media(max-width:420px){
 .wrap{width:calc(100% - 1.5rem)}
 .logo img{max-width:58vw;height:34px}
 .top .btn{white-space:normal}
 .cta .btn{width:100%;text-align:center}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 *,*::before,*::after{transition:none!important;animation:none!important}
}


/* === Baviera Motos: acabado deportivo circular y horario visible === */
:root{--bm-blue:#1c69d4;--bm-blue-light:#81c4ff;--bm-dark:#0b0e12;--bm-steel:#8995a1}
.btn{border-radius:999px;padding:.82rem 1.45rem;box-shadow:0 5px 14px rgba(0,0,0,.16);transition:transform .22s ease,box-shadow .22s ease,background .22s ease,border-color .22s ease}
.btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(28,105,212,.24)}
.btn.ghost{border-radius:999px;border-color:rgba(255,255,255,.72)}
.top .btn{border-radius:999px}
nav a{display:inline-block;padding:.45rem .1rem;transition:color .2s ease}
nav a:hover{color:var(--bm-blue-light);text-decoration:none}
.location-actions{display:flex;flex-wrap:wrap;gap:1rem;margin:1.35rem 0 1.75rem}
.btn-wheel{--wheel-size:104px;position:relative;width:var(--wheel-size);height:var(--wheel-size);flex:0 0 var(--wheel-size);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.35rem;border-radius:50%;border:2px solid #8e9aa6;background:radial-gradient(circle at 35% 25%,#343d47 0,#151a20 56%,#080a0d 100%);color:#fff;text-decoration:none;text-align:center;font-size:.78rem;font-weight:700;line-height:1.1;box-shadow:inset 0 0 0 5px #12161b,inset 0 0 0 7px #3a444e,0 7px 16px #0002;transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease}
.btn-wheel::before{content:"";position:absolute;inset:7px;border:1px dashed rgba(255,255,255,.22);border-radius:50%;pointer-events:none}
.btn-wheel svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.btn-wheel:hover{transform:translateY(-4px) rotate(-2deg);border-color:var(--bm-blue-light);color:#fff;box-shadow:inset 0 0 0 5px #12161b,inset 0 0 0 7px var(--bm-blue),0 10px 24px rgba(28,105,212,.25)}
.btn-wheel:focus-visible{outline:3px solid var(--bm-blue-light);outline-offset:4px}
.hours-card{margin:1.5rem 0;padding:1.35rem;border:1px solid #d4dce3;border-radius:18px;background:linear-gradient(145deg,#fff,#f1f4f7);box-shadow:0 10px 30px rgba(15,17,20,.07);color:var(--ink)}
.hours-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.9rem;flex-wrap:wrap}
.hours-heading h3{font-size:1.55rem;margin:0}
.hours-status{display:inline-flex;align-items:center;padding:.35rem .7rem;border-radius:999px;background:#e5efff;color:#174e9b;font-size:.78rem;font-weight:700}
.hours-list{display:grid;gap:0}
.hours-row{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;padding:.68rem .2rem;border-bottom:1px solid #dce2e7;font-size:.94rem}
.hours-row:last-child{border-bottom:0}
.hours-row span{color:#45515d}
.hours-row strong{font-weight:650;text-align:right;font-size:.92rem}
.hours-row.today{padding-left:.7rem;padding-right:.7rem;background:#eaf3ff;border-left:3px solid var(--bm-blue);border-radius:5px}
.hours-row.today span{color:#123f7a;font-weight:800}
.hours-note{font-size:.82rem;line-height:1.5;color:#586572;margin:.85rem 0 1rem}
.btn-google{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;max-width:100%;font-size:.92rem}
#cita address{line-height:1.8}
#cita .map{overflow:hidden;border-radius:16px;border:1px solid #cbd3da;box-shadow:0 8px 22px #0001}
#cita .map iframe,.review-map iframe{border-radius:inherit}
.service{border-radius:12px 18px 18px 12px;transition:transform .2s ease,box-shadow .2s ease}
.service:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(15,17,20,.07)}
.brand{transition:background .2s ease,color .2s ease}
@media(max-width:600px){
 .location-actions{gap:.7rem;justify-content:space-between}
 .btn-wheel{--wheel-size:clamp(86px,26vw,104px);font-size:.72rem}
 .hours-card{padding:1rem;border-radius:14px}
 .hours-row{gap:.5rem;font-size:.88rem}
 .hours-row strong{font-size:.84rem}
 .hours-heading h3{font-size:1.4rem}
 .btn-google{width:100%;white-space:normal}
}
@media(prefers-reduced-motion:reduce){.btn,.btn-wheel,.service{transition:none!important}}


/* Corrección del menú superior: evita textos apretados, cortados o montados */
.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:clamp(.65rem,1.2vw,1.1rem)}
.top nav{flex:1 1 auto;min-width:0;display:flex;justify-content:center;overflow:visible}
.top nav ul{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.45rem clamp(.55rem,1vw,1rem);list-style:none;min-width:0}
.top nav li{flex:0 0 auto;min-width:0}
.top nav a{display:inline-block;white-space:nowrap;font-size:clamp(.82rem,.9vw,.96rem);line-height:1.35;padding:.35rem 0;text-decoration:none}
.top nav a:hover{color:var(--sky);text-decoration:underline;text-decoration-color:var(--sky);text-underline-offset:5px}
.top .btn{flex:0 0 auto;white-space:nowrap}
@media(max-width:1050px){
 .top .wrap{flex-wrap:wrap;justify-content:space-between}
 .top nav{order:3;flex:0 0 100%;justify-content:flex-start;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;padding:.15rem 0 .45rem}
 .top nav ul{flex-wrap:nowrap;justify-content:flex-start;gap:1.15rem;width:max-content;min-width:100%}
 .top nav a{font-size:.92rem;padding:.35rem 0}
}
@media(max-width:420px){
 .top nav ul{gap:.95rem}
 .top nav a{font-size:.88rem}
}
/* === CABECERA BAVIERA MOTOS: CORRECCIÓN DEFINITIVA === */

/* Mantener la cabecera visible al desplazarse */
.top {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: var(--ink);
  color: #fff;
}

/* Distribución de logotipo, navegación y botón */
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 12px;
  min-width: 0;
}

/* La navegación puede reducirse sin empujar la pantalla */
.top nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
  overflow: visible;
}

.top nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 14px;
  min-width: 0;
  list-style: none;
}

.top nav li {
  min-width: 0;
}

.top nav a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: normal;
}

/* Ajustes para tablet y móvil */
@media (max-width: 900px) {
  .top .wrap {
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 6px 12px;
  }

  .top .logo {
    flex: 0 1 auto;
    min-width: 0;
  }

  .top nav {
    order: 3;
    flex: 0 0 100%;
    min-width: 0;
    justify-content: flex-start;
    overflow: visible;
    padding: 0;
  }

  .top nav ul {
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 2px 16px;
  }

  .top nav a {
    padding: 7px 0;
    font-size: 14px;
  }

  /* Evita que el botón fuerce un ancho excesivo */
  .top .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .top .wrap {
    column-gap: 8px;
  }

  .top nav ul {
    column-gap: 12px;
  }

  .top nav a {
    font-size: 13px;
  }

  .top .logo img {
    max-width: 55vw;
    height: 34px;
  }
}


/* ===== Producción: refinamiento visual y prioridad móvil ===== */
:root{--bm-blue:#168cff;--bm-blue-deep:#0867cf;--bm-night:#080d13;--bm-panel:#0e151e;--bm-border:rgba(145,177,207,.22)}
html{scroll-padding-top:88px}
body{background:#080d13;color:#f4f7fb}
.skip-link{position:absolute;left:12px;top:-60px;z-index:1000;padding:10px 14px;background:#fff;color:#111;border-radius:8px}
.skip-link:focus{top:12px}
.top{background:rgba(7,12,18,.97);border-bottom:1px solid var(--bm-border);backdrop-filter:blur(12px)}
.top .wrap{min-height:76px}
.logo img{height:52px;width:auto;max-width:min(58vw,400px);object-fit:contain;background:transparent;padding:0}
nav ul{gap:clamp(.65rem,1.5vw,1.35rem)}
nav a{font-size:.93rem;white-space:nowrap}
.nav-toggle{flex:0 0 44px;border-color:rgba(255,255,255,.35)}
.hero{background-color:var(--bm-night);background-image:radial-gradient(ellipse at 85% 20%,rgba(22,140,255,.18),transparent 48%),repeating-linear-gradient(115deg,transparent 0 54px,rgba(22,140,255,.055) 54px 57px),linear-gradient(135deg,#080d13,#101b28 60%,#080d13);}
.hero-head{padding-block:clamp(2.6rem,6vw,5rem) clamp(2rem,4vw,3rem)}
.hero h1{max-width:19ch;letter-spacing:-.025em}
.hero-head p{max-width:54ch;color:#d2dbe5}
.cta{gap:.7rem}
.btn{border-radius:999px;min-height:48px;padding:.72rem 1.25rem;background:var(--bm-blue);border-color:var(--bm-blue);font-weight:700;line-height:1.25;transition:transform .18s ease,background .18s ease,border-color .18s ease}
.btn:hover{background:var(--bm-blue-deep);border-color:var(--bm-blue-deep);transform:translateY(-1px)}
.btn.ghost{border-color:rgba(255,255,255,.65);background:rgba(7,12,18,.38)}
.btn.ghost:hover{background:#fff;color:#0a1119;border-color:#fff}
.hero-media{background:#070b10}
.hero-media img{object-position:center;max-height:490px}
.brands{background:#080d13;border-color:var(--bm-border)}
.brand{color:#f7f9fc;border-color:var(--bm-border);position:relative;overflow:hidden}
.brand b{color:#fff}
.brand small{color:#c0cbd6;line-height:1.5}
.brand:hover{background:#111d2a}
section{scroll-margin-top:88px}
#servicios{background:#f1f3f5;color:#10151b}
#servicios .service{border-left-color:var(--bm-blue);border-radius:8px;box-shadow:0 8px 24px rgba(15,25,35,.05);padding:1.35rem 1.25rem;margin-bottom:1rem}
.dark{background-color:#090f16;color:#f6f8fb}
.dark::before{background:linear-gradient(90deg,var(--bm-blue),#6dc3ff)}
.opiniones .map{overflow:hidden;border-radius:12px;border:1px solid var(--bm-border)}
.opiniones .map iframe,.map iframe{max-width:100%}
form{gap:1.1rem}
input,select,textarea{border-radius:10px;padding:.85rem 1rem;border-color:#bdc7d1}
input:focus,select:focus,textarea:focus{outline:3px solid rgba(22,140,255,.25);border-color:var(--bm-blue)}
.hours-card{border-radius:14px}
.location-actions{gap:.75rem}
.btn-wheel{width:94px;height:94px;flex-basis:94px}
.bmw-specialist{position:relative;isolation:isolate;overflow:hidden;padding:0;background:#081321;color:#fff;border-top:1px solid var(--bm-border);border-bottom:1px solid var(--bm-border)}
.bmw-specialist::before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(100deg,#061426 0%,rgba(6,20,38,.96) 40%,rgba(6,20,38,.45) 100%),url("moto-1400.jpg") center 48%/cover no-repeat;opacity:1}
.bmw-specialist__inner{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,.85fr);align-items:center;gap:2rem;min-height:320px;padding-block:clamp(2.4rem,5vw,4rem)}
.bmw-specialist__content{position:relative;z-index:1}
.bmw-specialist__eyebrow{margin-bottom:.6rem;color:#48b5ff;font-weight:800;letter-spacing:.14em;text-transform:uppercase;font-size:.82rem}
.bmw-specialist h2{margin:0 0 .85rem;font-size:clamp(2.2rem,5vw,3.8rem);text-transform:uppercase;letter-spacing:-.025em}
.bmw-specialist__claim{font-size:clamp(1.15rem,2.3vw,1.55rem);font-weight:700;line-height:1.25;max-width:28ch}
.bmw-specialist__copy{margin:.85rem 0 1.35rem;color:#d3deea;max-width:48ch}
.bmw-specialist__image{min-height:220px;border-radius:12px;background:url("moto-800.jpg") center/cover no-repeat;box-shadow:0 20px 55px rgba(0,0,0,.25);border:1px solid rgba(255,255,255,.14)}
footer{background:#060a0f;color:#dce4ec;border-top:1px solid var(--bm-border);padding-block:2.4rem}
footer a{color:#f5f8fc;text-underline-offset:4px}
footer a:hover{color:#69bdff}
@media(max-width:860px){
 .top .wrap{min-height:68px}
 .top nav{background:#080d13;padding:.25rem 0 .75rem}
 .top nav a{padding:.8rem .25rem;font-size:1rem}
 .hero-head{padding-top:2.4rem}
 .hero h1{font-size:clamp(2.25rem,8vw,3.5rem)}
 .hero-media img{height:clamp(230px,58vw,390px);object-fit:cover}
 .brands{grid-template-columns:1fr}
 .brand{padding:1.3rem 1rem;border-right:0;border-bottom:1px solid var(--bm-border)}
 .brand:last-child{border-bottom:0}
 .brand b{font-size:1.8rem}
 .why,.book{grid-template-columns:minmax(0,1fr);gap:2rem}
 .bmw-specialist__inner{grid-template-columns:minmax(0,1fr);gap:1.4rem;min-height:0}
 .bmw-specialist__image{min-height:190px;order:-1;background-position:center 45%}
}
@media(max-width:600px){
 body{font-size:1rem;line-height:1.58}
 .wrap{width:calc(100% - 2rem);padding-inline:0}
 .logo img{height:36px;max-width:61vw}
 .top .wrap{gap:.5rem}
 .nav-toggle{width:42px;height:42px;flex-basis:42px}
 .hero-head{padding:2.1rem 0 1.6rem}
 .hero h1{font-size:clamp(2.05rem,9.5vw,3rem);line-height:1.02;max-width:15ch}
 .hero-head p{font-size:1.05rem;margin-top:1rem}
 .cta{display:grid;grid-template-columns:minmax(0,1fr);gap:.65rem;margin-top:1.25rem}
 .cta .btn{width:100%;min-height:48px;white-space:normal}
 .hero-media img{height:clamp(215px,64vw,310px);object-position:54% center}
 section{padding-block:2.8rem}
 h2{font-size:clamp(1.85rem,8vw,2.45rem)}
 .services{grid-template-columns:minmax(0,1fr);gap:0}
 #servicios .service{margin-bottom:.75rem;padding:1.1rem}
 .op-head{grid-template-columns:minmax(0,1fr)}
 .map iframe{height:280px}
 .location-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}
 .btn-wheel{width:100%;height:88px;min-width:0;flex-basis:auto;font-size:.72rem}
 .hours-card{padding:1rem;margin-block:1.2rem}
 .hours-row{gap:.6rem;align-items:flex-start}
 .hours-row strong{text-align:right;font-size:.88rem}
 .bmw-specialist__inner{padding-block:2rem}
 .bmw-specialist__image{min-height:160px}
 .bmw-specialist__claim{font-size:1.18rem}
 footer{padding-block:1.8rem}
 footer .wrap{gap:1rem}
 footer span{font-size:.9rem}
}
@media(max-width:360px){
 .wrap{width:calc(100% - 1.25rem)}
 .logo img{height:31px;max-width:58vw}
 .nav-toggle{width:38px;height:38px;flex-basis:38px}
 .btn-wheel{font-size:.66rem}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn,.brand,.gallery-photo img{transition:none!important}}

/* Mejorar el contraste de Preguntas frecuentes */
details summary {
  color: #f4f7fb !important;
}

details summary:hover,
details summary:focus {
  color: #38a5ff !important;
}

details p {
  color: #dce4ec !important;
}

