:root {
  --ink: #0d2331;
  --ink-2: #173847;
  --paper: #f7faf8;
  --paper-2: #fffaf1;
  --muted: #5d6f76;
  --line: #d9e3e1;
  --brand: #1f8f82;
  --brand-dark: #12665d;
  --blue: #315f9f;
  --amber: #c98216;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

a {
  color: var(--brand-dark);
}

a:hover {
  color: var(--ink);
}

.site-nav {
  background: #0b1c27;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0;
}

.navbar-nav .nav-link {
  font-size: 0.93rem;
  font-weight: 600;
}

.navbar-nav .nav-link.active {
  color: #8be3d4;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  background: var(--ink);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 18, 27, 0.85), rgba(7, 18, 27, 0.58), rgba(7, 18, 27, 0.18));
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.min-vh-hero {
  min-height: 680px;
  padding: 6rem 0;
}

.hero h1,
.page-header h1 {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 0.98;
  font-weight: 800;
  max-width: 13ch;
  overflow-wrap: anywhere;
}

.lead {
  max-width: 46rem;
  color: inherit;
  opacity: 0.92;
}

.eyebrow {
  color: #8be3d4;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--brand-dark);
}

.btn {
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0;
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.btn-brand:hover,
.btn-brand:focus {
  color: #fff;
  background: var(--brand-dark);
  border-color: var(--brand-dark);
}

.section-pad {
  padding: 5.5rem 0;
}

.section-band {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, #e8f1ed, var(--paper-2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  font-weight: 800;
}

.section-copy {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(13, 35, 49, 0.08);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.service-card-body {
  padding: 1.5rem;
}

.service-card h2,
.service-card h3,
.compact-heading {
  font-size: 1.35rem;
  font-weight: 800;
}

.service-card a:not(.btn) {
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18rem;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
}

.cta-panel.light {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 38px rgba(13, 35, 49, 0.07);
}

.cta-panel h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  font-weight: 800;
}

.page-header {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  color: #fff;
  background: var(--ink);
}

.image-page-header {
  min-height: 520px;
  display: flex;
  align-items: center;
}

.image-page-header > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 18, 27, 0.88), rgba(7, 18, 27, 0.64), rgba(7, 18, 27, 0.22));
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.feature-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(13, 35, 49, 0.12);
}

.section-rule {
  margin: 4rem 0;
  border-color: var(--line);
  opacity: 1;
}

.check-list {
  padding-left: 1.2rem;
  color: var(--ink-2);
  line-height: 1.9;
}

.check-list li::marker {
  color: var(--brand);
}

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

.info-tile,
.contact-tile,
.availability-box,
.split-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 1.5rem;
  box-shadow: 0 18px 38px rgba(13, 35, 49, 0.07);
}

.info-tile h3,
.split-card h2 {
  font-size: 1.2rem;
  font-weight: 800;
}

.info-tile p,
.split-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.split-card {
  min-height: 220px;
}

.split-card a {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 800;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.metric {
  display: block;
  color: var(--brand-dark);
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.contact-tile {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 180px;
}

.contact-label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-tile a,
.contact-tile address {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
}

.site-footer {
  padding: 1.6rem 0;
  color: rgba(255, 255, 255, 0.78);
  background: #0b1c27;
}

.product-card .btn {
  width: 100%;
}

.price {
  color: var(--amber);
  font-size: 1.4rem;
  font-weight: 800;
}

.support-header {
  min-height: 420px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(7, 18, 27, 0.9), rgba(18, 102, 93, 0.72)),
    url("../img/services-growth.jpg") center / cover;
}

.compact-support-header {
  min-height: 340px;
}

.board-panel {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(13, 35, 49, 0.07);
}

.board-panel h2 {
  font-weight: 800;
}

.board-heading-row {
  margin-bottom: 1rem;
}

.topic-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.topic-row h3 {
  margin-bottom: 0.35rem;
  font-size: 1.2rem;
  font-weight: 800;
}

.board-meta,
.board-date,
.board-note {
  color: var(--muted);
}

.board-meta,
.board-date {
  font-size: 0.92rem;
}

.board-body {
  margin-top: 1rem;
  color: var(--ink-2);
  line-height: 1.75;
}

.board-body p:last-child {
  margin-bottom: 0;
}

.reply-item {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.board-back {
  display: inline-block;
  margin-bottom: 1rem;
  font-weight: 800;
}

.board-form .btn,
.board-form .form-control {
  width: 100%;
}

.external-auth-group {
  display: grid;
  gap: 0.75rem;
}

.external-auth-button {
  width: 100%;
  font-weight: 700;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
  margin: 1.4rem 0;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.auth-divider-compact {
  margin-top: 0;
}

.captcha-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: #f8fbfd;
}

.captcha-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.captcha-refresh {
  font-size: 0.92rem;
  font-weight: 700;
}

.captcha-image {
  display: block;
  width: 180px;
  max-width: 100%;
  height: 58px;
  margin-top: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

@media (max-width: 767.98px) {
  .hero,
  .min-vh-hero {
    min-height: 620px;
  }

  .hero-content .row {
    --bs-gutter-x: 0;
  }

  .hero h1,
  .page-header h1 {
    font-size: 2.1rem;
    max-width: 100%;
  }

  .section-title {
    font-size: 1.75rem;
    line-height: 1.12;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero .lead {
    font-size: 1.05rem;
    line-height: 1.55;
    max-width: 100%;
  }

  .section-copy {
    font-size: 1rem;
    max-width: 100%;
  }

  .hero .btn {
    width: 100%;
    max-width: 100%;
  }

  .section-pad,
  .section-band {
    padding: 3.5rem 0;
  }

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

  .section-heading-row {
    align-items: stretch;
    flex-direction: column;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .topic-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .captcha-header {
    align-items: flex-start;
    flex-direction: column;
  }
}
