/* Info / legal pages (Privacy, Terms, About) */

.info-page-body {
  background: #f5f7fb;
  min-height: 100vh;
  --primary: #2babe2;
  --primary-dark: #1f96c7;
  --primary-soft: rgba(43, 171, 226, 0.14);
  --navy: #193664;
}

.info-header {
  background: #fff;
  padding: 14px 0;
  border-bottom: 1px solid #e8ecf2;
  box-shadow: 0 8px 24px rgba(25, 54, 100, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.info-header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.info-brand img {
  display: block;
  height: 32px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.info-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid #d7deea;
  border-radius: 8px;
  background: #fff;
  color: #193664;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.info-back-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.info-back-link:hover,
.info-back-link:focus {
  background: #f0f8fc;
  border-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
}

.info-top-nav {
  display: none;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  margin-right: 12px;
}

.info-top-nav a {
  color: #193664;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.info-top-nav a:hover,
.info-top-nav a[aria-current="page"] {
  color: var(--primary);
}

@media (min-width: 768px) {
  .info-top-nav {
    display: flex;
  }
}

/* Contact form / page */
.contact-page {
  background:
    radial-gradient(circle at top right, rgba(43, 171, 226, 0.14), transparent 42%),
    linear-gradient(180deg, #eef8fc 0%, #f7fbfd 40%, #f5f7fb 100%);
}

.contact-hero {
  padding: 42px 0 18px;
}

.contact-eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-hero h1 {
  margin: 0 0 12px;
  color: #193664;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.contact-hero-text {
  margin: 0;
  max-width: 620px;
  color: #5b667a;
  font-size: 17px;
  line-height: 1.7;
}

.contact-main {
  padding-top: 20px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.2fr);
  gap: 24px;
  align-items: start;
}

.contact-side-panel,
.contact-form-panel {
  background: #fff;
  border: 1px solid #e6ecf5;
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(25, 54, 100, 0.07);
}

.contact-side-panel {
  padding: 28px;
  background:
    linear-gradient(165deg, #163a5c 0%, #1f8fc4 55%, #2babe2 100%);
  color: #fff;
  border: 0;
}

.contact-side-panel h2,
.contact-side-panel h3 {
  color: #fff;
  margin: 0 0 10px;
}

.contact-side-panel > p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.65;
}

.contact-info-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 16px;
}

.contact-info-list li {
  display: flex;
  gap: 14px;
  align-items: center;
}

.contact-info-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.contact-info-icon i {
  display: block;
  font-size: 16px;
  line-height: 1;
  width: 16px;
  height: 16px;
  text-align: center;
  color: #fff;
}

.contact-info-text {
  flex: 1;
  min-width: 0;
  padding-top: 1px;
}

.contact-info-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 4px;
  color: #fff;
}

.contact-info-text span {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.8);
}

.contact-help-box {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 22px;
}

.contact-help-box h3 {
  font-size: 15px;
  margin-bottom: 10px;
}

.contact-help-box ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  line-height: 1.7;
}

.contact-social h3 {
  font-size: 15px;
  margin-bottom: 12px;
}

.contact-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-social-links a:hover,
.contact-social-links a:focus {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
  color: #fff;
}

.contact-form-panel {
  padding: 32px 34px;
}

.contact-form-head {
  margin-bottom: 22px;
}

.contact-form-head h2 {
  margin: 0 0 8px;
  color: #193664;
  font-size: 26px;
}

.contact-form-head p {
  margin: 0;
  color: #667085;
  line-height: 1.6;
}

.contact-form {
  max-width: none;
}

.contact-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form .form-row {
  margin-bottom: 16px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #193664;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d7deea;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  color: #333;
  background: #fbfcfe;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(43, 171, 226, 0.18);
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form-status {
  margin: 0 0 14px;
  font-size: 14px;
}

.contact-form-status.is-error {
  color: #c0392b;
}

.contact-form-status.is-success {
  color: #1e7a46;
}

.contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.contact-submit:hover,
.contact-submit:focus {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.contact-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.contact-form-note {
  color: #7a8699;
  font-size: 13px;
}

@media (max-width: 991px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .contact-hero {
    padding-top: 28px;
  }

  .contact-hero h1 {
    font-size: 30px;
  }

  .contact-form-panel {
    padding: 24px 20px;
  }

  .contact-side-panel {
    padding: 22px 18px;
  }

  .contact-form .form-grid {
    grid-template-columns: 1fr;
  }
}

.info-main {
  padding: 48px 0 72px;
}

.info-card {
  background: #fff;
  border-radius: 12px;
  padding: 36px 40px;
  box-shadow: 0 8px 28px rgba(25, 54, 100, 0.08);
}

.info-card h1 {
  color: #193664;
  font-size: 32px;
  line-height: 1.25;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.info-seo-intro {
  margin: 0 0 20px;
  color: #5b667a;
  font-size: 15px;
  line-height: 1.7;
  max-width: 46rem;
}

.info-status {
  color: #666;
  font-size: 15px;
  margin-bottom: 12px;
}

.info-status.is-error {
  color: #c0392b;
}

.info-content {
  color: #444;
  font-size: 16px;
  line-height: 1.75;
  word-wrap: break-word;
}

.info-content h1,
.info-content h2,
.info-content h3,
.info-content h4 {
  color: #193664;
  margin-top: 1.25em;
}

.info-content p {
  margin-bottom: 1em;
}

.info-content ul,
.info-content ol {
  margin: 0 0 1em 1.25em;
}

.info-content a {
  color: var(--primary);
}

.info-content img {
  max-width: 100%;
  height: auto;
}

/* Footer with legal links */
.footer-section .footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  text-align: left;
}

.footer-section .footer-row > p {
  margin: 0;
  flex: 1 1 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.02em;
  opacity: 0.9;
}

.footer-links a:hover,
.footer-links a:focus {
  opacity: 1;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .info-header {
    padding: 12px 0;
  }

  .info-brand img {
    height: 28px;
    max-width: 130px;
  }

  .info-back-link {
    padding: 8px 12px;
    font-size: 12px;
  }

  .info-card {
    padding: 24px 20px;
  }

  .info-card h1 {
    font-size: 24px;
  }

  .footer-section .footer-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}
