/* ==========================================================================
   AUTOESPAR · estilos base y componentes
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.section { padding-block: var(--section-y); }

.u-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: .75rem 1.25rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  transition: top var(--t-fast);
}
.skip-link:focus { top: 16px; }

/* ---------- Tipografía de sección ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .75rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
}
.eyebrow--light { color: #fff; }

.section__title {
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.02em;
}
.section__lead {
  max-width: 58ch;
  margin-top: .75rem;
  color: var(--muted);
}
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-5);
  flex-wrap: wrap;
  margin-bottom: var(--sp-6);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.35rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(232, 7, 7, .22); }
.btn--primary:hover { background: var(--brand-dark); box-shadow: 0 8px 22px rgba(232, 7, 7, .3); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--outline { border-color: var(--line-strong); background: #fff; color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--ghost { background: var(--surface-alt); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  transition: color var(--t-fast);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--t-fast); }
.link-arrow:hover { color: var(--brand); }
.link-arrow:hover svg { transform: translateX(4px); }

.linklike {
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.linklike:hover { color: var(--brand); }

/* ---------- Barra de progreso de lectura ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  z-index: 120;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* ---------- Barra superior ---------- */
.topbar {
  background: var(--dark);
  color: rgba(255, 255, 255, .82);
  font-size: .78rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: var(--topbar-h);
}
.topbar__claim {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  letter-spacing: .02em;
}
.topbar__claim svg { width: 15px; height: 15px; color: var(--brand); }
.topbar__links { display: flex; align-items: center; gap: 1.25rem; }
.topbar__links a { display: inline-flex; align-items: center; gap: .4rem; transition: color var(--t-fast); }
.topbar__links a:hover { color: #fff; }
.topbar__links svg { width: 14px; height: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t-med);
}
.site-header.is-scrolled { box-shadow: var(--shadow-1); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 2.5rem);
  min-height: var(--header-h);
  transition: min-height var(--t-med);
}
.site-header.is-scrolled .header__inner { min-height: 64px; }

.logo { flex: none; display: inline-flex; }
.logo img { width: clamp(160px, 17vw, 205px); height: auto; }

.nav__list { display: flex; align-items: center; gap: .75rem; }
.nav__item { position: relative; }
.nav__link,
.nav__toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .55rem .05rem;
  border: 0;
  background: none;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  color: var(--ink-soft);
  transition: color var(--t-fast);
}
.nav__link::after,
.nav__toggle::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .15rem;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform var(--t-fast);
}
.nav__link:hover,
.nav__toggle:hover,
.nav__item.is-open .nav__toggle { color: var(--brand); }
.nav__link:hover::after,
.nav__toggle:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--brand); }
.nav__toggle svg { width: 14px; height: 14px; transition: transform var(--t-fast); }
.nav__item.is-open .nav__toggle svg { transform: rotate(180deg); }

.nav__sub {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 210px;
  padding: .5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
}
.nav__item.is-open .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__item[data-submenu] .nav__sub {
  left: auto;
  right: 0;
  transform: translateY(6px);
}
.nav__item[data-submenu].is-open .nav__sub { transform: translateY(0); }
.nav__sub a {
  display: block;
  padding: .6rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .82rem;
  font-weight: 600;
}
.nav__sub a:hover { background: var(--surface-alt); color: var(--brand); }

.header__actions { display: flex; align-items: center; gap: .6rem; flex: none; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition: background var(--t-fast), border-color var(--t-fast);
}
.icon-btn:hover { background: var(--surface-alt); border-color: var(--line); }
.icon-btn svg { width: 20px; height: 20px; }

.header__cta { padding: .75rem 1.1rem; font-size: .88rem; }

.burger {
  display: none;
  width: 44px; height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}
.burger span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(17, 18, 20, .45);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med), visibility var(--t-med);
}
.nav-overlay.is-open { opacity: 1; visibility: visible; }

.nav__mobile-extra { display: none; }

/* ==========================================================================
   Hero / slider
   ========================================================================== */
.hero {
  position: relative;
  background: var(--dark);
  overflow: hidden;
}
.hero__viewport { position: relative; }
.hero__track {
  display: flex;
  transition: transform 640ms var(--ease);
  will-change: transform;
}
.hero__slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
}
.hero__link { display: block; }
.hero__slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 708;
  object-fit: cover;
  display: block;
}
.hero__slide[aria-hidden="true"] img { pointer-events: none; }

.hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  box-shadow: var(--shadow-2);
  transform: translateY(-50%);
  transition: background var(--t-fast), transform var(--t-fast), opacity var(--t-fast);
}
.hero__arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.hero__arrow svg { width: 20px; height: 20px; }
.hero__arrow--prev { left: clamp(.75rem, 2vw, 1.5rem); }
.hero__arrow--next { right: clamp(.75rem, 2vw, 1.5rem); }

.hero__bar {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - (var(--gutter) * 2), var(--container));
  padding-bottom: 1.1rem;
  transform: translateX(-50%);
}

.hero__dots { display: flex; align-items: center; gap: .4rem; }
.hero__dot {
  width: 9px; height: 9px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .6);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
  transition: width var(--t-fast), background var(--t-fast);
}
.hero__dot:hover { background: #fff; }
.hero__dot[aria-selected="true"] { width: 26px; background: var(--brand); }

.hero__meta { display: flex; align-items: center; gap: .6rem; }
.hero__count,
.hero__pause {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  height: 34px;
  padding: 0 .75rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(17, 18, 20, .66);
  color: #fff;
  font-size: .76rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
  backdrop-filter: blur(6px);
}
.hero__pause { transition: background var(--t-fast); }
.hero__pause:hover { background: rgba(17, 18, 20, .85); }
.hero__pause svg { width: 13px; height: 13px; }
.hero__sep { opacity: .55; }

.hero__progress {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  height: 3px;
  background: rgba(255, 255, 255, .25);
}
.hero__progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.hero__progress.is-running span { animation: heroProgress 5s linear forwards; }
.hero.is-paused .hero__progress span { animation-play-state: paused; }
@keyframes heroProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ==========================================================================
   Accesos rápidos
   ========================================================================== */
.quick { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.quick__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.quick__item {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.1rem 1.25rem;
  background: #fff;
  transition: background var(--t-fast);
}
.quick__item:hover { background: var(--surface-alt); }
.quick__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brand-tint);
  color: var(--brand);
}
.quick__icon svg { width: 22px; height: 22px; }
.quick__text { min-width: 0; }
.quick__text strong { display: block; font-size: .95rem; font-weight: 600; }
.quick__text small { display: block; color: var(--muted); font-size: .76rem; line-height: 1.4; }
.quick__go { margin-left: auto; flex: none; color: var(--muted-light); transition: color var(--t-fast), transform var(--t-fast); }
.quick__item:hover .quick__go { color: var(--brand); transform: translateX(3px); }
.quick__go svg { width: 18px; height: 18px; }

/* ==========================================================================
   Catálogo
   ========================================================================== */
.catalog { background: var(--surface); }
.catalog__tools {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .85rem;
  color: var(--muted);
}
.catalog__tools select {
  min-width: 190px;
  padding: .6rem 2.4rem .6rem .85rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .75rem center;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
  appearance: none;
  cursor: pointer;
}
.catalog__tools select:hover { border-color: var(--ink); }

.chips {
  display: flex;
  gap: .5rem;
  margin-bottom: 1.1rem;
  overflow-x: auto;
  padding-bottom: .35rem;
  scrollbar-width: thin;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  flex: none;
  padding: .55rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: #fff;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink-soft);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.chip span {
  font-size: .7rem;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.chip[aria-pressed="true"] span { color: rgba(255, 255, 255, .65); }

.catalog__status {
  margin-bottom: 1.1rem;
  font-size: .82rem;
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

/* ---------- Tarjeta de vehículo ---------- */
.vcard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.vcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; }
.vcard.is-filtered-out { display: none; }
.vcard.is-collapsed { display: none; }
.vcard.is-collapsed.is-revealed:not(.is-filtered-out) { display: flex; }
.vcard.is-highlight { animation: cardHighlight 1.8s var(--ease); }
@keyframes cardHighlight {
  0%, 100% { box-shadow: var(--shadow-1); }
  20% { box-shadow: 0 0 0 3px rgba(232, 7, 7, .45); }
}

.vcard__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #F7F7F7;
}
.vcard__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--t-slow);
}
.vcard:hover .vcard__media img { transform: scale(1.05); }

.vcard__stock {
  position: absolute;
  top: .7rem; left: .7rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .6rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .95);
  font-size: .68rem;
  font-weight: 600;
  color: var(--success);
  box-shadow: var(--shadow-1);
}
.vcard__stock::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.vcard__quick {
  position: absolute;
  left: .7rem; right: .7rem; bottom: .7rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .7rem .8rem;
  border: 0;
  border-radius: var(--radius-sm);
  background: rgba(17, 18, 20, .92);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t-fast), transform var(--t-fast), background var(--t-fast);
}
.vcard__quick svg { width: 15px; height: 15px; }
.vcard__quick:hover { background: var(--brand); }
.vcard:hover .vcard__quick,
.vcard:focus-within .vcard__quick { opacity: 1; transform: translateY(0); }

.vcard__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .2rem;
  flex: 1;
  padding: 1rem 1.1rem 1.15rem;
}
.vcard__cat {
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.vcard__name { font-size: 1.12rem; font-weight: 600; line-height: 1.3; }
.vcard__name a { transition: color var(--t-fast); }
.vcard__name a:hover { color: var(--brand); }

.vcard__price {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  margin-top: .15rem;
  font-variant-numeric: tabular-nums;
}
.vcard__amount { font-size: 1.22rem; font-weight: 600; letter-spacing: -.01em; }
.vcard__cur {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--muted);
  text-transform: uppercase;
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  min-height: 20px;
  margin-top: .45rem;
}
.swatch {
  width: 17px; height: 17px;
  padding: 0;
  border: 1px solid rgba(17, 18, 20, .18);
  border-radius: 50%;
  background: var(--sw, #ddd);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.swatch:hover,
.swatch:focus-visible { transform: scale(1.25); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--brand); }

.vcard__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: auto;
  padding-top: .9rem;
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink);
  transition: color var(--t-fast);
}
.vcard__link svg { width: 16px; height: 16px; transition: transform var(--t-fast); }
.vcard__link:hover { color: var(--brand); }
.vcard__link:hover svg { transform: translateX(3px); }

.catalog__empty {
  padding: 3rem 1.5rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  text-align: center;
  color: var(--muted);
}
.catalog__empty strong { display: block; color: var(--ink); margin-bottom: .25rem; }
.catalog__empty[hidden] { display: none; }

.catalog__foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2.25rem;
}
.catalog__note {
  margin-top: 1.5rem;
  font-size: .76rem;
  color: var(--muted);
  text-align: center;
}

/* ==========================================================================
   Cotiza aquí
   ========================================================================== */
.quote { background: var(--surface-alt); }
.quote__layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}
.quote__panel {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  overflow: hidden;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #F20C0C 0%, var(--brand) 45%, #B90505 100%);
  color: #fff;
}
.quote__panel::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -140px;
  width: 340px;
  height: 340px;
  border: 60px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  pointer-events: none;
}
.quote__title {
  position: relative;
  margin-top: .25rem;
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.03em;
}
.quote__lead {
  position: relative;
  max-width: 34ch;
  margin-top: .9rem;
  color: rgba(255, 255, 255, .9);
  font-size: .95rem;
}
.quote__list {
  position: relative;
  display: grid;
  gap: .7rem;
  margin-top: 1.75rem;
}
.quote__list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9rem;
}
.quote__list svg { width: 18px; height: 18px; flex: none; margin-top: .15rem; }
.quote__contact {
  position: relative;
  display: grid;
  gap: .3rem;
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .28);
  font-size: .92rem;
  font-weight: 600;
}
.quote__contact a { display: inline-flex; align-items: center; gap: .5rem; }
.quote__contact a:hover { text-decoration: underline; text-underline-offset: 3px; }
.quote__contact svg { width: 16px; height: 16px; opacity: .85; }

.quote__card {
  padding: clamp(1.25rem, 2.5vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-1);
}
.qform__head { margin-bottom: 1.25rem; }
.qform__head h3 { font-size: 1.1rem; font-weight: 600; }
.qform__head p { margin-top: .2rem; font-size: .8rem; color: var(--muted); }

.qform__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.1rem;
}
.qform__grid [hidden] { display: none !important; }
.field { display: flex; flex-direction: column; gap: .3rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--ink-soft);
}
.field .req { color: var(--brand); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .7rem .85rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: .9rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.field textarea { min-height: 96px; resize: vertical; }
.field select {
  padding-right: 2.3rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .8rem center;
  appearance: none;
  cursor: pointer;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-light); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(232, 7, 7, .12);
}
.field [aria-invalid="true"] {
  border-color: var(--brand);
  background: #FFF8F8;
}
.field__msg {
  min-height: 1em;
  font-size: .72rem;
  color: var(--brand);
}
.field__msg:empty { display: none; }

.qform__counter {
  margin-top: .25rem;
  font-size: .72rem;
  color: var(--muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.qform__counter.is-near { color: var(--brand); font-weight: 600; }

.qform__privacy {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  margin-top: 1.25rem;
  padding: .9rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  font-size: .78rem;
  line-height: 1.55;
  color: var(--muted);
  transition: box-shadow var(--t-fast);
}
.qform__privacy input {
  flex: none;
  width: 18px; height: 18px;
  margin: .15rem 0 0;
  accent-color: var(--brand);
}
.qform__privacy .linklike { font-size: inherit; display: inline-block; margin-top: .3rem; }
.qform__privacy label { cursor: pointer; }
.qform__privacy.is-invalid { box-shadow: 0 0 0 2px rgba(232, 7, 7, .4); }

.qform__error {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-top: 1rem;
  padding: .75rem .9rem;
  border: 1px solid #F3B4B4;
  border-radius: var(--radius-sm);
  background: var(--brand-tint);
  color: #8A0A0A;
  font-size: .82rem;
}
.qform__error[hidden] { display: none; }
.qform__error svg { width: 17px; height: 17px; flex: none; margin-top: .1rem; }

.qform__submit { margin-top: 1.1rem; padding-block: 1rem; font-size: 1rem; }
.qform__submit svg { width: 17px; height: 17px; }
.qform__note {
  margin-top: .7rem;
  font-size: .72rem;
  line-height: 1.55;
  color: var(--muted);
  text-align: center;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ==========================================================================
   Diálogos
   ========================================================================== */
.dialog {
  width: min(680px, 94vw);
  max-height: 88vh;
  padding: 0;
  border: 0;
  border-radius: var(--radius-md);
  color: var(--ink);
  box-shadow: var(--shadow-3);
}
.dialog::backdrop { background: rgba(17, 18, 20, .58); }
.dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.5rem .5rem;
}
.dialog__title {
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
}
.dialog__close {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  transition: background var(--t-fast);
}
.dialog__close:hover { background: var(--surface-alt); }
.dialog__close svg { width: 16px; height: 16px; }
.dialog__body {
  display: grid;
  gap: .85rem;
  padding: .75rem 1.5rem 1.5rem;
  overflow-y: auto;
  max-height: 62vh;
  font-size: .86rem;
  line-height: 1.7;
  color: var(--muted);
}
.dialog__body strong { color: var(--ink); }
.dialog__body a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.dialog__foot {
  display: flex;
  justify-content: flex-end;
  gap: .6rem;
  padding: 0 1.5rem 1.5rem;
}

.dialog--thanks { width: min(540px, 94vw); }
.dialog--thanks .dialog__body { text-align: center; justify-items: center; gap: .5rem; }
.dialog--thanks img {
  width: min(100%, 420px);
  border-radius: var(--radius-sm);
}
.dialog--thanks h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ink);
}
.dialog--thanks p { max-width: 34ch; }

/* ==========================================================================
   Toasts
   ========================================================================== */
.toast-stack {
  position: fixed;
  left: 50%;
  bottom: calc(1.5rem + env(safe-area-inset-bottom));
  z-index: 130;
  display: grid;
  gap: .5rem;
  width: min(92vw, 440px);
  transform: translateX(-50%);
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  padding: .8rem 1rem;
  border-left: 3px solid var(--brand);
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-size: .84rem;
  line-height: 1.5;
  box-shadow: var(--shadow-2);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--t-med), transform var(--t-med);
}
.toast.is-visible { opacity: 1; transform: translateY(0); }
.toast svg { width: 17px; height: 17px; flex: none; margin-top: .1rem; color: #FF8A8A; }

/* ==========================================================================
   Servicios
   ========================================================================== */
.services { background: #fff; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.9rem, 2vw, 1.35rem);
}
.service {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .35rem;
  width: 100%;
  padding: 1.6rem 1.4rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: border-color var(--t-med), box-shadow var(--t-med), transform var(--t-med);
}
.service::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--brand);
  transform: scaleY(0);
  transform-origin: 50% 0;
  transition: transform var(--t-med);
}
.service:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-2);
}
.service:hover::before { transform: scaleY(1); }
.service__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: .6rem;
  border-radius: 14px;
  background: var(--brand-tint);
  color: var(--brand);
  transition: background var(--t-fast), color var(--t-fast);
}
.service:hover .service__icon { background: var(--brand); color: #fff; }
.service__icon svg { width: 25px; height: 25px; }
.service h3 { font-size: 1.05rem; font-weight: 600; }
.service p { font-size: .84rem; line-height: 1.6; color: var(--muted); }
.service__cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: auto;
  padding-top: 1rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--brand);
}
.service__cta svg { width: 15px; height: 15px; transition: transform var(--t-fast); }
.service:hover .service__cta svg { transform: translateX(3px); }

/* ==========================================================================
   Confianza / cifras
   ========================================================================== */
.trust {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
}
.trust::before {
  content: "";
  position: absolute;
  top: -220px; right: -180px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 7, 7, .28), transparent 68%);
  pointer-events: none;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-block: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.stat__num {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.stat__num::after {
  content: attr(data-suffix);
  color: var(--brand);
  margin-left: .1rem;
}
.stat__label {
  margin-top: .5rem;
  font-size: .8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .65);
}
.trust__certs {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap;
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
}
.trust__certs img {
  width: min(230px, 60vw);
  padding: .7rem 1rem;
  border-radius: var(--radius-sm);
  background: #fff;
}
.trust__certs p { max-width: 56ch; font-size: .88rem; color: rgba(255, 255, 255, .68); }
.trust__certs strong {
  display: block;
  margin-bottom: .25rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

/* ==========================================================================
   Alquila (KINTO)
   ========================================================================== */
.rental { background: var(--surface-alt); }
.rental__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
}
.rental__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .55rem;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.rental__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.rental__deco {
  position: absolute;
  top: -56px; right: -56px;
  width: 170px; height: 170px;
  border-radius: 50%;
  background: var(--brand-tint);
  transition: transform var(--t-med);
}
.rental__card:hover .rental__deco { transform: scale(1.25); }
.rental__badge {
  position: relative;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
}
.rental__card h3 {
  position: relative;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -.01em;
}
.rental__card p { position: relative; max-width: 42ch; font-size: .9rem; color: var(--muted); }
.rental__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink);
  transition: color var(--t-fast);
}
.rental__link svg { width: 16px; height: 16px; transition: transform var(--t-fast); }
.rental__card:hover .rental__link { color: var(--brand); }
.rental__card:hover .rental__link svg { transform: translateX(4px); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, .72);
  font-size: .86rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.25fr .85fr .85fr 1.05fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.footer__logo {
  display: inline-flex;
  padding: .65rem .9rem;
  border-radius: var(--radius-sm);
  background: #fff;
}
.footer__logo img { width: 178px; height: auto; }
.footer__brand p {
  max-width: 30ch;
  margin-top: 1.1rem;
  color: rgba(255, 255, 255, .55);
  font-size: .84rem;
}
.footer__title {
  margin-bottom: 1rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
}
.footer__list { display: grid; gap: .55rem; }
.footer__list a { transition: color var(--t-fast); }
.footer__list a:hover { color: #fff; }
.footer__contact { display: grid; gap: .85rem; }
.footer__contact a,
.footer__contact p { display: flex; align-items: flex-start; gap: .6rem; }
.footer__contact svg { width: 16px; height: 16px; flex: none; margin-top: .2rem; color: var(--brand); }
.footer__contact a:hover { color: #fff; }
.footer__social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  color: rgba(255, 255, 255, .8);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.footer__social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.footer__social svg { width: 17px; height: 17px; }

.footer__certs {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding-block: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer__certs img {
  width: 150px;
  padding: .35rem .55rem;
  border-radius: 6px;
  background: #fff;
}
.footer__certs p { font-size: .76rem; color: rgba(255, 255, 255, .5); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.35rem;
  font-size: .75rem;
  color: rgba(255, 255, 255, .5);
}
.footer__legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer__legal a:hover { color: #fff; }

/* ==========================================================================
   Botones flotantes + volver arriba
   ========================================================================== */
.floating {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 95;
  display: grid;
  gap: .6rem;
}
.floating__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  box-shadow: var(--shadow-2);
  transition: transform var(--t-fast), box-shadow var(--t-fast), filter var(--t-fast);
}
.floating__btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); filter: brightness(1.05); }
.floating__btn svg { width: 24px; height: 24px; }
.floating__btn--quote { background: var(--brand); }
.floating__btn--wa { background: #25D366; }
.floating__label {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  padding: .4rem .65rem;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-size: .76rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translate(6px, -50%);
  transition: opacity var(--t-fast), transform var(--t-fast);
  pointer-events: none;
}
.floating__btn:hover .floating__label,
.floating__btn:focus-visible .floating__label { opacity: 1; transform: translate(0, -50%); }

.to-top {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 94;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .96);
  color: var(--ink);
  box-shadow: var(--shadow-1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--t-med), transform var(--t-med), visibility var(--t-med);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); color: #fff; }
.to-top svg { width: 18px; height: 18px; }

/* ==========================================================================
   Buscador de modelos
   ========================================================================== */
.search {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(1rem, 8vh, 5rem) 1rem;
  background: rgba(17, 18, 20, .55);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med), visibility var(--t-med);
}
.search.is-open { opacity: 1; visibility: visible; }
.search__panel {
  display: flex;
  flex-direction: column;
  width: min(660px, 100%);
  max-height: 80vh;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-3);
  transform: translateY(-14px);
  transition: transform var(--t-med);
}
.search.is-open .search__panel { transform: none; }
.search__field {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
}
.search__field > svg { width: 20px; height: 20px; flex: none; color: var(--muted); }
.search__field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: none;
  font-size: 1rem;
}
.search__field input::placeholder { color: var(--muted-light); }
.search__close {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--ink);
}
.search__close:hover { background: var(--line); }
.search__close svg { width: 15px; height: 15px; }
.search__results { padding: .5rem; overflow-y: auto; }
.search__result {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .55rem .7rem;
  border-radius: var(--radius-sm);
}
.search__result:hover,
.search__result:focus-visible { background: var(--surface-alt); }
.search__result img {
  width: 48px; height: 48px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
}
.search__result strong { display: block; font-size: .9rem; font-weight: 600; }
.search__result small { display: block; font-size: .74rem; color: var(--muted); }
.search__price {
  margin-left: auto;
  font-size: .82rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.search__empty { padding: 1.5rem; text-align: center; font-size: .85rem; color: var(--muted); }
.search__hint { padding: .35rem .75rem .6rem; font-size: .72rem; color: var(--muted); }

/* ==========================================================================
   Revelado al hacer scroll
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
/* El menú horizontal necesita 1280 px: por debajo pasa a drawer. */
@media (max-width: 1279px) {
  .header__inner { gap: 1rem; }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 99;
    width: min(86vw, 370px);
    margin: 0;
    padding: 1.5rem;
    overflow-y: auto;
    background: #fff;
    box-shadow: var(--shadow-3);
    transform: translateX(105%);
    transition: transform var(--t-med);
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link,
  .nav__toggle {
    width: 100%;
    justify-content: space-between;
    padding: .9rem 0;
    font-size: .95rem;
    border-bottom: 1px solid var(--line);
  }
  .nav__link::after,
  .nav__toggle::after { display: none; }
  .nav__sub {
    position: static;
    display: none;
    min-width: 0;
    padding: .25rem 0 .75rem .9rem;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__item.is-open .nav__sub { display: block; transform: none; }
  .nav__sub a { padding: .55rem .5rem; font-size: .88rem; color: var(--muted); }
  .nav__mobile-extra { display: grid; gap: .7rem; margin-top: 1.5rem; }
  .nav__mobile-extra .btn { width: 100%; }
  .nav__mobile-extra p { font-size: .78rem; color: var(--muted); }
  .burger { display: block; }
}

@media (max-width: 1199px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .header__cta { display: none; }

  /* En tablet el banner se reduce y los controles taparían las promociones. */
  .hero__bar {
    position: static;
    left: auto;
    bottom: auto;
    width: 100%;
    padding: .75rem var(--gutter);
    transform: none;
    background: var(--dark);
  }
}

@media (max-width: 991px) {
  .grid,
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick__grid { grid-template-columns: repeat(2, 1fr); }
  .quote__layout { grid-template-columns: 1fr; }
  .quote__panel { position: static; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
  .rental__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  :root { --header-h: 64px; }

  .topbar { font-size: .72rem; }
  .topbar__links a:last-child { display: none; }

  .hero__slide img { aspect-ratio: 1 / 1; }
  .hero__arrow { display: none; }
  .hero__bar { padding: .7rem var(--gutter) .9rem; }
  .hero__pause span { display: none; }
  .hero__dot { width: 8px; height: 8px; }
  .hero__dot[aria-selected="true"] { width: 22px; }

  .section__head { align-items: flex-start; }
  .catalog__tools { width: 100%; }
  .catalog__tools select { flex: 1; min-width: 0; }
  .grid,
  .services__grid { grid-template-columns: 1fr; }
  .vcard__media { aspect-ratio: 4 / 3; }
  .vcard__quick {
    left: auto; right: .6rem; bottom: .6rem;
    width: 38px; height: 38px;
    padding: 0;
    border-radius: 50%;
    opacity: 1;
    transform: none;
  }
  .vcard__quick span { display: none; }

  .qform__grid { grid-template-columns: 1fr; }
  .quote__card { padding: 1.25rem; }

  .trust__grid { gap: 1.5rem 1rem; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .floating {
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    grid-auto-flow: column;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
  }
  .floating__btn {
    display: flex;
    gap: .5rem;
    width: auto;
    height: 48px;
    padding: 0 1rem;
    border-radius: var(--radius);
  }
  .floating__btn svg { width: 20px; height: 20px; }
  .floating__label {
    position: static;
    padding: 0;
    background: none;
    color: #fff;
    font-size: .85rem;
    opacity: 1;
    transform: none;
  }
  .floating__btn:hover .floating__label { transform: none; }
  .to-top { display: none; }
  .toast-stack { bottom: calc(74px + env(safe-area-inset-bottom)); }

  .dialog__head { padding: 1.25rem 1.25rem .25rem; }
  .dialog__body { max-height: 66vh; padding: .5rem 1.25rem 1.25rem; }
  .dialog__foot { padding: 0 1.25rem 1.25rem; }
}

@media (max-width: 480px) {
  .topbar__claim span { display: none; }
  .quick__grid { grid-template-columns: 1fr; }
  .logo img { width: 150px; }
  .header__actions .icon-btn { width: 38px; height: 38px; }
  .chips { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .dialog__foot { flex-wrap: wrap; }
  .dialog__foot .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .vcard:hover { transform: none; }
}
