/* Keep each service card as tall as its own content. */
section.details .services { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.service-column { display: grid; align-content: start; gap: 1rem; }
.service-autocare {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .8rem 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid #fff;
  border-bottom-color: #aeb8c6;
  border-radius: .65rem;
  background: linear-gradient(145deg, #fff, #e6eaf0);
}
.service-autocare .button { color: #fff; }
.service-autocare p { color: #404b5a; }
.nav-autocare {
  color: #ffe3e7;
  background: #65172b;
  box-shadow: inset 0 1px #ffa3b245;
  border: 1px solid #ff8191a0;
  border-radius: .4rem;
  padding: .35rem .65rem;
}

.autocare {
  --ac-ink: #f6f7fa;
  --ac-muted: #c4cad4;
  --ac-accent: #ff8697;
  color: var(--ac-ink);
  color-scheme: dark;
  border-top: 1px solid #ff859a75;
  border-bottom: 1px solid #5a6171;
  background:
    radial-gradient(ellipse at 85% 3%, #64283866, transparent 39rem),
    radial-gradient(ellipse at 15% 20%, #30435c75, transparent 52rem),
    linear-gradient(146deg, #131822, #090c13 58%, #1a202b);
  padding: clamp(3rem, 7vw, 6rem) 0;
  scroll-margin-top: 1rem;
}
.ac-wrap { min-width: 0; }
.ac-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 1.45rem;
}
.ac-heading h2 {
  color: #ecf2fc;
  font-size: clamp(2.5rem, 5.9vw, 5.5rem);
  line-height: 1;
  letter-spacing: -.06em;
  margin: .55rem 0 .8rem;
}
@supports (background-clip: text) {
  .ac-heading h2 {
    color: transparent;
    background: linear-gradient(175deg, #fff 22%, #cdd8e9 52%, #a9b7ce 56%, #fbfdff 96%);
    background-clip: text;
  }
  .ac-heading h2 span {
    background: linear-gradient(165deg, #ffdee2 8%, #ff94a3 40%, #df5065 47%, #ffc1cc 90%);
    background-clip: text;
  }
}
.ac-heading p:not(.eyebrow), .ac-panel-intro, .ac-subsection > p, .ac-safety > p { color: var(--ac-muted); }
.ac-actions, .ac-examples { display: flex; flex-wrap: wrap; gap: .55rem; }
.ac-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: .65rem 1rem;
  border: 1px solid #768195;
  border-radius: .65rem;
  background: linear-gradient(160deg, #303949, #1a212e);
  color: #fff;
  font: inherit;
  font-weight: 750;
  text-align: center;
  cursor: pointer;
}
.ac-button:hover { background: #394557; }
.ac-button-red { border-color: #ff788b; background: linear-gradient(160deg, #a1263c, #821229); box-shadow: inset 0 1px #ffd0d363, 0 .4rem 1rem #b0193e37; }
.ac-button-red:hover { background: #ab2641; }
.ac-interactive[hidden], .ac-button[hidden] { display: none; }
.ac-workbench {
  display: grid;
  grid-template-columns: minmax(0, 2.04fr) minmax(19rem, 1fr);
  grid-template-rows: min-content 1fr;
  grid-template-areas: "vehicle panel" "systems panel";
  align-items: start;
  gap: .95rem 1.25rem;
}
.ac-vehicle { grid-area: vehicle; margin: 0; min-width: 0; }
.ac-stage {
  isolation: isolate;
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid #8696b0;
  border-radius: .85rem;
  background: radial-gradient(ellipse at 70% 65%, #404b61, #121722 74%);
  box-shadow: 0 1.1rem 2.3rem #0006, inset 0 0 1.5rem #171e2d;
  touch-action: pan-y pinch-zoom;
  cursor: grab;
  user-select: none;
}
.ac-photo, .ac-points { position: absolute; inset: 0; }
.ac-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.ac-stage.ac-dragging { cursor: grabbing; }
.ac-stage::after {
  position: absolute;
  content: "";
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px #f1f5ff29, inset 0 -.55rem 1.3rem #0007;
  background:
    radial-gradient(2px 2px at 8% 23%, #ffb6c6 48%, transparent),
    radial-gradient(2px 2px at 28% 12%, #f6fbff 48%, transparent),
    radial-gradient(2px 2px at 71% 16%, #ffe2e9 48%, transparent),
    radial-gradient(2px 2px at 92% 28%, #ffd8e0 48%, transparent);
  opacity: .63;
}
.ac-vehicle figcaption { padding: .48rem .15rem 0; color: var(--ac-muted); font-size: .875rem; }
.ac-view-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .45rem .85rem;
  margin-bottom: .45rem;
  color: var(--ac-muted);
  font-size: .875rem;
}
.ac-view-controls { display: flex; flex-wrap: wrap; gap: .35rem; }
.ac-view-button {
  min-height: 44px;
  padding: .4rem .65rem;
  border: 1px solid #74829a;
  border-radius: .45rem;
  color: var(--ac-ink);
  background: linear-gradient(145deg, #303948, #171e2c);
  font: 700 .875rem/1.25 system-ui, sans-serif;
  cursor: pointer;
}
.ac-view-button:hover { background: #344055; }
.ac-view-button[aria-pressed="true"] { border-color: #ff9eaf; background: #742036; box-shadow: inset 0 1px #ffb0b955; }
.ac-mobile-actions { display: none; }
.ac-scan {
  width: 27%;
  height: 64%;
  position: absolute;
  z-index: 1;
  top: 20%;
  left: -27%;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #9edcff17 65%, #d3f3ff60 95%, #fcf3ffb0);
  border-right: 1px solid #fff6fb;
}
.ac-points { z-index: 3; }
.ac-point {
  --ac-marker: #ff8798;
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
}
.ac-point::before, .ac-point::after {
  content: "";
  grid-area: 1 / 1;
  border-radius: 50%;
  pointer-events: none;
}
.ac-point::before {
  width: 24px;
  height: 24px;
  background: #81142ca0;
  border: 1px solid #ffc1c9;
  box-shadow: 0 0 13px #ff3a67ad;
}
.ac-point::after { width: 9px; height: 9px; background: #ffeaee; box-shadow: 0 0 7px var(--ac-marker); }
.ac-point[aria-pressed="true"] { z-index: 2; }
.ac-point[aria-pressed="true"]::before { width: 31px; height: 31px; background: #cc1c48; border: 2px solid #fff4f4; box-shadow: 0 0 21px #ff345c, 0 0 31px #ff335f; }
.ac-point[aria-pressed="false"]::before, .ac-point[aria-pressed="false"]::after { opacity: .72; }
.ac-point-label {
  display: none;
  position: absolute;
  bottom: 99%;
  left: 50%;
  transform: translateX(-50%);
  padding: .3rem .65rem;
  border-radius: .38rem;
  border: 1px solid #ff9ba9;
  color: #fff;
  background: #201923;
  font: 700 .83rem system-ui, sans-serif;
  white-space: nowrap;
  pointer-events: none;
}
@media (min-width: 650px) {
  .ac-point:is(:hover, :focus-visible) { z-index: 4; }
  .ac-point:is(:hover, :focus-visible) .ac-point-label { display: block; }
  .ac-point[data-ac-system="neumaticos"] .ac-point-label,
  .ac-point[data-ac-system="suspension"] .ac-point-label { left: auto; right: 0; transform: none; }
  .ac-point[data-ac-system="iluminacion"] .ac-point-label { left: 0; transform: none; }
}
.ac-systems {
  grid-area: systems;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .5rem;
}
.ac-category {
  display: flex;
  gap: .5rem;
  align-items: center;
  min-width: 0;
  min-height: 53px;
  padding: .5rem .65rem;
  color: var(--ac-ink);
  background: linear-gradient(145deg, #303948, #141a25);
  border: 1px solid #606d82;
  border-radius: .55rem;
  font: 650 .9rem/1.25 system-ui, sans-serif;
  text-align: left;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.ac-category:hover { background: #343e50; }
.ac-category[aria-pressed="true"] {
  border-color: #ff8a9a;
  background: linear-gradient(130deg, #852039, #3a1b2a);
  box-shadow: inset 0 0 9px #ef749033, 0 0 15px #dd285a21;
}
.ac-icon { display: inline-flex; width: 1.45rem; height: 1.45rem; flex: 0 0 auto; }
.ac-icon svg { width: 100%; height: 100%; }
.ac-panel, .ac-subsection {
  border: 1px solid #68758b;
  border-top-color: #a8b7ca;
  border-radius: .85rem;
  background: linear-gradient(146deg, #333d4de8, #171f2cf2 45%, #151a26);
  box-shadow: inset 0 1px #e0ebff22, 0 1rem 2rem #02050b3b;
  padding: clamp(.85rem, 2.2vw, 1.4rem);
  min-width: 0;
}
.ac-panel { grid-area: panel; scroll-margin-top: .8rem; }
.ac-panel-heading { display: flex; gap: .6rem; align-items: center; margin-bottom: .45rem; }
.ac-panel-heading h3 { font-size: clamp(1.15rem, 2vw, 1.65rem); line-height: 1.13; overflow-wrap: anywhere; }
.ac-system-icon { color: var(--ac-accent); }
.ac-panel-intro { font-size: .94rem; margin-bottom: .8rem; }
.ac-system-fichas, .ac-search-results, .ac-indicators { display: grid; align-items: start; gap: .5rem; min-width: 0; }
.ac-disclosure { border: 1px solid #66748b; border-radius: .55rem; background: #121925; min-width: 0; }
.ac-disclosure[open] { border-color: #a1aec1; }
.ac-disclosure summary {
  display: flex;
  list-style: none;
  align-items: center;
  gap: .68rem;
  min-height: 53px;
  padding: .55rem .65rem;
  cursor: pointer;
  border-radius: inherit;
}
.ac-disclosure summary::-webkit-details-marker { display: none; }
.ac-disclosure summary:hover { background: #263144; }
.ac-disclosure summary::after { content: "+" / ""; font-size: 1.3rem; margin-left: auto; color: #d5deea; }
.ac-disclosure[open] summary::after { content: "−" / ""; }
.ac-card-title { display: grid; justify-items: start; min-width: 0; gap: .22rem; font-weight: 750; line-height: 1.3; }
.ac-level {
  --ac-level: #cce6d4;
  display: inline-flex;
  align-items: center;
  gap: .36rem;
  color: var(--ac-level);
  font-size: .8rem;
  line-height: 1.35;
  font-weight: 700;
}
.ac-level::before { content: ""; flex: 0 0 .5rem; height: .5rem; border-radius: 50%; background: var(--ac-level); }
.ac-ambar { --ac-level: #ffd286; }
.ac-rojo { --ac-level: #ffacb7; }
.ac-verde { --ac-level: #a3ebbd; }
.ac-card-body { padding: .65rem .75rem .55rem; border-top: 1px solid #4a566d; color: #e4e9f2; font-size: .94rem; }
.ac-card-body dl { margin: .55rem 0; }
.ac-card-body dt { color: #f5f8ff; margin-top: .45rem; font-weight: 750; }
.ac-card-body dd { margin: .15rem 0 0; }
.ac-text-link { display: inline-flex; align-items: center; min-height: 44px; color: #ffb8c4; font-weight: 750; text-decoration: underline; text-underline-offset: .16em; }
.ac-results-back, button.ac-text-link {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}
.ac-results-back[hidden], .ac-copy-text[hidden] { display: none; }
.ac-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .85rem; }
.ac-card-actions .ac-button { min-height: 44px; padding: .4rem .62rem; font-size: .875rem; }
.ac-card-body .ac-priority {
  padding: .62rem .72rem;
  margin: 0 0 .7rem;
  border: 1px solid #cb7587;
  border-left: 3px solid #ff8b9e;
  border-radius: .42rem;
  background: #46202c;
}
.ac-card-body .ac-priority dt { color: #ffd9e0; margin: 0; }
.ac-copy-text {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 4.75rem;
  margin-top: .35rem;
  padding: .45rem;
  color: var(--ac-ink);
  background: #121925;
  border: 1px solid #a1aec1;
  border-radius: .35rem;
  font: inherit;
}
.ac-copy-status:not(:empty) { color: var(--ac-muted); margin-top: .35rem; }
.ac-safety {
  margin-top: 1.25rem;
  padding: .85rem 1rem;
  border: 1px solid #546075;
  border-left: 3px solid #ff8197;
  border-radius: .4rem;
  background: #1a2230;
}
.ac-legend { display: flex; flex-wrap: wrap; gap: .32rem 1.2rem; list-style: none; padding: 0; margin: 0 0 .45rem; }
.ac-safety > p { font-size: .94rem; }
.ac-subsection { margin-top: 1.35rem; scroll-margin-top: 1rem; }
.ac-subsection h3 { font-size: clamp(1.35rem, 3vw, 2rem); margin-bottom: .3rem; }
.ac-subsection > p { margin-bottom: .75rem; }
.ac-search-form { max-width: 44rem; }
.ac-search-form label { display: block; font-weight: 700; margin-bottom: .3rem; }
.ac-input-row { display: flex; gap: .5rem; }
.ac-input-row input { flex: 1 1 auto; min-width: 0; width: 100%; min-height: 46px; padding: .55rem .7rem; border: 1px solid #9babbe; background: #121925; color: #fff; border-radius: .5rem; font: inherit; }
.ac-input-row input::placeholder { color: #aeb9ca; }
.ac-examples { margin-top: .55rem; }
.ac-chip { min-height: 44px; border: 1px solid #66748b; border-radius: .5rem; background: #202b3b; color: #ebf0f8; cursor: pointer; padding: .4rem .65rem; font: 650 .85rem system-ui, sans-serif; text-align: left; }
.ac-chip:hover { background: #374457; }
.ac-search-status:not(:empty) { margin-top: .9rem; margin-bottom: .5rem; }
.ac-search-results, .ac-indicators { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ac-indicators .ac-disclosure summary > .ac-icon { color: #ffd9df; }
.ac-advice ul { padding-left: 1.2rem; margin: 0 0 .8rem; }
.ac-advice li + li { margin-top: .28rem; }
.ac-noscript a { text-decoration: underline; }
.ac-noscript + .ac-subsection { margin-top: .65rem; }
.autocare :focus-visible { outline: 3px solid #ffd6df; outline-offset: 3px; }
.ac-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (prefers-reduced-motion: no-preference) {
  .ac-photo, .ac-points { translate: var(--ac-drag, 0px) 0; }
  .ac-stage:not(.ac-dragging) .ac-photo, .ac-stage:not(.ac-dragging) .ac-points { transition: translate .18s ease-out; }
  .ac-photo img { transform: translate(var(--ac-x, 0), var(--ac-y, 0)) scale(1.014); transition: transform .24s ease-out; }
  .ac-reveal .ac-photo { animation: ac-vehicle-in .85s cubic-bezier(.17,.67,.2,1) both; }
  .ac-reveal::after { animation: ac-dust 3.8s ease-in-out both; }
  .ac-reveal .ac-point[aria-pressed="true"]::before { animation: ac-halo 1.7s ease-out 2; }
}
@keyframes ac-vehicle-in {
  from { opacity: .55; filter: blur(5px) brightness(1.22); transform: scale(1.025); }
  to { opacity: 1; filter: none; transform: none; }
}
@keyframes ac-halo {
  0%, 100% { box-shadow: 0 0 15px #ff345c; }
  55% { box-shadow: 0 0 24px #ff345c, 0 0 0 7px #ff779337; }
}
@keyframes ac-dust {
  from { opacity: .3; }
  52% { opacity: .78; }
  to { opacity: .63; }
}
@media (max-width: 1070px) {
  .ac-systems { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 840px) {
  .ac-workbench {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "vehicle" "systems" "panel";
  }
  .ac-mobile-actions { display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap; gap: .4rem .9rem; margin-top: .35rem; }
  .ac-mobile-actions .ac-panel-jump { max-width: 100%; }
  .ac-assistant-dock { min-width: 0; max-width: 100%; }
  .ac-assistant-dock .assistant { position: static; }
  .ac-assistant-dock .bot-open { display: flex; align-items: center; gap: .45rem; padding: .28rem .65rem; min-height: 44px; }
  .ac-assistant-dock .bot-open canvas { width: 52px; }
  .ac-assistant-dock .bot-panel { max-width: 100%; }
}
@media (max-width: 620px) {
  section.details .services, .ac-search-results, .ac-indicators { grid-template-columns: minmax(0, 1fr); }
  .ac-systems { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .autocare { padding-bottom: 5rem; }
  .ac-point::before { width: 17px; height: 17px; }
  .ac-point[aria-pressed="true"]::before { width: 24px; height: 24px; }
  .ac-point::after { width: 6px; height: 6px; }
  .ac-panel, .ac-subsection { padding-inline: .7rem; }
  .ac-button { padding-inline: .75rem; }
}
@media (forced-colors: active) {
  .ac-heading h2, .ac-heading h2 span { color: CanvasText; background: none; }
  .ac-point { border: 1px solid ButtonText; }
  .ac-point[aria-pressed="true"], .ac-category[aria-pressed="true"], .ac-view-button[aria-pressed="true"] { outline: 2px solid Highlight; }
}
