/* Privacy and Contact pages (Views/Home). */
:root {
  --sp-card: #ffffff;
  --sp-tint: #f5f8fa;
  --sp-line: #e4e6ef;
  --sp-head: #181c32;
  --sp-text: #3f4254;
  --sp-muted: #5e6278;
  --sp-brand: #2f3388;
  --sp-brand-soft: #eef0fa;
  --sp-brand-on: #ffffff;
  --sp-accent: #45a85a;
  --sp-accent-text: #2e7d3f;
  --sp-bar-1: #45a85a;
  --sp-bar-1-opacity: 1;
  --sp-bar-2: #393d96;
  --sp-hero-title: #2f3388;
  --sp-shadow: 0 0 20px rgba(76, 87, 125, 0.04);
  --sp-cta-bg: #2f3388;
  --sp-cta-text: #d9dbf0;
  --sp-cta-item: #3b3f99;
  --sp-cta-icon: #7fd18f;
  --sp-primary-btn: #2f3388;
  --sp-badge-bg: #e8f5eb;
  --sp-badge-text: #1f6b32;
  --sp-alt: #2e7d3f;
  --sp-alt-soft: #e8f5eb;
  --sp-primary-btn-text: #ffffff;
}

html[data-theme="dark"] {
  --sp-card: #1e1e2d;
  --sp-tint: #1b1b29;
  --sp-line: #2b2b40;
  --sp-head: #ffffff;
  --sp-text: #cdcdde;
  --sp-muted: #92929f;
  --sp-brand: #3699ff;
  --sp-brand-soft: #212e48;
  --sp-brand-on: #000000;
  --sp-accent: #3699ff;
  --sp-accent-text: #3699ff;
  --sp-bar-1: #d6d5cb;
  --sp-bar-1-opacity: 0.22;
  --sp-bar-2: #3699ff;
  --sp-hero-title: #ffffff;
  --sp-shadow: none;
  --sp-cta-bg: #1b1b28;
  --sp-cta-text: #a9a9b8;
  --sp-cta-item: #1e1e2d;
  --sp-cta-icon: #3699ff;
  --sp-primary-btn: #3699ff;
  --sp-badge-bg: #212e48;
  --sp-badge-text: #3699ff;
  --sp-alt: #d6d5cb;
  --sp-alt-soft: #2b2b40;
  --sp-primary-btn-text: #000000;
}

/* ---- Page shell ---- */
.sp-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.sp-head h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}
.sp-crumb {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: var(--sp-muted);
}
.sp-crumb a {
  color: var(--sp-muted);
}
.sp-card {
  background: var(--sp-card);
  border-radius: 0.75rem;
  box-shadow: var(--sp-shadow);
}

.sp-hero {
  position: relative;
  overflow: hidden;
  padding: 2.25rem 2.5rem;
  margin-bottom: 1.5rem;
}
.sp-hero::after {
  content: "";
  position: absolute;
  right: 2.5rem;
  top: 50%;
  width: 220px;
  height: 132px;
  transform: translateY(-50%);
  background: url("/assets/media/logos/logo-1.svg") center / contain no-repeat;
  pointer-events: none;
}
.sp-hero-body {
  position: relative;
  max-width: 620px;
}
.sp-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sp-accent-text);
}
.sp-hero h2 {
  margin: 0;
  font-size: 1.875rem;
  line-height: 1.25;
  font-weight: 700;
  color: var(--sp-hero-title);
}
.sp-hero p.sp-lead {
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
  color: var(--sp-muted);
}

.sp-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
}

/* ---- Privacy ---- */
.sp-article {
  flex: 999 1 520px;
  min-width: 0;
  padding: 2.25rem 2.5rem;
  font-size: 0.9375rem;
  color: var(--sp-text);
}
.sp-section {
  margin-bottom: 2rem;
  scroll-margin-top: 1rem;
}
.sp-section h3 {
  margin: 0 0 0.625rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sp-head);
}
.sp-section h3 span {
  color: var(--sp-accent);
}
.sp-section p {
  margin: 0 0 0.625rem;
}
.sp-section ul {
  margin: 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.sp-section li strong {
  color: var(--sp-head);
}
.sp-section a {
  color: var(--sp-brand);
  font-weight: 600;
}
.sp-defs {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
}
.sp-defs > div {
  background: var(--sp-tint);
  border-radius: 0.625rem;
  padding: 1rem 1.125rem;
}
.sp-defs dt {
  margin: 0 0 0.25rem;
  font-weight: 700;
  color: var(--sp-brand);
}
.sp-defs dd {
  margin: 0;
  font-size: 0.875rem;
  color: var(--sp-muted);
}

.sp-cta {
  background: var(--sp-cta-bg);
  color: #ffffff;
  border-radius: 0.75rem;
  padding: 1.625rem 1.75rem;
}
.sp-cta h3 {
  margin: 0 0 0.375rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}
.sp-cta h3 span {
  color: var(--sp-cta-icon);
}
.sp-cta > p {
  margin: 0 0 1.125rem;
  font-size: 0.875rem;
  color: var(--sp-cta-text);
}
.sp-cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}
.sp-cta-item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0.875rem;
  border-radius: 0.5rem;
  background: var(--sp-cta-item);
  color: #ffffff;
  text-decoration: none;
}
.sp-cta-item:hover {
  color: #ffffff;
  filter: brightness(1.1);
}
.sp-cta-item i {
  flex: none;
  font-size: 1.25rem;
  color: var(--sp-cta-icon);
}
.sp-cta-item small {
  display: block;
  font-size: 0.75rem;
  opacity: 0.75;
}
.sp-cta-item b {
  font-weight: 600;
  font-size: 0.875rem;
}

/* ---- Contact ---- */
.sp-form {
  flex: 999 1 520px;
  min-width: 0;
  padding: 2rem 2.25rem;
}
.sp-form h3,
.sp-info h3,
.sp-steps h3 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sp-head);
}
.sp-hint {
  margin: 0 0 1.375rem;
  font-size: 0.8125rem;
  color: var(--sp-muted);
}
.sp-form .form-label {
  font-size: 0.8125rem;
  font-weight: 600;
}
.sp-form .form-control,
.sp-form .form-select {
  min-height: 44px;
}
.sp-consent {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  margin: 1.125rem 0 1.5rem;
  font-size: 0.8125rem;
  color: var(--sp-muted);
}
.sp-consent input {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.125rem;
  accent-color: var(--sp-accent);
}
.sp-consent a {
  color: var(--sp-brand);
  font-weight: 600;
}
.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.375rem;
  border: 0;
  border-radius: 0.375rem;
  background: var(--sp-primary-btn);
  color: var(--sp-primary-btn-text);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.sp-btn:hover {
  color: var(--sp-primary-btn-text);
  filter: brightness(1.1);
}
.sp-btn-soft {
  background: var(--sp-tint);
  color: var(--sp-brand);
}
.sp-btn-soft:hover {
  color: var(--sp-brand);
}
.sp-info {
  flex: 1 1 300px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.sp-info h3 {
  margin: 0;
  font-size: 1.125rem;
}
.sp-row {
  display: flex;
  gap: 0.875rem;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.sp-row-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sp-brand-soft);
  color: var(--sp-brand);
  font-size: 1.25rem;
}
.sp-row small {
  display: block;
  font-size: 0.75rem;
  color: var(--sp-muted);
}
.sp-row b {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--sp-head);
  word-break: break-word;
}
.sp-social {
  display: flex;
  gap: 0.5rem;
}
.sp-steps {
  padding: 1.75rem 2.25rem;
  margin-top: 1.5rem;
}
.sp-steps h3 {
  margin-bottom: 1.125rem;
  font-size: 1.125rem;
}
.sp-steps ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.sp-steps li {
  display: flex;
  gap: 0.875rem;
}
.sp-step-num {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: var(--sp-brand);
  color: var(--sp-brand-on);
}
.sp-steps li p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--sp-muted);
}
.sp-steps li p.sp-step-title {
  margin-bottom: 0.125rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--sp-head);
}

@media (max-width: 767.98px) {
  .sp-hero,
  .sp-article,
  .sp-form,
  .sp-steps {
    padding: 1.5rem 1.25rem;
  }
  .sp-hero::after {
    right: 1rem;
    width: 120px;
    height: 72px;
    opacity: 0.15;
  }
}

.sp-badge {
  margin: 0;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  background: var(--sp-badge-bg);
  color: var(--sp-badge-text);
  font-size: 0.8125rem;
  font-weight: 500;
}
.sp-side {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.sp-side .sp-info {
  flex: none;
}
.sp-row-icon.alt {
  background: var(--sp-alt-soft);
  color: var(--sp-alt);
}
.sp-map {
  height: 260px;
  border-radius: 0.75rem;
  border: 1px solid var(--sp-line);
  background-color: var(--sp-card);
  overflow: hidden;
}
.sp-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.sp-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem 1.125rem;
}
.sp-fields .full {
  grid-column: 1 / -1;
}
.sp-step-num.alt {
  background: var(--sp-accent);
  color: #ffffff;
}
