/* Club CarWash — paleta tomada del logo y las piezas de Instagram (azul noche + azul eléctrico) */
:root {
  --night: #0d0c2b;
  --night-2: #16154a;
  --night-3: #201f63;
  --blue: #2f5bff;
  --blue-2: #1a3fe0;
  --sky: #8fb0ff;
  --ice: #eef2ff;
  --paper: #f6f7fb;
  --white: #ffffff;
  --ink: #12122a;
  --muted: #5b5f7a;
  --line: #dfe3f0;
  --ok: #16a34a;
  --warn: #d97706;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(13, 12, 43, .10);
  --shadow-lg: 0 24px 60px rgba(13, 12, 43, .28);
  --font-head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.05; margin: 0 0 .5em; letter-spacing: .01em; }
h2 { font-size: clamp(2rem, 5vw, 2.8rem); text-transform: uppercase; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-top: 24px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: .6em; }
.section { padding: 72px 0; }
.section-alt { background: var(--paper); }
.section-lead { color: var(--muted); max-width: 640px; }
.sub-h { font-size: 1.5rem; text-transform: uppercase; margin-top: 36px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent; font: 600 1rem var(--font); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 8px 22px rgba(47, 91, 255, .35); }
.btn-primary:hover { background: var(--blue-2); }
.btn-outline { border-color: currentColor; color: var(--blue); background: transparent; }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-mp { background: #009ee3; color: #fff; box-shadow: 0 8px 22px rgba(0, 158, 227, .35); }
.btn-mp:hover { background: #0087c2; }
.btn-wa { background: #25d366; color: #0b2e17; }

/* Barra demo + nav */
.demo-bar { background: var(--blue); color: var(--white); text-align: center; font-size: .8rem; font-weight: 600; padding: 6px 16px; }
.nav { position: sticky; top: 0; z-index: 40; background: rgba(13, 12, 43, .94); backdrop-filter: blur(10px); color: var(--white); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand b { display: block; font-family: var(--font-head); font-size: 1.35rem; text-transform: uppercase; letter-spacing: .03em; line-height: 1; }
.brand small { display: block; font-size: .75rem; opacity: .7; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a:not(.btn) { text-decoration: none; font-size: .95rem; opacity: .85; }
.nav-links a:not(.btn):hover { opacity: 1; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--white); content: ''; transition: transform .2s; }
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { background: radial-gradient(900px 500px at 85% 20%, rgba(47, 91, 255, .45), transparent 60%), linear-gradient(160deg, var(--night) 0%, var(--night-2) 60%, var(--night-3) 100%); color: var(--white); padding: 64px 0 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.hero .eyebrow { color: var(--sky); }
.hero h1 { font-size: clamp(2.8rem, 8vw, 5rem); text-transform: uppercase; }
.hero h1 span { color: var(--sky); display: block; }
.lead { font-size: 1.15rem; opacity: .85; max-width: 520px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0; }
.hero .btn-outline { color: var(--white); }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 4px 12px; font-size: .85rem; }
.hero-media { position: relative; height: 460px; }
.hm { position: absolute; margin: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); border: 3px solid rgba(255, 255, 255, .9); background: var(--night-2); }
.hm img { width: 100%; height: 100%; object-fit: cover; }
.hm-1 { width: 230px; height: 300px; left: 4%; top: 30px; transform: rotate(-6deg); }
.hm-2 { width: 230px; height: 300px; right: 2%; top: 0; transform: rotate(5deg); }
.hm-3 { width: 210px; height: 270px; left: 32%; top: 170px; z-index: 2; }
.hero-card { position: absolute; z-index: 3; left: 0; bottom: 0; display: flex; align-items: center; gap: 10px; background: var(--white); color: var(--ink); border-radius: 14px; padding: 10px 16px; box-shadow: var(--shadow-lg); }
.hero-card img { border-radius: 50%; }
.hero-card b { display: block; font-size: .95rem; }
.hero-card small { color: var(--muted); font-size: .8rem; }

/* Beneficios */
.perks { background: var(--night); color: var(--white); padding: 0 0 40px; }
.perks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.perk { display: flex; gap: 14px; align-items: flex-start; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 18px; }
.perk-ico { font-size: 1.6rem; line-height: 1; }
.perk p { margin: 0; font-size: .92rem; opacity: .85; }
.perk b { display: block; font-size: 1rem; opacity: 1; margin-bottom: 2px; }

/* Destacados */
.featured { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.feat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.feat-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ice); position: relative; }
.feat-img img { width: 100%; height: 100%; object-fit: cover; }
.feat-badge { position: absolute; top: 12px; left: 12px; background: var(--blue); color: var(--white); font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.feat-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.feat-body h3 { font-size: 1.6rem; text-transform: uppercase; margin-bottom: .25em; }
.feat-body p { color: var(--muted); font-size: .95rem; flex: 1; }
.feat-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.feat-price { font-weight: 700; }
.feat-price small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; }
.link-book { background: none; border: 0; color: var(--blue); font: 700 1rem var(--font); cursor: pointer; padding: 8px 0; }

/* Precios */
.price-table-wrap { overflow-x: auto; margin-top: 24px; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--white); }
.price-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.price-table th, .price-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th { background: var(--night); color: var(--white); font-family: var(--font-head); text-transform: uppercase; font-size: 1.1rem; letter-spacing: .03em; }
.price-table tbody th { font-weight: 600; }
.price-table tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
.price-table td { font-weight: 700; white-space: nowrap; }
.price-table td.na { color: var(--muted); font-weight: 400; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.extras-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.extras-list li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; display: flex; justify-content: space-between; gap: 10px; }
.extras-list b { white-space: nowrap; }
.price-foot { color: var(--muted); font-size: .85rem; margin-top: 16px; }

/* Turnero */
.booking { background: linear-gradient(180deg, var(--ice), var(--white)); }
.bk { margin-top: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 24px; }
.bk-progress { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: s; }
.bk-progress li { display: flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--muted); padding-bottom: 10px; border-bottom: 3px solid var(--line); }
.bk-progress li span { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--ink); font-size: .8rem; }
.bk-progress li.is-active { color: var(--ink); border-color: var(--blue); }
.bk-progress li.is-active span { background: var(--blue); color: var(--white); }
.bk-progress li.is-done { color: var(--ink); border-color: var(--sky); }
.bk-progress li.is-done span { background: var(--sky); color: var(--night); }
.bk-title { font-family: var(--font); font-size: 1rem; font-weight: 700; margin: 22px 0 10px; }
.bk-title small { font-weight: 400; color: var(--muted); }
.bk-step > .bk-title:first-child { margin-top: 0; }

.vehicles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.veh { border: 2px solid var(--line); background: var(--white); border-radius: var(--radius); padding: 14px 10px; cursor: pointer; text-align: center; font: inherit; color: inherit; transition: border-color .15s, background .15s; }
.veh svg { width: 44px; height: 30px; margin: 0 auto 6px; display: block; color: var(--night-3); }
.veh b { display: block; font-size: .95rem; }
.veh small { color: var(--muted); font-size: .78rem; }
.veh[aria-pressed="true"] { border-color: var(--blue); background: var(--ice); }
.veh[aria-pressed="true"] svg { color: var(--blue); }

.svc-list { display: grid; gap: 10px; }
.svc { display: flex; gap: 12px; align-items: flex-start; border: 2px solid var(--line); border-radius: var(--radius); padding: 14px 16px; cursor: pointer; transition: border-color .15s, background .15s; }
.svc:has(input:checked) { border-color: var(--blue); background: var(--ice); }
.svc.is-off { opacity: .45; cursor: not-allowed; }
.svc input { margin-top: 4px; accent-color: var(--blue); width: 18px; height: 18px; flex: none; }
.svc-body { flex: 1; display: flex; flex-direction: column; }
.svc-name { font-weight: 700; }
.svc-meta { color: var(--muted); font-size: .88rem; }
.svc-price { font-weight: 700; white-space: nowrap; }
.badge { display: inline-block; background: var(--blue); color: var(--white); font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; vertical-align: middle; margin-left: 4px; }

.bk-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.bk-total { font-size: .95rem; color: var(--muted); }
.bk-total b { color: var(--ink); font-size: 1.15rem; }
.bk-pick { background: var(--ice); border-radius: var(--radius-sm); padding: 12px 16px; font-size: .92rem; margin-bottom: 4px; }
.bk-pick b { font-weight: 700; }

.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.day { flex: none; scroll-snap-align: start; width: 74px; border: 2px solid var(--line); background: var(--white); border-radius: 14px; padding: 10px 4px; text-align: center; cursor: pointer; font: inherit; color: inherit; }
.day small { display: block; font-size: .72rem; text-transform: uppercase; color: var(--muted); }
.day b { display: block; font-size: 1.4rem; font-family: var(--font-head); }
.day em { display: block; font-style: normal; font-size: .68rem; color: var(--ok); font-weight: 600; }
.day:disabled { opacity: .5; cursor: not-allowed; }
.day:disabled em { color: var(--muted); }
.day[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: var(--white); }
.day[aria-pressed="true"] small, .day[aria-pressed="true"] em { color: var(--white); }

.slots-wrap h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 14px 0 8px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.slot { border: 2px solid var(--line); background: var(--white); border-radius: 12px; padding: 8px 4px; font: 600 .95rem var(--font); cursor: pointer; color: var(--ink); position: relative; }
.slot small { display: block; font-size: .66rem; font-weight: 600; color: var(--warn); }
.slot:disabled { text-decoration: line-through; color: #a5a9bf; background: var(--paper); cursor: not-allowed; }
.slot[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.slot[aria-pressed="true"] small { color: var(--white); }
.slots-empty { color: var(--muted); background: var(--paper); border-radius: var(--radius-sm); padding: 16px; }
.slots-legend { font-size: .8rem; color: var(--muted); margin-top: 10px; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; font-weight: 600; }
.field small { font-weight: 400; color: var(--muted); }
.field-full { grid-column: 1 / -1; }
.field input, .field textarea { font: 400 1rem var(--font); padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); }
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: none; }
.field input[aria-invalid="true"] { border-color: #dc2626; }
.check { display: flex; align-items: center; gap: 10px; font-size: .95rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { color: #dc2626; font-size: .9rem; min-height: 1.2em; margin: 10px 0 0; }

/* Paso 4: seña */
.pay { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; }
.pay-summary { background: var(--paper); border-radius: var(--radius); padding: 20px; }
.pay-summary h3 { font-family: var(--font); font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.pay-summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .92rem; }
.pay-summary dt { color: var(--muted); }
.pay-summary dd { margin: 0; font-weight: 600; }
.pay-lines { list-style: none; padding: 0; margin: 14px 0 0; border-top: 1px dashed var(--line); padding-top: 12px; font-size: .92rem; }
.pay-lines li { display: flex; justify-content: space-between; padding: 3px 0; }
.pay-lines .total { font-weight: 700; font-size: 1.05rem; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; }
.pay-box { border: 2px solid var(--blue); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.pay-amount { font-family: var(--font-head); font-size: 3rem; line-height: 1; }
.pay-amount small { display: block; font-family: var(--font); font-size: .85rem; color: var(--muted); font-weight: 500; margin-bottom: 4px; }
.pay-rest { font-size: .9rem; color: var(--muted); margin: 0; }
.pay-timer { display: flex; align-items: center; gap: 8px; background: #fff7e6; color: #8a5300; border-radius: 10px; padding: 10px 12px; font-size: .88rem; font-weight: 600; }
.pay-steps { margin: 0; padding-left: 20px; font-size: .88rem; color: var(--muted); }
.pay-done { display: none; background: #e9f9ef; color: #0f5b2c; border-radius: 10px; padding: 12px; font-size: .9rem; }
.pay.is-paid .pay-done { display: block; }

/* Seguro de lluvia */
.rain { background: var(--night); color: var(--white); padding: 64px 0; }
.rain-grid { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; }
.rain img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.rain .eyebrow { color: var(--sky); }
.rain p { opacity: .85; max-width: 520px; }

/* Galería */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; }

/* FAQ */
details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.3rem; color: var(--blue); line-height: 1; }
details[open] summary::after { content: '–'; }
details p { color: var(--muted); }

/* Ubicación */
.loc-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 340px; }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* Footer */
.footer { background: var(--night); color: var(--white); padding: 40px 0 90px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.brand-foot img { width: 40px; height: 40px; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { text-decoration: none; opacity: .85; cursor: pointer; }
.foot-small { width: 100%; font-size: .8rem; opacity: .6; margin: 0; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); cursor: pointer; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(13, 12, 43, .6); display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-card { position: relative; background: var(--white); border-radius: 20px; padding: 24px; width: 100%; max-width: 440px; max-height: 90vh; overflow: auto; box-shadow: var(--shadow-lg); }
.modal-card h3 { font-size: 1.6rem; text-transform: uppercase; }
.modal-sub { color: var(--muted); font-size: .9rem; }
.modal-close { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; background: transparent; font-size: 1.6rem; cursor: pointer; color: var(--muted); }
.wa-preview { white-space: pre-wrap; font: .9rem/1.5 var(--font); background: #e7fbe9; border-radius: 12px; padding: 14px; margin: 0 0 16px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .loc-grid, .pay { grid-template-columns: 1fr; }
  .hero-media { height: 380px; max-width: 420px; width: 100%; margin: 0 auto; }
  .hm-1, .hm-2 { width: 180px; height: 240px; }
  .hm-3 { width: 170px; height: 220px; left: 28%; top: 140px; }
  .featured, .perks-grid, .extras-list { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .rain-grid { grid-template-columns: 1fr; }
  .rain img { max-width: 220px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--night); padding: 8px 16px 18px; display: none; }
  .nav-links.is-open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-links .btn { margin-top: 12px; }
  .section { padding: 56px 0; }
  .bk { padding: 18px 14px; border-radius: 18px; }
  .bk-progress li { flex-direction: column; font-size: .72rem; gap: 4px; text-align: center; }
  .fields { grid-template-columns: 1fr; }
  .vehicles { gap: 8px; }
  .veh { padding: 12px 6px; }
  .veh small { display: none; }
  .bk-bar .btn-primary { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
