:root {
  --gold: #d99a15;
  --bg: #0e0e0e;
  --text-muted: #b5b5b5;
  --siperil-orange: #d89b12;
  --siperil-yellow: #f2c24b;
  --siperil-dark: #111111;
  --siperil-muted: #5b5b5b;
  --siperil-bg: #f7f7f7;
}

html {
  scroll-behavior: smooth;
}

.siperil-body {
  background-color: var(--siperil-bg);
  color: var(--siperil-dark);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.public-landing {
  overflow-x: hidden;
}

.main-content {
  padding-top: 80px;
}

.public-landing .main-content {
  padding-top: 0;
}

.auth-main {
  min-height: 100vh;
}

.auth-page .main-content {
  padding-top: 0;
}

.siperil-navbar {
  background: #0f0f0f;
  border-bottom: 3px solid var(--siperil-yellow);
}

.siperil-navbar-public {
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0;
  box-shadow: none;
}

.siperil-nav-main {
  background: #fff;
  border-bottom: 2px solid var(--siperil-yellow);
  padding: 0.45rem 1.5rem 0.45rem 0;
}

.siperil-navbar .siperil-nav-main .navbar-brand {
  margin-left: 2rem;
}

/* Texto negro en la barra blanca del nav (enlaces, badge, botón) */
.siperil-navbar .siperil-nav-main .nav-link {
  color: #1a1a1a;
}

.siperil-navbar .siperil-nav-main .nav-link:hover,
.siperil-navbar .siperil-nav-main .nav-link.active {
  color: var(--siperil-orange);
}

.siperil-navbar .siperil-nav-main .text-white {
  color: #1a1a1a !important;
}

.siperil-navbar .siperil-nav-main .badge.text-bg-warning {
  color: #1a1a1a !important;
}

.siperil-navbar .siperil-nav-main .navbar-user-info {
  margin-left: 4rem;
}

.siperil-navbar .siperil-nav-main .btn-siperil {
  color: #1a1a1a;
  margin-left: 2rem !important;
  margin-right: 0.5rem !important;
}

.siperil-navbar .siperil-nav-main .navbar-toggler {
  border-color: rgba(26, 26, 26, 0.3);
  color: #1a1a1a;
}

.siperil-navbar .siperil-nav-main .navbar-toggler-icon {
  filter: invert(1);
}

.siperil-navbar-public .siperil-nav-main {
  background: transparent;
  border-bottom: none;
  padding: 0.55rem 0;
  max-width: 1200px;
}

.siperil-navbar-public .navbar-brand {
  margin-left: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.siperil-navbar-public .navbar-brand-text {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.92rem;
}

.siperil-navbar-public .navbar-brand:focus-visible .navbar-brand-text {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.siperil-navbar-public .navbar-nav {
  gap: 2rem;
}

.siperil-navbar.siperil-navbar-public .siperil-nav-main .nav-link {
  color: #c9c9c9;
  font-size: 15px;
  font-weight: 500;
  padding: 0.4rem 0;
  position: relative;
}

.siperil-navbar.siperil-navbar-public .siperil-nav-main .nav-link.active,
.siperil-navbar.siperil-navbar-public .siperil-nav-main .nav-link:hover,
.siperil-navbar.siperil-navbar-public .siperil-nav-main .nav-link:focus-visible {
  color: #ffffff;
}

.siperil-navbar.siperil-navbar-public .siperil-nav-main .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.15rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.siperil-navbar.siperil-navbar-public .siperil-nav-main .nav-link:hover::after,
.siperil-navbar.siperil-navbar-public .siperil-nav-main .nav-link:focus-visible::after,
.siperil-navbar.siperil-navbar-public .siperil-nav-main .nav-link.active::after {
  transform: scaleX(1);
}

.siperil-navbar-public .btn-siperil {
  background: var(--gold);
  border-color: var(--gold);
  color: #111;
  border-radius: 999px;
  padding: 0.5rem 1.35rem;
}

.siperil-navbar-public .btn-siperil-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #c9c9c9;
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  font-weight: 500;
  font-size: 0.84rem;
}

.siperil-navbar-public .btn-siperil-outline:hover,
.siperil-navbar-public .btn-siperil-outline:focus-visible {
  border-color: rgba(217, 154, 21, 0.55);
  color: #ffffff;
  background: transparent;
}

.siperil-navbar-public .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.35);
}

.siperil-navbar-public .navbar-toggler-icon {
  filter: invert(1) brightness(2);
}

.siperil-navbar-public .btn-siperil:focus-visible,
.siperil-navbar-public .btn-siperil-outline:focus-visible,
.hero-btn-primary:focus-visible,
.hero-btn-secondary:focus-visible {
  outline: 2px solid #d99a15;
  outline-offset: 3px;
}

.navbar-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 14px;
  padding: 8px 12px;
}

.navbar-logo {
  height: 76px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
}

.navbar-brand-text {
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #1a1a1a;
  font-size: 1.15rem;
}

@media (max-width: 991px) {
  .navbar-logo {
    height: 52px;
    max-width: 180px;
  }
}

.nav-link {
  font-weight: 500;
}

.nav-link.active,
.nav-link:hover {
  color: var(--siperil-yellow);
}

.btn-siperil {
  background: var(--siperil-yellow);
  border-color: var(--siperil-yellow);
  color: #1a1a1a;
  font-weight: 600;
}

.btn-siperil:hover,
.btn-siperil:focus {
  background: var(--siperil-orange);
  border-color: var(--siperil-orange);
  color: #1a1a1a;
}

.btn-siperil-outline {
  border: 1px solid var(--siperil-yellow);
  color: var(--siperil-yellow);
  font-weight: 600;
}

.btn-siperil-outline:hover,
.btn-siperil-outline:focus {
  background: var(--siperil-yellow);
  color: #1a1a1a;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.page-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.page-subtitle {
  color: var(--siperil-muted);
  margin-bottom: 0;
}

.card-siperil {
  border: 1px solid #f2f2f2;
  box-shadow: 0 10px 30px rgba(31, 31, 31, 0.06);
}

.card-siperil .card-header {
  background: var(--siperil-dark);
  color: #fff;
  font-weight: 600;
}

.card-siperil .card-title {
  font-weight: 700;
}

.table-siperil thead th {
  background: var(--siperil-dark);
  color: #fff;
  border-color: var(--siperil-dark);
}

.table-siperil tbody tr:hover {
  background-color: rgba(247, 201, 72, 0.08);
}

.progress-hero {
  background: linear-gradient(120deg, rgba(31, 31, 31, 0.98), rgba(31, 31, 31, 0.9));
  border-radius: 18px;
  padding: 2.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 18px 32px rgba(31, 31, 31, 0.2);
}

.progress-page {
  padding: 2.5rem 0 3rem;
}

.progress-hero-content {
  max-width: 520px;
}

.progress-hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 1.5rem;
  min-width: 260px;
}

.progress-hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.progress-hero-stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 0.85rem 1.25rem;
  min-width: 120px;
  text-align: center;
}

.progress-hero-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.35rem;
}

.progress-hero-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.progress-card {
  background: #fff;
  border: 1px solid #f2f2f2;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(31, 31, 31, 0.06);
  overflow: hidden;
}

.progress-card-header {
  padding: 1.5rem 1.75rem;
  border-bottom: 1px solid rgba(31, 31, 31, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.progress-card-title {
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.progress-card-subtitle {
  color: var(--siperil-muted);
  margin-bottom: 0;
}

.progress-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.progress-card-body {
  padding: 0;
}

.progress-table thead th {
  background: var(--siperil-dark);
  color: #fff;
  border-color: var(--siperil-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
}

.progress-table tbody tr:hover {
  background-color: rgba(243, 156, 18, 0.08);
}

.progress-table td,
.progress-table th {
  padding: 1rem 1.25rem;
}

.progress-count {
  color: var(--siperil-muted);
  font-weight: 600;
}

.progress-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.progress-siperil {
  height: 8px;
  flex: 1;
  background: rgba(243, 156, 18, 0.15);
  border-radius: 999px;
}

.progress-siperil .progress-bar {
  background: var(--siperil-yellow);
}

.progress-percent {
  font-weight: 600;
  color: var(--siperil-muted);
  min-width: 48px;
  text-align: right;
}

.progress-card .badge-soft {
  font-size: 0.75rem;
}

@media (max-width: 991px) {
  .progress-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .progress-hero-card {
    width: 100%;
  }

  .progress-hero-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .progress-hero {
    padding: 2rem 1.5rem;
  }

  .progress-hero-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.badge-siperil {
  background: var(--siperil-orange);
  color: #111111;
  font-weight: 600;
}

.form-label {
  font-weight: 600;
}

.form-control,
.form-select {
  border-radius: 0.5rem;
}

.alert {
  border-radius: 0.75rem;
}

.quick-card {
  border: 1px solid rgba(243, 156, 18, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(31, 31, 31, 0.08);
}

.dashboard-hero {
  background: linear-gradient(120deg, rgba(31, 31, 31, 0.98), rgba(31, 31, 31, 0.9));
  border-radius: 18px;
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 18px 32px rgba(31, 31, 31, 0.2);
}

.dashboard-hero-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.auth-layout {
  background: #0f0f0f;
  min-height: 100vh;
}

.auth-hero {
  background: radial-gradient(circle at top, rgba(243, 156, 18, 0.25), transparent 45%),
    linear-gradient(135deg, rgba(31, 31, 31, 0.98), rgba(31, 31, 31, 0.9));
  padding: 5rem 4.5rem;
  position: relative;
}

.auth-hero-content {
  max-width: 620px;
}

.brand-logo {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--siperil-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--siperil-dark);
  font-size: 1.5rem;
  box-shadow: 0 10px 20px rgba(243, 156, 18, 0.35);
}

.brand-logo-sm {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--siperil-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--siperil-dark);
}

.brand-title {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.brand-tagline {
  color: var(--siperil-yellow);
  font-size: 0.95rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1.25rem;
  color: #fff;
  height: 100%;
}

.feature-card i {
  font-size: 1.5rem;
  color: var(--siperil-yellow);
}

.feature-card h5 {
  margin-top: 0.75rem;
  font-weight: 600;
}

.feature-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.auth-hero-footer {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.auth-panel {
  background: #f8f9fa;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 2.5rem;
}

.auth-panel-inner {
  width: 100%;
  max-width: 420px;
}

.auth-panel-note {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--siperil-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.auth-panel-note i {
  color: var(--siperil-orange);
}

.card .btn-siperil {
  box-shadow: 0 8px 16px rgba(243, 156, 18, 0.2);
}

.login-layout {
  background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.login-nav {
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(17, 17, 17, 0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}

.login-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 2.5rem;
}

.login-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.login-nav-logo {
  height: 72px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.12));
}

.login-brand-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
}

.login-brand-title {
  color: #111111;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.login-brand-subtitle {
  color: var(--siperil-orange);
  font-size: 0.85rem;
  font-weight: 600;
}

.login-nav-links {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
}

.login-nav-link {
  color: #1b1b1b;
  text-decoration: none;
  font-weight: 500;
}

.login-nav-link:hover,
.login-nav-link:focus {
  color: var(--siperil-orange);
}

.login-hero {
  background: radial-gradient(circle at 20% 20%, rgba(216, 155, 18, 0.18), transparent 50%),
    linear-gradient(160deg, #34495e 0%, #2c3e50 50%, #1e2a36 100%);
  min-height: calc(100vh - 72px);
  padding: 4.5rem 4.25rem;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.login-hero-content {
  max-width: 620px;
}

.login-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(216, 155, 18, 0.45);
  background: rgba(216, 155, 18, 0.12);
  color: var(--siperil-yellow);
  font-weight: 600;
  font-size: 0.85rem;
}

.login-title {
  font-size: clamp(2.4rem, 4.3vw, 3.6rem);
  font-weight: 700;
  margin: 1.2rem 0 0.75rem;
}

.login-title-accent {
  display: block;
  color: var(--siperil-orange);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.login-subtitle {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  max-width: 520px;
}

.login-stats-card {
  background: rgba(52, 73, 94, 0.6);
  border: 1px solid rgba(216, 155, 18, 0.28);
  border-radius: 18px;
  padding: 1.6rem;
  margin-top: 2rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  max-width: 520px;
}

.login-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem 1.25rem;
}

.login-stat-value {
  color: var(--siperil-orange);
  font-weight: 700;
  font-size: 1.45rem;
}

.login-stat-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.login-hero-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  margin-top: 1.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.login-hero-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.login-hero-item i {
  color: var(--siperil-orange);
  font-size: 1rem;
}

.login-panel {
  background: #ffffff;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.5rem 2.75rem 2rem;
}

.login-panel-inner {
  width: 100%;
  max-width: 430px;
}

.login-card {
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 22px;
  padding: 2.1rem;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.08);
  overflow: visible;
}

.login-card-header {
  text-align: center;
  margin-bottom: 1.5rem;
  overflow: visible;
}

.login-card-logo {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto 1.15rem;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.12));
}

.login-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(216, 155, 18, 0.14);
  color: var(--siperil-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.2rem;
}


.login-card-title {
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.login-card-subtitle {
  color: var(--siperil-muted);
  margin-bottom: 0;
}

.login-form-group {
  margin-bottom: 1rem;
}

.login-input-group .input-group-text {
  background: #f3f4f6;
  border-color: #e3e6ea;
  color: #6c6f75;
  padding: 0.72rem 0.85rem;
}

.login-input-group .form-control {
  border-color: #e3e6ea;
  padding: 0.72rem 0.9rem;
}

.login-input-group .input-group-text+.form-control {
  border-left: 0;
}

.login-input-group .form-control+.input-group-text {
  border-left: 0;
}

.input-group-text-muted {
  background: #f3f4f6;
}

.login-form-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1rem 0 1.5rem;
  font-size: 0.9rem;
}

.login-link {
  color: var(--siperil-orange);
  text-decoration: none;
  font-weight: 600;
}

.login-link:hover,
.login-link:focus {
  color: var(--siperil-orange);
  text-decoration: underline;
}

.login-submit {
  background: var(--siperil-orange);
  border: 1px solid var(--siperil-orange);
  color: #1a1a1a;
  border-radius: 999px;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 10px 20px rgba(243, 156, 18, 0.25);
}

.login-submit:hover,
.login-submit:focus {
  background: var(--siperil-yellow);
  border-color: var(--siperil-yellow);
  color: #1a1a1a;
}

.login-divider {
  text-align: center;
  position: relative;
  margin: 1.5rem 0;
  color: #9a9a9a;
  font-size: 0.85rem;
  font-weight: 600;
}

.login-divider::before,
.login-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: rgba(17, 17, 17, 0.12);
}

.login-divider::before {
  left: 0;
}

.login-divider::after {
  right: 0;
}

.login-divider span {
  background: #ffffff;
  padding: 0 0.75rem;
  position: relative;
  z-index: 1;
}

.login-secondary-btn {
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.12);
  color: #1a1a1a;
  border-radius: 999px;
  font-weight: 600;
  padding: 0.7rem 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.login-secondary-btn i {
  color: var(--siperil-orange);
}

.login-note {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--siperil-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.login-note i {
  color: var(--siperil-orange);
}

@media (max-width: 991px) {
  .login-nav-inner {
    padding: 0.85rem 1.5rem;
  }

  .login-hero,
  .login-panel {
    min-height: auto;
  }

  .login-hero {
    padding: 3.5rem 2.5rem;
  }

  .login-panel {
    padding: 3rem 2.25rem;
  }
}

@media (max-width: 767px) {
  .login-nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .login-nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .login-hero {
    padding: 3rem 1.5rem;
  }

  .login-panel {
    padding: 2.5rem 1.5rem 3rem;
  }

  .login-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.badge-soft {
  background: rgba(243, 156, 18, 0.15);
  color: var(--siperil-dark);
  font-weight: 600;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
}

.table-actions .btn {
  min-width: 76px;
}

.detail-label {
  margin-bottom: 0.25rem;
  color: var(--siperil-muted);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.detail-value {
  margin-bottom: 0;
  font-weight: 600;
}

.form-section {
  padding: 1.25rem;
  border-radius: 14px;
  background: #f8f9fa;
  margin-bottom: 1.5rem;
}

.section-title {
  font-weight: 700;
  margin-bottom: 1rem;
}

.module-card {
  border: 1px solid rgba(31, 31, 31, 0.08);
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #fff;
}

.landing-page {
  background: #fff;
}

.landing-hero {
  padding: calc(72px + 120px) 0 120px;
  background:
    radial-gradient(ellipse 55% 70% at 82% 42%, rgba(217, 154, 21, 0.08) 0%, rgba(14, 14, 14, 0) 68%),
    var(--bg);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.landing-hero > .container {
  max-width: 1200px;
}

.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 5rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.hero-logo-col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-col::before {
  content: "";
  position: absolute;
  inset: -12% -8%;
  background: radial-gradient(ellipse at center, rgba(217, 154, 21, 0.1) 0%, rgba(217, 154, 21, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.landing-logo {
  margin-bottom: 1.25rem;
}

.hero-brand-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(217, 154, 21, 0.25);
  border-radius: 24px;
  padding: 1.75rem;
}

.hero-brand-frame::before,
.hero-brand-frame::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--gold);
  border-style: solid;
  pointer-events: none;
}

.hero-brand-frame::before {
  top: 14px;
  left: 14px;
  border-width: 2px 0 0 2px;
}

.hero-brand-frame::after {
  right: 14px;
  bottom: 14px;
  border-width: 0 2px 2px 0;
}

.hero-brand-plate {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
  display: block;
}

.landing-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--siperil-orange);
  font-weight: 600;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(216, 155, 18, 0.45);
  background: rgba(216, 155, 18, 0.12);
  color: var(--siperil-yellow);
  font-weight: 600;
  font-size: 0.85rem;
}

.hero-pill i {
  font-size: 0.9rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1.75rem;
}

.hero-title-accent {
  display: block;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-subtitle::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
  flex: 0 0 32px;
}

.landing-subtitle {
  font-size: 1.08rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.125rem;
  font-weight: 400;
  max-width: 54ch;
  line-height: 1.7;
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.hero-btn-primary {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: #111;
  border-radius: 999px;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-btn-primary i {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.hero-btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
  border-radius: 999px;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
}

.hero-btn-secondary:hover,
.hero-btn-secondary:focus-visible {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.5rem;
  margin-top: 2rem;
  color: #bdbdbd;
  font-weight: 400;
  font-size: 0.82rem;
}

.hero-check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-check i {
  color: #d99a15;
  font-size: 0.9rem;
}

.hero-stats-card {
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 40px 5.5rem 8px 0;
  box-shadow: none;
  max-width: none;
  margin-left: 0;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.hero-stat {
  padding: 0 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat:first-child {
  padding-left: 0;
}

.hero-stat:last-child {
  border-right: 0;
  padding-right: 0;
}

.hero-stat-value {
  font-size: 40px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}

.hero-stat-label {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 0.35rem;
}

.hero-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 2rem;
  border-top: 4px solid var(--siperil-yellow);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.2);
  color: var(--siperil-dark);
}

.landing-section {
  padding: 4.5rem 0;
  scroll-margin-top: 96px;
}

.landing-page > .landing-section:first-of-type {
  border-top: 1px solid rgba(217, 154, 21, 0.28);
}

.landing-section-alt {
  background: #f1f2f3;
}

.why-title {
  font-style: italic;
}

.why-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.why-stat {
  padding: 0 1.25rem;
}

.why-stat:first-child {
  padding-left: 0;
}

.why-stat:not(:first-child) {
  border-left: 1px solid rgba(31, 31, 31, 0.12);
}

.why-stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--siperil-orange);
}

.why-stat-label {
  color: var(--siperil-muted);
  font-size: 0.9rem;
}

.why-card {
  background: #f7f5f2;
  border: 1px solid rgba(216, 155, 18, 0.18);
  border-radius: 16px;
  padding: 1.4rem;
  height: 100%;
  box-shadow: 0 8px 18px rgba(31, 31, 31, 0.06);
}

.why-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(216, 155, 18, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--siperil-orange);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.why-card h6 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.why-card p {
  color: var(--siperil-muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.section-title {
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--siperil-muted);
}

.section-text {
  color: var(--siperil-muted);
  margin-bottom: 1.25rem;
}

.landing-card {
  border: 1px solid rgba(31, 31, 31, 0.08);
  border-radius: 18px;
  padding: 2rem;
  background: #fff;
  box-shadow: 0 12px 28px rgba(31, 31, 31, 0.06);
}

.landing-list {
  padding-left: 1.2rem;
  margin: 0;
  color: var(--siperil-muted);
}

.landing-list li {
  margin-bottom: 0.75rem;
}

.landing-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(243, 156, 18, 0.12);
  color: var(--siperil-dark);
  font-weight: 600;
}

.landing-service-card {
  height: 100%;
  border: 1px solid rgba(31, 31, 31, 0.08);
  border-radius: 16px;
  padding: 1.75rem;
  background: #fff;
  box-shadow: 0 10px 20px rgba(31, 31, 31, 0.05);
  text-align: left;
}

.landing-service-card i {
  font-size: 1.6rem;
  color: var(--siperil-orange);
}

.landing-service-card h5 {
  margin-top: 1rem;
  font-weight: 600;
}

.landing-service-card p {
  color: var(--siperil-muted);
  margin-bottom: 0;
}

.landing-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(243, 156, 18, 0.12);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  color: var(--siperil-dark);
}

.landing-bullets {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.landing-bullets li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--siperil-dark);
}

.landing-bullets li::before {
  content: "•";
  color: var(--siperil-yellow);
  font-size: 1.4rem;
  line-height: 1;
}

.landing-section-dark {
  background: #0f0f0f;
  color: #fff;
}

.landing-section-dark .section-title,
.landing-section-dark .section-text {
  color: #fff;
}

.landing-section-dark .landing-contact {
  color: rgba(255, 255, 255, 0.78);
}

.location-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.location-address {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: #fff;
  margin-bottom: 1rem;
}

.location-address i {
  color: var(--siperil-yellow);
  font-size: 1.15rem;
  margin-top: 0.15rem;
}

.location-address strong {
  display: block;
  font-weight: 700;
}

.location-address span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}

.location-btn {
  background: var(--siperil-yellow);
  border: 1px solid var(--siperil-yellow);
  color: #1a1a1a;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.location-btn i {
  font-size: 0.85rem;
}

.map-embed {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #e8eaed;
  aspect-ratio: 16 / 9;
  min-height: 280px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.landing-footer {
  padding: 2.75rem 0 2.1rem;
  background: #ffffff;
  color: var(--siperil-muted);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-branding {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-brand-title {
  font-weight: 700;
  color: var(--siperil-dark);
}

.footer-brand-subtitle {
  color: var(--siperil-yellow);
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-contact {
  display: grid;
  gap: 0.6rem;
  text-align: right;
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--siperil-orange);
  margin-right: 0.6rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.4rem;
  margin-top: 1.5rem;
}

.footer-nav a {
  color: var(--siperil-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-nav a:hover,
.footer-nav a:focus {
  color: var(--siperil-orange);
}

.footer-divider {
  margin: 1.75rem 0 1.25rem;
  height: 1px;
  background: rgba(31, 31, 31, 0.12);
}

.footer-bottom-text {
  text-align: center;
  color: var(--siperil-muted);
  font-size: 0.85rem;
}

@media (max-width: 767px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .footer-contact {
    text-align: left;
  }
}

@media (max-width: 991px) {
  .siperil-nav-main {
    padding: 0.6rem 0;
  }

  .landing-hero {
    padding: calc(64px + 4.5rem) 0 5.5rem;
  }

  .hero-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-brand-frame {
    max-width: none;
    margin: 0;
    padding: 1.25rem;
  }

  .hero-brand-plate {
    padding: 1.5rem;
  }

  .siperil-navbar-public .navbar-nav {
    gap: 0.35rem;
  }

  .siperil-navbar-public .navbar-brand-text {
    font-size: 0.88rem;
  }

  .hero-copy-col {
    text-align: left;
  }

  .hero-stats-card {
    margin-left: 0;
    padding: 2rem 0 4.5rem;
  }

  .hero-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1rem;
  }

  .hero-stat {
    padding: 0;
    border-right: 0;
  }
}

@media (max-width: 991px) {
  .siperil-navbar-public .navbar-actions {
    width: 100%;
    flex-wrap: wrap;
    margin-top: 0.75rem;
  }

  .siperil-navbar-public .navbar-actions .btn {
    flex: 1 1 auto;
  }
}

@media (max-width: 767px) {
  .hero-actions {
    width: 100%;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-stats-card {
    max-width: 100%;
    padding-bottom: 5rem;
  }

  .hero-stat-value {
    font-size: 2rem;
  }

  .why-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .why-stat {
    padding: 0;
  }

  .why-stat:not(:first-child) {
    border-left: none;
  }

  .location-card {
    padding: 1.25rem;
  }
}

.external-verifier-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1.5rem 3rem;
}

.external-verifier-wrapper {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.external-verifier-brand {
  text-align: center;
}

.external-verifier-brand-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--siperil-yellow);
  color: var(--siperil-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 10px 20px rgba(243, 156, 18, 0.28);
}

.external-verifier-brand-text {
  margin-top: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #111111;
}

.external-verifier-card {
  width: 100%;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 16px 30px rgba(17, 17, 17, 0.08);
  padding: 2rem 2rem 1.85rem;
}

.external-verifier-card-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.external-verifier-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(243, 156, 18, 0.16);
  color: var(--siperil-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin: 0 auto 0.75rem;
}

.external-verifier-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #111111;
}

.external-verifier-subtitle {
  margin-bottom: 0;
  color: var(--siperil-muted);
  font-size: 0.95rem;
}

.external-verifier-alert {
  margin-bottom: 1.25rem;
}

.external-verifier-form {
  display: grid;
  gap: 1rem;
}

.external-verifier-field {
  display: grid;
  gap: 0.45rem;
}

.external-verifier-label {
  font-weight: 600;
  color: #1a1a1a;
}

.external-verifier-input-group .input-group-text {
  background: #f3f4f6;
  border-color: #e3e6ea;
  color: #6c6f75;
  padding: 0.72rem 0.85rem;
}

.external-verifier-input-group .input-group-text+.form-control {
  border-left: 0;
}

.external-verifier-input-group .form-control+.input-group-text {
  border-left: 0;
}

.external-verifier-input {
  border-color: #e3e6ea;
  padding: 0.72rem 0.9rem;
}

.external-verifier-input::placeholder {
  color: #9aa0a6;
}

.external-verifier-addon-muted {
  background: #f3f4f6;
}

.external-verifier-submit {
  width: 100%;
  background: var(--siperil-yellow);
  border: 1px solid var(--siperil-yellow);
  color: #1a1a1a;
  border-radius: 12px;
  font-weight: 700;
  padding: 0.75rem 1rem;
  box-shadow: 0 10px 20px rgba(243, 156, 18, 0.2);
}

.external-verifier-submit:hover,
.external-verifier-submit:focus {
  background: var(--siperil-orange);
  border-color: var(--siperil-orange);
  color: #1a1a1a;
}

.external-verifier-footer {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.92rem;
}

.external-verifier-link {
  color: var(--siperil-orange);
  text-decoration: none;
  font-weight: 600;
}

.external-verifier-link:hover,
.external-verifier-link:focus {
  color: var(--siperil-orange);
  text-decoration: underline;
}

.external-verifier-note {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--siperil-muted);
  font-size: 0.9rem;
}

.external-verifier-note i {
  color: var(--siperil-orange);
}

@media (max-width: 575px) {
  .external-verifier-card {
    padding: 1.75rem 1.5rem 1.6rem;
  }
}

.cap-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(216, 155, 18, 0.12), transparent 42%),
    linear-gradient(180deg, #f7f5f1 0%, #efebe4 100%);
}

.cap-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.cap-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.7rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(216, 155, 18, 0.14);
  color: #8a5a00;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cap-lead {
  max-width: 540px;
}

.cap-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cap-pills span {
  border: 1px solid rgba(31, 31, 31, 0.12);
  background: #fff;
  color: #3a3a3a;
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.cap-gallery {
  background: #121212;
  border-radius: 24px;
  padding: 0.7rem;
  box-shadow: 0 24px 50px rgba(18, 18, 18, 0.18);
  border: 1px solid rgba(216, 155, 18, 0.22);
}

.cap-gallery .carousel {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

.cap-slide {
  height: min(68vh, 620px);
  object-fit: cover;
  object-position: center;
}

.cap-slide--portrait {
  object-position: center 18%;
}

.cap-gallery .carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 35%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
}

.cap-caption {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.4rem;
  z-index: 2;
  color: #fff;
  max-width: 560px;
  text-align: left;
}

.cap-caption-kicker {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  background: var(--siperil-orange);
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cap-caption h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.cap-caption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
}

.cap-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #1a1a1a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.cap-nav:hover,
.cap-nav:focus {
  background: var(--siperil-orange);
  color: #1a1a1a;
}

.cap-nav-prev {
  left: 1rem;
}

.cap-nav-next {
  right: 1rem;
}

.cap-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.7rem 0.15rem 0.15rem;
}

.cap-kicker-dark {
  background: rgba(216, 155, 18, 0.18);
  color: var(--siperil-yellow);
}

.cap-pills-dark span {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.88);
}

.alturas-section {
  background: #111111;
  color: #fff;
}

.alturas-section .section-title,
.alturas-section .section-text {
  color: #fff;
}

.alturas-section .section-text {
  color: rgba(255, 255, 255, 0.72);
}

.alturas-bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
}

.alturas-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #1c1c1c;
}

.alturas-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.alturas-card--wide {
  grid-column: span 3;
  height: 340px;
}

.alturas-card--tall {
  grid-column: span 2;
  height: 460px;
}

.alturas-card--tall img {
  object-position: center 18%;
}

.alturas-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 1.15rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
  color: #fff;
}

.alturas-card figcaption strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.alturas-card figcaption span {
  display: block;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.82);
}

.alturas-card:hover img,
.alturas-card:focus-within img {
  transform: scale(1.04);
}

.cap-thumb {
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  background: #2a2a2a;
  aspect-ratio: 1.35 / 1;
  opacity: 0.62;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cap-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cap-thumb.is-active,
.cap-thumb:hover,
.cap-thumb:focus {
  opacity: 1;
  border-color: var(--siperil-orange);
  transform: translateY(-1px);
}

@media (max-width: 991px) {
  .cap-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .cap-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cap-slide {
    height: 420px;
  }

  .alturas-card--wide,
  .alturas-card--tall {
    grid-column: span 6;
    height: 300px;
  }
}

@media (max-width: 575px) {
  .cap-gallery {
    padding: 0.45rem;
    border-radius: 18px;
  }

  .cap-slide {
    height: 300px;
  }

  .cap-caption {
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .cap-caption p {
    display: none;
  }

  .cap-nav {
    width: 38px;
    height: 38px;
  }

  .cap-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .alturas-card figcaption span {
    display: none;
  }
}

.legal-section {
  background:
    radial-gradient(circle at 88% 12%, rgba(37, 211, 102, 0.12), transparent 36%),
    linear-gradient(180deg, #f7f5f1 0%, #eee8dc 100%);
}

.legal-panel {
  background: #fff;
  border: 1px solid rgba(31, 31, 31, 0.08);
  border-radius: 24px;
  padding: 2.2rem 2rem;
  box-shadow: 0 20px 44px rgba(31, 31, 31, 0.08);
}

.legal-intro {
  margin-bottom: 1.6rem;
  max-width: 760px;
}

.legal-lead {
  max-width: 680px;
}

.legal-lawyer {
  height: 100%;
  border: 1px solid rgba(31, 31, 31, 0.08);
  border-radius: 18px;
  padding: 1.4rem 1.35rem 1.3rem;
  background: linear-gradient(180deg, #fffdf8 0%, #f7f3ea 100%);
}

.legal-lawyer-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(216, 155, 18, 0.16);
  color: var(--siperil-orange);
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}

.legal-lawyer-role {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a5a00;
}

.legal-lawyer h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.legal-lawyer p {
  margin: 0;
  color: var(--siperil-muted);
}

.legal-cta {
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(31, 31, 31, 0.08);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
}

.legal-cta h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.legal-cta p {
  margin-bottom: 0.75rem;
  color: var(--siperil-muted);
}

.legal-points {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.4rem;
}

.legal-points li {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 0.75rem;
  color: #3d3d3d;
  font-weight: 500;
}

.legal-points i {
  color: #1fa855;
  font-size: 1.15rem;
  margin-top: 0.1rem;
}

.legal-whatsapp-btn {
  background: #25d366;
  border: 1px solid #25d366;
  color: #083b1d;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.8rem 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.legal-whatsapp-btn:hover,
.legal-whatsapp-btn:focus {
  background: #1fb855;
  border-color: #1fb855;
  color: #083b1d;
}

.legal-note {
  margin: 0.8rem 0 0;
  color: var(--siperil-muted);
  font-size: 0.88rem;
}

.legal-chat {
  background: #efeae2;
  border-radius: 20px;
  padding: 1rem 1rem 1.15rem;
  box-shadow: inset 0 0 0 1px rgba(31, 31, 31, 0.06);
}

.legal-chat-bar {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #075e54;
  color: #fff;
  border-radius: 14px;
  padding: 0.7rem 0.85rem;
  margin-bottom: 1rem;
}

.legal-chat-bar small {
  display: block;
  opacity: 0.78;
  font-size: 0.75rem;
}

.legal-chat-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 0 6px rgba(37, 211, 102, 0.2);
}

.legal-bubble {
  max-width: 86%;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
  line-height: 1.4;
}

.legal-bubble-in {
  background: #fff;
  color: #1c1c1c;
  border-bottom-left-radius: 4px;
}

.legal-bubble-out {
  background: #d9fdd3;
  color: #1c1c1c;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.legal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.legal-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(31, 31, 31, 0.12);
  color: #1c1c1c;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
}

.legal-chip:hover,
.legal-chip:focus {
  border-color: #25d366;
  color: #075e54;
  background: #f3fff7;
}

.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1080;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.28);
  text-decoration: none;
}

.whatsapp-fab:hover,
.whatsapp-fab:focus {
  color: #fff;
  background: #1fb855;
}

.whatsapp-fab:focus-visible {
  outline: 2px solid #d99a15;
  outline-offset: 3px;
}

.whatsapp-fab-pulse {
  display: none;
}

.whatsapp-fab-tip {
  position: absolute;
  right: 68px;
  white-space: nowrap;
  background: #111;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.whatsapp-fab:hover .whatsapp-fab-tip,
.whatsapp-fab:focus-visible .whatsapp-fab-tip {
  opacity: 1;
  visibility: visible;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

@media (max-width: 575px) {
  .legal-panel {
    padding: 1.4rem 1.1rem;
  }

  .legal-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .whatsapp-fab-tip {
    display: none;
  }
}
/* Flujo de recuperación de contraseña - Estilo SIPERIL */
/* Páginas: new (olvidaste contraseña) y edit (crear nueva contraseña) */

.reset-container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f5f6f8;
  padding: 20px;
  box-sizing: border-box;
}

.reset-card {
  width: 420px;
  max-width: 100%;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
  box-sizing: border-box;
}

.reset-logo {
  margin-bottom: 24px;
}

.reset-logo-img {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
  margin: 0 auto;
}

.reset-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.reset-description {
  font-size: 14px;
  color: #666;
  margin-bottom: 25px;
  line-height: 1.5;
}

.reset-errors {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  text-align: left;
}

.reset-errors ul {
  margin: 0;
  padding-left: 20px;
  color: #b91c1c;
  font-size: 14px;
}

.reset-input-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.reset-input-wrap:focus-within {
  border-color: #f5b301;
  box-shadow: 0 0 0 3px rgba(245, 179, 1, 0.15);
}

.reset-input-wrap .reset-input {
  flex: 1;
  margin-bottom: 0;
  border: none;
  border-radius: 8px 0 0 8px;
  min-width: 0;
}

.reset-input-wrap .reset-input:focus {
  box-shadow: none;
  outline: none;
}

.reset-password-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  background: #f9fafb;
  border: none;
  border-left: 1px solid #ddd;
  border-radius: 0 8px 8px 0;
  color: #6b7280;
  cursor: pointer;
  font-size: 1.1rem;
  transition: color 0.2s, background 0.2s;
}

.reset-password-toggle:hover {
  color: #f5b301;
  background: #f3f4f6;
}

.reset-input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.reset-input:focus {
  outline: none;
  border-color: #f5b301;
  box-shadow: 0 0 0 3px rgba(245, 179, 1, 0.15);
}

.reset-input::placeholder {
  color: #9ca3af;
}

.reset-button {
  width: 100%;
  padding: 12px 16px;
  background: #f5b301;
  color: #1a1a1a;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
}

.reset-button:hover {
  background: #e0a200;
}

.reset-button:active {
  background: #c98f00;
}

.reset-notice {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  color: #065f46;
  font-size: 14px;
}

.reset-links-sep {
  margin: 0 8px;
  color: #9ca3af;
}

.reset-link-form {
  display: inline;
}

.reset-link-as-button {
  background: none;
  border: none;
  color: #f5b301;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  font-family: inherit;
}

.reset-link-as-button:hover {
  color: #e0a200;
}

.reset-links {
  margin-top: 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}

.reset-link {
  color: #f5b301;
  text-decoration: none;
  font-weight: 500;
}

.reset-link:hover {
  text-decoration: underline;
  color: #e0a200;
}

/* Mobile: card al 90% del ancho */
@media (max-width: 480px) {
  .reset-card {
    width: 90%;
    padding: 28px 24px;
  }

  .reset-title {
    font-size: 22px;
  }

  .reset-description {
    font-size: 13px;
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
