/* =========================================================
   SOFIAPPS – Estilos globales con soporte Light/Dark
   ========================================================= */

/* === Poppins (carga rápida) === */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700;800&display=swap');

/* ---- Tokens inmutables / compartidos ---- */
:root{
  /* Colores */
  --brand: #1f6bff;        /* Azul principal */
  --brand-2: #4bd3ff;      /* Cian acento */
  --grad: linear-gradient(90deg, var(--brand), var(--brand-2));

  /* Geometría y Layout */
  --radius: 18px;
  --radius-sm: 14px;
  --radius-lg: 28px;
  --grid-gap: clamp(16px, 2.5vw, 28px);
  
  /* Efectos */
  --ring: 0 0 0 6px rgba(79, 182, 255, .15);
  
  /* Tipografía */
  --ff-base: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ff-title: var(--ff-base);
  --body-weight: 400;     /* Regular */
  --ui-weight: 500;       /* Medium para controles */
  --title-weight: 800;    /* ExtraBold para títulos */
}

/* ---- Tema CLARO ---- */
html[data-theme="light"]{
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f2f6ff;
  --border: rgba(2, 6, 23, .08);
  --text: #0b1220;
  --muted: #334155;
  --title-color: #0b1220; /* Títulos oscuros y legibles */

  --shadow: 0 6px 20px rgba(10, 20, 50, .10);
  --shadow-soft: 0 2px 10px rgba(10, 20, 50, .08);
}

/* ---- Tema OSCURO ---- */
html[data-theme="dark"]{
  --bg: #0b1220;
  --surface: #0f1629;
  --surface-2: #131c31;
  --border: rgba(255, 255, 255, .08);
  --text: #e9eefb;
  --muted: #aab7d4;
  --title-color: var(--brand-2); /* Títulos en cian vibrante */

  --shadow: 0 6px 24px rgba(3, 15, 45, .35);
  --shadow-soft: 0 2px 10px rgba(3, 15, 45, .25);
}

/* ---- Base ---- */
html, body{
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-base);
  font-weight: var(--body-weight);
  color-scheme: light dark;        /* Hints para UI nativa */
  transition: background-color .2s ease, color .2s ease;
}

.section-padding{padding-top: clamp(32px, 5vw, 72px); padding-bottom: clamp(32px, 5vw, 72px);}
.lead-soft{color: var(--muted);}
.grad{background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;}

.eyebrow{color: var(--brand-2); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .78rem}
.title{
  font-family: var(--ff-title);
  font-weight: var(--title-weight);
  color: var(--title-color);
  line-height: 1.15;
}
.sub{color: var(--muted);}

/* Micro animaciones accesibles */
@media (prefers-reduced-motion: no-preference){
  [data-reveal], [data-scroll-reveal]{opacity: 0; transform: translateY(10px); animation: r 0.7s ease forwards;}
  [data-reveal].delay-1{animation-delay: .12s}
  [data-reveal].delay-2{animation-delay: .22s}
  @keyframes r{to{opacity: 1; transform: none}}
}

/* =========================================================
   (2) NOSOTROS – Hero desarrollo (id: dev-sesion)
   ========================================================= */
.hero-bg{
  /* fondo adaptado: usa superficies del tema */
  background: linear-gradient(180deg, var(--bg), var(--surface) 50%, var(--bg));
  position: relative;
  overflow: clip;
}

.dev-title .dev-grad{background: var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent;}

.dev-figure{
  position:relative; margin:0;
  border-radius: var(--radius-lg); overflow:hidden;
  box-shadow: 0 20px 60px rgba(10,20,50,.25);
  isolation:isolate;
}
.dev-figure img{
  display:block; width:100%; height:auto; transform: scale(1.02);
  transition: transform .5s ease;
}
.dev-figure:hover img{transform: scale(1.05);}
.dev-overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.25));
  mix-blend-mode: soft-light;
}
.dev-badge{
  position:absolute; left:18px; bottom:18px;
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.5rem .8rem; border-radius:999px;
  font-weight:600; font-size:.9rem; color:#051226;
  background: rgba(255,255,255,.85); backdrop-filter: blur(4px);
  box-shadow: var(--shadow);
}
.dev-badge .dot{width:8px; height:8px; border-radius:50%; background: var(--brand); box-shadow:0 0 0 6px rgba(31,107,255,.25)}

/* Listado con checks */
.dev-list{list-style:none; padding:0; margin:0;}
.dev-list li{display:flex; gap:.6rem; align-items:flex-start; color:var(--text); margin:.35rem 0;}
.dev-list .check{
  width:18px; height:18px; flex:0 0 18px; margin-top:.2rem;
  border-radius:6px; background: var(--grad);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.12), 0 0 0 4px rgba(79,182,255,.18);
}

/* =========================================================
   (3) SERVICIOS – grid de tarjetas (id: servicios-sfx)
   ========================================================= */
#servicios-sfx{position:relative; overflow:clip;}
#servicios-sfx .svc-head{
  text-align:center; margin-bottom: clamp(20px,3.5vw,36px);
}
.svc-chip{
  display:inline-block; padding:.4rem .75rem; border-radius:999px;
  background: rgba(255,255,255,.06); border:1px solid var(--border); color:var(--brand-2); font-weight:700; letter-spacing:.04em;
}
.svc-title{font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin:.5rem 0;}
.svc-sub{max-width:760px; margin:0 auto; color:var(--muted)}
.svc-tags{display:flex; flex-wrap:wrap; gap:.5rem; justify-content:center; margin-top:1rem}
.svc-tags span{
  font-size:.82rem; color:#b9c7e6; border:1px dashed rgba(255,255,255,.14);
  padding:.3rem .6rem; border-radius:999px;
}

.svc-grid{
  display:grid; gap: var(--grid-gap);
  grid-template-columns: repeat(12, 1fr);
}
.svc-card{
  grid-column: span 12;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border:1px solid var(--border); 
  padding: clamp(18px,2.2vw,24px);
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position:relative;
}
.svc-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(12,30,70,.35);
  border-color: rgba(255,255,255,.18);
}
.svc-icon{
  width:48px; height:48px; display:grid; place-items:center;
  border-radius:14px; margin-bottom:.8rem;
  background: radial-gradient(80% 80% at 30% 20%, rgba(75,211,255,.25), transparent),
              rgba(255,255,255,.04);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.svc-icon svg{width:26px; height:26px; fill:none; stroke: var(--brand-2); stroke-width:1.8; opacity:.95}
.svc-card h3{font-size:1.12rem; margin:0 0 .25rem}
.svc-card p{color:var(--muted); margin:0 0 .6rem}

.svc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 .8rem;
}

.svc-list li {
  display: flex;
  gap: 1rem; /* Aumento la separación entre los elementos */
  align-items: center;
  color: #cdd8f2;
  margin: 1.25rem 0;
}

.svc-list li::before {
  content: "\2713"; /* Checkmark character */
  font-size: 18px;
  color: #74d500; /* Verde bonito */
  background-color: transparent; /* Fondo transparente */
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 0 0 6px rgba(117, 247, 56, 0.14);
  display: inline-block;
  width: 24px; /* Tamaño del check */
  height: 24px; /* Tamaño del check */
  text-align: center;
  line-height: 22px;
}


.svc-cta{font-weight:700; color: var(--brand-2); text-decoration:none;}
.svc-cta:hover{filter:brightness(1.1); text-decoration:underline}

/* responsive cols (2 × 3 en desktop) */
@media (min-width: 768px){
  .svc-card{grid-column: span 6;}
}
@media (min-width: 1200px){
  .svc-card{grid-column: span 4;}
}

/* =========================================================
   (4) SISTEMAS – Tabs
   ========================================================= */
.tab-card{
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border:1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow:hidden;
}
.section-head{
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding: clamp(16px,2vw,20px) clamp(16px,2vw,24px);
  border-bottom: 1px solid var(--border);
}
.section-head .titulo-profe{font-size: clamp(1.4rem,2.2vw,2rem)}
.nav-pills{padding: .35rem .45rem; gap:.4rem;}
.nav-pills .nav-link{
  border-radius: 999px; color:#2b3a55; /* en claro: texto oscuro */
  padding:.5rem .9rem; border:1px solid transparent;
  background: transparent;
}
html[data-theme="dark"] .nav-pills .nav-link{ color:#cfe0ff; }
.nav-pills .nav-link:hover{background: rgba(255,255,255,.04);}
.nav-pills .nav-link.active{
  background: var(--grad); color:#041020; font-weight:700; border-color: transparent;
  box-shadow: var(--ring);
}

.tab-content{padding: clamp(16px,2.2vw,24px);}

/* Videos (slot) */
.videos-decor{
  position:relative;  overflow:hidden;
  border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
  box-shadow: var(--shadow-soft);
}
.videos-decor .bg-shape{
  position:absolute; inset:-10% -20% auto auto; height:220px; width:55%;
  background: radial-gradient(600px 260px at 90% 10%, rgba(75,211,255,.15), transparent 60%);
  pointer-events:none;
}

/* Start - Empieza gratis */
.start-card{
  display:grid; gap: var(--grid-gap);
  grid-template-columns: 1.2fr .8fr;
  border:1px solid var(--border); 
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  padding: clamp(16px,2vw,22px);
}
.start-form .form-control{
  background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.12);
  color: var(--text); border-radius: 12px;
}
.start-form .form-control::placeholder{color:#9fb0d8}
.start-form .form-control:focus{border-color: rgba(75,211,255,.45); box-shadow: var(--ring);}

/* Ayuda */
.help-grid{
  display:grid; gap: var(--grid-gap);
  grid-template-columns: repeat(12, 1fr);
}
.help-card{
  grid-column: span 12;
  border:1px dashed rgba(255,255,255,.18);
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
   padding: clamp(14px,2vw,18px);
}
@media (min-width: 992px){
  .start-card{grid-template-columns: 1.3fr .7fr;}
  .help-card{grid-column: span 6;}
}

/* =========================================================
   Utilidades y pequeños extras
   ========================================================= */
figure img{user-select:none}
a{text-decoration:none}
a:hover{text-decoration: none}
.d-grid{display:grid}
.titulo-profe span{background: var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent}

/* =========================================================
   (A) Layout
   ========================================================= */
.container-narrow{max-width: 1080px !important;}
@media (min-width: 1400px){ .container-narrow{max-width: 1140px !important;} }
.centered-block{margin-inline:auto;}
.text-center-lg{text-align:left;}
@media (min-width: 992px){ .text-center-lg{text-align:center;} }

.sofi-hero .container,
#servicios-sfx .container,
.sofi-hero.section-padding + .section-padding .container{
  padding-left: clamp(16px, 5vw, 64px);
  padding-right: clamp(16px, 5vw, 64px);
}



/* =========================================================
   (C) Servicios: CTA botón + estados
   ========================================================= */
.svc-cta{
  display:inline-flex; align-items:center; justify-content:center;
  padding:.55rem .9rem; border-radius:999px; font-weight:700;
  border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,.08));
  color:#e9f2ff;
  transition: transform .15s ease, border-color .2s ease, box-shadow .2s ease;
}
.svc-cta:hover{transform: translateY(-1px); border-color: rgba(255,255,255,.18); box-shadow: var(--shadow-soft);}
.svc-cta:active{transform: translateY(0);}

/* Chips filtro */
.svc-tags{user-select:none}
.svc-tags span{
  cursor:pointer; transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.svc-tags span.is-active{
  background: transparent !important;
  border-style: solid; border-color: rgba(75,211,255,.55);
  color:#ffffff;
}

/* Animación de filtrado */
.svc-card{opacity:1; transform: translateY(0); transition: opacity .22s ease, transform .22s ease;}
.svc-card.is-hidden{opacity:0; transform: translateY(6px); pointer-events:none;}


/* =========================================================
   Botón Mejorado con Gradiente y Efectos (Más Delgado)
   ========================================================= */
.btn-orange {
  /* --- Estilos base --- */
  display: inline-block;
  padding: 16px 16px; /* Reducimos el padding vertical para hacerlo más delgado */
  font-size: 20px; /* Reducimos aún más la fuente */
  font-weight: 700;
  color: #ffffff !important; /* Texto en color blanco */
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  border: none;
  border-radius: 20px; /* Bordes totalmente redondeados */

  /* --- El gradiente y su truco --- */
  background-image: linear-gradient(102deg, #2B56ED 0%, #2BE4ED 51%, #2B56ED 100%);
  background-size: 200% auto; /* Mantenemos el tamaño para el efecto hover */
  
  /* --- Sombra para darle profundidad (más sutil) --- */
  box-shadow: 0 2px 5px rgba(43, 139, 237, 0.3);

  /* --- Transición suave para todos los efectos --- */
  transition: all 0.4s cubic-bezier(.4, 0, .2, 1);
}

/* --- Efecto al pasar el cursor (Hover) --- */
.btn-orange:hover {
  background-position: right center; /* Mueve el gradiente a la derecha */
  transform: translateY(2px); /* Elevamos un poco menos */
  box-shadow: 0 4px 10px rgba(43, 187, 237, 0.4); /* Sombra un poco más pronunciada */
}

/* --- Efecto al hacer clic (Active) --- */
.btn-orange:active {
  transform: translateY(0px); /* Regresa a su posición original */
  box-shadow: 0 4px 10px rgba(43, 139, 237, 0.3); /* Sombra original */
}

/* --- Estilo de foco para accesibilidad --- */
.btn-orange:focus {
  outline: 2px solid #2BE4ED;
  outline-offset: 1px; /* Ajustamos el offset */
}

/* =========================================================
   (A) Título grande
   ========================================================= */
.sistema-title{
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  font-weight: 900; color: #fff; line-height: 1.1; margin: 0 0 .35rem;
}

/* =========================================================
   (B) Section-head & CTA
   ========================================================= */
.section-head{ display:flex; align-items:end; justify-content:space-between; gap:1rem; }
.section-head .cta-ghost{ display:none; }
.section-head .actions{ display:flex; gap:.6rem; }

/* =========================================================
   (C) Nav pills: "Empieza Gratis"
   ========================================================= */
#sofiTabs .nav-link#tab-empieza{
  background: var(--grad-orange); color:#101010; font-weight:800;
  border:0; box-shadow: var(--ring);
}
#sofiTabs .nav-link#tab-empieza:not(.active):hover{ filter:brightness(1.06); }
#sofiTabs .nav-link#tab-empieza.active{ background: var(--grad-orange); color:#101010; }

/* =========================================================
   (D) Servicios: CTA unificado
   ========================================================= */
.svc-cta{
  border:0; border-radius:999px;
  background: var(--grad); color:#06122a;
  padding:.5rem .9rem; font-weight:700;
  box-shadow: var(--shadow-soft);
}
.svc-cta:hover{filter:brightness(1.06); transform: translateY(-1px);}

/* =========================================================
   (E) Pricing: botones
   ========================================================= */
.pricing .price-card .btn{ border-radius:999px; font-weight:800; }

/* =========================================================
   Videos (uniforme)
   ========================================================= */
.videos-decor{
  position:relative;  overflow:hidden;
  border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
  box-shadow: var(--shadow-soft);
  padding: clamp(12px, 2vw, 16px);
}
.videos-decor .bg-shape{
  position:absolute; inset:-10% -20% auto auto; height:220px; width:55%;
  background: radial-gradient(600px 260px at 90% 10%, rgba(75,211,255,.15), transparent 60%);
  pointer-events:none;
}
#pane-videos .videos-decor > iframe{
  width:100% !important; max-width:100% !important; aspect-ratio:16/9; height:auto; border:0; border-radius:14px; box-shadow: var(--shadow-soft);
}
.video-grid{ display:grid; gap: clamp(10px, 2vw, 16px); grid-template-columns: repeat(12, 1fr); }
.video-item{
  grid-column: span 12; border:1px solid var(--border); border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  overflow:hidden; box-shadow: var(--shadow-soft);
}
.video-item iframe, .video-item video, .video-frame{ width:100%; aspect-ratio:16/9; height:auto; display:block; border:0; }
.video-caption{ padding:.6rem .8rem; color:var(--muted); font-size:.9rem; }
@media (min-width:768px){ .video-item{ grid-column: span 6; } }
@media (min-width:1200px){ .video-item{ grid-column: span 4; } }

	/* =========================================================
	VARIABLES Y RESETEOS ÚTILES
	========================================================= */
	:root{
	--header-h: 60px;
	--brand: #072146;
	--brand-2: #1973b8;
	--link: #ffffff;
	--link-hover: #e9f3ff;
	--glow: #70bfff;
	--footer-bg: #0a0a0a;
	--footer-cyan: #00f6ff;
	}

	/* Preferencia de usuario: reduce motion */
	@media (prefers-reduced-motion: reduce){
	*{ animation: none !important; transition: none !important; }
	}

	/* =========================================================
	HEADER TRANSPARENTE + STICKY (anti-velos del theme)
	Requiere: <div id="site-header" class="header-bottom">...</div>
	========================================================= */
	#site-header,
	#site-header.sticky-bar,
	#site-header.sticky-bar.stick,
	#site-header .container,
	#site-header .header-wrap,
	#site-header .main-menu,
	#site-header .main-menu > ul{
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	border: 0 !important;
	}

	/* Elimina pseudo-elementos que algunos themes inyectan */
	#site-header::before,
	#site-header::after{
	content: none !important;
	display: none !important;
	}

	/* Altura, posición y stacking del header */
	#site-header{
	position: fixed;          /* ← flotante SIEMPRE */
	top: 0; left: 0; right: 0;
	height: var(--header-h);
	z-index: 1000;
	}

	/* Estado al scrollear */
	#site-header.is-scrolled{
	border-bottom: 1px solid rgba(255,255,255,.15) !important;
	}
	@supports (backdrop-filter: blur(6px)){
	#site-header.is-scrolled{
		background: rgba(10,10,10,.08) !important;  /* sigue translúcido */
		backdrop-filter: saturate(160%) blur(8px);
	}
	}

	/* Sticky animado sin pintar fondo */
	#site-header.sticky-bar.stick{
	border-bottom: 1px solid rgba(255,255,255,.15) !important;
	animation: fadeInDown .7s ease-in-out;
	}
	@keyframes fadeInDown{
	0%{ opacity:0; transform: translateY(-20px); }
	100%{ opacity:1; transform: translateY(0); }
	}

	/* Evita fondos en variantes del theme */
	.header-style-1, .header-style-2, .header-style-3{
	background: transparent !important;
	background-image: none !important;
	}

	/* Empuje del contenido si el header es absolute */
	body{ padding-top: var(--header-h); }

	/* =========================================================
	LOGO
	========================================================= */
	.logo-reducido{
		margin-top:10px !important;
		max-width: 70% !important;
		min-width: 90px !important;
		height: auto !important;
	}
	.logo-animado{
	animation: fadeBounce 1s ease-out;
	transition: transform .3s ease;
	}
	.logo-animado:hover{ transform: scale(1.05) rotate(-2deg); }
	@keyframes fadeBounce{
	0%{ opacity:0; transform: scale(.5) translateY(-20px); }
	60%{ opacity:1; transform: scale(1.1) translateY(5px); }
	100%{ transform: scale(1) translateY(0); }
	}

	/* =========================================================
	MENÚ
	========================================================= */
	.menu-nav{
	display:flex;
	align-items:center;
	justify-content:center;
	height: var(--header-h);
	gap:16px;
	margin:0; padding:0; list-style:none;
	}

	/* Aparición suave de items */
	.menu-nav li{ opacity:0; animation: fadeUp .6s ease forwards; }
	.menu-nav li:nth-child(1){ animation-delay:.1s }
	.menu-nav li:nth-child(2){ animation-delay:.2s }
	.menu-nav li:nth-child(3){ animation-delay:.3s }
	.menu-nav li:nth-child(4){ animation-delay:.4s }
	.menu-nav li:nth-child(5){ animation-delay:.5s }
	.menu-nav li:nth-child(6){ animation-delay:.6s }
	@keyframes fadeUp{ 0%{opacity:0; transform:translateY(20px)} 100%{opacity:1; transform:none} }

	/* Links del menú en blanco (sin tocar botones) */
	#site-header .main-menu .menu-nav > li > a:not(.btn){
	color:  #ffffff !important;
	font-weight:600;
	padding:10px 16px;
	text-decoration:none;
	text-transform:uppercase;
	position:relative;
	transition: color .25s ease;
	}

	#site-header .main-menu .menu-nav > li > a:not(.btn):hover{
	color: var(--link-hover) !important;
	}

	/* Subrayado con glow solo para .nav-glow */
  #site-header .main-menu .menu-nav > li > a.nav-glow:not(.btn)::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 4px;
    height: 3px; /* Aumento el grosor del subrayado */
    background: #072146 !important; /* Aplicamos el color azul */
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
  }

  #site-header .main-menu .menu-nav > li > a.nav-glow:not(.btn):hover::after {
    transform: scaleX(1); /* Mostrar el subrayado en hover */
  }

	

	/* =========================================================
	RESPONSIVE
	========================================================= */
	@media (max-width: 992px){
	:root{ --header-h: 56px; }
	}
	@media (max-width: 768px){
	.container-footer{
		flex-direction:column; align-items:center; text-align:center; gap:20px;
	}
	}

  .lp-switch{
    position:relative; display:inline-flex; align-items:center;
    width:38px; height:22px; padding:2px; margin-left:.4rem;
    border-radius:999px; border:1px solid var(--border, rgba(0,0,0,.15));
  }
  .lp-switch i{
    display:block; width:16px; height:16px; border-radius:50%;
    background: var(--text, #0b1220); transform: translateX(0); transition:.2s ease;
  }
  [data-theme="dark"] .lp-switch{
    background: var(--surface, #0f1629); border-color: var(--border, #1f2b45);
  }
  [data-theme="dark"] .lp-switch i{
    background: var(--text, #eaf0ff); transform: translateX(16px);
  }

  /* Botón toggle transparente */
  .theme-toggle{
    appearance:none;
    border:0;
    background:transparent !important;      /* ← transparente */
    padding:.35rem;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    line-height:0;
    cursor:pointer;
    color:#fff;                              /* icono blanco en el header */
    transition: opacity .15s ease, transform .15s ease;
  }
  .theme-toggle:hover{ background:transparent !important; opacity:.9; transform: translateY(-1px); }
  .theme-toggle:active{ transform: translateY(0); }
  .theme-toggle:focus-visible{ outline:2px solid currentColor; outline-offset:2px; }
  .theme-toggle svg {
    display: block;
    width: 20px;
    height: 20px;
    stroke: rgb(18, 85, 217); /* Color azul */
    stroke-width: 1px; /* Grosor del trazo reducido a la mitad */
  }

  /* Mostrar sólo luna o sol según el tema */
  html[data-theme="light"] .ico-moon{ display:none; }
  html[data-theme="dark"]  .ico-sun { display:none; }

  /* ====== THEMING (light/dark con data-theme en <html>) ====== */
  html[data-theme="light"]{
    --lp-bg: #ffffff;
    --lp-text: #0b1220;
    --lp-sep: rgba(15,22,41,.12);
    --lp-hover: rgba(15,22,41,.06);
  }
  html[data-theme="dark"]{
    --lp-bg: #0f1629;
    --lp-text: #eaf0ff;
    --lp-sep: rgba(255,255,255,.12);
    --lp-hover: rgba(255,255,255,.07);
  }

  /* ==== HERO (50vh) ==== */
  .hero-slider {
    width: 100%;
    height: 88vh;
    position: relative;
    color: var(--ink);
  }

  @media (max-width: 575.98px) {
    .hero-slider {
      height: 56vh; /* un pelín más alto en móvil */
    }
  }

  .swiper-slide {
    position: relative;
    display: flex;
    align-items: flex-start; /* Alinear arriba */
    justify-content: flex-start; /* Alinear a la izquierda */
    text-align: left; /* Alinear texto a la izquierda */
    overflow: hidden;
  }

  /* Fondo imagen con efecto notorio */
  .slide-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transform: scale(1.05);
    filter: brightness(0.9) saturate(1);
    transition: transform 1.2s ease, filter 1.2s ease, opacity 0.6s ease;
  }

  .swiper-slide-active .slide-background {
    transform: scale(1.18); /* zoom suave y notorio */
    filter: brightness(1) saturate(1.1);
  }

  /* Overlay para contraste */
  .slide-overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay);
    z-index: 2;
  }

  /* Animaciones izquierda -> derecha */
  @keyframes slideInLR {
    from {
      opacity: 0;
      transform: translateX(-60px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .swiper-slide-active {
    animation: slideInLR var(--anim) cubic-bezier(0.2, 0.65, 0.2, 1) 0.05s both;
  }

  .swiper-slide-active .slide-description {
    animation: slideInLR var(--anim) cubic-bezier(0.2, 0.65, 0.2, 1) 0.25s both;
  }

  /* Controles del Swiper */
  .swiper-button-next,
  .swiper-button-prev {
    color: rgba(255, 255, 255, 0.9);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 50%;
    transition: 0.25s ease;
  }

  .swiper-button-next:hover,
  .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.45);
  }

  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 18px;
    font-weight: 700;
  }

  .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
  }

  .swiper-pagination-bullet-active {
    background: #fff;
    transform: scale(1.15);
  }

  .section-title {
      font-size: 34px !important;
  }

  .wa_support_standalone.wcs_fixed_right{
    position: fixed; right: 20px; bottom: 20px; z-index: 9999;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  }

  /* Botón flotante */
  .wcs_button{
    display: inline-flex; align-items: center; gap: 10px;
    background: #25D366; color: #fff; cursor: pointer;
    border-radius: 999px; padding: 10px 14px; box-shadow: 0 10px 24px rgba(0,0,0,.18);
  }
  .wcs_button.wcs_button_circle{
    width: 56px; height: 56px; padding: 0; justify-content: center; border-radius: 50%;
  }
  .wcs_button .fa-whatsapp{ font-size: 26px; line-height: 1; }
  .wcs_button_label{
    background: rgba(255,255,255,.85); color:#0f172a; padding: 6px 10px; border-radius: 6px;
    font-weight: 600; font-size: 14px; white-space: nowrap; transition: transform .25s ease, opacity .25s ease;
  }
  .wcs_button_label_hide{ transform: translateX(10px); opacity: 0; visibility: hidden; }

  /* Popup */
  .wcs_popup{
    display: none; position: fixed; right: 20px; bottom: 88px;
    width: 340px; max-width: 92vw;
    background: #fff; color:#0f172a; border-radius: 16px; box-shadow: 0 18px 50px rgba(0,0,0,.22);
  }
  .wcs_popup.open{ display: block; }
  .wcs_popup_close{ position:absolute; right: 12px; top: 8px; font-size: 20px; cursor: pointer; color: #fff; opacity: .9; }
  .wcs_popup_header{
    display:flex; align-items:center; gap:10px; padding: 14px 16px;
    background: #25D366; color:#fff; border-top-left-radius:16px; border-top-right-radius:16px;
  }
  .wcs_popup_header .fa-whatsapp{ font-size: 28px; }
  .wcs_popup_header_title{ font-weight: 800; }
  .wcs_popup_header_description{ font-size: 12px; opacity: .95; }

  .wcs_popup_person_container{ max-height: 60vh; overflow:auto; background:#fff; }
  .wcs_popup_person{
    display:flex; gap:12px; align-items:center; padding: 12px 14px; cursor: pointer;
    transition: background .2s ease;
    border-bottom: 1px dashed rgba(0,0,0,.06);
  }
  .wcs_popup_person:hover{ background: rgba(0,0,0,.035); }
  .wcs_popup_person:last-child{ border-bottom: 0; }
  .wcs_popup_person_img img{ width:46px; height:46px; border-radius:50%; object-fit:cover; display:block; border: 2px solid #25D366; }
  .wcs_popup_person_content{ flex:1; min-width: 0; }
  .wcs_popup_person_name{ font-weight: 800; }
  .wcs_popup_person_description{ font-size: 12px; color:#475569; }
  .wcs_popup_person_status{ font-size: 12px; color:#64748b; }
  .wcs_popup_person.is-offline{ opacity:.55; filter: grayscale(.1); }
  .wcs_popup_person.is-online  .wcs_popup_person_status{ color:#0aad00; font-weight:700; }

  .wcs_popup_input{
    display:flex; align-items:center; gap:10px; padding: 10px 12px; border-top: 1px solid rgba(0,0,0,.06); background:#fff;
    border-bottom-left-radius:16px; border-bottom-right-radius:16px;
  }
  .wcs_popup_input input{
    flex:1; border: 1px solid rgba(0,0,0,.12); border-radius: 10px; padding: 10px 12px; outline: 0;
  }
  .wcs_popup_input .fa-paper-plane{ font-size: 18px; color:#6b7280; cursor: pointer; }

  @media (max-width: 420px){
    .wcs_popup{ right: 12px; bottom: 84px; }
    .wa_support_standalone.wcs_fixed_right{ right: 12px; bottom: 12px; }
  }

  /* Garantiza clickeabilidad por encima de overlays del theme */
  .wa_support_standalone.wcs_fixed_right,
  .wa_support_standalone .wcs_button,
  .wa_support_standalone .wcs_popup{
    pointer-events: auto !important;
    z-index: 99999 !important;
  }

  :root{
    --overlay: rgba(0,0,0,.45);
    --ink: #ffffff;        /* ← letras blancas */
    --anim: .85s;
  }


  /* Oculta cards filtradas */
  #servicios-sfx .svc-card.is-hidden{
    display:none !important;
  }

  /* (Opcional) feedback visual en los chips */
  #servicios-sfx .svc-tags [data-filter]{
    cursor:pointer;
    user-select:none;
  }
  #servicios-sfx .svc-tags .is-active{
    outline:2px solid #4bd3ff;
    border-radius:999px;
    padding:.15rem .6rem;
  }


/* 4: sistemas vídeos  -->

    /* ░░ CONTENEDOR PRINCIPAL ░░ */
    .video-block{
    position:relative;
    display:flex;
    flex-direction:column;
    gap:1.25rem;
    }
    @media (min-width:992px){
    .video-block{
        flex-direction:row;
        gap:2rem;
    }
    }

    /* ░░ GLOW CELESTE ░░ */
    .video-glow{
    position:absolute;
    inset:0;
    z-index:-1;
    width:80%;
    border-radius:3rem;
    transform:skewX(-6deg);
    filter:blur(18px);
    background:
        radial-gradient(60% 60% at 25% 35%, rgba(0,140,255,.25), transparent 60%),
        radial-gradient(50% 50% at 55% 55%, rgba(75,211,255,.18), transparent 60%);
    }
    @media (min-width:992px){
    .video-glow{right:auto;width:55%;}
    }

    /* ░░ PLAYER PRINCIPAL 16×9 ░░ */
    .video-main{
    position:relative;
    flex:1 1 0;
    width:100%;
    border-radius:2rem;
    border:10px solid #fff;
    box-shadow:0 8px 24px rgba(0,0,0,.28);
    aspect-ratio:16/9;
    overflow:hidden;
    }

    /* Fallback sólo si el navegador NO soporta aspect-ratio */
    @supports not (aspect-ratio: 1 / 1){
    .video-main::before{
        content:'';
        display:block;
        padding-top:56.25%;
    }
    .video-main iframe{
        position:absolute;
        inset:0;
        width:100%;
        height:100%;
        border:0;
    }
    }

    /* Si HAY aspect-ratio, neutraliza el hack inline (padding-bottom / height:0) */
    @supports (aspect-ratio: 16 / 9){
    .video-main{
        padding-bottom:0 !important;
        height:auto !important;
    }
    .video-main iframe{
        position:absolute;
        inset:0;
        width:100%;
        height:100%;
        border:0;
    }
    }

    /* Bloquea cualquier overlay ajeno dentro del reproductor (por si acaso) */
    .video-main .thumb-overlay{ display:none !important; }

    /* ░░ MINIATURAS (GRID por defecto) ░░ */
    .video-thumbs{
    display:grid !important;                 /* anula inline display:flex */
    grid-template-columns:repeat(4,1fr);
    gap:.75rem;
    }
    @media (min-width:992px){
    .video-thumbs{
        width:10rem;
        grid-template-columns:1fr;
    }
    }

    /* ░░ BOTÓN-MINIATURA ░░ */
    /* Estiliza el botón que contiene la miniatura para reemplazar .video-thumb */
    .video-thumbs .btn-babyblue{
    position:relative;                       /* ¡clave! hace que el overlay se ubique aquí */
    display:block;
    width:100%;
    aspect-ratio:16/9;
    padding:0;
    background:transparent;
    border:3px solid #fff;
    border-radius:1.25rem;
    overflow:hidden;
    cursor:pointer;
    transition:transform .2s ease, filter .2s ease, box-shadow .2s ease, outline-color .2s ease;
    }
    .video-thumbs .btn-babyblue:hover{
    transform:translateY(-3px);
    filter:brightness(.92);
    }
    .video-thumbs .btn-babyblue img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    }

    /* ░░ ESTADO ACTIVO ░░ */
    .video-thumbs .btn-babyblue.active{
    outline:4px solid #0062ff;
    box-shadow:0 8px 18px rgba(0,0,0,.35);
    }
    .video-thumbs .btn-babyblue.active::after{
    content:'';
    position:absolute;
    top:.45rem;
    right:.45rem;
    width:1.3rem;
    height:1.3rem;
    border-radius:50%;
    background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230062ff'%3E%3Cpath d='M9.0 16.17 4.83 12 3.42 13.41 9.0 19 21 7 19.59 5.59z'/%3E%3C/svg%3E") center/70% no-repeat;
    box-shadow:0 0 5px rgba(0,0,0,.25);
    }

    /* ░░ ICONO PLAY SOBRE CADA MINIATURA ░░ */
    .thumb-overlay{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    pointer-events:none;
    }
    .thumb-overlay::before{
    content:'';
    width:2.6rem;
    height:2.6rem;
    border-radius:50%;
    background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230062ff' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 5.653c0-1.427 1.53-2.33 2.78-1.643l11.54 6.347c1.295.712 1.295 2.573 0 3.286L7.28 19.99c-1.25.687-2.78-.217-2.78-1.643V5.653Z'/%3E%3C/svg%3E") center/62% no-repeat;
    box-shadow:0 0 6px rgba(0,0,0,.25);
    }

    /* ░░ TÍTULO DE LA MINIATURA ░░ */
    .thumb-title{
    font-size:.72rem;
    color:#f1f1f1;
    line-height:1.25;
    margin-top:.3rem;
    text-align:center;
    display:block;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    }

    /* ░░ ENVOLTURA DE MINIATURA + TÍTULO ░░ */
    .thumb-wrap{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    }



/* 5: 15 días gratis -->

  /* ===== Banner CTA – Fondo transparente ===== */
  .cta-section{
    --padY: 4rem;
    --padY-sm: 1.5rem;
    --maxW: 1200px;

    background: transparent !important;              /* sin fondo */
    background-image: none !important;               /* sin imágenes */
    padding: var(--padY-sm) 1rem;
  }
  @media (min-width: 768px){
    .cta-section{ padding: var(--padY) 1rem; }
  }

  /* Wrapper: grid 60/40 en desktop */
  .cta-wrap{
    max-width: var(--maxW);
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    align-items: center;
    grid-template-columns: 1fr;                      /* mobile */
  }
  @media (min-width: 992px){
    .cta-wrap{ grid-template-columns: 3fr 2fr; }     /* ≈ 60/40 */
  }

  /* Contenido */
  .cta-content{
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .cta-heading{
    font-size: clamp(1.6rem, 2.2vw + 1rem, 2.25rem);
    line-height: 1.2;
    font-weight: 800;
    color: #fff;
    margin: 0;
  }
  .cta-heading .accent{
    background: linear-gradient(90deg,#36d1dc,#5b86e5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .cta-desc{
    color: #e8f0ff;
    opacity: .9;
    font-size: 1rem;
    max-width: 52ch;
    margin: 0;
  }

  /* Botones */
  .cta-actions{
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-top: .5rem;
  }
  .btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .85rem 1.15rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
    will-change: transform;
  }
  .btn:hover{ transform: translateY(-1px); }
  .btn-primary{
    background: linear-gradient(90deg,#1f6bff,#4bd3ff);
    color: #0b1220;
    box-shadow: 0 8px 20px rgba(31,107,255,.25);
  }
  .btn-primary:hover{ filter: brightness(1.06); }
  .btn-outline{
    border: 2px solid rgba(255,255,255,.7);
    color: #fff;
    background: transparent;
  }
  .btn-outline:hover{
    border-color: #fff;
    box-shadow: 0 6px 18px rgba(255,255,255,.15);
  }

  /* Imagen lateral */
  .cta-side{
    display: grid;
    place-items: center;
  }
  .cta-side img{
    width: min(100%, 420px);
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 24px rgba(0,0,0,.25));
    border-radius: 1rem;
  }

  /* Forzar transparencia total si se inserta en contenedores con fondo */
  .is-transparent,
  .is-transparent *{
    background: transparent;
    background-image: none;
  }


/* 6: e-Commerce -->

  /* === Espaciados más cómodos === */

  .cta-content--sublime{ gap: 1.15rem; }
  .chips{ justify-content:center; gap:.6rem; margin:.6rem 0 .8rem; }
  .feature-list{ gap:.55rem; margin:.6rem 0 1rem; }
  .cta-actions{ gap:.9rem; margin-top:.8rem; }
  .btn{ padding:1rem 1.25rem; }

  /* === Pills con FUEGO y aura === */
  .pill-row--flare{
    position: relative;
    isolation: isolate;
    gap: .65rem;
    margin-bottom:.6rem;
  }
  .pill-row--flare::before{
    content:'';
    position:absolute;
    inset:-14px -16px -16px;
    z-index:-1;
    border-radius: 999px;
    background:
      conic-gradient(from 210deg,
        rgba(255,120,0,.26),
        rgba(255,190,60,.18),
        transparent 35%,
        rgba(79,209,255,.18),
        transparent 70%);
    filter: blur(18px);
    animation: flareSpin 8s linear infinite;
  }
  /* Pill "Nuevo" más fino (delgado y elegante) */
  .pill--hot{
    padding: .38rem .70rem;         /* antes: 0.95rem 0.99rem */
    min-height: 0;                  /* quitamos altura forzada */
    font-size: .9rem;               /* un toque más pequeño */
    font-weight: 700;               /* menos pesado que 800 */
    line-height: 1;                 /* reduce grosor visual */
    border-width: 1px;
    background: linear-gradient(90deg,#ff7a18,#ff3d54);
    border-color: rgba(255,255,255,.22);
    color:#fff;
    box-shadow:
      0 0 0 1px rgba(255,255,255,.06) inset,
      0 6px 16px rgba(255,81,0,.28),  /* sombras más sutiles */
      0 0 22px rgba(255,94,0,.28);
    animation: flicker 2.2s ease-in-out infinite;
  }

  /* Ajusta el icono para el nuevo alto */
  .pill--hot .ico{
    width:.95rem; height:.95rem; margin-right:.32rem; vertical-align:-2px;
  }

  /* Dimensiones iguales para ambos pills */
  .pill--hot,
  .pill--aqua{
    padding: .38rem .70rem;   /* alto/ancho idénticos */
    font-size: .9rem;
    font-weight: 700;         /* semibold */
    line-height: 1;
    border-width: 1px;
  }

  /* Ícono ajustado al mismo alto visual */
  .pill--hot .ico,
  .pill--aqua .ico{
    width:.95rem; height:.95rem;
    margin-right:.32rem;
    vertical-align:-2px;
  }

  /* Iconos para los pills */
  .ico{
    display:inline-block;
    width:1.05rem; height:1.05rem;
    margin-right:.35rem;
    vertical-align:-2px;
  }
  .ico-flame{
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='1 0 22 22'%3E%3Cpath d='M12 2s4 3 4 7a4 4 0 01-8 0c0-2 1-4 4-7z' fill='%23ff8333'/%3E%3Cpath d='M12 21a6 6 0 006-6c0-4-3-7-3-7s1 4-3 5-5-3-5-3-1 3-1 5a6 6 0 006 6z' fill='%23ffcc4d'/%3E%3Cpath d='M10.2 17.8a3 3 0 106 0 3 3 0 10-6 0z' fill='%23ff6a00'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .ico-spark{
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='1 1 22 22'%3E%3Cpath d='M12 2l1.6 5L19 8l-5.4 1.6L12 15l-1.6-5.4L5 8l5.4-1z' fill='%23bff3ff'/%3E%3C/svg%3E") center / contain no-repeat;
  }

  /* === Checks "verde caña" bonitos y más legibles === */
  .feature-list li{
    padding-left: 1.7rem;
    line-height: 1.5;
    font-weight: 600; /* semibold */
  }
  .feature-list li::before{
    content:'';
    position:absolute; left:0; top:.25rem;
    width:1.2rem; height:1.2rem;
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='1 1 22 22' fill='none' stroke='%232ECF5B' stroke-width='3.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l4.2 4.2L20 5.8'/%3E%3C/svg%3E")
      center/contain no-repeat;
    filter: drop-shadow(0 1px 0 rgba(0,0,0,.12));
  }

  /* === Animaciones (con reducción de movimiento) === */
  @keyframes flicker{
    0%,100% { filter: brightness(1) drop-shadow(0 0 0 rgba(255,120,0,0)); }
    22%     { filter: brightness(1.08) drop-shadow(0 0 12px rgba(255,140,0,.45)); }
    48%     { filter: brightness(1.12) drop-shadow(0 0 16px rgba(255,100,0,.42)); }
    72%     { filter: brightness(1.06) drop-shadow(0 0 10px rgba(255,160,0,.48)); }
    88%     { filter: brightness(1.1)  drop-shadow(0 0 14px rgba(255,120,0,.44)); }
  }
  @keyframes flareSpin{ to { transform: rotate(360deg); } }
  @media (prefers-reduced-motion: reduce){
    .pill-row--flare::before,
    .pill--hot{ animation: none !important; }
  }


  .btn{
    padding: 1.05rem 1.4rem;          /* más alto/ancho */
    min-height: 48px;                 /* tacto cómodo */
    font-size: 1rem;                  /* un toque más grande */
    font-weight: 800;
  }
  .btn-primary{
    box-shadow: 0 12px 26px rgba(108,92,255,.32);
  }
  .btn-outline{
    border-width: 3px;                /* borde más marcado */
  }

  /* Subtexto del botón principal con buen contraste */
  .btn-subtext{
    font-size:.74rem;
    opacity:.95;
    line-height:1.05;
  }


  /* === Marco con contorno redondeado (full coverage, sin fondo) === */
  .cta-frame{
    position: relative;
    --framePad: clamp(14px, 2vw, 22px); /* respiración interna */
    padding: var(--framePad);
    border-radius: clamp(18px, 3vw, 26px);
  }

  /* El borde es un pseudo-elemento que se ajusta al 100% del wrapper */
  .cta-frame::before{
    content:'';
    position:absolute;
    inset:0;                                  /* cubre todo el contenedor */
    border-radius: inherit;                   /* esquinas redondas */
    border: 1.6px solid rgba(255,255,255,.22);/* contorno sutil */
    box-shadow: inset 0 0 0 1.6px rgba(255,255,255,.02); /* micro realce */
    pointer-events:none;
  }



  /* Video dentro de la cabecera (full width, 16:9) */
  .cta-header .cta-video{
    position: relative;
    width: min(100%, 960px);
    margin: .5rem auto .7rem;       /* cerca de títulos, antes de las chips */
    border-radius: 16px;
    overflow: hidden;
    border: 8px solid #fff;         /* mismo lenguaje visual de tus videos */
    box-shadow: 0 8px 24px rgba(0,0,0,.28);
    aspect-ratio: 16 / 9;           /* navegadores modernos */
  }

  /* Fallback si no soporta aspect-ratio */
  @supports not (aspect-ratio: 1 / 1){
    .cta-header .cta-video{ height: 0; padding-bottom: 56.25%; }
    .cta-header .cta-video iframe{ position:absolute; inset:0; width:100%; height:100%; }
  }

  /* Con aspect-ratio, el iframe ocupa todo igual */
  @supports (aspect-ratio: 1 / 1){
    .cta-header .cta-video iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
  }

  /* =========================================================
   FIX PACK – Contraste en LIGHT (sin romper DARK)
   Pegar al final del CSS
   ========================================================= */

  /* 1) Header y links: tokens por tema */
  html[data-theme="light"]{
    --link: #0b1220;        /* links del menú en texto oscuro */
    --link-hover: #1f6bff;
    --glow: #1f6bff;        /* subrayado glow azul en light */
  }
  html[data-theme="dark"]{
    --link: #ffffff;
    --link-hover: #e9f3ff;
    --glow: #70bfff;
  }

  /* 2) Títulos que estaban fijos en blanco → usar el color del tema */
  .sistema-title,
  .section-title,
  .cta-heading{
    color: var(--text) !important;
  }

  /* 3) Icono del botón Light/Dark visible en ambos temas */
  html[data-theme="light"] .theme-toggle{ color:#0b1220; }
  html[data-theme="dark"]  .theme-toggle{ color:#ffffff; }

  /* 4) Chips / badges / listas que usaban blanco translúcido (se lavan en light) */
  html[data-theme="light"] .svc-chip{
    background: rgba(0,0,0,.04);
    border-color: var(--border);
  }
  html[data-theme="light"] .svc-tags span{
    color:#1f2937;
    border-color: rgba(2,6,23,.12);
  }
  html[data-theme="light"] .svc-list li{
    color:#475569;
  }
  /* Ayuda: bordes coherentes con el tema (evita blancos en light) */
  .help-card{
    border-color: var(--border) !important;
  }
  /* 6) Hero slider: mantener títulos en blanco sobre foto (ok en ambos temas) */
  .slide-title,
  .slide-description{
    color:#ffffff !important;
  }

/* 2.1 Hero (nosotros) – leve tinte frío en light */
html[data-theme="light"] .hero-bg{
  background:
    radial-gradient(60% 40% at 20% 10%, rgba(31,107,255,.06), transparent 60%),
    linear-gradient(180deg, #f9fbff, #ffffff 55%, #f4f8ff);
}

/* 2.2 Servicios */
html[data-theme="light"] #servicios-sfx{
  background:
    radial-gradient(70% 50% at 80% -10%, rgba(75,211,255,.10), transparent 60%),
    linear-gradient(180deg, #ffffff, #f7fbff);
}
html[data-theme="light"] #servicios-sfx .svc-card{
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.92));
  border-color: rgba(2,6,23,.10);
  box-shadow: 0 10px 24px rgba(12,30,70,.08);
}

/* 2.3 Tabs de Sistemas (videos) */
html[data-theme="light"] .video-tabs-legacy{
  background:
    radial-gradient(60% 40% at 10% -10%, rgba(31,107,255,.06), transparent 60%),
    linear-gradient(180deg, #ffffff, #f7fbff);
}
html[data-theme="light"] .tab-card{
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.92));
  border-color: rgba(2,6,23,.10);
}

/* 2.4 CTAs transparentes – marco con leve halo */
html[data-theme="light"] .cta-section.is-transparent .cta-wrap{
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(75,211,255,.10), transparent 60%);
}
html[data-theme="light"] .cta-frame::before{
  border-color: rgba(2,6,23,.12);
  box-shadow: inset 0 0 0 1.6px rgba(2,6,23,.02);
}

/* 2.5 Otros contenedores (coherencia) */
html[data-theme="light"] .videos-decor,
html[data-theme="light"] .price-card,
html[data-theme="light"] .start-card,
html[data-theme="light"] .help-card{
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.92));
  border-color: rgba(2,6,23,.10) !important;
  box-shadow: 0 10px 24px rgba(12,30,70,.08);
}

/* ---------------------------------------------------------
   3) Titulares con identidad (solo en LIGHT)
   - Poppins ExtraBold + color brand (evitamos “colorines”)
   --------------------------------------------------------- */
html[data-theme="light"] .title,
html[data-theme="light"] .sistema-title,
html[data-theme="light"] .section-title,
html[data-theme="light"] .svc-title,
html[data-theme="light"] .cta-heading,
html[data-theme="light"] .video-title,
html[data-theme="light"] .titulo-profe{
  color: var(--brand) !important;   /* azul corporativo */
}

/* Mantener títulos del slider en blanco sobre foto */
.slide-title, .slide-description{ color:#ffffff !important; }

/* Subtítulos/ayudas con mejor contraste en light */
html[data-theme="light"] .sub,
html[data-theme="light"] .lead-soft{ color:#475569; }

/* ---------------------------------------------------------
   4) UI: chips y nav con contraste elegante en LIGHT
   --------------------------------------------------------- */
html[data-theme="light"] .svc-tags span{
  color:#1f2937; border-color: rgba(2,6,23,.14);
  background: rgba(31,107,255,.05);
}
html[data-theme="light"] .svc-tags span.is-active{
  background: rgba(31,107,255,.14);
  border-color: rgba(31,107,255,.45);
  color:#071d49;
}
html[data-theme="light"] .nav-pills .nav-link{
  color:#1f2937;
  border-color: rgba(2,6,23,.06);
}
html[data-theme="light"] .nav-pills .nav-link:hover{
  background: rgba(31,107,255,.06);
}

/* ---------------------------------------------------------
   5) Utilidades suaves de superficie (por si las necesitas)
   (no requieren tocar el HTML existente)
   --------------------------------------------------------- */
.surface-tint--brand   { background: rgba(31,107,255,.06); }
.surface-tint--accent  { background: rgba(75,211,255,.08); }
.surface-tint--neutral { background: rgba(2, 6, 23, .03); }


/* =========================================================
   FIX TIPOGRAFÍA — Poppins única en todo el sitio
   Títulos: 800 (ExtraBold) • Botones: 700 (Bold) • Descripciones: 400 (Regular)
   ========================================================= */

/* Tokens tipográficos únicos */
:root{
  --ff-base: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ff-title: var(--ff-base);
  --body-weight: 400;  /* Regular - descripciones */
  --ui-weight: 700;    /* Bold - botones/controles */
  --title-weight: 800; /* ExtraBold - títulos */
}

/* 1) Base + formularios: forzar herencia de Poppins */
html, body{
  font-family: var(--ff-base) !important;
  font-weight: var(--body-weight) !important;
}
button, input, select, textarea{
  font-family: var(--ff-base) !important;
  font-weight: inherit;
}

/* 2) Neutraliza fuentes “rebeldes” del theme (sin romper iconos) */
#login-popover,
.login-popover,
.login-popover *{
  font-family: var(--ff-base) !important;
}

/* Mantén las fuentes de iconos (Font Awesome, etc.) */
.fa, .fas, .far, .fal, .fab,
[class^="fa-"], [class*=" fa-"]{
  font-family: inherit !important; /* respeta la del propio paquete de iconos */
  font-weight: inherit !important;
}

/* 3) Títulos = ExtraBold (800) */
h1, h2, h3, h4, h5, h6,
.title, .section-title, .sistema-title, .svc-title, .titulo-profe, .dev-title{
  font-family: var(--ff-title) !important;
  font-weight: var(--title-weight) !important;
  line-height: 1.15;
}

/* 4) Botones/CTAs/controles = Bold (700) */
.btn,
.btn-babyblue,
.svc-cta, .price-card .btn,
.nav-pills .nav-link, #sofiTabs .nav-link,
.theme-toggle, .lp-actions .btn,
.wcs_button{
  font-family: var(--ff-base) !important;
  font-weight: var(--ui-weight) !important;
}

/* 5) Texto descriptivo = Regular (400) */
p, .lead-soft, .sub,
.svc-card p, .svc-sub, .svc-list li,
.video-caption, .footer-contacto p,
.lp-meta, .wcs_popup_person_description,
.list-checked li{
  font-family: var(--ff-base) !important;
  font-weight: var(--body-weight) !important;
}

/* 6) Evita “falsos” bold/italic generados por el navegador */
html{
  font-synthesis-weight: none;
  font-synthesis-style: none;
}

.container-narrow {
    max-width: 100%; /* Asegura que ocupe todo el espacio disponible */
}

.row {
    display: flex;
    justify-content: center; /* Centra el contenido de la fila */
}

.col-lg-8 {
    text-align: left; /* El texto dentro de la columna se alinea a la izquierda */
    max-width: 100%; /* Asegura que el contenido no se sobrepase de la columna */
}

.eyebrow {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.title {
    font-weight: bold;
    font-size: 36px;
    color: #fff;
}

.dev-grad {
    background: linear-gradient(to right, #2B56ED, #2BE4ED);
    -webkit-background-clip: text;
    color: transparent;
}

.sub {
    color: #c4c4c4;
    font-size: 18px;
}

.dev-list {
    list-style-type: none;
    padding-left: 0;
}

.check {
    color: #2BE4ED; /* O el color que prefieras para el check */
}

/* =========================================================
   Botón Mejorado con Gradiente y Efectos (Más Delgado)
   ========================================================= */
.btn-orange {
  /* --- Estilos base --- */
  display: inline-block;
  padding: 16px 16px; /* Reducimos el padding vertical para hacerlo más delgado */
  font-size: 20px; /* Reducimos aún más la fuente */
  font-weight: 700;
  color: #ffffff !important; /* Texto en color blanco */
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  border: none;
  border-radius: 20px; /* Bordes totalmente redondeados */

  /* --- El gradiente y su truco --- */
  background-image: linear-gradient(102deg, #2B56ED 0%, #2BE4ED 51%, #2B56ED 100%);
  background-size: 200% auto; /* Mantenemos el tamaño para el efecto hover */
  
  /* --- Sombra para darle profundidad (más sutil) --- */
  box-shadow: 0 2px 5px rgba(43, 139, 237, 0.3);

  /* --- Transición suave para todos los efectos --- */
  transition: all 0.4s cubic-bezier(.4, 0, .2, 1);
}

/* --- Efecto al pasar el cursor (Hover) --- */
.btn-orange:hover {
  background-position: right center; /* Mueve el gradiente a la derecha */
  transform: translateY(2px); /* Elevamos un poco menos */
  box-shadow: 0 4px 10px rgba(43, 187, 237, 0.4); /* Sombra un poco más pronunciada */
}

/* --- Efecto al hacer clic (Active) --- */
.btn-orange:active {
  transform: translateY(0px); /* Regresa a su posición original */
  box-shadow: 0 4px 10px rgba(43, 139, 237, 0.3); /* Sombra original */
}

/* --- Estilo de foco para accesibilidad --- */
.btn-orange:focus {
  outline: 2px solid #2BE4ED;
  outline-offset: 1px; /* Ajustamos el offset */
}

.d-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centra los elementos del contenedor */
    gap: 15px;
}

:root { --brand-orange:#ff6a00; } /* tu naranja */
.eyebrow{
  color: var(--brand-orange);
  font-weight: 800;
  letter-spacing: .08em;        /* opcional: look de “eyebrow” */
  text-transform: uppercase;    /* opcional */
}

/* botones videos */
/* ========= Pills con borde punteado degradado (solo contorno) ========= */
:root{
  --c1:#7ad7ff;       /* celeste */
  --c2:#2ea0ff;       /* azul */
  --bd:2.5px;         /* grosor del borde */
  --dash:14px;        /* largo del trazo */
  --gap:4px;          /* espacio entre trazos */
  --radius:12px;      /* leve redondeo (puedes poner 0) */
  --minw:68px;       /* ancho mínimo del pill */
  --pady:.8rem;       /* padding vertical */
  --padx:1rem;        /* padding horizontal */
}

/* contenedor de tabs */
#sofiTabs{
  gap:1rem;
  flex-wrap:wrap;
}

/* cada tab (li) se usa como “marco” */
#sofiTabs .nav-item{
  position:relative;
  border-radius:2px !important;
}

/* botón interno: fondo transparente, centra icono + texto */
#sofiTabs .btn-video,
#sofiTabs .pill.pill--hot{
  position:relative;
  z-index:1;
  background:transparent;
  color:#fff;
  border:none;
  border-radius:var(--radius);
  min-width:var(--minw);
  padding:var(--pady) var(--padx);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.35rem;
  transition: transform .15s ease, opacity .15s ease;
}

/* icono (imagen vía Django static en el HTML inline) */
.icon-img{
  width:48px; height:48px;
  display:inline-block;
  background-size:contain;
  background-position:center;
  background-repeat:no-repeat;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
}

/* texto debajo del icono */
.sub{
  font-size:.86rem;
  font-weight:700;
  letter-spacing:.02em;
  color:#cfd3dc;
  text-align:center;
  margin:0 !important;
}

/* ==================== DIBUJAR EL CONTORNO PUNTEADO ==================== */
/* Usamos dos pseudo-elementos sobre el <li> para lados H y V */

/* TOP + BOTTOM (punteado horizontal) */
#sofiTabs .nav-item::before {
  content: "";
  position: absolute;

  /* Use a positive inset to shrink the pseudo-element */
  inset: 2px; 
  
  border-radius: 2px;
  pointer-events: none;

  /* The box-shadow will now be applied within this smaller space */
  box-shadow: 0 0 0 var(--bd) var(--c1); 

  transition: filter .2s ease, opacity .2s ease;
}

/* hover/active: levanta un poco y realza el borde */
#sofiTabs .nav-item:hover .btn-video,
#sofiTabs .nav-item:hover .pill.pill--hot{
  transform: translateY(-2px);
}
#sofiTabs .nav-item:hover::before,
#sofiTabs .nav-item:hover::after{
  filter: brightness(1.25);
}
#sofiTabs .btn-video.active{
  opacity: .95;
}

/* Variante "Partner" (si quieres un tono distinto en hover) */
#sofiTabs .pill.pill--hot:hover + .sub, /* opcional: no necesario, solo demo */
#sofiTabs .nav-item:has(.pill--hot):hover::before,
#sofiTabs .nav-item:has(.pill--hot):hover::after{
  filter: saturate(1.1) brightness(1.2);
}

/* ============================ RESPONSIVE ============================== */
@media (max-width:576px){
  :root{ --minw:110px; }
  .icon-img{ width:42px; height:42px; }
  .sub{ font-size:.8rem; }
}


/*footer*/
/* ===== Soluciones: grilla y tarjeta con borde punteado degradado ===== */
:root{
  --c1:#7ad7ff; --c2:#2ea0ff; /* celeste → azul */
}

.solutions-grid{
  display:grid; gap:12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.sol-body{ grid-column:2; }

.sol-desc{
  color:#cfd3dc; font-size:.86rem; line-height:1.45; margin:0;
}

/* ===== Atención y Soporte: barra horizontal debajo ===== */
.support-bar{
  margin-top: 10px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 12px;
}
.support-links{
  display:flex; flex-wrap:wrap; gap:.6rem 1rem;
  list-style:none; padding:0; margin:0;
  justify-content:center; /* o flex-start si prefieres a la izquierda */
}
.support-links a{
  color:#cfd3dc; text-decoration:none; font-weight:600;
  padding:.25rem .5rem; border-radius:8px;
}
.support-links a:hover{ color:#fff; text-decoration:underline; }
.support-links li+li{ position:relative; }
.support-links li+li::before{
  content:"•"; color:#6f7788; margin-right:.35rem;
}

/* ===== Ajustes generales del footer (si los necesitas) ===== */
.footer-links{ list-style:none; padding:0; margin:0; }
.footer-links a{ color:#cfd3dc; text-decoration:none; }
.footer-links a:hover{ color:#fff; text-decoration:underline; }

/* Responsive fino */
@media (max-width:576px){
  .solutions-grid{ grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
  .sol-desc{ font-size:.82rem; }
}

:root {
  --faq-white: #e9eefb; /* Blanco para el texto en el modo claro */
  --faq-blue: #072146;  /* Azul para texto en modo claro */
  --faq-light-blue: #086cf8ff; /* Azul claro para el hover en modo claro */
  --faq-dark-blue: #1affb9;  /* Celeste para el borde en modo oscuro */
  --faq-dark-bg: #0b1220; /* Fondo oscuro */
  --faq-dark-text: #ccc;  /* Texto gris en el modo oscuro */
}

html[data-theme="light"] {
  --faq-white: #000000; /* Texto oscuro en modo claro */
  --faq-blue: #072146;  /* Azul para texto en modo claro */
  --faq-light-blue: #086cf8ff; /* Azul claro para el hover en modo claro */
  --faq-dark-blue: #072146;  /* Azul oscuro para el borde */
  --faq-dark-bg: #ffffff; /* Fondo blanco */
  --faq-dark-text: #072146; /* Texto oscuro */
}

html[data-theme="dark"] {
  --faq-white: #e9eefb; /* Texto claro en modo oscuro */
  --faq-blue: #1affb9;  /* Celeste para texto en modo oscuro */
  --faq-light-blue: #1affb9; /* Celeste para el hover en modo oscuro */
  --faq-dark-blue: #1affb9; /* Celeste para el borde en modo oscuro */
  --faq-dark-bg: #0b1220; /* Fondo oscuro */
  --faq-dark-text: #ccc; /* Texto gris en el modo oscuro */
}

/* Sección de FAQ */
.faq-seccion {
  background-color: transparent !important;
  background-image: url('{% static 'img/icons/restaurante.png' %}');
  padding: 80px 20px;
  color: var(--faq-white);
  font-family: 'Poppins', sans-serif;
}

/* Fondo del contenedor FAQ */
.faq-seccion {
  position: relative;
  background: url("{% static 'img/background.png' %}") center center / cover no-repeat;
  padding: 80px 20px;
  color: var(--faq-white);
  font-family: 'Poppins', sans-serif;
  isolation: isolate;
}

/* Contenedor de las preguntas y respuestas */
.container-faq {
  display: flex;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  gap: 40px;
  align-items: flex-start;
}

/* Columna izquierda con el ícono */
.faq-left {
  flex: 1 1 300px;
  text-align: center;
}

.faq-icon {
  width: 200px;
  margin-bottom: 20px;
}

/* Título de la sección */
.faq-titulo {
  font-size: 56px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--faq-blue);
}

/* Columna derecha con las preguntas */
.faq-right {
  flex: 2 1 600px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Cada item (pregunta) con borde */
.faq-item {
  border-bottom: 1px solid var(--faq-dark-blue);
  padding-bottom: 10px;
}

/* Pregunta, con transición para el color */
.faq-pregunta {
  background: none;
  border: none;
  color: var(--faq-blue);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  text-align: left;
  padding: 10px 0;
  transition: color 0.3s;
}

/* Hover sobre la pregunta */
.faq-pregunta:hover {
  color: var(--faq-light-blue);
}

/* Respuesta (oculta por defecto) */
.faq-respuesta {
  display: none;
  padding: 10px 0;
  color: var(--faq-dark-text);
  font-size: 15px;
  line-height: 1.6;
}

/* Mostrar respuesta cuando la pregunta esté activa */
.faq-item.active .faq-respuesta {
  display: block;
}


/* =========================================================
   Botón Mejorado con Efecto Fuego Naranja
   ========================================================= */
.btn-fire {
  /* --- Estilos base --- */
  display: inline-block;
  padding: 16px 16px; /* Padding moderado para mantener el botón delgado */
  font-size: 18px; /* Tamaño de fuente reducido */
  font-weight: 700;
  color: #ffffff !important; /* Texto blanco */
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  border: none;
  border-radius: 20px; /* Bordes redondeados */

  /* --- Gradiente de fuego --- */
  background-image: linear-gradient(45deg, #FF4E00, #FF9A00, #FF4E00); 
  background-size: 300% auto; /* Gradiente extendido para el efecto de animación */
  
  /* --- Sombra para dar profundidad --- */
  box-shadow: 0 4px 8px rgba(255, 87, 34, 0.3);

  /* --- Transición suave para todos los efectos --- */
  transition: all 0.4s ease-in-out;
}

.btn-fire a {
  color: #ffffff !important; /* Asegura que el texto del enlace sea blanco */
  text-decoration: none; /* Elimina la subrayado del enlace */
}

.btn-fire i {
  color: #ffffff !important; /* Asegura que el ícono también sea blanco */
}

/* --- Efecto hover: Gradiente de fuego se mueve y sombra aumenta --- */
.btn-fire:hover {
  background-position: right center; /* Mueve el gradiente a la derecha */
  transform: translateY(-4px); /* Eleva el botón más que en el estado normal */
  box-shadow: 0 8px 15px rgba(255, 87, 34, 0.5); /* Sombra más intensa */
}

/* --- Efecto active: Botón baja y sombra original --- */
.btn-fire:active {
  transform: translateY(1px); /* Baja al hacer clic */
  box-shadow: 0 4px 8px rgba(255, 87, 34, 0.3); /* Sombra original */
}

/* --- Estilo de foco para accesibilidad --- */
.btn-fire:focus {
  outline: 2px solid #FF9A00; /* Foco con color fuego */
  outline-offset: 2px; /* Ajuste del offset para foco */
}

/* Efecto sutil para el enlace SOFIAPPS PRO */
.nav-glow-highlight {
    position: relative;
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #FF9A00 !important; /* Color de texto por defecto */
    text-shadow: 
        0 0 8px rgba(255, 154, 0, 0.6), /* Resplandor suave en naranja */
        0 0 12px rgba(255, 78, 0, 0.4); /* Sombra más difusa para el resplandor */
    text-decoration: none; /* Elimina subrayado */
    transition: color 0.3s ease, text-shadow 0.3s ease; /* Transición suave para los efectos */
}

/* Efecto al pasar el ratón (hover) */
.nav-glow-highlight:hover {
    color: #FF9A00 !important; /* Cambia el color a un naranja suave */
    text-shadow: 
        0 0 8px rgba(255, 154, 0, 0.6), /* Resplandor suave en naranja */
        0 0 12px rgba(255, 78, 0, 0.4); /* Sombra más difusa para el resplandor */
}

/* Efecto de foco o cuando está activo */
.nav-glow-highlight:focus,
.nav-glow-highlight:active {
    color: #FF9A00 !important; /* El mismo color cuando está activo */
    text-shadow: 
        0 0 6px rgba(255, 154, 0, 0.5), /* Resplandor más suave */
        0 0 10px rgba(255, 78, 0, 0.3);
}


/* --- Estilos base para el texto con efecto fuego --- */
.is-hidden {
    display: none !important;
}

/*ECOMMERCE*/
/* Centrar títulos y botones */
.ecommerce-community .cta-heading {
  text-align: center;
  margin: .1rem auto .3rem;
}

.ecommerce-community .cta-desc {
  text-align: center;
  margin: 0 auto .35rem; /* Centrar descripción y dar aire */
  max-width: 64ch; /* Limitar el ancho de la descripción para mejor legibilidad */
}

.ecommerce-community .cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

/* Ajuste fino: centrar el botón debajo de la descripción */
.ecommerce-community .cta-actions .btn {
  display: inline-block;
  text-align: center;
  margin-top: 1rem;
}

/* Asegurarse de que el contenedor tenga un ancho adecuado */
.ecommerce-community .cta-wrap {
  width: 100%;
  max-width: 960px;  /* Limitar ancho de la sección */
  margin: 0 auto;    /* Centrar contenedor */
  padding: 0 20px;   /* Espaciado lateral */
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Centrar todo el contenido dentro del CTA */
.ecommerce-community .cta-header,
.ecommerce-community .cta-content {
  width: 100%;
  max-width: 960px;   /* Mismo ancho para todas las secciones */
  margin: 0 auto;     /* Centrar todo el contenido */
}

/* Centrar las chips bajo el texto */
.ecommerce-community .chips {
  justify-content: center;
  gap: .65rem;
  margin: .6rem 0 .9rem;
  display: flex;
  flex-wrap: wrap;
}

/* Ajuste de tamaño del botón */
.ecommerce-community .cta-actions .btn-orange {
  padding: 12px 25px;
  font-size: 1.1rem;
  text-align: center;
  border-radius: 50px;
  background-color: #FF5A00;
  color: white;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.ecommerce-community .cta-actions .btn-orange:hover {
  background-color: #ff7f3a;
}

/* VIDEOS SOLUCIONES */
/* Contenedor de la sección */
.sofi-hero {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: transparent !important; /* Color de fondo oscuro */
}

/* Título principal */
.titulo-profe {
  font-weight: 900;
  font-size: 60px;
  color: white;
}

/* Botones de navegación de los tabs */
.nav-pills .nav-item .btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  background-color: transparent;
  border: 1px solid #fff;
  border-radius: 3px;
  color: white;
  transition: background-color 0.3s;
}

.nav-pills .nav-item .btn:hover {
  background-color: #3a3a3a; /* Color al pasar el cursor */
}

.nav-pills .nav-item .btn.active {
  background-color: #007bff; /* Color cuando el tab está activo */
}

/* Estilo para las imágenes de los iconos */
.icon-img {
  width: 40px;
  height: 40px;
  background-size: cover;
  background-position: center;
  margin-bottom: 10px;
}

/* Contenedor del video */
.video-block {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.video-main {
  position: relative;
  padding-bottom: 56.25%; /* Relación de aspecto 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  width: 100%;
  max-width: 800px; /* Máxima anchura del video */
}

.js-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsividad */
@media (max-width: 768px) {
  .titulo-profe {
    font-size: 40px;
  }
  .nav-pills .nav-item .btn {
    padding: 8px;
  }
  .video-main {
    max-width: 100%;
  }
}

/* FOOTER */
/* =========================================================
   FOOTER COMPACTO (transparente + mejoras)
   ======================================================== */
.footer-compact {
  background: transparent !important;
  padding: 28px 0;
  font-family: 'Poppins', sans-serif;
  border-top: 2px solid var(--footer-cyan);
}

.footer-compact,
.footer-compact .footer-bottom,
.footer-compact .footer-contacto,
.footer-compact .footer-links li,
.footer-compact .footer-links a {
  color: var(--text) !important;
}

/* Contenedor principal con borde redondeado */
.footer-wrapper {
  width: 100%;
  max-width: 1380px;
  background: transparent;
  border-radius: 18px;
  padding: clamp(24px, 4vw, 40px);
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Títulos y enlaces */
.section-title {
  color: #fff;
  margin-bottom: 6px !important;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  text-decoration: none;
  display: inline-block;
  padding: 6px 0;
  transition: color .25s ease, padding-left .25s ease;
}

.footer-links li a:hover {
  color: var(--brand, #1f6bff);
  padding-left: 4px;
}

/* Bloque inferior (logo + contacto + redes) */
.container-footer {
  background: transparent !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 18px clamp(24px, 6vw, 64px);
  border-top: 0px solid rgba(255, 255, 255, .08);
}

.footer-logo img {
  height: 100%;
  width: auto;
  transition: transform .2s ease, filter .2s ease;
}

.footer-logo img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .3));
}

.footer-contacto {
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
}

.footer-contacto p {
  margin: 4px 0;
}

.footer-contacto a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: border-color .2s ease, color .2s ease;
}

.footer-contacto a:hover {
  color: var(--footer-cyan);
  border-bottom-color: var(--footer-cyan);
}

/* Sección de redes sociales */
.footer-social-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 0;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0;
}

/* Estilos de los iconos */
.footer-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.footer-social a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-social a:hover {
  transform: scale(1.1);
}

/* Colores específicos para cada red social */
.footer-social a.facebook-icon {
  background-color: #3b5998;
}

.footer-social a.instagram-icon {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.footer-social a.tiktok-icon {
  background-color: transparent !important;
}

.footer-social a.linkedin-icon {
  background-color: #0077b5;
}

.footer-social a.twitter-icon {
  background-color: #1da1f2;
}

.footer-social a.youtube-icon {
  background-color: transparent !important;
}

/* Franja inferior */
.footer-bottom {
  background: transparent !important;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 14px clamp(24px, 6vw, 64px);
  color: #cbd5e1;
}

/* Responsive */
@media (max-width: 992px) {
  .container-footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Asegura todo el footer sin fondo */
.footer-products,
.container-footer,
.footer-bottom {
  background: transparent !important;
}

.footer-compact .container-footer,
.footer-compact .footer-bottom {
  border-color: var(--border) !important;
}

.footer-products .mb-3 img[alt="Wally"] {
  display: none !important;
}

.text-fire {
  font-family: 'Poppins', sans-serif;
  font-weight: 900 !important;   /* fuerza que siempre pese */
  font-size: 60px !important;    /* sobrescribe inline si lo hubiera */
  margin-top: 6px !important;

  background: linear-gradient(45deg, #FF4E00, #FF9A00, #FF4E00);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; /* 🔥 truco para mostrar el degradado */
  animation: fire-gradient 3s ease-in-out infinite;
}

@keyframes fire-gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
