/* ========== Static pages (about, contact, faq, ...) ========== */
.sp-wrap {
  --sp-dark: #191b1d;
  --sp-gold: #ffb400;
  --sp-gold-soft: #fff4d6;
  --sp-text: #3a3d40;
  --sp-muted: #7a7f85;
  --sp-border: #ececec;
  background: #f5f5f3;
  padding-bottom: 72px;
}

/* ---------- Hero ---------- */
.sp-hero {
  position: relative;
  overflow: hidden;
  background: var(--sp-dark);
  color: #fff;
  padding: 160px 16px 120px;
  text-align: center;
}
.sp-hero::before,
.sp-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.sp-hero::before {
  width: 420px;
  height: 420px;
  top: -220px;
  right: -120px;
  background: radial-gradient(circle, rgba(255, 180, 0, .28), rgba(255, 180, 0, 0) 70%);
}
.sp-hero::after {
  width: 360px;
  height: 360px;
  bottom: -220px;
  left: -100px;
  background: radial-gradient(circle, rgba(255, 180, 0, .18), rgba(255, 180, 0, 0) 70%);
}
.sp-hero > * {
  position: relative;
  z-index: 1;
}
.sp-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  margin-bottom: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50px;
}
.sp-breadcrumb a {
  color: rgba(255, 255, 255, .85) !important;
  text-decoration: none;
  transition: color .2s;
}
.sp-breadcrumb a:hover {
  color: var(--sp-gold) !important;
}
.sp-breadcrumb .sep {
  opacity: .5;
}
.sp-breadcrumb .current {
  color: var(--sp-gold);
}
.sp-hero h1 {
  margin: 0;
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  line-height: 1.5;
}
.sp-hero h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 4px;
  background: var(--sp-gold);
}
.sp-hero p {
  max-width: 640px;
  margin: 16px auto 0;
  font-size: 15px;
  line-height: 2;
  color: rgba(255, 255, 255, .72);
}

/* ---------- Card that overlaps the hero ---------- */
.sp-body {
  position: relative;
  z-index: 2;
  margin-top: -80px;
}
.sp-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(25, 27, 29, .08);
  padding: 44px 48px;
}
.sp-card + .sp-card {
  margin-top: 24px;
}
.sp-cover {
  margin: -12px -12px 36px;
  border-radius: 16px;
  overflow: hidden;
}
.sp-cover img {
  display: block;
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

/* ---------- Rich text from the CMS ---------- */
.sp-prose {
  font-size: 15.5px;
  line-height: 2.25;
  color: var(--sp-text);
  text-align: justify;
}
.sp-prose > *:last-child {
  margin-bottom: 0;
}
.sp-prose p {
  margin-top: 0 !important;
  margin-bottom: 1.4em !important;
}
.sp-prose > p:first-child {
  font-size: 17px;
  color: var(--sp-dark);
}
.sp-prose strong,
.sp-prose b {
  color: var(--sp-dark);
  font-weight: 700;
  background: linear-gradient(transparent 62%, var(--sp-gold-soft) 62%);
  padding: 0 2px;
}
.sp-prose h2,
.sp-prose h3,
.sp-prose h4 {
  position: relative;
  margin: 1.8em 0 .8em;
  padding-right: 16px;
  font-weight: 800;
  color: var(--sp-dark);
  line-height: 1.7;
}
.sp-prose h2 { font-size: 22px; }
.sp-prose h3 { font-size: 19px; }
.sp-prose h4 { font-size: 17px; }
.sp-prose h2::before,
.sp-prose h3::before,
.sp-prose h4::before {
  content: "";
  position: absolute;
  right: 0;
  top: .35em;
  bottom: .35em;
  width: 4px;
  border-radius: 4px;
  background: var(--sp-gold);
}
.sp-prose a {
  color: #c98d00;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.sp-prose ul {
  list-style: none;
  padding-right: 0;
}
.sp-prose ul li {
  position: relative;
  padding-right: 22px;
  margin-bottom: .5em;
}
.sp-prose ul li::before {
  content: "";
  position: absolute;
  right: 2px;
  top: .95em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sp-gold);
}
.sp-prose ol {
  padding-right: 22px;
}
.sp-prose ol li::marker {
  color: #c98d00;
  font-weight: 700;
}
.sp-prose blockquote {
  margin: 1.6em 0;
  padding: 18px 22px;
  border-right: 4px solid var(--sp-gold);
  border-radius: 12px;
  background: #faf8f2;
  color: var(--sp-dark);
}
.sp-prose img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 14px;
}
.sp-prose table {
  width: 100%;
  margin-bottom: 1.4em !important;
  border-collapse: collapse;
}
.sp-prose th,
.sp-prose td {
  padding: 10px 14px;
  border: 1px solid var(--sp-border);
}
.sp-prose th {
  background: #faf8f2;
}

/* ---------- Contact page ---------- */
.sp-contact {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.sp-info {
  position: relative;
  overflow: hidden;
  background: var(--sp-dark);
  color: #fff;
  border-radius: 22px;
  padding: 36px 28px;
  box-shadow: 0 18px 50px rgba(25, 27, 29, .18);
}
.sp-info::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  left: -120px;
  bottom: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 180, 0, .25), rgba(255, 180, 0, 0) 70%);
  pointer-events: none;
}
.sp-info h2 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.sp-info > p {
  font-size: 13.5px;
  line-height: 2;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 28px;
}
.sp-info-item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.sp-info-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 180, 0, .12);
  color: var(--sp-gold);
}
.sp-info-icon svg {
  width: 20px;
  height: 20px;
}
.sp-info-item small {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 2px;
}
.sp-info-item a,
.sp-info-item span {
  color: #fff !important;
  font-size: 14.5px;
  line-height: 1.9;
  text-decoration: none;
  word-break: break-word;
}
.sp-info-item a:hover {
  color: var(--sp-gold) !important;
}
.sp-info-item a[dir="ltr"] {
  display: inline-block;
}

.sp-form-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--sp-dark);
  margin-bottom: 6px;
}
.sp-form-sub {
  font-size: 13.5px;
  color: var(--sp-muted);
  margin-bottom: 28px;
}
.sp-form .sp-field {
  margin-bottom: 18px;
}
.sp-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--sp-dark);
  margin-bottom: 8px;
}
.sp-form label .req {
  color: #e0a100;
}
.sp-form .form-control,
.sp-form .form-select {
  min-height: 50px;
  padding: 12px 16px;
  font-size: 14px;
  border: 1.5px solid var(--sp-border);
  border-radius: 12px;
  background-color: #fafafa;
  box-shadow: none;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.sp-form .form-select {
  background-position: left 16px center;
  padding-left: 40px;
}
.sp-form textarea.form-control {
  min-height: 190px;
  resize: vertical;
  line-height: 2;
}
.sp-form .form-control:focus,
.sp-form .form-select:focus {
  border-color: var(--sp-gold);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 180, 0, .15);
}
.sp-form .form-control::placeholder {
  color: #b3b6ba;
}

.sp-form .sp-upload {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1.5px dashed #d9d9d9;
  border-radius: 12px;
  background: #fafafa;
  cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.sp-upload:hover {
  border-color: var(--sp-gold);
  background: #fffbef;
}
.sp-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.sp-upload .sp-info-icon {
  background: var(--sp-gold-soft);
  color: #c98d00;
}
.sp-upload strong {
  display: block;
  font-size: 14px;
  color: var(--sp-dark);
}
.sp-upload small {
  font-size: 12px;
  color: var(--sp-muted);
}

.sp-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 200px;
  height: 52px;
  padding: 0 32px;
  font-size: 15px;
  font-weight: 700;
  color: var(--sp-dark);
  background: var(--sp-gold);
  border: 0;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(255, 180, 0, .3);
  transition: transform .2s, box-shadow .2s, background-color .2s;
}
.sp-submit:hover {
  background: #f0a800;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(255, 180, 0, .38);
}
.sp-submit svg {
  width: 18px;
  height: 18px;
  transform: scaleX(-1);
}

/* ---------- Pages list ---------- */
.sp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}
.sp-tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(25, 27, 29, .06);
  text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}
.sp-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(25, 27, 29, .12);
}
.sp-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.sp-tile div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  font-weight: 700;
  color: var(--sp-dark);
}
.sp-tile div span {
  font-size: 13px;
  font-weight: 600;
  color: #c98d00;
}

/* ---------- FAQ ---------- */
.sp-faq-cat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 800;
  color: var(--sp-dark);
  margin: 36px 0 16px;
}
.sp-faq-cat:first-child {
  margin-top: 0;
}
.sp-faq-cat::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--sp-gold);
  transform: rotate(45deg);
}
.sp-faq .accordion-item {
  margin-bottom: 12px;
  border: 1.5px solid var(--sp-border) !important;
  border-radius: 14px !important;
  overflow: hidden;
}
.sp-faq .accordion-button {
  font-size: 15px;
  font-weight: 600;
  padding: 18px 20px;
  color: var(--sp-dark);
  background: #fff;
  line-height: 1.9;
}
.sp-faq .accordion-button:not(.collapsed) {
  color: var(--sp-gold) !important;
  background-color: var(--sp-dark) !important;
}
.sp-faq .accordion-button:not(.collapsed)::after {
  filter: invert(1);
}
.sp-faq .accordion-button p {
  margin: 0;
}
.sp-faq .accordion-body {
  padding: 18px 20px;
  font-size: 14.5px;
  line-height: 2.1;
  color: var(--sp-text);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .sp-contact {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 767.98px) {
  .sp-hero {
    padding: 140px 16px 100px;
  }
  .sp-hero h1 {
    font-size: 26px;
  }
  .sp-card {
    padding: 28px 20px;
    border-radius: 18px;
  }
  .sp-cover {
    margin: -8px -4px 24px;
  }
  .sp-prose {
    font-size: 15px;
    line-height: 2.1;
  }
  .sp-submit {
    width: 100%;
  }
}
