/* premium.css — 1andonly.care (30 nov 2026): portada a pantalla completa, encabezado de vidrio y burbuja de contacto */

/* ── ENCABEZADO DE VIDRIO (toda la plataforma) ───────────────── */
:root { --px-glass: rgba(12, 10, 34, .58); --px-glass-strong: rgba(16, 13, 42, .86); --px-glass-line: rgba(255, 255, 255, .10); --px-glass-shadow: 0 12px 34px rgba(0, 0, 0, .35); }
:root[data-theme="light"] { --px-glass: rgba(255, 255, 255, .68); --px-glass-strong: rgba(255, 255, 255, .9); --px-glass-line: rgba(61, 31, 217, .10); --px-glass-shadow: 0 10px 30px rgba(18, 9, 61, .10); }
header.top {
  background: var(--px-glass);
  -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid var(--px-glass-line);
  transition: background-color .35s ease, box-shadow .35s ease, transform .45s cubic-bezier(.2, .8, .2, 1);
}
html[data-hdr="stuck"] header.top { box-shadow: var(--px-glass-shadow); }
.tabbar { background: var(--px-glass); -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px); border-top-color: var(--px-glass-line); }

/* en la portada: el encabezado flota transparente sobre la imagen, se esconde al bajar y regresa fijo con vidrio */
html.px-has-hero .announce { display: none; }
html.px-has-hero header.top { position: fixed; top: 0; left: 0; right: 0; }
html.px-has-hero[data-hdr="top"] header.top:not(:has(.main-nav.open)) {
  background: linear-gradient(180deg, rgba(9, 6, 30, .52), rgba(9, 6, 30, 0));
  -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: transparent; box-shadow: none;
}
html.px-has-hero[data-hdr="top"] header.top .sub-nav { display: none; }
html.px-has-hero[data-hdr="hide"] header.top { transform: translateY(-115%); box-shadow: none; }
html.px-has-hero[data-hdr="stuck"] header.top { animation: pxDrop .75s cubic-bezier(.2, 1.3, .35, 1) both; }
html.px-has-hero header.top:has(.main-nav.open) { transform: none; animation: none; background: var(--px-glass-strong); }
@keyframes pxDrop { 0% { transform: translateY(-115%); } 100% { transform: translateY(0); } }
html.px-has-hero[data-hdr="top"] header.top:not(:has(.main-nav.open)) .logo { color: #fff; }
html.px-has-hero[data-hdr="top"] header.top:not(:has(.main-nav.open)) .logo span { color: #d4ccff; }
html.px-has-hero[data-hdr="top"] header.top:not(:has(.main-nav.open)) .top-actions .icon-btn,
html.px-has-hero[data-hdr="top"] header.top:not(:has(.main-nav.open)) .top-actions .avatar-btn { color: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .24); }
html.px-has-hero[data-hdr="top"] header.top:not(:has(.main-nav.open)) .top-actions .lang { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .24); }
html.px-has-hero[data-hdr="top"] header.top:not(:has(.main-nav.open)) .top-actions .lang button:not(.on) { color: rgba(255, 255, 255, .88); }
@media (min-width: 1025px) {
  html.px-has-hero[data-hdr="top"] header.top .main-nav a { color: rgba(255, 255, 255, .86); }
  html.px-has-hero[data-hdr="top"] header.top .main-nav a:hover, html.px-has-hero[data-hdr="top"] header.top .main-nav a.on { color: #fff; background: rgba(255, 255, 255, .12); }
  html.px-has-hero[data-hdr="top"] header.top .main-nav a.on { box-shadow: inset 0 -2px 0 #fff; }
}

/* ── PORTADA A PANTALLA COMPLETA ─────────────────────────────── */
.px-hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; max-height: 1180px; overflow: hidden; color: #fff; isolation: isolate; outline: 0;
  background: #170f45 radial-gradient(1100px 680px at 72% 42%, #3a2a92 0%, #170f45 62%); }
.px-slides { position: absolute; inset: 0; }
.px-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s cubic-bezier(.4, 0, .2, 1), visibility 0s linear 1.2s; }
.px-slide.on { opacity: 1; visibility: visible; z-index: 1; transition: opacity 1.2s cubic-bezier(.4, 0, .2, 1), visibility 0s; }
.px-media { position: absolute; inset: 0; display: block; overflow: hidden; }
.px-media img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--pos, 70% 50%); transform: scale(1.06); }
.px-slide.on .px-media img { animation: pxKen 13s cubic-bezier(.25, .6, .3, 1) both; }
@keyframes pxKen { from { transform: scale(1.16) translate3d(1.2%, .5%, 0); } to { transform: scale(1.03) translate3d(0, 0, 0); } }
.px-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17, 9, 50, var(--ov, .74)) 0%, rgba(17, 9, 50, var(--ov2, .52)) 36%, rgba(17, 9, 50, .1) 64%, rgba(17, 9, 50, 0) 100%); }
.px-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 5, 26, .5) 0%, rgba(8, 5, 26, 0) 22%, rgba(8, 5, 26, 0) 60%, rgba(8, 5, 26, .66) 100%); }
.px-inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 92px; padding-bottom: 178px; }
.px-h1 { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 22px; font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.px-h1::before { content: ''; width: 34px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #beee11, #a796ff); }
.px-h1 span { color: #d8ff5a; }
.px-texts { display: grid; max-width: 700px; }
.px-t { grid-area: 1 / 1; align-self: start; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s; }
.px-t.on { opacity: 1; visibility: visible; transition: opacity .2s ease, visibility 0s; }
.px-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px 7px 11px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .24); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.px-tag .ico { width: 17px; height: 17px; color: #d8ff5a; }
.px-title { margin: 18px 0 14px; font-size: clamp(38px, 5.1vw, 76px); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; text-wrap: balance; text-shadow: 0 2px 34px rgba(10, 5, 40, .35); }
.px-sub { max-width: 570px; font-size: clamp(15px, 1.2vw, 18.5px); line-height: 1.55; color: rgba(255, 255, 255, .88); }
.px-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.px-price { display: inline-flex; align-items: baseline; gap: 6px; padding: 9px 16px; border-radius: 12px; background: rgba(255, 255, 255, .96); color: #12093d; font-size: 13px; font-weight: 600; box-shadow: 0 10px 28px rgba(10, 5, 40, .25); }
.px-price b { font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: #3D1FD9; }
.px-save, .px-chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 12px; font-size: 13px; font-weight: 700;
  background: rgba(190, 238, 17, .15); border: 1px solid rgba(190, 238, 17, .5); color: #e6ff96; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.px-chip { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .26); color: #fff; font-weight: 600; }
.px-chip .ico { width: 15px; height: 15px; color: #d8ff5a; }
.px-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.px-ctas .btn { padding: 15px 24px; font-size: 15px; border-radius: 14px; }
.px-go .ico { transition: transform .25s; }
.px-go:hover .ico { transform: translateX(4px); }
.px-glass { color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .32); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.px-glass:hover { background: rgba(255, 255, 255, .22); transform: translateY(-1px); }
.px-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin: 0 0 24px; font-size: 13px; color: rgba(255, 255, 255, .82); }
.px-trust:empty { display: none; }
.px-free { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .2s; }
.px-free:hover { background: rgba(255, 255, 255, .18); }
.px-free b { padding: 4px 10px; border-radius: 999px; background: #beee11; color: #172200; font-size: 11px; letter-spacing: .08em; }
.px-mini { display: inline-flex; align-items: center; gap: 6px; }
.px-mini b { color: #fff; }
.px-mini .ico { width: 15px; height: 15px; color: #d8ff5a; }
a.px-mini:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* texto en capas (entra escalonado en cada cambio) */
.px-t.on > * { animation: pxUp .9s cubic-bezier(.2, .8, .2, 1) both; }
.px-t.on > .px-tag { animation-delay: .12s; }
.px-t.on > .px-title { animation-name: pxRise; animation-duration: 1s; animation-delay: .22s; }
.px-t.on > .px-sub { animation-delay: .4s; }
.px-t.on > .px-badges { animation-delay: .52s; }
.px-t.on > .px-ctas { animation-delay: .64s; }
@keyframes pxUp { from { opacity: 0; transform: translate3d(0, 24px, 0); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes pxRise { from { opacity: 0; transform: translate3d(0, 44px, 0) skewY(2deg); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }

/* barra inferior: pestañas con progreso + controles */
.px-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding-bottom: 28px; }
.px-bar-in { display: flex; align-items: flex-end; gap: 28px; }
@media (max-width: 1440px) and (min-width: 901px) { .px-bar > .wrap { padding-right: 104px; } }
.px-tabs { display: flex; gap: 8px; flex: 1; min-width: 0; }
.px-tab { position: relative; flex: 1; max-width: 200px; padding: 16px 10px 0 0; text-align: left; color: rgba(255, 255, 255, .62); font-size: 13.5px; font-weight: 600; transition: color .25s; }
.px-tab:hover, .px-tab.on { color: #fff; }
.px-num { display: block; margin-bottom: 3px; font-size: 11px; letter-spacing: .14em; color: rgba(255, 255, 255, .5); transition: color .25s; }
.px-tab.on .px-num { color: #d8ff5a; }
.px-lbl { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.px-line { position: absolute; left: 0; right: 10px; top: 0; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .24); overflow: hidden; }
.px-fill { position: absolute; inset: 0; border-radius: 3px; background: linear-gradient(90deg, #beee11, #fff); transform-origin: 0 50%; transform: scaleX(0); }
.px-tab.on .px-fill { animation: pxFill var(--px-dur, 7500ms) linear both; }
@keyframes pxFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.px-hero.paused .px-fill, .px-hero.off .px-fill, .px-hero.paused .px-slide.on .px-media img { animation-play-state: paused !important; }
.px-hero:has(.px-t.on .px-ctas:hover, .px-bar:hover, :focus-visible) .px-fill { animation-play-state: paused; }
body:has(#modal .modal-bg) .px-fill { animation-play-state: paused; }
.px-ctrl { display: flex; gap: 8px; flex: none; }
.px-ctrl button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .26); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .2s, transform .2s; }
.px-ctrl button:hover { background: rgba(255, 255, 255, .22); transform: translateY(-1px); }
.px-ctrl .ico { width: 19px; height: 19px; }
.px-ctrl .px-dn { animation: pxBob 2.2s ease-in-out infinite; }
@keyframes pxBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* pantallas verticales y celulares: texto abajo, imagen vertical */
@media (max-width: 760px), (max-aspect-ratio: 4/5) {
  .px-hero { min-height: 580px; max-height: none; }
  .px-media img { object-position: var(--posm, 50% 28%); }
  .px-shade { background: linear-gradient(180deg, rgba(17, 9, 50, 0) 0%, rgba(17, 9, 50, .08) 30%, rgba(17, 9, 50, .74) 52%, rgba(17, 9, 50, .93) 76%, rgba(17, 9, 50, .97) 100%); }
  .px-veil { background: linear-gradient(180deg, rgba(8, 5, 26, .55) 0%, rgba(8, 5, 26, 0) 20%); }
  .px-inner { justify-content: flex-end; padding-top: 110px; padding-bottom: 128px; }
  .px-t { align-self: end; }
  .px-h1 { position: absolute; top: 78px; left: 16px; right: 16px; margin: 0; font-size: 10.5px; letter-spacing: .16em; gap: 4px 8px; }
  .px-h1::before { width: 18px; }
  .px-tag { padding: 6px 12px 6px 9px; font-size: 12px; }
  .px-title { margin: 12px 0 10px; font-size: clamp(29px, 8.4vw, 42px); line-height: 1.05; }
  .px-sub { font-size: 14.5px; line-height: 1.5; }
  .px-badges { margin-top: 14px; gap: 8px; }
  .px-price, .px-save, .px-chip { padding: 7px 11px; font-size: 12px; }
  .px-price b { font-size: 17px; }
  .px-ctas { margin-top: 18px; gap: 9px; }
  .px-ctas .btn { flex: 1 1 100%; padding: 14px 18px; font-size: 14.5px; }
  .px-bar .px-trust { margin-bottom: 14px; }
  .px-trust .px-mini { display: none; }
  .px-free { font-size: 12px; }
  .px-bar { padding-bottom: 20px; }
  .px-bar-in { gap: 12px; align-items: center; }
  .px-tab { max-width: none; height: 22px; padding: 0; }
  .px-tab .px-num, .px-tab .px-lbl { display: none; }
  .px-line { top: 9px; right: 0; }
  .px-ctrl [data-pxact="prev"], .px-ctrl [data-pxact="next"], .px-ctrl .px-dn { display: none; }
  .px-ctrl button { width: 34px; height: 34px; }
  .px-ctrl .ico { width: 15px; height: 15px; }
}
@media (max-width: 760px) and (max-height: 780px), (max-aspect-ratio: 4/5) and (max-height: 780px) {
  .px-h1 { font-size: 9.5px; letter-spacing: .12em; }
  .px-tag { padding: 5px 11px 5px 8px; font-size: 11.5px; }
  .px-title { font-size: clamp(26px, 7.4vw, 34px); margin: 10px 0 8px; }
  .px-sub { font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .px-badges { margin-top: 12px; gap: 6px; }
  .px-chip:nth-child(n+3) { display: none; }
  .px-ctas { margin-top: 14px; gap: 8px; }
  .px-ctas .btn { padding: 12px 16px; font-size: 14px; }
}
@media (max-aspect-ratio: 4/5) and (min-width: 561px) { .px-ctas .btn { flex: 0 0 auto; } }
@media (max-width: 900px) {
  .px-inner { padding-bottom: calc(196px + env(safe-area-inset-bottom)); }
  .px-bar { bottom: calc(66px + env(safe-area-inset-bottom)); }
  .px-bar-in { padding-right: 78px; }   /* deja libre la burbuja de contacto */
  .px-hero.u .px-inner { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
}
@media (max-height: 820px) and (min-width: 761px) and (min-aspect-ratio: 4/5) {
  .px-inner { padding-top: 84px; padding-bottom: 160px; }
  .px-h1 { margin-bottom: 16px; }
  .px-title { font-size: clamp(34px, 4.3vw, 60px); margin: 14px 0 10px; }
  .px-sub { font-size: 16px; }
  .px-badges { margin-top: 16px; }
  .px-ctas { margin-top: 20px; }
  .px-bar .px-trust { margin-bottom: 18px; }
}
@media (max-height: 700px) and (min-width: 761px) and (min-aspect-ratio: 4/5) {
  .px-inner { padding-bottom: 104px; }
  .px-title { font-size: clamp(32px, 3.9vw, 52px); }
  .px-bar .px-trust { display: none; }
  .px-bar { padding-bottom: 20px; }
}

/* ── BURBUJA DE CONTACTO ─────────────────────────────────────── */
html.px-on .ai-float, html.px-on .wa-float { display: none !important; }
.px-launch { position: fixed; right: 22px; bottom: 22px; z-index: 150; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; pointer-events: none; }
.px-launch > * { pointer-events: auto; }
body:not([data-shell="app"]) .px-launch, body:has(#ai .ai-panel) .px-launch { display: none; }
.px-fab { position: relative; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #7357ff, #3D1FD9 58%, #2a12a8); box-shadow: 0 14px 34px rgba(61, 31, 217, .45), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .25s, box-shadow .25s; }
.px-fab:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 18px 40px rgba(61, 31, 217, .55), inset 0 1px 0 rgba(255, 255, 255, .35); }
.px-fab::before { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(115, 87, 255, .55); animation: pxPing 2.4s cubic-bezier(.2, .6, .4, 1) infinite; }
@keyframes pxPing { 0% { transform: scale(.92); opacity: .9; } 70%, 100% { transform: scale(1.28); opacity: 0; } }
.px-fab .ico { width: 27px; height: 27px; }
.px-fab-i, .px-fab-x { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity .25s; }
.px-fab-x { opacity: 0; transform: rotate(-90deg) scale(.6); }
.px-launch.open .px-fab-i { opacity: 0; transform: rotate(90deg) scale(.6); }
.px-launch.open .px-fab-x { opacity: 1; transform: none; }
.px-launch.open .px-fab::before { display: none; }
.px-menu { width: 330px; max-width: calc(100vw - 32px); padding: 14px; border-radius: 22px; color: var(--text);
  background: var(--px-glass-strong); -webkit-backdrop-filter: saturate(180%) blur(24px); backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid var(--px-glass-line); box-shadow: 0 24px 60px rgba(18, 9, 61, .3); transform-origin: 100% 100%; animation: pxPop .34s cubic-bezier(.2, 1.2, .4, 1) both; }
.px-menu[hidden] { display: none; }
@keyframes pxPop { from { opacity: 0; transform: translateY(12px) scale(.92); } to { opacity: 1; transform: none; } }
.px-menu-hd { padding: 6px 8px 12px; }
.px-menu-hd b { display: block; font-size: 15px; letter-spacing: -.01em; }
.px-menu-hd small { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }
.px-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 10px; border-radius: 14px; text-align: left; color: var(--text); transition: background .2s, transform .2s; }
.px-opt:hover, .px-opt:focus-visible { background: var(--hover-bg); transform: translateX(2px); outline: 0; }
.px-opt > i { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; color: #fff; font-style: normal; }
.px-opt > i .ico { width: 22px; height: 22px; }
.px-o-wa > i { background: #25D366; box-shadow: 0 8px 20px rgba(37, 211, 102, .3); }
.px-o-ai > i { background: linear-gradient(135deg, #7357ff, #3D1FD9); box-shadow: 0 8px 20px rgba(61, 31, 217, .3); }
.px-o-call > i { background: linear-gradient(135deg, #0ea5e9, #3D1FD9); box-shadow: 0 8px 20px rgba(14, 165, 233, .3); }
.px-opt > span { flex: 1; min-width: 0; }
.px-opt b { display: block; font-size: 14.5px; }
.px-opt small { display: block; margin-top: 1px; font-size: 12.5px; color: var(--muted); }
.px-opt .px-chev { width: 16px; height: 16px; color: var(--dim); }
@media (max-width: 900px) { .px-launch { right: 16px; bottom: calc(82px + env(safe-area-inset-bottom)); } .px-fab { width: 58px; height: 58px; } }

/* ── FORMULARIO "QUE TE LLAMEMOS" ────────────────────────────── */
.px-callm { max-width: 520px; }
.px-callf { gap: 13px; }
.px-call-hd { display: flex; align-items: flex-start; gap: 14px; padding-right: 30px; margin-bottom: 2px; }
.px-call-ico { width: 50px; height: 50px; flex: none; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #0ea5e9, #3D1FD9); box-shadow: 0 10px 24px rgba(61, 31, 217, .3); }
.px-call-ico .ico { width: 24px; height: 24px; }
.px-call-hd h2 { margin: 2px 0 4px; padding-right: 0; }
.px-call-hd p { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.px-tel { display: grid; grid-template-columns: 118px 1fr; gap: 8px; }
.px-seg { border: 0; padding: 0; margin: 0; min-width: 0; }
.px-seg legend { padding: 0; margin-bottom: 7px; font-size: 12px; font-weight: 500; color: var(--muted); }
.px-seg > div { display: flex; flex-wrap: wrap; gap: 6px; }
.px-seg label { position: relative; cursor: pointer; }
.px-seg input { position: absolute; opacity: 0; pointer-events: none; }
.px-seg span { display: inline-block; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line2); background: var(--soft); font-size: 13px; font-weight: 600; color: var(--text-soft); transition: .2s; }
.px-seg input:checked + span { color: var(--accent); background: rgba(91, 62, 240, .1); border-color: var(--purple2); box-shadow: 0 0 0 3px rgba(91, 62, 240, .12); }
.px-seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.px-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.px-callf .err:empty { display: none; }
.px-callf .err { font-size: 13px; color: var(--danger); font-weight: 600; }
.px-send.is-busy { opacity: .7; pointer-events: none; }
.px-alt { text-align: center; font-size: 12.5px; color: var(--muted); }
.px-alt a { color: var(--accent); font-weight: 700; }
.px-ok { text-align: center; padding: 8px 4px 2px; }
.px-ok-i { width: 66px; height: 66px; margin: 4px auto 14px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #22c55e, #15803d); box-shadow: 0 12px 30px rgba(34, 197, 94, .35); animation: pxPop .45s cubic-bezier(.2, 1.3, .4, 1) both; }
.px-ok-i .ico { width: 30px; height: 30px; }
.px-ok h2 { justify-content: center; padding-right: 0; }
.px-ok p { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--text-soft); }
.px-ok-btns { display: grid; gap: 8px; margin-top: 18px; }
@media (max-width: 480px) { .px-call-ico { display: none; } .px-call-hd { padding-right: 40px; } .px-callf { gap: 11px; } .px-seg span { padding: 8px 11px; } }

/* ── menos movimiento ── */
@media (prefers-reduced-motion: reduce) {
  .px-slide, .px-slide.on, .px-t, .px-t.on { transition: none; }
  .px-slide.on .px-media img, .px-t.on > *, .px-fab::before, html.px-has-hero[data-hdr="stuck"] header.top, .px-menu, .px-ok-i, .px-ctrl .px-dn { animation: none !important; }
  .px-media img { transform: none; }
}

/* ── SIN RECORTES (30 nov 2026) ───────────────────────────────────────────────
   Cada espacio tiene proporción fija (no altura fija): la imagen se ve igual en cualquier pantalla.
   Las imágenes de marca vienen a la medida (4:3 o 16:9, en assets/brand/); las fotos reales se muestran
   completas sobre un fondo difuminado de la misma foto (clase .px-photo, la pone premium.js). */
.px-photo { position: relative; overflow: hidden; isolation: isolate; background: #1a1240; }
.px-photo::before { content: ''; position: absolute; inset: -24px; z-index: 0; background: var(--px-bg) center / cover no-repeat; filter: blur(20px) saturate(1.15) brightness(.62); transform: scale(1.1); }
.px-photo > img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain !important; object-position: center !important; transform: none !important; animation: none !important; }
.px-photo > :not(img) { z-index: 2; }

/* imágenes de marca a la medida */
.deal .d-img { aspect-ratio: 4 / 3; height: auto; }
.deal .d-img img, .news-card .n-img img, .side-card .hdr-img img, .tab-preview .pv-img img, .trow .t-thumb img, .f-item .f-thumb img { object-position: center; }
.news-card .n-img { aspect-ratio: 16 / 9; }
.hotel .h-img { height: auto; aspect-ratio: 16 / 9; }
.side-card .hdr-img { aspect-ratio: 4 / 3; }
.tab-preview .pv-img { aspect-ratio: 4 / 3; }
.trow .t-thumb { width: 88px; height: auto; aspect-ratio: 4 / 3; }
.f-item .f-thumb, .f-item img.f-thumb { width: 64px; height: 48px; }
.step .step-img { width: calc(100% + 40px); max-width: none; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.article .a-hero { aspect-ratio: 16 / 9; }
.article .a-hero img { object-fit: cover; object-position: center; background: none; }
.a-banner { margin: 26px auto 6px; max-width: 420px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(18, 9, 61, .12); }
.a-banner img { width: 100%; height: auto; display: block; }
.city-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.city-grid .city, .fs-grid .city { aspect-ratio: 4 / 3; min-height: 0; }
.city.has-photo::after { background: linear-gradient(180deg, rgba(18, 9, 61, 0) 35%, rgba(18, 9, 61, .82)); }

/* destacados y galería del procedimiento: foto completa (el fondo difuminado ya existe) */
.cap-media .fg, .gallery-main img { object-fit: contain; object-position: center; }

/* tiras de fotos: cada foto con su proporción natural */
.sr-strip { grid-auto-columns: max-content; }
.sr-strip img { width: auto; max-width: none; height: 150px; object-fit: contain; }
.gallery-strip img { width: auto; max-width: none; height: 70px; object-fit: contain; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.thumbs img { width: auto; max-width: none; height: 76px; aspect-ratio: auto; object-fit: contain; flex: none; }
.pm-item, .pm-item.portrait { width: auto; }
.pm-item img { width: auto; max-width: none; height: 100%; object-fit: contain; }

/* fotos reales en mosaicos: completas */
.moment { aspect-ratio: 4 / 3; }
.clinic .c-photo { height: auto; aspect-ratio: 2 / 1; }
.office .o-img { height: auto; aspect-ratio: 16 / 10; }
.nudge .n-photo { height: auto; aspect-ratio: 16 / 9; max-height: 30vh; }
.ds-gallery img { object-fit: contain; background: var(--soft2); }

@media (max-width: 900px) { .article .a-hero { aspect-ratio: 16 / 9; } .article .a-hero img { object-fit: cover; } }
@media (max-width: 560px) {
  .trow .t-thumb { width: 64px; height: auto; }
  .sr-strip img { height: 120px; }
  .city-grid { grid-template-columns: repeat(2, 1fr); }
  .nudge .n-photo { height: auto; max-height: 28vh; }
}
