/* ============================================
   FAMILIA DE COLORES "AZUL" - #002947
   ============================================ */

/* ----- Variables CSS ----- */
:root {
  --azul: #002947;
  --azul-rgb: 0, 41, 71;
}

/* ----- Texto ----- */
.text-azul { color: #002947 !important; }
.text-azul-emphasis { color: #001e33 !important; }
.text-azul-50 { color: rgba(0, 41, 71, 0.5) !important; }
.text-azul-75 { color: rgba(0, 41, 71, 0.75) !important; }

/* ----- Fondos ----- */
.bg-azul { background-color: #002947 !important; }
.bg-azul-subtle { background-color: rgba(0, 41, 71, 0.1) !important; }
.bg-azul-light { background-color: #e6eef3 !important; }
.bg-gradient-azul { background: linear-gradient(180deg, #002947 0%, #001e33 100%) !important; }

/* ----- Bordes ----- */
.border-azul { border-color: #002947 !important; }
.border-azul-subtle { border-color: rgba(0, 41, 71, 0.2) !important; }
.border-azul-50 { border-color: rgba(0, 41, 71, 0.5) !important; }

/* ----- Botones Sólidos ----- */
.btn-azul {
  color: #fff !important;
  background-color: #002947 !important;
  border-color: #002947 !important;
}
.btn-azul:hover {
  color: #fff !important;
  background-color: #001e33 !important;
  border-color: #001b2e !important;
}
.btn-azul:focus, .btn-azul.focus {
  color: #fff !important;
  background-color: #001e33 !important;
  border-color: #001b2e !important;
  box-shadow: 0 0 0 0.25rem rgba(0, 41, 71, 0.5) !important;
}
.btn-azul:active, .btn-azul.active, .show > .btn-azul.dropdown-toggle {
  color: #fff !important;
  background-color: #001b2e !important;
  border-color: #00182a !important;
}
.btn-azul:disabled, .btn-azul.disabled {
  color: #fff !important;
  background-color: #002947 !important;
  border-color: #002947 !important;
  opacity: 0.65;
}

/* ----- Botones Outline ----- */
.btn-outline-azul {
  color: #002947 !important;
  border-color: #002947 !important;
  background-color: transparent !important;
}
.btn-outline-azul:hover {
  color: #fff !important;
  background-color: #002947 !important;
  border-color: #002947 !important;
}
.btn-outline-azul:focus, .btn-outline-azul.focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 41, 71, 0.5) !important;
}
.btn-outline-azul:active, .btn-outline-azul.active, .show > .btn-outline-azul.dropdown-toggle {
  color: #fff !important;
  background-color: #002947 !important;
  border-color: #002947 !important;
}
.btn-outline-azul:disabled, .btn-outline-azul.disabled {
  color: #002947 !important;
  background-color: transparent !important;
  opacity: 0.65;
}

/* ----- Enlaces ----- */
.link-azul {
  color: #002947 !important;
  text-decoration: underline !important;
}
.link-azul:hover, .link-azul:focus {
  color: #001e33 !important;
}

/* ----- Alertas ----- */
.alert-azul {
  color: #fff !important;
  background-color: #002947 !important;
  border-color: #002947 !important;
}
.alert-azul .alert-link {
  color: #e6eef3 !important;
  font-weight: 700;
}
.alert-azul-subtle {
  color: #002947 !important;
  background-color: #e6eef3 !important;
  border-color: rgba(0, 41, 71, 0.2) !important;
}

/* ----- Badges ----- */
.badge-azul {
  color: #fff !important;
  background-color: #002947 !important;
}

/* ----- List Group ----- */
.list-group-item-azul {
  color: #fff !important;
  background-color: #002947 !important;
  border-color: #002947 !important;
}
.list-group-item-azul.list-group-item-action:hover,
.list-group-item-azul.list-group-item-action:focus {
  color: #fff !important;
  background-color: #001e33 !important;
}
.list-group-item-azul.list-group-item-action.active {
  color: #fff !important;
  background-color: #002947 !important;
  border-color: #002947 !important;
}

/* ----- Tablas ----- */
.table-azul {
  --bs-table-color: #fff;
  --bs-table-bg: #002947;
  --bs-table-border-color: #335c75;
  --bs-table-striped-bg: #0d3452;
  --bs-table-striped-color: #fff;
  --bs-table-active-bg: #1a3e5b;
  --bs-table-active-color: #fff;
  --bs-table-hover-bg: #143954;
  --bs-table-hover-color: #fff;
}

/* ----- Progress Bars ----- */
.progress-azul { background-color: #002947 !important; }

/* ----- Dropdowns ----- */
.dropdown-menu-azul {
  background-color: #002947 !important;
  border-color: #002947 !important;
}
.dropdown-menu-azul .dropdown-item { color: #fff !important; }
.dropdown-menu-azul .dropdown-item:hover,
.dropdown-menu-azul .dropdown-item:focus { background-color: #001e33 !important; }
.dropdown-menu-azul .dropdown-divider { border-top-color: rgba(255, 255, 255, 0.15) !important; }

/* ----- Pagination ----- */
.page-item-azul .page-link {
  color: #002947 !important;
  background-color: #fff !important;
  border-color: #002947 !important;
}
.page-item-azul.active .page-link {
  color: #fff !important;
  background-color: #002947 !important;
  border-color: #002947 !important;
}
.page-item-azul .page-link:hover { background-color: #e6eef3 !important; }

/* ----- Formularios ----- */
.form-check-input-azul:checked {
  background-color: #002947 !important;
  border-color: #002947 !important;
}
.form-check-input-azul:focus {
  border-color: #002947 !important;
  box-shadow: 0 0 0 0.25rem rgba(0, 41, 71, 0.25) !important;
}
.form-switch-azul .form-check-input:checked {
  background-color: #002947 !important;
  border-color: #002947 !important;
}
.form-range-azul::-webkit-slider-thumb { background-color: #002947 !important; }
.form-range-azul::-moz-range-thumb { background-color: #002947 !important; }

/* ----- Focus Ring ----- */
.focus-ring-azul:focus {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(0, 41, 71, 0.25) !important;
}

/* ============================================
   TEMA AROUND - EXTENSIONES PARA "AZUL"
   ============================================ */

/* ----- Fondos Tenues (faded) ----- */
.bg-faded-azul {
  background-color: rgba(0, 41, 71, 0.09) !important;
}

.bg-faded-azul-dark {
  background-color: rgba(0, 41, 71, 0.15) !important;
}

.bg-faded-azul-light {
  background-color: rgba(0, 41, 71, 0.05) !important;
}

/* ----- Cards con hover effect ----- */
.card-hover-azul {
  transition: all 0.3s ease-in-out;
  border-color: transparent;
}

.card-hover-azul:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 0.75rem 1.25rem -0.25rem rgba(0, 41, 71, 0.2) !important;
  border-color: rgba(0, 41, 71, 0.15) !important;
}

/* ----- Card con borde azul ----- */
.card-azul {
  border-color: #002947 !important;
}

.card-azul .card-header {
  background-color: #002947 !important;
  color: #fff !important;
  border-bottom-color: #002947 !important;
}

.card-azul .card-footer {
  background-color: rgba(0, 41, 71, 0.05) !important;
  border-top-color: rgba(0, 41, 71, 0.2) !important;
}

/* ----- Separadores (hr) ----- */
.hr-azul {
  border-top-color: #002947 !important;
}

.hr-azul-light {
  border-top-color: rgba(0, 41, 71, 0.2) !important;
}

/* ----- Nav Link Style ----- */
.nav-link-style-azul {
  color: #002947 !important;
  font-weight: 500;
  transition: color 0.25s ease-in-out;
}

.nav-link-style-azul:hover,
.nav-link-style-azul.active {
  color: #001e33 !important;
}

/* ----- Pills / Nav con fondo azul ----- */
.nav-pills-azul .nav-link {
  color: #002947 !important;
  background-color: transparent;
  border: 1px solid transparent;
}

.nav-pills-azul .nav-link:hover {
  background-color: rgba(0, 41, 71, 0.1) !important;
}

.nav-pills-azul .nav-link.active,
.nav-pills-azul .show > .nav-link {
  color: #fff !important;
  background-color: #002947 !important;
  border-color: #002947 !important;
}

/* ----- Tabs con borde azul ----- */
.nav-tabs-azul {
  border-bottom-color: rgba(0, 41, 71, 0.2) !important;
}

.nav-tabs-azul .nav-link {
  color: #002947 !important;
  border-color: transparent;
}

.nav-tabs-azul .nav-link:hover {
  border-color: rgba(0, 41, 71, 0.1) !important;
  background-color: rgba(0, 41, 71, 0.05) !important;
}

.nav-tabs-azul .nav-link.active {
  color: #002947 !important;
  background-color: #fff !important;
  border-color: rgba(0, 41, 71, 0.2) !important;
  border-bottom-color: #fff !important;
}

/* ----- Botón Scroll Top ----- */
.btn-scroll-top-azul {
  color: #fff !important;
  background-color: #002947 !important;
  border-color: #002947 !important;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 41, 71, 0.4) !important;
}

.btn-scroll-top-azul:hover {
  background-color: #001e33 !important;
  border-color: #001e33 !important;
}

/* ----- Offcanvas / Sidebar ----- */
.cs-offcanvas-azul {
  background-color: #002947 !important;
}

.cs-offcanvas-azul .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
}

.cs-offcanvas-azul .nav-link:hover,
.cs-offcanvas-azul .nav-link.active {
  color: #fff !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
}

/* ----- Header con fondo azul ----- */
.cs-header-azul {
  background-color: #002947 !important;
}

.cs-header-azul .navbar-brand,
.cs-header-azul .nav-link {
  color: #fff !important;
}

.cs-header-azul .nav-link:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* ----- Footer con fondo azul ----- */
.cs-footer-azul {
  background-color: #002947 !important;
  color: #fff !important;
}

.cs-footer-azul a {
  color: rgba(255, 255, 255, 0.8) !important;
}

.cs-footer-azul a:hover {
  color: #fff !important;
}

/* ----- Subscribe Form ----- */
.cs-subscribe-form-azul .form-control {
  border-color: #002947 !important;
}

.cs-subscribe-form-azul .form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 41, 71, 0.25) !important;
}

.cs-subscribe-form-azul .btn {
  background-color: #002947 !important;
  border-color: #002947 !important;
  color: #fff !important;
}

/* ----- Page Loading ----- */
.cs-page-loading-azul {
  background-color: #002947 !important;
}

/* ----- Sombras con tinte azul ----- */
.shadow-azul {
  box-shadow: 0 0.5rem 1rem rgba(0, 41, 71, 0.15) !important;
}

.shadow-azul-lg {
  box-shadow: 0 1rem 3rem rgba(0, 41, 71, 0.175) !important;
}

.shadow-azul-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 41, 71, 0.075) !important;
}

/* ----- Iconos dentro de círculos ----- */
.icon-circle-azul {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: #002947 !important;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.icon-circle-azul-light {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: rgba(0, 41, 71, 0.1) !important;
  color: #002947 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* ----- Dividers decorativos ----- */
.divider-azul {
  width: 3rem;
  height: 0.125rem;
  background-color: #002947 !important;
  margin: 1rem 0;
}

.divider-azul-center {
  width: 3rem;
  height: 0.125rem;
  background-color: #002947 !important;
  margin: 1rem auto;
}

/* ----- Pricing / Plan cards ----- */
.pricing-card-azul {
  border-top: 4px solid #002947 !important;
}

.pricing-card-azul .pricing-header {
  background-color: rgba(0, 41, 71, 0.05) !important;
}

.pricing-card-azul.featured {
  border: 2px solid #002947 !important;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 41, 71, 0.15) !important;
}

/* ----- Testimonios / Blockquotes ----- */
.blockquote-azul {
  border-left: 4px solid #002947 !important;
  padding-left: 1rem;
}

/* ----- Listas con bullets azules ----- */
.list-azul-bullet li::marker {
  color: #002947 !important;
}

.list-azul-check {
  list-style: none;
  padding-left: 0;
}

.list-azul-check li {
  position: relative;
  padding-left: 1.5rem;
}

.list-azul-check li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #002947 !important;
}

/* ----- Timeline / Steps ----- */
.step-azul .step-number {
  background-color: #002947 !important;
  color: #fff !important;
}

.step-azul .step-line {
  background-color: rgba(0, 41, 71, 0.3) !important;
}

.step-azul.active .step-number {
  box-shadow: 0 0 0 0.25rem rgba(0, 41, 71, 0.25) !important;
}

/* ----- Tooltips y Popovers ----- */
.tooltip-azul .tooltip-inner {
  background-color: #002947 !important;
}

.tooltip-azul .tooltip-arrow::before {
  border-top-color: #002947 !important;
}

/* ----- Modals ----- */
.modal-azul .modal-header {
  background-color: #002947 !important;
  color: #fff !important;
}

.modal-azul .modal-header .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

/* ----- Toast notifications ----- */
.toast-azul {
  background-color: #002947 !important;
  color: #fff !important;
}

/* ----- Spinners ----- */
.spinner-azul {
  color: #002947 !important;
}

/* ----- Placeholder animado (skeleton) ----- */
.placeholder-azul {
  background-color: rgba(0, 41, 71, 0.2) !important;
}

/* ----- Figuras decorativas ----- */
.shape-azul {
  background-color: #002947 !important;
}

.shape-azul-light {
  background-color: rgba(0, 41, 71, 0.1) !important;
}