:root {
  --primary: #3877bd;
  --primary-dark: #0a4689;
  --bg-page: #f5f5f5;
  --text: #111827;
  --max-width: 1100px;
}

/* GLOBAL RESET & BASE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background: var(--bg-page);
  line-height: 1.6;
  width: 100%;
}

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

.st-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

.st-page-layout {
  padding-bottom: 80px !important; /* Ajusta este valor (60px, 80px, 100px) según el espacio que quieras */
}


/* HEADER */
header, .st-header-inner {
  justify-content: space-between !important;
}

.st-header {
  background: #ffffff;
  padding: 16px 0;
  border-bottom: 1px solid #e5e7eb;
}

.st-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.st-logo img {
  height: 40px;
  width: auto;
  display: block;
}

.st-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 600;
  margin-left: auto !important;
}

.st-nav a:hover {
  color: var(--primary);
}

/* BANNER TITOLO */
.st-page-banner {
  background: linear-gradient(135deg, #0a4689, #3877bd);
  color: #f9fafb;
  padding: 40px 0 46px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.35);
  margin-bottom: 32px;
}

.st-page-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}
.st-page-kicker {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.9;
  margin-bottom: 6px;
}

.st-page-banner h1 {
  font-size: clamp(2rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

/* CONTENIDO PRIVACY POLICY */
.policy-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 40px 20px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  text-align: justify;
}

.policy-container h1, 
.policy-container h2 {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #111;
}

.policy-container h1 {
  font-size: 1.8rem;
  text-transform: uppercase;
}
.policy-container h2 {
  text-align: left !important;
  font-size: 1.4rem;
}

.policy-container h3 {
  text-align: left;
  font-size: 1.2rem;
  margin-top: 40px;
  margin-bottom: 20px;
}

.policy-container p {
  margin-bottom: 16px;
}

.policy-container ul {
  margin: 0 0 16px 20px;
}

.policy-container li {
  margin-bottom: 8px;
}

/* FOOTER CUSTOM SECTION */
.footer-custom-section {
  width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.footer-custom-section .footer-cta {
  position: relative;
  width: 100%;
  padding: 60px 20px;
  box-sizing: border-box;
  background-image: linear-gradient(
      90deg, 
      rgba(22, 29, 41, 0.95) 0%,   /* Fondo oscuro a la izquierda */
      rgba(22, 29, 41, 0.65) 100%  /* Más transparente sobre la laptop */
    ), 
    url('/img/manicomputerfooter.avif');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.footer-custom-section .footer-content {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-custom-section .footer-title {
  color: #ffffff !important;
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 12px 0;
}
.footer-custom-section .footer-description {
  color: #cbd5e1 !important;
  font-size: 15px;
  line-height: 1.5;
  max-width: 800px;
  margin: 0 0 28px 0;
}

.footer-custom-section .footer-form {
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 700px;
}

.footer-custom-section .footer-form > div {
  flex: 0 0 100%;
}

.footer-custom-section .footer-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  padding: 12px 18px;
  font-size: 14px;
  color: #ffffff;
  outline: none;
}

.footer-custom-section .footer-input::placeholder {
  color: #94a3b8;
}

.footer-custom-section .footer-button {
  background-color: #ffffff;
  color: #0f172a;
  border: none;
  border-radius: 4px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.footer-custom-section .footer-bottom {
  background-color: #0b111a;
  padding: 18px 20px;
  text-align: center;
  font-size: 12px;
  color: #8c9ba5;
}

.footer-custom-section .footer-bottom p {
  margin: 0 0 8px 0;
}

.footer-custom-section .footer-links a {
  color: #8c9ba5;
  text-decoration: none;
  margin: 0 6px;
}

.footer-custom-section .footer-links a:hover {
  color: #ffffff;
}

/* FOOTER MINIMALE DE SISI TARIFFE */
.st-footer-bottom {
  background: #0b1220;
  padding: 24px 0;
  text-align: center;
  color: #9ca3af;
  font-size: 0.85rem;
}

.st-footer-bottom a:hover {
  color: #ffffff;
}
.st-footer-bottom span {
  margin: 0 6px;
}

/* MEDIA QUERIES RESPONSIVE */
@media (max-width: 640px) {
  .st-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .policy-container {
    margin: 20px 10px;
    padding: 20px 15px;
  }
}

/* ==========================================
   HEADER Y MENÚ HAMBURGUESA RESPONSIVE
   ========================================== */

/* Estructura base del Header */
.st-header-inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  position: relative;
}

.st-logo img {
  height: 38px;
  width: auto;
  display: block;
}

/* Menú de navegación en escritorio */
.st-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  font-weight: 600;
  margin-left: auto;
}

.st-nav a {
  position: relative;
  padding-bottom: 2px;
  color: inherit;
  text-decoration: none;
}

.st-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary-dark, #0a4689);
  transition: width 0.25s ease;
}

.st-nav a:hover::after {
  width: 100%;
}

/* Botón Hamburguesa (oculto en pantallas grandes) */
.st-burger-toggle {
  display: none;
  background: transparent;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  cursor: pointer;
  padding: 8px 10px;
  flex-direction: column;
  gap: 4px;
  z-index: 1000;
}

.st-burger-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--primary-dark, #0a4689);
  border-radius: 2px;
}

/* ==========================================
   ADAPTACIÓN PARA MÓVILES Y TABLETS (< 768px)
   ========================================== */
@media (max-width: 767px) {
  /* Forzar que logo y botón estén alineados en la misma fila horizontal */
  .st-header-inner {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  /* Mostrar el botón hamburguesa */
  .st-burger-toggle {
    display: flex !important;
  }

  /* Ocultar el menú horizontal y convertirlo en menú desplegable */
  .st-nav {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 12px 0 !important;
    border-top: 1px solid #eaeaea !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
    z-index: 999 !important;
  }

  /* Clase que activa el menú desplegable desde el JS onclick */
  .st-nav.active {
    display: flex !important;
  }

  .st-nav a {
    padding: 12px 0 !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    border-bottom: 1px solid #f3f4f6 !important;
  }

  .st-nav a:last-child {
    border-bottom: none !important;
  }
}

/* ==========================================
   ESTILO EXACTO DE ENCABEZADOS Y BADGES
   ========================================== */
/* Estilos para el contenedor del artículo y tipografía */
.st-article {
  background: #ffffff;
  padding: 60px;
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 10px solid #e5e7eb;
}

.st-article section {
  margin-bottom: 32px;
}

/* Encabezados con insignia circular numerada */
.st-section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.st-section-heading h2 {
font-size: 1.3rem !important;
  font-weight: 700 !important;
  color: #0a4689 !important; /* Azul oscuro */
  line-height: 1.3 !important;
  margin: 0 !important;
}

/* El círculo con el número */
.st-badge {
background-color: #eff6ff !important; /* Fondo azul suave */
  color: #0a4689 !important;            /* Texto azul oscuro */
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;

}

/* Estilo del texto del párrafo */
.st-article section p {
  color: #111827;
  line-height: 1.7;
  font-size: 0.98rem;
  text-align: left; /* Evita el justificado antiguo */
}
