:root {
  /* Modo Oscuro (por defecto) */
  --bg: #0b1320;
  --bg-gradient-1: rgba(79, 140, 255, .20);
  --bg-gradient-2: rgba(110, 231, 255, .12);
  --panel: rgba(255, 255, 255, .06);
  --panel-strong: rgba(255, 255, 255, .09);
  --border: rgba(255, 255, 255, .12);
  --text: rgba(255, 255, 255, .92);
  --muted: rgba(255, 255, 255, .78);
  --primary: #4f8cff;
  --primary-2: #6ee7ff;
  --primary-hover: #3d7ae8;
  --ring: rgba(79, 140, 255, .35);
  --radius: 20px;
  --shadow: rgba(0, 0, 0, .45);
  --shadow-light: rgba(0, 0, 0, .35);
  --glow: rgba(79, 140, 255, .18);
  --glow-2: rgba(110, 231, 255, .14);

  /* Forms */
  --input-bg: rgba(255, 255, 255, .05);
  --input-border: var(--border);
  --input-focus-bg: rgba(255, 255, 255, .06);

  /* Cards */
  --card-bg: rgba(255, 255, 255, .05);
  --card-border: var(--border);

  /* Navigation */
  --nav-offset: 84px;
}

/* Modo Claro - Paleta profesional revisada */
[data-theme="light"] {
  /* Background: Azul acero claro con gradientes vibrantes */
  --bg: #e5ebf2;
  --bg-gradient-1: rgba(79, 140, 255, .22);
  --bg-gradient-2: rgba(110, 231, 255, .16);

  /* Panels con glassmorphism más pronunciado */
  --panel: rgba(255, 255, 255, .65);
  --panel-strong: rgba(255, 255, 255, .80);

  /* Borders más definidos */
  --border: rgba(37, 99, 235, .15);

  /* Texto de alto contraste */
  --text: rgba(15, 23, 42, .95);
  --muted: rgba(51, 65, 85, .88);

  /* Primarios vibrantes con mejor saturación */
  --primary: #2563eb;
  --primary-2: #0ea5e9;
  --primary-hover: #1e40af;

  /* Anillos y efectos más visibles */
  --ring: rgba(37, 99, 235, .35);
  --shadow: rgba(15, 23, 42, .15);
  --shadow-light: rgba(15, 23, 42, .08);
  --glow: rgba(37, 99, 235, .25);
  --glow-2: rgba(14, 165, 233, .20);

  /* Forms con backdrop blur simulado */
  --input-bg: rgba(255, 255, 255, .90);
  --input-border: rgba(37, 99, 235, .20);
  --input-focus-bg: rgba(255, 255, 255, .98);

  /* Cards con glassmorphism premium */
  --card-bg: rgba(255, 255, 255, .75);
  --card-border: rgba(37, 99, 235, .18);
}

/* =========================
   BASE
   ========================= */
html,
body {
  background:
    radial-gradient(1200px 800px at 20% 10%, var(--bg-gradient-1), transparent 60%),
    radial-gradient(900px 600px at 80% 30%, var(--bg-gradient-2), transparent 55%),
    var(--bg);
  color: var(--text);
  transition: background-color 400ms ease, color 300ms ease;
}

a {
  color: inherit;
}

::selection {
  background: var(--primary-2);
  color: var(--bg);
}

.text-secondary {
  color: var(--muted) !important;
}

[data-theme="light"] .text-secondary {
  color: rgba(51, 65, 85, .90) !important;
}

.border-soft {
  border-color: var(--border) !important;
}

.shadow-soft {
  box-shadow: 0 20px 70px var(--shadow);
}

/* =========================
   FX CANVAS + GRAIN
   ========================= */
.fx-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: .85;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .06;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, .06), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, .05), transparent 45%),
    radial-gradient(circle at 40% 90%, rgba(255, 255, 255, .05), transparent 50%),
    repeating-linear-gradient(0deg,
      rgba(255, 255, 255, .04),
      rgba(255, 255, 255, .04) 1px,
      transparent 1px,
      transparent 3px);
  mix-blend-mode: overlay;
}

/* asegura contenido arriba del fondo */
header,
main {
  position: relative;
  z-index: 1;
}

/* =========================
   ACCESIBILIDAD
   ========================= */
.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  transform: translateY(-140%);
  opacity: 0;
  z-index: 9999;
  background: #fff;
  color: #000;
  padding: .6rem .9rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform .2s ease, opacity .2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  opacity: 1;
}

/* =========================
   NAVBAR (glass + blur)
   ========================= */
.glass-nav {
  background: rgba(11, 19, 32, .62);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background-color 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

[data-theme="light"] .glass-nav {
  background: rgba(229, 235, 242, .86);
  border-bottom-color: rgba(37, 99, 235, .18);
}

.glass-nav.is-scrolled {
  background: rgba(11, 19, 32, .84);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .24);
}

[data-theme="light"] .glass-nav.is-scrolled {
  background: rgba(229, 235, 242, .96);
  box-shadow: 0 12px 26px rgba(15, 23, 42, .14);
}

.navbar-toggler {
  border-color: rgba(57, 211, 83, .45);
  background: rgba(57, 211, 83, .08);
}

.navbar-toggler-icon {
  filter: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2857, 211, 83, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.6' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:hover,
.navbar-toggler:focus-visible {
  border-color: rgba(57, 211, 83, .72);
  background: rgba(57, 211, 83, .14);
  box-shadow: 0 0 0 .2rem rgba(57, 211, 83, .18);
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 30px rgba(79, 140, 255, .35);
}

.brand-logo {
  display: block;
  width: clamp(150px, 22vw, 200px);
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(79, 140, 255, .22));
}

.brand-logo--footer {
  width: clamp(170px, 24vw, 220px);
  filter: none;
  opacity: .96;
}

.navbar .nav-link.active {
  color: var(--primary-2) !important;
}

.navbar .nav-link {
  position: relative;
  color: var(--text) !important;
  opacity: .95;
  transition: color 200ms ease;
}

.navbar .nav-link:hover {
  color: var(--text);
  opacity: 1;
}

[data-theme="light"] .navbar .nav-link.active {
  color: var(--primary) !important;
}

.navbar .nav-link svg {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 0;
  vertical-align: middle;
  opacity: 0.95;
  transition: opacity 200ms ease;
}

.navbar .nav-link:hover svg {
  opacity: 1;
}

.navbar .nav-link.active svg {
  opacity: 1;
  color: var(--primary-2);
}

[data-theme="light"] .navbar .nav-link.active svg {
  color: var(--primary);
}

/* Asegura que las secciones ancladas se vean desde el inicio real */
main [id] {
  scroll-margin-top: var(--nav-offset);
}

/* =========================
   BADGES
   ========================= */
.badge-soft {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  padding: .5rem .75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--border);
  color: var(--muted);
  white-space: normal;
  text-wrap: balance;
}

.badge.text-bg-light,
.badge.bg-light,
.text-bg-light {
  background: rgba(255, 255, 255, .08) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
}

/* =========================
   HERO
   ========================= */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.hero::before {
  inset: 6% auto auto -14%;
  width: clamp(320px, 38vw, 620px);
  height: clamp(320px, 38vw, 620px);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(79, 140, 255, .26), rgba(79, 140, 255, 0) 72%);
  filter: blur(8px);
}

.hero-shell {
  position: relative;
}

.hero-cta {
  margin-top: 1.5rem;
}

.hero-cta .btn {
  min-height: 52px;
  font-size: 1.05rem;
}

.hero-cta .btn:hover {
  transform: translateY(-3px);
}

.hero-bg {
  position: absolute;
  inset: -40% -20%;
  background:
    radial-gradient(circle at 30% 35%, rgba(79, 140, 255, .18), transparent 50%),
    radial-gradient(circle at 60% 60%, rgba(110, 231, 255, .10), transparent 55%);
  filter: blur(18px);
  pointer-events: none;
}

/* =========================
   CARDS
   ========================= */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 8px 32px var(--shadow-light),
    0 2px 8px var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: all 220ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, var(--glow), transparent, var(--glow-2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow:
    0 24px 80px var(--shadow),
    0 12px 32px var(--glow),
    inset 0 1px 0 rgba(255, 255, 255, .35);
}

.card:hover::after {
  opacity: 0.6;
}

.card-hero {
  background: var(--card-bg);
  position: relative;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 20px 60px var(--shadow),
    0 8px 24px var(--glow),
    inset 0 2px 0 rgba(255, 255, 255, .2);
}

.card-hero .hero-card-sticker {
  position: absolute;
  top: 1rem;
  right: 1rem;
  isolation: isolate;
  padding: .42rem .68rem;
  font-size: .97rem;
  border-radius: 11px;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(37, 99, 235, .28);
}

.card-hero .hero-card-head {
  padding-right: 9.8rem;
}

.card-hero .hero-card-points {
  list-style: none;
  padding: 0;
  margin: .35rem 0 0;
  display: grid;
  gap: .2rem;
}

.card-hero .hero-card-points li {
  position: relative;
  padding-left: .95rem;
  line-height: 1.35;
}

.card-hero .hero-card-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 576px) {


  .card-hero .hero-card-sticker {
    top: .85rem;
    right: .85rem;
    padding: .4rem .65rem;
    font-size: .86rem;
  }

  .card-hero .hero-card-head {
    padding-right: 0;
    padding-top: 2rem;
  }

  .card-hero .hero-card-points {
    gap: .16rem;
  }
}

.card-hero::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius) + 3px);
  background: radial-gradient(600px 240px at 35% 0%, var(--glow), transparent 60%);
  opacity: .7;
  pointer-events: none;
  filter: blur(14px);
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {

  0%,
  100% {
    opacity: .7;
  }

  50% {
    opacity: .9;
  }
}

.results {
  background: var(--panel);
  border: 1px solid var(--border);
}

/* =========================
   BOTONES
   ========================= */
.btn {
  transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  border-color: transparent;
  box-shadow:
    0 10px 26px var(--glow),
    0 4px 12px var(--glow-2),
    inset 0 1px 0 rgba(255, 255, 255, .15);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, .1), transparent);
  opacity: 0;
  transition: opacity 220ms ease;
  z-index: 1;
  pointer-events: none;
}

.btn-primary>* {
  position: relative;
  z-index: 2;
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow:
    0 16px 40px var(--glow),
    0 8px 18px var(--glow-2),
    inset 0 1px 0 rgba(255, 255, 255, .2);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary:active {
  transform: translateY(0);
  transition: transform 80ms ease;
}

.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
.accordion-button:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 .25rem var(--ring) !important;
}

/* ✅ FIX CRÍTICO: btn-outline-light legible SIEMPRE */
.btn-outline-light {
  background: rgba(255, 255, 255, .03) !important;
  color: var(--text) !important;
  border-color: rgba(255, 255, 255, .26) !important;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
  background: rgba(255, 255, 255, .10) !important;
  color: var(--text) !important;
  border-color: rgba(110, 231, 255, .40) !important;
  transform: translateY(-2px) !important;
}

.btn-outline-light:active,
.btn-outline-light.active {
  background: rgba(255, 255, 255, .08) !important;
  color: var(--text) !important;
  transform: translateY(0) !important;
  transition: transform 80ms ease !important;
}

[data-theme="light"] .btn-outline-light {
  background: rgba(31, 72, 240, 0.08) !important;
  color: rgb(31, 72, 240) !important;
  border-color: rgb(31, 72, 240) !important;
}

[data-theme="light"] .btn-outline-light:hover,
[data-theme="light"] .btn-outline-light:focus-visible {
  background: rgba(31, 72, 240, 0.15) !important;
  color: rgb(31, 72, 240) !important;
  border-color: rgb(31, 72, 240) !important;
  transform: translateY(-2px) !important;
}

[data-theme="light"] .btn-outline-light:active,
[data-theme="light"] .btn-outline-light.active {
  background: rgba(31, 72, 240, 0.12) !important;
  color: rgb(31, 72, 240) !important;
  transform: translateY(0) !important;
}

/* Theme toggle button */
.theme-toggle {
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: all 200ms ease;
  cursor: pointer;
  padding: 0;
}

.theme-toggle:hover {
  background: var(--panel-strong);
  border-color: var(--primary);
  transform: rotate(20deg);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  transition: transform 300ms ease;
}

/* Hide/show icons based on theme */
[data-theme="dark"] .theme-toggle .sun-icon {
  display: block;
}

[data-theme="dark"] .theme-toggle .moon-icon {
  display: none;
}

[data-theme="light"] .theme-toggle .sun-icon {
  display: none;
}

[data-theme="light"] .theme-toggle .moon-icon {
  display: block;
}

/* =========================
   LISTAS / PRECIO
   ========================= */
.section {
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.pricing-card--featured {
  border-color: rgba(79, 140, 255, .55);
  box-shadow: 0 25px 90px rgba(79, 140, 255, .18);
}

.price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .15rem;
}

.price__value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price__note {
  font-size: .85rem;
  color: var(--muted);
}

.list-check {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: .6rem;
}

.list-check li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--muted);
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-2);
  font-weight: 900;
}

/* =========================
   PANEL / ALERT / NOTE
   ========================= */
.alert-soft {
  background: var(--glow);
  border: 1px solid var(--primary);
  color: var(--text);
  border-radius: 16px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.note {
  color: var(--muted);
  padding: .9rem 1rem;
  border: 1px dashed var(--border);
  border-radius: 16px;
  background: var(--panel);
}

/* =========================
   MINI TRUST
   ========================= */
.mini-trust {
  display: grid;
  gap: .6rem;
  margin-top: 1rem;
}

.mini-trust__item {
  display: flex;
  gap: .6rem;
  align-items: center;
  color: var(--muted);
}

.mini-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
}

/* =========================
   STEPS
   ========================= */
.steps {
  color: var(--muted);
}

.steps li {
  margin-bottom: .7rem;
}

.discount-heading {
  display: grid;
  gap: .7rem;
  max-width: 33rem;
}

.discount-kicker {
  justify-self: flex-start;
  padding: .45rem .75rem;
  border-radius: 999px;
  font-size: .92rem;
  letter-spacing: .01em;
  box-shadow: 0 10px 24px rgba(37, 99, 235, .18);
}

.discount-title {
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 12ch;
  margin: 0;
  text-wrap: balance;
}

.discount-title__sub {
  max-width: 34rem;
  font-size: 1.02rem;
  line-height: 1.55;
}

.discount-steps {
  margin: 0;
  padding-left: 1.45rem;
  display: grid;
  gap: .85rem;
}

.discount-steps li {
  margin-bottom: 0;
  line-height: 1.5;
}

.discount-steps li::marker {
  font-weight: 700;
  color: var(--primary);
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: var(--glow);
  border: 1px solid var(--primary);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--primary);
}

/* =========================
   ACCORDION
   ========================= */
.accordion-custom .accordion-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: .75rem;
}

.accordion-custom .accordion-button {
  background: var(--panel);
  color: var(--text) !important;
}

.accordion-custom .accordion-button:not(.collapsed) {
  background: var(--glow);
  color: var(--text) !important;
}

.accordion-custom .accordion-body {
  background: var(--panel);
}

[data-theme="light"] .accordion-button::after {
  filter: invert(0);
}

[data-theme="dark"] .accordion-button::after {
  filter: invert(1);
}

/* =========================
   CONTACT + FORMS
   ========================= */
.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}

.input-group-text {
  background: var(--input-bg) !important;
  color: var(--text) !important;
  border-color: var(--input-border) !important;
}

.form-control,
.form-select,
textarea.form-control {
  background: var(--input-bg);
  border-color: var(--input-border);
  color: var(--text) !important;
}

.form-select {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.form-control::placeholder,
textarea.form-control::placeholder {
  color: var(--muted) !important;
  opacity: 0.8;
}

.form-control:focus,
.form-select:focus {
  background: var(--input-focus-bg);
  border-color: var(--primary);
  color: var(--text) !important;
}

/* Fix: dropdown options visibility */
.form-select option {
  background: var(--bg);
  color: var(--text);
  white-space: normal;
}

.form-select option:checked {
  background: var(--primary);
  color: white;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: var(--text) !important;
  -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, .06) inset !important;
  box-shadow: 0 0 0 1000px rgba(255, 255, 255, .06) inset !important;
  transition: background-color 9999s ease-in-out 0s;
}

/* =========================
   BOOTSTRAP DARK OVERRIDES
   ========================= */
.card,
.card-body,
.modal-content,
.offcanvas,
.dropdown-menu,
.list-group,
.list-group-item,
.alert,
.accordion,
.accordion-item,
.accordion-body,
.form-label,
.form-text,
.table,
.table * {
  color: var(--text);
}

.modal-content {
  background: rgba(11, 19, 32, 0.98);
  border: 1px solid var(--border);
}

[data-theme="light"] .modal-content {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.modal-header,
.modal-footer {
  border-color: var(--border);
}

[data-theme="light"] .modal-header,
[data-theme="light"] .modal-footer {
  border-color: rgba(37, 99, 235, 0.2);
}

.modal .btn-close {
  opacity: 0.9;
}

[data-theme="dark"] .modal .btn-close {
  filter: invert(1) grayscale(1);
}

[data-theme="light"] .modal .btn-close {
  filter: none;
  opacity: 0.7;
}

.modal .btn-close:hover {
  opacity: 1;
}

.text-body,
.text-muted,
.text-body-secondary {
  color: var(--muted) !important;
}

.card a,
.accordion a,
.alert a,
.note a {
  color: rgba(110, 231, 255, .95);
  text-decoration: none;
}

.card a:hover,
.accordion a:hover,
.alert a:hover,
.note a:hover {
  text-decoration: underline;
}

.table {
  --bs-table-color: var(--text);
  --bs-table-bg: transparent;
  --bs-table-border-color: var(--border);
}

hr,
.border-top,
.border-bottom {
  border-color: var(--border) !important;
}

.bg-light {
  background: rgba(255, 255, 255, .06) !important;
}

.bg-light,
.bg-light * {
  color: var(--text) !important;
}

.bg-gradient {
  background: linear-gradient(135deg, rgba(79, 140, 255, .08), rgba(110, 231, 255, .04)) !important;
  border: 1px solid var(--border);
}

/* Outline primary button */
.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
  background: transparent;
  position: relative;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

.btn-outline-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--primary);
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
}

.btn-outline-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow:
    0 12px 32px var(--glow),
    0 6px 16px var(--glow-2);
}

.btn-outline-primary:active {
  transform: translateY(0);
  transition: transform 80ms ease;
}

[data-theme="light"] .btn-outline-primary {
  color: rgb(31, 72, 240);
  border-color: rgb(31, 72, 240);
}

[data-theme="light"] .btn-outline-primary:hover {
  background: rgb(31, 72, 240);
  border-color: rgb(31, 72, 240);
  color: #fff;
}

/* Badge improvements */
.badge {
  font-weight: 500;
  letter-spacing: 0.3px;
}

.badge-soft {
  background: var(--panel) !important;
  color: var(--text) !important;
}

/* Text highlight */
.text-primary {
  color: var(--primary) !important;
}

.text-primary-2 {
  color: var(--primary-2) !important;
}

/* =========================
   REVEAL (para tu JS)
   ========================= */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms ease, transform 700ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal[data-reveal="left"] {
  transform: translateX(18px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Hero animations */
.hero h1 {
  line-height: 1.2;
  letter-spacing: -0.5px;
}

/* Pricing cards enhanced */
.pricing-card {
  border: 1px solid var(--border);
  transition: all 300ms ease;
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  border-color: var(--primary);
  box-shadow: 0 24px 48px rgba(79, 140, 255, .12);
  transform: translateY(-4px);
}

.pricing-card--featured {
  border: 1px solid var(--primary);
  background: linear-gradient(135deg, rgba(79, 140, 255, .05), rgba(110, 231, 255, .02));
}

.pricing-card--featured:hover {
  box-shadow: 0 24px 56px rgba(79, 140, 255, .18);
}

/* =========================
   FLOATING BUTTONS
   ========================= */
.whatsapp-float,
.scroll-top {
  position: fixed;
  bottom: 120px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
  transition: all 300ms ease;
  border: none;
  cursor: pointer;
}

.whatsapp-float {
  right: 24px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  text-decoration: none;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  background: linear-gradient(135deg, #128C7E, #075E54);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 32px rgba(37, 211, 102, .4);
  color: white;
}

.scroll-top {
  right: 24px;
  bottom: 192px;
  background: rgba(79, 140, 255, .95);
  color: white;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: rgba(110, 231, 255, .95);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(79, 140, 255, .4);
}

/* Pulse animation para WhatsApp */
@keyframes pulse-whatsapp {

  0%,
  100% {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35), 0 0 0 0 rgba(37, 211, 102, .7);
  }

  50% {
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35), 0 0 0 12px rgba(37, 211, 102, 0);
  }
}

/* Progress bar de scroll */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  z-index: 9999;
  transition: width 100ms ease-out;
  box-shadow: 0 0 12px rgba(79, 140, 255, .5);
}

/* Tooltip personalizado */
[data-tooltip] {
  position: relative;
  cursor: help;
}

[data-tooltip]:hover::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  padding: 8px 14px;
  background: rgba(11, 19, 32, .98);
  color: var(--text);
  border: 1px solid var(--primary);
  border-radius: 10px;
  font-size: 0.85rem;
  white-space: nowrap;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
  animation: tooltipFadeIn 200ms ease;
}

[data-theme="light"] [data-tooltip]:hover::before {
  background: rgba(255, 255, 255, .98);
  color: rgba(15, 23, 42, .92);
  border-color: rgba(37, 99, 235, .35);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .18);
}

[data-tooltip]:hover::after {
  content: "";
  position: absolute;
  bottom: 115%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--primary);
  z-index: 1000;
  animation: tooltipFadeIn 200ms ease;
}

[data-theme="light"] [data-tooltip]:hover::after {
  border-top-color: rgba(37, 99, 235, .35);
}

@media (max-width: 576px) {
  [data-tooltip]:hover::before {
    left: 0;
    right: 0;
    transform: translateY(-4px);
    white-space: normal;
    text-align: center;
    word-break: break-word;
    animation: none;
  }

  [data-tooltip]:hover::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Bootstrap collapse: suavizar transición */
.collapse {
  transition: height 400ms ease, opacity 400ms ease, visibility 400ms ease !important;
}

.collapsing {
  transition: height 400ms ease, opacity 400ms ease, visibility 400ms ease !important;
}

@keyframes tooltipFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(0);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
  }
}

/* Loading skeleton (para futuras imágenes) */
.skeleton {
  background: linear-gradient(90deg,
      rgba(255, 255, 255, .05) 0%,
      rgba(255, 255, 255, .08) 50%,
      rgba(255, 255, 255, .05) 100%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Exit intent modal */
.exit-intent-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: rgba(11, 19, 32, .98);
  border: 2px solid var(--primary);
  border-radius: 20px;
  padding: 2rem;
  max-width: 480px;
  width: 90%;
  z-index: 10000;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .6);
  opacity: 0;
  visibility: hidden;
  transition: all 300ms ease;
}

[data-theme="light"] .exit-intent-modal {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(37, 99, 235, 0.2);
  color: rgb(15, 23, 42);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
}

[data-theme="light"] .exit-intent-modal .text-secondary {
  color: rgb(51, 65, 85) !important;
}

[data-theme="light"] .exit-intent-close {
  color: #000000;
  background: rgba(15, 23, 42, .08);
}

[data-theme="light"] .exit-intent-close:hover {
  background: rgba(15, 23, 42, .15);
}

.exit-intent-modal.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.exit-intent-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  backdrop-filter: blur(8px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 300ms ease;
}

.exit-intent-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.exit-intent-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, .08);
  border: none;
  color: var(--text);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 200ms ease;
}

.exit-intent-close:hover {
  background: rgba(255, 255, 255, .15);
  transform: rotate(90deg);
}

/* =========================
   CONTACTO / FOOTER FULL-WIDTH
   ========================= */
#contacto {
  padding-bottom: 0 !important;
  overflow-x: clip;
}

#contacto footer {
  margin-top: 2.4rem !important;
  margin-bottom: 0 !important;
  width: 100dvw;
  max-width: 100dvw;
  margin-left: calc(50% - 50dvw);
  margin-right: calc(50% - 50dvw);
  padding: 1.35rem clamp(1rem, 3.5vw, 2.8rem) 1.2rem !important;
  border-top: 0 !important;
  border: 1px solid var(--border) !important;
  border-radius: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 38px var(--shadow-light);
}

[data-theme="light"] #contacto footer {
  background: linear-gradient(160deg, rgba(255, 255, 255, .84), rgba(255, 255, 255, .66));
  border-color: rgba(37, 99, 235, .22) !important;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .10);
}

#contacto footer .row {
  gap: 1rem 0;
}

#contacto footer .col-md-6:last-child {
  padding-top: .75rem;
  border-top: 1px dashed var(--border);
}

[data-theme="light"] #contacto footer .col-md-6:last-child {
  border-top-color: rgba(37, 99, 235, .22);
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 576px) {
  .navbar-brand {
    max-width: calc(100% - 66px);
  }

  .brand-logo {
    width: 142px;
  }

  .hero {
    padding-top: .6rem !important;
  }

  .hero .badge-soft {
    display: block;
    width: 100%;
    border-radius: 14px;
    line-height: 1.35;
    font-size: .82rem;
    text-align: left;
  }

  #contacto footer {
    margin-top: 2rem !important;
    padding-top: 1.1rem !important;
    padding-bottom: 1rem !important;
  }

  #contacto footer .row {
    gap: 1rem 0;
  }

  #contacto footer .col-md-6 {
    text-align: left;
  }

  #contacto footer .text-secondary.small {
    font-size: .94rem;
    line-height: 1.55;
  }

  .brand-logo--footer {
    width: 168px;
  }

  .price__value {
    font-size: 1.7rem;
  }

  .display-5 {
    font-size: 2rem;
  }

  .discount-title {
    font-size: clamp(1.95rem, 7vw, 2.35rem);
    max-width: 10.5ch;
  }

  .discount-heading {
    gap: .55rem;
    max-width: 100%;
  }

  .discount-kicker {
    font-size: .84rem;
    padding: .38rem .68rem;
  }

  .discount-title__sub {
    max-width: 22rem;
    font-size: .98rem;
    line-height: 1.45;
  }

  .discount-steps {
    padding-left: 1.28rem;
    gap: .72rem;
  }

  .hero h1 {
    margin-bottom: 1.5rem;
  }

  .btn-lg {
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
  }

  .whatsapp-float,
  .scroll-top {
    width: 54px;
    height: 54px;
    bottom: 160px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .26);
  }

  .scroll-top {
    bottom: 232px;
    opacity: .94;
  }

  .whatsapp-float {
    opacity: .95;
    animation-duration: 2.6s;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }

  .scroll-top svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 991.98px) {
  .glass-nav .navbar-collapse {
    margin-top: .8rem;
    padding: .75rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(11, 19, 32, .88);
    backdrop-filter: blur(12px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .28);
    text-align: center;
  }

  [data-theme="light"] .glass-nav .navbar-collapse {
    background: rgba(255, 255, 255, .96);
    border-color: rgba(37, 99, 235, .20);
    box-shadow: 0 14px 28px rgba(15, 23, 42, .14);
  }

  .glass-nav .nav-link,
  .glass-nav .btn.btn-sm {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding-left: .75rem;
    padding-right: .75rem;
  }

  .glass-nav .navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .glass-nav .nav-item {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .glass-nav .nav-link {
    border: 1px solid transparent;
  }

  .glass-nav .nav-link:hover,
  .glass-nav .nav-link:focus-visible {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(110, 231, 255, .28);
  }

  [data-theme="light"] .glass-nav .nav-link {
    color: rgba(15, 23, 42, .82) !important;
  }

  [data-theme="light"] .glass-nav .nav-link:hover,
  [data-theme="light"] .glass-nav .nav-link:focus-visible {
    color: rgb(15, 23, 42) !important;
    background: rgba(37, 99, 235, .08);
    border-color: rgba(37, 99, 235, .24);
  }

  [data-theme="light"] .glass-nav .btn.btn-sm {
    color: #fff !important;
  }

  [data-theme="light"] .theme-toggle {
    border-color: rgba(37, 99, 235, .22);
    background: rgba(37, 99, 235, .06);
  }
}

/* =========================
   PORTFOLIO / PROYECTOS
   ========================= */

.portfolio-section {
  position: relative;
  overflow: hidden;
}

.portfolio-header {
  max-width: 800px;
}

.portfolio-header .badge {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}

/* Stats cards */
.portfolio-stats .stat-card {
  padding: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.portfolio-stats .stat-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(79, 140, 255, 0.15);
}

.stat-number {
  font-size: 1.75rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-weight: 500;
}

.portfolio-grid {
  padding: 0 2rem;
}

.project-card {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
}

[data-theme="light"] .project-card {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(217, 225, 235, 0.6);
}

.project-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  background: var(--card-bg);
  padding: 1.25rem !important;
}

[data-theme="light"] .project-card .card-body {
  background: rgba(255, 255, 255, 0.95);
}

/* Mejorar contraste en modo claro */
.project-card h3,
.project-card h5 {
  font-weight: 600;
  color: var(--text-primary);
}

[data-theme="light"] .project-card h3,
[data-theme="light"] .project-card h5 {
  color: rgb(15, 23, 42);
}

[data-theme="light"] .project-card .text-secondary {
  color: rgb(71, 85, 105) !important;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(79, 140, 255, 0.15) !important;
  border-color: var(--primary-color);
}

.project-card .btn-primary {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.project-card .btn-primary::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card .btn-primary:hover::after {
  transform: translateY(-50%) translateX(4px);
}

.project-card .btn-primary:hover {
  padding-right: 1.5rem;
}

.project-card .btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Animación fade-in para projeto-desc */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-card .project-desc {
  animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.project-card .tech-badge {
  animation: fadeInUp 0.6s ease-out;
}

.project-card:nth-child(2) .project-desc {
  animation-delay: 0.2s;
}

.project-card:nth-child(2) .tech-badge {
  animation-delay: 0.3s;
}

.project-card:nth-child(3) .project-desc {
  animation-delay: 0.3s;
}

.project-card:nth-child(3) .tech-badge {
  animation-delay: 0.4s;
}

.project-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--primary-color)15%, var(--secondary-color)35%);
}

/* Badge Header - Arriba de la imagen */
.project-badge-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  animation: fadeInDown 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-theme="light"] .project-badge-header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(217, 225, 235, 0.6);
}

.project-badge-header .h6 {
  margin-bottom: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

[data-theme="light"] .project-badge-header .h6 {
  color: rgb(15, 23, 42);
}

[data-theme="light"] .project-badge-header .h6 {
  color: rgb(15, 23, 42);
}

.project-card .project-desc {
  margin-bottom: 0.75rem !important;
  padding-bottom: 1rem;
  position: relative;
}

.project-card .project-desc::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right,
      transparent 0%,
      var(--border-color) 15%,
      var(--border-color) 85%,
      transparent 100%);
}

[data-theme="light"] .project-card .project-desc::after {
  background: linear-gradient(to right,
      transparent 0%,
      rgba(217, 225, 235, 0.6) 15%,
      rgba(217, 225, 235, 0.6) 85%,
      transparent 100%);
}

.project-card .tech-badge {
  font-size: 0.75rem;
  padding: 0.45rem 0.75rem;
  gap: 0.5rem;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-image {
  transform: scale(1.05) rotate(0.5deg);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 1rem;
  pointer-events: none;
}

.project-overlay:not(:empty) {
  display: flex;
  pointer-events: auto;
}

[data-theme="light"] .project-overlay {
  background: rgba(229, 235, 242, 0.9);
}

.project-card:hover .project-overlay:not(:empty) {
  opacity: 1;
}

/* Mostrar overlay siempre en proyectos completados */
.project-overlay-visible {
  opacity: 1 !important;
}

.placeholder-image {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
  text-align: center;
  padding: 2rem;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.95rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color)dd);
  color: white;
  border-radius: 24px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(79, 140, 255, 0.3);
  box-shadow: 0 4px 12px rgba(79, 140, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  line-height: 1.2;
  position: relative;
  overflow: hidden;
}

.tech-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tech-badge i {
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  position: relative;
  z-index: 1;
}

.tech-badge:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 24px rgba(79, 140, 255, 0.4),
    0 0 20px rgba(79, 140, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: rgba(79, 140, 255, 0.8);
}

.tech-badge:hover::before {
  opacity: 1;
}

[data-theme="light"] .tech-badge {
  background: rgba(37, 99, 235, 0.14);
  color: rgb(30, 64, 175);
  border: 1.5px solid rgba(37, 99, 235, 0.35);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.14);
}

[data-theme="light"] .tech-badge:hover {
  background: rgba(37, 99, 235, 0.20);
  border-color: rgba(37, 99, 235, 0.62);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.22);
}

[data-theme="light"] .tech-badge i {
  color: rgb(15, 23, 42);
}

[data-theme="light"] .tech-badge:hover {
  border-color: rgb(30, 64, 175);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.22);
}

.shadow-soft {
  box-shadow: 0 4px 20px rgba(79, 140, 255, 0.1);
}

/* Portfolio CTA */
.portfolio-cta {
  background: linear-gradient(135deg, var(--primary-color)08, var(--secondary-color)08);
  padding: 3rem 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

/* =========================
   REDUCED MOTION
   ========================= */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}