/* ==========================================================================
   GESTEC & COSTO FÁCIL - ESTILOS GLOBALES Y COMPONENTES PREMIUM
   ========================================================================== */

/* Importar Fuentes Premium */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  /* Paleta de Colores HSL Tailored */
  --navy: #081C3A;
  --navy-light: #0d2a55;
  --blue: #0F62FE;
  --blue-hover: #034bcf;
  --blue-light: #3b82f6;
  --blue-light-op: rgba(15, 98, 254, 0.07);
  --white: #ffffff;
  
  /* Grises Modernos */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1e293b;
  --text: #111827;
  
  /* Sombras y Efectos */
  --shadow-sm: 0 4px 16px rgba(8, 28, 58, 0.05);
  --shadow-md: 0 8px 30px rgba(8, 28, 58, 0.09);
  --shadow-lg: 0 20px 60px rgba(8, 28, 58, 0.15);
  --shadow-blue: 0 10px 30px rgba(15, 98, 254, 0.2);
  
  /* Bordes y Esquinas */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  
  /* Tiempos de Transición */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset de Estilos */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 15px; /* 100% standard body font basis */
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--gray-50);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── CONTENEDOR CENTRAL ── */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── SECCIONES BASE ── */
section {
  padding: clamp(60px, 8vw, 110px) 0;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: clamp(24px, 3.5vw, 38px);
  line-height: 1.25;
  margin-bottom: clamp(12px, 2vw, 18px);
  color: var(--navy);
  letter-spacing: -0.5px;
}

.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto clamp(35px, 5vw, 60px);
  font-size: clamp(14px, 1.8vw, 17px);
  color: var(--gray-600);
  line-height: 1.6;
}

/* ── BOTONES PREMIUM ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition-normal);
  cursor: pointer;
  border: none;
  gap: 8px;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(15, 98, 254, 0.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

/* ==========================================================================
   HEADER / NAVEGACIÓN GLASSMORPHISM
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  padding: 8px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: clamp(42px, 5vw, 58px);
  width: auto;
  object-fit: contain;
  transition: var(--transition-normal);
}

/* Menú de Navegación */
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2.5vw, 32px);
  list-style: none;
}

.nav-link {
  font-weight: 600;
  color: var(--navy);
  font-size: 15px;
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: var(--transition-normal);
}

.nav-link:hover {
  color: var(--blue);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Dropdown de Productos */
.dropdown-item {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  min-width: 280px;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  z-index: 1010;
}

.dropdown-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(5px);
}

.dropdown-link {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.dropdown-link:hover {
  background: var(--gray-100);
}

.dropdown-title {
  font-weight: 700;
  color: var(--blue);
  font-size: 15px;
  margin-bottom: 4px;
}

.dropdown-desc {
  font-size: 12px;
  color: var(--gray-600);
  line-height: 1.4;
}

/* Hamburguesa Menú Móvil */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1020;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition-normal);
}

/* ==========================================================================
   HOMEPAGE - COMPONENTES Y SECCIONES
   ========================================================================== */

/* ── HERO GENERAL GESTEC ── */
.homepage-hero {
  padding-top: clamp(120px, 15vh, 180px);
  padding-bottom: clamp(60px, 8vw, 100px);
  background: radial-gradient(circle at 80% 20%, rgba(15, 98, 254, 0.05) 0%, transparent 60%), var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}

.hero-text h1 {
  font-size: clamp(28px, 4.5vw, 48px);
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -1px;
}

.hero-text p {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--gray-600);
  margin-bottom: 35px;
  line-height: 1.7;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Isotipo flotante decorativo */
.hero-visual-circle {
  width: clamp(240px, 30vw, 360px);
  height: clamp(240px, 30vw, 360px);
  background: transparent;
  border-radius: 50%;
  border: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.hero-visual-circle img {
  width: clamp(230px, 24vw, 270px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 12px rgba(8, 28, 58, 0.14));
  transform: translateZ(0);
}

.hero-visual-circle::after {
  content: '';
  position: absolute;
  width: 110%;
  height: 110%;
  border: 2px dashed rgba(15, 98, 254, 0.3);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}

/* ── SECCIÓN SERVICIOS GESTEC ── */
.section-services {
  background: var(--gray-50);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px 35px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--gray-200);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-light);
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--blue));
  opacity: 0;
  transition: var(--transition-normal);
}

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

.service-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue-light-op);
  color: var(--blue);
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition-normal);
  border: 1.5px solid rgba(15, 98, 254, 0.1);
}

.service-card:hover .service-icon-wrap {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
  color: var(--navy);
}

.service-card p {
  color: var(--gray-600);
  font-size: 15px;
  line-height: 1.6;
}

/* ── SECCIÓN PRODUCTOS DESTACADOS ── */
.section-products-featured {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.product-featured-card {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--gray-200);
  padding: clamp(35px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

/*.product-featured-card::before {
  content: 'PRODUCTO DESTACADO';
  position: absolute;
  top: 25px;
  right: -55px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 8px 60px;
  transform: rotate(45deg);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  letter-spacing: 1px;
}*/

.product-badge {
  display: inline-block;
  background: var(--blue-light-op);
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
  border: 1px solid rgba(15, 98, 254, 0.15);
}

.product-featured-card h3 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.product-featured-card p {
  color: var(--gray-600);
  font-size: 15px;
  margin-bottom: 28px;
}

.product-features-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 30px;
}

.p-feat-item {
  font-weight: 600;
  color: var(--navy);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.p-feat-item span {
  color: #10b981;
}

.product-visual-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  padding: 30px;
  text-align: center;
  position: relative;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: var(--transition-normal);
}

.product-featured-card:hover .product-visual-box {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-light);
}

.product-visual-icon {
  font-size: 52px;
  margin-bottom: 15px;
  animation: float 4s ease-in-out infinite;
}

.product-visual-logo {
  display: block;
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  object-fit: contain;
  animation: float 4s ease-in-out infinite;
}

.product-visual-logo--infomax {
  width: 86px;
  height: 86px;
}

.product-visual-box h4 {
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 6px;
}

.product-visual-box span {
  font-size: 13px;
  color: var(--gray-600);
  font-weight: 600;
}

/* ── SECCIÓN CONTACTO Y FORMULARIO ── */
.section-contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

.contact-info h3 {
  font-size: clamp(24px, 3.5vw, 32px);
  margin-bottom: 18px;
}

.contact-info p {
  color: var(--gray-600);
  margin-bottom: 30px;
}

.contact-details {
  list-style: none;
  margin-bottom: 35px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  background: var(--gray-100);
  color: var(--blue);
  font-size: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-links {
  display: flex;
  gap: 14px;
}

.social-icon {
  width: 42px;
  height: 42px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition-normal);
}

.social-icon:hover {
  background: var(--blue);
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-blue);
}

/* Formulario Premium */
.contact-form-box {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--gray-200);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 14px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  transition: var(--transition-fast);
  color: var(--text);
  outline: none;
}

.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(15, 98, 254, 0.15);
}

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

/* ==========================================================================
   COSTO FÁCIL - SECCIONES Y COMPONENTES
   ========================================================================== */

/* ── HERO COSTO FÁCIL ── */
.costofacil-hero {
  padding-top: clamp(130px, 16vh, 190px);
  padding-bottom: clamp(65px, 8vw, 110px);
  background: radial-gradient(circle at 10% 80%, rgba(15, 98, 254, 0.06) 0%, transparent 60%), var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.cf-hero-title {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 24px;
}

.cf-hero-title h1 {
  font-size: clamp(32px, 5.5vw, 54px);
  line-height: 1.15;
  letter-spacing: -1.5px;
  font-weight: 800;
}

.cf-hero-title span {
  background: linear-gradient(135deg, var(--navy) 30%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cf-hero-desc {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 35px;
  font-size: clamp(15px, 2.2vw, 19px);
  color: var(--gray-600);
  line-height: 1.7;
}

.cf-hero-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ── SECCIÓN EL PROBLEMA ── */
.section-problems {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.section-problems::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(15,98,254,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.problems-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.problem-card {
  background: var(--white);
  padding: clamp(25px, 4vw, 38px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--gray-200);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.problem-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.problem-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, #dc2626, #f97316); /* Acento en rojo de advertencia/problema */
  opacity: 0;
  transition: var(--transition-normal);
}

.problem-card:hover::after {
  opacity: 1;
}

.problem-icon {
  font-size: 26px;
  margin-bottom: 18px;
  display: inline-block;
}

.problem-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--navy);
}

.problem-card p {
  color: var(--gray-600);
  font-size: 15px;
}

/* ── SECCIÓN CARACTERÍSTICAS (FEATURES GRID) ── */
.section-features {
  background: var(--gray-100);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-item {
  background: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--gray-200);
  transition: var(--transition-normal);
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-light);
}

.feature-item span {
  color: #10b981;
  font-size: 18px;
  flex-shrink: 0;
}

/* ── SECCIÓN SOLUCIONES ESPECIALIZADAS ── */
.section-solutions {
  background: var(--white);
}

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

.solution-card {
  background: var(--white);
  padding: 40px 35px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--gray-200);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.solution-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 4px;
  opacity: 0;
  transition: var(--transition-normal);
}

.solution-card:hover::after {
  opacity: 1;
}

.solution-icon {
  font-size: 28px;
  margin-bottom: 20px;
  display: inline-block;
}

.solution-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--navy);
}

.solution-card p {
  color: var(--gray-600);
  font-size: 15px;
}

/* Acentos de color individuales */
.card-confecciones::after { background: linear-gradient(90deg, #7c3aed, #a855f7); }
.card-gastronomia::after  { background: linear-gradient(90deg, #dc2626, #f97316); }
.card-carpinteria::after  { background: linear-gradient(90deg, #92400e, #d97706); }

.card-confecciones:hover { border-color: #a855f7; }
.card-gastronomia:hover { border-color: #f97316; }
.card-carpinteria:hover { border-color: #d97706; }

/* ── SECCIÓN PRECIOS (PRICING) ── */
.section-pricing {
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.billing-toggle { display: flex; justify-content: center; width: fit-content; margin: -12px auto 38px; padding: 5px; background: var(--white); border: 1px solid var(--gray-200); border-radius: 999px; box-shadow: var(--shadow-sm); }
.billing-toggle-btn { border: 0; border-radius: 999px; background: transparent; color: var(--gray-600); padding: 11px 18px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: var(--transition-normal); }
.billing-toggle-btn:hover { color: var(--blue); }
.billing-toggle-btn.active { color: var(--white); background: var(--blue); box-shadow: 0 6px 18px rgba(15, 98, 254, 0.22); }
.billing-toggle-btn:focus-visible { outline: 3px solid rgba(15, 98, 254, 0.3); outline-offset: 2px; }
.billing-saving { display: inline-block; margin-left: 6px; padding: 3px 7px; border-radius: 999px; color: #047857; background: #d1fae5; font-size: 10px; font-weight: 800; vertical-align: 1px; }
.billing-toggle-btn.active .billing-saving { color: #065f46; background: #ecfdf5; }
.pricing-panel[hidden] { display: none; }
.pricing-panel.active { animation: pricingPanelIn 0.35s ease-out; }

@keyframes pricingPanelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  background: var(--white);
  padding: 45px 35px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* Plan Popular (Oro) */
.pricing-card.popular {
  border-color: var(--blue);
  box-shadow: 0 10px 40px rgba(15, 98, 254, 0.1);
  transform: scale(1.02);
}

.pricing-card.popular:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 50px rgba(15, 98, 254, 0.2);
}

/* Insignias de Plan (Badges) */
.pricing-badge {
  position: absolute;
  top: 12px;
  left: 50%;
  right: auto;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  padding: 9px 20px;
  transform: translateX(-50%);
  color: var(--white);
  letter-spacing: 0.55px;
  border-radius: 999px;
  box-shadow: 0 7px 18px rgba(8, 28, 58, 0.22);
  white-space: nowrap;
  z-index: 1;
}

.pricing-badge.promocion { background: #10b981; }
.pricing-badge.popular-badge { background: var(--blue); }
.pricing-badge.pro-badge { background: #d97706; }
.pricing-badge.annual-badge { background: #10b981; }

.plan-icon {
  font-size: 26px;
  color: var(--blue);
  margin-bottom: 16px;
}

.pricing-card h3 {
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 4px;
}

.plan-subtitle {
  font-size: 13px;
  color: var(--gray-600);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.plan-audience {
  min-height: 42px;
  color: var(--gray-600);
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 18px;
}

.plan-price-box {
  display: flex;
  align-items: baseline;
  margin-bottom: 8px;
  gap: 8px;
}

.plan-currency-note {
  color: var(--gray-600);
  font-size: 12.5px;
  line-height: 1.45;
  margin-bottom: 26px;
}

.old-price {
  font-size: 18px;
  color: var(--gray-600);
  text-decoration: line-through;
  font-weight: 500;
}

.price-currency {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
}

.price-amount {
  font-size: 42px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.price-period {
  font-size: 14px;
  color: var(--gray-600);
  font-weight: 500;
  margin-left: 4px;
}

.plan-features-list {
  list-style: none;
  margin-bottom: 35px;
  flex-grow: 1;
}

.plan-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--gray-800);
}

.plan-feature-item i {
  color: #10b981;
  font-size: 14px;
}

.plan-feature-disabled {
  color: var(--gray-600);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: currentColor;
}

.plan-feature-disabled i {
  color: var(--gray-600);
}

.plan-token-feature { font-weight: 700; color: var(--blue); }
.plan-welcome-feature { display: inline-flex; padding: 4px 8px; border-radius: 4px; background: rgba(16, 185, 129, 0.1); color: #10b981; font-size: 13px; font-weight: 700; }
.annual-plan-btn { cursor: pointer; }

@media (max-width: 576px) {
  .billing-toggle { width: 100%; margin-bottom: 30px; }
  .billing-toggle-btn { flex: 1; padding-inline: 10px; }
  .billing-saving { display: block; width: fit-content; margin: 4px auto 0; }
}

.pricing-card .btn {
  width: 100%;
}

.plan-btn-text {
  text-align: center;
  font-size: 12px;
  color: var(--gray-600);
  font-weight: 600;
  margin-top: 12px;
}

/* ==========================================================================
   FOOTER UNIFICADO
   ========================================================================== */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 70px 0 30px;
  border-top: 5px solid var(--blue);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-column h4 {
  color: var(--white);
  font-size: 17px;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--blue);
}

.footer-column p {
  color: var(--gray-300);
  font-size: 14px;
  line-height: 1.6;
}

.footer-column-logo img {
  height: 48px;
  width: auto;
  margin-bottom: 18px;
  filter: brightness(0) invert(1); /* Poner el logotipo en blanco */
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--gray-300);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--blue-light);
  padding-left: 4px;
}

.reclamaciones-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  transition: var(--transition-fast);
  margin-top: 15px;
}

.reclamaciones-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.reclamaciones-btn i {
  color: #f59e0b;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--gray-300);
  font-size: 13px;
}

/* ==========================================================================
   ANIMACIONES DE SCROLL Y KEYFRAMES
   ========================================================================== */

/* Animaciones del Intersection Observer */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay secuencial para grillas animadas */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Flotación e Giro */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

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

/* ==========================================================================
   RESPONSIVO OVERRIDES FLUIDOS
   ========================================================================== */

/* Tablet (≤ 992px) */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .cf-hero-btns,
  .hero-visual {
    justify-content: center;
  }
  
  .product-featured-card {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
}

/* Hamburguesa Menú (≤ 768px) */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
    border-bottom: 2px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-normal);
  }
  
  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .nav-menu li {
    width: 100%;
    text-align: center;
  }
  
  .nav-link {
    display: block;
    padding: 15px 0;
    width: 100%;
  }
  
  .nav-link::after {
    display: none;
  }
  
  /* Desactivar dropdown hover en móvil, hacerlo clickeable */
  .dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-50);
    border-radius: 0;
    display: none;
    margin-top: 5px;
    width: 100%;
    padding: 10px 0;
  }
  
  .dropdown-item.active-click .dropdown-menu {
    display: block;
  }
}

/* Mobile (≤ 576px) */
@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
/* ==================================================
   VALORES
   ================================================== */

.valores-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

/* Tablet */
@media (max-width: 991px){
    .valores-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

/* Móvil */
@media (max-width: 576px){
    .valores-grid{
        grid-template-columns:1fr;
    }
}

/* Grid de servicios */
.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
    gap:30px;
    align-items:stretch;
}

/* Tarjetas */
.service-card{
    display:flex;
    flex-direction:column;
    padding:30px;
    border-radius:16px;
    background:#fff;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:all .3s ease;
}

.service-card:hover{
    transform:translateY(-5px);
    box-shadow:0 15px 35px rgba(0,0,0,.12);
}

/* Icono */
.service-icon-wrap{
    width:80px;
    height:80px;
    margin:0 auto 20px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(0,123,255,.1);
}

.service-icon-wrap i{
    font-size:32px;
    color:var(--blue);
}

/* Títulos */
.service-card h3{
    text-align:center;
    margin-bottom:20px;
    color:var(--navy);
}

/* Párrafos */
.service-card p{
    margin-bottom:12px;
    line-height:1.7;
    text-align:justify;
}

/* Subtítulo */
.service-card h4{
    margin:18px 0 10px;
    color:var(--blue);
    font-size:1rem;
}

/* Lista */
.service-list{
    margin:15px 0;
    padding-left:20px;
}

.service-list li{
    margin-bottom:8px;
    line-height:1.6;
}

/* Mensaje final */
.service-highlight{
    margin-top:auto; /* Empuja el texto al fondo */
    padding-top:15px;
    border-top:1px solid rgba(0,0,0,.1);
    font-weight:700;
    color:var(--blue);
    text-align:center;
}

/* Responsive */
@media (max-width:768px){
    .services-grid{
        grid-template-columns:1fr;
    }

    .service-card{
        padding:25px;
    }
}

.btn-service{
    display:block;
    margin-top:15px;
    padding:12px 20px;
    text-align:center;
    background:var(--blue);
    color:#fff;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.btn-service:hover{
    transform:translateY(-2px);
}

/* ── BOTÓN SOLICITAR ASESORÍA ALINEADO AL FONDO ── */
.service-card .cf-hero-btns {
    margin-top: auto;
    padding-top: 28px;
    display: flex;
    justify-content: center;
}

.service-card .cf-hero-btns .btn-outline {
    min-width: 200px;
    letter-spacing: 0.3px;
}

/* Línea decorativa superior en las tarjetas */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--blue-light));
    border-radius: 16px 16px 0 0;
}
/* ===== BOTÓN FLOTANTE WHATSAPP ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  z-index: 9999;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 22px rgba(37,211,102,0.6);
}

/* ==========================================================================
   POLÍTICA DE PRIVACIDAD
   ========================================================================== */
.privacy-page {
  background: #ffffff;
}

.privacy-page .site-header {
  position: relative;
}

.privacy-hero {
  position: relative;
  overflow: hidden;
  padding: 38px 0 34px;
  border-bottom: 1px solid var(--gray-200);
  background: #f7f7f7;
  color: var(--gray-700);
}

.privacy-hero::after {
  display: none;
}

.privacy-hero-glow {
  display: none;
}

.privacy-hero-glow-one {
  width: 420px;
  height: 420px;
  right: -110px;
  top: -190px;
  background: rgba(15, 98, 254, 0.22);
}

.privacy-hero-glow-two {
  width: 260px;
  height: 260px;
  left: -90px;
  bottom: -150px;
  background: rgba(56, 189, 248, 0.12);
}

.privacy-hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.privacy-back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--gray-600);
  font-size: 12px;
  font-weight: 500;
}

.privacy-back-link:hover {
  color: var(--navy);
  transform: translateX(-3px);
}

.privacy-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--gray-600);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.privacy-hero h1 {
  max-width: 760px;
  margin-bottom: 12px;
  color: var(--navy);
  font-size: clamp(27px, 4vw, 36px);
  letter-spacing: -0.7px;
}

.privacy-hero p {
  max-width: 720px;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.65;
}

.privacy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 12px;
  font-weight: 600;
}

.privacy-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.privacy-content-section {
  padding: 42px 0 70px;
}

.privacy-layout {
  display: block;
  max-width: 820px;
}

.privacy-sidebar {
  display: none;
}

.privacy-sidebar-card {
  padding: 22px 20px;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.privacy-sidebar-title {
  display: block;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--navy);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.privacy-sidebar nav {
  display: grid;
  gap: 3px;
}

.privacy-sidebar nav a {
  padding: 7px 9px;
  border-radius: 7px;
  color: var(--gray-600);
  font-size: 12px;
  font-weight: 500;
}

.privacy-sidebar nav a:hover {
  background: var(--blue-light-op);
  color: var(--blue);
}

.privacy-document {
  min-width: 0;
}

.privacy-summary {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
  padding: 18px 20px;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  background: #fafafa;
}

.privacy-summary-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gray-200);
  color: var(--gray-600);
  font-size: 14px;
}

.privacy-summary h2 {
  margin-bottom: 5px;
  font-size: 16px;
}

.privacy-summary p {
  margin: 0;
  color: var(--gray-600);
  font-size: 13px;
}

.privacy-card {
  position: relative;
  margin-bottom: 0;
  padding: 30px 4px;
  scroll-margin-top: 24px;
  border: 0;
  border-bottom: 1px solid var(--gray-200);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.privacy-section-number {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gray-500);
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
}

.privacy-card h2 {
  margin-bottom: 14px;
  font-size: clamp(19px, 2.5vw, 22px);
  letter-spacing: -0.2px;
}

.privacy-card h3 {
  font-size: 14px;
}

.privacy-card p,
.privacy-card li {
  color: #555f6d;
  font-size: 13px;
  line-height: 1.7;
}

.privacy-card p + p,
.privacy-card ul + p,
.privacy-card p + ul {
  margin-top: 15px;
}

.privacy-card ul {
  display: grid;
  gap: 9px;
  padding-left: 20px;
}

.privacy-card a {
  color: var(--blue);
}

.privacy-data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.privacy-data-grid div {
  padding: 16px 18px;
  border: 1px solid var(--gray-200);
  border-radius: 11px;
  background: var(--gray-50);
}

.privacy-data-grid span {
  display: block;
  margin-bottom: 4px;
  color: #718096;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.privacy-data-grid strong,
.privacy-data-grid a {
  color: var(--navy);
  font-size: 13px;
  font-weight: 650;
}

.privacy-check-list {
  padding-left: 0 !important;
  list-style: none;
}

.privacy-check-list li {
  position: relative;
  padding-left: 27px;
}

.privacy-check-list li::before {
  content: '\f00c';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--gray-500);
  font-family: 'Font Awesome 6 Free';
  font-size: 12px;
  font-weight: 900;
}

.privacy-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.privacy-category {
  padding: 20px;
  border: 1px solid var(--gray-200);
  border-radius: 13px;
  background: #fbfdff;
}

.privacy-category > i {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  margin-bottom: 13px;
  border-radius: 9px;
  background: var(--blue-light-op);
  color: var(--blue);
}

.privacy-category h3 {
  margin-bottom: 7px;
}

.privacy-category p {
  font-size: 12.5px;
  line-height: 1.65;
}

.privacy-notice {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  background: #fafafa;
}

.privacy-notice > i {
  margin-top: 4px;
  color: var(--gray-500);
  font-size: 15px;
}

.privacy-notice strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
}

.privacy-notice p {
  margin: 0;
  font-size: 13px;
}

.privacy-table-wrap {
  margin: 22px 0;
  overflow-x: auto;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
}

.privacy-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.privacy-table th,
.privacy-table td {
  padding: 15px 17px;
  border-bottom: 1px solid var(--gray-200);
  text-align: left;
  vertical-align: top;
}

.privacy-table th {
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.2px;
}

.privacy-table td {
  color: #435168;
  font-size: 12.5px;
  line-height: 1.6;
}

.privacy-table tr:last-child td {
  border-bottom: 0;
}

.privacy-table tbody tr:nth-child(even) {
  background: var(--gray-50);
}

.privacy-rights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 23px 0;
}

.privacy-rights-grid div {
  display: grid;
  gap: 3px;
  padding: 16px 17px;
  border: 1px solid #dce6f3;
  border-radius: 11px;
  background: #f8fbff;
}

.privacy-rights-grid strong {
  color: var(--blue);
  font-size: 13px;
}

.privacy-rights-grid span {
  color: #536178;
  font-size: 12px;
  line-height: 1.55;
}

.privacy-external-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--gray-600) !important;
  font-size: 12px;
  font-weight: 500;
}

.privacy-external-link:hover {
  background: transparent;
  color: var(--navy) !important;
}

.privacy-contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding: 24px;
  scroll-margin-top: 24px;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  background: #fafafa;
  box-shadow: none;
}

.privacy-contact-card .privacy-eyebrow {
  display: none;
}

.privacy-contact-card h2 {
  max-width: 490px;
  margin-bottom: 9px;
  color: var(--navy);
  font-size: 19px;
}

.privacy-contact-card p {
  max-width: 540px;
  color: var(--gray-600);
  font-size: 13px;
}

.privacy-contact-actions {
  display: grid;
  flex: 0 0 auto;
  gap: 9px;
  min-width: 205px;
}

.privacy-contact-actions .btn {
  justify-content: center;
  padding: 9px 14px;
  font-size: 12px;
}

.privacy-btn-light {
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-700);
}

.privacy-btn-light:hover {
  border-color: var(--gray-400);
  background: var(--gray-50);
  color: var(--navy);
}

.privacy-version {
  margin-top: 18px;
  color: #75839a;
  font-size: 11px;
  text-align: center;
}

@media (max-width: 900px) {
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .privacy-sidebar {
    display: none;
  }

  .privacy-contact-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .privacy-contact-actions {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .privacy-hero {
    padding: 30px 0;
  }

  .privacy-back-link {
    margin-bottom: 18px;
  }

  .privacy-hero h1 {
    letter-spacing: -1px;
  }

  .privacy-meta {
    display: grid;
  }

  .privacy-summary {
    align-items: flex-start;
    padding: 16px;
  }

  .privacy-summary-icon {
    display: none;
  }

  .privacy-data-grid,
  .privacy-category-grid,
  .privacy-rights-grid {
    grid-template-columns: 1fr;
  }

  .privacy-card {
    padding: 25px 0;
  }

  .privacy-notice {
    padding: 17px;
  }
}
