@font-face {
  font-family: 'Poppins';
  src: url('/fonts/poppins/Poppins-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('/fonts/poppins/Poppins-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('/fonts/poppins/Poppins-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('/fonts/poppins/Poppins-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('/fonts/poppins/Poppins-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('/fonts/poppins/Poppins-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('/fonts/poppins/Poppins-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   00. GLOBAL SAFETY
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* =========================================================
   HERO SWITCHER
========================================================= */

.hero-switcher {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  padding: 5.5rem 1.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  overflow-x: clip;
}

.hero-switcher__wrap {
  width: min(1200px, 100%);
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
  padding-bottom: 1em;
}

.hero-switcher__content {
  max-width: 620px;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.hero-switcher__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(80, 145, 255, 0.22);
  border-radius: 999px;
  background: rgba(16, 98, 254, 0.08);
  color: #aecdff;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero-switcher__title {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 2.2vw, 2.6rem);
  line-height: 1.08;
  font-weight: 700;
  color: #fff;
}

.hero-switcher__text {
  margin: 0 0 1.8rem;
  max-width: 560px;
  font-size: 1.18rem;
  line-height: 1.7;
  color: rgba(222, 232, 255, 0.82);
}

.hero-switcher__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: 30px;
  border: 1px solid rgba(120, 162, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(120, 162, 255, 0.35);
  transform: translateY(-1px);
}

.hero-switcher__media {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
}

.hero-switcher__media-box {
  width: min(100%, 560px);
  max-width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-switcher__media-box::before {
  content: "";
  position: absolute;
  inset: 8% 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 98, 254, 0.24) 0%, rgba(16, 98, 254, 0.08) 35%, rgba(16, 98, 254, 0) 72%);
  filter: blur(20px);
  pointer-events: none;
}

.hero-switcher__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 540px;
  height: auto;
  object-fit: contain;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hero-switcher__media img.is-changing {
  opacity: 0;
  transform: translateY(10px) scale(0.985);
}

.hero-switcher__content.is-changing {
  opacity: 0.2;
  transform: translateY(6px);
}

.hero-switcher__tabs {
  width: min(1200px, 100%);
  max-width: 100%;
  margin: 2.2rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 2;
}

.hero-switcher__tab {
  appearance: none;
  border: 1px solid rgba(82, 134, 255, 0.14);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(8, 30, 82, 0.72) 0%, rgba(4, 16, 46, 0.88) 100%);
  color: #fff;
  padding: 1.25rem 1rem;
  min-height: 124px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.hero-switcher__tab:hover {
  transform: translateY(-2px);
  border-color: rgba(90, 144, 255, 0.26);
}

.hero-switcher__tab.is-active {
  border-color: rgba(44, 125, 255, 0.5);
  background: linear-gradient(180deg, rgba(10, 43, 117, 0.82) 0%, rgba(7, 30, 88, 0.96) 100%);
  box-shadow:
    0 0 0 1px rgba(44, 125, 255, 0.12),
    0 18px 34px rgba(0, 43, 124, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

.hero-switcher__tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
}

.hero-switcher__tab-label {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

/* =========================================================
   01. FONTS
========================================================= */

.poppins-thin { font-family: "Poppins", sans-serif; font-weight: 100; font-style: normal; }
.poppins-extralight { font-family: "Poppins", sans-serif; font-weight: 200; font-style: normal; }
.poppins-light { font-family: "Poppins", sans-serif; font-weight: 300; font-style: normal; }
.poppins-regular { font-family: "Poppins", sans-serif; font-weight: 400; font-style: normal; }
.poppins-medium { font-family: "Poppins", sans-serif; font-weight: 500; font-style: normal; }
.poppins-semibold { font-family: "Poppins", sans-serif; font-weight: 600; font-style: normal; }
.poppins-bold { font-family: "Poppins", sans-serif; font-weight: 700; font-style: normal; }
.poppins-extrabold { font-family: "Poppins", sans-serif; font-weight: 800; font-style: normal; }
.poppins-black { font-family: "Poppins", sans-serif; font-weight: 900; font-style: normal; }

.poppins-thin-italic { font-family: "Poppins", sans-serif; font-weight: 100; font-style: italic; }
.poppins-extralight-italic { font-family: "Poppins", sans-serif; font-weight: 200; font-style: italic; }
.poppins-light-italic { font-family: "Poppins", sans-serif; font-weight: 300; font-style: italic; }
.poppins-regular-italic { font-family: "Poppins", sans-serif; font-weight: 400; font-style: italic; }
.poppins-medium-italic { font-family: "Poppins", sans-serif; font-weight: 500; font-style: italic; }
.poppins-semibold-italic { font-family: "Poppins", sans-serif; font-weight: 600; font-style: italic; }
.poppins-bold-italic { font-family: "Poppins", sans-serif; font-weight: 700; font-style: italic; }
.poppins-extrabold-italic { font-family: "Poppins", sans-serif; font-weight: 800; font-style: italic; }
.poppins-black-italic { font-family: "Poppins", sans-serif; font-weight: 900; font-style: italic; }

/* =========================================================
   02. BASE
========================================================= */

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
  margin: 0;
  padding: 0;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

body {
  background-color: #00050e;
  background-image: url('/img/futuristic-bg.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

section,
header,
main,
footer {
  position: relative;
  z-index: 1;
  max-width: 100%;
}

canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
}

#canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

a {
  text-decoration: none;
}

p a {
  color: #ccddffeb;
}

p a:hover {
  color: #fff;
  text-decoration: none;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 20px;
}

section {
  position: relative;
  z-index: 1;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

section + section {
  justify-content: flex-start;
  padding-top: 4rem;
  padding-bottom: 5rem;
}

.section-hero,
.plans-showcase,
.faq-section,
.cta-final,
.softaculous-section,
.migration-includes {
  background: transparent;
}

.section {
  position: relative;
  background: transparent;
}

.section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(8, 18, 45, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #dbe7ff;
  text-decoration: none;
  z-index: 9999;
  box-shadow:
    0 10px 30px rgba(0, 102, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px) scale(0.96);
  transition:
    opacity .25s ease,
    transform .25s ease,
    visibility .25s ease,
    background .2s ease,
    box-shadow .2s ease,
    color .2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  background: rgba(20, 40, 90, 0.92);
  color: #fff;
  transform: translateY(-3px) scale(1);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* =========================================================
   03. COMPONENTS
========================================================= */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border: none;
  border-radius: 30px;
  background: #1062fe;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.125rem;
}

.btn-primary svg,
.btn-primary i {
  width: 18px;
  height: 18px;
  display: block;
}

.logo {
  padding: 0 2em;
  max-width: 900px;
}

.logo img {
  height: 40px;
  max-width: 100%;
}

.icon-top {
  font-size: 1.8rem;
  line-height: 1;
}

.soft-muted {
  opacity: 0.8;
}

/* =========================================================
   04. HERO / GENERIC SECTION BLOCKS
========================================================= */

.section-hero.hero-landings {
  width: 100%;
  min-height: 100vh;
  padding: 7.5rem 1.25rem 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* =========================================================
   05. SERVICES
========================================================= */

.services-boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem;
}

.services-boxes > .service:nth-child(3) {
  grid-column: 1 / -1;
}

.service {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 1em;
  border-radius: 16px;
  background: rgba(16, 98, 254, 0.1);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.service img {
  display: block;
  margin: 0 auto 8px;
  max-width: 100%;
}

.service a {
  margin: 1em;
}

/* =========================================================
   06. SOFTACULOUS SECTION
========================================================= */

.softaculous-section {
  position: relative;
  padding: 7em 0;
  background: #0A2FA8;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.softaculous-section p {
  text-align: left;
}

.soft-wrap {
  width: min(1100px, calc(100% - 2rem));
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.25rem;
  align-items: center;
}

.soft-left h2 {
  margin: 0 0 1rem;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  text-align: left;
}

.soft-left h3 {
  margin: 0 0 1rem;
  font-size: 20px;
  line-height: 32px;
  font-weight: 300;
  text-align: left;
  color: hsla(220, 100%, 90%, 92%);
}

.soft-left p {
  margin: 0 0 1rem;
  opacity: 0.9;
  font-size: 1rem;
  line-height: 1.65;
}

.soft-cta {
  margin-top: 1.35rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.soft-link {
  color: #ccddffeb;
  font-weight: 500;
}

.soft-link:hover {
  color: #fff;
}

.soft-right {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(204, 221, 255, 0.15);
  border-radius: 22px;
  padding: 1rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
  max-width: 100%;
}

.soft-right img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

/* =========================================================
   07. FAQ SECTION
========================================================= */

.faq-section {
  position: relative;
  padding: 7em;
}

.faq-wrap {
  width: min(980px, calc(100% - 2rem));
  max-width: 100%;
  margin: 0 auto;
}

.faq-title {
  margin: 0 0 2.25rem;
  text-align: center;
  font-size: 40px;
  font-weight: 700;
}

.faq-list {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item {
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-q {
  list-style: none;
  cursor: pointer;
  padding: 1.5em 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q::after {
  content: "+";
  font-size: 20px;
  opacity: 0.8;
  line-height: 1;
}

.faq-item[open] > .faq-q::after {
  content: "–";
}

.faq-a {
  max-width: 860px;
  padding: 0 0 1.25rem 0;
  text-align: left;
  opacity: 0.85;
  font-size: 0.98rem;
  line-height: 1.75;
  color: hsla(220, 100%, 90%, 92%);
}

.faq-link {
  color: #ccddffeb;
  text-decoration: none;
}

.faq-link:hover {
  color: #fff;
  text-decoration: none;
}

/* =========================================================
   08. WHY SECTION
========================================================= */

.why-wrap {
  width: min(1100px, calc(100% - 2rem));
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
}

.why-media-card {
  border: 1px solid rgba(204, 221, 255, 0.16);
  border-radius: 22px;
  padding: 1rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
  max-width: 100%;
}

.why-media-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.why-title {
  margin: 0 0 1rem;
  font-size: 40px;
  font-weight: 700;
}

.why-sub {
  margin: 0 0 1rem;
  font-size: 20px;
  line-height: 40px;
  font-weight: 300;
  text-align: left;
  color: hsla(220, 100%, 90%, 92%);
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  text-align: left;
}

.why-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.85rem;
  align-items: start;
  line-height: 1.6;
  opacity: 0.92;
}

.why-check {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  margin-top: 2px;
  border-radius: 50%;
  background: rgba(16, 98, 254, 0.2);
  border: 1px solid rgba(16, 98, 254, 0.45);
  color: #7fb0ff;
  font-weight: 700;
}

/* =========================================================
   09. CTA FINAL
========================================================= */

.cta-final {
  position: relative;
  padding: 7em;
  background: linear-gradient(180deg, #071a5c 0%, #0a2fa8 55%, #0a2fa8 100%);
  text-align: center;
}

.cta-final-wrap {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 2rem));
  max-width: 100%;
  margin: 0 auto;
}

.cta-final-title {
  margin: 0 0 1rem;
  font-size: 40px;
  font-weight: 700;
}

.cta-final-sub {
  max-width: 740px;
  margin: 0 auto 2.2rem;
  opacity: 0.85;
  font-size: 1.05rem;
  line-height: 1.65;
}

.cta-final-btn {
  padding: 14px 30px;
  border-radius: 999px;
}

/* =========================================================
   10. CLIENTS SLIDER (FULL WIDTH + BG + CLEAN FADES)
========================================================= */

.th-clients{
  /* Full-bleed (edge-to-edge) sin scroll horizontal */
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
  overflow-x: clip;
  overflow-y: hidden;

  /* Override del estilo base del <section> global */
  align-items: stretch;
  text-align: center;

  /* Spacing */
  padding: 84px 0 64px;
  color: #fff;

  /* Variables para que fades/overlay calcen con el fondo actual */
  --th-clients-base: rgba(0, 5, 14, 0.92);
  --th-clients-fade: rgba(0, 5, 14, 0.96);
  --th-clients-stroke: rgba(120, 170, 255, 0.18);
  --th-clients-stroke-hover: rgba(140, 190, 255, 0.28);
  --th-clients-card-a: rgba(35, 90, 170, 0.22);
  --th-clients-card-b: rgba(10, 25, 55, 0.45);

}

/* Overlay azul + lectura (evita que el fondo “contamine” el slider) */
.th-clients::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
}

.th-clients > *{
  position: relative;
  z-index: 1;
}

/* ---------- Head ---------- */

.th-clients__head{
  max-width: 900px;
  margin: 0 auto 28px;
  padding: 0 16px;
  text-align: center;
}

.th-clients__head h2{
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: 0.2px;
}

.th-clients__head p{
  margin: 0;
  color: rgba(255,255,255,.75);
  line-height: 1.6;
}

/* ---------- Slider shell ---------- */

.th-slider{
  position: relative;
  /* wide pero no ridículo */
  max-width: 100%;
  margin: 0 auto;
}

.th-slider__viewport{
  background: transparent;
  border: 0;
  overflow: hidden;
  box-shadow: none;
}

.th-slider__viewport:focus{ outline: none; }

.th-slider__viewport:focus-visible{
  outline: 2px solid rgba(120,170,255,.25);
  outline-offset: 4px;
}

/* ---------- Track / drag ---------- */

.th-slider__track{
  display: flex;
  gap: 18px;
  padding: 14px 10px 16px;
  will-change: transform;
  user-select: none;
  touch-action: pan-y;
  cursor: grab;
}

.th-slider__track.is-dragging{ cursor: grabbing; }

/* ---------- Card ---------- */

.th-card{
  flex: 0 0 clamp(260px, 28vw, 360px);
  overflow: hidden;
  border-radius: 26px;
  text-decoration: none;
  color: #fff;

  /* Más “glass” y menos barro */
  background:
    linear-gradient(180deg, var(--th-clients-card-a), var(--th-clients-card-b));
  box-shadow: 0 14px 34px rgba(0,0,0,.30);
  border: 1px solid var(--th-clients-stroke);

  /* micro detalle pro */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.th-card:hover{
  transform: translateY(-2px);
  border-color: var(--th-clients-stroke-hover);
  background:
    linear-gradient(180deg, rgba(45,110,210,.26), rgba(10,25,55,.50));
}

.th-card__media{
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.th-card__media img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.35));
}

.th-card__meta{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 18px;
}

.th-card__logo{
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 999px;

  background: radial-gradient(
    circle at 30% 25%,
    rgba(255,255,255,.22),
    rgba(255,255,255,.10) 45%,
    rgba(255,255,255,.06) 100%
  );
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}

.th-card__logo img{
  width: 74%;
  height: 74%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.25));
}

.th-card__text strong{
  display: block;
  font-size: 16px;
  line-height: 1.1;
}

.th-card__text span{
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: rgba(255,255,255,.70);
}

.th-slider__track{ cursor: grab; user-select:none; -webkit-user-select:none; }
.th-slider__track.is-dragging{ cursor: grabbing; }
.th-card, .th-card *{ user-select:none; -webkit-user-select:none; }

/* Evita drag/selección de imágenes dentro del carrusel */
.th-slider img,
.th-card img{
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none; /* clave: no captura el pointer, el drag queda en el track */
}

/* Por si tienes textos/íconos SVG dentro */
.th-slider svg,
.th-card svg,
.th-card, .th-card *{
  user-select: none;
  -webkit-user-select: none;
}

/* ---------- Responsive tweaks ---------- */

@media (max-width: 520px){
  .th-clients{ padding: 72px 0 52px; }
  .th-card__media{ height: 150px; }
}

/* =========================================================
   11. ECO TOP BAR
========================================================= */

.th-eco-top {
  position: relative;
  width: 100%;
  padding: 10px 0;
  background: linear-gradient(180deg, rgba(20, 60, 140, 0.55), rgba(5, 12, 25, 0.15));
  border-bottom: 1px solid rgba(120, 170, 255, 0.16);
}

.th-eco-top__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
}

.th-eco-badge {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(80, 210, 140, 0.95);
  box-shadow: 0 0 0 6px rgba(80, 210, 140, 0.12);
}

.th-eco-link {
  padding-bottom: 1px;
  font-size: 0.9rem;
  color: rgba(170, 210, 255, 0.95);
  text-decoration: none;
  border-bottom: 1px solid rgba(170, 210, 255, 0.35);
}

.th-eco-link:hover {
  border-bottom-color: rgba(170, 210, 255, 0.75);
}

/* =========================================================
   12. MIGRATION INCLUDES
========================================================= */

.migration-includes {
  padding: 80px 20px;
  color: #fff;
  text-align: center;
}

.migration-includes .section-title {
  margin-bottom: 10px;
  font-size: 40px;
  font-weight: 700;
  color: #fff;
}

.migration-includes .section-subtitle {
  margin-bottom: 60px;
  font-size: 18px;
  opacity: 0.85;
  color: rgba(255, 255, 255, 0.85);
}

.includes-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.include-item {
  padding: 10px;
  text-align: center;
}

.include-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: 18px;
  font-size: 28px;
  color: #fff;
}

.include-item h3 {
  margin-bottom: 10px;
  font-size: 20px;
  color: #fff;
}

.include-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

/* =========================================================
   13. PLANS SHOWCASE
========================================================= */

.plans-showcase {
  position: relative;
  overflow: hidden;
  padding: 110px 0 90px;
}

.plans-showcase .container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.plans-showcase__title {
  margin: 0 0 56px;
  text-align: center;
  font-size: clamp(2rem, 2.2vw, 2.6rem);
  line-height: 1.1;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.plans-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  padding: 42px 34px 34px;
  border-radius: 30px;
  text-align: center;
  background: linear-gradient(180deg, rgba(18, 42, 102, 0.96) 0%, rgba(5, 16, 44, 0.98) 100%);
  border: 1px solid rgba(117, 151, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 24px 60px rgba(0, 0, 0, 0.32);
}

.plan-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 82px;
  margin-bottom: 18px;
}

.plan-card__icon img {
  max-width: 74px;
  max-height: 74px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.plan-card__name {
  margin: 0 0 18px;
  font-size: 1.12rem;
  line-height: 1.25;
  font-weight: 500;
  color: #fff;
}

.plan-card__desc {
  margin: 0 0 28px;
  font-size: 0.98rem;
  line-height: 1.55;
  font-weight: 400;
  color: rgba(223, 232, 255, 0.86);
}

.plan-card__price-wrap {
  margin-bottom: 30px;
}

.plan-card__from {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: rgba(223, 232, 255, 0.72);
}

.plan-card__price {
  font-size: clamp(2.3rem, 3vw, 3.4rem);
  line-height: 1;
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.04em;
}

.plan-card__period {
  display: block;
  margin-top: 8px;
  font-size: 0.95rem;
  color: rgba(223, 232, 255, 0.72);
}

.plan-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 182px;
  min-height: 58px;
  padding: 0 26px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(180deg, #2f7cff 0%, #1d63f2 100%);
  box-shadow:
    0 10px 24px rgba(27, 99, 242, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.plan-card__btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 28px rgba(27, 99, 242, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  filter: brightness(1.04);
}

.plans-showcase__brands {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: center;
  margin-top: 72px;
}

.plans-showcase__brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.plans-showcase__brand img {
  max-width: 240px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.95;
}

/* =========================================================
   14. ANIMATIONS
========================================================= */

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* =========================================================
   15. INTERACTIONS
========================================================= */

@media (hover: hover) {
  .service:hover {
    transform: scale(1.05);
    background-color: rgba(16, 98, 254, 0.2);
    border-color: #ccddffeb;
    color: #ccddffeb;
  }
}

/* =========================================================
   16. RESPONSIVE
========================================================= */

@media (max-width: 1080px) {
  .hero-switcher {
    min-height: auto;
    padding-top: 7rem;
  }

  .hero-switcher__wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-switcher__content {
    max-width: 100%;
    text-align: center;
  }

  .hero-switcher__text {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-switcher__actions {
    justify-content: center;
  }

  .hero-switcher__media-box {
    min-height: 320px;
  }

  .hero-switcher__tabs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .services-boxes {
    grid-template-columns: repeat(3, 1fr);
    max-width: 960px;
  }

  .services-boxes > .service:nth-child(3) {
    grid-column: auto;
  }
}

@media (max-width: 1100px) {
  .plans-showcase__grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }

  .plans-showcase__brands {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 900px) {
  body {
    background-attachment: scroll;
  }

  p {
    font-size: 16px !important;
  }

  .btn-primary {
    padding: 10px 16px;
    font-size: 0.95rem;
  }

  .logo img {
    height: 32px;
  }

  .hide-on-mobile {
    display: none !important;
  }

  .soft-wrap {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .softaculous-section {
    padding: 5em 2em;
  }

  .soft-left h2 {
    font-size: 32px;
  }

  .faq-section {
    padding: 5em 2em;
  }

  .faq-q {
    font-size: 1rem;
  }

  .faq-a {
    font-size: 0.95rem;
  }

  .faq-title {
    font-size: 32px;
  }

  .why-section {
    padding: 5em 2em;
  }

  .why-wrap {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .why-sub {
    font-size: 1.05rem;
  }

  .why-title {
    font-size: 32px;
  }

  .cta-final {
    padding: 5em 1em;
  }

  .cta-final::before {
    height: 42px;
  }

  .cta-final-sub {
    font-size: 1rem;
  }

  .cta-final-title {
    font-size: 32px;
  }

  .includes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .plans-showcase {
    padding: 5em 2em;
  }

  .plans-showcase__title {
    margin-bottom: 36px;
    font-size: 2rem;
  }

  .plan-card {
    padding: 34px 24px 28px;
    border-radius: 24px;
  }

  .plan-card__icon {
    height: 68px;
    margin-bottom: 14px;
  }

  .plan-card__icon img {
    max-width: 58px;
    max-height: 58px;
  }

  .plan-card__price {
    font-size: 40px;
    font-weight: 300;
  }

  .plan-card__btn {
    min-width: 170px;
    min-height: 54px;
    font-size: 0.96rem;
  }

  .plans-showcase__brands {
    margin-top: 48px;
  }

  .plans-showcase__brand img {
    max-width: 210px;
    max-height: 52px;
  }
}

@media (max-width: 640px) {
  .hero-switcher {
    padding: 2em;
  }

  .hero-switcher__title {
    font-size: 2.35rem;
  }

  .hero-switcher__text {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-switcher__tabs {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scroll-snap-type: x proximity;
  }

  .hero-switcher__tabs::-webkit-scrollbar {
    display: none;
  }

  .hero-switcher__tab {
    min-width: 220px;
    scroll-snap-align: start;
    flex: 0 0 auto;
  }
}

@media (max-width: 600px) {
  .includes-grid {
    grid-template-columns: 1fr;
  }

  .migration-includes .section-title {
    font-size: 32px;
  }
}

@media (max-width: 520px) {
  .th-card__media {
    height: 130px;
  }
}

ul.plan-card__features {
    text-align: left;
}

#planes .plans-showcase__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 390px));
  justify-content: center;
  gap: 28px;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

#planes .plans-showcase__grid > .plan-card {
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
}

#planes .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#planes .plans-showcase__title {
  text-align: center;
}

@media (max-width: 991px) {
  #planes .plans-showcase__grid {
    grid-template-columns: 1fr;
    max-width: 390px;
  }
}

/* TABLA COMPARATIVA DATASYNC */

.table-fade{
  position: relative;
  display: block;
  isolation: isolate;
  overflow: visible !important;
}

.table-fade > .table-scroll{
  overflow-x: auto !important;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

.table-container{
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  isolation: isolate;
}

.table-container table{
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
}

.table-container th,
.table-container td{
  padding: 16px 18px;
  vertical-align: middle;
}

.table-container th{
  font-weight: 700;
}

.table-container td:first-child,
.table-container th:first-child{
  text-align: left;
}

.table-container td:not(:first-child),
.table-container th:not(:first-child){
  text-align: center;
}

.sitios-web .fixed-table{
  position: sticky;
  top: -1px;
  background: var(--secondary-block-bg);
  z-index: 99;
}

.sitios-web .lm.lm-check{
  color: var(--text-primary-color);
}

/* Fade lateral mobile */
@media (max-width: 991.98px){
  .table-fade::after{
    content:"";
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    width:80px;
    pointer-events:none;
    z-index:2147483647;
    background: linear-gradient(to left,
      rgba(6,18,44,0.80) 0%,
      rgba(6,18,44,0.50) 28%,
      rgba(6,18,44,0.22) 60%,
      rgba(6,18,44,0.00) 100%
    );
  }

  .sitios-web-select-mbl{
    display: none;
  }

  .container.flexi{
    display: inline;
  }
}

@media (min-width: 992px){
  .table-fade::after{
    content:none !important;
    display:none !important;
  }
}

.table-container tr{
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.table-container tr:last-child{
  border-bottom: 0;
}

.table-container .fixed-table th{
  padding-top: 20px;
  padding-bottom: 20px;
}

/* SEPARACIÓN ENTRE BLOQUES DEL LANDING */
.section-compare{
  padding-top: 90px;
  padding-bottom: 90px;
}

/* si viene justo después del bloque Free / Pro */
.pricing-section + .section-compare,
.datasync-plans + .section-compare,
.section-plans + .section-compare{
  margin-top: 40px;
}

/* TÍTULO Y BAJADA DE LA TABLA */
.section-compare .section-title{
  margin-bottom: 18px;
  text-align: center;
}

.section-compare .section-subtitle{
  max-width: 900px;
  margin: 0 auto 42px auto;
  text-align: center;
  line-height: 1.6;
}

/* TABLA */
.section-compare .table-fade{
  margin-top: 10px;
}

.section-compare .table-container table{
  margin-top: 0;
}

/* más aire sobre mobile */
@media (max-width: 767.98px){
  .section-compare{
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .pricing-section + .section-compare,
  .datasync-plans + .section-compare,
  .section-plans + .section-compare{
    margin-top: 20px;
  }

  .section-compare .section-title{
    margin-bottom: 14px;
  }

  .section-compare .section-subtitle{
    margin: 0 auto 28px auto;
    padding: 0 10px;
  }
}

/* TABLA COMPARATIVA ESTILO TURBOHOST */
.section-compare.sitios-web{
  padding-top: 90px;
  padding-bottom: 90px;
}

.section-compare .section-title{
  text-align: center;
  margin-bottom: 16px;
}

.section-compare .section-subtitle{
  text-align: center;
  max-width: 860px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
}

.section-compare .table-fade{
  position: relative;
  display: block;
  isolation: isolate;
  overflow: visible !important;
}

.section-compare .table-fade > .table-scroll{
  overflow-x: auto !important;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  position: relative;
  border-radius: 30px 30px 0 0;
}

.section-compare .table-container{
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  isolation: isolate;
  border-radius: 30px 30px 0 0;
}

.section-compare .table-container table{
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  border-spacing: 0;
  background: transparent;
}

/* HEADER */
.section-compare .table-container .fixed-table th{
  position: sticky;
  top: -1px;
  z-index: 20;
  padding: 22px 24px;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(180deg, #0f52ff 0%, #143d99 100%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.section-compare .table-container .fixed-table th:first-child{
  text-align: left;
  border-top-left-radius: 30px;
}

.section-compare .table-container .fixed-table th:last-child{
  border-top-right-radius: 30px;
}

/* CELDAS */
.section-compare .table-container td{
  padding: 22px 24px;
  font-size: 15px;
  line-height: 1.45;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  vertical-align: middle;
}

.section-compare .table-container td:first-child{
  width: 32%;
  text-align: left;
  color: rgba(255,255,255,0.96);
}

.section-compare .table-container td:nth-child(2),
.section-compare .table-container td:nth-child(3),
.section-compare .table-container th:nth-child(2),
.section-compare .table-container th:nth-child(3){
  width: 34%;
  text-align: center;
}

/* CHECKS */
.section-compare .lm.lm-check{
  color: #10b7ff;
  font-size: 22px;
  font-weight: 700;
}

/* FILAS */
.section-compare .table-container tr:not(.fixed-table):hover td{
  background: rgba(255,255,255,0.015);
}

/* separador visual superior respecto al bloque anterior */
.datasync-plans + .section-compare,
.pricing-section + .section-compare,
.section-plans + .section-compare{
  margin-top: 40px;
}

/* Fade lateral mobile */
@media (max-width: 991.98px){
  .section-compare .table-fade::after{
    content:"";
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    width:80px;
    pointer-events:none;
    z-index:30;
    background: linear-gradient(to left,
      rgba(6,18,44,0.82) 0%,
      rgba(6,18,44,0.46) 35%,
      rgba(6,18,44,0.00) 100%
    );
  }

  .section-compare{
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .section-compare .section-subtitle{
    margin-bottom: 26px;
    padding: 0 10px;
  }

  .section-compare .table-container table{
    min-width: 860px;
  }

  .section-compare .table-container td,
  .section-compare .table-container .fixed-table th{
    padding: 18px 18px;
  }
}

@media (min-width: 992px){
  .section-compare .table-fade::after{
    content:none !important;
    display:none !important;
  }
}

/* fallback para checks de la tabla */
.lm.lm-check{
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  font-size: 0;
  line-height: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M5 12.5l4.2 4.2L19 7' stroke='%2310b7ff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

/* opcional: centrar mejor dentro de celdas */
.section-compare td .lm.lm-check{
  margin: 0 auto;
}