/* =========================
   VARIABLES (equivalente Tailwind)
========================= */

:root {
  --background: rgba(255, 255, 255, 0.85);
  --border: rgba(0, 0, 0, 0.08);
  --foreground: #1f2937;
  --muted: #6b7280;
  --primary: #252C61;
}

/* =========================
   HEADER
========================= */

.custom-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: var(--background);
  border-bottom: 1px solid var(--border);
}

/* altura equivalente h-20 */
.header-inner {
  min-height: 80px;
}

/* =========================
   LOGO
========================= */

.logo-img {
  height: 75px;
  object-fit: contain;
}

.logo-text {
  line-height: 1.1;
}

.logo-top {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin: 0;
}

.logo-bottom {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

/* =========================
   BOTONES
========================= */

.btn-ghost {
  background: transparent;
  border: none;
  color: var(--foreground);
  opacity: 0.8;
}

.btn-ghost:hover {
  opacity: 1;
}

/* =========================
   MENU MOBILE
========================= */

.menu-toggle {
  border: none;
  background: transparent;
  font-size: 22px;
  color: var(--foreground);
}

/* oculto por defecto */
.nav-mobile {
  display: none;
  border-top: 1px solid var(--border);
  background: white;
}

/* cuando abre */
.nav-mobile.open {
  display: block;
}

/* Asegura que el nav desktop SI se vea */
.nav-desktop {
  display: flex;
}

/* Bootstrap override */
@media (max-width: 767px) {
  .nav-desktop {
    display: none !important;
  }
}
/* ----------------------------------------------------------------------------------------------------------- */
/* CONTENEDOR */
.hero {
  position: relative;
  overflow: hidden;
  color: white;
}

/* FONDO */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    hsl(213 65% 12% / 0.35) 0%,
    hsl(213 75% 8% / 0.85) 100%
  );
}

/* CRÉDITO DE FOTO */
.hero-credit {
  position: absolute;
  right: 1rem;
  bottom: 0.5rem;
  z-index: 2;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  color: #fff;
  opacity: 0.6;
  text-shadow: 0 1px 2px rgb(0 0 0 / 0.6);
  pointer-events: none;
}

/* CONTENIDO */
.hero-content {
  position: relative;
  padding-top: 4rem;
  padding-bottom: 5rem;
}

@media (min-width: 576px) {
  .hero-content {
    padding-top: 6rem;
  }
}

@media (min-width: 992px) {
  .hero-content {
    padding-top: 8rem;
    padding-bottom: 7rem;
  }
}

.hero-inner {
  max-width: 700px;
}

/* BADGE */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(6px);
  font-size: 12px;
  text-transform: uppercase;
}

/* TITULO */
.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.05;
  margin-top: 20px;
}

.hero-title span {
  display: block;
  color: var(--color-verde);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.8rem;
  }
}

@media (min-width: 992px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

/* TEXTO */
.hero-text {
  margin-top: 20px;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
}

/* BOTONES */
.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 576px) {
  .hero-actions {
    flex-direction: row;
  }
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, #A59F49, #8b863d);
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
  color: white;

}

.btn-cta:hover {
  transform: scale(1.03);
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: white;
  backdrop-filter: blur(6px);
  text-decoration: none;
}

/* ALERTA */
.hero-alert {
  margin-top: 30px;
  display: flex;
  gap: 10px;
  padding: 15px;
  border-radius: 10px;
  background: rgba(0, 123, 255, 0.15);
  border: 1px solid rgba(0, 123, 255, 0.4);
  backdrop-filter: blur(6px);
  font-size: 0.9rem;
}


/* ----------------------------------------------------------------------------------------------------------- */
/* Header */
.quick-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 8px;
}

.quick-title {
  font-size: 2.2rem;
  font-weight: 700;
}

.quick-subtitle {
  margin-top: 10px;
  color: #6c757d;
}

/* Card */
.quick-card {
  display: block;
  position: relative;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #dee2e6;
  background: white;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  height: 100%;
}

/* Hover */
.quick-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Icono */
.quick-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(13, 110, 253, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: 0.25s;
}

.quick-card:hover .quick-icon {
  background: var(--primary);
  color: white;
}

/* Título */
.quick-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

/* Texto */
.quick-card p {
  margin-top: 6px;
  font-size: 0.9rem;
  color: #6c757d;
}

/* Flecha */
.quick-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 18px;
  color: rgba(108, 117, 125, 0.5);
  transition: 0.25s;
}

.quick-card:hover .quick-arrow {
  color: var(--color-cyan)
}
/* ----------------------------------------------------------------------------------------------------------- */
/* contact */

.contact-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-title {
  font-size: 2.2rem;
  font-weight: 700;
}

.contact-text {
  margin-top: 10px;
  color: #6c757d;
}

/* Card (mismo estilo que quick-card) */
.contact-card {
  display: block;
  position: relative;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #dee2e6;
  background: white;
  color: inherit;
  transition: all 0.25s ease;
  height: 100%;
}

/* Hover */
.contact-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Icono (igual lógica que quick) */
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(13, 110, 253, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: 0.25s;
}

.contact-card:hover .contact-icon {
  background: var(--primary);
  color: white;
}

/* Icono interno */
.contact-icon i {
  font-size: 18px;
}

/* Label */
.contact-item-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6c757d;
}

/* Valor */
.contact-item-value {
  margin-top: 4px;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Links */
.contact-item-value a {
  text-decoration: none;
  color: inherit;
}

.contact-item-value a:hover {
  text-decoration: underline;
}

/* Detalle */
.contact-item-detail {
  margin-top: 4px;
  font-size: 0.9rem;
  color: #6c757d;
}

/* ----------------------------------------------------------------------------------------------------------- */
/* Sección */
.developed-by-section {
  padding: 60px 0;
  background: rgba(0,0,0,0.03);
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* Wrapper */
.developed-by-wrapper {
  max-width: 555px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;

  text-align: center;
}

/* Desktop layout */
@media (min-width: 576px) {
  .developed-by-wrapper {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 30px;
  }
}

/* Icono */
.developed-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(13, 110, 253, 0.08);
  color: var(--primary);

  border: 1px solid rgba(13, 110, 253, 0.15);
}

.developed-icon i {
  font-size: 22px;
}

/* Contenido */
.developed-content {
  flex: 1;
}

/* Label */
.developed-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #6c757d;
}

/* Título */
.developed-title {
  margin-top: 5px;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
}

/* Texto */
.developed-text {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #6c757d;
  max-width: 500px;
}

/* Divider */
.developed-divider {
  width: 1px;
  height: 60px;
  background: #dee2e6;
}

/* Extra */
.developed-extra {
  font-size: 0.8rem;
  color: #6c757d;
  max-width: 180px;
}
/* ----------------------------------------------------------------------------------------------------------- */
/* Fondo */
.footer {
  background: var(--primary);
  color: white;
}

/* Logo */
.footer-logo {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: rgba(255,255,255,0.95);
  padding: 4px;
}

/* Eyebrow */
.footer-eyebrow {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-cyan);
  margin-bottom: 2px;
}

/* Título */
.footer-title {
  font-size: 1rem;
  font-weight: 700;
}

/* Descripción */
.footer-desc {
  margin-top: 15px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  max-width: 300px;
}

/* Headings */
.footer-heading {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-cyan);
  margin-bottom: 10px;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  transition: 0.2s;
}

.footer-links a:hover {
  color: var(--color-cyan);
}

/* Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  padding: 15px 0;
}
/* Texto "powered by" */
.footer-powered {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
}

/* Línea inferior (más visible) */
.footer-tech {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
}

/* Destacar la subsecretaría */
.footer-powered strong,
.footer-tech strong {
  color: var(--color-cyan);
  font-weight: 600;
}
/* BLOQUE DEV */
.footer-dev {
  margin-top: 20px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);

  display: flex;
  gap: 12px;
  align-items: center;
}

/* Ícono */
.footer-dev-icon {
  width: 50px;
  height: 36px;
  border-radius: 8px;
  background: rgba(0, 200, 200, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-dev-icon svg {
  width: 18px;
  height: 18px;
}

/* Textos */
.footer-dev-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-cyan);
}

.footer-dev-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-dev-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}

/* --------------------------------------------------------------------------
   Bloque Subsecretaría de Informática (footer)
   -------------------------------------------------------------------------- */
.footer-ssi {
  border-top: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
}

.footer-ssi-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

@media (min-width: 992px) {
  .footer-ssi-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }
}

/* Marca */
.footer-ssi-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-ssi-logo {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.footer-ssi-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-ssi-titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-ssi-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-cyan);
}

.footer-ssi-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.footer-ssi-org {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}

/* Acciones */
.footer-ssi-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

@media (min-width: 992px) {
  .footer-ssi-links {
    align-items: flex-end;
    text-align: right;
  }
}

.footer-ssi-portal,
.footer-ssi-tech {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  transition: 0.2s;
}

.footer-ssi-portal {
  background: rgba(0, 200, 200, 0.12);
  border: 1px solid rgba(0, 200, 200, 0.35);
}

.footer-ssi-portal:hover {
  background: rgba(0, 200, 200, 0.2);
  color: #fff;
}

.footer-ssi-tech {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
}

.footer-ssi-tech:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.footer-ssi-portal > i,
.footer-ssi-tech > i {
  font-size: 1.3rem;
  color: var(--color-cyan);
}

.footer-ssi-portal > span,
.footer-ssi-tech > span {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  font-weight: 600;
}

.footer-ssi-portal small,
.footer-ssi-tech small {
  font-weight: 400;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
}


/* --------------------------------------------------------------------------
   Lodge
   -------------------------------------------------------------------------- */
/* Sección */
.lodge-section {
  padding: 70px 0;
}

/* Caja principal */
.lodge-box {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 40px;

  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-azul)
  );

  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* Glow decorativo */
.lodge-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
}

.lodge-glow-right {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -100px;
  background: var(--color-cyan);
}

.lodge-glow-left {
  width: 350px;
  height: 350px;
  bottom: -150px;
  left: -100px;
  background: rgba(255,255,255,0.15);
}

/* Badge */
.lodge-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 6px 12px;
  border-radius: 999px;

  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;

  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 15px;
}

/* Título */
.lodge-title {
  font-size: 2rem;
  font-weight: 700;
}

.lodge-title span {
  display: block;
  color: var(--color-cyan);
}

/* Texto */
.lodge-desc {
  margin-top: 15px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  max-width: 500px;
}

/* Botón */
.lodge-btn {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 20px;
  border-radius: 8px;

  background: linear-gradient(
    135deg,
    var(--color-cyan),
    var(--color-verde)
  );

  color: white;
  font-weight: 600;
  text-decoration: none;

  transition: 0.25s;
}

.lodge-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Features */
.lodge-feature {
  display: flex;
  gap: 12px;

  padding: 15px;
  border-radius: 12px;

  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);

  backdrop-filter: blur(6px);
}

/* Icono */
.lodge-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0,200,200,0.2);
  color: #fff;
}

/* Texto feature */
.lodge-feature h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
}

.lodge-feature p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}


/* --------------------------------------------------------------------------
   Home Lodge
   -------------------------------------------------------------------------- */

.btn-primary-custom {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.btn-primary-custom:hover {
    background: #1f2553;
    border-color: #1f2553;
    color: #fff;
}
.icon-primary {
  background: var(--color-primary);
  color: #fff;
}
  .icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.ir-arriba {
  display: none;
  background-repeat: no-repeat;
  font-size: 26px;
  color: var(--color-primary, var(--primary));
  cursor: pointer;
  position: fixed;
  bottom: 15px;
  right: 30px;
  z-index: 2;
}

.ir-arriba:hover {
  color: #767676;
}

.alert-mensaje {
  background-repeat: no-repeat;
  position: fixed;
  bottom: 5px;
  left: 20px;
  font-size: larger;
  z-index: 99;
}