/* ==========================================================================
   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;
}

.header-with-access .header-container {
  justify-content: flex-start;
  gap: clamp(18px, 2vw, 28px);
}

.header-with-access nav {
  margin-left: auto;
}

.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;
}

/* Acceso directo a CostoFácil en el encabezado de la portada */
.header-costofacil-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1.5px solid var(--blue);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--blue);
  box-shadow: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.header-costofacil-link:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.header-costofacil-link:focus-visible {
  outline: 3px solid rgba(15, 98, 254, 0.3);
  outline-offset: 3px;
}

.header-costofacil-mobile {
  display: none;
}

/* 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);
}

#productos.section-products-featured {
  --spotlight-x: 50%;
  --spotlight-y: 32%;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at var(--spotlight-x) var(--spotlight-y), rgba(56, 189, 248, 0.28) 0, rgba(15, 98, 254, 0.14) 18%, transparent 42%),
    radial-gradient(circle at 10% 18%, rgba(14, 165, 233, 0.15), transparent 30%),
    radial-gradient(circle at 88% 78%, rgba(37, 99, 235, 0.20), transparent 34%),
    linear-gradient(135deg, #020a1c 0%, #061c3f 48%, #07336b 100%);
  border-top: 1px solid rgba(125, 211, 252, 0.24);
  border-bottom: 1px solid rgba(125, 211, 252, 0.24);
}

#productos.section-products-featured::before,
#productos.section-products-featured::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

#productos.section-products-featured::before {
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

#productos.section-products-featured::after {
  inset: -30% -12%;
  background: linear-gradient(115deg, transparent 28%, rgba(125, 211, 252, 0.09) 45%, transparent 62%);
  transform: rotate(-4deg);
}

#productos.section-products-featured > .container {
  position: relative;
  z-index: 1;
}

#productos.section-products-featured .section-title {
  color: var(--white);
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.18);
}

#productos.section-products-featured .section-subtitle {
  color: rgba(255, 255, 255, 0.76);
}

.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;
}

#productos .product-featured-card {
  background: linear-gradient(135deg, rgba(248, 251, 255, 0.95), rgba(226, 237, 250, 0.91));
  border: 1px solid rgba(147, 197, 253, 0.42);
  box-shadow:
    0 14px 42px rgba(0, 9, 28, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.48) inset;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

#productos .product-featured-card::before {
  content: '';
  position: absolute;
  top: -170px;
  right: -130px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 98, 254, 0.13), transparent 68%);
  pointer-events: none;
}

#productos .product-featured-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 9%;
  left: 9%;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, transparent, #38bdf8 24%, #0f62fe 76%, transparent);
  opacity: 0.78;
  pointer-events: none;
}

#productos .product-featured-card > * {
  position: relative;
  z-index: 1;
}

#productos .product-featured-card:hover {
  transform: translateY(-3px);
  border-color: rgba(125, 211, 252, 0.7);
  box-shadow:
    0 20px 52px rgba(0, 9, 28, 0.27),
    0 0 28px rgba(14, 165, 233, 0.10),
    0 0 0 1px rgba(255, 255, 255, 0.52) inset;
}

/*.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);
}

#productos .product-badge {
  background: rgba(15, 98, 254, 0.09);
  border-color: rgba(15, 98, 254, 0.22);
}

.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: 0 14px 36px rgba(8, 28, 58, 0.12);
  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);
}

#productos .product-visual-box {
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(148, 163, 184, 0.34);
  box-shadow: 0 8px 24px rgba(8, 28, 58, 0.09);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#productos .product-featured-card:hover .product-visual-box {
  transform: translateY(-2px) scale(1.012);
  box-shadow: 0 12px 30px rgba(8, 28, 58, 0.12), 0 0 24px rgba(15, 98, 254, 0.06);
  border-color: rgba(59, 130, 246, 0.42);
}

.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 80% 20%, rgba(15, 98, 254, 0.05) 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-product-logo {
  display: block;
  width: clamp(230px, 26vw, 290px);
  height: auto;
  margin: 0 auto clamp(22px, 3vw, 30px);
  object-fit: contain;
}

.infomax-product-logo {
  display: block;
  width: clamp(230px, 26vw, 290px);
  height: auto;
  margin: 0 auto clamp(22px, 3vw, 30px);
  object-fit: contain;
}

.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(--navy);
  border-top: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
}

.section-features .section-title {
  color: var(--white);
}

.section-features .section-subtitle {
  color: var(--gray-300);
}

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

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

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

.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 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 22%, rgba(56, 189, 248, 0.24) 0%, transparent 32%),
    radial-gradient(circle at 88% 76%, rgba(15, 98, 254, 0.22) 0%, transparent 35%),
    linear-gradient(135deg, #020a1c 0%, #061c3f 48%, #07336b 100%);
  border-top: 1px solid rgba(125, 211, 252, 0.24);
  border-bottom: 1px solid rgba(125, 211, 252, 0.24);
}

.section-pricing::before,
.section-pricing::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.section-pricing::before {
  inset: 0;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
}

.section-pricing::after {
  top: 8%;
  left: -12%;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.24) 0%, rgba(15, 98, 254, 0.11) 38%, transparent 70%);
  filter: blur(3px);
  animation: pricingGlowMove 14s ease-in-out infinite alternate;
}

.section-pricing > .container {
  position: relative;
  z-index: 1;
}

.section-pricing .section-title {
  color: var(--white);
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.18);
}

.section-pricing .section-subtitle {
  color: rgba(255, 255, 255, 0.76);
}

.billing-toggle { display: flex; justify-content: center; width: fit-content; margin: -12px auto 38px; padding: 5px; background: rgba(255, 255, 255, 0.94); border: 1px solid rgba(255, 255, 255, 0.48); border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 9, 28, 0.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.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); }
}

@keyframes pricingGlowMove {
  0% { transform: translate3d(-4%, -6%, 0) scale(0.92); }
  50% { transform: translate3d(72vw, 10%, 0) scale(1.08); }
  100% { transform: translate3d(34vw, 42%, 0) scale(0.98); }
}

@media (prefers-reduced-motion: reduce) {
  .section-pricing::after { animation: none; }
}

/* ========================================================================== 
   LIBRO DE RECLAMACIONES
   ========================================================================== */
.claims-page { background: #f5f7fa; }
.claims-page [hidden] { display: none !important; }
.claims-page .site-header { position: relative; }
.claims-hero { padding: 38px 0 34px; border-bottom: 1px solid var(--gray-200); background: #fff; }
.claims-hero-content { max-width: 1040px; }
.claims-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }
.claims-hero h1 { margin-bottom: 10px; color: var(--navy); font-size: clamp(28px, 4vw, 40px); letter-spacing: -1px; }
.claims-hero > .container > p { max-width: 650px; color: var(--gray-600); font-size: 14px; line-height: 1.7; }
.claims-provider { display: grid; grid-template-columns: minmax(0, 1fr) 180px; max-width: 720px; gap: 0; margin-top: 28px; overflow: hidden; border: 1px solid var(--gray-200); border-radius: 8px; background: #fafbfc; }
.claims-provider div { padding: 14px 18px; border-right: 1px solid var(--gray-200); }
.claims-provider div:last-child { border-right: 0; }
.claims-provider span { display: block; margin-bottom: 3px; color: var(--gray-500); font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.claims-provider strong { color: var(--navy); font-size: 12.5px; line-height: 1.5; }
.claims-section { padding: 38px 0 72px; }
.claims-layout { display: grid; grid-template-columns: 260px minmax(0, 760px); justify-content: center; gap: 28px; align-items: start; }
.claims-help { position: sticky; top: 22px; display: grid; gap: 14px; }
.claims-help-card, .claims-definition { padding: 21px; border: 1px solid var(--gray-200); border-radius: 8px; background: #fff; }
.claims-help-card h2 { margin-bottom: 8px; color: var(--navy); font-size: 16px; }
.claims-help-card > p, .claims-definition p { color: var(--gray-600); font-size: 12.5px; line-height: 1.6; }
.claims-help-card ul { display: grid; gap: 13px; margin-top: 18px; list-style: none; }
.claims-help-card li { display: flex; gap: 10px; color: #4d5b70; font-size: 12px; line-height: 1.5; }
.claims-help-card li i { flex: 0 0 auto; margin-top: 2px; color: var(--blue); }
.claims-definition { border-left: 3px solid var(--blue); }
.claims-definition p + p { margin-top: 12px; }
.claims-definition strong { color: var(--navy); }
.claims-form-card { min-width: 0; padding: 32px; border: 1px solid var(--gray-200); border-radius: 10px; background: #fff; box-shadow: 0 10px 30px rgba(8, 28, 58, .06); }
.claims-step { margin: 0; padding: 0 0 32px; border: 0; }
.claims-step + .claims-step { padding-top: 30px; border-top: 1px solid var(--gray-200); }
.claims-step legend { display: flex; align-items: center; gap: 10px; width: 100%; margin-bottom: 22px; color: var(--navy); font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 700; }
.claims-step legend span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 12px; }
.claims-grid { display: grid; gap: 17px; }
.claims-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.claims-full { grid-column: 1 / -1; }
.claims-page .form-group { margin: 0; }
.claims-page .form-label { display: block; margin-bottom: 7px; color: #344258; font-size: 12px; font-weight: 650; }
.claims-page .form-label em, .claims-check em, .claims-required-note em { color: #c62828; font-style: normal; }
.claims-page .form-label span { color: var(--gray-500); font-weight: 400; }
.claims-page .form-control { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #ccd5e0; border-radius: 6px; background: #fff; color: #26354a; font: inherit; font-size: 13px; transition: border-color .2s, box-shadow .2s; }
.claims-page .form-control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(15, 98, 254, .11); }
.claims-validated .form-control:invalid { border-color: #d77a7a; }
.claims-check { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; color: #435168; font-size: 12.5px; line-height: 1.55; cursor: pointer; }
.claims-check input { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 1px; accent-color: var(--blue); }
.claims-dependent { margin-top: 18px; padding: 17px; border: 1px solid #dce6f3; border-radius: 7px; background: #f8fbff; }
.claims-choice-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
.claims-choice { cursor: pointer; }
.claims-choice input { position: absolute; opacity: 0; pointer-events: none; }
.claims-choice > span { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 10px 14px; border: 1px solid #ccd5e0; border-radius: 7px; color: #536178; font-size: 13px; font-weight: 600; transition: .2s; }
.claims-choice input:checked + span { border-color: var(--blue); background: #f1f6ff; color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.claims-choice input:focus-visible + span { outline: 3px solid rgba(15, 98, 254, .2); }
.claims-choice-main > .claims-choice > span { align-items: flex-start; flex-direction: column; min-height: 72px; }
.claims-choice-main strong { font-size: 14px; }
.claims-choice-main small { font-size: 11.5px; font-weight: 400; }
.claims-textarea { min-height: 135px; resize: vertical; line-height: 1.6; }
.claims-textarea-short { min-height: 100px; }
.claims-counter { display: block; margin-top: 5px; color: var(--gray-500); font-size: 10.5px; text-align: right; }
.claims-step > .form-group + .form-group { margin-top: 18px; }
.claims-inline-options { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-top: 3px; color: #435168; font-size: 12.5px; }
.claims-inline-options label { display: flex; align-items: center; gap: 7px; cursor: pointer; }
.claims-inline-options input { accent-color: var(--blue); }
.claims-response-channel { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; padding: 14px 16px; border: 1px solid #dce6f3; border-radius: 7px; background: #f8fbff; }
.claims-response-channel > i { margin-top: 2px; color: var(--blue); font-size: 15px; }
.claims-response-channel strong { display: block; margin-bottom: 3px; color: var(--navy); font-size: 12.5px; }
.claims-response-channel p { color: #536178; font-size: 11.5px; line-height: 1.5; }
.claims-legal { padding: 20px; border: 1px solid #dce6f3; border-radius: 7px; background: #f8fafc; }
.claims-legal h2 { margin-bottom: 10px; color: var(--navy); font-size: 15px; }
.claims-legal ul { display: grid; gap: 8px; padding-left: 18px; color: #536178; font-size: 11.5px; line-height: 1.55; }
.claims-legal a { color: var(--blue); text-decoration: underline; }
.claims-check-required { margin-top: 16px; padding-top: 15px; border-top: 1px solid #dce6f3; }
.claims-provider-use { margin-top: 14px; padding: 15px 18px; border: 1px dashed #c8d2df; border-radius: 7px; background: #fff; color: #536178; font-size: 11.5px; line-height: 1.55; }
.claims-provider-use > span { display: block; margin-bottom: 6px; color: var(--gray-500); font-size: 10px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; }
.claims-provider-use p + p { margin-top: 3px; }
.claims-provider-use strong { color: var(--navy); }
.claims-submit { width: 100%; margin-top: 22px; padding: 14px 20px; justify-content: center; }
.claims-submit:disabled { cursor: wait; opacity: .7; }
.claims-required-note { margin-top: 9px; color: var(--gray-500); font-size: 10.5px; text-align: center; }
.claims-alert { margin-bottom: 22px; padding: 13px 15px; border: 1px solid #f0b5b5; border-radius: 6px; background: #fff2f2; color: #8b2424; font-size: 12.5px; line-height: 1.5; }
.claims-honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.claims-success { padding: 20px 10px; text-align: center; }
.claims-success-icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%; background: #e6f7ef; color: #087a4d; font-size: 22px; }
.claims-success > span { color: #087a4d; font-size: 11px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; }
.claims-success h2 { margin: 8px 0 12px; color: var(--navy); font-size: 24px; }
.claims-success > p { color: var(--gray-600); font-size: 13px; }
.claims-code { display: inline-block; margin: 14px 0 24px; padding: 10px 18px; border: 1px dashed var(--blue); border-radius: 6px; background: #f3f7ff; color: var(--navy); font-family: monospace; font-size: 20px; letter-spacing: .5px; }
.claims-success-summary { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--gray-200); border-radius: 7px; text-align: left; }
.claims-success-summary div { padding: 15px; border-right: 1px solid var(--gray-200); }
.claims-success-summary div:last-child { border-right: 0; }
.claims-success-summary span { display: block; margin-bottom: 4px; color: var(--gray-500); font-size: 10px; text-transform: uppercase; }
.claims-success-summary strong { color: var(--navy); font-size: 12px; overflow-wrap: anywhere; }
.claims-mail-notice { margin-top: 18px; }
.claims-success-actions { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }

@media (max-width: 880px) {
  .claims-provider { grid-template-columns: 1fr 1fr; }
  .claims-provider div:nth-child(2) { border-right: 0; }
  .claims-layout { grid-template-columns: 1fr; }
  .claims-help { position: static; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .claims-hero { padding: 28px 0; }
  .claims-provider { grid-template-columns: 1fr; }
  .claims-provider div, .claims-provider div:nth-child(2), .claims-provider div:last-child { grid-column: auto; border: 0; border-bottom: 1px solid var(--gray-200); }
  .claims-provider div:last-child { border-bottom: 0; }
  .claims-section { padding: 24px 0 50px; }
  .claims-help { grid-template-columns: 1fr; }
  .claims-form-card { padding: 22px 16px; }
  .claims-grid-2, .claims-choice-row, .claims-success-summary { grid-template-columns: 1fr; }
  .claims-success-summary div { border-right: 0; border-bottom: 1px solid var(--gray-200); }
  .claims-success-summary div:last-child { border-bottom: 0; }
  .claims-success-actions { align-items: stretch; flex-direction: column; }
  .claims-success-actions .btn { justify-content: center; }
}
@media print {
  .claims-page .site-header, .claims-page .claims-hero, .claims-page .claims-help, .claims-page .site-footer, .claims-success-actions { display: none !important; }
  .claims-page, .claims-section { background: #fff; padding: 0; }
  .claims-layout { display: block; }
  .claims-form-card { border: 0; box-shadow: none; }
  .claims-success { display: block !important; }
}

.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;
  }
}

/* Ajuste para tabletas y portátiles estrechos */
@media (min-width: 769px) and (max-width: 900px) {
  .header-with-access .header-container {
    gap: 12px;
  }

  .header-with-access .nav-menu {
    gap: 12px;
  }

  .header-costofacil-link {
    min-height: 38px;
    padding: 9px 13px;
    font-size: 13px;
  }

  .header-costofacil-desktop {
    display: none;
  }

  .header-costofacil-mobile {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
}

@media (max-width: 576px) {
  #productos .product-visual-logo {
    width: 52px;
    height: 52px;
    margin-bottom: 10px;
  }

  #productos .product-visual-logo--infomax {
    width: 56px;
    height: 56px;
  }
}

/* Hamburguesa Menú (≤ 768px) */
@media (max-width: 768px) {
  .header-with-access .header-container {
    gap: 12px;
  }

  .header-with-access nav {
    margin-left: 0;
  }

  .header-costofacil-link {
    min-height: 38px;
    margin-left: auto;
    padding: 9px 13px;
    font-size: 13px;
  }

  .header-costofacil-desktop {
    display: none;
  }

  .header-costofacil-mobile {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }

  .header-costofacil-mobile i {
    font-size: 11px;
  }

  .menu-toggle {
    display: flex;
    flex-shrink: 0;
  }
  
  .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;
  }
}

@media (max-width: 380px) {
  .header-with-access .header-container {
    gap: 8px;
  }

  .header-with-access .logo img {
    height: 36px;
  }

  .header-costofacil-link {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 12px;
  }
}

/* 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: 0 14px 36px rgba(8, 28, 58, 0.12);
}

.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;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-featured-card,
  .product-featured-card:hover,
  .product-featured-card:hover .product-visual-box {
    transform: none;
  }

  .product-visual-logo,
  .product-visual-icon {
    animation: none;
  }
}
