:root {
  --accent: #d50802;
  --accent-hover: #b80701;
  --bg: #0e0e11;
  --surface: #131316;
  --surface-2: #18181c;
  --surface-3: #1f1f24;
  --panel-grad: linear-gradient(145deg, #1a1a1d, #0e0e11 45%);
  --border: #ffffff12;
  --border-2: #ffffff1c;
  --border-strong: #ffffff2a;
  --text: #ededef;
  --text-2: #a4a4ad;
  --text-3: #8a8a94;
  --ok: #4ee29a;
  --warn: #f2b84e;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Barlow Condensed', 'Inter', system-ui, sans-serif;
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --gutter: 16px;
  --header: 64px;
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --gutter: 24px; } }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r-sm); background: var(--text); color: var(--bg); }
.skip:focus { left: 8px; z-index: 100; }


/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: var(--r-md); border: 1px solid transparent; font: 600 15px/1.2 var(--font); text-decoration: none; text-align: center; white-space: nowrap; cursor: pointer; transition: background-color 140ms, border-color 140ms; }
.btn-sm { min-height: 44px; padding: 0 12px; font-size: 14px; }
.btn-red { background: var(--accent); color: #fff; }
.btn-red:hover { background: var(--accent-hover); }
.btn-line { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-line:hover { background: #ffffff0b; border-color: #ffffff40; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) { .actions > .btn { flex: 1 1 100%; } }

/* Títulos con las franjas del logo */
h1, .title, .svc-title, .big { font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; line-height: 0.95; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.75rem, 8vw, 5rem); margin: 0 0 20px; }
.title { font-size: clamp(2.25rem, 5vw, 3.25rem); margin: 0 0 16px; display: flex; align-items: center; gap: 14px; }
.cat-title { font-size: clamp(2.5rem, 6.5vw, 4.25rem); }
.svc-title { font-size: clamp(1.75rem, 3.6vw, 2.375rem); margin: 0 0 14px; }
.mark { flex: none; width: 40px; height: 15px; transform: skewX(-20deg);
  background:
    linear-gradient(var(--accent) 0 0) right top / 100% 3px no-repeat,
    linear-gradient(var(--accent) 0 0) right center / 70% 3px no-repeat,
    linear-gradient(var(--accent) 0 0) right bottom / 40% 3px no-repeat; }
.cat-title .mark { width: 56px; height: 21px; }
.intro { color: var(--text-2); font-size: 1.0625rem; max-width: 36rem; margin: 0 0 24px; }

/* Encabezado */
.top { position: sticky; top: 0; z-index: 50; background: #0e0e11f2; border-bottom: 1px solid var(--border); }
.top-in { display: flex; align-items: center; gap: 12px; height: var(--header); }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { height: 44px; width: auto; }
.nav { margin-left: auto; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.menu a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r-sm); color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap; }
.menu a:hover { color: var(--text); background: #ffffff0b; }
.menu-btn { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border-radius: var(--r-md); border: 1px solid var(--border-strong); background: transparent; color: var(--text); font: 600 15px/1 var(--font); cursor: pointer; }
.bars { width: 16px; height: 12px; background: linear-gradient(currentColor 0 0) top / 100% 2px no-repeat, linear-gradient(currentColor 0 0) center / 100% 2px no-repeat, linear-gradient(currentColor 0 0) bottom / 100% 2px no-repeat; }
.top.open .bars { background: linear-gradient(currentColor 0 0) center / 100% 2px no-repeat; }
@media (max-width: 1023px) {
  .nav { margin-left: 0; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: var(--header); flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; background: var(--bg); border-bottom: 1px solid var(--border-2); }
  .top.open .menu { display: flex; }
  .menu a { min-height: 52px; font-size: 17px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .top-wa { margin-left: auto; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 599px) {
  .top-wa { display: none; }
  .menu-btn { margin-left: auto; }
}

/* Portada */
.hero { background: var(--panel-grad); border-bottom: 1px solid var(--border); }
.hero-in { display: grid; gap: 32px; padding-top: 40px; padding-bottom: 48px; }
.lead { font-size: 1.125rem; color: var(--text-2); max-width: 34rem; margin: 0 0 28px; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--text-2); font-size: 15px; }
.facts li { display: flex; align-items: center; }
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); margin-right: 8px; }
.dot.on { background: var(--ok); }
.photo { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .hero-in { padding-top: 72px; padding-bottom: 80px; }
  .hero-in.with-photo { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 56px; }
  .hero-photo { aspect-ratio: 4 / 5; }
}

/* Categorías y servicios */
.cat { padding: 64px 0; }
.cat:nth-of-type(even) { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
@media (min-width: 768px) { .cat { padding: 88px 0; } }
.cat-head { margin-bottom: 48px; }
.cat-head .intro { margin-bottom: 0; }
.svc + .svc { margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--border-2); }
.svc-grid { display: grid; gap: 32px; }
@media (min-width: 900px) {
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .svc-grid.with-photo { align-items: center; }
  .svc-grid.flip > :first-child { order: 2; }
}
.items-title { margin: 0 0 10px; font-size: 1.0625rem; font-weight: 600; }
.svc .foot-note { color: var(--text-2); font-size: 15px; margin: 16px 0 0; }
.svc .cta { margin-top: 28px; }
.packages { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border-2); }
.pkg { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 18px 0; border-bottom: 1px solid var(--border-2); }
.pkg h5 { margin: 0; font-size: 1.0625rem; font-weight: 600; }
.pkg p { margin: 0; color: var(--text-2); font-size: 15px; }
.pkg .time { color: var(--text-3); font-size: 14px; }
.pkg .big { grid-column: 2; grid-row: 1 / 4; align-self: center; font-size: 2rem; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border-2); }
.rows li { display: flex; flex-direction: column; padding: 14px 0; border-bottom: 1px solid var(--border-2); }
.rows span { color: var(--text-2); font-size: 15px; }

/* Renta */
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 24px; }
.sec-head .intro { margin-bottom: 0; }
.count { margin: 8px 0 0; color: var(--text); font-weight: 600; min-height: 1.55em; }
.cars { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.car { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--border-2); border-radius: var(--r-lg); overflow: hidden; }
.car-photo { display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 0; border-bottom: 1px solid var(--border); background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.car-photo img { width: 100%; height: 100%; object-fit: cover; }
.car-photo:focus-visible { outline-offset: -3px; }
.nophoto { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; background: linear-gradient(160deg, #1f1f24, #131316 70%); }
.nophoto .big { font-size: 2.5rem; color: var(--text-2); }
.nophoto small { margin-top: 6px; font-size: 13px; color: var(--text-3); }
.car-body { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 16px; }
.car-name { margin: 0; font-size: 1.125rem; font-weight: 600; }
.car-meta { margin: 0; color: var(--text-2); font-size: 14px; }
.car-price { margin: 10px 0 0; color: var(--text-2); font-size: 15px; }
.car-price .big { font-size: 2rem; color: var(--text); margin-right: 4px; }
.car-more { margin: 0; color: var(--text-3); font-size: 14px; }
.until { margin: 6px 0 0; color: var(--warn); font-size: 14px; }
.car-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 16px; }
.car-actions .btn-red { flex: 1; }
.skel { min-height: 360px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) { .skel { animation: none; } }
.msg { padding: 32px 24px; border: 1px solid var(--border-2); border-radius: var(--r-lg); background: var(--bg); }
.msg h4 { margin: 0 0 6px; font-size: 1.25rem; }
.msg p { margin: 0 0 20px; color: var(--text-2); max-width: 36rem; }
.reqs { margin-top: 32px; padding: 24px; border: 1px solid var(--border-2); border-radius: var(--r-lg); }
.reqs h4 { margin: 0 0 16px; font-size: 1.125rem; }
.reqs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px 24px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.reqs li { display: flex; flex-direction: column; }
.reqs li span { color: var(--text-2); font-size: 15px; }
.reqs > p { margin: 20px 0 0; color: var(--text-2); font-size: 15px; }

/* Detalle del auto */
.dlg { width: min(640px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--border-2); border-radius: var(--r-lg); background: var(--surface); color: var(--text); overflow: auto; }
.dlg::backdrop { background: #000000b3; }
.dlg-x { position: absolute; top: 10px; right: 10px; z-index: 1; width: 44px; height: 44px; border-radius: var(--r-md); border: 1px solid var(--border-2); background: #0e0e11e6; color: var(--text); font: 400 24px/1 var(--font); cursor: pointer; }
.dlg-photo { aspect-ratio: 16 / 9; border-bottom: 1px solid var(--border); }
.dlg-photo img { width: 100%; height: 100%; object-fit: cover; }
.dlg-thumbs { display: flex; gap: 8px; padding: 12px 24px 0; overflow-x: auto; }
.dlg-thumbs button { flex: none; width: 72px; height: 48px; padding: 0; border: 1px solid var(--border-2); border-radius: var(--r-sm); overflow: hidden; background: none; cursor: pointer; }
.dlg-thumbs button[aria-pressed="true"] { border-color: var(--text); }
.dlg-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.dlg-text { padding: 20px 24px 24px; }
.dlg-title { margin: 0 0 8px; font-size: 1.5rem; font-weight: 700; }
.dlg-desc { margin: 0 0 16px; color: var(--text-2); }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; margin: 0 0 20px; font-size: 15px; }
.specs dt { color: var(--text-3); }
.specs dd { margin: 0; }
.dlg-sub { margin: 0 0 4px; font-size: 1rem; }
.rates { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 15px; }
.rates th, .rates td { padding: 10px 0; border-bottom: 1px solid var(--border-2); text-align: left; font-weight: 400; }
.rates td { text-align: right; font-weight: 600; }
.dlg-dep { margin: 0; color: var(--text-2); }
.dlg-dep strong { color: var(--text); }
.dlg-text .actions { margin-top: 20px; }

/* Ubicación */
.sec { padding: 64px 0; }
@media (min-width: 768px) { .sec { padding: 88px 0; } }
.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
.addr { font-size: 1.0625rem; margin: 0 0 24px; }
.hours { width: 100%; max-width: 420px; border-collapse: collapse; margin-bottom: 28px; font-size: 15px; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px solid var(--border-2); text-align: left; font-weight: 400; }
.hours td { text-align: right; color: var(--text-2); }
.hours tr.today th, .hours tr.today td { color: var(--text); font-weight: 600; }
.tag { margin-left: 8px; padding: 2px 6px; border-radius: 4px; background: var(--surface-3); font-size: 12px; font-weight: 600; color: var(--text); }

/* Pie */
.foot { padding: 32px 0; border-top: 1px solid var(--border); color: var(--text-3); font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.foot img { height: 36px; width: auto; }
.foot p { margin: 0; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); }
.fab { display: none; }
@media (max-width: 599px) {
  .fab { display: inline-flex; align-items: center; position: fixed; right: 16px; bottom: 16px; z-index: 40; min-height: 52px; padding: 0 22px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 8px 24px -6px #000000cc; }
  .foot { padding-bottom: 96px; }
}
/* Sin conexión con el punto de venta y sin copia guardada */
.down { padding: 64px 0; }
.down p { color: var(--text-2); max-width: 36rem; }

