/**
 * HERO SECTION
 *
 * @format
 */

/* Google Fonts removed - using system fonts for offline support */

.hero-title {
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.predial-noise {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.floating {
  animation: predialFloat 4.8s ease-in-out infinite;
}

.floating-4 {
  animation: predialFloatAlt 5.5s ease-in-out infinite;
}

@keyframes predialFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-16px) rotate(1.5deg);
  }
}

@keyframes predialFloatAlt {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(14px) rotate(2deg);
  }
}

* {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1,
h2,
h1 strong,
h2 strong {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

/* ==========================================================
   PREDIAL RESPONSIVE FINAL
   Archivo CSS separado del HTML/PHP.
   Mantén este archivo en: views/css/predial-responsive-final.css
   Cada bloque indica a qué sección corresponde.
========================================================== */

/* Fuentes externas usadas por algunas secciones */

/* ==========================================================
   01. Galería de beneficios: brillo, partículas y responsive base
   Origen: bloque <style> #1
========================================================== */
/* en que ayuda tu predial */

/* EFECTO BRILLO */
.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 45%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform 0.9s ease;
  pointer-events: none;
}

.gallery-card:hover::after {
  transform: translateX(120%);
}

/* PARTICULAS */
.hover-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 5;
}

.gallery-card:hover .hover-particles {
  opacity: 1;
}

.hover-particles span {
  position: absolute;
  bottom: -40px;
  font-size: 24px;
  animation: particleFloat 3s linear infinite;
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, 0.35));
}

.hover-particles span:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}

.hover-particles span:nth-child(2) {
  left: 30%;
  animation-delay: 0.5s;
}

.hover-particles span:nth-child(3) {
  left: 50%;
  animation-delay: 1s;
}

.hover-particles span:nth-child(4) {
  left: 70%;
  animation-delay: 1.5s;
}

.hover-particles span:nth-child(5) {
  left: 85%;
  animation-delay: 2s;
}

@keyframes particleFloat {
  0% {
    transform: translateY(0) rotate(0deg) scale(0.7);
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  100% {
    transform: translateY(-500px) rotate(30deg) scale(1.4);
    opacity: 0;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .gallery-responsive {
    flex-direction: column;
    height: auto;
    overflow: visible;
  }

  .gallery-card {
    width: 100%;
    height: 260px;
    flex: none !important;
  }

  .gallery-card:hover {
    height: 360px;
  }
}

/* ==========================================================
   02. Banner “Tu pago sí se nota”
   Origen: bloque <style> #2
========================================================== */
.predial-count-card {
  width: min(900px, 100%);
  /* baja el ancho para que sí se note a la derecha */
  min-height: 76px;
  margin-left: auto;
  margin-right: 0;
  padding: 20px 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.predial-count-left {
  display: flex;
  align-items: center;
  gap: 26px;
  min-width: 0;
}

.predial-count-icon {
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
  display: grid;
  place-items: center;
}

.predial-count-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.predial-count-text h3 {
  margin: 0;
  color: #17213a;
  font-size: clamp(30px, 8.8vw, 34px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.predial-count-text p {
  margin: 8px 0 0;
  color: #17213a;
  font-size: clamp(16px, 1.2vw, 16px);
  line-height: 1.35;
  font-weight: 400;
}

.predial-count-sign {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 0 0 auto;
  color: #215da8;
}

.predial-sign-text {
  position: relative;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #215da8;
  font-size: clamp(25px, 2.5vw, 36px);
  line-height: 0.82;
  font-weight: 700;
  transform: rotate(-3deg);
  white-space: nowrap;
}

.predial-sign-text span {
  position: absolute;
  left: 6px;
  right: 2px;
  bottom: -12px;
  height: 18px;
  border-bottom: 4px solid #215da8;
  border-radius: 50%;
  transform: rotate(-2deg);
  opacity: 0.9;
}

.predial-heart {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  transform: rotate(-8deg);
}

.predial-heart svg {
  width: 36px;
  height: 36px;
  color: #1559b7;
}

@media (max-width: 900px) {
  .predial-count-card {
    padding: 22px 28px;
    gap: 28px;
  }

  .predial-count-sign {
    gap: 18px;
  }
}

@media (max-width: 700px) {
  .predial-count-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 22px;
  }

  .predial-count-left {
    flex-direction: column;
    gap: 14px;
  }

  .predial-count-sign {
    margin-top: 6px;
  }
}

@media (max-width: 420px) {
  .predial-count-card {
    border-radius: 14px;
  }

  .predial-sign-text {
    font-size: 27px;
  }

  .predial-heart {
    width: 34px;
    height: 34px;
  }

  .predial-heart svg {
    width: 30px;
    height: 30px;
  }
}

/* ==========================================================
   03. Sección “¿Qué es un impuesto?” y puzzle visual
   Origen: bloque <style> #3
========================================================== */
/* ===============================
       SECCIÓN IMPUESTOS / PREDIAL
       Versión limpia y premium
    =============================== */

.taxlearn-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 110px 20px 95px;
  margin-top: 70px;
  background:
    radial-gradient(
      circle at 18% 20%,
      rgba(37, 99, 235, 0.12),
      transparent 34%
    ),
    radial-gradient(
      circle at 84% 16%,
      rgba(245, 158, 11, 0.12),
      transparent 32%
    ),
    linear-gradient(180deg, #ffffff 0%, #f5f8ff 48%, #ffffff 100%);
}

.taxlearn-bg {
  position: absolute;
  border-radius: 999px;
  filter: blur(24px);
  pointer-events: none;
  z-index: -1;
}

.taxlearn-bg-blue {
  width: 420px;
  height: 420px;
  left: -180px;
  top: 120px;
  background: rgba(37, 99, 235, 0.11);
}

.taxlearn-bg-gold {
  width: 360px;
  height: 360px;
  right: -150px;
  top: 190px;
  background: rgba(245, 158, 11, 0.13);
}

.taxlearn-bg-cyan {
  width: 300px;
  height: 300px;
  left: 48%;
  bottom: -140px;
  background: rgba(6, 182, 212, 0.11);
}

.taxlearn-container {
  position: relative;
  z-index: 2;
  width: min(1740px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 82px;
}

.taxlearn-copy {
  max-width: 660px;
}

.taxlearn-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 28px;
  padding: 10px 15px;
  border-radius: 999px;
  color: #1d4ed8;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(37, 99, 235, 0.14);
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.08);
  backdrop-filter: blur(14px);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.taxlearn-badge span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 7px rgba(37, 99, 235, 0.13);
}

.taxlearn-title {
  margin: 0;
  color: #07111f;
  font-size: clamp(44px, 5vw, 76px);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -0.065em;
  overflow-wrap: break-word;
  word-break: break-word;
}

.taxlearn-title strong {
  display: block;
  color: #1d4ed8;
  font-weight: inherit;
}

.taxlearn-description {
  max-width: 610px;
  margin: 26px 0 0;
  color: #475569;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.8;
}

.taxlearn-info-panel {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 30px;
  padding: 20px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(37, 99, 235, 0.12);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.taxlearn-info-panel::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -70px;
  bottom: -80px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
}

.taxlearn-info-icon {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.26);
}

.taxlearn-info-icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.taxlearn-info-panel h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 6px;
  color: #0f172a;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: -0.025em;
}

.taxlearn-info-panel p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

.taxlearn-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.taxlearn-card {
  position: relative;
  overflow: hidden;
  min-height: 168px;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(37, 99, 235, 0.11);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.07);
  transition:
    transform 0.32s ease,
    box-shadow 0.32s ease,
    border-color 0.32s ease;
}

.taxlearn-card::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -80px;
  top: -80px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.16),
    rgba(6, 182, 212, 0.12)
  );
  transition: transform 0.35s ease;
}

.taxlearn-card:hover {
  transform: translateY(-7px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 30px 80px rgba(37, 99, 235, 0.13);
}

.taxlearn-card:hover::before {
  transform: scale(1.28);
}

.taxlearn-card-icon {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 16px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
}

.taxlearn-card-icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.taxlearn-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 20px;
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.taxlearn-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
}

/* ===============================
       VISUAL
    =============================== */

.taxlearn-visual-wrap {
  position: relative;
}

.taxlearn-visual-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 38px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.92),
    rgba(239, 246, 255, 0.82)
  );
  border: 1px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 38px 110px rgba(15, 23, 42, 0.13);
  backdrop-filter: blur(18px);
}

.taxlearn-visual-card::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  right: -140px;
  top: -140px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.12);
}

.taxlearn-visual-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.taxlearn-visual-header span {
  display: block;
  margin-bottom: 6px;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.taxlearn-visual-header h3 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.taxlearn-visual-pill {
  flex: 0 0 auto;
  padding: 9px 13px;
  border-radius: 999px;
  color: #1d4ed8;
  background: rgba(219, 234, 254, 0.78);
  border: 1px solid rgba(37, 99, 235, 0.12);
  font-size: 12px;
  font-weight: 900;
}

.taxlearn-puzzle-stage {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 30px;
  background: radial-gradient(
    circle at 50% 35%,
    rgba(255, 255, 255, 0.98),
    rgba(239, 246, 255, 0.78) 48%,
    rgba(219, 234, 254, 0.64) 100%
  );
  border: 1px solid rgba(37, 99, 235, 0.09);
}

.taxlearn-soft-light {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(250, 204, 21, 0.22),
    transparent 68%
  );
  animation: taxlearnLightMove 7s ease-in-out infinite alternate;
}

.taxlearn-puzzle-grid {
  position: relative;
  z-index: 2;
  width: min(520px, 92%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  perspective: 1000px;
}

.taxlearn-puzzle-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  padding: 7px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  transform: translateY(18px) scale(0.94);
  opacity: 0;
  animation: taxlearnTileIn 0.7s ease forwards;
  animation-delay: var(--delay);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.taxlearn-puzzle-tile:hover {
  z-index: 5;
  transform: translateY(-10px) scale(1.06);
  box-shadow: 0 30px 75px rgba(37, 99, 235, 0.2);
}

.taxlearn-puzzle-tile div {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.taxlearn-puzzle-tile:hover div {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.03);
}

.taxlearn-center-tile {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  transform: translateY(18px) scale(1);
}

.taxlearn-center-tile div {
  background-color: rgba(255, 255, 255, 0.92);
  background-size: contain;
  background-repeat: no-repeat;
}

.taxlearn-floating-note {
  position: absolute;
  z-index: 4;
  min-width: 150px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.11);
  backdrop-filter: blur(14px);
}

.taxlearn-floating-note strong {
  display: block;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 950;
}

.taxlearn-floating-note span {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
}

.taxlearn-note-one {
  top: 34px;
  right: 34px;
}

.taxlearn-note-two {
  left: 34px;
  bottom: 34px;
}

.taxlearn-cta-wrap {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.taxlearn-btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 12px 12px 12px 25px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-weight: 950;
  background: linear-gradient(90deg, #1d4ed8, #06b6d4);
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.28);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.taxlearn-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 78px rgba(37, 99, 235, 0.34);
}

.taxlearn-btn i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #1d4ed8;
  background: #fff;
  font-style: normal;
  font-size: 22px;
  transition: transform 0.3s ease;
}

.taxlearn-btn:hover i {
  transform: rotate(-25deg);
}

@keyframes taxlearnLightMove {
  from {
    transform: translate(-70px, -70px);
  }

  to {
    transform: translate(90px, 80px);
  }
}

@keyframes taxlearnTileIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ===============================
       RESPONSIVE
    =============================== */

@media (max-width: 1100px) {
  .taxlearn-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .taxlearn-copy {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
  }

  .taxlearn-description,
  .taxlearn-info-panel {
    margin-left: auto;
    margin-right: auto;
  }

  .taxlearn-info-panel {
    text-align: left;
  }

  .taxlearn-cards {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  .taxlearn-section {
    padding: 70px 16px 70px;
    margin-top: 40px;
  }

  .taxlearn-title {
    font-size: 44px;
  }

  .taxlearn-description {
    font-size: 15px;
    line-height: 1.65;
  }

  .taxlearn-info-panel {
    flex-direction: column;
    padding: 16px;
    border-radius: 22px;
  }

  .taxlearn-cards {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .taxlearn-card {
    min-height: auto;
    padding: 18px;
    border-radius: 24px;
  }

  .taxlearn-visual-card {
    padding: 14px;
    border-radius: 28px;
  }

  .taxlearn-visual-header {
    flex-direction: column;
    gap: 12px;
  }

  .taxlearn-puzzle-stage {
    min-height: 360px;
    border-radius: 24px;
  }

  .taxlearn-puzzle-grid {
    width: min(320px, 92%);
    gap: 8px;
  }

  .taxlearn-puzzle-tile {
    padding: 4px;
    border-radius: 16px;
  }

  .taxlearn-puzzle-tile div {
    border-radius: 13px;
  }

  .taxlearn-floating-note {
    display: none;
  }

  .taxlearn-btn {
    padding-left: 20px;
    font-size: 14px;
  }

  .taxlearn-btn i {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
}

/* ==========================================================
   04. Cards de beneficios, personajes e imágenes
   Origen: bloque <style> #4
========================================================== */
.predial-video-float {
  animation: predialVideoFloat 4s ease-in-out infinite;
}

@keyframes predialVideoFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.predial-mini-badge {
  animation: predialBadgeFloat 4.5s ease-in-out infinite;
}

@keyframes predialBadgeFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.predial-benefit-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.predial-benefit-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(47, 50, 125, 0.3),
    rgba(244, 140, 6, 0.25),
    rgba(59, 130, 246, 0.18)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.9;
}

.predial-benefit-card::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -75px;
  top: -75px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(244, 140, 6, 0.28),
    rgba(244, 140, 6, 0.08),
    transparent 70%
  );
  transition: 0.5s ease;
  z-index: -1;
}

.predial-benefit-card:hover::after {
  transform: scale(1.35);
}

.predial-benefit-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(47, 50, 125, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 50, 125, 0.055) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom right, black, transparent 72%);
  opacity: 0.65;
  pointer-events: none;
}

.predial-benefit-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.75) 50%,
    transparent 62%,
    transparent 100%
  );
  transform: translateX(-120%);
  transition: transform 0.8s ease;
  pointer-events: none;
}

.predial-benefit-card:hover .predial-benefit-shine {
  transform: translateX(120%);
}

/* IMÁGENES OCUPANDO TODO EL CARD EN GALERÍA */
.gallery-card .predial-card-character {
  opacity: 1 !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  filter: none !important;
  object-fit: cover;
  z-index: 1;
}

/* PERSONAJE QUE SALE EN HOVER */
.predial-card-character {
  position: absolute;
  right: -10px;
  bottom: -8px;
  width: 90px;
  opacity: 0;
  transform: translateY(25px) scale(0.9) rotate(-6deg);
  transition: all 0.45s ease;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 15px 18px rgba(15, 23, 42, 0.18));
}

.predial-benefit-card:hover .predial-card-character {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0deg);
}

/* para que no tape demasiado el texto */
.predial-card-content {
  position: relative;
  z-index: 3;
  padding-right: 40px;
}

/* versión grande */
.predial-card-character.big {
  width: 105px;
  right: 6px;
  bottom: -6px;
}

@media (max-width: 640px) {
  .predial-card-character {
    width: 72px;
    right: -6px;
    bottom: -6px;
  }

  .predial-card-character.big {
    width: 82px;
  }

  .predial-card-content {
    padding-right: 20px;
  }
}

/* ==========================================================
   05. Sección video premium y elementos flotantes
   Origen: bloque <style> #5
========================================================== */
/* ====== PREDIAL VIDEO PREMIUM ====== */
.predial-media-wrap {
  position: relative;
  isolation: isolate;
}

.predial-glow-bg {
  position: absolute;
  inset: -20px;
  z-index: -2;
  background:
    radial-gradient(
      circle at 18% 22%,
      rgba(51, 239, 160, 0.35),
      transparent 28%
    ),
    radial-gradient(
      circle at 85% 72%,
      rgba(91, 97, 235, 0.32),
      transparent 32%
    ),
    radial-gradient(
      circle at 70% 18%,
      rgba(245, 102, 102, 0.18),
      transparent 24%
    ),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(239, 246, 255, 0.65));
  filter: blur(0.2px);
  border-radius: 46px;
}

.predial-main-card {
  position: absolute;
  z-index: 10;
  width: 84%;
  height: 285px;
  border-radius: 42px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.95),
      rgba(255, 255, 255, 0.68)
    ),
    radial-gradient(
      circle at top left,
      rgba(59, 130, 246, 0.18),
      transparent 35%
    );
  box-shadow:
    0 38px 90px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(22px);
  transform: perspective(900px) rotateY(-7deg) rotateX(4deg);
}

.predial-main-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(47, 50, 125, 0.08), transparent),
    radial-gradient(circle at 70% 35%, rgba(244, 140, 6, 0.16), transparent 35%);
  opacity: 0.9;
}

.predial-main-card::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: 24px;
  top: 24px;
  border-radius: 999px;
  background: rgba(47, 50, 125, 0.08);
  box-shadow:
    -55px 85px 0 rgba(244, 140, 6, 0.08),
    -180px 10px 0 rgba(51, 239, 160, 0.08);
}

.predial-orb {
  position: absolute;
  border-radius: 999px;
  z-index: 0;
  filter: saturate(1.2);
  animation: predial-orb-float 5s ease-in-out infinite;
}

.predial-orb-1 {
  width: 120px;
  height: 120px;
  left: 24px;
  top: 42px;
  background: linear-gradient(135deg, #33efa0, #10b981);
  box-shadow: 0 20px 45px rgba(16, 185, 129, 0.28);
}

.predial-orb-2 {
  width: 150px;
  height: 150px;
  right: 28px;
  bottom: 70px;
  background: linear-gradient(135deg, #5b61eb, #2f327d);
  box-shadow: 0 24px 55px rgba(47, 50, 125, 0.32);
  animation-delay: 0.8s;
}

.predial-orb-3 {
  width: 18px;
  height: 18px;
  left: 155px;
  top: 22px;
  background: #33d9ef;
  animation: predial-ping 1.8s ease-in-out infinite;
}

.predial-orb-4 {
  width: 20px;
  height: 20px;
  right: 150px;
  bottom: 58px;
  background: #f56666;
  animation: predial-ping 2s ease-in-out infinite;
  animation-delay: 0.5s;
}

.predial-video-frame {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 315px;
  height: 315px;
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.9),
    rgba(239, 246, 255, 0.55)
  );
  box-shadow:
    0 35px 75px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: translateY(4px);
}

.predial-video-frame::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: inherit;
  background: conic-gradient(
    from 180deg,
    rgba(47, 50, 125, 0.22),
    rgba(51, 217, 239, 0.35),
    rgba(51, 239, 160, 0.28),
    rgba(245, 102, 102, 0.24),
    rgba(47, 50, 125, 0.22)
  );
  z-index: -1;
  filter: blur(0.2px);
  animation: predial-spin 12s linear infinite;
}

.predial-video-frame::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: inherit;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.85),
    rgba(255, 255, 255, 0.25)
  );
  z-index: -1;
}

.predial-video-float {
  animation: predial-video-float 4.5s ease-in-out infinite;
  transform-origin: center bottom;
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.predial-video-frame:hover .predial-video-float {
  transform: translateY(-12px) scale(1.05) rotate(-1deg);
  filter: drop-shadow(0 35px 35px rgba(15, 23, 42, 0.18));
}

.predial-mini-badge {
  animation: predial-badge-float 4s ease-in-out infinite;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.predial-mini-badge:hover {
  transform: translateY(-8px) scale(1.04);
}

.predial-badge-light {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(248, 250, 252, 0.88)
  );
  box-shadow:
    0 22px 45px rgba(15, 23, 42, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.predial-badge-dark {
  background: linear-gradient(135deg, #2f327d, #1e1b4b);
  box-shadow:
    0 22px 50px rgba(47, 50, 125, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.predial-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.predial-floating-pill {
  position: absolute;
  z-index: 35;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.13);
  font-size: 12px;
  font-weight: 900;
  color: #2f327d;
  letter-spacing: 0.02em;
}

.predial-floating-pill span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #33efa0;
  box-shadow: 0 0 0 6px rgba(51, 239, 160, 0.18);
}

.predial-spark {
  position: absolute;
  z-index: 20;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(47, 50, 125, 0.28);
  animation: predial-spark 3.5s ease-in-out infinite;
}

.predial-spark.s1 {
  left: 18%;
  bottom: 22%;
  animation-delay: 0.2s;
}

.predial-spark.s2 {
  right: 20%;
  top: 18%;
  animation-delay: 0.9s;
  background: rgba(244, 140, 6, 0.35);
}

.predial-spark.s3 {
  right: 34%;
  bottom: 18%;
  animation-delay: 1.4s;
  background: rgba(51, 217, 239, 0.45);
}

@keyframes predial-video-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-14px) rotate(1.5deg);
  }
}

@keyframes predial-badge-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes predial-orb-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-16px) scale(1.04);
  }
}

@keyframes predial-ping {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.95;
    box-shadow: 0 0 0 0 rgba(51, 217, 239, 0.35);
  }

  50% {
    transform: scale(1.25);
    opacity: 0.65;
    box-shadow: 0 0 0 16px rgba(51, 217, 239, 0);
  }
}

@keyframes predial-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes predial-spark {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.4;
  }

  50% {
    transform: translateY(-18px) scale(1.6);
    opacity: 0.9;
  }
}

@media (max-width: 768px) {
  .predial-main-card {
    width: 90%;
    height: 250px;
    border-radius: 34px;
    transform: none;
  }

  .predial-video-frame {
    width: 265px;
    height: 265px;
  }

  .predial-orb-1 {
    width: 95px;
    height: 95px;
    left: 16px;
    top: 58px;
  }

  .predial-orb-2 {
    width: 115px;
    height: 115px;
    right: 16px;
    bottom: 88px;
  }

  .predial-floating-pill {
    bottom: 22px;
  }
}

/* ==========================================================
   06. Modal PAE: animación de entrada
   Origen: bloque <style> #6
========================================================== */
@keyframes paeModalIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.animate-paeModal {
  animation: paeModalIn 0.35s ease-out;
}

/* ==========================================================
   07. Oferta / formas de pago del predial
   Origen: bloque <style> #7
========================================================== */
/* ============================= */
/* PAGO PREDIAL COLORIDO */
/* ============================= */

.predial-offer-pro {
  position: relative;
  isolation: isolate;

  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  min-height: 520px;
  margin-top: 80px;
  margin-bottom: 80px;
  padding: 70px 7%;

  display: flex;
  align-items: center;
  justify-content: flex-end;

  overflow: hidden;

  background-image: var(--offer-img);
  background-size: cover;
  background-position: center left;
  background-repeat: no-repeat;
}

/* Capa clara y colorida encima de la imagen */
.predial-offer-pro__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      circle at 18% 25%,
      rgba(52, 211, 153, 0.22),
      transparent 30%
    ),
    radial-gradient(
      circle at 82% 22%,
      rgba(59, 130, 246, 0.2),
      transparent 32%
    ),
    radial-gradient(
      circle at 72% 82%,
      rgba(251, 146, 60, 0.18),
      transparent 32%
    ),
    linear-gradient(
      90deg,
      rgba(6, 18, 30, 0.42) 0%,
      rgba(6, 18, 30, 0.2) 38%,
      rgba(255, 255, 255, 0.34) 62%,
      rgba(255, 255, 255, 0.62) 100%
    );
}

/* Card principal */
.predial-offer-pro__content {
  position: relative;
  z-index: 5;

  width: min(620px, 100%);
  padding: 42px;

  border-radius: 34px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);

  box-shadow:
    0 35px 90px rgba(15, 23, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  text-align: left;
  animation: predialColorIn 0.8s ease both;
}

.predial-offer-pro__content::before {
  content: "";
  position: absolute;
  left: 0;
  top: 34px;
  width: 7px;
  height: 120px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, #0788e8, #22c55e, #0b0ff5);
}

/* Etiqueta */
.predial-offer-pro__tag {
  display: inline-flex;
  align-items: center;

  margin-bottom: 18px;
  padding: 9px 17px;

  border-radius: 999px;
  background: #677dc7;
  color: #1044ee;

  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.03em;

  box-shadow: 0 12px 25px rgba(103, 125, 199, 0.14);
}

/* Título grande */
.predial-offer-pro__discount {
  margin: 0 0 12px;

  color: #111827;
  font-size: clamp(3.3rem, 6vw, 5.6rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.predial-offer-pro__discount span {
  display: inline-block;
  color: transparent;
  background: linear-gradient(135deg, #0788e8, #14b8a6);
  -webkit-background-clip: text;
  background-clip: text;
}

/* Subtítulo */
.predial-offer-pro__title {
  margin: 0 0 14px;

  color: #111827;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.predial-offer-pro__text {
  max-width: 540px;
  margin: 0 0 26px;

  color: #64748b;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
}

/* Chips */
.predial-payment-short {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.predial-payment-short span {
  padding: 12px 17px;
  border-radius: 999px;

  font-size: 14px;
  font-weight: 900;

  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
}

.chip-blue {
  background: #e0f2fe;
  color: #0369a1;
}

.chip-orange {
  background: #ffedd5;
  color: #c2410c;
}

.chip-green {
  background: #dcfce7;
  color: #15803d;
}

/* Botón */
.predial-offer-btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 30px;
  padding: 15px 28px;

  border-radius: 999px;
  background: linear-gradient(135deg, #0788e8, #14b8a6);
  color: #ffffff;

  font-size: 15px;
  font-weight: 950;
  text-decoration: none;

  box-shadow: 0 20px 42px rgba(7, 136, 232, 0.3);
  transition: 0.3s ease;
}

.predial-offer-btn-link:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 26px 60px rgba(7, 136, 232, 0.4);
  color: #ffffff;
}

@keyframes predialColorIn {
  from {
    opacity: 0;
    transform: translateX(35px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .predial-offer-pro {
    justify-content: center;
    padding: 70px 20px;
    background-position: center;
  }

  .predial-offer-pro__bg {
    background:
      linear-gradient(rgba(218, 25, 25, 0.78), rgba(255, 255, 255, 0.92)),
      radial-gradient(
        circle at 20% 20%,
        rgba(52, 211, 153, 0.35),
        transparent 30%
      ),
      radial-gradient(
        circle at 80% 80%,
        rgba(59, 130, 246, 0.25),
        transparent 30%
      );
  }

  .predial-offer-pro__content {
    text-align: center;
    padding: 34px 24px;
  }

  .predial-offer-pro__content::before {
    display: none;
  }

  .predial-payment-short {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .predial-offer-pro {
    min-height: 560px;
    margin-top: 55px;
    margin-bottom: 55px;
  }

  .predial-offer-pro__content {
    border-radius: 26px;
    padding: 30px 18px;
  }

  .predial-offer-btn-link {
    width: 100%;
  }
}

/* ==========================================================
   08. Sección de apoyos, descuentos y tarjetas informativas
   Origen: bloque <style> #8
========================================================== */
/* ===============================
       SECCIÓN DESCUENTOS / APOYOS
    =============================== */

.predial-support-section {
  position: relative;
  overflow: hidden;
  padding: 110px 0 100px;
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(37, 99, 235, 0.16),
      transparent 32%
    ),
    radial-gradient(
      circle at 88% 20%,
      rgba(6, 182, 212, 0.16),
      transparent 30%
    ),
    radial-gradient(
      circle at 50% 95%,
      rgba(249, 115, 22, 0.14),
      transparent 35%
    ),
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 48%, #ffffff 100%);
  isolation: isolate;
}

.predial-support-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(37, 99, 235, 0.12) 1px,
    transparent 1px
  );
  background-size: 26px 26px;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 22%,
    #000 72%,
    transparent
  );
  opacity: 0.55;
  z-index: -2;
}

.predial-support-section::after {
  content: "";
  position: absolute;
  width: 760px;
  height: 760px;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.92),
    rgba(255, 255, 255, 0.25) 44%,
    transparent 68%
  );
  z-index: -2;
  pointer-events: none;
}

.predial-support-blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(22px);
  opacity: 0.75;
  pointer-events: none;
  z-index: -1;
  animation: predialBlobMove 9s ease-in-out infinite;
}

.predial-support-blob-1 {
  width: 330px;
  height: 330px;
  left: -120px;
  top: 120px;
  background: rgba(37, 99, 235, 0.18);
}

.predial-support-blob-2 {
  width: 280px;
  height: 280px;
  right: -90px;
  top: 160px;
  background: rgba(6, 182, 212, 0.18);
  animation-delay: -2s;
}

.predial-support-blob-3 {
  width: 260px;
  height: 260px;
  left: 42%;
  bottom: -110px;
  background: rgba(249, 115, 22, 0.16);
  animation-delay: -4s;
}

.predial-support-container {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

/* ===============================
       HEADER
    =============================== */

.predial-support-header {
  max-width: 820px;
  margin: 0 auto 72px;
  text-align: center;
}

.predial-support-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(37, 99, 235, 0.16);
  box-shadow: 0 14px 35px rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
}

.predial-support-eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.11);
}

.predial-support-header h1 {
  margin: 0;
  color: #07111f;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 0.9;
  font-weight: 950;
  letter-spacing: -0.075em;
}

.predial-support-header h1 span {
  display: inline-flex;
  margin-top: 12px;
  padding: 10px 24px 14px;
  border-radius: 999px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(90deg, #1d4ed8, #06b6d4, #f97316) border-box;
  border: 1px solid transparent;
  color: transparent;
  background-clip: padding-box, border-box;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(90deg, #1d4ed8, #06b6d4, #1d4ed8);
  -webkit-background-clip: text;
  filter: drop-shadow(0 18px 25px rgba(37, 99, 235, 0.12));
}

.predial-support-header p {
  max-width: 720px;
  margin: 24px auto 0;
  color: #526071;
  font-size: 17px;
  line-height: 1.8;
  font-weight: 500;
}

/* ===============================
       LAYOUT
    =============================== */

.predial-support-layout {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 76px;
}

/* ===============================
       SLIDER CARDS
    =============================== */

/* =====================================================
   FIX APOYOS: una sola tarjeta visible como antes
   Evita que CARD 1 quede arriba y CARD 2 abajo
===================================================== */

.predial-support-slider {
  position: relative !important;
  min-height: 560px !important;
}

.predial-support-card {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(24px) scale(0.96) !important;
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease,
    transform 0.45s ease !important;
}

.predial-support-card.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
  z-index: 2 !important;
}

.predial-support-dots {
  position: absolute !important;
  left: 50% !important;
  bottom: -42px !important;
  transform: translateX(-50%) !important;
  z-index: 5 !important;
}

/* Responsive */
@media (max-width: 820px) {
  .predial-support-slider {
    min-height: 650px !important;
  }
}

@media (max-width: 520px) {
  .predial-support-slider {
    min-height: 760px !important;
  }

  .predial-support-dots {
    bottom: -36px !important;
  }
}
.predial-support-card-glow {
  position: absolute;
  inset: 18px;
  border-radius: 32px;
  background:
    radial-gradient(
      circle at 15% 15%,
      rgba(37, 99, 235, 0.18),
      transparent 34%
    ),
    radial-gradient(circle at 85% 8%, rgba(6, 182, 212, 0.16), transparent 30%);
  opacity: 0.85;
  pointer-events: none;
}

.predial-support-card-glow.orange {
  background:
    radial-gradient(
      circle at 15% 15%,
      rgba(249, 115, 22, 0.17),
      transparent 34%
    ),
    radial-gradient(circle at 85% 8%, rgba(37, 99, 235, 0.14), transparent 30%);
}

.predial-support-card-top,
.predial-support-text,
.predial-discount-grid,
.predial-benefit-list,
.predial-support-note {
  position: relative;
  z-index: 2;
}

.predial-support-card-top {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 26px;
}

.predial-support-image {
  position: relative;
  width: 128px;
  height: 128px;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(135deg, #dbeafe, #ffffff);
  border: 7px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 22px 45px rgba(37, 99, 235, 0.14),
    0 8px 20px rgba(15, 23, 42, 0.08);
  transform: rotate(-4deg);
}

.predial-support-card:nth-of-type(2) .predial-support-image {
  transform: rotate(4deg);
  background: linear-gradient(135deg, #ffedd5, #ffffff);
}

.predial-support-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.predial-support-card.active:hover .predial-support-image img {
  transform: scale(1.08);
}

.predial-support-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  margin-bottom: 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.predial-support-chip.blue {
  background: rgba(37, 99, 235, 0.09);
  color: #1d4ed8;
}

.predial-support-chip.orange {
  background: rgba(249, 115, 22, 0.11);
  color: #ea580c;
}

.predial-support-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.7);
}

.predial-support-card h2 {
  margin: 0;
  color: #07111f;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -0.055em;
}

.predial-support-text {
  margin: 0 0 26px;
  color: #526071;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 500;
}

/* ===============================
       DESCUENTOS
    =============================== */

.predial-discount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.predial-discount-card {
  position: relative;
  overflow: hidden;
  padding: 20px 16px;
  border-radius: 26px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(239, 246, 255, 0.9)
  );
  border: 1px solid rgba(37, 99, 235, 0.11);
  box-shadow: 0 18px 35px rgba(37, 99, 235, 0.08);
  transition: 0.28s ease;
}

.predial-discount-card::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 70px;
  right: -30px;
  top: -30px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
}

.predial-discount-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 45px rgba(37, 99, 235, 0.14);
}

.predial-discount-card span {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.predial-discount-card strong {
  display: block;
  margin-top: 12px;
  color: #0f172a;
  font-size: 25px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.predial-discount-card small {
  display: block;
  margin-top: 8px;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 850;
}

/* ===============================
       BENEFICIOS
    =============================== */

.predial-benefit-list {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.predial-benefit-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 15px 32px rgba(15, 23, 42, 0.06);
  transition: 0.28s ease;
}

.predial-benefit-item:hover {
  transform: translateX(7px);
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.09);
}

.predial-benefit-item span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 15px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: #ffffff;
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.22);
}

.predial-benefit-item p {
  margin: 0;
  color: #334155;
  font-size: 15px;
  font-weight: 800;
}

/* ===============================
       NOTA
    =============================== */

.predial-support-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 16px;
  border-radius: 22px;
  background: rgba(37, 99, 235, 0.07);
  border: 1px solid rgba(37, 99, 235, 0.1);
  color: #475569;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

.predial-support-note.orange {
  background: rgba(249, 115, 22, 0.08);
  border-color: rgba(249, 115, 22, 0.12);
}

.predial-support-note span {
  width: 11px;
  height: 11px;
  margin-top: 4px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #2563eb;
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.12);
}

.predial-support-note.orange span {
  background: #f97316;
  box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.13);
}

/* ===============================
       DOTS
    =============================== */

.predial-support-dots {
  position: absolute;
  left: 50%;
  bottom: -36px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 4;
  padding: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.09);
  backdrop-filter: blur(14px);
}

.predial-support-dots button {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: #bfdbfe;
  cursor: pointer;
  transition: 0.25s ease;
}

.predial-support-dots button.active {
  width: 36px;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.24);
}

/* ===============================
       VIDEO / VISUAL
    =============================== */

.predial-support-visual {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.predial-support-orbit {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.55) 42%,
    transparent 70%
  );
  box-shadow:
    0 40px 100px rgba(37, 99, 235, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.predial-support-ring {
  position: absolute;
  width: 385px;
  height: 385px;
  border-radius: 999px;
  border: 2px dashed rgba(37, 99, 235, 0.18);
  animation: predialRingSpin 18s linear infinite;
}

.predial-support-video-box {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: predialVideoFloat 4.5s ease-in-out infinite;
}

.predial-support-video-box::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 44px;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(15, 23, 42, 0.2), transparent 70%);
  filter: blur(10px);
  z-index: -1;
}

.predial-support-video {
  width: min(410px, 88vw);
  max-height: 470px;
  object-fit: contain;
  filter: drop-shadow(0 34px 55px rgba(15, 23, 42, 0.25));
}

.predial-float-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 178px;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.11);
  backdrop-filter: blur(16px);
  animation: predialFloatCard 4s ease-in-out infinite;
}

.predial-float-card-one {
  top: 76px;
  right: 8px;
}

.predial-float-card-two {
  left: 0;
  bottom: 120px;
  animation-delay: -1.4s;
}

.predial-float-card-three {
  right: 42px;
  bottom: 42px;
  animation-delay: -2.2s;
}

.predial-float-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 16px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: #ffffff;
  font-size: 18px;
  font-weight: 950;
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.22);
}

.predial-float-icon.orange {
  background: linear-gradient(135deg, #f97316, #fb923c);
  box-shadow: 0 14px 26px rgba(249, 115, 22, 0.22);
}

.predial-float-icon.cyan {
  background: linear-gradient(135deg, #0891b2, #22d3ee);
  box-shadow: 0 14px 26px rgba(6, 182, 212, 0.22);
}

.predial-float-card strong {
  display: block;
  color: #0f172a;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.1;
}

.predial-float-card span {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
}

/* ===============================
       ANIMACIONES
    =============================== */

@keyframes predialVideoFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-16px) rotate(1deg);
  }
}

@keyframes predialFloatCard {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes predialRingSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes predialBlobMove {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(18px, -18px, 0) scale(1.06);
  }
}

/* ===============================
       RESPONSIVE
    =============================== */

@media (max-width: 1080px) {
  .predial-support-layout {
    grid-template-columns: 1fr;
    gap: 100px;
  }

  .predial-support-slider {
    min-height: 540px;
    display: flex;
    justify-content: center;
  }

  .predial-support-card {
    left: 50%;
    transform: translateX(-50%) translateY(32px) rotateX(8deg) scale(0.94);
  }

  .predial-support-card.active {
    transform: translateX(-50%) translateY(0) rotateX(0) scale(1);
  }

  .predial-support-card.active:hover {
    transform: translateX(-50%) translateY(-8px) rotateY(-2deg) scale(1.01);
  }

  .predial-support-visual {
    min-height: 470px;
  }

  .predial-float-card-one {
    right: 12%;
  }

  .predial-float-card-two {
    left: 12%;
  }

  .predial-float-card-three {
    right: 18%;
  }
}

@media (max-width: 720px) {
  .predial-support-section {
    padding: 82px 0 78px;
  }

  .predial-support-header {
    margin-bottom: 56px;
  }

  .predial-support-header h1 {
    font-size: clamp(38px, 13vw, 56px);
  }

  .predial-support-header h1 span {
    padding: 8px 18px 12px;
  }

  .predial-support-header p {
    font-size: 15px;
    line-height: 1.7;
  }

  .predial-support-slider {
    min-height: 660px;
  }

  .predial-support-card {
    padding: 24px;
    border-radius: 30px;
    min-height: 590px;
  }

  .predial-support-card-top {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 18px;
  }

  .predial-support-image {
    width: 118px;
    height: 118px;
  }

  .predial-support-card h2 {
    font-size: 31px;
  }

  .predial-support-text {
    text-align: center;
    font-size: 15px;
  }

  .predial-discount-grid {
    grid-template-columns: 1fr;
  }

  .predial-discount-card {
    text-align: center;
  }

  .predial-support-note {
    text-align: left;
    font-size: 12px;
  }

  .predial-support-visual {
    min-height: 430px;
  }

  .predial-support-orbit {
    width: 330px;
    height: 330px;
  }

  .predial-support-ring {
    width: 295px;
    height: 295px;
  }

  .predial-support-video {
    width: min(320px, 90vw);
  }

  .predial-float-card {
    min-width: 150px;
    padding: 12px;
    border-radius: 18px;
  }

  .predial-float-card-one {
    top: 30px;
    right: 0;
  }

  .predial-float-card-two {
    left: 0;
    bottom: 92px;
  }

  .predial-float-card-three {
    right: 20px;
    bottom: 28px;
  }

  .predial-float-icon {
    width: 36px;
    height: 36px;
    border-radius: 13px;
    font-size: 15px;
  }

  .predial-float-card strong {
    font-size: 12px;
  }

  .predial-float-card span {
    font-size: 11px;
  }
}

@media (max-width: 460px) {
  .predial-support-container {
    width: min(100% - 22px, 1180px);
  }

  .predial-support-card {
    padding: 20px;
  }

  .predial-support-slider {
    min-height: 700px;
  }

  .predial-support-card h2 {
    font-size: 28px;
  }

  .predial-benefit-item {
    padding: 12px;
  }

  .predial-benefit-item p {
    font-size: 13px;
  }

  .predial-float-card {
    transform: scale(0.92);
  }

  .predial-float-card-one {
    right: -8px;
  }

  .predial-float-card-two {
    left: -8px;
  }
}

/* ==========================================================
   09. Cierre, franja final y elementos informativos
   Origen: bloque <style> #9
========================================================== */
.predial-ending-strip {
  position: relative;
  overflow: hidden;
  padding: 42px 20px 48px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
}

.predial-ending-strip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 42px;
  background: #173f96;
  clip-path: polygon(0 58%, 100% 0, 100% 100%, 0% 100%);
}

.predial-ending-container {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.predial-ending-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.predial-ending-title span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.predial-ending-title h2 {
  margin: 0;
  color: #07111f;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.predial-ending-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.predial-ending-item {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 128px;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(37, 99, 235, 0.12);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.08);
  transition: 0.3s ease;
}

.predial-ending-item::before {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -75px;
  top: -75px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  transition: 0.3s ease;
}

.predial-ending-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 75px rgba(37, 99, 235, 0.14);
}

.predial-ending-item:hover::before {
  transform: scale(1.35);
}

.predial-ending-icon {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  color: #ffffff;
  font-size: 17px;
  font-weight: 950;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
}

.predial-ending-item strong {
  position: relative;
  z-index: 1;
  display: block;
  color: #0f172a;
  font-size: 16px;
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: -0.035em;
}

.predial-ending-item p {
  position: relative;
  z-index: 1;
  margin: 8px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}

@media (max-width: 980px) {
  .predial-ending-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .predial-ending-strip {
    padding: 36px 14px 42px;
  }

  .predial-ending-title {
    display: block;
    text-align: center;
  }

  .predial-ending-track {
    grid-template-columns: 1fr;
  }

  .predial-ending-item {
    min-height: auto;
    border-radius: 24px;
  }
}

/* ==========================================================
   10. Patch visual premium general
   Origen: bloque <style> #10
========================================================== */

/* ===============================
       BANNER FIRMA
    =============================== */

.predial-count-banner {
  position: relative;
  z-index: 30;
  padding: 0 clamp(16px, 4vw, 72px);
  margin-top: -26px;
  margin-bottom: 50px;
}

.predial-count-card {
  width: min(1020px, 100%) !important;
  margin-left: auto !important;
  margin-right: 0 !important;
  min-height: 90px !important;
  padding: 22px clamp(24px, 4vw, 64px) !important;
  border-radius: 28px !important;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow:
    0 28px 80px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
}

.predial-count-sign {
  margin-left: auto;
}

/* ===============================
       SECCIÓN IMPUESTOS
    =============================== */

.taxlearn-section {
  margin-top: 30px !important;
  padding: clamp(80px, 8vw, 135px) clamp(18px, 4vw, 72px) 110px !important;
  background:
    radial-gradient(
      circle at 12% 16%,
      rgba(37, 99, 235, 0.13),
      transparent 30%
    ),
    radial-gradient(
      circle at 88% 18%,
      rgba(245, 158, 11, 0.14),
      transparent 30%
    ),
    radial-gradient(circle at 50% 92%, rgba(6, 182, 212, 0.1), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f4f8ff 50%, #ffffff 100%) !important;
}

.taxlearn-container {
  width: 100% !important;
  max-width: 1580px !important;
  grid-template-columns: minmax(480px, 0.9fr) minmax(640px, 1.1fr) !important;
  gap: clamp(48px, 6vw, 110px) !important;
}

.taxlearn-copy {
  max-width: 760px !important;
}

.taxlearn-title {
  font-size: clamp(52px, 5.5vw, 92px) !important;
  letter-spacing: -0.08em !important;
}

.taxlearn-info-panel,
.taxlearn-card,
.taxlearn-visual-card {
  border-color: rgba(255, 255, 255, 0.92) !important;
  box-shadow:
    0 28px 78px rgba(15, 23, 42, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
}

.taxlearn-card {
  transform: translateZ(0);
}

.taxlearn-card:hover {
  transform: translateY(-10px) scale(1.015) !important;
}

.taxlearn-card-icon {
  background: linear-gradient(135deg, #eff6ff, #ecfeff) !important;
}

.taxlearn-puzzle-stage {
  min-height: clamp(460px, 42vw, 660px) !important;
}

.taxlearn-puzzle-tile {
  transform-style: preserve-3d;
}

/* ===============================
       GALERÍA BENEFICIOS
    =============================== */

#ayuda-predial {
  padding-top: clamp(85px, 7vw, 130px) !important;
  padding-bottom: clamp(85px, 7vw, 130px) !important;
  background:
    radial-gradient(circle at 15% 12%, rgba(37, 99, 235, 0.1), transparent 28%),
    radial-gradient(circle at 88% 90%, rgba(6, 182, 212, 0.1), transparent 30%),
    #ffffff !important;
}

.gallery-responsive {
  max-width: 1580px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 42px !important;
  padding: 10px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(226, 232, 240, 0.86);
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(16px);
}

.gallery-card {
  position: relative;
  isolation: isolate;
  border-radius: 32px !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transform: translateZ(0);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14) !important;
}

.gallery-card:hover {
  transform: translateY(-8px);
}

.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background:
    radial-gradient(
      circle at 50% 18%,
      rgba(255, 255, 255, 0.18),
      transparent 32%
    ),
    linear-gradient(
      180deg,
      transparent 0%,
      rgba(0, 0, 0, 0.22) 48%,
      rgba(0, 0, 0, 0.86) 100%
    );
  pointer-events: none;
}

.gallery-card .predial-card-character {
  transition:
    transform 0.75s var(--predial-ease),
    filter 0.75s ease !important;
}

.gallery-card:hover .predial-card-character {
  transform: scale(1.08) !important;
  filter: saturate(1.08) contrast(1.05) !important;
}

/* ===============================
       SECCIÓN "NO PAGO A TIEMPO"
    =============================== */

.predial-benefit-card {
  border-radius: 32px !important;
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 26px 72px rgba(15, 23, 42, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
  background: rgba(255, 255, 255, 0.86) !important;
  backdrop-filter: blur(18px);
}

.predial-benefit-card:hover {
  transform: translateY(-10px) scale(1.012) !important;
}

.predial-benefit-card h3 {
  letter-spacing: -0.04em;
}

/* ===============================
       OPINIÓN / TESTIMONIOS
    =============================== */

.predial-opinion-section {
  padding-left: clamp(16px, 4vw, 72px) !important;
  padding-right: clamp(16px, 4vw, 72px) !important;
}

.predial-opinion-container {
  width: 100% !important;
  max-width: 1500px !important;
}

.predial-opinion-content {
  gap: clamp(42px, 6vw, 110px) !important;
}

/* ===============================
       AJUSTES GENERALES
    =============================== */

section {
  scroll-margin-top: 90px;
}

img,
video {
  max-width: 100%;
}

@media (max-width: 1100px) {
  .taxlearn-container {
    grid-template-columns: 1fr !important;
  }

  .taxlearn-copy {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 768px) {
  .predial-cinematic-hero > .relative.z-20 {
    padding-top: 110px !important;
  }

  .predial-count-card {
    margin-right: auto !important;
  }

  .gallery-responsive {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .gallery-card {
    min-height: 285px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================
   11. Upgrade visual 3D, cards y efectos avanzados
   Origen: bloque <style> #11
========================================================== */
:root {
  --predial-blue: #0b5cff;
  --predial-blue-dark: #081f5c;
  --predial-cyan: #06b6d4;
  --predial-gold: #f59e0b;
  --predial-orange: #f97316;
  --predial-slate: #0f172a;
  --predial-muted: #64748b;
  --predial-soft: #f4f8ff;
  --predial-ease-3d: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================
       HERO MÁS CINEMATOGRÁFICO / 3D
    ========================================================= */

.predial-cinematic-hero {
  isolation: isolate;
  background:
    radial-gradient(
      circle at var(--hero-x, 18%) var(--hero-y, 20%),
      rgba(14, 165, 233, 0.36),
      transparent 28%
    ),
    radial-gradient(
      circle at 88% 18%,
      rgba(250, 204, 21, 0.26),
      transparent 26%
    ),
    radial-gradient(
      circle at 52% 92%,
      rgba(37, 99, 235, 0.28),
      transparent 34%
    ),
    linear-gradient(135deg, #030712 0%, #06142f 44%, #020617 100%) !important;
}

.predial-cinematic-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(
    circle at var(--hero-x, 50%) var(--hero-y, 50%),
    black 0%,
    transparent 44%
  );
  -webkit-mask-image: radial-gradient(
    circle at var(--hero-x, 50%) var(--hero-y, 50%),
    black 0%,
    transparent 44%
  );
  opacity: 0.75;
}

.predial-cinematic-hero::after {
  content: "";
  position: absolute;
  inset: 38px;
  z-index: 1;
  border-radius: 48px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.025);
  pointer-events: none;
}

.predial-cinematic-hero .hero-title {
  text-shadow:
    0 16px 48px rgba(0, 0, 0, 0.38),
    0 0 60px rgba(37, 99, 235, 0.18);
}

.predial-cinematic-hero .hero-title span:nth-child(1) {
  filter: drop-shadow(0 18px 35px rgba(6, 182, 212, 0.14));
}

.predial-cinematic-hero a[href*="predial"],
.predial-cinematic-hero a[href="#ayuda-predial"] {
  transform-style: preserve-3d;
  will-change: transform;
}

.predial-cinematic-hero a[href*="predial"]::after,
.predial-cinematic-hero a[href="#ayuda-predial"]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0.38) 45%,
    transparent 75%
  );
  transform: translateX(-130%);
  transition: transform 0.75s var(--predial-ease-3d);
  pointer-events: none;
}

.predial-cinematic-hero a[href*="predial"]:hover::after,
.predial-cinematic-hero a[href="#ayuda-predial"]:hover::after {
  transform: translateX(130%);
}

.predial-cinematic-hero a[href*="predial"]:hover,
.predial-cinematic-hero a[href="#ayuda-predial"]:hover {
  transform: translateY(-5px) translateZ(16px);
}

.predial-cinematic-hero #girl {
  perspective: 1200px;
  transform-style: preserve-3d;
  will-change: transform;
}

.predial-cinematic-hero #girl > div {
  transform-style: preserve-3d;
}

.predial-cinematic-hero #girl > div::before {
  content: "";
  position: absolute;
  inset: -34px;
  z-index: 0;
  border-radius: 54px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.18),
      rgba(255, 255, 255, 0.04)
    ),
    radial-gradient(
      circle at 25% 15%,
      rgba(96, 165, 250, 0.36),
      transparent 34%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(250, 204, 21, 0.18),
      transparent 34%
    );
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  box-shadow:
    0 45px 120px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateZ(-30px) rotate(3deg);
}

.predial-cinematic-hero #girl video {
  transform: translateZ(62px);
  filter: drop-shadow(0 44px 55px rgba(0, 0, 0, 0.58))
    drop-shadow(0 0 42px rgba(59, 130, 246, 0.14));
}

.predial-cinematic-hero #girl img,
.predial-cinematic-hero #girl .rounded-3xl {
  transform-style: preserve-3d;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.22) !important;
}

/* =========================================================
       BANNER FIRMA MÁS ELEGANTE
    ========================================================= */

.predial-count-banner {
  position: relative;
  z-index: 5;
  padding: 0 clamp(16px, 4vw, 70px) 28px;
  background: #fff;
}

.predial-count-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.96),
    rgba(239, 246, 255, 0.88)
  );
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.08);
}

.predial-count-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 82% 25%,
      rgba(37, 99, 235, 0.11),
      transparent 30%
    ),
    radial-gradient(circle at 12% 80%, rgba(6, 182, 212, 0.09), transparent 28%);
  pointer-events: none;
}

.predial-count-sign {
  position: relative;
  z-index: 2;
}

/* =========================================================
       SECCIÓN IMPUESTOS · CARDS 3D PREMIUM
    ========================================================= */

.taxlearn-section {
  background:
    radial-gradient(circle at 8% 12%, rgba(37, 99, 235, 0.14), transparent 28%),
    radial-gradient(
      circle at 94% 18%,
      rgba(245, 158, 11, 0.16),
      transparent 28%
    ),
    radial-gradient(
      circle at 52% 95%,
      rgba(6, 182, 212, 0.12),
      transparent 34%
    ),
    linear-gradient(180deg, #fff 0%, #f3f7ff 48%, #fff 100%) !important;
}

.taxlearn-section::before {
  content: "IMPUESTOS";
  position: absolute;
  left: clamp(18px, 4vw, 70px);
  top: 30px;
  z-index: -1;
  color: rgba(15, 23, 42, 0.035);
  font-size: clamp(64px, 10vw, 158px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.06em;
  pointer-events: none;
}

.taxlearn-cards {
  perspective: 1200px;
}

.taxlearn-card {
  isolation: isolate;
  transform-style: preserve-3d;
  min-height: 190px !important;
  border-radius: 34px !important;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.92),
    rgba(239, 246, 255, 0.78)
  ) !important;
  border: 1px solid rgba(255, 255, 255, 0.96) !important;
  box-shadow:
    0 28px 82px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
  transform: translateZ(0) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  will-change: transform;
}

.taxlearn-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    circle at var(--card-x, 50%) var(--card-y, 50%),
    rgba(255, 255, 255, 0.92),
    transparent 34%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.taxlearn-card:hover::after {
  opacity: 0.85;
}

.taxlearn-card-icon,
.taxlearn-card h3,
.taxlearn-card p {
  transform: translateZ(28px);
}

.taxlearn-card-icon {
  width: 58px !important;
  height: 58px !important;
  border-radius: 21px !important;
  background: linear-gradient(135deg, #eff6ff, #ecfeff) !important;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.12);
}

.taxlearn-card:nth-child(2)::before {
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.2),
    rgba(251, 191, 36, 0.1)
  ) !important;
}

.taxlearn-card:nth-child(3)::before {
  background: linear-gradient(
    135deg,
    rgba(34, 197, 94, 0.18),
    rgba(6, 182, 212, 0.1)
  ) !important;
}

.taxlearn-card:nth-child(4)::before {
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.15),
    rgba(37, 99, 235, 0.1)
  ) !important;
}

.taxlearn-visual-card {
  transform-style: preserve-3d;
}

.taxlearn-puzzle-stage {
  perspective: 1400px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 26px 80px rgba(37, 99, 235, 0.1);
}

.taxlearn-puzzle-tile {
  transform-style: preserve-3d;
  will-change: transform;
}

.taxlearn-puzzle-tile::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.3),
    rgba(6, 182, 212, 0.12),
    rgba(245, 158, 11, 0.22)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.taxlearn-puzzle-tile:hover::before {
  opacity: 1;
}

/* =========================================================
       GALERÍA · 3D EXPAND CARDS MÁS WOW
    ========================================================= */

.gallery-responsive {
  perspective: 1400px;
  transform-style: preserve-3d;
  gap: 14px !important;
}

.gallery-card {
  transform-style: preserve-3d;
  overflow: hidden;
  transition:
    flex 0.72s var(--predial-ease-3d),
    transform 0.42s var(--predial-ease-3d),
    filter 0.42s ease,
    box-shadow 0.42s ease !important;
}

.gallery-card:hover {
  transform: translateY(-14px) rotateX(3deg) rotateY(var(--gallery-ry, 0deg))
    scale(1.015) !important;
  box-shadow:
    0 44px 105px rgba(15, 23, 42, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.22) inset !important;
}

.gallery-card::after {
  z-index: 6;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.36) 48%,
    transparent 72%
  ) !important;
}

.gallery-card .absolute.bottom-0 {
  transform: translateZ(44px) translateY(2rem);
}

.gallery-card:hover .absolute.bottom-0 {
  transform: translateZ(58px) translateY(0) !important;
}

.gallery-card .absolute.top-5 {
  transform: translateZ(46px);
}

.gallery-card button {
  box-shadow: 0 18px 40px rgba(255, 255, 255, 0.16);
}

/* =========================================================
       ¿QUÉ PASA SI NO PAGO? · CARDS MÁS PREMIUM
    ========================================================= */

.predial-benefit-card {
  isolation: isolate;
  transform-style: preserve-3d;
  min-height: 250px;
  border-radius: 34px !important;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.94),
    rgba(255, 247, 237, 0.74)
  ) !important;
  border: 1px solid rgba(255, 255, 255, 0.96) !important;
  box-shadow:
    0 30px 85px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  will-change: transform;
}

.predial-benefit-card:nth-child(2) {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.94),
    rgba(239, 246, 255, 0.78)
  ) !important;
}

.predial-benefit-card:nth-child(3) {
  min-height: 190px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.96),
    rgba(255, 247, 237, 0.82),
    rgba(239, 246, 255, 0.74)
  ) !important;
}

.predial-benefit-card::before {
  opacity: 1 !important;
  background: linear-gradient(
    135deg,
    rgba(244, 140, 6, 0.38),
    rgba(37, 99, 235, 0.22),
    rgba(6, 182, 212, 0.22)
  ) !important;
}

.predial-benefit-card::after {
  width: 230px !important;
  height: 230px !important;
  right: -115px !important;
  top: -115px !important;
  background: radial-gradient(
    circle,
    rgba(244, 140, 6, 0.3),
    rgba(37, 99, 235, 0.1),
    transparent 70%
  ) !important;
}

.predial-benefit-card .predial-card-content,
.predial-benefit-card .w-14,
.predial-benefit-card .w-16,
.predial-benefit-card h3,
.predial-benefit-card p {
  transform: translateZ(32px);
}

.predial-benefit-card:hover {
  transform: translateY(-12px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg))
    scale(1.018) !important;
}

.predial-benefit-card .predial-card-character {
  filter: drop-shadow(0 24px 34px rgba(15, 23, 42, 0.24))
    drop-shadow(0 0 24px rgba(244, 140, 6, 0.16));
}

/* =========================================================
       OPINIÓN / TESTIMONIOS · POSTER GLASS 3D
    ========================================================= */

.predial-opinion-section {
  background:
    radial-gradient(
      circle at 15% 15%,
      rgba(37, 99, 235, 0.11),
      transparent 32%
    ),
    radial-gradient(
      circle at 86% 70%,
      rgba(245, 158, 11, 0.12),
      transparent 32%
    ),
    linear-gradient(180deg, #fff 0%, #f6f9ff 50%, #fff 100%) !important;
}

.predial-testimonial-wrap {
  perspective: 1400px;
}

.predial-testimonial-card {
  transform-style: preserve-3d;
  border-radius: 38px !important;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.93),
    rgba(239, 246, 255, 0.78)
  ) !important;
  border: 1px solid rgba(255, 255, 255, 0.95) !important;
  box-shadow:
    0 34px 95px rgba(15, 23, 42, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
}

.predial-testimonial-card.active {
  transform: translateY(0) rotateY(-5deg) scale(1) !important;
}

.predial-testimonial-card.active:hover {
  transform: translateY(-10px) rotateY(-2deg) scale(1.018) !important;
}

.predial-testimonial-photo,
.predial-testimonial-info,
.predial-testimonial-card p,
.predial-quote-icon {
  transform: translateZ(34px);
}

.predial-opinion-visual {
  transform-style: preserve-3d;
}

.predial-opinion-visual video,
.predial-opinion-visual img {
  filter: drop-shadow(0 40px 60px rgba(15, 23, 42, 0.24))
    drop-shadow(0 0 35px rgba(37, 99, 235, 0.12));
}

/* =========================================================
       EFECTOS DE ENTRADA MÁS FINOS
    ========================================================= */

.taxlearn-card,
.predial-benefit-card,
.gallery-card,
.predial-testimonial-card,
.taxlearn-visual-card,
.predial-opinion-visual {
  will-change: transform;
}

.predial-reveal-3d {
  animation: predialReveal3D 0.8s var(--predial-ease-3d) both;
}

@keyframes predialReveal3D {
  from {
    opacity: 0;
    transform: translateY(28px) rotateX(8deg) scale(0.96);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotateX(0) scale(1);
    filter: blur(0);
  }
}

/* =========================================================
       RESPONSIVE V2
    ========================================================= */

@media (max-width: 1100px) {
  .taxlearn-container {
    max-width: 920px !important;
  }

  .taxlearn-copy {
    text-align: left !important;
    margin-left: 0 !important;
  }

  .taxlearn-description,
  .taxlearn-info-panel,
  .taxlearn-cards {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 768px) {
  .predial-cinematic-hero::after {
    inset: 16px;
    border-radius: 28px;
  }

  .gallery-responsive {
    perspective: none;
  }

  .gallery-card:hover,
  .predial-benefit-card:hover,
  .taxlearn-card:hover,
  .predial-testimonial-card.active:hover {
    transform: translateY(-6px) scale(1.01) !important;
  }

  .taxlearn-card,
  .predial-benefit-card {
    min-height: auto !important;
  }
}

/* ==========================================================
   12. Ajuste final: sin espacios entre secciones
   Origen: bloque <style> #12
========================================================== */
/* =====================================================
       MEJORA VISUAL FINAL - CÓDIGO COMPLETO CORREGIDO
       No cambia tu estructura, solo refuerza diseño y responsive.
    ===================================================== */

:root {
  --pv-blue: #0b5cff;
  --pv-blue-dark: #071a52;
  --pv-cyan: #06b6d4;
  --pv-orange: #f97316;
  --pv-yellow: #facc15;
  --pv-text: #0f172a;
  --pv-muted: #64748b;
  --pv-radius: 32px;
  --pv-shadow: 0 28px 80px rgba(15, 23, 42, 0.14);
  --pv-shadow-hover: 0 38px 110px rgba(15, 23, 42, 0.2);
  --pv-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.predial-cinematic-hero {
  isolation: isolate;
  background:
    radial-gradient(circle at 12% 18%, rgba(37, 99, 235, 0.5), transparent 34%),
    radial-gradient(
      circle at 84% 20%,
      rgba(250, 204, 21, 0.34),
      transparent 30%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(6, 182, 212, 0.22),
      transparent 34%
    ),
    linear-gradient(135deg, #020617 0%, #06143d 48%, #020617 100%) !important;
}

.predial-cinematic-hero::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 42%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.1), transparent 35%);
  pointer-events: none;
  z-index: 3;
}

.hero-title {
  text-shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
  letter-spacing: -0.085em;
}

.hero-title span:first-of-type {
  filter: drop-shadow(0 18px 30px rgba(6, 182, 212, 0.22));
}

.predial-cinematic-hero a {
  position: relative;
  isolation: isolate;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.22);
}

.predial-cinematic-hero a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.45) 45%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform 0.8s var(--pv-ease);
  z-index: -1;
}

.predial-cinematic-hero a:hover::after {
  transform: translateX(120%);
}

#girl {
  transition: transform 0.35s var(--pv-ease);
}

#girl:hover {
  transform: translateY(-8px) scale(1.015);
}

#girl video {
  filter: drop-shadow(0 38px 55px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 45px rgba(59, 130, 246, 0.18));
}

.predial-count-banner {
  position: relative;
  z-index: 5;
  margin-top: -8px;
  background: #fff;
}

.predial-count-card {
  border-radius: 0 0 0 34px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95),
    rgba(239, 246, 255, 0.86)
  );
  border-left: 1px solid rgba(37, 99, 235, 0.1);
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.07);
}

.predial-heart {
  animation: pvHeartBeat 2.4s ease-in-out infinite;
}

@keyframes pvHeartBeat {
  0%,
  100% {
    transform: rotate(-8deg) scale(1);
  }

  50% {
    transform: rotate(-8deg) scale(1.12);
  }
}

.taxlearn-section {
  background:
    radial-gradient(
      circle at 14% 18%,
      rgba(37, 99, 235, 0.13),
      transparent 32%
    ),
    radial-gradient(
      circle at 86% 18%,
      rgba(249, 115, 22, 0.13),
      transparent 30%
    ),
    linear-gradient(180deg, #ffffff 0%, #f3f8ff 50%, #ffffff 100%) !important;
}

.taxlearn-badge,
.taxlearn-info-panel,
.taxlearn-card,
.taxlearn-visual-card,
.predial-benefit-card,
.predial-testimonial-card {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.taxlearn-title {
  text-wrap: balance;
}

.taxlearn-title strong {
  background: linear-gradient(90deg, var(--pv-blue), var(--pv-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  filter: drop-shadow(0 16px 22px rgba(37, 99, 235, 0.14));
}

.taxlearn-info-panel {
  border-radius: 30px !important;
  box-shadow: var(--pv-shadow) !important;
  transition:
    transform 0.35s var(--pv-ease),
    box-shadow 0.35s var(--pv-ease);
}

.taxlearn-info-panel:hover {
  transform: translateY(-5px);
  box-shadow: var(--pv-shadow-hover) !important;
}

.taxlearn-card {
  border-radius: 30px !important;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.94),
    rgba(239, 246, 255, 0.78)
  ) !important;
  border: 1px solid rgba(37, 99, 235, 0.12) !important;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08) !important;
  transition:
    transform 0.35s var(--pv-ease),
    box-shadow 0.35s var(--pv-ease),
    border-color 0.35s var(--pv-ease);
}

.taxlearn-card:hover {
  transform: translateY(-10px) scale(1.015);
  border-color: rgba(37, 99, 235, 0.28) !important;
  box-shadow: 0 34px 90px rgba(37, 99, 235, 0.16) !important;
}

.taxlearn-card-icon {
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.13);
  transition: transform 0.35s var(--pv-ease);
}

.taxlearn-card:hover .taxlearn-card-icon {
  transform: rotate(-6deg) scale(1.08);
}

.taxlearn-visual-card {
  border-radius: 42px !important;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.96),
    rgba(239, 246, 255, 0.8)
  ) !important;
  box-shadow: 0 42px 120px rgba(15, 23, 42, 0.15) !important;
}

.taxlearn-puzzle-stage {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -25px 60px rgba(37, 99, 235, 0.08);
}

.taxlearn-puzzle-tile {
  transition:
    transform 0.35s var(--pv-ease),
    box-shadow 0.35s var(--pv-ease),
    filter 0.35s var(--pv-ease) !important;
}

.taxlearn-puzzle-tile:hover {
  filter: saturate(1.1) contrast(1.03);
}

#ayuda-predial {
  background:
    radial-gradient(circle at 12% 16%, rgba(37, 99, 235, 0.1), transparent 30%),
    radial-gradient(
      circle at 90% 18%,
      rgba(6, 182, 212, 0.12),
      transparent 28%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
}

.gallery-responsive {
  padding: 12px;
  border-radius: 42px !important;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 32px 95px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.gallery-card {
  border-radius: 34px !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.18) !important;
  transform: translateZ(0);
  isolation: isolate;
}

.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background:
    radial-gradient(
      circle at 50% 12%,
      rgba(255, 255, 255, 0.22),
      transparent 35%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.08) 0%,
      rgba(0, 0, 0, 0.28) 42%,
      rgba(0, 0, 0, 0.88) 100%
    );
  pointer-events: none;
}

.gallery-card:hover {
  transform: translateY(-8px);
}

.gallery-card .predial-card-character {
  transition:
    transform 0.75s var(--pv-ease),
    filter 0.75s var(--pv-ease) !important;
}

.gallery-card:hover .predial-card-character {
  transform: scale(1.08) !important;
  filter: saturate(1.12) contrast(1.05) brightness(1.04) !important;
}

.gallery-card h3 {
  text-shadow: 0 12px 25px rgba(0, 0, 0, 0.36);
  letter-spacing: -0.045em;
}

.gallery-card button {
  box-shadow: 0 14px 34px rgba(255, 255, 255, 0.14);
  transition:
    transform 0.28s var(--pv-ease),
    box-shadow 0.28s var(--pv-ease);
}

.gallery-card button:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 18px 42px rgba(255, 255, 255, 0.22);
}

.predial-media-wrap {
  filter: drop-shadow(0 34px 70px rgba(15, 23, 42, 0.12));
}

.predial-video-frame {
  transition:
    transform 0.35s var(--pv-ease),
    box-shadow 0.35s var(--pv-ease);
}

.predial-video-frame:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 42px 95px rgba(15, 23, 42, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.predial-mini-badge {
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.13) !important;
}

.predial-benefit-card {
  border-radius: 32px !important;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.95),
    rgba(248, 250, 252, 0.86)
  ) !important;
  border: 1px solid rgba(226, 232, 240, 0.85) !important;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.09) !important;
  transition:
    transform 0.32s var(--pv-ease),
    box-shadow 0.32s var(--pv-ease),
    border-color 0.32s var(--pv-ease);
}

.predial-benefit-card:hover {
  transform: translateY(-9px) scale(1.012);
  border-color: rgba(37, 99, 235, 0.22) !important;
  box-shadow: 0 34px 95px rgba(15, 23, 42, 0.15) !important;
}

.predial-benefit-card h3 {
  letter-spacing: -0.04em;
}

.predial-opinion-section {
  background:
    radial-gradient(
      circle at 16% 16%,
      rgba(37, 99, 235, 0.14),
      transparent 32%
    ),
    radial-gradient(
      circle at 86% 24%,
      rgba(6, 182, 212, 0.13),
      transparent 30%
    ),
    radial-gradient(
      circle at 50% 92%,
      rgba(249, 115, 22, 0.12),
      transparent 34%
    ),
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 48%, #ffffff 100%) !important;
}

.predial-testimonial-card {
  border-radius: 38px !important;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.94),
    rgba(255, 255, 255, 0.76)
  ) !important;
  border: 1px solid rgba(255, 255, 255, 0.92) !important;
  box-shadow:
    0 38px 105px rgba(15, 23, 42, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
}

.predial-testimonial-card.active:hover {
  transform: translateY(-8px) scale(1.012);
  box-shadow:
    0 48px 125px rgba(15, 23, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.96) !important;
}

.predial-testimonial-photo {
  box-shadow:
    0 28px 70px rgba(15, 23, 42, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.9);
}

.predial-floating-label {
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12) !important;
  transition: transform 0.3s var(--pv-ease);
}

.predial-floating-label:hover {
  transform: translateY(-6px);
}

.predial-opinion-visual video {
  filter: drop-shadow(0 40px 65px rgba(15, 23, 42, 0.24))
    drop-shadow(0 0 45px rgba(37, 99, 235, 0.13));
}

@media (max-width: 1100px) {
  .taxlearn-container {
    grid-template-columns: 1fr !important;
    gap: 58px !important;
  }

  .taxlearn-copy {
    max-width: 780px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .gallery-responsive {
    height: auto !important;
  }
}

@media (max-width: 768px) {
  .predial-cinematic-hero::before {
    inset: 12px;
    border-radius: 28px;
  }

  .predial-cinematic-hero > .relative.z-20 {
    padding-top: 110px !important;
  }

  .hero-title {
    letter-spacing: -0.065em;
  }

  .predial-count-card {
    margin-left: auto !important;
    margin-right: auto !important;
    border-radius: 26px !important;
  }

  .gallery-responsive {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    gap: 18px !important;
  }

  .gallery-card {
    min-height: 290px;
    border-radius: 28px !important;
  }

  .gallery-card:hover {
    height: 390px !important;
  }

  .taxlearn-card,
  .predial-benefit-card {
    border-radius: 26px !important;
  }

  .taxlearn-visual-card {
    border-radius: 30px !important;
  }

  .predial-testimonial-card.active:hover,
  .predial-benefit-card:hover,
  .taxlearn-card:hover,
  .gallery-card:hover {
    transform: translateY(-5px) scale(1.005);
  }
}

@media (max-width: 480px) {
  .gallery-card {
    min-height: 270px;
  }

  .gallery-card h3 {
    font-size: 1.55rem !important;
  }

  .predial-testimonial-card {
    border-radius: 28px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================
   13. Corrección final premium de continuidad visual
   Origen: bloque <style> #13
========================================================== */
/* =====================================================
       AJUSTE FINAL: SIN ESPACIOS ENTRE SECCIONES
       Mantiene el diseño, pero elimina huecos/márgenes externos
    ===================================================== */

/* Quita márgenes externos que generan huecos entre bloques */
section,
.predial-cinematic-hero,
.predial-count-banner,
.taxlearn-section,
#ayuda-predial,
.predial-offer-pro,
.predial-support-section,
.predial-opinion-section {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

section + section {
  margin-top: 0 !important;
}

/* Este bloque tenía mt-40; aquí queda pegado al anterior */
section.relative.mt-40,
section.relative.mt-0 {
  margin-top: 0 !important;
  padding-top: clamp(52px, 5vw, 78px) !important;
  padding-bottom: clamp(52px, 5vw, 78px) !important;
}

/* Banner pegado al hero, sin separación blanca */
.predial-count-banner {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.predial-count-card {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Secciones principales: menos aire vertical, pero sin aplastar contenido */
.taxlearn-section {
  padding-top: clamp(64px, 6vw, 92px) !important;
  padding-bottom: clamp(64px, 6vw, 92px) !important;
}

#ayuda-predial {
  padding-top: clamp(64px, 6vw, 90px) !important;
  padding-bottom: clamp(64px, 6vw, 90px) !important;
}

.predial-offer-pro {
  padding-top: clamp(62px, 6vw, 88px) !important;
  padding-bottom: clamp(62px, 6vw, 88px) !important;
}

.predial-support-section,
.predial-opinion-section {
  padding-top: clamp(66px, 6vw, 94px) !important;
  padding-bottom: clamp(66px, 6vw, 94px) !important;
}

/* Evita espacios por títulos/contenedores al inicio o final */
section > :first-child,
section .taxlearn-container:first-child,
section .predial-support-container:first-child,
section .predial-opinion-container:first-child {
  margin-top: 0 !important;
}

section > :last-child,
section .taxlearn-cta-wrap:last-child,
section .predial-support-container:last-child,
section .predial-opinion-container:last-child {
  margin-bottom: 0 !important;
}

/* La ola del hero ya toca el siguiente bloque */
.predial-cinematic-hero .text-white.absolute.bottom-0 {
  bottom: -1px !important;
}

/* Ajustes responsive para que tampoco aparezcan huecos en móvil */
@media (max-width: 768px) {
  .taxlearn-section,
  #ayuda-predial,
  .predial-offer-pro,
  .predial-support-section,
  .predial-opinion-section,
  section.relative.mt-40,
  section.relative.mt-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 52px !important;
    padding-bottom: 52px !important;
  }

  .predial-count-banner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}

@media (max-width: 480px) {
  .taxlearn-section,
  #ayuda-predial,
  .predial-offer-pro,
  .predial-support-section,
  .predial-opinion-section,
  section.relative.mt-40,
  section.relative.mt-0 {
    padding-top: 44px !important;
    padding-bottom: 44px !important;
  }
}

/* ==========================================================
   14. Correcciones finales responsive e interacción
   Origen: bloque <style> #14
========================================================== */

:root {
  --pv-blue: #1559b7;
  --pv-blue-2: #1d4ed8;
  --pv-blue-3: #2f327d;
  --pv-cyan: #06b6d4;
  --pv-orange: #f48c06;
  --pv-amber: #facc15;
  --pv-green: #10b981;
  --pv-dark: #07111f;
  --pv-muted: #64748b;
  --pv-soft: #f5f8ff;
  --pv-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --pv-shadow: 0 34px 96px rgba(15, 23, 42, 0.13);
  --pv-shadow-blue: 0 28px 82px rgba(37, 99, 235, 0.22);
}

html,
body {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  scroll-behavior: smooth;
}

body {
  background: #fff;
}

section {
  position: relative;
}

/* ---------------- HERO ---------------- */
.predial-cinematic-hero {
  isolation: isolate;
  background:
    radial-gradient(
      circle at 14% 18%,
      rgba(37, 99, 235, 0.45),
      transparent 34%
    ),
    radial-gradient(
      circle at 88% 18%,
      rgba(250, 204, 21, 0.26),
      transparent 30%
    ),
    radial-gradient(circle at 50% 86%, rgba(6, 182, 212, 0.2), transparent 36%),
    linear-gradient(180deg, #020617 0%, #081326 56%, #0f172a 100%) !important;
}

.predial-cinematic-hero::before {
  content: "";
  position: absolute;
  inset: 20px;
  z-index: 1;
  border-radius: 46px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

.predial-cinematic-hero .hero-title {
  letter-spacing: -0.075em !important;
  line-height: 0.86 !important;
  text-wrap: balance;
  text-shadow: 0 34px 90px rgba(0, 0, 0, 0.32);
}

.predial-cinematic-hero p {
  text-wrap: pretty;
}

.predial-cinematic-hero #girl > div {
  transform-style: preserve-3d;
}

.predial-cinematic-hero video {
  filter: drop-shadow(0 42px 52px rgba(0, 0, 0, 0.58))
    drop-shadow(0 0 48px rgba(37, 99, 235, 0.16));
}

/* ---------------- BANNER ---------------- */
.predial-count-banner {
  z-index: 30;
  padding: 0 18px !important;
  background: transparent !important;
  transform: translateY(-34px);
}

.predial-count-card {
  width: min(1120px, 100%) !important;
  min-height: auto !important;
  margin: 0 auto !important;
  padding: 22px 28px !important;
  border-radius: 30px !important;
  background:
    radial-gradient(circle at 90% 0%, rgba(37, 99, 235, 0.12), transparent 34%),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.98),
      rgba(239, 246, 255, 0.84)
    ) !important;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(18px);
}

.predial-count-icon {
  width: 64px !important;
  height: 64px !important;
  flex: 0 0 64px !important;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--pv-blue-2), var(--pv-cyan));
  color: #fff;
  font-size: 30px;
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.26);
}

.predial-count-text h3 {
  color: var(--pv-dark) !important;
  font-size: clamp(25px, 3vw, 36px) !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: -0.05em !important;
}

.predial-count-text p {
  max-width: 520px;
  color: var(--pv-muted) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.predial-sign-text {
  color: var(--pv-blue) !important;
  text-shadow: 0 14px 30px rgba(21, 89, 183, 0.12);
}

/* ---------------- SECCIÓN IMPUESTOS ---------------- */
.taxlearn-section {
  padding-top: clamp(72px, 7vw, 108px) !important;
  padding-bottom: clamp(72px, 7vw, 108px) !important;
  margin-top: -34px !important;
  background:
    radial-gradient(
      circle at 16% 18%,
      rgba(37, 99, 235, 0.13),
      transparent 34%
    ),
    radial-gradient(
      circle at 86% 14%,
      rgba(250, 204, 21, 0.13),
      transparent 32%
    ),
    radial-gradient(
      circle at 50% 95%,
      rgba(6, 182, 212, 0.12),
      transparent 34%
    ),
    linear-gradient(180deg, #ffffff 0%, #f4f8ff 48%, #ffffff 100%) !important;
}

.taxlearn-container {
  width: min(1240px, calc(100% - 32px)) !important;
  gap: clamp(46px, 6vw, 82px) !important;
}

.taxlearn-title,
.taxlearn-visual-header h3,
.predial-offer-pro__discount,
.predial-support-title,
.predial-opinion-title {
  letter-spacing: -0.065em !important;
  text-wrap: balance;
}

.taxlearn-description,
.taxlearn-info-panel p,
.taxlearn-card p,
.predial-support-text,
.predial-opinion-text {
  text-wrap: pretty;
}

.taxlearn-info-panel,
.taxlearn-card,
.taxlearn-visual-card,
.predial-benefit-card,
.predial-testimonial-card,
.predial-opinion-visual {
  border-color: rgba(255, 255, 255, 0.88) !important;
  box-shadow: var(--pv-shadow) !important;
}

.taxlearn-card {
  min-height: 178px !important;
  transform: translateY(0);
}

.taxlearn-card::after,
.predial-benefit-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent,
    rgba(255, 255, 255, 0.58),
    transparent
  );
  transform: translateX(-130%);
  transition: transform 0.75s var(--pv-ease);
  pointer-events: none;
}

.taxlearn-card:hover::after,
.predial-benefit-card:hover::after {
  transform: translateX(130%);
}

.taxlearn-card:hover,
.predial-benefit-card:hover,
.predial-testimonial-card.active:hover {
  transform: translateY(-8px) scale(1.012) !important;
  box-shadow: 0 42px 110px rgba(37, 99, 235, 0.16) !important;
}

.taxlearn-puzzle-stage {
  min-height: clamp(380px, 44vw, 560px) !important;
}

.taxlearn-puzzle-grid {
  transform-style: preserve-3d;
}

/* ---------------- GALERÍA BENEFICIOS ---------------- */
#ayuda-predial {
  padding-top: clamp(74px, 7vw, 108px) !important;
  padding-bottom: clamp(74px, 7vw, 108px) !important;
  background:
    radial-gradient(circle at 12% 8%, rgba(37, 99, 235, 0.15), transparent 32%),
    radial-gradient(
      circle at 92% 88%,
      rgba(6, 182, 212, 0.16),
      transparent 34%
    ),
    linear-gradient(180deg, #fff 0%, #f8fbff 100%) !important;
}

.gallery-responsive {
  width: min(1240px, 100%) !important;
  margin: 0 auto !important;
  height: min(540px, 55vw) !important;
  min-height: 430px;
  gap: 18px !important;
  overflow: hidden !important;
  border-radius: 34px !important;
  perspective: 1100px;
}

.gallery-card {
  border-radius: 34px !important;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.18) !important;
  transition:
    flex 0.75s var(--pv-ease),
    transform 0.35s var(--pv-ease),
    box-shadow 0.35s var(--pv-ease),
    filter 0.35s ease !important;
}

.gallery-card:hover {
  transform: translateY(-8px) rotateX(1deg) !important;
  box-shadow: 0 40px 110px rgba(15, 23, 42, 0.26) !important;
}

.gallery-card .predial-card-character {
  transition:
    transform 0.9s var(--pv-ease),
    filter 0.45s ease !important;
}

.gallery-card:hover .predial-card-character {
  transform: scale(1.08) !important;
  filter: saturate(1.08) contrast(1.04) !important;
}

.gallery-card .absolute.inset-0 {
  background:
    linear-gradient(
      to top,
      rgba(2, 6, 23, 0.94),
      rgba(2, 6, 23, 0.34),
      transparent 72%
    ),
    radial-gradient(circle at 30% 90%, rgba(37, 99, 235, 0.28), transparent 44%) !important;
  z-index: 2;
}

.gallery-card .absolute.bottom-0 {
  z-index: 8 !important;
}

.gallery-card h3 {
  letter-spacing: -0.05em;
  line-height: 1 !important;
  text-shadow: 0 18px 32px rgba(0, 0, 0, 0.28);
}

.gallery-card button {
  box-shadow: 0 16px 34px rgba(255, 255, 255, 0.14);
}

/* ---------------- SECCIÓN VIDEO ---------------- */
section.relative.mt-0.overflow-hidden.px-4 {
  padding-top: clamp(76px, 7vw, 110px) !important;
  padding-bottom: clamp(76px, 7vw, 110px) !important;
  background:
    radial-gradient(
      circle at 8% 12%,
      rgba(52, 211, 153, 0.12),
      transparent 30%
    ),
    radial-gradient(
      circle at 92% 86%,
      rgba(91, 97, 235, 0.13),
      transparent 34%
    ),
    linear-gradient(180deg, #ffffff 0%, #f6f9ff 54%, #ffffff 100%) !important;
}

.predial-media-wrap {
  max-width: 560px;
  margin-inline: auto;
}

.predial-video-frame:hover .predial-video-float {
  transform: translateY(-12px) scale(1.045) rotate(-1deg) !important;
}

.predial-benefit-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.95),
    rgba(239, 246, 255, 0.78)
  ) !important;
  backdrop-filter: blur(18px);
}

.predial-benefit-card h3 {
  color: #0f172a;
  font-weight: 950 !important;
  letter-spacing: -0.045em;
}

/* ---------------- PAE / MODAL ---------------- */
#paeModal {
  backdrop-filter: blur(8px);
}

body.predial-modal-open > *:not(#paeModal) {
  pointer-events: none !important;
  user-select: none !important;
}

.animate-paeModal {
  animation: paeModalIn 0.35s var(--pv-ease) both !important;
}

#paeModal .bg-gradient-to-r.from-orange-500,
#paeModal .bg-gradient-to-r.from-orange-500.to-amber-400 {
  background: linear-gradient(90deg, #f97316, #f59e0b, #facc15) !important;
}

#paeModal .rounded-\[2rem\] {
  border-radius: 34px !important;
}

/* ---------------- PAGO PREDIAL ---------------- */
.predial-offer-pro {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  min-height: clamp(500px, 56vw, 680px) !important;
  background-position: center left !important;
}

.predial-offer-pro::after {
  content: "";
  position: absolute;
  inset: 24px;
  z-index: 2;
  border-radius: 42px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.predial-offer-pro__content {
  border-radius: 38px !important;
  box-shadow: 0 38px 105px rgba(15, 23, 42, 0.16) !important;
  backdrop-filter: blur(18px);
}

.predial-offer-btn-link {
  transition:
    transform 0.3s var(--pv-ease),
    box-shadow 0.3s ease !important;
}

.predial-offer-btn-link:hover {
  transform: translateY(-4px) scale(1.02);
}

/* ---------------- SECCIONES FINALES ---------------- */
.predial-support-section,
.predial-opinion-section,
.predial-ending-strip {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.predial-support-section {
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(37, 99, 235, 0.13),
      transparent 32%
    ),
    radial-gradient(
      circle at 88% 30%,
      rgba(249, 115, 22, 0.13),
      transparent 32%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
}

.predial-opinion-section {
  background:
    radial-gradient(
      circle at 16% 16%,
      rgba(37, 99, 235, 0.14),
      transparent 32%
    ),
    radial-gradient(
      circle at 86% 24%,
      rgba(6, 182, 212, 0.13),
      transparent 30%
    ),
    radial-gradient(
      circle at 50% 92%,
      rgba(249, 115, 22, 0.12),
      transparent 34%
    ),
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 48%, #ffffff 100%) !important;
}

.predial-floating-label {
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12) !important;
  transition: transform 0.3s var(--pv-ease) !important;
}

.predial-floating-label:hover {
  transform: translateY(-6px);
}

.predial-opinion-visual video {
  filter: drop-shadow(0 40px 65px rgba(15, 23, 42, 0.24))
    drop-shadow(0 0 45px rgba(37, 99, 235, 0.13));
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1100px) {
  .taxlearn-container {
    grid-template-columns: 1fr !important;
    max-width: 920px !important;
  }

  .taxlearn-copy {
    max-width: 780px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .taxlearn-description,
  .taxlearn-info-panel,
  .taxlearn-cards {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .taxlearn-info-panel {
    text-align: left !important;
  }

  .gallery-responsive {
    height: auto !important;
    min-height: 0 !important;
  }
}

@media (max-width: 768px) {
  .predial-cinematic-hero::before {
    inset: 12px;
    border-radius: 28px;
  }

  .predial-cinematic-hero > .relative.z-20 {
    padding-top: 92px !important;
    padding-bottom: 96px !important;
  }

  .hero-title {
    font-size: clamp(48px, 15vw, 72px) !important;
  }

  .predial-count-banner {
    transform: translateY(-22px);
  }

  .predial-count-card {
    flex-direction: column;
    padding: 24px 18px !important;
    text-align: center;
    gap: 20px !important;
  }

  .predial-count-left {
    flex-direction: column;
    gap: 12px !important;
  }

  .taxlearn-card,
  .predial-benefit-card {
    min-height: auto !important;
  }

  .gallery-responsive {
    flex-direction: column !important;
    overflow: visible !important;
    border-radius: 0 !important;
  }

  .gallery-card {
    width: 100% !important;
    min-height: 300px !important;
    height: 300px !important;
    flex: none !important;
  }

  .gallery-card:hover {
    height: 370px !important;
    transform: translateY(-6px) scale(1.01) !important;
  }

  .taxlearn-puzzle-stage {
    min-height: 360px !important;
  }

  .taxlearn-puzzle-grid {
    width: min(320px, 92%) !important;
    gap: 8px !important;
  }

  .taxlearn-floating-note {
    display: none !important;
  }

  .predial-offer-pro {
    min-height: auto !important;
    padding: 64px 18px !important;
    justify-content: center !important;
    background-position: center !important;
  }

  .predial-offer-pro__content {
    width: min(100%, 520px) !important;
  }
}

@media (max-width: 480px) {
  .gallery-card {
    min-height: 280px !important;
    height: 280px !important;
  }

  .gallery-card h3 {
    font-size: 1.55rem !important;
  }

  .predial-count-sign {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================
   15. Animación reveal final
   Origen: bloque <style> #15
========================================================== */
.predial-reveal-final {
  animation: predialRevealFinal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: var(--reveal-delay, 0ms);
}

@keyframes predialRevealFinal {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.965);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* ==========================================================
   16. Patch anti espacios vacíos en pantallas grandes
   Origen: bloque <style> #16
========================================================== */
/* ==========================================================
   PATCH FINAL: ANTI-ESPACIOS VACÍOS EN PANTALLAS GRANDES
   Pégalo al final de tu CSS o déjalo al final del archivo PHP.
   ========================================================== */

/* Quita saltos sueltos que estaban generando espacios entre secciones */
.predial-offer-pro + br,
.predial-offer-pro + br + br {
  display: none !important;
}

/* Hace que las secciones usen mejor el ancho disponible */
.predial-cinematic-hero > .relative.z-20,
.taxlearn-container,
#ayuda-predial > .relative.z-10,
section.relative.mt-0.overflow-hidden.px-4 > .md\:flex,
.predial-support-container,
.predial-opinion-container,
.predial-ending-container {
  width: min(94vw, 1880px) !important;
  max-width: 1880px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Fondo general con más cuerpo visual */
.taxlearn-section,
#ayuda-predial,
section.relative.mt-0.overflow-hidden.px-4,
.predial-support-section,
.predial-opinion-section,
.predial-ending-strip {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
}

.taxlearn-section::after,
#ayuda-predial::after,
section.relative.mt-0.overflow-hidden.px-4::after,
.predial-support-section::after,
.predial-opinion-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 78%);
  opacity: 0.75;
}

/* =========================================
   BENEFICIOS: la sección que se veía vacía
   ========================================= */

#ayuda-predial {
  padding-top: clamp(90px, 7vw, 145px) !important;
  padding-bottom: clamp(95px, 7vw, 155px) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background:
    radial-gradient(circle at 7% 18%, rgba(37, 99, 235, 0.18), transparent 28%),
    radial-gradient(
      circle at 92% 72%,
      rgba(6, 182, 212, 0.22),
      transparent 30%
    ),
    radial-gradient(
      circle at 74% 18%,
      rgba(250, 204, 21, 0.13),
      transparent 24%
    ),
    linear-gradient(180deg, #ffffff 0%, #f4f9ff 48%, #ffffff 100%) !important;
}

.gallery-card {
  border-radius: 34px !important;
  min-width: 0 !important;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.18) !important;
}

.gallery-card:hover {
  flex: 2.45 !important;
}

.gallery-card h3 {
  font-size: clamp(28px, 2vw, 44px) !important;
  line-height: 0.94 !important;
}

.gallery-card p {
  font-size: clamp(14px, 0.9vw, 17px) !important;
}

/* =========================================
   QUÉ ES IMPUESTO / PUZZLE
   ========================================= */

.taxlearn-section {
  padding-top: clamp(95px, 7vw, 145px) !important;
  padding-bottom: clamp(95px, 7vw, 145px) !important;
  background:
    radial-gradient(circle at 9% 20%, rgba(37, 99, 235, 0.15), transparent 32%),
    radial-gradient(
      circle at 92% 18%,
      rgba(250, 204, 21, 0.16),
      transparent 30%
    ),
    radial-gradient(
      circle at 52% 90%,
      rgba(6, 182, 212, 0.13),
      transparent 34%
    ),
    linear-gradient(180deg, #fff 0%, #f5f8ff 52%, #fff 100%) !important;
}

.taxlearn-container {
  grid-template-columns: minmax(560px, 0.9fr) minmax(680px, 1.1fr) !important;
  gap: clamp(70px, 6vw, 130px) !important;
}

.taxlearn-copy {
  max-width: 760px !important;
}

.taxlearn-description {
  max-width: 700px !important;
}

.taxlearn-visual-card {
  max-width: 850px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.taxlearn-puzzle-stage {
  min-height: clamp(560px, 34vw, 720px) !important;
}

/* =========================================
   BLOQUE VIDEO + INFORMACIÓN
   ========================================= */

section.relative.mt-0.overflow-hidden.px-4 {
  padding-top: clamp(90px, 7vw, 145px) !important;
  padding-bottom: clamp(90px, 7vw, 145px) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background:
    radial-gradient(circle at 8% 22%, rgba(6, 182, 212, 0.15), transparent 30%),
    radial-gradient(
      circle at 88% 75%,
      rgba(249, 115, 22, 0.13),
      transparent 32%
    ),
    linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%) !important;
}

section.relative.mt-0.overflow-hidden.px-4 > .md\:flex {
  gap: clamp(54px, 6vw, 128px) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.predial-media-wrap {
  max-width: 720px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* =========================================
   PAGO PREDIAL
   ========================================= */

.predial-offer-pro {
  min-height: clamp(560px, 38vw, 760px) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-left: clamp(32px, 7vw, 150px) !important;
  padding-right: clamp(32px, 7vw, 150px) !important;
}

.predial-offer-pro__content {
  width: min(680px, 100%) !important;
}

.predial-offer-pro::before {
  content: "Pago seguro\A consulta • verifica • regulariza";
  white-space: pre-line;
  position: absolute;
  left: clamp(28px, 6vw, 120px);
  bottom: clamp(32px, 6vw, 110px);
  z-index: 4;
  width: 270px;
  padding: 20px 22px;
  border-radius: 28px;
  color: #fff;
  background: rgba(15, 23, 42, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 28px 75px rgba(15, 23, 42, 0.24);
  backdrop-filter: blur(18px);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 900;
}

/* =========================================
   DESCUENTOS / APOYOS
   ========================================= */

.predial-support-section {
  padding-top: clamp(100px, 7vw, 150px) !important;
  padding-bottom: clamp(100px, 7vw, 150px) !important;
}

.predial-support-container {
  max-width: 1840px !important;
}

.predial-support-header {
  max-width: 1000px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.predial-support-layout {
  grid-template-columns: minmax(620px, 1fr) minmax(600px, 0.95fr) !important;
  gap: clamp(70px, 7vw, 150px) !important;
}

.predial-support-slider {
  min-height: clamp(520px, 34vw, 680px) !important;
}

.predial-support-card {
  width: min(720px, 100%) !important;
  min-height: 520px !important;
}

.predial-support-visual {
  min-height: clamp(520px, 36vw, 760px) !important;
}

/* =========================================
   OPINIÓN / CIERRE
   ========================================= */

.predial-opinion-section {
  padding-top: clamp(100px, 7vw, 150px) !important;
  padding-bottom: clamp(100px, 7vw, 150px) !important;
}

.predial-opinion-container {
  max-width: 1840px !important;
}

.predial-opinion-content {
  gap: clamp(70px, 7vw, 150px) !important;
}

.predial-ending-container {
  max-width: 1840px !important;
}

.predial-ending-track {
  grid-template-columns: repeat(4, minmax(240px, 1fr)) !important;
  gap: clamp(18px, 1.5vw, 32px) !important;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1300px) {
  #ayuda-predial::before,
  .predial-offer-pro::before {
    display: none !important;
  }

  .taxlearn-container,
  .predial-support-layout {
    grid-template-columns: 1fr !important;
  }

  .taxlearn-copy,
  .taxlearn-description {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .predial-support-card {
    position: relative !important;
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  .predial-cinematic-hero > .relative.z-20,
  .taxlearn-container,
  #ayuda-predial > .relative.z-10,
  section.relative.mt-0.overflow-hidden.px-4 > .md\:flex,
  .predial-support-container,
  .predial-opinion-container,
  .predial-ending-container {
    width: min(100% - 28px, 760px) !important;
  }

  .gallery-responsive {
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .gallery-card {
    height: 315px !important;
    min-height: 315px !important;
  }

  .gallery-card:hover {
    flex: none !important;
  }

  .predial-offer-pro {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .predial-support-layout,
  .predial-opinion-content,
  .predial-ending-track {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================
   17. UX final: navegación, accesibilidad, touch y modal
   Origen: bloque <style> #17
========================================================== */
:root {
  --predial-ux-blue: #1559d6;
  --predial-ux-blue-dark: #0f2f86;
  --predial-ux-cyan: #06b6d4;
  --predial-ux-gold: #f59e0b;
  --predial-ux-ink: #0f172a;
  --predial-ux-muted: #64748b;
  --predial-ux-soft: #eff6ff;
  --predial-ux-radius: 26px;
  --predial-ux-shadow: 0 24px 70px rgba(15, 23, 42, 0.16);
  --predial-ux-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  overflow-x: hidden;
}

/* Link accesible para saltar directo al contenido */
.predial-ux-skip {
  position: fixed;
  left: 18px;
  top: 14px;
  z-index: 99999;
  transform: translateY(-140%);
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  background: #0f172a;
  font-weight: 900;
  text-decoration: none;
  box-shadow: var(--predial-ux-shadow);
  transition: transform 0.25s var(--predial-ux-ease);
}

.predial-ux-skip:focus {
  transform: translateY(0);
  outline: 3px solid rgba(255, 255, 255, 0.85);
  outline-offset: 4px;
}

/* Barra de progreso de lectura */
.predial-ux-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 5px;
  z-index: 99990;
  pointer-events: none;
  background: rgba(15, 23, 42, 0.06);
}

.predial-ux-progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--predial-ux-blue),
    var(--predial-ux-cyan),
    var(--predial-ux-gold)
  );
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.55);
  transition: width 0.08s linear;
}

/* Navegación rápida flotante */
.predial-ux-dock {
  position: fixed;
  left: 18px;
  top: 50%;
  bottom: auto;
  z-index: 99980;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: min(240px, calc(100vw - 36px));
  padding: 14px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 65px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(18px);
}

.predial-ux-dock a,
.predial-ux-dock button {
  border: 0;
  cursor: pointer;
  white-space: normal;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 48px;
  width: 100%;
  padding: 0 16px;
  border-radius: 18px;
  color: #1e293b;
  background: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: -0.01em;
  transition:
    transform 0.25s var(--predial-ux-ease),
    background 0.25s var(--predial-ux-ease),
    color 0.25s var(--predial-ux-ease),
    box-shadow 0.25s var(--predial-ux-ease);
}

.predial-ux-dock a:hover,
.predial-ux-dock button:hover,
.predial-ux-dock a.is-active {
  transform: translateY(-2px);
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--predial-ux-blue),
    var(--predial-ux-cyan)
  );
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.28);
}

.predial-ux-toggle {
  border: 0;
  cursor: pointer;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 18px;
  color: #1e293b;
  background: rgba(248, 250, 252, 0.95);
  font-size: 16px;
  font-weight: 950;
  transition:
    transform 0.25s var(--predial-ux-ease),
    background 0.25s var(--predial-ux-ease),
    color 0.25s var(--predial-ux-ease),
    box-shadow 0.25s var(--predial-ux-ease);
}

.predial-ux-toggle:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 1);
}

.predial-ux-dock.is-collapsed {
  width: 72px;
  padding: 10px;
}

.predial-ux-dock.is-collapsed .predial-ux-link-label {
  display: none;
}

.predial-ux-dock.is-collapsed a,
.predial-ux-dock.is-collapsed button {
  justify-content: center;
  padding: 0;
}

.predial-ux-dock.is-collapsed .predial-ux-pay {
  width: 44px;
}

.predial-ux-dock a:focus-visible,
.predial-ux-dock button:focus-visible,
.gallery-card:focus-visible,
.taxlearn-card:focus-visible,
.predial-benefit-card:focus-visible,
.taxlearn-puzzle-tile:focus-visible,
.predial-ux-modal-close:focus-visible,
.predial-ux-modal-action:focus-visible {
  outline: 3px solid rgba(6, 182, 212, 0.55) !important;
  outline-offset: 4px !important;
}

.predial-ux-pay {
  color: #fff !important;
  background: linear-gradient(135deg, #0f2f86, #1559d6) !important;
  box-shadow: 0 15px 38px rgba(21, 89, 214, 0.3);
}

.predial-ux-top {
  width: 42px;
  padding: 0 !important;
  font-size: 18px !important;
}

/* Tip corto para que el usuario sepa qué hacer */
.predial-ux-tip {
  position: fixed;
  right: 18px;
  bottom: 86px;
  z-index: 99970;
  max-width: 310px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 15px;
  border-radius: 22px;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.14);
  backdrop-filter: blur(18px);
  transform: translateY(18px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.predial-ux-tip.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.predial-ux-tip-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--predial-ux-blue),
    var(--predial-ux-cyan)
  );
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.24);
}

.predial-ux-tip strong {
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
  font-weight: 950;
}

.predial-ux-tip span {
  display: block;
  color: #475569;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 650;
}

.predial-ux-tip button {
  margin-left: auto;
  border: 0;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  cursor: pointer;
  color: #334155;
  background: #f1f5f9;
  font-weight: 950;
}

/* Mejor lectura de textos largos */
.taxlearn-description,
.taxlearn-info-panel p,
.taxlearn-card p,
.predial-count-text p,
.predial-benefit-card p,
.predial-support-card p,
.predial-opinion-section p {
  text-wrap: pretty;
}

.taxlearn-title,
.hero-title,
.predial-count-text h3,
.taxlearn-card h3,
.predial-benefit-card h3,
.predial-support-card h3 {
  text-wrap: balance;
}

/* Las tarjetas ya no dependen solo del hover: también abren con click/touch */
.gallery-card,
.taxlearn-card,
.predial-benefit-card,
.taxlearn-puzzle-tile {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.gallery-card.is-ux-open {
  flex: 3 !important;
  box-shadow: 0 35px 90px rgba(15, 23, 42, 0.3) !important;
}

.gallery-card.is-ux-open [class*="translate-y-8"],
.gallery-card.is-ux-open [class*="translate-y-3"] {
  transform: translateY(0) !important;
}

.gallery-card.is-ux-open [class*="opacity-0"] {
  opacity: 1 !important;
}

.gallery-card.is-ux-open [class*="max-h-0"] {
  max-height: 120px !important;
  color: rgba(255, 255, 255, 0.92) !important;
}

.gallery-card button,
.taxlearn-btn,
.predial-offer-pro a,
.predial-support-card a {
  min-height: 44px;
}

.gallery-card button {
  position: relative;
  z-index: 20;
}

/* Modal de información */
.predial-ux-modal {
  position: fixed;
  inset: 0;
  z-index: 99995;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 6, 23, 0.62);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.predial-ux-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.predial-ux-modal-card {
  position: relative;
  width: min(560px, 100%);
  overflow: hidden;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.28);
  transform: translateY(18px) scale(0.96);
  transition: transform 0.25s var(--predial-ux-ease);
}

.predial-ux-modal.is-open .predial-ux-modal-card {
  transform: translateY(0) scale(1);
}

.predial-ux-modal-hero {
  min-height: 170px;
  padding: 24px;
  color: #fff;
  background:
    radial-gradient(
      circle at 18% 20%,
      rgba(255, 255, 255, 0.28),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      var(--predial-ux-blue-dark),
      var(--predial-ux-blue),
      var(--predial-ux-cyan)
    );
}

.predial-ux-modal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.predial-ux-modal h3 {
  margin: 18px 0 0;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -0.055em;
}

.predial-ux-modal-body {
  padding: 24px;
}

.predial-ux-modal-body p {
  margin: 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.75;
}

.predial-ux-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.predial-ux-modal-action,
.predial-ux-modal-close {
  min-height: 46px;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 950;
  text-decoration: none;
}

.predial-ux-modal-action {
  color: #fff;
  background: linear-gradient(
    135deg,
    var(--predial-ux-blue),
    var(--predial-ux-cyan)
  );
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.26);
}

.predial-ux-modal-close {
  color: #0f172a;
  background: #f1f5f9;
}

.predial-ux-modal-x {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 22px;
  font-weight: 900;
}

/* Estado visual de sección activa al navegar */
.predial-ux-section-active {
  position: relative;
}

.predial-ux-section-active::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 18px;
  z-index: 20;
  width: 78px;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--predial-ux-blue),
    var(--predial-ux-cyan)
  );
  box-shadow: 0 0 22px rgba(37, 99, 235, 0.36);
  pointer-events: none;
}

/* Mejor experiencia en celular: texto visible sin depender del hover */
@media (max-width: 768px) {
  body {
    padding-bottom: 74px;
  }

  .predial-ux-dock {
    top: auto;
    width: 72px;
    justify-content: flex-start;
    overflow-x: hidden;
    scrollbar-width: none;
    border-radius: 22px;
    bottom: 10px;
  }

  .predial-ux-dock::-webkit-scrollbar {
    display: none;
  }

  .predial-ux-dock a,
  .predial-ux-dock button {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 14px;
    font-size: 12px;
  }

  .predial-ux-tip {
    left: 12px;
    right: 12px;
    bottom: 76px;
    max-width: none;
  }

  .gallery-responsive {
    gap: 16px !important;
  }

  .gallery-card {
    height: auto !important;
    min-height: 330px !important;
    flex: none !important;
  }

  .gallery-card [class*="translate-y-8"],
  .gallery-card [class*="translate-y-3"] {
    transform: translateY(0) !important;
  }

  .gallery-card [class*="opacity-0"] {
    opacity: 1 !important;
  }

  .gallery-card [class*="max-h-0"] {
    max-height: 110px !important;
    color: rgba(255, 255, 255, 0.92) !important;
  }

  .gallery-card button {
    width: 100%;
    justify-content: center;
  }

  .gallery-responsive {
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
    flex-direction: column !important;
  }

  .gallery-card {
    flex: none !important;
    width: 100% !important;
    height: auto !important;
    min-height: 320px !important;
  }

  .gallery-card [class*="translate-y-8"],
  .gallery-card [class*="translate-y-3"] {
    transform: none !important;
  }

  .gallery-card [class*="opacity-0"] {
    opacity: 1 !important;
  }

  .gallery-card [class*="max-h-0"] {
    max-height: 160px !important;
  }

  .taxlearn-info-panel,
  .taxlearn-card,
  .predial-benefit-card {
    text-align: left !important;
  }

  .predial-ux-section-active::after {
    top: 10px;
    width: 52px;
  }
}

@media (max-width: 460px) {
  .predial-ux-modal-body,
  .predial-ux-modal-hero {
    padding: 20px;
  }

  .predial-ux-modal-actions {
    flex-direction: column;
  }

  .predial-ux-modal-action,
  .predial-ux-modal-close {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  .predial-ux-progress span,
  .predial-ux-dock a,
  .predial-ux-dock button,
  .predial-ux-tip,
  .predial-ux-modal,
  .predial-ux-modal-card {
    transition: none !important;
  }
}

/* ==========================================================
   18. Premium final por secciones
   Origen: bloque <style> #18
========================================================== */
:root {
  --pf-blue: #075eea;
  --pf-blue-2: #0ea5e9;
  --pf-cyan: #06b6d4;
  --pf-green: #22c55e;
  --pf-orange: #f97316;
  --pf-gold: #f59e0b;
  --pf-navy: #06142e;
  --pf-ink: #0f172a;
  --pf-muted: #64748b;
  --pf-soft: #f4f8ff;
  --pf-card: rgba(255, 255, 255, 0.86);
  --pf-border: rgba(14, 96, 234, 0.14);
  --pf-shadow: 0 30px 90px rgba(15, 23, 42, 0.11);
  --pf-shadow-strong: 0 42px 120px rgba(7, 94, 234, 0.18);
  --pf-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body.predial-secciones-final {
  background:
    radial-gradient(circle at 8% 8%, rgba(14, 165, 233, 0.08), transparent 25%),
    radial-gradient(
      circle at 92% 18%,
      rgba(245, 158, 11, 0.08),
      transparent 26%
    ),
    #ffffff;
  color: var(--pf-ink);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body.predial-secciones-final * {
  box-sizing: border-box;
}

.predial-final-section {
  position: relative !important;
  isolation: isolate;
}

.predial-section-badge {
  position: absolute;
  top: clamp(14px, 2.3vw, 30px);
  left: clamp(14px, 4vw, 58px);
  z-index: 55;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 28px);
  padding: 9px 14px;
  border-radius: 999px;
  color: #0b4fbc;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}

.predial-section-badge span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pf-blue), var(--pf-cyan));
  box-shadow: 0 0 0 7px rgba(14, 165, 233, 0.13);
  flex: 0 0 auto;
}

.predial-cinematic-hero .predial-section-badge {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.predial-cinematic-hero .predial-section-badge span {
  background: linear-gradient(135deg, #facc15, #22c55e);
  box-shadow: 0 0 0 7px rgba(250, 204, 21, 0.14);
}

/* ================= HERO FINAL ================= */
.predial-cinematic-hero {
  min-height: 100svh !important;
  background:
    radial-gradient(
      circle at var(--pf-hero-x, 18%) var(--pf-hero-y, 22%),
      rgba(14, 165, 233, 0.52),
      transparent 30%
    ),
    radial-gradient(
      circle at 85% 15%,
      rgba(250, 204, 21, 0.3),
      transparent 28%
    ),
    radial-gradient(
      circle at 60% 92%,
      rgba(34, 197, 94, 0.18),
      transparent 30%
    ),
    linear-gradient(135deg, #020617 0%, #061c3e 48%, #020617 100%) !important;
}

.predial-cinematic-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(
    circle at var(--pf-hero-x, 50%) var(--pf-hero-y, 45%),
    #000 0%,
    transparent 46%
  );
  -webkit-mask-image: radial-gradient(
    circle at var(--pf-hero-x, 50%) var(--pf-hero-y, 45%),
    #000 0%,
    transparent 46%
  );
  opacity: 0.78;
}

.predial-cinematic-hero::after {
  content: "";
  position: absolute;
  inset: 34px;
  z-index: 1;
  pointer-events: none;
  border-radius: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

.predial-cinematic-hero > .relative.z-20 {
  width: min(94vw, 1560px) !important;
  max-width: 1560px !important;
  padding-top: clamp(92px, 9vw, 150px) !important;
  padding-bottom: clamp(90px, 7vw, 125px) !important;
}

.predial-cinematic-hero .hero-title {
  max-width: 760px;
  text-wrap: balance;
  text-shadow: 0 28px 85px rgba(0, 0, 0, 0.42);
}

.predial-cinematic-hero p {
  text-wrap: pretty;
}

.predial-cinematic-hero a[href] {
  min-height: 54px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.predial-cinematic-hero a[href]:first-child {
  background: linear-gradient(135deg, #ffffff, #dff7ff) !important;
  color: #06142e !important;
  box-shadow: 0 25px 75px rgba(14, 165, 233, 0.24) !important;
}

.predial-cinematic-hero a[href]:first-child::after {
  content: "→";
  margin-left: 10px;
  transition: transform 0.25s var(--pf-ease);
}

.predial-cinematic-hero a[href]:first-child:hover::after {
  transform: translateX(5px);
}

.predial-hero-quicksteps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 700px;
  margin-top: 30px;
}

.predial-hero-step {
  position: relative;
  overflow: hidden;
  padding: 16px 16px 15px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff;
}

.predial-hero-step::before {
  content: "";
  position: absolute;
  width: 92px;
  height: 92px;
  right: -45px;
  top: -45px;
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.16);
}

.predial-hero-step strong {
  display: block;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.02em;
}

.predial-hero-step span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.predial-hero-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 60;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  font-size: 12px;
  font-weight: 850;
}

.predial-hero-scroll-hint i {
  width: 18px;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  position: relative;
}

.predial-hero-scroll-hint i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  transform: translateX(-50%);
  animation: pfScrollDot 1.5s ease-in-out infinite;
}

@keyframes pfScrollDot {
  0%,
  100% {
    transform: translate(-50%, 0);
    opacity: 0.35;
  }
  50% {
    transform: translate(-50%, 8px);
    opacity: 1;
  }
}

/* ================= BANNER FINAL ================= */
.predial-count-banner {
  position: relative;
  z-index: 40;
  padding: 0 20px 34px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%) !important;
}

.predial-count-card {
  width: min(1180px, 100%) !important;
  margin: -28px auto 0 !important;
  padding: clamp(18px, 2.5vw, 28px) clamp(20px, 4vw, 42px) !important;
  border-radius: 34px !important;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.96),
      rgba(239, 246, 255, 0.9)
    ),
    radial-gradient(
      circle at 12% 20%,
      rgba(14, 165, 233, 0.14),
      transparent 35%
    ) !important;
  border: 1px solid rgba(255, 255, 255, 0.86) !important;
  box-shadow: var(--pf-shadow-strong) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.predial-count-icon {
  width: 72px !important;
  height: 72px !important;
  border-radius: 24px;
  background: linear-gradient(135deg, #e0f2fe, #ffffff);
  box-shadow: 0 18px 42px rgba(14, 165, 233, 0.16);
  font-size: 31px;
}

.predial-count-text h3,
.predial-count-text p {
  text-wrap: balance;
}

.predial-count-sign {
  padding: 14px 17px;
  border-radius: 24px;
  background: rgba(37, 99, 235, 0.06);
  border: 1px dashed rgba(37, 99, 235, 0.2);
}

/* ================= IMPUESTOS FINAL ================= */
.taxlearn-section {
  padding-top: clamp(92px, 8vw, 126px) !important;
  padding-bottom: clamp(80px, 7vw, 110px) !important;
  background:
    radial-gradient(circle at 12% 14%, rgba(7, 94, 234, 0.13), transparent 34%),
    radial-gradient(
      circle at 88% 22%,
      rgba(249, 115, 22, 0.12),
      transparent 31%
    ),
    linear-gradient(180deg, #ffffff 0%, #f5f9ff 52%, #ffffff 100%) !important;
}

.taxlearn-container {
  width: min(94vw, 1440px) !important;
  gap: clamp(38px, 6vw, 92px) !important;
}

.taxlearn-title,
#ayuda-predial h1,
.predial-support-header h1,
.predial-offer-pro__discount,
.predial-ending-title h2 {
  text-wrap: balance;
}

.taxlearn-description,
#ayuda-predial p,
.predial-support-header p,
.predial-offer-pro__text {
  text-wrap: pretty;
}

.taxlearn-info-panel {
  border-radius: 30px !important;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.94),
    rgba(239, 246, 255, 0.78)
  ) !important;
  border-color: rgba(14, 96, 234, 0.16) !important;
  box-shadow: var(--pf-shadow) !important;
}

.taxlearn-cards {
  gap: 18px !important;
}

.taxlearn-card {
  min-height: 185px !important;
  border-radius: 30px !important;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.96),
    rgba(248, 251, 255, 0.88)
  ) !important;
  border: 1px solid rgba(14, 96, 234, 0.13) !important;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08) !important;
  transform-style: preserve-3d;
}

.taxlearn-card::after {
  content: attr(data-card-number);
  position: absolute;
  right: 18px;
  bottom: 14px;
  color: rgba(7, 94, 234, 0.09);
  font-size: 54px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.taxlearn-card:hover,
.taxlearn-card:focus-visible {
  transform: translateY(-10px) scale(1.015) !important;
  box-shadow: 0 34px 90px rgba(7, 94, 234, 0.17) !important;
  outline: none;
}

.taxlearn-visual-card {
  border-radius: 42px !important;
  box-shadow: 0 44px 130px rgba(15, 23, 42, 0.16) !important;
}

.taxlearn-puzzle-stage {
  min-height: clamp(410px, 42vw, 610px) !important;
  background: radial-gradient(
    circle at 50% 38%,
    rgba(255, 255, 255, 0.98),
    rgba(224, 242, 254, 0.7) 48%,
    rgba(219, 234, 254, 0.55) 100%
  ) !important;
}

.taxlearn-puzzle-tile {
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.13) !important;
}

/* ================= BENEFICIOS / GALERÍA FINAL ================= */
#ayuda-predial {
  padding-top: clamp(92px, 8vw, 126px) !important;
  padding-bottom: clamp(82px, 7vw, 112px) !important;
  background:
    radial-gradient(
      circle at 14% 18%,
      rgba(6, 182, 212, 0.14),
      transparent 28%
    ),
    radial-gradient(circle at 86% 20%, rgba(7, 94, 234, 0.1), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
}

#ayuda-predial .text-center {
  margin-bottom: clamp(32px, 5vw, 64px) !important;
}

.predial-gallery-hint {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #0b4fbc;
  background: rgba(219, 234, 254, 0.72);
  border: 1px solid rgba(37, 99, 235, 0.14);
  font-size: 12px;
  font-weight: 950;
}

.gallery-responsive {
  height: clamp(430px, 42vw, 590px) !important;
  gap: 16px !important;
  border-radius: 38px !important;
  padding: 10px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.86),
    rgba(239, 246, 255, 0.7)
  );
  border: 1px solid rgba(37, 99, 235, 0.1);
  box-shadow: 0 34px 100px rgba(15, 23, 42, 0.1);
}

.gallery-card {
  border-radius: 30px !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transform-origin: center;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.18) !important;
}

.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.03), transparent 28%),
    radial-gradient(
      circle at 22% 12%,
      rgba(255, 255, 255, 0.26),
      transparent 28%
    );
}

.gallery-card:hover,
.gallery-card.is-ux-open,
.gallery-card:focus-visible {
  transform: translateY(-8px) scale(1.01) !important;
  filter: saturate(1.08) contrast(1.03);
  outline: none;
}

.gallery-card h3 {
  text-shadow: 0 14px 30px rgba(0, 0, 0, 0.42);
}

.gallery-card button {
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 16px 35px rgba(255, 255, 255, 0.12);
}

.gallery-card button::after {
  content: "→";
  transition: transform 0.24s var(--pf-ease);
}

.gallery-card button:hover::after {
  transform: translateX(4px);
}

/* ================= VIDEO / CARDS FINAL ================= */
.predial-video-info-section {
  padding-top: clamp(90px, 8vw, 124px) !important;
  padding-bottom: clamp(86px, 7vw, 112px) !important;
  background:
    radial-gradient(
      circle at 10% 18%,
      rgba(34, 197, 94, 0.12),
      transparent 30%
    ),
    radial-gradient(circle at 90% 18%, rgba(7, 94, 234, 0.12), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%) !important;
}

.predial-video-info-section > .md\:flex {
  width: min(94vw, 1420px) !important;
  max-width: 1420px !important;
  margin-inline: auto !important;
  gap: clamp(26px, 4vw, 58px) !important;
  align-items: center !important;
}

.predial-video-info-section .predial-media-wrap {
  min-height: clamp(360px, 42vw, 500px) !important;
}

.predial-video-info-section .predial-main-card {
  border: 1px solid rgba(255, 255, 255, 0.78) !important;
  box-shadow: 0 36px 110px rgba(15, 23, 42, 0.16) !important;
}

.predial-benefit-card {
  border-radius: 30px !important;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.96),
    rgba(248, 251, 255, 0.88)
  ) !important;
  border: 1px solid rgba(14, 96, 234, 0.14) !important;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08) !important;
  transition:
    transform 0.3s var(--pf-ease),
    box-shadow 0.3s var(--pf-ease),
    border-color 0.3s var(--pf-ease) !important;
}

.predial-benefit-card:hover,
.predial-benefit-card:focus-visible,
.predial-card-is-selected {
  transform: translateY(-8px) scale(1.015) !important;
  border-color: rgba(7, 94, 234, 0.24) !important;
  box-shadow: 0 36px 95px rgba(7, 94, 234, 0.15) !important;
  outline: none;
}

.predial-card-content h3,
.predial-benefit-card h3 {
  letter-spacing: -0.035em;
  text-wrap: balance;
}

/* ================= PAGO FINAL ================= */
.predial-offer-pro {
  min-height: clamp(560px, 48vw, 690px) !important;
  padding: clamp(84px, 8vw, 130px) 7% !important;
  margin: 0 !important;
  background-size: cover !important;
  background-position: center left !important;
}

.predial-offer-pro::before {
  content: "";
  position: absolute;
  inset: 26px;
  z-index: 2;
  pointer-events: none;
  border-radius: 46px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.predial-offer-pro__bg {
  background:
    radial-gradient(
      circle at 18% 25%,
      rgba(34, 197, 94, 0.24),
      transparent 28%
    ),
    radial-gradient(
      circle at 78% 22%,
      rgba(14, 165, 233, 0.28),
      transparent 34%
    ),
    linear-gradient(
      90deg,
      rgba(4, 12, 26, 0.42) 0%,
      rgba(4, 12, 26, 0.15) 42%,
      rgba(255, 255, 255, 0.3) 60%,
      rgba(255, 255, 255, 0.78) 100%
    ) !important;
}

.predial-offer-pro__content {
  border-radius: 38px !important;
  padding: clamp(28px, 4vw, 52px) !important;
  background: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 42px 120px rgba(15, 23, 42, 0.18) !important;
}

.predial-payment-short {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px !important;
}

.predial-payment-short span {
  display: grid;
  place-items: center;
  min-height: 58px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.predial-pay-helper {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.predial-pay-helper div {
  padding: 13px 12px;
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.86);
  border: 1px solid rgba(14, 96, 234, 0.1);
}

.predial-pay-helper strong {
  display: block;
  color: #0f172a;
  font-size: 12px;
  font-weight: 950;
}

.predial-pay-helper span {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 700;
}

/* CSS */
/* ================= APOYOS PREMIUM ================= */
.predial-support-section-premium {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(86px, 8vw, 132px) 0 clamp(86px, 7vw, 120px) !important;
  background:
    radial-gradient(
      circle at 10% 12%,
      rgba(37, 99, 235, 0.18),
      transparent 32%
    ),
    radial-gradient(
      circle at 88% 18%,
      rgba(6, 182, 212, 0.18),
      transparent 30%
    ),
    radial-gradient(
      circle at 48% 94%,
      rgba(251, 191, 36, 0.18),
      transparent 34%
    ),
    linear-gradient(180deg, #f8fbff 0%, #eef6ff 46%, #ffffff 100%) !important;
}

.predial-support-section-premium::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 44px;
  pointer-events: none;
  z-index: -1;
}

.predial-support-mesh {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
}

.predial-support-section-premium .predial-support-container {
  width: min(94vw, 1360px) !important;
  margin-inline: auto;
}

.predial-support-section-premium .predial-support-header {
  max-width: 940px !important;
  margin-inline: auto !important;
  text-align: center;
  position: relative;
}

.predial-support-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.predial-support-eyebrow-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #2563eb;
  box-shadow: 0 0 0 7px rgba(37, 99, 235, 0.12);
}

.predial-support-section-premium .predial-support-header h2,
.predial-support-section-premium .predial-support-header h1 {
  margin-top: 18px;
  color: #0f172a;
  font-size: clamp(2.6rem, 5.4vw, 5.8rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  font-weight: 950;
}

.predial-support-section-premium .predial-support-header h2 span,
.predial-support-section-premium .predial-support-header h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, #1d4ed8, #06b6d4, #0f172a);
  -webkit-background-clip: text;
  background-clip: text;
}

.predial-support-section-premium .predial-support-header p {
  max-width: 720px;
  margin: 22px auto 0;
  color: #64748b;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.75;
}

.predial-support-header-pills {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.predial-support-header-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 999px;
  color: #0f3f96;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(37, 99, 235, 0.13);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
  font-size: 13px;
  font-weight: 900;
  backdrop-filter: blur(14px);
}

.predial-support-section-premium .predial-support-layout {
  margin-top: clamp(42px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(30px, 5vw, 76px) !important;
}

.predial-support-section-premium .predial-support-slider {
  position: relative;
  padding: clamp(16px, 2vw, 22px);
  border-radius: 46px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.72),
    rgba(255, 255, 255, 0.38)
  );
  border: 1px solid rgba(37, 99, 235, 0.12);
  box-shadow:
    0 35px 100px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px);
}

.predial-support-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.predial-support-tabs button {
  border: 0;
  cursor: pointer;
  min-height: 52px;
  border-radius: 20px;
  padding: 12px 14px;
  color: #1e3a8a;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(37, 99, 235, 0.11);
  font-weight: 950;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.28s ease,
    background 0.28s ease,
    color 0.28s ease,
    box-shadow 0.28s ease;
}

.predial-support-tabs button span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-right: 6px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.1);
}

.predial-support-tabs button:hover,
.predial-support-tabs button.active {
  color: #ffffff;
  background: linear-gradient(135deg, #1d4ed8, #06b6d4);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.25);
}

.predial-support-section-premium .predial-support-card {
  position: relative;
  overflow: hidden;
  border-radius: 38px !important;
  padding: clamp(22px, 3vw, 34px) !important;
  background:
    radial-gradient(circle at 10% 0%, rgba(37, 99, 235, 0.11), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.9)) !important;
  border: 1px solid rgba(14, 96, 234, 0.14) !important;
  box-shadow: 0 32px 95px rgba(15, 23, 42, 0.1) !important;
}

.predial-support-section-premium .predial-support-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0.85) 38%,
    transparent 60%
  );
  transform: translateX(-120%);
  transition: transform 0.85s ease;
  pointer-events: none;
}

.predial-support-section-premium .predial-support-card:hover::before {
  transform: translateX(120%);
}

.predial-support-card-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  padding: 9px 12px;
  border-radius: 999px;
  color: #92400e;
  background: #fef3c7;
  border: 1px solid rgba(245, 158, 11, 0.22);
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.16);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.predial-support-card-badge.blue {
  color: #1e3a8a;
  background: #dbeafe;
  border-color: rgba(37, 99, 235, 0.16);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.14);
}

.predial-support-section-premium .predial-support-card-top {
  align-items: center;
  gap: 18px;
}

.predial-support-section-premium .predial-support-image {
  position: relative;
  flex: 0 0 auto;
  width: clamp(86px, 9vw, 118px);
  height: clamp(86px, 9vw, 118px);
  border-radius: 30px;
  display: grid;
  place-items: center;
  background: radial-gradient(
    circle at 35% 20%,
    rgba(255, 255, 255, 0.96),
    rgba(219, 234, 254, 0.88)
  );
  border: 1px solid rgba(37, 99, 235, 0.14);
  box-shadow: 0 18px 46px rgba(37, 99, 235, 0.13);
}

.predial-support-section-premium .predial-support-image::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f59e0b, #facc15);
  box-shadow: 0 12px 26px rgba(245, 158, 11, 0.25);
}

.predial-support-section-premium .predial-support-image img {
  position: relative;
  z-index: 2;
  width: 84%;
  height: 84%;
  object-fit: contain;
  filter: drop-shadow(0 14px 16px rgba(15, 23, 42, 0.14));
}

.predial-support-section-premium .predial-support-chip {
  margin-bottom: 10px;
}

.predial-support-section-premium .predial-support-card h3 {
  color: #0f172a;
  font-size: clamp(1.65rem, 2.8vw, 2.45rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 950;
}

.predial-support-card-subtitle {
  max-width: 500px;
  margin-top: 10px;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.55;
}

.predial-support-highlight {
  margin-top: 24px;
  padding: 18px;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  align-items: center;
  border-radius: 28px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 0% 0%,
      rgba(255, 255, 255, 0.28),
      transparent 38%
    ),
    linear-gradient(135deg, #1d4ed8, #0ea5e9);
  box-shadow: 0 22px 52px rgba(37, 99, 235, 0.22);
}

.predial-support-highlight span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.predial-support-highlight strong {
  display: block;
  margin-top: 3px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-weight: 950;
}

.predial-support-highlight p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  line-height: 1.55;
}

.predial-support-section-premium .predial-discount-grid {
  margin-top: 18px;
  gap: 13px;
}

.predial-support-section-premium .predial-discount-card,
.predial-support-section-premium .predial-benefit-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(14, 96, 234, 0.11) !important;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.predial-support-section-premium .predial-discount-card:hover,
.predial-support-section-premium .predial-benefit-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 64px rgba(37, 99, 235, 0.14);
}

.predial-support-section-premium .predial-discount-card.featured {
  background:
    radial-gradient(
      circle at top left,
      rgba(250, 204, 21, 0.28),
      transparent 42%
    ),
    linear-gradient(145deg, #ffffff, #eff6ff) !important;
  border-color: rgba(245, 158, 11, 0.28) !important;
}

.predial-support-section-premium .predial-support-note {
  margin-top: 18px;
  border-radius: 24px;
  padding: 15px 16px;
  color: #475569;
  background: rgba(239, 246, 255, 0.86);
  border: 1px solid rgba(37, 99, 235, 0.12);
}

.predial-support-section-premium .predial-support-note.blue {
  background: rgba(236, 253, 245, 0.9);
  border-color: rgba(16, 185, 129, 0.14);
}

.predial-support-section-premium .predial-support-extra-list {
  margin-top: 16px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.predial-support-section-premium .predial-support-extra-list li {
  position: relative;
  padding: 12px 14px 12px 40px;
  border-radius: 18px;
  color: #334155;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 0.92rem;
  font-weight: 750;
}

.predial-support-section-premium .predial-support-extra-list li::before {
  content: "✓";
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #2563eb;
  font-size: 12px;
  font-weight: 950;
}

.predial-support-section-premium .predial-benefit-list {
  margin-top: 24px;
  gap: 12px;
}

.predial-support-section-premium .predial-benefit-item {
  border-radius: 24px !important;
  background: rgba(255, 255, 255, 0.82) !important;
}

.predial-support-docs {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.predial-support-doc {
  padding: 16px 14px;
  border-radius: 22px;
  background: linear-gradient(145deg, #ffffff, #f8fbff);
  border: 1px solid rgba(37, 99, 235, 0.1);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.predial-support-doc strong {
  display: block;
  color: #0f172a;
  font-size: 0.94rem;
  font-weight: 950;
}

.predial-support-doc span {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.35;
}

.predial-support-section-premium .predial-support-dots {
  margin-top: 16px;
}

.predial-support-section-premium .predial-support-visual {
  position: relative;
  min-height: clamp(520px, 46vw, 650px);
  display: grid;
  place-items: center;
}

.predial-support-section-premium .predial-support-ring {
  position: absolute;
  width: min(470px, 88vw);
  height: min(470px, 88vw);
  border-radius: 999px;
  border: 1px dashed rgba(37, 99, 235, 0.22);
  animation: predialSupportSpin 22s linear infinite;
}

.predial-support-ring-two {
  width: min(360px, 72vw) !important;
  height: min(360px, 72vw) !important;
  border-style: solid !important;
  border-color: rgba(14, 165, 233, 0.18) !important;
  animation-duration: 16s !important;
  animation-direction: reverse !important;
}

@keyframes predialSupportSpin {
  to {
    transform: rotate(360deg);
  }
}

.predial-support-section-premium .predial-support-video-box {
  position: relative;
  width: min(390px, 82vw);
  min-height: min(450px, 86vw);
  border-radius: 44px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(
      circle at 30% 10%,
      rgba(255, 255, 255, 0.98),
      rgba(219, 234, 254, 0.72)
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.72),
      rgba(239, 246, 255, 0.88)
    );
  border: 1px solid rgba(37, 99, 235, 0.14);
  box-shadow:
    0 44px 120px rgba(7, 94, 234, 0.17) !important,
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  overflow: hidden;
}

.predial-support-video-label {
  position: absolute;
  left: 24px;
  top: 24px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  color: #1e3a8a;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(37, 99, 235, 0.11);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  backdrop-filter: blur(14px);
}

.predial-support-video-label span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.13);
}

.predial-support-section-premium .predial-support-video {
  width: min(315px, 70vw);
  filter: drop-shadow(0 28px 30px rgba(15, 23, 42, 0.18));
  animation: predialSupportFloat 4.2s ease-in-out infinite;
}

@keyframes predialSupportFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-14px) rotate(1deg);
  }
}

.predial-support-section-premium .predial-float-card {
  z-index: 5;
  border: 1px solid rgba(37, 99, 235, 0.12);
  box-shadow: 0 20px 56px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(14px);
}

.predial-support-mini-panel {
  position: absolute;
  right: 2%;
  bottom: 5%;
  z-index: 6;
  width: min(260px, 72vw);
  padding: 18px;
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  box-shadow: 0 28px 74px rgba(15, 23, 42, 0.24);
}

.predial-support-mini-panel span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.22);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.predial-support-mini-panel strong {
  display: block;
  font-size: 1rem;
  font-weight: 950;
}

.predial-support-mini-panel p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  line-height: 1.45;
}

@media (max-width: 1080px) {
  .predial-support-section-premium .predial-support-layout {
    grid-template-columns: 1fr;
  }

  .predial-support-section-premium .predial-support-visual {
    min-height: 540px;
  }

  .predial-support-mini-panel {
    right: 8%;
  }
}

@media (max-width: 760px) {
  .predial-support-section-premium::before {
    inset: 14px;
    border-radius: 30px;
  }

  .predial-support-section-premium .predial-support-header {
    text-align: left;
  }

  .predial-support-header-pills {
    justify-content: flex-start;
  }

  .predial-support-header-pills span {
    width: 100%;
    justify-content: center;
    border-radius: 18px;
  }

  .predial-support-section-premium .predial-support-slider {
    border-radius: 30px;
    padding: 12px;
  }

  .predial-support-tabs {
    grid-template-columns: 1fr;
  }

  .predial-support-section-premium .predial-support-card {
    border-radius: 28px !important;
  }

  .predial-support-card-badge {
    position: relative;
    top: auto;
    right: auto;
    display: inline-flex;
    margin-bottom: 14px;
  }

  .predial-support-section-premium .predial-support-card-top {
    align-items: flex-start;
  }

  .predial-support-highlight {
    grid-template-columns: 1fr;
  }

  .predial-support-docs {
    grid-template-columns: 1fr;
  }

  .predial-support-section-premium .predial-support-visual {
    min-height: 500px;
  }

  .predial-support-mini-panel {
    left: 50%;
    right: auto;
    bottom: 0;
    transform: translateX(-50%);
  }
}

@media (max-width: 480px) {
  .predial-support-section-premium {
    padding-top: 70px !important;
    padding-bottom: 78px !important;
  }

  .predial-support-section-premium .predial-support-header h2,
  .predial-support-section-premium .predial-support-header h1 {
    font-size: clamp(2.45rem, 14vw, 4rem);
  }

  .predial-support-section-premium .predial-support-card-top {
    display: grid;
    grid-template-columns: 1fr;
  }

  .predial-support-section-premium .predial-support-image {
    width: 96px;
    height: 96px;
  }

  .predial-support-section-premium .predial-support-visual {
    min-height: 460px;
  }

  .predial-support-section-premium .predial-float-card {
    transform: scale(0.88);
  }

  .predial-float-card-one {
    left: -8px !important;
  }

  .predial-float-card-two {
    right: -10px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .predial-support-section-premium *,
  .predial-support-section-premium *::before,
  .predial-support-section-premium *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   ANIMACIONES CINEMÁTICAS CON SCROLL - PREDIAL
========================================================= */

.predial-cinematic-hero {
  isolation: isolate;
}

.predial-scroll-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.36),
    transparent 68%
  );
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
}

.predial-scroll-glow--one {
  left: 8%;
  top: 18%;
}

.predial-scroll-glow--two {
  right: 8%;
  bottom: 18%;
  background: radial-gradient(
    circle,
    rgba(250, 204, 21, 0.28),
    transparent 68%
  );
}

.predial-cinematic-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      transparent 60%,
      rgba(0, 0, 0, 0.28) 82%,
      rgba(255, 255, 255, 1) 100%
    ),
    radial-gradient(circle at center, transparent 38%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
  z-index: 4;
}

.predial-gsap-soft {
  will-change: transform, opacity;
}

.predial-origin-pro,
.taxlearn-section,
#consecuencias,
.predial-offer-pro,
.predial-ending-strip {
  position: relative;
  overflow: hidden;
}

.predial-section-light {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(14, 165, 233, 0.14),
    transparent 68%
  );
  filter: blur(35px);
  pointer-events: none;
  z-index: 0;
}

.predial-section-light--left {
  left: -120px;
  top: 20%;
}

.predial-section-light--right {
  right: -120px;
  bottom: 15%;
  background: radial-gradient(
    circle,
    rgba(245, 158, 11, 0.15),
    transparent 68%
  );
}

.predial-count-card,
.predial-origin-character__card,
.taxlearn-visual-card,
.predial-media-wrap,
.predial-offer-pro__content,
.predial-ending-item,
.cube-widget {
  will-change: transform;
}

.predial-origin-pro__title strong,
.taxlearn-title strong,
#consecuencias-title span,
.predial-offer-pro__discount span {
  background-size: 200% 200%;
  animation: predialGradientMove 5s ease-in-out infinite;
}

@keyframes predialGradientMove {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@media (max-width: 768px) {
  .predial-scroll-glow {
    width: 240px;
    height: 240px;
  }

  .predial-section-light {
    width: 240px;
    height: 240px;
  }
}

/* -----------------
   MOBILE: GALERÍA
   Forzamos layout apilado y restauramos contenido oculto por hover
   ----------------- */
@media (max-width: 768px) {
  .gallery-responsive {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 8px !important;
    gap: 12px !important;
  }

  .gallery-responsive .gallery-card,
  .gallery-card {
    flex: none !important;
    width: 100% !important;
    height: auto !important;
    min-height: 260px !important;
    max-height: none !important;
    border-radius: 20px !important;
  }

  .gallery-card .predial-card-character {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* Make overlay still cover image but keep content flowable */
  .gallery-card .absolute.inset-0 {
    position: absolute;
    inset: 0;
    z-index: 3;
  }

  /* Place textual content below image on mobile */
  .gallery-card .absolute.bottom-0,
  .gallery-card .absolute.top-5 {
    position: relative !important;
    transform: none !important;
    z-index: 6 !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
  }

  .gallery-card [class*="translate-y-8"],
  .gallery-card [class*="translate-y-3"] {
    transform: none !important;
  }

  .gallery-card [class*="opacity-0"] {
    opacity: 1 !important;
  }

  .gallery-card [class*="max-h-0"] {
    max-height: 160px !important;
  }

  .gallery-card button {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .predial-origin-pro__title strong,
  .taxlearn-title strong,
  #consecuencias-title span,
  .predial-offer-pro__discount span {
    animation: none;
  }
}

/* -----------------
   REDUCE ESPACIADO ENTRE SECCIONES
   Aplicar reglas suaves para compactar el layout verticalmente
   ----------------- */
section,
.predial-ending-strip,
#ayuda-predial,
#impuestos,
#consecuencias,
#formas-pago,
#impacto-predial {
  padding-top: clamp(28px, 3.3vw, 48px) !important;
  padding-bottom: clamp(28px, 3.3vw, 48px) !important;
}

/* Ajuste particular para hero (mantener impacto pero reducir altura) */
#inicio {
  padding-top: clamp(48px, 6.5vw, 100px) !important;
  padding-bottom: clamp(24px, 3vw, 48px) !important;
}

/* Reducir márgenes de títulos grandes */
.text-center.mb-14,
.predial-ending-title {
  margin-bottom: 1rem !important;
}

/* Menor separación entre bloques internos */
.gallery-responsive,
.taxlearn-container,
.predial-offer-pro__content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Ajuste para sección de ayuda predial: compactar layout y mejorar legibilidad */
.deuda-experience {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: clamp(70px, 8vw, 120px) clamp(18px, 6vw, 90px);
  display: grid;
  grid-template-columns: minmax(300px, 430px) 1fr;
  align-items: center;
  gap: clamp(35px, 6vw, 90px);
  overflow: hidden;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(91, 211, 255, 0.22),
      transparent 28%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 196, 87, 0.2),
      transparent 30%
    ),
    linear-gradient(135deg, #f7fbff 0%, #eaf7ff 42%, #fff6e8 100%);
}

.deuda-copy {
  position: relative;
  z-index: 4;
}

.deuda-eyebrow {
  display: inline-block;
  color: #2f327d;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.deuda-copy h2 {
  margin: 0;
  color: #101828;
  font-size: clamp(44px, 6vw, 86px);
  line-height: 0.88;
  letter-spacing: -0.07em;
  font-weight: 950;
}

.deuda-copy > p {
  margin: 24px 0 0;
  max-width: 420px;
  color: #64748b;
  font-size: 17px;
  line-height: 1.8;
  font-weight: 550;
}

.deuda-current {
  margin-top: 42px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.deuda-current > span {
  color: #2f327d;
  font-size: clamp(42px, 5vw, 74px);
  line-height: 0.9;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.deuda-current strong {
  display: block;
  color: #101828;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 950;
}

.deuda-current p {
  margin: 12px 0 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 550;
}

.deuda-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.deuda-actions button {
  border: 0;
  cursor: pointer;
  padding: 15px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 950;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.deuda-actions button:hover {
  transform: translateY(-3px);
}

#deudaNext {
  color: white;
  background: #2f327d;
}

#deudaMore {
  color: #2f327d;
  background: transparent;
  box-shadow: inset 0 0 0 2px rgba(47, 50, 125, 0.18);
}

.deuda-map {
  position: relative;
  min-height: 620px;
  z-index: 3;
}

.deuda-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.deuda-line-base {
  fill: none;
  stroke: rgba(47, 50, 125, 0.13);
  stroke-width: 34;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.deuda-line-active {
  fill: none;
  stroke: #2f327d;
  stroke-width: 18;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 18 16;
  animation: deudaMove 16s linear infinite;
}

@keyframes deudaMove {
  to {
    stroke-dashoffset: -260;
  }
}

.deuda-point {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  border: 0;
  background: transparent;
  color: #2f327d;
  cursor: pointer;
  font-size: 14px;
  font-weight: 950;
  text-align: center;
  z-index: 6;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.deuda-point span {
  width: 74px;
  height: 74px;
  margin: 0 auto 8px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: white;
  color: #2f327d;
  box-shadow: 0 18px 45px rgba(47, 50, 125, 0.16);
  font-size: 20px;
  font-weight: 950;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}

.deuda-point:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.deuda-point.active {
  color: #101828;
}

.deuda-point.active span {
  background: #2f327d;
  color: white;
  transform: scale(1.2);
}

.deuda-character {
  position: absolute;
  width: clamp(125px, 13vw, 190px);
  left: 2%;
  top: 60%;
  z-index: 7;
  filter: drop-shadow(0 24px 22px rgba(15, 23, 42, 0.2));
  pointer-events: none;
  transition:
    left 0.55s cubic-bezier(0.2, 0.85, 0.2, 1),
    top 0.55s cubic-bezier(0.2, 0.85, 0.2, 1),
    transform 0.55s ease;
}

.deuda-floating-text {
  position: absolute;
  z-index: 2;
  color: rgba(47, 50, 125, 0.16);
  font-size: clamp(42px, 6vw, 90px);
  line-height: 0.9;
  letter-spacing: -0.08em;
  font-weight: 950;
  pointer-events: none;
  max-width: 440px;
}

.deuda-note-one {
  top: 4%;
  right: 4%;
}

.deuda-note-two {
  bottom: 4%;
  left: 18%;
}

/* Overlay PAE abierto, sin caja tipo card */
.pae-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  padding: clamp(28px, 7vw, 90px);
  display: grid;
  align-items: center;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(59, 130, 246, 0.3),
      transparent 30%
    ),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(47, 50, 125, 0.96));
  color: white;
}

.pae-screen.hidden {
  display: none;
}

.pae-screen-close {
  position: absolute;
  top: 30px;
  right: 34px;
  border: 0;
  background: transparent;
  color: white;
  font-size: 15px;
  font-weight: 950;
  cursor: pointer;
}

.pae-screen-content {
  max-width: 880px;
}

.pae-screen-content span {
  display: block;
  color: #93c5fd;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

.pae-screen-content h2 {
  margin: 0;
  font-size: clamp(56px, 9vw, 130px);
  line-height: 0.84;
  letter-spacing: -0.08em;
  font-weight: 950;
}

.pae-screen-content > p {
  margin: 34px 0 0;
  color: rgba(255, 255, 255, 0.78);
  max-width: 760px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.7;
  font-weight: 500;
}

.pae-screen-steps {
  margin-top: 44px;
  display: grid;
  gap: 18px;
}

.pae-screen-steps p {
  margin: 0;
  color: white;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.2;
  font-weight: 850;
}

.pae-screen-steps strong {
  color: #93c5fd;
  margin-right: 14px;
}

@media (max-width: 950px) {
  .deuda-experience {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .deuda-map {
    min-height: 620px;
  }
}

@media (max-width: 640px) {
  .deuda-experience {
    padding: 70px 18px;
  }

  .deuda-map {
    min-height: 720px;
  }

  .deuda-line {
    transform: rotate(90deg) scale(1.1);
  }

  .deuda-point span {
    width: 62px;
    height: 62px;
    font-size: 16px;
  }

  .deuda-point {
    font-size: 11px;
  }

  .deuda-point:nth-of-type(1) {
    left: 18% !important;
    top: 78% !important;
  }

  .deuda-point:nth-of-type(2) {
    left: 68% !important;
    top: 62% !important;
  }

  .deuda-point:nth-of-type(3) {
    left: 32% !important;
    top: 41% !important;
  }

  .deuda-point:nth-of-type(4) {
    left: 76% !important;
    top: 22% !important;
  }

  .deuda-floating-text {
    display: none;
  }
}

/*3d*/
/* =========================================================
   PREDIAL NEO 3D SECTION · MISMO DISEÑO BASE
========================================================= */

.predial-neo3d-section {
  --mouse-x: 50%;
  --mouse-y: 50%;
  --shine-x: 50%;
  --shine-y: 50%;
  --neo-ease: cubic-bezier(0.22, 1, 0.36, 1);

  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 120px 48px;
  background:
    radial-gradient(
      circle at var(--mouse-x) var(--mouse-y),
      rgba(37, 99, 235, 0.14),
      transparent 28%
    ),
    radial-gradient(
      circle at 12% 20%,
      rgba(37, 99, 235, 0.12),
      transparent 32%
    ),
    radial-gradient(
      circle at 85% 75%,
      rgba(244, 140, 6, 0.12),
      transparent 30%
    ),
    radial-gradient(
      circle at 48% 96%,
      rgba(22, 163, 74, 0.08),
      transparent 30%
    ),
    linear-gradient(180deg, #ffffff 0%, #f3f7ff 48%, #ffffff 100%);
}

.predial-neo3d-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.12) 1px,
    transparent 1.5px
  );
  background-size: 34px 34px;
  mask-image: radial-gradient(
    circle at var(--mouse-x) var(--mouse-y),
    black,
    transparent 46%
  );
  -webkit-mask-image: radial-gradient(
    circle at var(--mouse-x) var(--mouse-y),
    black,
    transparent 46%
  );
  pointer-events: none;
  opacity: 0.72;
}

.predial-neo3d-light {
  position: absolute;
  z-index: -2;
  border-radius: 999px;
  filter: blur(30px);
  pointer-events: none;
  animation: neo3dLightMove 8s ease-in-out infinite alternate;
}

.neo3d-light-one {
  width: 420px;
  height: 420px;
  left: -170px;
  top: 120px;
  background: rgba(37, 99, 235, 0.13);
}

.neo3d-light-two {
  width: 360px;
  height: 360px;
  right: -140px;
  top: 150px;
  background: rgba(6, 182, 212, 0.12);
  animation-delay: -3s;
}

.neo3d-light-three {
  width: 300px;
  height: 300px;
  left: 46%;
  bottom: -140px;
  background: rgba(244, 140, 6, 0.12);
  animation-delay: -5s;
}

.predial-neo3d-container {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(460px, 0.9fr) minmax(650px, 1.25fr);
  align-items: center;
  gap: clamp(48px, 6vw, 120px);
  position: relative;
  z-index: 2;
}

/* =========================================================
   LEFT 3D VISUAL
========================================================= */

.predial-neo3d-stage {
  position: relative;
  min-height: 660px;
  display: grid;
  justify-items: start;
  align-items: center;
  perspective: 1400px;
}

.predial-neo3d-orbit {
  position: absolute;
  border-radius: 50%;
  border: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1), transparent 68%);
  filter: blur(2px);
  opacity: 0.75;
  animation: neo3dPulse 5s ease-in-out infinite;
}

.orbit-a {
  width: 500px;
  height: 500px;
}

.orbit-b {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(244, 140, 6, 0.12), transparent 68%);
  animation-delay: 1.1s;
}

.orbit-dot {
  display: none;
}

.predial-neo3d-card {
  position: relative;
  width: min(480px, 100%);
  height: 600px;
  transform-style: preserve-3d;
  border-radius: 52px;
  transition:
    transform 0.25s ease,
    box-shadow 0.3s ease;
  box-shadow:
    0 52px 126px rgba(15, 23, 42, 0.18),
    0 22px 54px rgba(37, 99, 235, 0.12);
}

.predial-neo3d-glow-border {
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(
    from 0deg,
    #2563eb,
    #06b6d4,
    #f59e0b,
    #16a34a,
    #2563eb
  );
  opacity: 0.3;
  filter: blur(2px);
  animation: neo3dSpin 14s linear infinite;
  z-index: -1;
}

.predial-neo3d-card-bg {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      circle at 65% 20%,
      rgba(37, 99, 235, 0.19),
      transparent 34%
    ),
    radial-gradient(
      circle at 28% 80%,
      rgba(244, 140, 6, 0.14),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.96),
      rgba(239, 246, 255, 0.82)
    );
  border: 1px solid rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  transform: translateZ(0);
}

.predial-neo3d-card-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--shine-x) var(--shine-y),
    rgba(255, 255, 255, 0.72),
    transparent 32%
  );
  opacity: 0.55;
  pointer-events: none;
  transform: translateZ(8px);
}

.predial-neo3d-frame {
  position: absolute;
  inset: 26px;
  border-radius: 38px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  background:
    linear-gradient(rgba(37, 99, 235, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  transform: translateZ(16px);
  opacity: 0.85;
}

.predial-neo3d-top-label {
  position: absolute;
  z-index: 9;
  left: 34px;
  right: 34px;
  top: 34px;
  padding: 16px 18px;
  border-radius: 26px;
  color: #fff;
  background: rgba(15, 23, 42, 0.92);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.2);
  transform: translateZ(100px);
}

.predial-neo3d-top-label span {
  display: inline-flex;
  margin-bottom: 7px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.78);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.predial-neo3d-top-label strong {
  display: block;
  font-size: 22px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.predial-neo3d-character {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 104px;
  width: min(370px, 86%);
  max-height: 410px;
  object-fit: contain;
  filter: drop-shadow(0 34px 44px rgba(15, 23, 42, 0.22));
  transform: translateX(-50%) translateZ(90px);
  animation: neo3dCharacterFloat 4.5s ease-in-out infinite;
}

.predial-neo3d-floor {
  position: absolute;
  left: 50%;
  bottom: 88px;
  width: 330px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(15, 23, 42, 0.2), transparent 70%);
  filter: blur(10px);
  transform: translateX(-50%) translateZ(20px);
  animation: neo3dShadow 4.5s ease-in-out infinite;
}

.predial-neo3d-chip {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 176px;
  padding: 12px 15px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(14px);
  transform: translateZ(110px);
  animation: neo3dChipFloat 4.2s ease-in-out infinite;
}

.chip-icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 17px;
}

.chip-icon-blue {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.16),
    rgba(56, 189, 248, 0.16)
  );
}

.chip-icon-gold {
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.18),
    rgba(251, 191, 36, 0.18)
  );
}

.chip-icon-green {
  background: linear-gradient(
    135deg,
    rgba(22, 163, 74, 0.16),
    rgba(34, 197, 94, 0.16)
  );
}

.predial-neo3d-chip strong {
  display: block;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 950;
}

.predial-neo3d-chip > div span {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
}

.chip-one {
  top: 166px;
  left: -54px;
}

.chip-two {
  right: -62px;
  top: 266px;
  animation-delay: 0.8s;
}

.chip-three {
  left: 22px;
  bottom: 208px;
  animation-delay: 1.4s;
}

.predial-neo3d-mini-receipt {
  position: absolute;
  z-index: 9;
  left: 34px;
  right: 34px;
  bottom: 34px;
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.13);
  backdrop-filter: blur(14px);
  transform: translateZ(80px);
}

.predial-neo3d-mini-receipt div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 9px;
  border-bottom: 1px dashed rgba(100, 116, 139, 0.28);
}

.predial-neo3d-mini-receipt div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.predial-neo3d-mini-receipt span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.predial-neo3d-mini-receipt strong {
  color: #0f172a;
  font-size: 13px;
  font-weight: 950;
  text-align: right;
}

/* =========================================================
   RIGHT SIDE · TU DISEÑO + RUTA SIN CARDS
========================================================= */

.predial-feature-side {
  position: relative;
  width: 100%;
  max-width: 960px;
  text-align: left;
}

.predial-feature-watermark {
  position: absolute;
  left: 0;
  top: -38px;
  z-index: -1;
  color: rgba(15, 23, 42, 0.045);
  font-size: clamp(58px, 8vw, 124px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.08em;
  pointer-events: none;
  white-space: nowrap;
}

.predial-feature-mini-title {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 9px 15px;
  border-radius: 999px;
  color: #1d4ed8;
  background: linear-gradient(135deg, #eff6ff, #fff7ed);
  border: 1px solid rgba(37, 99, 235, 0.16);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.08);
}

.predial-feature-side h2 {
  margin: 0;
  color: #0f172a;
  font-size: clamp(42px, 4.8vw, 76px);
  line-height: 0.92;
  font-weight: 950;
  letter-spacing: -0.07em;
}

.predial-feature-side h2 span {
  display: block;
  color: #1d4ed8;
}

.predial-feature-intro {
  max-width: 790px;
  margin: 22px 0 0;
  color: #64748b;
  font-size: 16px;
  line-height: 1.72;
  font-weight: 500;
}

/* =========================================================
   RUTA DE APRENDIZAJE
========================================================= */

.predial-youth-learning {
  position: relative;
  margin-top: 42px;
  padding: 28px;
  border-radius: 42px;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(37, 99, 235, 0.13),
      transparent 34%
    ),
    radial-gradient(
      circle at 0% 100%,
      rgba(245, 158, 11, 0.12),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.94),
      rgba(239, 246, 255, 0.78)
    );
  box-shadow:
    0 34px 90px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.predial-youth-learning::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 32px;
  border: 1px solid rgba(37, 99, 235, 0.08);
  pointer-events: none;
}

.predial-youth-learning::after {
  content: "PREDIAL";
  position: absolute;
  right: 28px;
  bottom: 24px;
  color: rgba(37, 99, 235, 0.055);
  border: 3px solid rgba(37, 99, 235, 0.055);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 20px;
  font-weight: 950;
  letter-spacing: 0.16em;
  transform: rotate(-10deg);
  pointer-events: none;
}

.youth-learning-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.youth-learning-head span {
  display: inline-flex;
  padding: 8px 13px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.youth-learning-head strong {
  color: #0b1f59;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.youth-learning-body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(340px, 0.92fr) minmax(320px, 0.82fr);
  gap: 36px;
  align-items: stretch;
}

/* Línea tipo niveles */
.youth-roadmap {
  position: relative;
  display: grid;
  gap: 0;
}

.youth-roadmap::before {
  content: "";
  position: absolute;
  left: 32px;
  top: 24px;
  bottom: 24px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2563eb, #f59e0b, #16a34a, #0f172a);
  opacity: 0.82;
}

.youth-roadmap-step {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 18px;
  align-items: flex-start;
  width: 100%;
  padding: 18px 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.youth-roadmap-step:hover,
.youth-roadmap-step.is-active {
  transform: translateX(10px);
}

.roadmap-node {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #1d4ed8, #06b6d4);
  font-size: 17px;
  font-weight: 950;
  box-shadow:
    0 18px 38px rgba(37, 99, 235, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s ease;
}

.roadmap-node.orange {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  box-shadow:
    0 18px 38px rgba(249, 115, 22, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.roadmap-node.green {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  box-shadow:
    0 18px 38px rgba(34, 197, 94, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.roadmap-node.dark {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  box-shadow:
    0 18px 38px rgba(15, 23, 42, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.youth-roadmap-step:hover .roadmap-node,
.youth-roadmap-step.is-active .roadmap-node {
  transform: scale(1.08) rotate(-4deg);
}

.roadmap-content {
  display: block;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

.roadmap-content small {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 6px 11px;
  border-radius: 999px;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.roadmap-content strong {
  display: block;
  color: #0b1f59;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.052em;
}

.roadmap-content em {
  display: block;
  max-width: 520px;
  margin-top: 9px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
  font-style: normal;
  font-weight: 600;
}

.youth-roadmap-step {
  position: relative;
}

.roadmap-click-hint {
  position: absolute;
  right: 18px;
  top: 12px;
  transform: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.98), rgba(37, 99, 235, 0.98));
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 22px 45px rgba(13, 46, 138, 0.2);
  pointer-events: none;
  opacity: 1;
  z-index: 3;
  animation: roadmapHintMove 2s ease-in-out infinite;
}

.roadmap-click-arrow {
  display: inline-flex;
  font-size: 15px;
  transform: translateX(0);
  animation: roadmapArrowPulse 1.2s ease-in-out infinite;
}

@keyframes roadmapHintMove {
  0%,
  100% {
    transform: translateY(-50%) translateX(0);
  }
  50% {
    transform: translateY(-50%) translateX(4px);
  }
}

@keyframes roadmapArrowPulse {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(3px);
  }
}

/* Panel dinámico */
.youth-explain-panel {
  position: sticky;
  top: 110px;
  align-self: start;
  overflow: hidden;
  min-height: 390px;
  padding: 28px;
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(245, 158, 11, 0.22),
      transparent 36%
    ),
    linear-gradient(135deg, rgba(15, 23, 42, 0.97), rgba(30, 58, 138, 0.94));
  box-shadow:
    0 32px 90px rgba(15, 23, 42, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.youth-explain-panel::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.youth-panel-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.youth-panel-top span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  color: #0f172a;
  background: #fbbf24;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.youth-panel-top strong {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.youth-explain-panel h3 {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.055em;
}

.youth-explain-panel p {
  position: relative;
  z-index: 2;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
}

.youth-panel-points {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.youth-panel-points div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.youth-panel-points span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}

.youth-panel-points p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
}

/* =========================================================
   ANIMACIONES
========================================================= */

@keyframes neo3dLightMove {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(26px, -26px, 0) scale(1.08);
  }
}

@keyframes neo3dPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.75;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.45;
  }
}

@keyframes neo3dSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes neo3dCharacterFloat {
  0%,
  100% {
    transform: translateX(-50%) translateY(0) translateZ(90px);
  }

  50% {
    transform: translateX(-50%) translateY(-16px) translateZ(90px);
  }
}

@keyframes neo3dShadow {
  0%,
  100% {
    transform: translateX(-50%) scale(1) translateZ(20px);
    opacity: 0.78;
  }

  50% {
    transform: translateX(-50%) scale(0.84) translateZ(20px);
    opacity: 0.48;
  }
}

@keyframes neo3dChipFloat {
  0%,
  100% {
    transform: translateY(0) translateZ(110px);
  }

  50% {
    transform: translateY(-10px) translateZ(110px);
  }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {
  .predial-neo3d-container {
    grid-template-columns: minmax(390px, 0.9fr) minmax(520px, 1.1fr);
    gap: 48px;
  }

  .youth-learning-body {
    grid-template-columns: 1fr;
  }

  .youth-explain-panel {
    position: relative;
    top: auto;
    min-height: auto;
  }
}

@media (max-width: 1050px) {
  .predial-neo3d-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .predial-neo3d-container {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 70px;
    text-align: left;
  }

  .predial-neo3d-stage {
    justify-items: center;
  }

  .predial-feature-side {
    margin: 0;
    text-align: left;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .predial-neo3d-section {
    padding: 80px 16px;
  }

  .predial-neo3d-stage {
    min-height: 520px;
    justify-items: center;
  }

  .predial-neo3d-card {
    width: min(350px, 100%);
    height: 500px;
    border-radius: 36px;
  }

  .predial-neo3d-frame {
    inset: 18px;
    border-radius: 26px;
  }

  .predial-neo3d-top-label {
    left: 20px;
    right: 20px;
    top: 20px;
    border-radius: 22px;
  }

  .predial-neo3d-top-label strong {
    font-size: 18px;
  }

  .predial-neo3d-character {
    width: min(270px, 88%);
    bottom: 118px;
  }

  .predial-neo3d-floor {
    width: 250px;
    bottom: 106px;
  }

  .predial-neo3d-chip,
  .predial-neo3d-orbit {
    display: none;
  }

  .predial-neo3d-mini-receipt {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .predial-feature-watermark {
    display: none;
  }

  .predial-feature-side h2 {
    font-size: 40px;
  }

  .predial-feature-intro {
    font-size: 15px;
    line-height: 1.65;
  }

  .predial-youth-learning {
    padding: 22px;
    border-radius: 30px;
  }

  .predial-youth-learning::before {
    inset: 12px;
    border-radius: 24px;
  }

  .predial-youth-learning::after {
    display: none;
  }

  .youth-learning-head {
    align-items: flex-start;
    margin-bottom: 22px;
  }

  .youth-learning-head strong {
    width: 100%;
  }

  .youth-roadmap::before {
    display: none;
  }

  .youth-roadmap-step {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 0;
  }

  .youth-roadmap-step:hover,
  .youth-roadmap-step.is-active {
    transform: translateY(-4px);
  }

  .roadmap-node {
    width: 58px;
    height: 58px;
    border-radius: 21px;
    font-size: 15px;
  }

  .roadmap-content strong {
    font-size: 24px;
  }

  .youth-explain-panel {
    padding: 24px;
    border-radius: 28px;
  }

  .youth-explain-panel::after {
    display: none;
  }

  .youth-panel-points div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .predial-neo3d-card {
    height: 475px;
  }

  .predial-neo3d-character {
    width: 250px;
  }

  .predial-neo3d-mini-receipt div {
    display: grid;
    gap: 3px;
  }

  .predial-neo3d-mini-receipt strong {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .predial-neo3d-orbit,
  .predial-neo3d-glow-border,
  .predial-neo3d-character,
  .predial-neo3d-floor,
  .predial-neo3d-chip,
  .predial-neo3d-light {
    animation: none !important;
  }
}

.predial-youth-title {
  position: relative;
  margin: 0;
  max-width: 780px;

  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.055em;

  color: #101828;
  overflow-wrap: break-word;
  word-break: break-word;
}

.predial-youth-title strong {
  position: relative;
  display: block;

  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;

  background: linear-gradient(135deg, #2f327d 0%, #1976d2 45%, #19bdf7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  filter: drop-shadow(0 10px 16px rgba(25, 118, 210, 0.16));
}

.predial-youth-title strong::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 4px;
  height: 13px;

  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(25, 189, 247, 0.32),
    rgba(47, 50, 125, 0.15)
  );

  z-index: -1;
}

@media (max-width: 640px) {
  .predial-youth-title {
    font-size: clamp(42px, 13vw, 66px);
    line-height: 0.92;
    letter-spacing: -0.045em;
  }

  .predial-youth-title strong::after {
    height: 9px;
    bottom: 2px;
  }

  .predial-youth-title::before {
    font-size: 12px;
    margin-bottom: 12px;
  }
}

/* ===============================
   HERO PREDIAL BLANCO + AZUL
   VERSIÓN COMPACTA VERTICAL
================================ */

.predial-hero-blue {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(
      circle at 16% 18%,
      rgba(59, 130, 246, 0.18),
      transparent 32%
    ),
    radial-gradient(
      circle at 86% 18%,
      rgba(14, 165, 233, 0.2),
      transparent 30%
    ),
    radial-gradient(
      circle at 50% 90%,
      rgba(186, 230, 253, 0.55),
      transparent 34%
    ),
    linear-gradient(135deg, #ffffff 0%, #eff6ff 48%, #dff3ff 100%);
}

.predial-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

/* ===============================
   FORMAS DE FONDO
================================ */

.predial-blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
  animation: predialBlobMove 8s ease-in-out infinite alternate;
}

.blob-1 {
  width: 240px;
  height: 240px;
  top: 4%;
  left: 4%;
  background: rgba(59, 130, 246, 0.16);
}

.blob-2 {
  width: 300px;
  height: 300px;
  top: 14%;
  right: -100px;
  background: rgba(14, 165, 233, 0.18);
  animation-delay: 1s;
}

.blob-3 {
  width: 200px;
  height: 200px;
  bottom: 10%;
  left: 46%;
  background: rgba(147, 197, 253, 0.24);
  animation-delay: 1.6s;
}

.predial-dot {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 8px rgba(37, 99, 235, 0.1);
  animation: predialDotFloat 4s ease-in-out infinite;
}

.dot-1 {
  left: 12%;
  top: 30%;
}

.dot-2 {
  right: 18%;
  top: 14%;
  background: #0ea5e9;
  box-shadow: 0 0 0 8px rgba(14, 165, 233, 0.12);
  animation-delay: 0.7s;
}

.dot-3 {
  right: 42%;
  bottom: 23%;
  background: #38bdf8;
  box-shadow: 0 0 0 8px rgba(56, 189, 248, 0.13);
  animation-delay: 1.3s;
}

.dot-4 {
  left: 34%;
  top: 12%;
  background: #60a5fa;
  box-shadow: 0 0 0 8px rgba(96, 165, 250, 0.11);
  animation-delay: 1.8s;
}

/* ===============================
   CONTENEDOR PRINCIPAL
================================ */

.predial-hero-container {
  width: min(1220px, calc(100% - 40px));
  min-height: 720px;
  margin: 0 auto;
  padding: 55px 0 70px;
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 2;
}

/* ===============================
   TEXTO IZQUIERDO
================================ */

.predial-hero-content {
  width: 100%;
  max-width: 610px;
  position: relative;
  z-index: 5;
}

.predial-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(147, 197, 253, 0.45);
  color: #1e3a8a;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.08);
  backdrop-filter: blur(14px);
  margin-bottom: 18px;
}

.predial-hero-badge span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2563eb;
  box-shadow: 0 0 0 7px rgba(37, 99, 235, 0.13);
}

.predial-hero-title {
  margin: 0;
  color: #0f172a;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
  font-weight: 1000;
}

.predial-hero-title strong {
  display: inline-block;
  color: transparent;
  background: linear-gradient(90deg, #1d4ed8, #0ea5e9, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  position: relative;
}

.predial-hero-title strong::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 5px;
  height: 11px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.16);
  z-index: -1;
}

.predial-hero-description {
  max-width: 570px;
  margin: 18px 0 0;
  color: #475569;
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.55;
  font-weight: 600;
}

.predial-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
}

.predial-primary-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  border: 0;
  outline: 0;
  cursor: pointer;
  color: #ffffff;
  font-size: 16px;
  font-weight: 1000;
  padding: 14px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  box-shadow:
    0 18px 35px rgba(37, 99, 235, 0.26),
    inset 0 -4px 0 rgba(15, 23, 42, 0.1);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.predial-primary-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow:
    0 24px 48px rgba(37, 99, 235, 0.34),
    inset 0 -4px 0 rgba(15, 23, 42, 0.1);
}

.predial-primary-btn span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.24);
}

.predial-secondary-btn {
  border: 0;
  outline: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  color: #1e3a8a;
  font-size: 16px;
  font-weight: 900;
  transition: transform 0.25s ease;
}

.predial-secondary-btn:hover {
  transform: translateY(-3px);
}

.predial-play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #2563eb;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.18);
}

.predial-play svg {
  width: 17px;
  height: 21px;
  margin-left: 4px;
}

/* ===============================
   MINI DATOS
================================ */

.predial-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.predial-hero-stats div {
  min-width: 112px;
  padding: 11px 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(147, 197, 253, 0.35);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.07);
  backdrop-filter: blur(16px);
}

.predial-hero-stats strong {
  display: block;
  color: #1e3a8a;
  font-size: 17px;
  font-weight: 1000;
}

.predial-hero-stats span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  margin-top: 2px;
}

/* ===============================
   PERSONAJE DERECHA
================================ */

.predial-hero-visual {
  width: 100%;
  flex: 1;
  min-height: 500px;
  position: relative;
  display: grid;
  place-items: center;
  z-index: 4;
}

.predial-character-wrap {
  position: relative;
  width: min(660px, 90vw);
  aspect-ratio: 1 / 1.12;
  display: grid;
  place-items: center center;
  transition: transform 0.2s ease-out;
  transform: translateY(-10px);
}

.predial-character-wrap::before {
  content: "";
  position: absolute;
  width: 88%;
  height: 88%;
  bottom: 8%;
  border-radius: 45% 55% 50% 50%;
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 1), transparent 34%),
    linear-gradient(
      160deg,
      rgba(219, 234, 254, 0.95),
      rgba(186, 230, 253, 0.78)
    );
  box-shadow:
    inset 0 0 70px rgba(255, 255, 255, 0.72),
    0 30px 80px rgba(37, 99, 235, 0.14);
  z-index: -1;
  animation: predialSoftPulse 4s ease-in-out infinite;
}

.predial-character-wrap::after {
  content: "";
  position: absolute;
  width: 62%;
  height: 24px;
  bottom: 24px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.16);
  filter: blur(10px);
  z-index: -1;
}

.predial-character-video {
  width: 100%;
  max-width: none;
  display: block;
  filter: drop-shadow(0 30px 25px rgba(15, 23, 42, 0.16));
  animation: predialCharacterFloat 4.5s ease-in-out infinite;
}

.predial-orbit {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.55;
}

.orbit-1 {
  width: 450px;
  height: 450px;
  border: 2px dashed rgba(37, 99, 235, 0.18);
  animation: predialRotateOrbit 28s linear infinite;
}

.orbit-2 {
  width: 335px;
  height: 335px;
  border: 2px dashed rgba(14, 165, 233, 0.18);
  animation: predialRotateOrbit 22s linear infinite reverse;
}

/* ===============================
   ELEMENTOS FLOTANTES
================================ */

.predial-float-item {
  position: absolute;
  max-width: 205px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(147, 197, 253, 0.42);
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.13);
  backdrop-filter: blur(18px);
  animation: predialFloatItem 4s ease-in-out infinite;
  transition: transform 0.2s ease-out;
}

.predial-float-item > span {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 19px;
  background: rgba(219, 234, 254, 0.95);
  color: #2563eb;
}

.predial-float-item strong {
  display: block;
  color: #1e3a8a;
  font-size: 13px;
  font-weight: 1000;
  line-height: 1.1;
}

.predial-float-item small {
  display: block;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 4px;
}

.float-1 {
  top: 75px;
  left: 0;
}

.float-2 {
  top: 95px;
  right: 0;
  animation-delay: 0.7s;
}

.float-3 {
  bottom: 105px;
  left: 5px;
  animation-delay: 1.2s;
}

.float-4 {
  bottom: 75px;
  right: 12px;
  animation-delay: 1.8s;
}

/* ===============================
   ONDA INFERIOR
================================ */

.predial-hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 6;
  line-height: 0;
}

.predial-hero-wave svg {
  display: block;
  width: 100%;
  height: 82px;
}

.predial-hero-wave path {
  fill: #ffffff;
}

/* ===============================
   ANIMACIONES
================================ */

@keyframes predialBlobMove {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(24px, -18px, 0) scale(1.08);
  }
}

@keyframes predialDotFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-18px) scale(1.12);
  }
}

@keyframes predialCharacterFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-14px) rotate(1deg);
  }
}

@keyframes predialFloatItem {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes predialSoftPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.035);
  }
}

@keyframes predialRotateOrbit {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ===============================
   RESPONSIVE TABLET
================================ */

@media (max-width: 1024px) {
  .predial-hero-blue {
    min-height: auto;
  }

  .predial-hero-container {
    width: min(100% - 36px, 1220px);
    min-height: auto;
    flex-direction: column;
    text-align: center;
    padding-top: 55px;
    padding-bottom: 80px;
    gap: 10px;
  }

  .predial-hero-content {
    max-width: 760px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .predial-hero-description {
    max-width: 690px;
  }

  .predial-hero-actions,
  .predial-hero-stats {
    justify-content: center;
  }

  .predial-hero-visual {
    min-height: 460px;
  }

  .predial-character-wrap {
    width: min(500px, 90vw);
  }

  .orbit-1 {
    width: 410px;
    height: 410px;
  }

  .orbit-2 {
    width: 310px;
    height: 310px;
  }

  .float-1 {
    left: 5%;
    top: 55px;
  }

  .float-2 {
    right: 4%;
    top: 75px;
  }

  .float-3 {
    left: 6%;
    bottom: 80px;
  }

  .float-4 {
    right: 6%;
    bottom: 60px;
  }
}

/* ===============================
   RESPONSIVE MÓVIL
================================ */

@media (max-width: 640px) {
  .predial-hero-container {
    width: min(100% - 28px, 1220px);
    padding-top: 42px;
    padding-bottom: 70px;
  }

  .predial-hero-badge {
    font-size: 12px;
    padding: 8px 14px;
    margin-bottom: 16px;
  }

  .predial-hero-title {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
  }

  .predial-hero-description {
    margin-top: 14px;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .predial-hero-actions {
    width: 100%;
    margin-top: 22px;
  }

  .predial-primary-btn,
  .predial-secondary-btn {
    width: 100%;
    justify-content: center;
  }

  .predial-secondary-btn {
    background: rgba(255, 255, 255, 0.7);
    padding: 11px 14px;
    border-radius: 999px;
    backdrop-filter: blur(14px);
  }

  .predial-play {
    width: 46px;
    height: 46px;
  }

  .predial-hero-stats {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .predial-hero-stats div {
    width: 100%;
  }

  .predial-hero-visual {
    min-height: 390px;
    margin-top: 8px;
  }

  .predial-character-wrap {
    width: min(315px, 92vw);
  }

  .predial-character-video {
    width: 100%;
  }

  .predial-orbit {
    display: none;
  }

  .predial-float-item {
    max-width: 145px;
    padding: 8px 9px;
    border-radius: 16px;
  }

  .predial-float-item > span {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 17px;
    border-radius: 12px;
  }

  .predial-float-item strong {
    font-size: 12px;
  }

  .predial-float-item small {
    display: none;
  }

  .float-1 {
    top: 8px;
    left: 0;
  }

  .float-2 {
    top: 36px;
    right: 0;
  }

  .float-3 {
    bottom: 58px;
    left: 0;
  }

  .float-4 {
    bottom: 28px;
    right: 0;
  }

  .predial-hero-wave svg {
    height: 58px;
  }
}

/* ===============================
   MÓVIL PEQUEÑO
================================ */

@media (max-width: 420px) {
  .predial-hero-container {
    padding-top: 36px;
    padding-bottom: 62px;
  }

  .predial-hero-title {
    font-size: clamp(2.15rem, 12vw, 3rem);
  }

  .predial-hero-description {
    font-size: 0.9rem;
  }

  .predial-hero-visual {
    min-height: 360px;
  }

  .predial-character-wrap {
    width: min(285px, 92vw);
  }

  .predial-float-item {
    max-width: 128px;
  }

  .predial-float-item strong {
    font-size: 11px;
  }
}

/* =========================================================
 FAQ · PREDIALITO
========================================================= */

.predial-chatbot {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99999;
  font-family: inherit;
}

/* Botón flotante */
.predial-chatbot-toggle {
  position: relative;
  width: 82px;
  height: 82px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  background: linear-gradient(135deg, #ffffff, #eaf4ff);
  box-shadow:
    0 24px 55px rgba(15, 23, 42, 0.22),
    inset 0 0 0 4px rgba(37, 99, 235, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.predial-chatbot-toggle:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow:
    0 30px 70px rgba(37, 99, 235, 0.28),
    inset 0 0 0 4px rgba(37, 99, 235, 0.18);
}

.predial-chatbot-toggle img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  animation: chatbotFloat 2.8s ease-in-out infinite;
}

.predial-chatbot-label {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.7rem;
  font-weight: 800;
  color: #164eab;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.16);
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.14);
  pointer-events: none;
}

.chatbot-pulse {
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.18);
  animation: chatbotPulse 1.8s infinite;
  z-index: -1;
}

.chatbot-notification {
  position: absolute;
  right: -2px;
  top: -4px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
}

/* Ventana */
.predial-chatbot-window {
  position: absolute;
  right: 0;
  bottom: 100px;
  width: min(390px, calc(100vw - 32px));
  height: min(620px, calc(100vh - 145px));
  background:
    radial-gradient(
      circle at top left,
      rgba(59, 130, 246, 0.16),
      transparent 38%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(37, 99, 235, 0.13);
  border-radius: 32px;
  box-shadow: 0 35px 90px rgba(15, 23, 42, 0.24);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.96);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}

.predial-chatbot.is-open .predial-chatbot-window {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Header */
.predial-chatbot-header {
  padding: 18px;
  background: linear-gradient(135deg, #1d4ed8, #2563eb, #38bdf8);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.predial-chatbot-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.predial-chatbot-avatar {
  width: 54px;
  height: 54px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.predial-chatbot-avatar img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.predial-chatbot-profile strong {
  display: block;
  font-size: 17px;
  font-weight: 950;
  line-height: 1;
}

.predial-chatbot-profile span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.predial-chatbot-close {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.predial-chatbot-close:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: rotate(8deg);
}

/* Mensajes */
.predial-chatbot-messages {
  flex: 1;
  min-height: 220px;
  max-height: calc(100vh - 420px);
  padding: 18px;
  overflow-y: auto;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}

.predial-chatbot-messages::-webkit-scrollbar {
  width: 7px;
}

.predial-chatbot-messages::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, 0.25);
  border-radius: 999px;
}

.chat-message {
  display: flex;
  margin-bottom: 12px;
}

.bot-message {
  justify-content: flex-start;
}

.user-message {
  justify-content: flex-end;
}

.chat-bubble {
  max-width: 86%;
  padding: 13px 15px;
  border-radius: 20px;
  font-size: 14px;
  line-height: 1.55;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.bot-message .chat-bubble {
  background: #ffffff;
  color: #334155;
  border-top-left-radius: 6px;
  border: 1px solid rgba(37, 99, 235, 0.09);
}

.user-message .chat-bubble {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border-top-right-radius: 6px;
}

.chat-bubble strong {
  color: #1d4ed8;
  font-weight: 900;
}

.user-message .chat-bubble strong {
  color: #fff;
}

/* Preguntas rápidas */
.predial-chatbot-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow-x: hidden;
  overflow-y: auto;
  max-height: 132px;
  padding: 12px 16px;
  border-top: 1px solid rgba(37, 99, 235, 0.08);
  background: rgba(255, 255, 255, 0.72);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.predial-chatbot-quick::-webkit-scrollbar {
  display: none;
}

.predial-chatbot-quick button {
  flex: 0 0 auto;
  min-width: 120px;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  border: none;
  border-radius: 999px;
  padding: 10px 13px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.predial-chatbot-quick button:hover {
  background: #dbeafe;
  transform: translateY(-2px);
}

/* Form */
.predial-chatbot-form {
  display: flex;
  gap: 10px;
  padding: 14px 16px 16px;
  background: #fff;
  border-top: 1px solid rgba(37, 99, 235, 0.1);
}

.predial-chatbot-form input {
  flex: 1;
  border: 1px solid rgba(37, 99, 235, 0.16);
  background: #f8fbff;
  border-radius: 18px;
  padding: 13px 14px;
  font-size: 14px;
  color: #0f172a;
  outline: none;
  transition:
    border 0.25s ease,
    box-shadow 0.25s ease;
}

.predial-chatbot-form input::placeholder {
  color: rgba(15, 23, 42, 0.45);
}

.predial-chatbot-form input:focus {
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.predial-chatbot-form button {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 17px;
  background: #2563eb;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.3);
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.predial-chatbot-form button:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

.predial-chatbot-form input {
  flex: 1;
  border: 1px solid rgba(37, 99, 235, 0.16);
  background: #f8fbff;
  border-radius: 18px;
  padding: 13px 14px;
  font-size: 14px;
  color: #0f172a;
  outline: none;
  transition:
    border 0.25s ease,
    box-shadow 0.25s ease;
}

.predial-chatbot-form input:focus {
  border-color: rgba(37, 99, 235, 0.55);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.predial-chatbot-form button {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 17px;
  background: #2563eb;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.3);
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.predial-chatbot-form button:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

/* Animaciones */
@keyframes chatbotFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes chatbotPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 640px) {
  .predial-chatbot {
    right: 16px;
    bottom: 16px;
  }

  .predial-chatbot-toggle {
    width: 72px;
    height: 72px;
  }

  .predial-chatbot-toggle img {
    width: 60px;
    height: 60px;
  }

  .predial-chatbot-window {
    right: -2px;
    bottom: 88px;
    width: calc(100vw - 28px);
    height: min(590px, calc(100vh - 125px));
    border-radius: 26px;
  }

  .chat-bubble {
    max-width: 92%;
    font-size: 13px;
  }
}

/* =========================================================
   ICONO DE JUEGO DENTRO DEL CHATBOT
========================================================= */

.predial-chatbot-game-icon-wrap {
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding: 0 18px 10px;
  background: rgba(255, 255, 255, 0.72);
}

.predial-chatbot-game-icon {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(255, 255, 255, 0.45),
      transparent 35%
    ),
    linear-gradient(135deg, #1d4ed8, #2563eb, #38bdf8);
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 16px 32px rgba(37, 99, 235, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.predial-chatbot-game-icon:hover {
  transform: translateY(-4px) rotate(-4deg) scale(1.05);
  box-shadow:
    0 22px 46px rgba(37, 99, 235, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.game-icon-control {
  position: relative;
  z-index: 2;
  font-size: 27px;
  filter: drop-shadow(0 5px 8px rgba(15, 23, 42, 0.18));
  animation: gameIconFloat 2.2s ease-in-out infinite;
}

.game-icon-glow {
  position: absolute;
  inset: -7px;
  border-radius: 22px;
  background: rgba(37, 99, 235, 0.2);
  animation: gameIconPulse 1.8s infinite;
  z-index: -1;
}

/* Tooltip */
.game-icon-tooltip {
  position: absolute;
  right: 0;
  bottom: 66px;
  width: 215px;
  padding: 11px 13px;
  border-radius: 16px;
  background: #0f172a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(0.96);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.game-icon-tooltip::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: #0f172a;
  transform: rotate(45deg);
}

.predial-chatbot-game-icon:hover .game-icon-tooltip {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes gameIconFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

@keyframes gameIconPulse {
  0% {
    transform: scale(0.85);
    opacity: 0.65;
  }

  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .predial-chatbot-game-icon-wrap {
    justify-content: center;
    padding-bottom: 12px;
  }

  .game-icon-tooltip {
    right: 50%;
    bottom: 66px;
    transform: translate(50%, 8px) scale(0.96);
  }

  .predial-chatbot-game-icon:hover .game-icon-tooltip {
    transform: translate(50%, 0) scale(1);
  }

  .game-icon-tooltip::after {
    right: 50%;
    transform: translateX(50%) rotate(45deg);
  }
}
/* =========================================================
   OPCIÓN JUEGO · INTEGRADA EN EL CHATBOT
========================================================= */

.predial-chatbot-game-option {
  padding: 10px 14px 12px;
  background: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(37, 99, 235, 0.08);
}

.predial-chatbot-game-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  min-height: 68px;
  padding: 12px 13px;
  border-radius: 22px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  background:
    radial-gradient(
      circle at 8% 20%,
      rgba(255, 255, 255, 0.45),
      transparent 28%
    ),
    linear-gradient(135deg, #1d4ed8 0%, #2563eb 48%, #38bdf8 100%);
  box-shadow:
    0 18px 34px rgba(37, 99, 235, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.predial-chatbot-game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.22) 45%,
    transparent 70%
  );
  transform: translateX(-120%);
  animation: predialGameShine 3.2s ease-in-out infinite;
}

.predial-chatbot-game-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 24px 44px rgba(37, 99, 235, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.game-card-icon {
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.24),
    0 10px 20px rgba(15, 23, 42, 0.14);
  animation: predialGameFloat 2.4s ease-in-out infinite;
}

.game-card-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.game-card-text strong {
  color: #ffffff;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.15;
}

.game-card-text small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.game-card-arrow {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  transition: transform 0.25s ease;
}

.predial-chatbot-game-card:hover .game-card-arrow {
  transform: translateX(4px);
}

@keyframes predialGameShine {
  0%,
  55% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(120%);
  }
}

@keyframes predialGameFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-3px) rotate(-4deg);
  }
}

/* Ajuste responsive */
@media (max-width: 640px) {
  .predial-chatbot-game-option {
    padding: 9px 12px 11px;
  }

  .predial-chatbot-game-card {
    min-height: 64px;
    border-radius: 20px;
    padding: 11px 12px;
  }

  .game-card-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    font-size: 22px;
  }

  .game-card-text strong {
    font-size: 12.5px;
  }

  .game-card-text small {
    font-size: 10.5px;
  }
}

/* =========================================================
   inicio origen del predialito
========================================================= */
./* ===============================
   BOTÓN ORIGEN DEL PREDIAL
================================ */

.predial-origin-trigger {
  --origin-move: 55px;

  position: relative;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  transform: translateX(var(--origin-move));
  transition: transform 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.predial-origin-trigger:hover {
  transform: translateX(var(--origin-move)) translateY(-4px);
}

.predial-origin-trigger:focus-visible {
  outline: 3px solid rgba(0, 87, 255, 0.35);
  outline-offset: 6px;
  border-radius: 28px;
}
.predial-origin-trigger {
  overflow: visible;
}

.predial-origin-trigger img {
  width: 190px;
  max-width: 100%;
  height: auto;
  display: block;

  /* Mover a la derecha */
  position: relative;
  left: 350px;

  filter: drop-shadow(0 14px 22px rgba(0, 87, 255, 0.18));
  transition:
    transform 0.28s ease,
    filter 0.28s ease;
}

.predial-origin-trigger:hover img {
  left: 350px;
  transform: scale(1.08) rotate(-2deg);
  filter: drop-shadow(0 18px 30px rgba(0, 87, 255, 0.28));
}

.predial-origin-trigger::before {
  content: "";
  position: absolute;
  width: 110px;
  height: 26px;
  left: 50%;
  bottom: 5px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(0, 87, 255, 0.13);
  filter: blur(8px);
  z-index: -1;
}

/* Burbuja mejorada */
.predial-origin-bubble {
  position: absolute;
  top: -8px;
  right: -20px;
  min-width: 155px;
  padding: 10px 14px 10px 16px;
  background: rgba(255, 255, 255, 0.97);
  color: #071a3d;
  border: 2px solid rgba(0, 87, 255, 0.18);
  border-radius: 18px;
  box-shadow:
    0 14px 30px rgba(0, 87, 255, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.7);
  text-align: left;
  pointer-events: none;
  animation: originBubbleFloat 2.4s ease-in-out infinite;
}

.predial-origin-bubble::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 50%;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-left: 2px solid rgba(0, 87, 255, 0.18);
  border-bottom: 2px solid rgba(0, 87, 255, 0.18);
  transform: translateY(-50%) rotate(45deg);
  border-radius: 3px;
}

.predial-origin-bubble small {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0057ff;
  opacity: 1;
}

.predial-origin-bubble strong {
  display: block;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.1;
  color: #071a3d;
}

@keyframes originBubbleFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* ===============================
   MODAL ORIGEN DEL PREDIAL
================================ */

.origin-predial-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.origin-predial-modal.is-open {
  display: flex;
}

.origin-predial-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 24, 56, 0.62);
  backdrop-filter: blur(8px);
}

.origin-predial-modal-content {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background:
    radial-gradient(
      circle at top left,
      rgba(0, 87, 255, 0.14),
      transparent 36%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(0, 229, 255, 0.12),
      transparent 34%
    ),
    linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
  border-radius: 34px;
  padding: 38px;
  box-shadow: 0 30px 80px rgba(0, 37, 105, 0.28);
  border: 1px solid rgba(0, 87, 255, 0.12);
  animation: originModalIn 0.32s ease both;
}

.origin-predial-modal-content::-webkit-scrollbar {
  width: 8px;
}

.origin-predial-modal-content::-webkit-scrollbar-track {
  background: transparent;
}

.origin-predial-modal-content::-webkit-scrollbar-thumb {
  background: rgba(0, 87, 255, 0.28);
  border-radius: 999px;
}

@keyframes originModalIn {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(16px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.origin-predial-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #0057ff;
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 87, 255, 0.28);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.origin-predial-modal-close:hover {
  transform: scale(1.08);
  background: #003fc0;
  box-shadow: 0 16px 30px rgba(0, 87, 255, 0.34);
}

.origin-predial-modal-header {
  max-width: 720px;
  margin-bottom: 26px;
  padding-right: 48px;
}

.origin-predial-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 87, 255, 0.1);
  color: #0057ff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.origin-predial-modal-header h2 {
  margin: 16px 0 10px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
  color: #071a3d;
  letter-spacing: -0.05em;
}

.origin-predial-modal-header h2 strong {
  color: #0057ff;
}

.origin-predial-modal-header p {
  font-size: 17px;
  line-height: 1.7;
  color: #40506a;
  margin: 0;
}

/* ===============================
   CONTENIDO DEL MODAL
================================ */

.origin-predial-history {
  display: grid;
  gap: 16px;
}

.origin-predial-point {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 87, 255, 0.13);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 16px 34px rgba(0, 87, 255, 0.08);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.origin-predial-point:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(0, 87, 255, 0.13);
}

.origin-predial-point span {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #0057ff;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: 0 12px 20px rgba(0, 87, 255, 0.24);
}

.origin-predial-point h3 {
  margin: 0 0 6px;
  color: #071a3d;
  font-size: 20px;
  font-weight: 900;
}

.origin-predial-point p {
  margin: 0;
  color: #40506a;
  line-height: 1.65;
  font-size: 15.5px;
}

.origin-predial-modal-footer {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 22px;
  background: #0057ff;
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(0, 87, 255, 0.24);
}

.origin-predial-modal-footer p {
  margin: 0;
  line-height: 1.6;
  font-size: 16px;
  font-weight: 600;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 768px) {
  .predial-origin-trigger {
    --origin-move: 10px;
    padding: 10px;
  }

  .predial-origin-trigger img {
    width: 130px;
  }

  .predial-origin-bubble {
    top: -16px;
    right: -62px;
    min-width: 128px;
    padding: 9px 11px;
  }

  .predial-origin-bubble small {
    font-size: 9px;
  }

  .predial-origin-bubble strong {
    font-size: 12px;
  }

  .origin-predial-modal {
    padding: 14px;
  }

  .origin-predial-modal-content {
    border-radius: 26px;
    padding: 30px 18px 22px;
    max-height: 90vh;
  }

  .origin-predial-modal-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
  }

  .origin-predial-modal-header {
    padding-right: 42px;
    margin-bottom: 22px;
  }

  .origin-predial-modal-header h2 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .origin-predial-modal-header p {
    font-size: 15.5px;
  }

  .origin-predial-point {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px;
  }

  .origin-predial-point span {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .origin-predial-point h3 {
    font-size: 18px;
  }

  .origin-predial-point p {
    font-size: 14.5px;
  }
}

@media (max-width: 420px) {
  .predial-origin-trigger {
    overflow: visible;
    transform: none;
    padding: 12px 8px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .predial-origin-trigger img {
    width: 140px;
    max-width: 100%;
    position: static;
    left: auto;
    transform: none;
    margin: 0 auto;
  }

  .predial-origin-trigger:hover {
    transform: none;
  }

  .predial-origin-trigger:hover img {
    transform: scale(1.05);
  }

  .predial-origin-bubble {
    position: relative;
    right: auto;
    top: auto;
    left: auto;
    transform: none;
    margin: 10px auto 0;
    min-width: auto;
    width: min(82%, 190px);
    padding: 10px 12px;
    text-align: center;
  }

  .predial-origin-bubble::before {
    display: none;
  }

  