:root {
  --bg: #07090c;
  --panel: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .12);
  --text: rgba(255, 255, 255, .92);
  --muted: rgba(255, 255, 255, .68);
  --accent: #f5c400;
  --accent2: #ffdf4d;
  --shadow: 0 22px 70px rgba(0, 0, 0, .55);
  --radius: 18px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(245, 196, 0, .18), transparent 60%),
    radial-gradient(900px 500px at 85% 0%, rgba(255, 223, 77, .10), transparent 55%),
    linear-gradient(180deg, #06070a, #0b0f14 45%, #07090c);
}

a {
  color: inherit;
  text-decoration: none
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto
}

.skip {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden
}

.skip:focus {
  left: 14px;
  top: 14px;
  width: auto;
  height: auto;
  padding: 10px 12px;
  background: #111;
  border-radius: 12px;
  z-index: 99
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 9, 12, .55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0
}

.brand__logo {
  height: 40px;
  width: auto;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .45))
}

.nav {
  display: flex;
  gap: 16px;
  align-items: center
}

.nav a {
  color: rgba(255, 255, 255, .80);
  font-weight: 700;
  font-size: .95rem;
  padding: 8px 10px;
  border-radius: 12px
}

.nav a:hover {
  background: rgba(255, 255, 255, .06)
}

.header__cta {
  display: flex;
  gap: 10px;
  align-items: center
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 8px;
  border-radius: 12px
}

.burger span {
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, .7);
  display: block
}

.progress {
  height: 2px;
  background: rgba(255, 255, 255, .06)
}

.progress__bar {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent2))
}

.section {
  padding: 82px 0;
  scroll-margin-top: 80px;
}

.section--alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .00))
}

.section__head {
  max-width: 860px;
  margin-bottom: 26px
}

.eyebrow {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, .62);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 900;
  font-size: .78rem
}

.h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.03;
  margin: 0 0 14px;
  letter-spacing: -.02em
}

.h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 2.7vw, 2.2rem)
}

.kicker {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  font-weight: 800;
  color: rgba(255, 255, 255, .82)
}

.lead {
  color: rgba(255, 255, 255, .80);
  line-height: 1.65;
  margin: 0 0 12px
}

.muted {
  margin: 0;
  color: var(--muted);
  line-height: 1.7
}

.note {
  color: rgba(255, 255, 255, .62);
  line-height: 1.6
}

.grad {
  background: linear-gradient(90deg, var(--accent), #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 74px
}

.hero__bg {
  position: absolute;
  inset: -30% -10%;
  background:
    radial-gradient(closest-side at 25% 30%, rgba(245, 196, 0, .18), transparent 55%),
    radial-gradient(closest-side at 70% 20%, rgba(255, 223, 77, .10), transparent 55%);
  animation: drift 14s ease-in-out infinite alternate;
}

@keyframes drift {
  from {
    transform: translate3d(-1.5%, -1.5%, 0)
  }

  to {
    transform: translate3d(1.5%, 1.5%, 0)
  }
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  align-items: center;
  position: relative
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px
}

.hero__stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px
}

.stat {
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12)
}

.stat__n {
  font-weight: 900;
  font-size: 1.2rem
}

.stat__t {
  display: block;
  color: rgba(255, 255, 255, .70);
  font-weight: 700;
  font-size: .9rem;
  margin-top: 2px
}

.hero__visual {
  position: relative
}

.tilt {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
  box-shadow: var(--shadow);
  transform-style: preserve-3d
}

.tilt img {
  width: 100%;
  height: auto;
  display: block
}

.floatcard {
  position: absolute;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(7, 9, 12, .65);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .35)
}

.floatcard__k {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-weight: 800;
  font-size: .85rem
}

.floatcard__v {
  margin: 6px 0 0;
  font-weight: 950;
  font-size: 1.1rem
}

.floatcard--a {
  left: -10px;
  bottom: 26px
}

.floatcard--b {
  right: -10px;
  top: 22px
}

.grid {
  display: grid;
  gap: 14px
}

.grid--cards {
  grid-template-columns: repeat(3, 1fr)
}

.card {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .25);
  transition: transform .18s ease, background .18s ease, border-color .18s ease
}

.card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .07);
  border-color: rgba(245, 196, 0, .28)
}

.card h3 {
  margin: 0 0 8px
}

.card p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, .72);
  line-height: 1.65
}

.card ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, .72);
  line-height: 1.7
}

.card--cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(135deg, rgba(245, 196, 0, .10), rgba(255, 255, 255, .04))
}

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items: start
}

.check {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px
}

.check li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.6
}

.check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35rem;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent2))
}

.media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: var(--shadow)
}

.media img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(1.02)
}

.media__tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(7, 9, 12, .70);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(10px);
  font-weight: 900
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px
}

.pillar {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12)
}

.pillar h3 {
  margin: 0 0 8px
}

.pillar p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  line-height: 1.65
}

.grid--pricing {
  grid-template-columns: repeat(3, 1fr)
}

.price {
  position: relative;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .30)
}

.price--best {
  border-color: rgba(245, 196, 0, .35);
  background: rgba(245, 196, 0, .06)
}

.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(245, 196, 0, .14);
  border: 1px solid rgba(245, 196, 0, .30);
  font-weight: 900;
  font-size: .78rem
}

.price__value {
  font-size: 2rem;
  font-weight: 950;
  margin: 0 0 10px
}

.price__value span {
  font-size: 1rem;
  font-weight: 800;
  color: rgba(255, 255, 255, .65)
}

.price ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, .72);
  line-height: 1.7
}

.special {
  margin-top: 18px
}

.grid--special {
  grid-template-columns: repeat(4, 1fr)
}

.mini {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12)
}

.mini__price {
  margin: 8px 0 6px;
  font-weight: 950;
  font-size: 1.2rem
}

.mini__price span {
  font-weight: 900;
  color: rgba(255, 255, 255, .60);
  font-size: .95rem
}

.callout {
  margin-top: 14px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap
}

.table {
  margin-top: 18px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04)
}

.table__row {
  display: grid;
  grid-template-columns: 1.3fr .7fr .8fr;
  border-top: 1px solid rgba(255, 255, 255, .10)
}

.table__row>div {
  padding: 14px 16px
}

.table__head {
  background: rgba(255, 255, 255, .05);
  border-top: 0;
  font-weight: 950
}

.contact {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 14px;
  align-items: start
}

.form {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12)
}

.form h3 {
  margin: 0 0 12px
}

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

label {
  display: grid;
  gap: 6px;
  font-weight: 900;
  color: rgba(255, 255, 255, .82);
  font-size: .92rem
}

input,
textarea {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  padding: 12px;
  background: rgba(0, 0, 0, .25);
  color: rgba(255, 255, 255, .88);
  font: inherit;
  outline: none
}

input:focus,
textarea:focus {
  border-color: rgba(245, 196, 0, .55);
  box-shadow: 0 0 0 4px rgba(245, 196, 0, .18)
}

.full {
  grid-column: 1/-1
}

.info {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  display: grid;
  gap: 12px
}

.info__block h3 {
  margin: 0 0 6px
}

.info__block p {
  margin: 0
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #121212;
  font-weight: 950;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 18px 55px rgba(245, 196, 0, .18);
  transition: transform .18s ease, filter .18s ease
}

.btn:hover {
  transform: translateY(-2px);
  filter: saturate(1.06)
}

.btn--ghost {
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .90);
  box-shadow: none
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, .10)
}

.btn--whatsapp {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: white
}

.footer {
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, .08)
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, .70)
}

.float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
  font-weight: 950;
  box-shadow: 0 20px 70px rgba(34, 197, 94, .22);
  z-index: 60
}

/* Reveal */
[data-reveal] {
  opacity: 0.15;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.2, 0, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
  will-change: transform, opacity;
}

.revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* Fallback for no-js or failed reveal */
.no-js [data-reveal] {
  opacity: 1;
  transform: none;
}

@media (max-width: 1040px) {
  .hero__grid {
    grid-template-columns: 1fr
  }

  .grid--pricing {
    grid-template-columns: 1fr
  }

  .grid--special {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width: 820px) {
  .grid--cards {
    grid-template-columns: repeat(2, 1fr)
  }

  .pillars {
    grid-template-columns: 1fr
  }

  .split {
    grid-template-columns: 1fr
  }

  .contact {
    grid-template-columns: 1fr
  }
}

@media (max-width: 640px) {
  .nav {
    display: none;
    position: absolute;
    left: 4%;
    right: 4%;
    top: 64px;
    background: rgba(7, 9, 12, .92);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    padding: 12px;
    flex-direction: column;
    gap: 6px;
    box-shadow: var(--shadow)
  }

  .burger {
    display: flex
  }

  .grid--cards {
    grid-template-columns: 1fr
  }

  .grid--special {
    grid-template-columns: 1fr
  }

  .form__grid {
    grid-template-columns: 1fr
  }
}


/* Smooth transitions between blocks */
.section {
  position: relative
}

.section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -60px;
  height: 120px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .02), rgba(255, 255, 255, 0));
  pointer-events: none;
  opacity: .65;
}

body.dark .section::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(255, 255, 255, .03), rgba(0, 0, 0, 0));
}

/* Parallax layers */
.parallax-layer {
  position: absolute;
  inset: -20% -10%;
  pointer-events: none;
  opacity: .45;
  filter: blur(0px)
}

.parallax-layer--a {
  background: radial-gradient(circle at 20% 30%, rgba(245, 196, 0, .22), transparent 52%)
}

.parallax-layer--b {
  background: radial-gradient(circle at 80% 60%, rgba(255, 255, 255, .10), transparent 55%)
}

.parallax-layer--c {
  background: radial-gradient(circle at 40% 80%, rgba(245, 196, 0, .12), transparent 60%)
}

/* stronger depth for cards */
.card,
.price,
.mini {
  will-change: transform
}


.section {
  --blend: 0.4
}

.section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, calc(.08 + var(--blend)*.14)), transparent);
  pointer-events: none;
}

body:not(.dark) .section::after {
  background: linear-gradient(90deg, transparent, rgba(2, 6, 23, calc(.06 + var(--blend)*.10)), transparent)
}

/* Modal (service details) */
.card {
  position: relative
}

.card__more {
  margin-top: 12px;
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  background: transparent;
  color: rgba(255, 255, 255, .86);
  border: 1px solid rgba(255, 255, 255, .14);
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 900;
  cursor: pointer;
}

.card__more:hover {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(0, 164, 232, .35)
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 100
}

.modal.is-open {
  display: block
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(6px)
}

.modal__panel {
  position: relative;
  max-width: 980px;
  width: min(980px, 92%);
  margin: 4vh auto;
  max-height: 92vh;
  overflow: auto;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(10, 10, 35, .94), rgba(7, 9, 12, .94));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .65);
  animation: pop .18s ease-out;
}

@keyframes pop {
  from {
    transform: translateY(12px) scale(.98);
    opacity: 0
  }

  to {
    transform: none;
    opacity: 1
  }
}

.modal__close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-size: 28px;
  cursor: pointer
}

.modal__content {
  padding: 22px
}

/* ============================================
   MODAL - SOLO AJUSTES DE TAMAÑO DE FUENTE
   ============================================ */

/* Título principal más pequeño */
.modal h2 {
  margin: 0 0 10px;
  font-size: 1.6rem;
  font-weight: 700
}

/* Descripción más compacta */
.modal p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, .72);
  line-height: 1.6;
  font-size: 0.9rem
}

/* Subtítulos (Características incluidas, Tecnologías, Planes y precios) */
.modal h3 {
  margin: 16px 0 10px;
  font-size: 1.1rem;
  font-weight: 600
}

/* Lista de características más pequeña */
.modal ul {
  margin: 0;
  padding-left: 16px;
  color: rgba(255, 255, 255, .78);
  line-height: 1.6;
  font-size: 0.85rem
}

.modal li {
  margin-bottom: 4px
}

/* Tags de tecnologías más pequeños */
.modal .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px
}

.modal .tag {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  font-weight: 600;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, .75)
}

/* Planes en grid 3+1 como en tus fotos */
.modal .plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 10px
}

.modal .plan {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12)
}

.modal .plan strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px
}

.modal .plan .price {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 6px 0;
  color: var(--accent)
}

.modal .plan .price span {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .6)
}

.modal .plan .cap {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, .65);
  line-height: 1.4
}

/* Cuarta card (Por hora) debajo */
.modal .plans::after {
  content: "";
  grid-column: 1
}

/* Responsive */
@media (max-width: 820px) {
  .modal .plans {
    grid-template-columns: repeat(2, 1fr)
  }

  .modal h2 {
    font-size: 1.4rem
  }
}

@media (max-width: 640px) {
  .modal .plans {
    grid-template-columns: 1fr
  }

  .modal h2 {
    font-size: 1.2rem
  }

  .modal .plan .price {
    font-size: 1.2rem
  }
}

/* ============================================
   MODERN EFFECTS - GLASSMORPHISM, GLOW, GRADIENTS
   ============================================ */

:root {
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: blur(12px);
  --glow-blue: rgba(10, 203, 255, 0.4);
  --glow-cian: rgba(6, 182, 212, 0.4);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Outfit', sans-serif;
}

body {
  font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
.h1,
.h2,
.grad {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

/* Header Glassmorphism Refinement */
.header {
  background: rgba(7, 9, 12, 0.45) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid var(--glass-border) !important;
}

/* Animated Gradient for .grad */
.grad {
  background: linear-gradient(90deg,
      var(--accent),
      #fff,
      var(--accent2),
      var(--accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-flow 4s linear infinite;
}

@keyframes grad-flow {
  to {
    background-position: 200% center;
  }
}

/* Glow Blobs Decorativos */
.glow-blob {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  animation: float-slow 20s infinite alternate ease-in-out;
}

.glow-blob--blue {
  background: var(--glow-blue);
  top: -100px;
  left: -100px;
}

.glow-blob--cian {
  background: var(--glow-cian);
  bottom: -150px;
  right: -100px;
  animation-delay: -5s;
}

@keyframes float-slow {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -50px) scale(1.1);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

/* Card Modernization (Glassmorphism + Hover) */
.card,
.pillar,
.price:not(.price--best),
.mini,
.info,
.ts-card,
.portfolio-item {
  background: var(--glass-bg) !important;
  backdrop-filter: var(--glass-blur) !important;
  -webkit-backdrop-filter: var(--glass-blur) !important;
  border: 1px solid var(--glass-border) !important;
}

.price.price--best {
  backdrop-filter: var(--glass-blur) !important;
  -webkit-backdrop-filter: var(--glass-blur) !important;
}

.card,
.pillar,
.price,
.mini,
.info,
.ts-card,
.portfolio-item {
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  position: relative;
  overflow: hidden;
}

.card::before,
.pillar::before,
.price::before,
.mini::before,
.info::before,
.ts-card::before,
.portfolio-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(10, 203, 255, 0.15) 0%, transparent 80%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}

/* Asegura que el brillo pase por encima de la foto del proyecto */
.portfolio-item::before {
  z-index: 1;
}

/* Previene que el aura de luz interactiva cubra o bloquee el texto */
.card>*,
.pillar>*,
.price>*,
.mini>*,
.info>*,
.ts-card>* {
  position: relative;
  z-index: 2;
}

.card:hover::before,
.pillar:hover::before,
.price:hover::before,
.mini:hover::before,
.info:hover::before,
.ts-card:hover::before,
.portfolio-item:hover::before {
  opacity: 1;
}

.card:hover,
.pillar:hover,
.price:hover,
.mini:hover,
.info:hover,
.ts-card:hover,
.portfolio-item:hover {
  transform: translateY(-10px) !important;
  border-color: rgba(10, 203, 255, 0.4) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(10, 203, 255, 0.1) !important;
}

/* CTAs with Glow */
.btn:hover {
  box-shadow: 0 0 20px rgba(245, 196, 0, 0.3) !important;
}

/* STATS INLINE - UNA LÍNEA, COLOR DEL TEMA, PEQUEÑO */

.stats-inline {
  padding: 30px 0;
  background: transparent;
  border-top: 1px solid rgba(59, 130, 246, 0.2);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.stats-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.95rem;
  color: var(--text-primary, #e2e8f0);
}

.stat-icon {
  color: #3b82f6;
  font-weight: 700;
  font-size: 1rem;
}

.stat-number {
  color: #3b82f6;
  font-weight: 700;
  font-size: 1.1rem;
  min-width: 20px;
}

.stat-label {
  color: var(--text-secondary, #94a3b8);
  font-weight: 400;
}

.stat-divider {
  color: #3b82f6;
  opacity: 0.5;
  font-size: 0.8rem;
}

/* BOTÓN VER MÁS DEBAJO DEL CONTENIDO */
.card {
  display: flex;
  flex-direction: column;
}

.card p {
  flex-grow: 1;
}

.card ul {
  margin-bottom: 15px;
}

.card__more {
  margin-top: auto;
  align-self: flex-start;
}

/* MODAL MÁS COMPACTO Y UNIFORME */
.modal__panel {
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
}

.modal__content {
  padding: 30px;
}

.modal__content h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.modal__content h3 {
  font-size: 1.1rem;
  margin: 20px 0 10px;
  font-weight: 600;
}

.modal__content p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.modal__content ul {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.modal__content li {
  margin-bottom: 8px;
}

.hero__particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Modal Smooth Transitions */
.modal {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__panel {
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.is-open .modal__panel {
  transform: scale(1);
}

/* Refined Card Interaction */
.card:hover .card__more {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  transform: translateX(5px);
  transition: all 0.3s ease;
}

.card__more {
  transition: all 0.3s ease;
}

/* FOOTER PREMUIM */
.footer {
  background: linear-gradient(180deg, rgba(7, 9, 12, 0.45) 0%, rgba(11, 15, 25, 0.8) 100%) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(10, 203, 255, 0.1) !important;
  padding: 60px 0 30px !important;
  margin-top: 40px;
}

.footer__content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__logo {
  height: 40px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 10px rgba(10, 203, 255, 0.2));
}

.footer__brand p {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.6;
}

.footer__links h4,
.footer__contact h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__links a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.footer__links a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.footer__contact p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* ============================================
   ESTILOS DEL MENSAJE DE ÉXITO - DISEÑO NUEVO
   ============================================ */

.success-message {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.success-card {
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
  border: 2px solid #22c55e;
  border-radius: 20px;
  padding: 50px 40px;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(34, 197, 94, 0.1);
}

.success-icon-circle {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
  animation: scaleIn 0.5s ease-out 0.2s both;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

.success-icon-circle svg {
  color: white;
  stroke-width: 3;
}

.success-title {
  color: #22c55e;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  font-family: 'Inter', sans-serif;
}

.success-text {
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 35px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

.success-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn--whatsapp-success {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn--whatsapp-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn--ghost-success {
  background: transparent;
  color: #e2e8f0;
  padding: 14px 28px;
  border-radius: 12px;
  border: 2px solid #334155;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.btn--ghost-success:hover {
  border-color: #22c55e;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.05);
}

/* Estado de carga del botón */
.btn--loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.btn--loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .stats-row {
    gap: 15px;
    flex-direction: column;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    font-size: 0.9rem;
  }

  .footer__content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .success-card {
    padding: 35px 25px;
  }

  .success-title {
    font-size: 1.4rem;
  }

  .success-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn--whatsapp-success,
  .btn--ghost-success {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .success-card {
    padding: 30px 20px;
  }
}

/* UI Enhancements */

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0f172a;
}

::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Focus Accessibility */
:focus-visible {
  outline: 2px solid var(--accent, #f5c400);
  outline-offset: 2px;
}

/* Pulse Animation for CTAs */
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 196, 0, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(245, 196, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(245, 196, 0, 0);
  }
}

.pulse {
  animation: pulse-glow 2s infinite;
}

/* Enhancing Card Hover */
.card {
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* =========================================
   ASISTENTE VIRTUAL (CHAT "BOOK") ESTILOS MODERNOS
   ========================================= */

/* Botón Flotante Modernizado */
.chatbot-toggle {
  position: fixed;
  right: 30px;
  bottom: 30px;
  /* Bajado un poco para mejor estética */
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, var(--accent, #f5c400) 0%, #ffdf4d 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(245, 196, 0, 0.4);
  z-index: 9999;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: visible;
  /* Para que el aura sea visible */
}

/* Aura / Pulso Moderno */
.chatbot-toggle::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--accent, #f5c400);
  opacity: 0.6;
  z-index: -1;
  animation: chatbot-aura 2.5s infinite;
}

@keyframes chatbot-aura {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.chatbot-toggle:hover {
  transform: scale(1.1) rotate(12deg);
  box-shadow: 0 15px 40px rgba(245, 196, 0, 0.6);
  background: linear-gradient(135deg, #ffdf4d 0%, var(--accent, #f5c400) 100%);
}

.chatbot-toggle svg {
  color: #0f172a;
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.chatbot-toggle:hover svg {
  transform: scale(1.1);
}

.chatbot-notification {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 14px;
  height: 14px;
  background: #ff3b30;
  border: 2px solid white;
  border-radius: 50%;
  z-index: 10;
  animation: notification-pulse 1.5s infinite;
}

@keyframes notification-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.7);
  }

  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(255, 59, 48, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0);
  }
}

/* Widget del Chat - Glassmorphism */
.chatbot-widget {
  position: fixed;
  right: 30px;
  bottom: 160px;
  width: 380px;
  height: 550px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10000;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: bottom right;
}

.chatbot-widget.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Header */
.chatbot-header {
  background: linear-gradient(135deg, rgba(245, 196, 0, 0.9), rgba(255, 223, 77, 0.9));
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #0f172a;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.chatbot-avatar {
  width: 42px;
  height: 42px;
  background: #0f172a;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f5c400;
}

.chatbot-info {
  flex-grow: 1;
}

.chatbot-info h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.chatbot-info p {
  margin: 2px 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.chatbot-info p::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
}

.chatbot-close {
  background: rgba(0, 0, 0, 0.1);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  color: #0f172a;
  transition: background 0.2s;
}

.chatbot-close:hover {
  background: rgba(0, 0, 0, 0.2);
}

/* Body */
.chatbot-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.5), transparent);
}

/* Mensajes */
.chat-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.5;
  position: relative;
  word-wrap: break-word;
  animation: slideUp 0.3s ease-out both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

.chat-msg.bot {
  background: rgba(51, 65, 85, 0.8);
  color: #f8fafc;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-msg.user {
  background: var(--accent, #f5c400);
  color: #0f172a;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(245, 196, 0, 0.2);
}

/* Opciones / Botones */
.chat-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 5px;
  align-self: flex-start;
  width: 100%;
}

.chat-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  padding: 10px 16px;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: fadeIn 0.4s ease-out both;
  text-decoration: none;
  /* Para links */
}

.chat-btn:hover {
  background: rgba(245, 196, 0, 0.1);
  border-color: var(--accent, #f5c400);
  color: var(--accent, #f5c400);
  transform: translateX(5px);
}

.chat-btn::after {
  content: '→';
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.2s;
}

.chat-btn:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Links especiales (WhatsApp/Externos) */
.wa-link {
  background: rgba(34, 197, 94, 0.1) !important;
  border-color: rgba(34, 197, 94, 0.4) !important;
  color: #4ade80 !important;
  font-weight: 600;
}

.wa-link:hover {
  background: rgba(34, 197, 94, 0.2) !important;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.1);
}

/* Typing Indicator */
.chat-msg.typing {
  background: rgba(51, 65, 85, 0.5);
  padding: 12px 20px;
  width: fit-content;
  display: flex;
  gap: 4px;
  align-items: center;
  min-height: 44px;
}

.chat-msg.typing span {
  width: 6px;
  height: 6px;
  background: #94a3b8;
  border-radius: 50%;
  animation: typing 1s infinite ease-in-out;
}

.chat-msg.typing span:nth-child(1) {
  animation-delay: 0s;
}

.chat-msg.typing span:nth-child(2) {
  animation-delay: 0.2s;
}

.chat-msg.typing span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {

  0%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }

  50% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

/* Scrollbar */
.chatbot-body::-webkit-scrollbar {
  width: 6px;
}

.chatbot-body::-webkit-scrollbar-track {
  background: transparent;
}

.chatbot-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

/* Mobile */
@media (max-width: 480px) {
  .chatbot-widget {
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 85vh;
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
  }

  .chatbot-widget.active {
    transform: translateY(0);
  }

  .chatbot-toggle {
    bottom: 20px;
    right: 20px;
  }
}

/* Burger icon transformation and mobile menu fixes */
.burger {
  position: relative;
  z-index: 100 !important;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 44px;
  /* Area de contacto mínima Apple/Google */
  min-height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
}

.burger span {
  transition: all 0.3s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Force visibility on mobile with class */
@media (max-width: 640px) {
  .burger {
    display: flex !important;
  }

  .nav {
    display: none !important;
    /* Default hidden */
  }

  .nav.is-visible {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10001 !important;
    /* Aumentado para sobreponerse a los botones flotantes */
    position: fixed;
    top: 75px;
    left: 16px;
    right: 16px;
    background: rgba(15, 23, 42, 0.95);
    /* Glassmorphism refinado */
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    gap: 0;
    /* Anulamos el gap para usar bordes separados */
    padding: 20px 16px !important;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: slideDownFade 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 24px;
  }

  /* Áreas de toque más grandes y elegantes (Accesibilidad) */
  .nav.is-visible a {
    font-size: 1.05rem;
    padding: 16px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
    width: 100%;
    text-align: center;
    transition: all 0.2s ease;
  }

  .nav.is-visible a:last-child {
    border-bottom: none;
  }

  .nav.is-visible a:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--accent);
    border-radius: 12px;
  }

  @keyframes slideDownFade {
    from {
      opacity: 0;
      transform: translateY(-15px) scale(0.98);
    }

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

/* =========================================
   BOTÓN ÚNICO DE ASISTENTE VIRTUAL (ROIT)
   ========================================= */

.floating-actions {
  position: fixed;
  right: 30px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  z-index: 9999;
}

/* Ocultar botones de contacto tradicionales (WA, Phone) en toda la web */
.float-btn--wa,
.float-btn--phone,
.float-btn:not(.chatbot-toggle) {
  display: none !important;
}

/* Ajuste final del chatbot-toggle como protagonista único */
.chatbot-toggle {
  position: relative !important;
  right: auto !important;
  bottom: auto !important;
  width: 70px !important;
  height: 70px !important;
  margin-bottom: 0;
  box-shadow: 0 10px 30px rgba(245, 196, 0, 0.4), inset 0 -4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chatbot-toggle:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 15px 40px rgba(245, 196, 0, 0.6);
}

/* Estado cuando RoiT está ABIERTO (Transformación a botón "X" de cerrar) */
.chatbot-toggle.open {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
  /* Gris oscuro elegante */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4) !important;
  transform: scale(0.85) !important;
  /* Se hace un poco más pequeño para no estorbar el chat */
}

.chatbot-toggle.open:hover {
  transform: scale(0.9) !important;
  background: linear-gradient(135deg, #334155 0%, #1e293b 100%) !important;
}

/* Desactivar aura amarilla al estar abierto */
.chatbot-toggle.open::before {
  display: none !important;
}

/* Ocultar el icono de chat por defecto al abrir */
.chatbot-toggle.open svg {
  display: none !important;
}

/* Dibujar una "X" moderna con CSS (Garantizado que funciona sin tocar HTML) */
.chatbot-toggle.open::after {
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
  background: transparent;
  background-image:
    linear-gradient(45deg, transparent 44%, #fff 44%, #fff 56%, transparent 56%),
    linear-gradient(-45deg, transparent 44%, #fff 44%, #fff 56%, transparent 56%);
  border-radius: 2px;
  animation: x-spin-in 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes x-spin-in {
  from {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
  }

  to {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

@media (max-width: 640px) {
  .floating-actions {
    right: 20px;
    bottom: 20px;
    width: auto;
  }

  .chatbot-toggle {
    width: 60px !important;
    height: 60px !important;
  }

  .chatbot-toggle.open::after {
    width: 22px;
    height: 22px;
  }
}

/* =========================================
   EFECTO RESALTADO - FORMULARIO DESDE ROIT
   ========================================= */
.form-glow {
  animation: form-highlight-anim 1.5s ease-in-out 3 !important;
}

@keyframes form-highlight-anim {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 196, 0, 0.6);
    border-color: rgba(245, 196, 0, 1);
  }

  50% {
    box-shadow: 0 0 30px 10px rgba(245, 196, 0, 0);
    border-color: rgba(245, 196, 0, 0.2);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(245, 196, 0, 0);
    border-color: rgba(255, 255, 255, 0.12);
  }
}

/* =========================================
   MODAL PREMIUM REFACTOR
   ========================================= */
.modal__panel {
  max-width: 700px !important;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(7, 9, 12, 0.98)) !important;
  backdrop-filter: blur(24px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  border-radius: 24px !important;
  padding: 0 !important;
  margin: 5vh auto !important;
}

.modal__close {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  font-size: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 10 !important;
  transition: all 0.2s ease !important;
  margin: 0 !important;
}

.modal__close:hover {
  background: rgba(255, 59, 48, 0.8) !important;
  border-color: rgba(255, 59, 48, 1) !important;
  transform: rotate(90deg) scale(1.1) !important;
}

.modal__content {
  padding: 40px 35px 35px !important;
}

.modal__content h2 {
  font-size: 1.8rem !important;
  margin-bottom: 12px !important;
  padding-right: 30px;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal__content p {
  font-size: 0.95rem !important;
  color: rgba(255, 255, 255, 0.65) !important;
  margin-bottom: 24px !important;
  line-height: 1.7 !important;
}

.modal-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 25px;
}

@media (max-width: 600px) {
  .modal-cols {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.modal__content h3 {
  font-size: 0.85rem !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.8) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding-bottom: 8px !important;
  margin-bottom: 12px !important;
}

.modal-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-list li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  font-size: 0.9rem !important;
  color: rgba(255, 255, 255, 0.8) !important;
  margin: 0 !important;
}

.modal-list svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.modal .tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin: 0 !important;
}

.modal .tag {
  padding: 4px 10px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.75rem !important;
  border-radius: 6px !important;
  transition: all 0.2s !important;
}

.modal .tag:hover {
  background: rgba(10, 203, 255, 0.1) !important;
  border-color: rgba(10, 203, 255, 0.3) !important;
  color: #fff !important;
}

.modal-plans-box {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.modal .plans {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 12px !important;
  margin: 0 !important;
}

@media (max-width: 480px) {
  .modal .plans {
    grid-template-columns: 1fr !important;
  }
}

.modal .plan {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  padding: 14px !important;
  border-radius: 12px !important;
  transition: all 0.2s ease !important;
}

.modal .plan:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: var(--accent) !important;
  transform: translateY(-2px) !important;
}

.modal .plan strong {
  font-size: 0.8rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: rgba(255, 255, 255, 0.6) !important;
  margin-bottom: 2px !important;
}

.modal .plan .price {
  font-size: 1.3rem !important;
  font-weight: 800 !important;
  color: var(--accent) !important;
  margin-bottom: 4px !important;
}

.modal .plan .cap {
  font-size: 0.8rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  line-height: 1.4 !important;
}

/* =========================================
   FIX: VISIBILIDAD TARJETAS TROUBLESHOOTING
   ========================================= */
.ts-card {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  padding: 30px !important;
  border-radius: 20px !important;
  display: flex;
  flex-direction: column;
}