/* 
==========================================================================
   ALIAR TH SAS - HOJA DE ESTILOS PREMIUM
   Diseñado para optimizar UX, responsividad y conversiones.
========================================================================== 
*/

:root {
  /* Paleta de Colores de Marca */
  --magenta: #E91E8C;
  --cyan: #00BCD4;
  --violet: #5C35A5;
  --violet-dark: #2A1454; /* Un violeta oscuro más profundo y premium */
  --violet-light: #8E65D7;
  --grad: linear-gradient(135deg, #E91E8C 0%, #5C35A5 50%, #00BCD4 100%);
  --grad-h: linear-gradient(90deg, #E91E8C 0%, #5C35A5 50%, #00BCD4 100%);
  --grad-soft: linear-gradient(135deg, rgba(233, 30, 140, 0.05) 0%, rgba(92, 53, 165, 0.05) 50%, rgba(0, 188, 212, 0.05) 100%);
  
  /* Colores de Fondo y Superficie */
  --white: #FFFFFF;
  --off: #F9F8FD;
  --off2: #EFEBF7;
  --text: #1B1229;
  --text-light: #574D68;
  --muted: #7E7490;
  --border: #E4DFEF;
  --card: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(42, 20, 84, 0.04);
  --shadow-md: 0 8px 24px rgba(42, 20, 84, 0.08);
  --shadow-lg: 0 16px 40px rgba(42, 20, 84, 0.12);
  
  /* Transiciones estándar */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ─── RESET Y CONFIGURACIÓN BÁSICA ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 14.5px;
}

body {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--violet-dark);
}

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

/* Scrollbar Personalizada */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--off);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--violet-light);
}

/* ─── LÍNEA DE GRADIENTE SUPERIOR ─── */
.grad-line {
  height: 4px;
  background: var(--grad-h);
  width: 100%;
  position: relative;
  z-index: 201;
}

/* ─── BARRA DE NAVEGACIÓN (NAV) ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid rgba(228, 223, 239, 0.6);
  z-index: 200;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

nav.nav-hidden {
  transform: translateY(-100%);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-svg {
  width: 32px;
  height: 32px;
}

.nav-logo-text {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  line-height: 1;
}

.nav-logo-sub {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 400;
  transition: var(--transition);
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-h);
  transition: var(--transition);
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--violet);
}

.nav-cta {
  background: var(--grad);
  color: var(--white) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  font-weight: 500 !important;
  font-size: 0.88rem !important;
  box-shadow: 0 4px 15px rgba(92, 53, 165, 0.2);
  transition: var(--transition);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(92, 53, 165, 0.35);
  opacity: 0.95;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--violet-dark);
  margin: 6px 0;
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── HERO SECTION ─── */
.hero {
  min-height: 92vh;
  background: var(--white);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  padding-top: 56px;
  position: relative;
  overflow: hidden;
}

.hero-bg-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  z-index: 0;
}

.hero-bg-circle-1 {
  width: 700px;
  height: 700px;
  top: -200px;
  right: -150px;
  background: radial-gradient(circle, rgba(233,30,140,0.1) 0%, transparent 70%);
}

.hero-bg-circle-2 {
  width: 500px;
  height: 500px;
  bottom: -150px;
  left: 20%;
  background: radial-gradient(circle, rgba(0,188,212,0.08) 0%, transparent 70%);
}

.hero-bg-circle-3 {
  width: 400px;
  height: 400px;
  top: 15%;
  left: -100px;
  background: radial-gradient(circle, rgba(92,53,165,0.08) 0%, transparent 70%);
}

.hero-content {
  padding: 4rem 4rem 4rem 14%;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--off2);
  border: 1px solid rgba(228, 223, 239, 0.8);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--violet);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-h);
  flex-shrink: 0;
  position: relative;
}

.hero-badge-dot::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: inherit;
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--violet-dark);
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  font-weight: 400;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 500px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.btn-grad {
  background: var(--grad);
  color: var(--white);
  padding: 0.9rem 2.2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 6px 20px rgba(233, 30, 140, 0.3);
  transition: var(--transition);
  display: inline-block;
  text-align: center;
}

.btn-grad:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(233, 30, 140, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--violet);
  padding: 0.9rem 2.2rem;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1.5px solid var(--border);
  transition: var(--transition);
  display: inline-block;
  text-align: center;
}

.btn-ghost:hover {
  border-color: var(--violet-light);
  background: var(--off);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.hero-stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.hero-stat .lbl {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
  font-weight: 400;
}
.hero-stat .lbl strong {
  display: block;
  font-size: 0.88rem;
  color: var(--violet-dark);
  margin-bottom: 0.15rem;
  font-weight: 600;
}

.hero-right {
  padding: 4rem 14% 4rem 2rem;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Tarjeta Comparativa Premium */
.compare-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.compare-card-header {
  background: var(--violet-dark);
  padding: 1.25rem 1.75rem;
  display: grid;
  grid-template-columns: 1.8fr 1.1fr 1.1fr;
  gap: 0.75rem;
}

.compare-card-header span {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare-card-header .th-good {
  background: linear-gradient(90deg, #FF80DF 0%, #00FFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.compare-row {
  display: grid;
  grid-template-columns: 1.8fr 1.1fr 1.1fr;
  gap: 0.75rem;
  padding: 1rem 1.75rem;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-row:nth-child(even) {
  background: rgba(249, 248, 253, 0.5);
}

.compare-row .concept {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

.compare-row .bad {
  font-size: 0.85rem;
  color: #E53935;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.compare-row .good {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--violet);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Tarjeta de Ahorro Resaltada */
.saving-card {
  background: var(--violet-dark);
  border-radius: 20px;
  padding: 1.75rem 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.saving-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(233,30,140,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.saving-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 600;
  background: var(--grad-h);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.saving-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-top: 0.35rem;
  font-weight: 400;
}

.saving-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 0.45rem 1.1rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  font-weight: 500;
}

/* ─── ESTRUCTURAS COMUNES DE SECCIÓN ─── */
section {
  scroll-margin-top: 56px;
  padding: 5.6rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 6%;
}

.s-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 0.85rem;
}

.s-tag-line {
  width: 24px;
  height: 2px;
  background: var(--grad-h);
}

.s-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--violet-dark);
  margin-bottom: 1.25rem;
}

.s-title em {
  font-style: italic;
  font-weight: 400;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.s-sub {
  color: var(--text-light);
  font-size: 1.08rem;
  line-height: 1.8;
  max-width: 600px;
  font-weight: 400;
}

/* ─── SECCIÓN SERVICIOS ─── */
.bg-off {
  background: var(--off);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 2.2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-h);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(92, 53, 165, 0.4);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--grad-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: var(--grad);
}

.service-card:hover .service-icon-box svg {
  stroke: var(--white);
  fill: transparent;
}

.service-icon-box svg {
  width: 24px;
  height: 24px;
  stroke: var(--violet);
  transition: var(--transition);
}

.service-card h3 {
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--violet-dark);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ─── SECCIÓN METODOLOGÍA (CÓMO FUNCIONA) ─── */
.bg-white {
  background: var(--white);
}

.flow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  margin-top: 4.5rem;
  align-items: start;
}

.flow-steps {
  display: flex;
  flex-direction: column;
}

.flow-step {
  display: flex;
  gap: 1.5rem;
  position: relative;
  padding-bottom: 3rem;
}

.flow-step:last-child {
  padding-bottom: 0;
}

.step-l {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 44px;
}

.step-n {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(92, 53, 165, 0.3);
  z-index: 1;
}

.step-ln {
  width: 2px;
  flex: 1;
  background: var(--border);
  margin-top: 6px;
}

.flow-step:last-child .step-ln {
  display: none;
}

.step-c {
  padding-top: 6px;
}

.step-c h4 {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--violet-dark);
  margin-bottom: 0.5rem;
}

.step-c p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* Tarjeta de Principios Estacionaria */
.principles-card {
  background: var(--violet-dark);
  border-radius: 24px;
  padding: 3rem;
  position: sticky;
  top: 100px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.principles-card::before {
  content: '';
  position: absolute;
  bottom: -30px; left: -30px;
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(0,188,212,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.principles-card h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.45rem;
  color: var(--white);
  margin-bottom: 2.2rem;
}

.principles-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.principle {
  display: flex;
  gap: 1.1rem;
}

.principle-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.principle-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--cyan);
}

.principle strong {
  display: block;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.principle span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  line-height: 1.6;
  display: block;
}

/* ─── SECCIÓN NOSOTROS (IDENTIDAD) ─── */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.mv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.mv-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-h);
}

.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mv-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mv-card blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--violet-dark);
  letter-spacing: -0.01em;
}

/* Valores Corporativos */
.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.valor-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--magenta);
  border-radius: 14px;
  padding: 1.75rem 2rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.valor-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--violet);
}

.valor-card h4 {
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--violet-dark);
  margin-bottom: 0.5rem;
}

.valor-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ─── MARCO NORMATIVO STRIP ─── */
.norm-strip {
  background: var(--violet-dark);
  padding: 2.2rem 0;
  position: relative;
  overflow: hidden;
}

.norm-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 6%;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.norm-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}

.norm-badges {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.norm-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 0.4rem 1.1rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
  transition: var(--transition);
}

.norm-badge:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

/* ─── SECCIÓN MES PILOTO ─── */
.pilot-weeks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 4rem;
  box-shadow: var(--shadow-md);
}

.pilot-week {
  background: var(--off);
  padding: 2.5rem 2rem;
  transition: var(--transition);
}

.pilot-week:hover {
  background: var(--white);
  transform: scale(1.02);
  z-index: 1;
  box-shadow: var(--shadow-md);
}

.week-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.6rem;
}

.week-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.pilot-week h4 {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--violet-dark);
  margin-bottom: 0.6rem;
}

.pilot-week p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
}

.pilot-cta {
  margin-top: 3.5rem;
  background: var(--grad-soft);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem;
  display: flex;
  align-items: center;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.pilot-cta-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 25px rgba(233, 30, 140, 0.35);
}

.pilot-cta-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--white);
  fill: transparent;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.pilot-cta h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--violet-dark);
  margin-bottom: 0.6rem;
}

.pilot-cta p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 600px;
}

/* Banner oscuro del Mes Piloto en la Home */
.pilot-cta-dark {
  background: var(--violet-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.pilot-cta-dark::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(233, 30, 140, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.pilot-cta-dark .s-title {
  color: var(--white);
}

.pilot-cta-dark p {
  color: rgba(255, 255, 255, 0.85);
}

.pilot-cta-dark .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.pilot-cta-dark .btn-ghost:hover {
  background: var(--white);
  color: var(--violet-dark);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ─── SECCIÓN PRECIOS Y CALCULADORA ─── */
.pricing-note {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 2rem;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 3.5rem;
  margin-top: 2rem;
  box-shadow: var(--shadow-sm);
}

.pricing-note strong {
  color: var(--violet-dark);
  font-weight: 600;
}

/* Calculadora Interactiva de Ahorro */
.calculator-container {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.1rem 1.6rem;
  box-shadow: var(--shadow-lg);
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: 1.5rem;
  align-items: start;
}

.calc-left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.calc-left h3 {
  font-size: 1.02rem;
  color: var(--violet-dark);
  margin-bottom: 0.45rem;
}

.calc-left > p {
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text-light);
}

.calc-slider-group {
  margin: 0.7rem 0 0.4rem;
}

.calc-label-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.calc-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
}

.calc-value-badge {
  background: var(--grad);
  color: var(--white);
  padding: 0.25rem 0.85rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(92, 53, 165, 0.25);
  min-width: 54px;
  text-align: center;
}

/* Slider (Input Range) Personalizado */
.range-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 100px;
  background: var(--border);
  outline: none;
  margin: 1.1rem 0;
  transition: var(--transition);
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--violet);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(42, 20, 84, 0.3);
  transition: transform 0.15s, background-color 0.15s;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--off2);
}

.range-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--violet);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(42, 20, 84, 0.3);
  transition: transform 0.15s;
}

.range-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
}

.calc-min-max {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

/* Resultados de Calculadora — wrapper transparente */
.calc-right {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

/* Cajas de comparación */
.calc-box {
  border-radius: 12px;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--border);
}

.calc-box-internal {
  background: rgba(120, 100, 150, 0.04);
  border-color: rgba(120, 100, 150, 0.18);
}

.calc-box-aliar {
  background: linear-gradient(135deg, rgba(92, 53, 165, 0.12) 0%, rgba(0, 188, 212, 0.08) 100%);
  border-color: var(--violet);
  border-width: 2px;
  box-shadow: 0 4px 16px rgba(92, 53, 165, 0.15);
}

.calc-box-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 0.35rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid var(--border);
}

.calc-box-internal .calc-box-header {
  color: var(--muted);
}

.calc-box-aliar .calc-box-header {
  color: var(--violet);
}

/* Salario base — oculto, solo usado en cálculo interno */
#valProfileSalary {
  display: none;
}

/* Nota explicativa dentro del recuadro */
.calc-box-footnote {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 0.45rem;
  zoom: 0.88;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
}

.result-row:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.result-label {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
}

#labelProfile,
#labelInternal {
  font-size: 10px;
  line-height: 1.4;
  zoom: 0.82;
}

#labelInternal {
  padding-right: 14px;
}

.result-val {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--violet-dark);
}

.result-val.highlight {
  font-size: 1rem;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.calc-saving-block {
  background: var(--violet-dark);
  border-radius: 11px;
  padding: 0.6rem 0.9rem;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.65rem;
  box-shadow: var(--shadow-md);
}

.calc-saving-lbl {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

.calc-saving-lbl strong {
  color: var(--white);
  display: block;
  font-size: 0.77rem;
}

.calc-saving-val {
  font-family: 'Playfair Display', serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: #ffffff;
}

.calc-cta-btn {
  background: var(--grad);
  color: var(--white);
  border: none;
  padding: 0.62rem;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  box-shadow: 0 4px 15px rgba(233, 30, 140, 0.25);
  margin-top: 0.35rem;
}

.calc-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 30, 140, 0.4);
}

/* ─── SECCIÓN PREGUNTAS FRECUENTES (FAQ ACCORDION) ─── */
.faq-grid {
  max-width: 800px;
  margin: 3.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.faq-item:hover {
  border-color: var(--violet-light);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 2rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  outline: none;
}

.faq-question h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--violet-dark);
  padding-right: 1.5rem;
  transition: var(--transition);
}

.faq-item.active .faq-question h4 {
  color: var(--violet);
}

.faq-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--off2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-icon-box svg {
  width: 12px;
  height: 12px;
  stroke: var(--violet-dark);
  stroke-width: 3px;
  transition: var(--transition);
}

.faq-item.active .faq-icon-box {
  background: var(--grad);
}

.faq-item.active .faq-icon-box svg {
  stroke: var(--white);
  transform: rotate(180deg);
}

/* Transición por Grid Rows (Moderno y Fluido) */
.faq-answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-item.active .faq-answer-wrapper {
  grid-template-rows: 1fr;
}

.faq-answer-content {
  overflow: hidden;
}

.faq-answer {
  padding: 0 2rem 1.5rem;
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ─── SECCIÓN CONTACTO ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 5rem;
  margin-top: 4rem;
  align-items: start;
}

.contact-form {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.form-row {
  margin-bottom: 1.5rem;
}

.form-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--violet-dark);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

input, select, textarea {
  width: 100%;
  padding: 0.8rem 1.2rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--violet-light);
  box-shadow: 0 0 0 4px rgba(92, 53, 165, 0.12);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

input::placeholder,
select::placeholder,
textarea::placeholder {
  color: var(--text-light);
  opacity: 0.5;
}

.submit-btn {
  width: 100%;
  background: var(--grad);
  color: var(--white);
  border: none;
  padding: 1rem;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: var(--transition);
  box-shadow: 0 5px 18px rgba(233, 30, 140, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(233, 30, 140, 0.45);
}

/* Spinner de carga para envío del formulario */
.btn-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  display: none;
}

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

.contact-right h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.8rem;
  color: var(--violet-dark);
  margin-bottom: 1.25rem;
  line-height: 1.35;
}

.contact-right > p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.c-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.c-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}

.c-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  background: var(--off2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.c-item:hover .c-icon {
  background: var(--grad);
}

.c-item:hover .c-icon svg {
  stroke: var(--white);
}

.c-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--violet);
  fill: transparent;
  transition: var(--transition);
}

.c-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--violet-dark);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.c-item span {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.5;
}

.meeting-box {
  margin-top: 3rem;
  background: var(--violet-dark);
  border-radius: 20px;
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.meeting-box::after {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(0,188,212,0.15) 0%, transparent 70%);
}

.meeting-box h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.meeting-box p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.meeting-box a {
  display: inline-block;
  background: var(--grad);
  color: var(--white);
  padding: 0.7rem 1.6rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(233, 30, 140, 0.3);
  transition: var(--transition);
}

.meeting-box a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 30, 140, 0.45);
}

/* Popup de éxito para el Formulario */
.success-popup {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(42, 20, 84, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.success-popup.show {
  opacity: 1;
  pointer-events: auto;
}

.popup-content {
  background: var(--white);
  border-radius: 24px;
  padding: 3.5rem;
  max-width: 450px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: scale(0.85);
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.success-popup.show .popup-content {
  transform: scale(1);
}

.popup-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--grad-soft);
  color: var(--violet);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.popup-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--violet);
  stroke-width: 3;
}

.popup-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--violet-dark);
  margin-bottom: 0.75rem;
}

.popup-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.popup-close-btn {
  background: var(--grad);
  color: var(--white);
  border: none;
  padding: 0.75rem 2.2rem;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(233, 30, 140, 0.25);
  transition: var(--transition);
}

.popup-close-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 30, 140, 0.4);
}

/* ─── FOOTER ─── */
footer {
  background: var(--violet-dark);
  padding: 4rem 0 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo-text {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  background: var(--grad-h);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-links-col h5 {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-links-col a,
.footer-links-col span {
  display: block;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
  line-height: 1.4;
}
.footer-links-col a {
  transition: var(--transition);
}

.footer-links-col a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.82rem;
  text-align: center;
}

.footer-made-with {
  font-size: 0.75rem;
  opacity: 0.92;
  letter-spacing: 0.01em;
}

/* ─── MICRO-MENSAJES DE CONFIANZA ─── */

.services-trust-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 2.5rem;
  font-style: italic;
  opacity: 0.82;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.trust-note {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 0.65rem;
  opacity: 0.78;
  letter-spacing: 0.01em;
}

/* ─── ANIMACIONES ─── */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate.fade-in-up {
  opacity: 1;
  transform: translateY(0);
}

/* Delays para cargas iniciales controladas por JS */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }


/* ─── MEDIA QUERIES (RESPONSIVO) ─── */

@media (max-width: 1200px) {
  .hero-content { padding-left: 8%; }
  .hero-right { padding-right: 8%; }
}

@media (max-width: 1024px) {
  .hero-content {
    padding: 3rem 2rem 3rem 6%;
  }
  .hero-right {
    padding: 3rem 6% 3rem 2rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .principles-card {
    position: static;
  }
  .calculator-container {
    padding: 2rem;
    gap: 2rem;
    grid-template-columns: 0.45fr 0.55fr;
  }
  .contact-grid {
    gap: 2.5rem;
  }
  .footer-top {
    grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    padding-bottom: 4rem;
  }
  .hero-content {
    padding: 5rem 8% 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-sub {
    max-width: 600px;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
    gap: 3rem;
  }

  nav {
    padding: 0 5%;
  }
  .nav-links {
    display: none;
  }
  .nav-hamburger {
    display: block;
  }
  
  /* Menú Móvil Desplegable */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: 56px; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
    box-shadow: var(--shadow-md);
    z-index: 199;
  }
  
  .nav-links.open li {
    width: 100%;
    text-align: center;
  }
  
  .nav-links.open a {
    display: block;
    padding: 1rem 0;
    font-size: 1.05rem;
    font-weight: 500;
  }
  
  .nav-links.open .nav-cta {
    margin: 0.75rem 15%;
    display: block;
  }
  
  /* Hamburger Animado */
  .nav-hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav-hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .mv-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .mv-card {
    padding: 2rem;
  }
  .calculator-container {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 1.8rem;
  }
  .calc-right {
    padding: 0;
  }
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.8rem;
  }
  .contact-form {
    padding: 2rem;
  }
  
  .valores-grid {
    grid-template-columns: 1fr;
  }
  .pilot-weeks {
    grid-template-columns: 1fr;
  }
  .pilot-week {
    padding: 2rem;
  }
  .pilot-cta {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 2rem;
  }
  .form-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .hero-right {
    display: none;
  }
}

@media (max-width: 680px) {
  .mv-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .calculator-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 1.5rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 520px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    flex-direction: column;
    gap: 1.75rem;
    align-items: center;
  }
  .saving-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  .saving-amount {
    font-size: 2.2rem;
  }
  .saving-badge {
    margin-top: 0.5rem;
  }
  .calculator-container {
    padding: 1.5rem;
  }
  .calc-right {
    padding: 0;
  }
  .calc-saving-block {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .calc-saving-val {
    font-size: 1.8rem;
  }
  .contact-form {
    padding: 1.5rem;
  }
  .popup-content {
    padding: 2rem 1.5rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ─── NUEVOS ESTILOS DE PERSONALIZACIÓN Y LOGO ─── */
.nav-logo-img {
  height: 42px; /* Reducido para ajustarse a la nueva altura del nav */
  width: auto;
  display: block;
}

.footer-logo-container {
  background: var(--white);
  padding: 0.6rem 1.1rem; /* Ajustado el padding para mejor proporción */
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.footer-logo-img {
  height: 40px; /* Aumentado de 32px para mejor proporción */
  width: auto;
  display: block;
}

.s-tag svg {
  width: 16px;
  height: 16px;
  stroke: var(--violet);
  stroke-width: 2.5px;
  fill: transparent;
  flex-shrink: 0;
}

/* Beneficios Operativos en la Calculadora */
.calc-benefits-container {
  margin-top: 4rem;
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}

.calc-benefits-container h3 {
  font-size: 1.25rem;
  color: var(--violet-dark);
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 600;
}

.benefits-intro {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.75;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2rem;
}

.calc-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  list-style: none;
}

.calc-benefit-card {
  background: var(--white);
  border: 1px solid rgba(228, 223, 239, 0.6);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.calc-benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(92, 53, 165, 0.2);
}

.calc-benefit-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--grad-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.calc-benefit-icon-wrapper svg {
  width: 20px;
  height: 20px;
  stroke: var(--violet);
  stroke-width: 2px;
  fill: transparent;
  transition: var(--transition);
}

.calc-benefit-card:hover .calc-benefit-icon-wrapper {
  background: var(--grad);
}

.calc-benefit-card:hover .calc-benefit-icon-wrapper svg {
  stroke: var(--white);
}

.calc-benefit-card-content strong {
  display: block;
  font-size: 0.95rem;
  color: var(--violet-dark);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.calc-benefit-card-content p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.55;
}

@media (max-width: 992px) {
  .calc-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .calc-benefits-container {
    padding: 2rem;
    border-radius: 20px;
  }
  .calc-benefits-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Estilos de Mockup del Portal Digital en el Hero */
.portal-mockup-wrapper {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  margin-top: 1rem;
}

.mockup-demo-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--magenta);
  color: var(--white);
  padding: 0.22rem 0.6rem;
  border-radius: 100px;
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-sm);
  z-index: 10;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.portal-mockup-wrapper:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 48px rgba(42, 20, 84, 0.16);
}

/* Estilos para el HTML Mockup en el Hero */
.html-mockup {
  display: flex;
  height: 400px;
  background: #f8fafc;
  font-family: 'Outfit', sans-serif;
  color: #334155;
  text-align: left;
}
.mockup-sidebar {
  width: 180px;
  background: #ffffff;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
}
.mockup-logo-area {
  padding: 1rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mockup-logo {
  max-width: 100%;
  max-height: 40px;
}
.mockup-nav {
  list-style: none;
  padding: 1rem 0;
  margin: 0;
  flex-grow: 1;
}
.mockup-nav-item {
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
}
.mockup-nav-item:hover {
  color: var(--violet);
  background: rgba(79, 70, 229, 0.03);
}
.mockup-nav-item.active {
  color: var(--magenta);
  background: rgba(226, 0, 116, 0.05);
  border-right: 3px solid var(--magenta);
}
.mockup-nav-item svg {
  opacity: 0.7;
}
.mockup-user {
  padding: 0.8rem 1rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.mockup-avatar-wrapper {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}
.mockup-avatar {
  width: 32px;
  height: 32px;
  background: var(--violet);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.85rem;
}
.mockup-status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background: #10b981; /* Verde en línea */
  border: 1.5px solid #ffffff;
  border-radius: 50%;
}
.mockup-user-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.mockup-name {
  font-weight: 600;
  font-size: 0.8rem;
  color: #0f172a;
}
.mockup-role {
  font-size: 0.68rem;
  color: #94a3b8;
}
.mockup-main {
  flex-grow: 1;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}
.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 0.5rem;
}
.mockup-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f172a;
}
.mockup-date {
  font-size: 0.72rem;
  color: #64748b;
  background: #f1f5f9;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
}
.mockup-cards {
  display: flex;
  gap: 0.8rem;
  width: 100%;
}
.mockup-card {
  background: white;
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  transition: transform 0.2s;
}
.mockup-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}
.mc-title {
  font-size: 0.7rem;
  color: #64748b;
  font-weight: 500;
}
.mc-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
}

/* Nuevos Estilos para Paneles Centrados y Proporcionales */
.panel-content-spaced {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
  gap: 0.6rem;
  padding: 0.2rem 0;
}
.mockup-section-subtitle {
  font-size: 0.7rem;
  color: #64748b;
  margin-bottom: 0.1rem;
  display: block;
}

/* Dashboard Centered */
.dashboard-centered {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
  gap: 1rem;
  padding: 0.5rem 0;
}
.dashboard-welcome {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.dashboard-welcome strong {
  font-size: 0.95rem;
  color: #0f172a;
  font-weight: 600;
}
.dashboard-welcome span {
  font-size: 0.72rem;
  color: #64748b;
}
.dashboard-status-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  color: #64748b;
  background: #f8fafc;
  padding: 0.45rem;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}
.status-dot-blink {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  animation: blink 2s infinite;
}
@keyframes blink {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

/* Novedades List */
.novedades-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.novedad-item {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.5rem 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: transform 0.2s;
}
.novedad-item:hover {
  transform: translateX(2px);
  border-color: #cbd5e1;
}
.novedad-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.novedad-icon.red-bg {
  background: rgba(239, 68, 68, 0.08);
  color: #ef4444;
}
.novedad-icon.violet-bg {
  background: rgba(42, 20, 84, 0.08);
  color: var(--violet);
}
.novedad-icon.cyan-bg {
  background: rgba(6, 182, 212, 0.08);
  color: var(--cyan);
}
.novedad-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.novedad-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: #0f172a;
}
.novedad-detail {
  font-size: 0.65rem;
  color: #64748b;
}
.novedad-status {
  font-size: 0.65rem;
  font-weight: 500;
}
.text-green {
  color: #10b981;
}
.text-orange {
  color: #f59e0b;
}

/* Solicitudes List */
.solicitudes-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.solicitud-item {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  transition: transform 0.2s;
}
.solicitud-item:hover {
  transform: translateX(2px);
  border-color: #cbd5e1;
}
.solicitud-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.solicitud-icon.magenta-bg {
  background: rgba(226, 0, 116, 0.08);
  color: var(--magenta);
}
.solicitud-icon.violet-bg {
  background: rgba(42, 20, 84, 0.08);
  color: var(--violet);
}
.solicitud-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.solicitud-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: #0f172a;
}
.solicitud-detail {
  font-size: 0.65rem;
  color: #64748b;
}
.solicitud-btn {
  border: none;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Outfit', sans-serif;
}
.solicitud-btn.magenta-btn {
  background: var(--magenta);
  color: white;
}
.solicitud-btn.magenta-btn:hover {
  background: #b0005a;
}
.solicitud-btn.violet-btn {
  background: var(--violet);
  color: white;
}
.solicitud-btn.violet-btn:hover {
  background: #1f0e40;
}

/* Eventos - Calendario y Alertas */
.calendar-panel-layout {
  display: flex;
  flex-direction: row;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
}
.calendar-left {
  flex: 1.1;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.calendar-right {
  flex: 0.9;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.calendar-header-mock {
  font-size: 0.68rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.3rem;
  color: var(--violet);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.calendar-grid-mock {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}
.cal-day-name {
  font-size: 0.55rem;
  font-weight: 700;
  color: #94a3b8;
  padding-bottom: 2px;
}
.cal-day {
  font-size: 0.6rem;
  color: #475569;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  position: relative;
}
.cal-day.empty {
  visibility: hidden;
}
.cal-day.event-day {
  font-weight: 700;
  color: #0f172a;
}
.cal-day.event-day::after {
  content: '';
  position: absolute;
  bottom: 1px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
}
.cal-day.magenta-dot::after {
  background: var(--magenta);
}
.cal-day.cyan-dot::after {
  background: var(--cyan);
}
.cal-day.event-day.magenta-dot {
  background: rgba(226, 0, 116, 0.06);
}
.cal-day.event-day.cyan-dot {
  background: rgba(6, 182, 212, 0.06);
}
.cal-event-item {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.4rem 0.5rem;
  line-height: 1.2;
}
.event-bullet {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-top: 3px;
  flex-shrink: 0;
}
.event-bullet.magenta-bg {
  background: var(--magenta);
}
.event-bullet.cyan-bg {
  background: var(--cyan);
}
.cal-event-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}
.event-date {
  font-size: 0.6rem;
  color: #64748b;
  font-weight: 600;
}
.event-title {
  font-size: 0.68rem;
  font-weight: 700;
  color: #0f172a;
}
.event-subtitle {
  font-size: 0.58rem;
  color: #64748b;
}

/* Expedientes List */
.expedientes-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.expediente-item {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.5rem 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.2s;
  line-height: 1.2;
}
.expediente-item:hover {
  transform: translateX(2px);
  border-color: #cbd5e1;
}
.expediente-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--violet);
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.expediente-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.expediente-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: #0f172a;
}
.expediente-cargo {
  font-size: 0.65rem;
  color: #64748b;
}
.expediente-link {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--violet);
  cursor: pointer;
}
.expediente-link:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .calendar-panel-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .calendar-left {
    padding: 0.3rem;
  }
  .calendar-grid-mock {
    gap: 1px;
  }
}
@media (max-width: 768px) {
  .html-mockup {
    height: 300px;
  }
  .mockup-sidebar {
    display: none;
  }
  .mockup-main {
    padding: 1rem;
    gap: 1rem;
  }
  .mockup-cards {
    flex-direction: column;
  }
}

/* Grilla de Comparación de Costos en Sección Precios */
.pricing-comparison {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 1024px) {
  .pricing-comparison {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* CSS para los paneles interactivos del Mockup */
.mockup-panel {
  display: none;
  animation: fadeInPanel 0.3s ease;
}
.mockup-panel.active {
  display: block;
}
@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── SECCIÓN DE ESTADÍSTICAS Y ABREBOCAS ─── */
.teaser-stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.teaser-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}
.teaser-subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--magenta);
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}
.teaser-title {
  font-size: 2.2rem;
  color: var(--violet-dark);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.teaser-title em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding-left: 0.15em;
  padding-right: 0.1em;
  margin-left: -0.1em;
}
.teaser-desc {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.teaser-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}
.teaser-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad);
  border-radius: 16px 16px 0 0;
  opacity: 0;
  transition: var(--transition);
}
.teaser-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(92, 53, 165, 0.2);
}
.teaser-card:hover::before {
  opacity: 1;
}
.teaser-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.teaser-unit {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  -webkit-text-fill-color: initial;
}
.teaser-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
}
.teaser-card-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--violet-dark);
}
.teaser-card-body p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
  flex-grow: 1;
}
.teaser-link-wrap {
  margin-top: 1rem;
}
.teaser-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--violet);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-block;
}
.teaser-link:hover {
  color: var(--magenta);
}

/* Responsividad para la sección de abrebocas */
@media (max-width: 992px) {
  .teaser-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 768px) {
  .teaser-title {
    font-size: 1.8rem;
  }
  .teaser-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .teaser-card {
    padding: 2rem;
  }
  .mockup-mobile-nav {
    display: flex;
  }
}

/* ─── BARRA DE NAVEGACIÓN MÓVIL (MOCKUP) ─── */
.mockup-mobile-nav {
  display: none;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.3rem;
  justify-content: space-between;
  gap: 0.2rem;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.mockup-mobile-nav-item {
  flex: 1;
  text-align: center;
  padding: 0.4rem 0.2rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: #64748b;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  transition: all 0.2s;
}
.mockup-mobile-nav-item svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}
.mockup-mobile-nav-item.active {
  color: var(--magenta);
  background: rgba(226, 0, 116, 0.05);
}
.mockup-mobile-nav-item:hover:not(.active) {
  color: var(--violet);
  background: rgba(79, 70, 229, 0.02);
}

/* ==========================================================================
   NUEVAS CLASES: POLÍTICA DE DATOS Y BLOG
   ========================================================================= */

/* Cabecera común para páginas secundarias */
.subpage-hero {
  background: var(--violet-dark);
  background-image: radial-gradient(circle at 80% 20%, rgba(233, 30, 140, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 20% 80%, rgba(0, 188, 212, 0.12) 0%, transparent 50%);
  padding: 10rem 0 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(92, 53, 165, 0.2);
}
.subpage-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.subpage-hero h1 em {
  font-style: italic;
  font-weight: 400;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding-left: 0.15em;
  padding-right: 0.1em;
  margin-left: -0.1em;
}
.subpage-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}

/* --- POLÍTICA DE TRATAMIENTO DE DATOS --- */
.policy-section {
  background: var(--off);
  padding: 5rem 0;
}
.policy-container {
  max-width: 850px;
  margin: 0 auto;
  background: var(--white);
  padding: 4rem 4.5rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.policy-content h2 {
  font-size: 1.45rem;
  color: var(--violet-dark);
  margin: 2.5rem 0 1rem;
  font-weight: 600;
  border-bottom: 2px solid var(--off);
  padding-bottom: 0.5rem;
}
.policy-content h2:first-of-type {
  margin-top: 0;
}
.policy-content p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.policy-content ul, .policy-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.policy-content li {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}
.policy-content strong {
  color: var(--violet-dark);
  font-weight: 600;
}
.policy-meta {
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-top: 3rem;
  text-align: center;
}

/* --- BLOG CORPORATIVO --- */
.blog-section {
  background: var(--white);
  padding: 5rem 0;
}
.blog-filters-container {
  display: flex;
  justify-content: center;
  margin-bottom: 3.5rem;
}
.blog-filters {
  display: flex;
  gap: 0.75rem;
  background: var(--off);
  padding: 0.5rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  flex-wrap: wrap;
  justify-content: center;
}
.blog-filter-btn {
  background: transparent;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}
.blog-filter-btn:hover {
  color: var(--violet);
  background: rgba(92, 53, 165, 0.05);
}
.blog-filter-btn.active {
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(233, 30, 140, 0.2);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  opacity: 1;
  transform: scale(1);
}
.blog-card.hidden {
  display: none;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(92, 53, 165, 0.25);
}
.blog-card-header {
  height: 130px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.blog-card-header::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(42, 20, 84, 0.12);
  z-index: 1;
}
.blog-card-header-bg-1 {
  background: linear-gradient(135deg, #2A1454 0%, #E91E8C 100%);
}
.blog-card-header-bg-2 {
  background: linear-gradient(135deg, #5C35A5 0%, #00BCD4 100%);
}
.blog-card-header-bg-3 {
  background: linear-gradient(135deg, #E91E8C 0%, #00BCD4 100%);
}
.blog-card-header-bg-4 {
  background: linear-gradient(135deg, #5C35A5 0%, #E91E8C 100%);
}
.blog-card-header svg {
  width: 36px;
  height: 36px;
  stroke: var(--white);
  opacity: 0.9;
  z-index: 2;
  transition: var(--transition);
}
.blog-card:hover .blog-card-header svg {
  transform: scale(1.1);
}
.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-card-tag {
  display: inline-block;
  background: var(--off2);
  color: var(--violet);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  align-self: flex-start;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.blog-card h3 {
  font-size: 1.08rem;
  color: var(--violet-dark);
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  transition: var(--transition);
}
.blog-card:hover h3 {
  color: var(--magenta);
}
.blog-card p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.blog-card-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.blog-card-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--grad);
  color: var(--white);
  font-weight: 700;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--violet);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: var(--transition);
}
.blog-card:hover .blog-card-link {
  color: var(--magenta);
}

/* Responsividad para páginas secundarias */
@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}
@media (max-width: 768px) {
  .subpage-hero {
    padding: 8rem 0 4rem 0;
  }
  .subpage-hero h1 {
    font-size: 1.8rem;
  }
  .policy-container {
    padding: 2.5rem 2rem;
    border-radius: 16px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}


/* ─── TABLA DE TARIFAS ─── */
.pricing-details {
  margin-top: 2.5rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.pricing-details-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--violet);
  background: var(--off);
  list-style: none;
  user-select: none;
  transition: background 0.2s ease;
}
.pricing-details-summary::-webkit-details-marker { display: none; }
.pricing-details-summary:hover { background: var(--off2); }

.pricing-details-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.pricing-details[open] .pricing-details-arrow {
  transform: rotate(180deg);
}

.pricing-wrap {
  padding: 1.25rem 1.5rem 1.5rem;
  background: var(--white);
}

.pricing-table-note {
  font-size: 0.75rem;
  color: var(--muted);
  background: rgba(92, 53, 165, 0.04);
  border-left: 3px solid var(--violet-light);
  padding: 0.6rem 1rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.pricing-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 560px;
}

.pricing-table thead tr {
  background: var(--grad);
}
.pricing-table thead th {
  color: #fff;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.85rem 1rem;
  text-align: left;
  white-space: nowrap;
}
.pricing-table thead th:last-child {
  border-radius: 0 8px 0 0;
}
.pricing-table thead th:first-child {
  border-radius: 8px 0 0 0;
}

.pricing-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s ease;
}
.pricing-table tbody tr:nth-child(even) {
  background: var(--off);
}
.pricing-table tbody tr:hover {
  background: rgba(92, 53, 165, 0.04);
}

.pricing-table td {
  padding: 0.75rem 1rem;
  color: var(--text-light);
  vertical-align: middle;
}

.td-n {
  color: var(--text);
  font-weight: 500;
}

.td-smlmv { text-align: center; }

.smlmv-badge {
  display: inline-block;
  background: rgba(92, 53, 165, 0.08);
  color: var(--violet);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  border: 1px solid rgba(92, 53, 165, 0.15);
  white-space: nowrap;
}
.smlmv-badge-featured {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
}

.td-cop { text-align: right; color: var(--text-light); }

.td-iva {
  text-align: right;
  color: var(--muted);
  font-size: 0.83rem;
}

.td-total {
  text-align: right;
  font-weight: 700;
  color: var(--violet-dark);
}

.tr-featured {
  background: rgba(92, 53, 165, 0.05) !important;
}
.tr-featured .td-n {
  color: var(--violet);
}
.tr-featured .td-total {
  color: var(--magenta);
}

/* ─── TEXTO BAJO TABLA DE TARIFAS ─── */
.pricing-foot {
  margin-top: 2rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── FILA CARGO EQUIVALENTE CALCULADORA ─── */
.result-profile {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.result-profile #valProfileRole {
  font-size: 10px;
  font-weight: 600;
  color: var(--text);
  text-align: right;
  line-height: 1.35;
  zoom: 0.82;
}
.result-profile #valProfileSalary {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--violet);
}

/* ─── FILA TOTAL CALCULADORA ─── */
.result-row-total {
  border-top: 1px solid var(--border);
  margin-top: 0.15rem;
  padding-top: 0.45rem;
}
.result-val-total {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--violet-dark);
}

/* ─── NAV ACTIVE STATE ─── */
.nav-links a.active {
  color: var(--violet);
  font-weight: 500;
}

/* ─── SUBTÍTULO EYEBROW DEL HERO ─── */
.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

/* ─── BOTÓN FLOTANTE DE WHATSAPP ─── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.07);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.55);
}
.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
}
.whatsapp-float-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  background: var(--violet-dark);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.whatsapp-float-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--violet-dark);
}
.whatsapp-float:hover .whatsapp-float-tooltip {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
  }
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
  .whatsapp-float-tooltip {
    display: none;
  }
}

/* ─── SECCIÓN FUNDADOR ─── */
.founder-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem 3rem;
  box-shadow: var(--shadow-md);
  margin-top: 3rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.founder-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--grad);
}
.founder-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.founder-avatar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.founder-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  box-shadow: 0 8px 24px rgba(92, 53, 165, 0.3);
  flex-shrink: 0;
  object-fit: cover;
  border: 3px solid var(--white);
}
.founder-credential {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--violet);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(92, 53, 165, 0.07);
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  text-align: center;
  line-height: 1.4;
}
.founder-info h3 {
  font-size: 1.6rem;
  color: var(--violet-dark);
  margin-bottom: 0.35rem;
}
.founder-title {
  font-size: 0.88rem;
  color: var(--magenta);
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.founder-bio {
  font-size: 0.97rem;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}
.founder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.founder-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--violet);
  background: rgba(92, 53, 165, 0.07);
  border: 1px solid rgba(92, 53, 165, 0.15);
  border-radius: 100px;
  padding: 0.28rem 0.9rem;
}
@media (max-width: 768px) {
  .founder-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 1.5rem 2rem 2rem;
    text-align: center;
  }
  .founder-avatar-col {
    align-items: center;
  }
  .founder-tags {
    justify-content: center;
  }
}

/* ─── ARTÍCULOS DE BLOG ─── */
.article-hero {
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(135deg, var(--violet-dark) 0%, #150830 100%);
  color: var(--white);
}
.article-hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}
.article-hero h1 {
  font-size: clamp(1.55rem, 4vw, 2.3rem);
  font-weight: 700;
  line-height: 1.25;
  max-width: 740px;
  margin-bottom: 1.5rem;
  color: var(--white);
}
.article-hero h1 em {
  font-style: italic;
  color: #a78bfa;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  flex-wrap: wrap;
}
.article-meta-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.article-meta-avatar {
  display: none !important;
}
.article-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
}

.article-content {
  background: var(--white);
  padding: 4rem 0 5rem;
}
.article-body {
  max-width: 760px;
  margin: 0 auto;
}
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--violet);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 2.5rem;
  transition: gap 0.2s ease;
}
.article-back:hover { gap: 0.65rem; }
.article-back svg { flex-shrink: 0; }

.article-body p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}
.article-body h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--violet-dark);
  margin: 2.75rem 0 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.article-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.75rem 0 0.6rem;
}
.article-body ul, .article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.article-body li {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--text-light);
  margin-bottom: 0.45rem;
}
.article-body strong { color: var(--text); }

.article-callout {
  background: linear-gradient(135deg, rgba(92,53,165,0.07) 0%, rgba(0,188,212,0.05) 100%);
  border-left: 4px solid var(--violet);
  border-radius: 0 12px 12px 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.article-callout p { margin-bottom: 0; color: var(--violet-dark); font-weight: 500; }

.article-warning {
  background: rgba(240, 180, 41, 0.08);
  border-left: 4px solid #e6a817;
  border-radius: 0 12px 12px 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.article-warning p { margin-bottom: 0; color: #7a5400; font-weight: 500; }

.article-author-bio {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 3rem;
}
.article-author-avatar-lg {
  display: none !important;
}
.article-author-bio-text strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.article-author-bio-text span {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.article-cta-block {
  background: linear-gradient(135deg, var(--violet-dark) 0%, #150830 100%);
  border-radius: 20px;
  padding: 2.75rem 2.5rem;
  margin-top: 3rem;
  text-align: center;
  color: var(--white);
}
.article-cta-block h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.article-cta-block p {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  margin-bottom: 1.75rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.article-cta-block strong {
  color: var(--white);
}
.article-cta-block .cta-btn {
  display: inline-block;
  background: var(--grad-h);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 2.25rem;
  border-radius: 30px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.article-cta-block .cta-btn:hover { opacity: 0.88; transform: translateY(-2px); }

.article-comment-invite {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  margin-top: 2rem;
  text-align: center;
}
.article-comment-invite p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}
.article-comment-invite strong { color: var(--violet-dark); }

@media (max-width: 768px) {
  .article-hero { padding: 3rem 0 2.5rem; }
  .article-hero h1 { font-size: 1.45rem; }
  .article-content { padding: 2.5rem 0 3.5rem; }
  .article-author-bio { flex-direction: column; text-align: center; }
  .article-cta-block { padding: 2rem 1.25rem; }
  .article-cta-block h3 { font-size: 1.15rem; }
}

/* ─── NOTA METODOLOGÍA CALCULADORA ─── */
.calc-methodology-note {
  font-size: 0.72rem;
  color: #a8a0bc;
  line-height: 1.5;
  margin-top: 0.75rem;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--border);
}

/* ==========================================================================
    CALCULADORA DE HORAS EXTRAS Y RECARGOS (COLOMBIA 2026)
   ========================================================================== */
.calculator-section {
  padding: 4.5rem 0 6rem;
}

/* Banner Informativo */
.info-alert {
  display: flex;
  gap: 1rem;
  background: rgba(92, 53, 165, 0.05);
  border: 1px solid rgba(92, 53, 165, 0.15);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  align-items: flex-start;
}
.info-alert-icon {
  color: var(--violet);
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.info-alert-icon svg {
  width: 100%;
  height: 100%;
}
.info-alert-text {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.6;
}
.info-alert-text strong {
  color: var(--violet-dark);
}

/* Grilla de la Calculadora */
.calc-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.calc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.calc-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--violet-dark);
  margin-bottom: 1.5rem;
}

.calc-divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* Campos de entrada */
.input-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.input-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.input-helper {
  font-size: 0.75rem;
  color: var(--text-light);
}

.input-prefix-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--off);
  transition: var(--transition);
}
.input-prefix-wrapper:focus-within {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(92, 53, 165, 0.1);
}
.currency-prefix {
  padding: 0 0.85rem;
  color: var(--text-light);
  font-weight: 600;
  border-right: 1px solid var(--border);
  background: rgba(0,0,0,0.02);
}
.input-prefix-wrapper input {
  flex: 1;
  border: 0;
  padding: 0.85rem 1rem;
  background: transparent;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  outline: none;
}

.input-group select {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  background: var(--off);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  outline: none;
  transition: var(--transition);
}
.input-group select:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(92, 53, 165, 0.1);
}

.calc-warning-box {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(240, 180, 41, 0.08);
  border-left: 4px solid #e6a817;
  padding: 1rem;
  border-radius: 6px;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}
.calc-warning-box svg {
  color: #c98e0c;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.calc-warning-box p {
  font-size: 0.8rem;
  color: #7a5400;
  margin: 0;
  line-height: 1.4;
}
.calc-warning-box p strong {
  color: #4f3600;
}

/* Filas de registro de horas */
.hours-inputs-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hours-section-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--violet);
  margin: 1.2rem 0 0.25rem 0;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid rgba(92, 53, 165, 0.1);
  font-weight: 700;
}
.hours-section-title:first-of-type {
  margin-top: 0;
}
.hour-input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.hour-input-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.hour-label {
  display: flex;
  flex-direction: column;
}
.hour-label strong {
  font-size: 0.95rem;
  color: var(--text);
}
.hour-label span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.hour-controls {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--off);
}
.hour-controls button {
  background: transparent;
  border: 0;
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}
.hour-controls button:hover {
  background: rgba(92, 53, 165, 0.08);
  color: var(--violet);
}
.hour-controls input {
  width: 48px;
  border: 0;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: center;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--white);
  color: var(--text);
  padding: 0.35rem 0;
  outline: none;
}
/* Eliminar flechas de tipo number */
.hour-controls input::-webkit-outer-spin-button,
.hour-controls input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Panel de Resultados (Glassmorphism) */
.results-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}

.value-highlight-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  background: rgba(92, 53, 165, 0.03);
  border: 1px solid rgba(92, 53, 165, 0.08);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.vh-item {
  display: flex;
  flex-direction: column;
}
.vh-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.25rem;
}
.vh-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}

.results-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 2rem;
  font-size: 0.75rem;
  border: 1px solid rgba(92, 53, 165, 0.1);
  border-radius: 8px;
  overflow: hidden;
}
.results-table thead tr {
  background: rgba(92, 53, 165, 0.04);
}
.results-table th {
  color: var(--violet-dark);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.35rem;
  border-bottom: 2px solid rgba(92, 53, 165, 0.15);
}
.results-table th:not(:last-child),
.results-table td:not(:last-child) {
  border-right: 1px solid rgba(92, 53, 165, 0.08);
}
.results-table tbody tr {
  transition: var(--transition);
  cursor: pointer;
}
.results-table tbody tr:hover {
  background: rgba(92, 53, 165, 0.06);
}
.results-table td {
  padding: 0.5rem 0.35rem;
  border-bottom: 1px solid rgba(92, 53, 165, 0.06);
  color: var(--text);
  vertical-align: middle;
}
.results-table tr:last-child td {
  border-bottom: 0;
}

/* Alineación y anchos de columnas */
.results-table .col-concept {
  width: 60%;
  text-align: left;
}
.results-table .col-qty {
  width: 10%;
  text-align: center;
}
.results-table .col-unit {
  width: 14%;
  text-align: right;
}
.results-table .col-total {
  width: 16%;
  text-align: right;
  font-weight: 700;
  color: var(--magenta);
}

.gross-salary-container {
  background: linear-gradient(135deg, var(--violet-dark) 0%, #170736 100%);
  border-radius: 12px;
  padding: 1.5rem;
  color: white;
  text-align: center;
  margin-bottom: 1.75rem;
}
.gs-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  opacity: 0.85;
  margin-bottom: 0.25rem;
}
.gs-desc {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-bottom: 0.75rem;
}
.gs-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}

/* Gráfico de distribución */
.distribution-chart-wrapper {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.progress-bar-stack {
  display: flex;
  height: 12px;
  background: var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 0.85rem;
}
.pb-segment {
  height: 100%;
  transition: width 0.3s ease;
}
.pb-base {
  background: var(--violet);
}
.pb-recargos {
  background: var(--accent);
}
.chart-legend {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-light);
}
.color-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.bg-violet { background: var(--violet); }
.bg-accent { background: var(--accent); }

/* Estilos de botones de restablecimiento */
.btn-ghost-danger {
  background: transparent;
  border: 1px solid rgba(220, 53, 69, 0.2);
  color: #dc3545;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}
.btn-ghost-danger:hover {
  background: rgba(220, 53, 69, 0.05);
  border-color: #dc3545;
}

/* RESPONSIVIDAD CALCULADORA */
@media (max-width: 992px) {
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .calc-card {
    padding: 1.5rem;
  }
  .value-highlight-box {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .hour-input-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .hour-controls {
    align-self: flex-end;
  }
}

/* Selector de pestañas de la calculadora */
.calculator-tabs {
  display: flex;
  gap: 0.5rem;
  background: rgba(92, 53, 165, 0.04);
  padding: 0.35rem;
  border-radius: 12px;
  border: 1px solid rgba(92, 53, 165, 0.08);
}
.tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--text-light);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.tab-btn:hover {
  color: var(--violet);
  background: rgba(92, 53, 165, 0.04);
}
.tab-btn.active {
  color: var(--white);
  background: var(--violet);
  box-shadow: 0 4px 12px rgba(92, 53, 165, 0.2);
}
.tab-icon {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.tab-btn:hover .tab-icon {
  transform: translateY(-1px);
}

/* Control de visualización de pestañas */
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

@media (max-width: 768px) {
  .calculator-tabs {
    flex-direction: column;
    gap: 0.25rem;
  }
}

/* ESTILOS DE IMPRESIÓN (PRINT) */
@media print {
  body {
    background: white !important;
    color: black !important;
  }
  header, footer, .grad-line, .whatsapp-float, .subpage-hero, .inputs-panel, .info-alert, .s-tag, .s-title, .s-sub, .results-actions, .btn-ghost-danger {
    display: none !important;
  }
  .calculator-section {
    padding: 0 !important;
  }
  .calc-grid {
    display: block !important;
  }
  .results-panel {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  .results-table th {
    border-bottom: 2px solid #333 !important;
    color: black !important;
  }
  .results-table td {
    border-bottom: 1px solid #ddd !important;
    color: black !important;
  }
  .gross-salary-container {
    background: #f0f0f0 !important;
    color: black !important;
    border: 1px solid #ccc !important;
  }
  .gs-value {
    color: black !important;
  }
}




/* Aviso de Exención de Responsabilidad Legal */
.legal-disclaimer {
  background: var(--off);
  border-left: 4px solid var(--text-light);
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 2.5rem 0;
}
.legal-disclaimer strong {
  color: var(--violet-dark);
  font-weight: 700;
}


/* ==========================================================================
   SECCIÓN DE LEAD MAGNET (DESCARGA DE PLANTILLA)
   ========================================================================== */
.lead-magnet-banner {
  background: linear-gradient(135deg, var(--violet-dark) 0%, var(--violet) 100%);
  border-radius: 12px;
  padding: 2rem;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin: 3rem 0;
  box-shadow: 0 10px 30px rgba(42, 20, 84, 0.15);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.lead-magnet-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(233, 30, 140, 0.15) 0%, transparent 70%);
  z-index: 1;
}
.lm-content {
  z-index: 2;
  flex: 1;
}
.lm-tag {
  background: var(--magenta);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}
.lm-content h3 {
  font-family: var(--font-primary);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--white);
  line-height: 1.3;
}
.lm-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}
.lm-download-btn {
  background: var(--magenta);
  color: var(--white);
  border: none;
  padding: 0.9rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
  transition: var(--transition);
  z-index: 2;
  box-shadow: 0 4px 15px rgba(233, 30, 140, 0.3);
}
.lm-download-btn svg {
  transition: transform 0.3s ease;
}
.lm-download-btn:hover {
  background: #d8157e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 30, 140, 0.4);
}
.lm-download-btn:hover svg {
  transform: translateY(2px);
}

/* Modal del Lead Magnet */
.lm-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(26, 12, 53, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.lm-modal.show {
  opacity: 1;
  pointer-events: auto;
}
.lm-modal-content {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 25px 50px rgba(42, 20, 84, 0.25);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.lm-modal.show .lm-modal-content {
  transform: scale(1);
}
.lm-modal-close {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: var(--off);
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: var(--transition);
}
.lm-modal-close:hover {
  background: #e2d9f3;
  color: var(--violet-dark);
}
.lm-modal-header {
  text-align: center;
  margin-bottom: 2rem;
}
.lm-modal-icon-box {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--off);
  color: var(--magenta);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.lm-modal-header h3 {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--violet-dark);
  margin-bottom: 0.5rem;
}
.lm-modal-header p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}
.lm-form .form-row {
  margin-bottom: 1.25rem;
}
.lm-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.lm-form input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 8px;
  font-size: 0.92rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--off);
}
.lm-form input:focus {
  outline: none;
  border-color: var(--violet);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(92, 53, 165, 0.1);
}
.lm-form .submit-btn {
  width: 100%;
  margin-top: 1rem;
}

/* Animaciones y Adaptabilidad responsiva */
@media (max-width: 768px) {
  .lead-magnet-banner {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }
  .lm-download-btn {
    width: 100%;
    justify-content: center;
  }
  .lm-modal-content {
    padding: 2rem 1.5rem;
  }
}
