/* =============================================================
   VANTTA AUTOMOTORES — styles.css (versión simple)
   ============================================================= */

:root {
  --bg: #0a0a0a;
  --bg-2: #141414;
  --ink: #f5f5f3;
  --ink-2: rgba(245, 245, 243, .6);
  --line: rgba(245, 245, 243, .12);
  --red: #e10600;
  --red-hi: #ff2a1f;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --f: "Archivo", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--f); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul { list-style: none; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1; font-weight: 800; letter-spacing: -.03em; font-variation-settings: "wdth" 112; }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding-inline: 26px; font-weight: 600; border-radius: 100px; transition: background .25s, color .25s; }
.btn--sm { height: 40px; padding-inline: 20px; font-size: .9rem; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: #fff; color: #000; }

/* Nav ---------------------------------------------------------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(10, 10, 10, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav__in { height: 68px; display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .14em; font-variation-settings: "wdth" 125; }
.logo__mark { display: grid; place-items: center; width: 32px; height: 32px; background: var(--red); color: #fff; letter-spacing: 0; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { color: var(--ink-2); font-size: .95rem; transition: color .2s; }
.nav__links a:hover { color: var(--ink); }

/* Portada: carrusel estilo Netflix ---------------------------- */
.show { position: relative; height: min(88svh, 820px); min-height: 560px; margin-top: -68px; overflow: hidden; background: #000; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 0s 1.1s; }
.slide.is-on { opacity: 1; visibility: visible; transition: opacity 1.1s ease, visibility 0s; z-index: 1; }
.slide__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 9s ease-out; }
.slide.is-on .slide__bg { transform: scale(1); }
.slide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, .95) 0%, rgba(10, 10, 10, .7) 32%, rgba(10, 10, 10, .1) 65%, rgba(10, 10, 10, 0) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(10, 10, 10, 0) 32%),
    linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 22%);
}
.slide__in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 68px; padding-bottom: 90px; }
.slide__in > * { max-width: 620px; opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s var(--ease); }
.slide.is-on .slide__in > * { opacity: 1; transform: none; }
.slide.is-on .slide__in > :nth-child(1) { transition-delay: .35s; }
.slide.is-on .slide__in > :nth-child(2) { transition-delay: .45s; }
.slide.is-on .slide__in > :nth-child(3) { transition-delay: .58s; }
.slide.is-on .slide__in > :nth-child(4) { transition-delay: .68s; }
.slide.is-on .slide__in > :nth-child(5) { transition-delay: .78s; }
html:not(.js) .slide:first-of-type, html:not(.js) .slide:first-of-type .slide__in > * { opacity: 1; visibility: visible; transform: none; }
.slide__tag { display: flex; align-items: center; gap: 10px; font-size: .85rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.slide__v { display: grid; place-items: center; width: 24px; height: 24px; background: var(--red); color: #fff; font-size: .8rem; letter-spacing: 0; font-variation-settings: "wdth" 125; }
.slide__title { max-width: 820px !important; font-size: clamp(2.4rem, 5.6vw, 4.8rem); line-height: .92; font-weight: 900; letter-spacing: -.04em; text-transform: uppercase; font-variation-settings: "wdth" 115; text-shadow: 0 4px 30px rgba(0, 0, 0, .4); }
.slide__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 18px; font-size: .95rem; color: var(--ink-2); }
.slide__meta b { color: var(--red-hi); font-weight: 800; }
.slide__meta span { display: inline-flex; align-items: center; gap: 14px; }
.slide__meta span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--ink-2); }
.slide__txt { margin-top: 14px; font-size: 1.05rem; line-height: 1.5; color: rgba(245, 245, 243, .85); }
.slide__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.sbtn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding-inline: 26px; border-radius: 6px; font-weight: 700; font-size: 1rem; transition: background .2s, transform .2s; }
.sbtn:active { transform: scale(.97); }
.sbtn--white { background: #fff; color: #000; }
.sbtn--white:hover { background: rgba(255, 255, 255, .8); }
.sbtn--grey { background: rgba(109, 109, 110, .7); color: #fff; }
.sbtn--grey:hover { background: rgba(109, 109, 110, .45); }

.show__tabs { position: absolute; z-index: 3; left: 0; right: 0; bottom: 26px; display: flex; gap: 10px; }
.show__tabs button { flex: 1; max-width: 170px; display: grid; gap: 8px; text-align: left; font-size: .8rem; font-weight: 600; color: var(--ink-2); transition: color .2s; }
.show__tabs button:hover, .show__tabs button.is-on { color: var(--ink); }
.show__tabs i { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); overflow: hidden; position: relative; }
.show__tabs i::after { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; }
.show__tabs button.is-done i::after { transform: scaleX(1); background: rgba(255, 255, 255, .6); }
.show__tabs button.is-on i::after { animation: tab var(--slide-ms, 7000ms) linear forwards; }
.show.is-paused .show__tabs button.is-on i::after { animation-play-state: paused; }
@keyframes tab { to { transform: scaleX(1); } }

/* La barra de menú queda transparente sobre la portada */
.nav { transition: background .3s, border-color .3s; }
.nav:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-color: transparent; }

/* Ingresos del mes: fundido ------------------------------------- */
.news { border-block: 1px solid var(--line); padding-block: 28px 32px; background: var(--bg-2); }
.news__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.news__head h2 { display: flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.news__head a { color: var(--ink-2); font-size: .9rem; transition: color .2s; }
.news__head a:hover { color: var(--red-hi); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }

.fader { display: grid; }
.arr {
  grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.15fr) 1fr; align-items: center; gap: clamp(20px, 4vw, 56px);
  opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s .9s;
}
.arr.is-on, html:not(.js) .arr:first-child { opacity: 1; visibility: visible; transition: opacity .9s ease, visibility 0s; }
.arr__img { position: relative; aspect-ratio: 3 / 2; border-radius: 14px; overflow: hidden; }
.arr__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 6s ease-out; }
.arr.is-on .arr__img img { transform: scale(1); }
.arr__txt { display: grid; gap: 6px; justify-items: start; }
.arr__txt b { font-size: clamp(1.6rem, 3.6vw, 2.8rem); line-height: 1.05; font-weight: 800; letter-spacing: -.03em; font-variation-settings: "wdth" 110; }
.arr__txt span { color: var(--ink-2); font-size: 1rem; }
.arr__txt em { font-style: normal; color: var(--red-hi); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin-top: 6px; }
.arr__cta { font-style: normal; margin-top: 14px; padding: 10px 20px; border: 1px solid var(--line); border-radius: 100px; font-size: .9rem; font-weight: 600; transition: background .2s, border-color .2s; }
.arr:hover .arr__cta { background: var(--red); border-color: var(--red); color: #fff; }
.fader__dots { display: flex; gap: 8px; margin-top: 22px; }
.fader__dots button { width: 26px; height: 4px; border-radius: 4px; background: var(--line); transition: background .3s, width .3s; }
.fader__dots button.is-on { background: var(--red); width: 44px; }

/* Placeholder de foto */
.ph { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(160deg, #1d1d1d, #111); color: rgba(245, 245, 243, .28); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }

/* Inventario -------------------------------------------------- */
.sec { padding-block: clamp(64px, 9vw, 112px); }
.sec__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 38px; padding-inline: 18px; border: 1px solid var(--line); border-radius: 100px; font-size: .9rem; color: var(--ink-2); transition: all .2s; }
.chip:hover { color: var(--ink); border-color: var(--ink-2); }
.chip.is-on { background: var(--red); border-color: var(--red); color: #fff; }

.cars { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 20px; }
.car.is-out { display: none; }
.car__img { position: relative; aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden; margin-bottom: 14px; }
.car__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.car:hover .car__img img { transform: scale(1.04); }
.car h3 { font-size: 1.1rem; font-weight: 700; }
.car__meta { color: var(--ink-2); font-size: .9rem; }
.car__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.car__foot b { font-size: 1.15rem; }
.car__go { font-size: .9rem; font-weight: 600; color: var(--red-hi); }
.car__go:hover { color: var(--ink); }
.empty { padding: 40px; text-align: center; color: var(--ink-2); border: 1px dashed var(--line); border-radius: 12px; }

/* Financiación ------------------------------------------------ */
.fin { background: var(--red); color: #fff; padding-block: clamp(64px, 9vw, 104px); }
.fin__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.fin__in > div:first-child p { margin-top: 18px; max-width: 400px; color: rgba(255, 255, 255, .85); }
.calc { background: var(--bg); color: var(--ink); border-radius: 16px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 24px; }
.calc__row { display: grid; gap: 12px; }
.calc__row > span { display: flex; justify-content: space-between; font-weight: 500; }
.calc__row output { color: var(--ink-2); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; cursor: pointer; background: linear-gradient(90deg, var(--red) var(--p, 50%), var(--line) var(--p, 50%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 5px solid var(--red); }
input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 5px solid var(--red); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.seg button { height: 42px; border-radius: 8px; border: 1px solid var(--line); color: var(--ink-2); transition: all .2s; }
.seg button:hover { color: var(--ink); }
.seg button.is-on { background: #fff; border-color: #fff; color: #000; font-weight: 600; }
.calc__res { display: flex; justify-content: space-between; align-items: baseline; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-2); }
.calc__res b { color: var(--ink); font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; }
.calc__note { font-size: .8rem; color: var(--ink-2); margin-top: -12px; }

/* Permutas ---------------------------------------------------- */
.perm { background: #fff; color: #0a0a0a; padding-block: clamp(64px, 9vw, 112px); }
.perm__head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.perm__kicker { color: var(--red); font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.perm .h2 span, .perm .h2 { color: #0a0a0a; }
.perm__lead { color: rgba(0, 0, 0, .65); font-size: 1.05rem; max-width: 460px; }
.perm__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(0, 0, 0, .1); border: 1px solid rgba(0, 0, 0, .1); border-radius: 14px; overflow: hidden; margin-bottom: clamp(36px, 5vw, 56px); counter-reset: none; }
.perm__steps li { background: #fff; padding: 26px 24px; transition: background .25s, color .25s; }
.perm__steps li:hover { background: #0a0a0a; color: #fff; }
.perm__steps li:hover p { color: rgba(255, 255, 255, .7); }
.perm__steps span { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; font-size: .85rem; margin-bottom: 18px; }
.perm__steps h3 { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: 8px; }
.perm__steps p { color: rgba(0, 0, 0, .6); font-size: .93rem; transition: color .25s; }
.perm__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.perm__info h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 18px; }
.perm__list { display: grid; gap: 12px; }
.perm__list li { display: flex; gap: 12px; align-items: baseline; font-weight: 500; }
.perm__list li::before { content: "✓"; color: var(--red); font-weight: 900; }
.perm__note { margin-top: 24px; padding: 16px 18px; border-left: 3px solid var(--red); background: rgba(225, 6, 0, .06); color: rgba(0, 0, 0, .75); font-size: .95rem; }
.perm__form { background: #0a0a0a; color: var(--ink); border-radius: 16px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 12px; }
.perm__form-t { font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; }
.perm__row { display: grid; gap: 10px; }
.perm__row--3 { grid-template-columns: 1fr 1fr 1fr; }
.perm__form input, .perm__form select, .perm__form textarea { width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; resize: vertical; appearance: none; -webkit-appearance: none; transition: border-color .2s; }
.perm__form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23e10600' fill='none' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 32px; cursor: pointer; }
.perm__form select option { background: var(--bg-2); }
.perm__form input:focus, .perm__form select:focus, .perm__form textarea:focus { outline: none; border-color: var(--red); }
.perm__form .is-err { border-color: var(--red-hi); }
.btn--black { background: var(--red); color: #fff; justify-self: start; margin-top: 4px; }
.btn--black:hover { background: #fff; color: #000; }
.perm__ok { color: #6bd68b; }
.badge--moto { background: #fff; color: #000; }

/* Contacto ---------------------------------------------------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.info { display: grid; gap: 16px; margin-top: 32px; }
.info li { display: grid; }
.info span { color: var(--red-hi); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.info a:hover { color: var(--red-hi); }
.form { display: grid; gap: 14px; align-content: start; }
.form input, .form textarea { width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; resize: vertical; transition: border-color .2s; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--red); }
.form input.is-err { border-color: var(--red-hi); }
.form .btn { justify-self: start; }
.form__ok { color: #6bd68b; }

.foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 28px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .85rem; }

/* Ficha del vehículo ------------------------------------------ */
body.no-scroll { overflow: hidden; }
.car { cursor: pointer; }
.ficha { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .78); display: grid; place-items: center; padding: 24px; opacity: 0; transition: opacity .25s ease; overflow-y: auto; }
.ficha.is-open { opacity: 1; }
.ficha[hidden] { display: none; }
.ficha__panel { position: relative; width: 100%; max-width: 1180px; background: var(--bg); border: 1px solid var(--line); border-radius: 18px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); overflow: hidden; transform: translateY(12px); transition: transform .3s var(--ease); }
.ficha.is-open .ficha__panel { transform: none; }
.ficha__x { position: absolute; top: 12px; right: 12px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; font-size: 1rem; transition: background .2s; }
.ficha__x:hover { background: var(--red); }
.ficha__gal { background: #000; display: grid; align-content: start; }
.ficha__stage { position: relative; aspect-ratio: 3 / 2; background: var(--bg-2); }
.ficha__stage img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.ficha__stage img.is-in { opacity: 1; }
.ficha__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; font-size: 1.6rem; line-height: 1; transition: background .2s; }
.ficha__nav:hover { background: var(--red); }
.ficha__nav--prev { left: 12px; } .ficha__nav--next { right: 12px; }
.ficha__n { position: absolute; left: 12px; bottom: 12px; background: rgba(0, 0, 0, .6); padding: 4px 10px; border-radius: 100px; font-size: .8rem; }
.ficha__thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; scrollbar-width: none; }
.ficha__thumbs::-webkit-scrollbar { display: none; }
.ficha__thumbs button { flex: none; width: 92px; aspect-ratio: 3 / 2; border-radius: 6px; overflow: hidden; opacity: .5; outline: 2px solid transparent; outline-offset: -2px; transition: opacity .2s, outline-color .2s; }
.ficha__thumbs button:hover { opacity: .85; }
.ficha__thumbs button.is-on { opacity: 1; outline-color: var(--red); }
.ficha__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.ficha__body { padding: clamp(22px, 3vw, 36px); display: grid; align-content: start; gap: 14px; max-height: 88vh; overflow-y: auto; }
.ficha__brand { color: var(--red-hi); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ficha__name { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.05; font-weight: 800; letter-spacing: -.03em; font-variation-settings: "wdth" 110; padding-right: 40px; }
.ficha__price { font-size: 1.6rem; font-weight: 800; }
.ficha__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.ficha__specs div { background: var(--bg); padding: 10px 12px; }
.ficha__specs dt { color: var(--ink-2); font-size: .75rem; }
.ficha__specs dd { font-weight: 600; font-size: .95rem; }
.ficha__desc { color: var(--ink-2); line-height: 1.65; }
.ficha__state { display: grid; gap: 8px; }
.ficha__state li { display: flex; gap: 10px; align-items: baseline; font-size: .95rem; }
.ficha__state li::before { content: "✓"; color: var(--red-hi); font-weight: 700; }
.ficha__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.btn--line { border: 1px solid var(--line); }
.btn--line:hover { border-color: var(--ink); }
@media (max-width: 860px) {
  .ficha { padding: 0; place-items: stretch; }
  .ficha__panel { grid-template-columns: 1fr; border-radius: 0; border: 0; min-height: 100%; align-content: start; }
  .ficha__body { max-height: none; overflow: visible; }
  .ficha__thumbs button { width: 74px; }
  .ficha__cta .btn { flex: 1; }
}

/* Etiquetas Reservado / Vendido -------------------------------- */
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 5px 11px; border-radius: 100px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.badge--reservado { background: #f5b301; color: #000; }
.badge--vendido { background: var(--red); color: #fff; }
.car.is-vendido .car__img img { filter: grayscale(1) brightness(.6); }
.car.is-vendido .car__foot b { text-decoration: line-through; color: var(--ink-2); }
.car.is-vendido .car__img::after { content: "VENDIDO"; position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; letter-spacing: .2em; color: rgba(255, 255, 255, .9); font-variation-settings: "wdth" 125; transform: rotate(-8deg); pointer-events: none; }
.ficha__status { justify-self: start; padding: 5px 12px; border-radius: 100px; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

/* Mapa ---------------------------------------------------------- */
.map { position: relative; margin-top: 28px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--bg-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(1) invert(.92) contrast(.88); }
.map__go { position: absolute; right: 12px; bottom: 12px; background: var(--red); color: #fff; padding: 10px 18px; border-radius: 100px; font-weight: 700; font-size: .9rem; box-shadow: 0 6px 18px rgba(0, 0, 0, .4); transition: background .2s, color .2s; }
.map__go:hover { background: #fff; color: #000; }

/* WhatsApp flotante -------------------------------------------- */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 10px; }
.wa svg { width: 58px; height: 58px; padding: 14px; border-radius: 50%; background: #25d366; fill: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); transition: transform .25s var(--ease); order: 2; }
.wa:hover svg { transform: scale(1.08); }
.wa__tip { order: 1; background: #fff; color: #000; font-size: .85rem; font-weight: 600; padding: 8px 14px; border-radius: 100px; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); opacity: 0; transform: translateX(8px); transition: opacity .25s, transform .25s; pointer-events: none; white-space: nowrap; }
.wa:hover .wa__tip, .wa.is-hello .wa__tip { opacity: 1; transform: none; }
.wa::before { content: ""; position: absolute; right: 0; width: 58px; height: 58px; border-radius: 50%; background: #25d366; animation: wa-ping 2.4s ease-out infinite; z-index: -1; }
@keyframes wa-ping { 0% { transform: scale(1); opacity: .5; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
body.no-scroll .wa { display: none; }

/* Globito de chat de la demo ----------------------------------- */
.wa-demo { position: fixed; right: 20px; bottom: 92px; z-index: 61; width: min(330px, calc(100vw - 40px)); opacity: 0; transform: translateY(12px) scale(.96); transform-origin: bottom right; transition: opacity .3s ease, transform .35s var(--ease); }
.wa-demo.is-in { opacity: 1; transform: none; }
.wa-demo[hidden] { display: none; }
.wa-demo__msg { position: relative; display: block; background: #fff; color: #111; border-radius: 16px 16px 4px 16px; padding: 14px 16px; box-shadow: 0 12px 34px rgba(0, 0, 0, .45); transition: transform .2s; }
.wa-demo__msg:hover { transform: translateY(-2px); }
.wa-demo__msg::after { content: ""; position: absolute; right: 18px; bottom: -8px; width: 16px; height: 16px; background: #fff; transform: rotate(45deg); border-radius: 0 0 4px 0; }
.wa-demo__text { display: none; gap: 4px; line-height: 1.35; }
.wa-demo__text b { font-size: 1rem; font-weight: 800; }
.wa-demo__text span { font-size: .92rem; color: #333; }
.wa-demo.is-typed .wa-demo__text { display: grid; animation: demo-in .35s ease; }
.wa-demo.is-typed .wa-demo__typing { display: none; }
.wa-demo__typing { display: inline-flex; gap: 5px; padding: 4px 2px; }
.wa-demo__typing i { width: 8px; height: 8px; border-radius: 50%; background: #9a9a9a; animation: typing 1s infinite ease-in-out; }
.wa-demo__typing i:nth-child(2) { animation-delay: .15s; }
.wa-demo__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
@keyframes demo-in { from { opacity: 0; } to { opacity: 1; } }
.wa-demo__x { position: absolute; top: -10px; left: -10px; z-index: 2; width: 26px; height: 26px; border-radius: 50%; background: #0a0a0a; color: #fff; font-size: .7rem; border: 1px solid var(--line); transition: background .2s; }
.wa-demo__x:hover { background: var(--red); }
body.no-scroll .wa-demo { display: none; }

/* Responsive -------------------------------------------------- */
@media (max-width: 860px) {
  .fin__in, .contact, .perm__head, .perm__grid { grid-template-columns: 1fr; }
  .perm__steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .wa-demo { right: 14px; bottom: 80px; }
  .perm__steps { grid-template-columns: 1fr; }
  .perm__row--3 { grid-template-columns: 1fr 1fr; }
  .perm__row--3 select[name=tipo] { grid-column: 1 / -1; }
  .wa { right: 14px; bottom: 14px; }
  .wa svg { width: 52px; height: 52px; padding: 12px; }
  .wa::before { width: 52px; height: 52px; }
  .map { aspect-ratio: 4 / 3; }
  .show { height: 86svh; min-height: 600px; }
  .slide::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(10,10,10,.85) 38%, rgba(10,10,10,.2) 70%, rgba(0,0,0,.5) 100%); }
  .slide__in { justify-content: flex-end; padding-bottom: 76px; }
  .slide__txt { font-size: .95rem; }
  .sbtn { height: 44px; padding-inline: 18px; font-size: .92rem; }
  .show__tabs { bottom: 20px; gap: 6px; }
  .show__tabs button { font-size: 0; gap: 0; }
  .nav__links { display: none; }
  .arr { grid-template-columns: 1fr; gap: 16px; }
}
