:root {
  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-200: #bae6fd;
  --sky-300: #7dd3fc;
  --aqua: #06b6d4;
  --aqua2: #0891b2;
  --aqua3: #0e7490;
  --blue: #2563eb;
  --blue2: #1d4ed8;
  --blue-light: #dbeafe;
  --teal: #14b8a6;
  --teal2: #0f766e;
  --white: #ffffff;
  --ink: #0c2340;
  --ink2: #1e3a5f;
  --gray: #64748b;
  --gray2: #94a3b8;
  --light: #f8fbff;
  --border: #e2edf7;
  --radius: 18px;
  --shadow-sm: 0 2px 12px rgba(14, 116, 144, 0.08);
  --shadow: 0 8px 32px rgba(14, 116, 144, 0.12);
  --shadow-xl: 0 20px 60px rgba(14, 116, 144, 0.18);
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background: var(--light);
  color: var(--ink);
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: "Fraunces", sans-serif;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 70px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(6, 182, 212, 0.12);
  box-shadow: 0 2px 20px rgba(6, 182, 212, 0.08);
  transition: all 0.3s;
}
.nav-logo {
  font-family: "Fraunces", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.5px;
}
.logo-bubble {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--aqua), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.35);
}
.nav-logo em {
  font-style: normal;
  color: var(--aqua);
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--aqua);
}
.nav-cta {
  background: linear-gradient(135deg, var(--aqua), var(--blue)) !important;
  color: white !important;
  padding: 10px 22px;
  border-radius: 9px;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3);
  transition:
    transform 0.2s,
    box-shadow 0.2s !important;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.4) !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: 0.3s;
}

/* ── HERO ── */

#hero {
  min-height: 100vh;
  padding-top: 70px;
  background: linear-gradient(160deg, #f0f9ff 0%, #e0f2fe 40%, #dbeafe 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
#hero {
  background-image: url(../img/condominio_bg.jpg);
  background-size: cover;
  padding-top: 90px;
  min-height: 700px;
  color: var(--white-color);
}

.hero-blob1 {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(6, 182, 212, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.hero-blob2 {
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.hero-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(
    circle,
    rgba(6, 182, 212, 0.18) 1.5px,
    transparent 1.5px
  );
  background-size: 36px 36px;
  opacity: 0.6;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px 5vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgb(250, 250, 250);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--aqua2);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 22px;
  animation: fadeUp 0.6s ease forwards;
}
.dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue2);
  animation: blink 1.4s infinite;
}
@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}
.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--sky-100);
  margin-bottom: 22px;
  animation: fadeUp 0.7s 0.1s ease both;
}
.hero-title em {
  font-style: normal;
  color: var(--aqua);
}
.hero-title .accent {
  background: linear-gradient(90deg, var(--aqua), var(--white));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 2.08rem;
  font-weight: 900;
  line-height: 1.75;
  color: var(--white);
  max-width: 470px;
  margin-bottom: 38px;
  animation: fadeUp 0.7s 0.2s ease both;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s 0.3s ease both;
}
.btn-grad {
  background: linear-gradient(135deg, var(--aqua), var(--blue));
  color: white;
  padding: 14px 30px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 0.97rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: "Plus Jakarta Sans", sans-serif;
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.3);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-grad:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(6, 182, 212, 0.4);
}
.btn-outline {
  background: white;
  border: 2px solid var(--border);
  color: var(--ink);
  padding: 14px 28px;
  border-radius: 11px;
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
  cursor: pointer;
  font-family: "Plus Jakarta Sans", sans-serif;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  border-color: var(--aqua);
  color: var(--aqua);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.15);
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
  animation: fadeUp 0.7s 0.4s ease both;
}
.trust-avatars {
  display: flex;
}
.trust-avatars span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2.5px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin-left: -8px;
  background: var(--sky-100);
}
.trust-avatars span:first-child {
  margin-left: 0;
}
.trust-text {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.4;
}
.trust-text strong {
  color: var(--ink);
  font-weight: 700;
}
.stars {
  color: #f59e0b;
  font-size: 0.8rem;
  display: block;
}

/* ── HERO CARD ── */
.hero-visual {
  position: relative;
  animation: fadeUp 0.8s 0.2s ease both;
}
.dash-card {
  background: white;
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  position: relative;
}
.dash-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.dash-title-group {
}
.dash-main-title {
  font-family: "Fraunces", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
}
.dash-sub {
  font-size: 0.75rem;
  color: var(--gray2);
  margin-top: 2px;
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  animation: blink 2s infinite;
}
.kpi-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.kpi {
  background: var(--sky-50);
  border-radius: 14px;
  padding: 14px 12px;
  border: 1px solid var(--sky-100);
  text-align: center;
}
.kpi-val {
  font-family: "Fraunces", sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--ink);
}
.kpi-lbl {
  font-size: 0.68rem;
  color: var(--gray2);
  margin-top: 3px;
  letter-spacing: 0.2px;
}
.kpi-delta {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
  margin-top: 5px;
  display: inline-block;
}
.up {
  background: rgba(20, 184, 166, 0.12);
  color: var(--teal2);
}
.dn {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}
.chart-area {
  background: var(--sky-50);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 14px;
  border: 1px solid var(--sky-100);
}
.chart-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 54px;
}
.bar {
  flex: 1;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--aqua), var(--blue));
  opacity: 0.7;
  transition: opacity 0.3s;
}
.bar:hover {
  opacity: 1;
}
.bar.active {
  opacity: 1;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}
.bar-labels {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.bar-labels span {
  flex: 1;
  text-align: center;
  font-size: 0.65rem;
  color: var(--gray2);
}
.activity-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.act-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--sky-50);
  border-radius: 10px;
  padding: 9px 12px;
  border: 1px solid var(--sky-100);
}
.act-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.act-info {
  flex: 1;
}
.act-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}
.act-time {
  font-size: 0.7rem;
  color: var(--gray2);
}
.act-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  white-space: nowrap;
}
.badge-teal {
  background: rgba(20, 184, 166, 0.12);
  color: var(--teal2);
}
.badge-blue {
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue2);
}
.badge-orange {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

.float-pill {
  position: absolute;
  background: white;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  animation: levitate 4s ease-in-out infinite;
}
@keyframes levitate {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
.fp-top {
  top: -68px;
  right: 130px;
  animation-delay: 0s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fp-bot {
  bottom: -16px;
  left: -24px;
  animation-delay: 2s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fp-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.fp-val {
  font-family: "Fraunces", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}
.fp-lbl {
  font-size: 0.7rem;
  color: var(--gray2);
  margin-top: 1px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── SECTIONS ── */
section {
  padding: 96px 5vw;
}
.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  color: var(--aqua2);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 900;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 14px;
}
.section-title em {
  font-style: normal;
  color: var(--aqua);
}
.section-title .grad {
  background: linear-gradient(135deg, var(--blue), var(--aqua));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray);
  max-width: 540px;
}
.section-header {
  margin-bottom: 56px;
}
.ctr {
  text-align: center;
}
.ctr .section-sub {
  margin: 0 auto;
}

/* ── OFERTA ── */
#oferta {
  background: white;
}
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
}
.mod-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
}
.mod-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--aqua);
}
.mod-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.mod-body {
  padding: 22px;
}
.mod-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 11px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.mod-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 7px;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.mod-desc {
  font-size: 0.87rem;
  line-height: 1.6;
  color: var(--gray);
}
.mod-feats {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mod-feat {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--ink);
}
.mod-feat::before {
  content: "✓";
  color: var(--teal);
  font-weight: 800;
  font-size: 0.75rem;
}

/* ── SOLUCIONES ── */
#soluciones {
  background: linear-gradient(150deg, #f0f9ff 0%, #e0f2fe 50%, #dbeafe 100%);
  position: relative;
  overflow: hidden;
}
#soluciones::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(6, 182, 212, 0.12) 0%,
    transparent 70%
  );
}
.solutions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.sol-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.sol-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--aqua), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.sol-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(6, 182, 212, 0.3);
}
.sol-card:hover::before {
  transform: scaleX(1);
}
.sol-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.prob-row,
.sol-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 12px;
}
.prob-row {
  margin-bottom: 14px;
}
.lbl-prob {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
  white-space: nowrap;
  margin-top: 2px;
}
.lbl-sol {
  background: rgba(20, 184, 166, 0.1);
  color: var(--teal2);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
  white-space: nowrap;
  margin-top: 2px;
}
.prob-row p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.6;
}
.sol-row p {
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.6;
  font-weight: 500;
}

/* ── PRECIOS ── */
#precios {
  background: white;
}
.bill-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}
.bill-lbl {
  font-size: 0.9rem;
  color: var(--gray);
  font-weight: 500;
}
.tog-wrap {
  position: relative;
  width: 46px;
  height: 25px;
  cursor: pointer;
}
.tog-wrap input {
  display: none;
}
.tog-track {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--aqua), var(--blue));
  border-radius: 100px;
  transition: opacity 0.2s;
}
.tog-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 19px;
  height: 19px;
  background: white;
  border-radius: 50%;
  transition: transform 0.25s;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.tog-wrap input:checked ~ .tog-thumb {
  transform: translateX(21px);
}
.save-chip {
  background: linear-gradient(135deg, var(--teal), var(--aqua));
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 11px;
  border-radius: 100px;
  letter-spacing: 0.3px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.plan-card {
  background: var(--sky-50);
  border: 2px solid var(--border);
  border-radius: 22px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
  position: relative;
}
.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}
.plan-card.hot {
  background: linear-gradient(160deg, #0c2340, #1e3a5f);
  border-color: var(--aqua);
  transform: scale(1.03);
}
.plan-card.hot:hover {
  transform: scale(1.03) translateY(-5px);
}
.hot-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--aqua), var(--blue));
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 18px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.4);
}
.plan-name {
  font-family: "Fraunces", sans-serif;
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 7px;
  color: var(--ink);
}
.plan-card.hot .plan-name {
  color: white;
}
.plan-desc {
  font-size: 0.86rem;
  color: var(--gray);
  margin-bottom: 24px;
  line-height: 1.55;
}
.plan-card.hot .plan-desc {
  color: rgba(255, 255, 255, 0.55);
}
.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  margin-bottom: 24px;
}
.p-cur {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray2);
  padding-bottom: 5px;
}
.plan-card.hot .p-cur {
  color: rgba(255, 255, 255, 0.5);
}
.p-num {
  font-family: "Fraunces", sans-serif;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: var(--ink);
}
.plan-card.hot .p-num {
  color: white;
}
.p-per {
  font-size: 0.82rem;
  color: var(--gray2);
  padding-bottom: 7px;
}
.plan-card.hot .p-per {
  color: rgba(255, 255, 255, 0.45);
}
.p-units {
  font-size: 0.8rem;
  color: var(--aqua);
  font-weight: 700;
  margin-top: 3px;
}
.p-div {
  height: 1px;
  background: var(--border);
  margin: 0 0 22px;
}
.plan-card.hot .p-div {
  background: rgba(255, 255, 255, 0.12);
}
.plan-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}
.plan-feats li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.86rem;
  color: var(--ink);
  line-height: 1.4;
}
.plan-card.hot .plan-feats li {
  color: rgba(255, 255, 255, 0.82);
}
.plan-feats li .ck {
  color: var(--teal);
  font-weight: 800;
}
.plan-feats li .xt {
  color: var(--gray2);
  font-weight: 700;
}
.plan-btn {
  margin-top: 26px;
  width: 100%;
  padding: 13px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  font-family: "Plus Jakarta Sans", sans-serif;
  transition: all 0.2s;
  text-decoration: none;
  display: block;
  text-align: center;
}
.p-btn-o {
  background: transparent;
  border: 2px solid var(--aqua) !important;
  color: var(--aqua);
}
.p-btn-o:hover {
  background: var(--aqua);
  color: white;
}
.p-btn-f {
  background: linear-gradient(135deg, var(--aqua), var(--blue));
  color: white;
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.35);
}
.p-btn-f:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(6, 182, 212, 0.45);
}

/* ── PRUEBA ── */
#prueba {
  background: linear-gradient(150deg, #e0f2fe 0%, #dbeafe 60%, #ede9fe 100%);
  position: relative;
  overflow: hidden;
}
#prueba::before {
  content: "";
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.1) 0%,
    transparent 70%
  );
}
.trial-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: start;
}
.perks-list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.perk {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}
.perk-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: white;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.perk-t {
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--ink);
  margin-bottom: 2px;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.perk-d {
  font-size: 0.83rem;
  color: var(--gray);
  line-height: 1.55;
}

.form-card {
  background: white;
  border-radius: 24px;
  padding: 38px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}
.form-card-title {
  font-family: "Fraunces", sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 5px;
}
.form-card-sub {
  font-size: 0.86rem;
  color: var(--gray);
  margin-bottom: 26px;
}
.fg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.ff {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ff.span2 {
  grid-column: 1/-1;
}
.flbl {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.3px;
}
.finp,
.fsel,
.ftxt {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.88rem;
  color: var(--ink);
  background: var(--sky-50);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  outline: none;
  width: 100%;
}
.finp:focus,
.fsel:focus,
.ftxt:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.12);
}
.ftxt {
  resize: vertical;
  min-height: 76px;
}
.dur-opts {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}
.d-opt {
  flex: 1;
}
.d-opt input[type="radio"] {
  display: none;
}
.d-opt label {
  display: block;
  text-align: center;
  padding: 9px;
  border-radius: 9px;
  border: 2px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--gray);
  background: var(--sky-50);
}
.d-opt input:checked + label {
  border-color: var(--aqua);
  background: rgba(6, 182, 212, 0.08);
  color: var(--aqua2);
}
.fsubmit {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 11px;
  margin-top: 6px;
  background: linear-gradient(135deg, var(--aqua), var(--blue));
  color: white;
  font-weight: 800;
  font-size: 0.97rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.3);
}
.fsubmit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.4);
}
.fnote {
  text-align: center;
  font-size: 0.76rem;
  color: var(--gray2);
  margin-top: 10px;
}
.success-box {
  display: none;
  background: rgba(20, 184, 166, 0.08);
  border: 1.5px solid var(--teal);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--teal2);
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: 12px;
  text-align: center;
}
.success-box.show {
  display: block;
  animation: fadeUp 0.4s ease;
}
.success-box.error {
  background: rgba(190, 44, 44, 0.092);
  border: 1.5px solid #dc2626;
  color: #dc2626;
}

/* ── CONTACTO ── */
#contacto {
  background: var(--sky-50);
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: start;
}
.channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
.ch-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: white;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}
.ch-card:hover {
  transform: translateX(5px);
  border-color: var(--aqua);
  box-shadow: var(--shadow);
}
.ch-ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.c-wa {
  background: rgba(37, 211, 102, 0.1);
}
.c-fb {
  background: rgba(66, 103, 178, 0.1);
}
.c-ig {
  background: rgba(225, 48, 108, 0.1);
}
.c-yt {
  background: rgba(255, 0, 0, 0.1);
}
.ch-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", sans-serif;
}
.ch-sub {
  font-size: 0.79rem;
  color: var(--gray2);
  margin-top: 1px;
}
.ch-arrow {
  margin-left: auto;
  color: var(--gray2);
  transition:
    transform 0.2s,
    color 0.2s;
}
.ch-card:hover .ch-arrow {
  transform: translateX(4px);
  color: var(--aqua);
}

.cform-card {
  background: white;
  border-radius: 22px;
  padding: 36px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow);
}
.cform-title {
  font-family: "Fraunces", sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 5px;
}
.cform-sub {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 24px;
}
.csub-btn {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ink), var(--ink2));
  color: white;
  font-weight: 700;
  font-size: 0.92rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  cursor: pointer;
  transition: all 0.2s;
}
.csub-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(12, 35, 64, 0.22);
}

/* ── FOOTER ── */
footer {
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink2) 100%);
  padding: 64px 5vw 28px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 28px;
}
.footer-logo {
  font-family: "Fraunces", sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  text-decoration: none;
}
.footer-logo em {
  font-style: normal;
  color: var(--aqua);
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 270px;
}
.fsoc {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.fsoc a {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.fsoc a:hover {
  background: rgba(6, 182, 212, 0.25);
}
.fcol h4 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: white;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}
.fcol ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.fcol ul a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: 0.84rem;
  transition: color 0.2s;
}
.fcol ul a:hover {
  color: var(--aqua);
}
.footer-bot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 10px;
}
.tech-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tbadge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 0.72rem;
}

/* ── WA FLOAT ── */
.wa-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  animation: wap 2.5s ease-in-out infinite;
  transition: transform 0.2s;
}
.wa-btn:hover {
  transform: scale(1.12);
}
@keyframes wap {
  0%,
  100% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 6px 36px rgba(37, 211, 102, 0.65);
  }
}

/* ── REVEAL ── */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.rv.in {
  opacity: 1;
  transform: none;
}
.d1 {
  transition-delay: 0.1s;
}
.d2 {
  transition-delay: 0.2s;
}
.d3 {
  transition-delay: 0.3s;
}
.d4 {
  transition-delay: 0.4s;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    padding: 22px 5vw;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(6, 182, 212, 0.1);
  }
  .hamburger {
    display: flex;
  }
  .hero-content {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    display: none;
  }
  .solutions-grid,
  .pricing-grid,
  .trial-wrap,
  .contact-wrap {
    grid-template-columns: 1fr;
  }
  .plan-card.hot {
    transform: none;
  }
  .plan-card.hot:hover {
    transform: translateY(-5px);
  }
  section {
    padding: 72px 5vw;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .fg {
    grid-template-columns: 1fr;
  }
  .ff.span2 {
    grid-column: auto;
  }
}
@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .modules-grid {
    grid-template-columns: 1fr;
  }
}

/*-- ═══════════════════════════════════════════
     NUEVOS ESTILOS: efectos hover/scroll, WA lateral, Chat IA
═══════════════════════════════════════════ -*/

/* ── PARALLAX & SCROLL EFFECTS ── */
.parallax-bg {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* Efecto tilt 3D en tarjetas */
.tilt-card {
  transform-style: preserve-3d;
  transition:
    transform 0.15s ease,
    box-shadow 0.3s ease;
  cursor: default;
}

/* Ripple al hacer click */
.ripple-host {
  position: relative;
  overflow: hidden;
}
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.25);
  transform: scale(0);
  animation: rippleAnim 0.6s ease-out forwards;
  pointer-events: none;
}
@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Shimmer en module-thumb al hover */
.mod-card .mod-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.55s ease;
}
.mod-card:hover .mod-thumb::after {
  transform: translateX(100%);
}

/* Glow ring en tarjetas módulo */
.mod-card {
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.3s;
}
.mod-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 24px 64px rgba(6, 182, 212, 0.22),
    0 0 0 2px rgba(6, 182, 212, 0.3);
  border-color: var(--aqua);
}

/* Tarjetas solución – glow color */
.sol-card {
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.3s;
}
.sol-card:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 20px 50px rgba(6, 182, 212, 0.18);
  border-color: rgba(6, 182, 212, 0.4);
}

/* Plan cards – lift + glow */
.plan-card {
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}
.plan-card:not(.hot):hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 70px rgba(6, 182, 212, 0.2);
}
.plan-card.hot:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow: 0 32px 80px rgba(6, 182, 212, 0.3);
}

/* Channel cards – slide + glow */
.ch-card {
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    border-color 0.3s;
}
.ch-card:hover {
  transform: translateX(10px) scale(1.01);
  box-shadow: 0 12px 36px rgba(6, 182, 212, 0.18);
}

/* Float pills extra animation */
.float-pill {
  animation: levitate 4s ease-in-out infinite;
}
.fp-top {
  animation-delay: 0s;
}
.fp-bot {
  animation-delay: 2s;
}

/* KPI cards pulse on hover */
.kpi {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s;
  cursor: default;
}
.kpi:hover {
  transform: scale(1.07);
  background: rgba(6, 182, 212, 0.1);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.18);
}

/* Activity items hover */
.act-item {
  transition:
    transform 0.22s ease,
    background 0.22s,
    box-shadow 0.22s;
  cursor: default;
}
.act-item:hover {
  background: rgba(6, 182, 212, 0.07);
  transform: translateX(5px);
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.12);
}

/* Module features tick reveal */
.mod-feat {
  opacity: 0.75;
  transform: translateX(-6px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    color 0.2s;
}
.mod-card:hover .mod-feat {
  opacity: 1;
  transform: translateX(0);
}
.mod-card:hover .mod-feat:nth-child(1) {
  transition-delay: 0.04s;
}
.mod-card:hover .mod-feat:nth-child(2) {
  transition-delay: 0.08s;
}
.mod-card:hover .mod-feat:nth-child(3) {
  transition-delay: 0.12s;
}
.mod-card:hover .mod-feat:nth-child(4) {
  transition-delay: 0.16s;
}

/* Section heading underline draw */
.section-title {
  position: relative;
  display: inline-block;
}
.ul-draw::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--aqua), var(--blue));
  border-radius: 100px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.ul-draw.in-view::after {
  transform: scaleX(1);
}

/* Hero title letter animation */
.hero-title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px) rotateX(-90deg);
  animation: charIn 0.5s ease forwards;
}
@keyframes charIn {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

/* Scroll progress bar */
#scroll-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--aqua), var(--blue));
  transition: width 0.1s linear;
  border-radius: 0 3px 3px 0;
}

/* ── WA SIDEBAR BUTTON ── */
#wa-side {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.wa-side-track {
  display: flex;
  align-items: center;
  gap: 0;
  background: #25d366;
  border-radius: 14px 0 0 14px;
  box-shadow: -4px 4px 24px rgba(37, 211, 102, 0.4);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  max-width: 52px;
}
.wa-side-track:hover {
  max-width: 230px;
  box-shadow: -6px 6px 32px rgba(37, 211, 102, 0.55);
}
.wa-side-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
}
.wa-side-label {
  white-space: nowrap;
  overflow: hidden;
  color: white;
  font-weight: 700;
  font-size: 0.88rem;
  padding-right: 16px;
  opacity: 0;
  transition: opacity 0.3s 0.1s;
}
.wa-side-track:hover .wa-side-label {
  opacity: 1;
}
.wa-side-ping {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ff4444;
  border: 2px solid white;
  animation: pingAnim 1.5s infinite;
}
@keyframes pingAnim {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
    box-shadow: 0 0 0 4px rgba(255, 68, 68, 0.3);
  }
}
.wa-side-wrap {
  position: relative;
}

/* ── AI CHAT ── */
#chat-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1100;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--aqua), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 6px 28px rgba(6, 182, 212, 0.45);
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s;
  border: none;
  outline: none;
}
#chat-fab:hover {
  transform: scale(1.12) rotate(-8deg);
  box-shadow: 0 12px 36px rgba(6, 182, 212, 0.55);
}
#chat-fab.open {
  transform: rotate(45deg) scale(1.05);
  background: linear-gradient(135deg, #ef4444, #b91c1c);
}
.chat-notif {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f59e0b;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: white;
  animation: pingAnim 2s infinite;
}

#chat-window {
  position: fixed;
  bottom: 100px;
  right: 28px;
  z-index: 1099;
  width: 370px;
  height: 520px;
  background: white;
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(12, 35, 64, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  transform: scale(0.85) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s;
}
#chat-window.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.chat-header {
  background: linear-gradient(135deg, var(--aqua), var(--blue));
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 2px solid rgba(255, 255, 255, 0.4);
  position: relative;
}
.chat-online {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid white;
}
.chat-header-info {
}
.chat-bot-name {
  font-family: "Fraunces", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: white;
}
.chat-bot-status {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1px;
}
.chat-header-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
}
.chat-header-actions button {
  background: rgba(255, 255, 255, 0.18);
  border: none;
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  color: white;
  font-size: 0.8rem;
  transition: background 0.2s;
}
.chat-header-actions button:hover {
  background: rgba(255, 255, 255, 0.3);
}

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f8fbff;
}
.chat-body::-webkit-scrollbar {
  width: 4px;
}
.chat-body::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.chat-msg {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  max-width: 90%;
}
.chat-msg.bot {
  align-self: flex-start;
}
.chat-msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.msg-av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--aqua), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}
.msg-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.86rem;
  line-height: 1.5;
  max-width: 240px;
  word-break: break-word;
}
.bot .msg-bubble {
  background: white;
  color: var(--ink);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(6, 182, 212, 0.08);
}
.user .msg-bubble {
  background: linear-gradient(135deg, var(--aqua), var(--blue));
  color: white;
  border-bottom-right-radius: 4px;
}
.msg-time {
  font-size: 0.68rem;
  color: var(--gray2);
  margin-top: 3px;
  text-align: right;
}
.bot .msg-time {
  text-align: left;
}

/* Quick replies */
.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 16px 10px;
  background: #f8fbff;
}
.qr-btn {
  background: white;
  border: 1.5px solid var(--aqua);
  color: var(--aqua2);
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  font-family: "Plus Jakarta Sans", sans-serif;
  transition: all 0.2s;
}
.qr-btn:hover {
  background: var(--aqua);
  color: white;
  transform: translateY(-2px);
}

/* Typing indicator */
.typing-dots {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 10px 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  width: fit-content;
}
.typing-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aqua);
  animation: dotBounce 1.2s infinite;
}
.typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes dotBounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-6px);
  }
}

.chat-footer {
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  align-items: flex-end;
  background: white;
  flex-shrink: 0;
}
#chat-input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 9px 14px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.87rem;
  color: var(--ink);
  background: var(--sky-50);
  resize: none;
  outline: none;
  min-height: 38px;
  max-height: 100px;
  transition: border-color 0.2s;
}
#chat-input:focus {
  border-color: var(--aqua);
}
#chat-send {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--aqua), var(--blue));
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}
#chat-send:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(6, 182, 212, 0.4);
}

/* ── TOOLTIP en botones ── */
[data-tip] {
  position: relative;
}
[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  transform-origin: bottom;
  background: var(--ink);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 7px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
[data-tip]:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* Blobs animados en hero */
.hero-blob1 {
  animation: blobMove1 8s ease-in-out infinite;
}
.hero-blob2 {
  animation: blobMove2 10s ease-in-out infinite;
}
@keyframes blobMove1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-30px, 20px) scale(1.05);
  }
  66% {
    transform: translate(20px, -15px) scale(0.95);
  }
}
@keyframes blobMove2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(25px, -20px) scale(1.08);
  }
}

/* Hover en hero visual dash-card */
.dash-card {
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s;
}
.dash-card:hover {
  transform: translateY(-6px) rotateY(1.5deg) rotateX(1deg);
  box-shadow: 0 32px 80px rgba(6, 182, 212, 0.22);
}

/* Counter animation */
.count-up {
  transition: all 0.3s;
}

/* Perk hover */
.perk {
  transition: transform 0.25s ease;
  border-radius: 12px;
  padding: 8px;
  margin: -8px;
}
.perk:hover {
  transform: translateX(6px);
}

/* Mobile chat */
@media (max-width: 520px) {
  #chat-window {
    width: calc(100vw - 24px);
    right: 12px;
    bottom: 90px;
    height: 460px;
  }
}

/* ======================0000 The Modal (background) */

/* ── CHECKBOX ROW ── */
.privacy-row {
  margin: 14px 0 4px;
  padding: 14px 16px;
  background: var(--sky-50);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  transition:
    border-color 0.25s,
    background 0.25s;
}
.privacy-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
.custom-check-wrap {
  flex-shrink: 0;
  padding-top: 1px;
}
.custom-check-wrap input[type="checkbox"] {
  display: none;
}
.custom-check {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 2px solid var(--border);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
}
.check-tick {
  font-size: 0.8rem;
  font-weight: 900;
  color: white;
  opacity: 0;
  transform: scale(0) rotate(-20deg);
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.custom-check-wrap input:checked ~ .custom-check {
  background: linear-gradient(135deg, var(--teal), var(--aqua));
  border-color: var(--teal);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.35);
  transform: scale(1.08);
}
.custom-check-wrap input:checked ~ .custom-check .check-tick {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
.privacy-text {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.55;
}
.privacy-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--aqua2);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  font-family: "Plus Jakarta Sans", sans-serif;
  transition: color 0.2s;
}
.privacy-link:hover {
  color: var(--blue);
}
.privacy-error {
  display: none;
  margin-top: 8px;
  font-size: 0.78rem;
  color: #dc2626;
  font-weight: 600;
}
.privacy-error.show {
  display: block;
  animation: fadeUp 0.3s ease;
}
.privacy-row.accepted {
  border-color: var(--teal);
  background: rgba(20, 184, 166, 0.06);
}

/* ── MODAL ── */
#privacyModal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#privacyModal.open {
  opacity: 1;
  pointer-events: all;
}
.pm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 35, 64, 0.6);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.pm-box {
  position: relative;
  z-index: 1;
  background: white;
  border-radius: 24px;
  width: 100%;
  max-width: 680px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 100px rgba(12, 35, 64, 0.28);
  border: 1px solid var(--border);
  transform: scale(0.92) translateY(24px);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}
#privacyModal.open .pm-box {
  transform: scale(1) translateY(0);
}
.pm-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 26px;
  background: linear-gradient(135deg, var(--aqua), var(--blue));
  flex-shrink: 0;
}
.pm-header-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}
.pm-title {
  font-family: "Fraunces", sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: white;
  margin-bottom: 2px;
}
.pm-subtitle {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
}
.pm-close {
  margin-left: auto;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.pm-close:hover {
  background: rgba(255, 255, 255, 0.32);
}
.pm-body {
  flex: 1;
  overflow-y: auto;
  padding: 28px 30px;
  scroll-behavior: smooth;
}
.pm-body::-webkit-scrollbar {
  width: 5px;
}
.pm-body::-webkit-scrollbar-track {
  background: var(--sky-50);
}
.pm-body::-webkit-scrollbar-thumb {
  background: var(--aqua);
  border-radius: 10px;
}
.pm-section {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.pm-section-last {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.pm-section h3 {
  font-family: "Fraunces", sans-serif;
  font-size: 1rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pm-section h3::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--aqua), var(--blue));
  display: inline-block;
  flex-shrink: 0;
}
.pm-section p {
  font-size: 0.87rem;
  line-height: 1.7;
  color: var(--gray);
  margin-bottom: 8px;
}
.pm-section p:last-child {
  margin-bottom: 0;
}
.pm-section ul {
  margin: 8px 0 10px 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pm-section ul li {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--gray);
}
.pm-section a {
  color: var(--aqua2);
  font-weight: 600;
}
.pm-section a:hover {
  color: var(--blue);
}
.pm-footer {
  padding: 14px 26px 20px;
  border-top: 1px solid var(--border);
  background: var(--sky-50);
  flex-shrink: 0;
}
.pm-read-bar {
  height: 4px;
  background: var(--border);
  border-radius: 100px;
  margin-bottom: 12px;
  overflow: hidden;
}
.pm-read-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--aqua));
  border-radius: 100px;
  transition: width 0.15s linear;
}
.pm-scroll-hint {
  text-align: center;
  font-size: 0.76rem;
  color: var(--gray2);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: opacity 0.4s;
}
.pm-scroll-hint.hidden {
  opacity: 0;
  pointer-events: none;
}
.pm-hint-arrow {
  animation: arrowBounce 1.2s ease-in-out infinite;
  display: inline-block;
  font-size: 0.9rem;
}
@keyframes arrowBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}
.pm-footer-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.pm-btn-cancel {
  padding: 11px 22px;
  border-radius: 10px;
  background: white;
  border: 1.5px solid var(--border);
  color: var(--gray);
  font-weight: 600;
  font-size: 0.88rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  cursor: pointer;
  transition: all 0.2s;
}
.pm-btn-cancel:hover {
  border-color: var(--gray2);
  color: var(--ink);
}
.pm-btn-accept {
  padding: 11px 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--aqua));
  color: white;
  border: none;
  font-weight: 800;
  font-size: 0.9rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.3);
}
.pm-btn-accept:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: var(--gray2);
  box-shadow: none;
}
.pm-btn-accept:not(:disabled):hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 28px rgba(20, 184, 166, 0.45);
}
.confetti-piece {
  position: fixed;
  z-index: 3000;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  animation: confettiFall 1.3s ease-out forwards;
  pointer-events: none;
}
@keyframes confettiFall {
  0% {
    transform: translateY(-10px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(130px) rotate(400deg);
    opacity: 0;
  }
}
@keyframes shakeRow {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-7px);
  }
  40% {
    transform: translateX(7px);
  }
  60% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(4px);
  }
}
@media (max-width: 520px) {
  .pm-box {
    border-radius: 18px;
  }
  .pm-body {
    padding: 18px 16px;
  }
  .pm-header {
    padding: 16px 16px;
  }
  .pm-footer {
    padding: 12px 16px 16px;
  }
  .pm-footer-actions {
    flex-direction: column-reverse;
  }
  .pm-btn-accept,
  .pm-btn-cancel {
    width: 100%;
    justify-content: center;
  }
}
