/* Pro Wash Auto Tampa - Black/Red theme */
:root{
  --bg:#0b0b0f;
  --bg2:#101018;
  --card:#141420;
  --muted:#b8b8c7;
  --text:#f4f4f6;
  --red:#ff2d2d;
  --red2:#ff4b4b;
  --line:rgba(255,255,255,.08);
  --shadow: 0 20px 60px rgba(0,0,0,.55);
  --radius:18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 500px at 20% 0%, rgba(255,45,45,.18), transparent 55%),
              radial-gradient(900px 450px at 90% 30%, rgba(255,45,45,.10), transparent 60%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  color:var(--text);
}

a{color:inherit;text-decoration:none}
.container{max-width:1120px;margin:0 auto;padding:0 18px}

.topbar{
  position:sticky; top:0; z-index:50;
  background: rgba(11,11,15,.72);
  backdrop-filter: blur(14px);
  border-bottom:1px solid var(--line);
}
.topbar-inner{
  display:flex; align-items:center; gap:16px;
  padding:12px 0;
}
.brand{display:flex;align-items:center;gap:12px;min-width:240px}
.logo{
  width:38px;height:38px;border-radius:12px;
  background:
    radial-gradient(10px 10px at 30% 30%, rgba(255,255,255,.35), transparent 60%),
    linear-gradient(135deg, var(--red), #a10000);
  box-shadow: 0 10px 25px rgba(255,45,45,.25);
}
.brand-name{font-weight:800;letter-spacing:.2px}
.brand-sub{font-size:12px;color:var(--muted)}

.nav{display:flex;gap:14px;align-items:center}
.nav a{
  font-size:14px; color:rgba(244,244,246,.88);
  padding:8px 10px;border-radius:999px;
}
.nav a:hover{background:rgba(255,255,255,.06)}

.actions{margin-left:auto;display:flex;gap:10px;align-items:center}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  border-radius:999px;
  padding:10px 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color:var(--text);
  font-weight:700;
  font-size:14px;
  cursor:pointer;
}
.btn:hover{background:rgba(255,255,255,.06)}
.btn-primary{
  background: linear-gradient(135deg, var(--red), #b30000);
  border-color: transparent;
  box-shadow: 0 12px 28px rgba(255,45,45,.22);
}
.btn-primary:hover{filter:brightness(1.05)}
.btn-ghost{background:rgba(255,255,255,.02)}
.btn-lg{padding:12px 16px;font-size:15px}
.btn-full{width:100%}

.btn-lang{padding:9px 12px}
.pill{
  display:inline-flex;align-items:center;justify-content:center;
  width:34px;height:26px;border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid var(--line);
  font-weight:800;
}
.langText{font-weight:700;color:rgba(244,244,246,.88)}

.hamburger{
  display:none;
  margin-left:auto;
  width:44px;height:40px;border-radius:12px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  cursor:pointer;
}
.hamburger span{display:block;height:2px;margin:6px 10px;background:rgba(244,244,246,.85);border-radius:2px}

.mobileNav{
  border-top:1px solid var(--line);
  padding:14px 18px 18px;
  background: rgba(11,11,15,.92);
}
.mobileNav a{display:block;padding:12px 10px;border-radius:12px}
.mobileNav a:hover{background:rgba(255,255,255,.06)}
.mobileCtas{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}

.hero{padding:56px 0 28px}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:24px;
  align-items:stretch;
}
.badge{
  display:inline-flex;gap:8px;align-items:center;
  font-size:12px;font-weight:800;
  letter-spacing:.5px;
  padding:8px 12px;border-radius:999px;
  background: rgba(255,45,45,.12);
  border:1px solid rgba(255,45,45,.25);
  color: rgba(255,220,220,.95);
}
h1{font-size:44px;line-height:1.05;margin:14px 0 10px;letter-spacing:-.6px}
.lead{font-size:16px;line-height:1.6;color:rgba(244,244,246,.86);max-width:54ch}
.hero-ctas{display:flex;gap:12px;margin:18px 0 18px;flex-wrap:wrap}
.trust{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:12px}
.trust-item{
  padding:12px 12px;border-radius:var(--radius);
  background: rgba(255,255,255,.03);
  border:1px solid var(--line);
}
.trust-title{font-weight:800}
.trust-sub{font-size:12px;color:var(--muted);margin-top:3px}

.hero-card{display:grid;gap:12px}
.card{
  background: linear-gradient(180deg, rgba(20,20,32,.92), rgba(20,20,32,.72));
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow: var(--shadow);
  padding:16px;
}
.card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.card-title{font-weight:900}
.card-sub{font-size:12px;color:var(--muted);margin-top:4px}
.card-row{display:flex;justify-content:space-between;align-items:center;padding:10px 0}
.label{font-size:12px;color:var(--muted)}
.value{font-weight:800}
.link{color:rgba(255,180,180,.95)}
.link:hover{text-decoration:underline}
.divider{height:1px;background:var(--line);margin:6px 0 10px}
.fineprint{font-size:12px;color:rgba(244,244,246,.72);margin-top:10px}

.hero-image{
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(120px 80px at 20% 20%, rgba(255,45,45,.18), transparent 55%),
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  height: 220px;
  position: relative;
  overflow: hidden;
}

.ba-image{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-overlay{
  position:absolute; inset:auto 14px 14px 14px;
  padding:12px 12px;border-radius:14px;
  background: rgba(11,11,15,.62);
  border:1px solid var(--line);
}
.img-title{font-weight:900}
.img-sub{font-size:12px;color:var(--muted);margin-top:2px}

.section{padding:44px 0}
.section-alt{
  background: rgba(255,255,255,.02);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section-head{margin-bottom:16px}
h2{margin:0 0 8px;font-size:28px;letter-spacing:-.3px}
.muted{color:rgba(244,244,246,.78);line-height:1.6}

.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.pkg{
  background: rgba(255,255,255,.03);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px;
  box-shadow: 0 12px 35px rgba(0,0,0,.35);
  display:flex;flex-direction:column;
}
.pkg-featured{
  border-color: rgba(255,45,45,.32);
  background: radial-gradient(400px 200px at 20% 0%, rgba(255,45,45,.16), transparent 55%),
              rgba(255,255,255,.03);
}
.pkg-head h3{margin:8px 0 8px;font-size:20px}
.prices{display:flex;gap:10px;flex-wrap:wrap}
.special{font-weight:900;color:rgba(255,225,225,.98)}
.regular{font-weight:800;color:rgba(244,244,246,.72);text-decoration:line-through}
.note{font-size:12px;color:var(--muted);margin-top:8px}
.featured{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(255,45,45,.14);
  border:1px solid rgba(255,45,45,.30);
  font-weight:900;
  font-size:12px;
}
.include{font-size:13px;color:rgba(244,244,246,.86);margin:8px 0}
.list{margin:10px 0 0;padding-left:18px;color:rgba(244,244,246,.82);line-height:1.55}
.pkg-cta{margin-top:auto;padding-top:14px}

.gallery{
  display:grid; grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
.ph{
  border-radius:var(--radius);
  border:1px dashed rgba(255,255,255,.18);
  background: rgba(255,255,255,.02);
  min-height:150px;
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  text-align:center;
  padding:14px;
}
.ph-label{font-weight:900}
.ph-sub{font-size:12px;color:var(--muted);margin-top:6px}

.about{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  align-items:start;
}
.ticks{margin:14px 0 0; padding-left:18px; line-height:1.7; color:rgba(244,244,246,.84)}
.stats{
  display:grid; gap:12px;
}
.stat{
  display:flex; gap:12px; align-items:center;
  border-radius:var(--radius);
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  padding:14px;
}
.stat-num{font-size:20px}
.stat-title{font-weight:900}
.stat-sub{font-size:12px;color:var(--muted);margin-top:2px}

.contact{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
.contact-card,.map-card{
  border-radius:var(--radius);
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  padding:16px;
}
.contact-row{
  display:flex;justify-content:space-between;align-items:center;
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.contact-row:last-of-type{border-bottom:0}
.contact-k{font-size:12px;color:var(--muted)}
.contact-v{font-weight:900}
.contact-ctas{display:grid;gap:10px;margin-top:14px}

.map-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.map-title{font-weight:900}
.map-sub{font-size:12px;color:var(--muted);margin-top:4px}
.map-ph{
  margin-top:12px;
  border-radius:var(--radius);
  min-height:220px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  border:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(220px 120px at 50% 35%, rgba(255,45,45,.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
}
.map-pin{font-size:28px}
.map-city{margin-top:6px;font-weight:900}

.footer{
  padding:22px 0;
  border-top:1px solid var(--line);
  background: rgba(11,11,15,.72);
}
.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.foot-right{display:flex;gap:14px;flex-wrap:wrap}

.floating{
  position:fixed;
  right:18px; bottom:18px;
  width:54px;height:54px;border-radius:18px;
  display:flex;align-items:center;justify-content:center;
  background: linear-gradient(135deg, var(--red), #b30000);
  box-shadow: 0 18px 45px rgba(255,45,45,.25);
  border:1px solid rgba(255,255,255,.08);
  font-size:22px;
}

@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr}
  h1{font-size:38px}
  .trust{grid-template-columns:1fr 1fr}
  .cards{grid-template-columns:1fr}
  .gallery{grid-template-columns:1fr 1fr}
  .about{grid-template-columns:1fr}
  .contact{grid-template-columns:1fr}
  nav{display:none}
  .actions{display:none}
  .hamburger{display:block}

.hero-image{
  height: 160px;
  overflow: hidden;
  border-radius: var(--radius);
}

.hero-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}



@media (max-width: 520px){
  h1{font-size:34px}
  .trust{grid-template-columns:1fr}
  .gallery{grid-template-columns:1fr}
}
.ba-image {
  width: 100%;
  height: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
@media (max-width: 600px){
  .gallery{
    grid-template-columns: 1fr !important;
  }

}
.ba-card{
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(20,20,32,.60);
}

html, body {
  width: 100%;
  overflow-x: hidden !important;
}
.gallery {
  max-width: 100%;
  overflow: hidden;
}
.gallery .ba-card{
  justify-self: center;
  width: 100%;
  max-width: 300px;   
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(20,20,32,.60);
}

.gallery .ba-card img{
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;  
  height: auto;
  object-fit: cover;
}

@media (max-width: 520px){
  .gallery .ba-card img{ aspect-ratio: 4 / 3; } 
}
@media (min-width: 900px){
  #beforeafter .ba-card{
    max-width: 920px;   /* prueba 820px / 900px / 980px */
    margin: 0 auto;
  }

  #beforeafter .ba-card img{
    width: 100%;
    height: auto !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
  }
}
