:root {
  --brand-primary: #0f766e;
  --brand-secondary: #1f2937;
  --brand-primary-soft: rgba(15, 118, 110, 0.1);
  --surface: #ffffff;
  --muted: #64748b;
  --border: #dbe3ea;
  --page-bg: #f5f7fb;
  --border-strong: #cfd6e4;
  --radius: 12px;
  --radius-sm: 8px;
}

body {
  background: var(--page-bg);
  color: #172033;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  font-size: 1rem;
}

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

.brand-hero {
  background: linear-gradient(
    135deg,
    var(--brand-secondary),
    var(--brand-primary)
  );
  color: #fff;
  padding: 28px 0 72px;
}

.topbar,
.brand-contact,
.form-actions {
  display: flex;
  align-items: center;
}

.topbar {
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  width: 190px;
  max-width: 55vw;
  height: auto;
}

.brand-contact {
  gap: 18px;
  flex-wrap: wrap;
}

.brand-contact a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.hero-content {
  padding: 72px 0 16px;
}

.company {
  margin-bottom: 0px;
  background-color: rgba(225, 255, 255, 0.05);
  border: 1px solid rgb(255, 255, 255, 0.25);
}
.company-icon {
  width: 30px;
  height: 30px;
  margin-right: 6px;
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  display: flex;
  margin-right: 10px;
  align-items: center !important;
  justify-content: center !important;
}
.company-icon i {
  font-size: 14px;
}
.company-label {
  font-weight: 400;
  opacity: 0.75;
  display: block;
  text-transform: uppercase;
  font-size: 0.75rem;
  line-height: 0.75rem;
}
.company-value {
  font-weight: 600;
  opacity: 0.95;
  font-size: 0.875rem;
}
h1 {
  font-size: clamp(2rem, 3.5vw, 3.8rem);
  line-height: 1.05;
  margin-bottom: 18px;
}
.fs-7 {
  font-size: 0.85rem;
}
.text-justify {
  text-align: justify;
}

.form-section {
  margin-top: -52px;
  padding-bottom: 56px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  margin-bottom: 30px;
}

.card-header-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.card-header-icon {
  width: 42px;
  height: 42px;
  color: var(--brand-primary);
  background-color: var(--brand-primary-soft);
  border-radius: 12px;
  display: flex;
  align-items: center !important;
  justify-content: center !important;
  margin-right: 12px;
}
.card-header-icon i {
  font-size: 18px;
}

.section-heading {
  border-bottom: 1px solid var(--border);
  margin: 8px 0 22px;
  padding-bottom: 14px;
}

.section-heading h2 {
  font-size: 1.2rem;
  margin: 0 0 4px;
}

.section-heading p,
.section-heading ul,
.recaptcha-note {
  color: var(--muted);
  margin: 0;
}

.form-label {
  font-weight: 600;
  font-size: 0.75rem;
  color: #586475;
  letter-spacing: 0.025rem;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.form-control,
.form-select {
  border-radius: var(--radius);
  min-height: 44px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 0.2rem
    color-mix(in srgb, var(--brand-primary) 18%, transparent);
}

.terms-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  margin-top: 10px;
  padding: 18px;
}

.terms-box .invalid-feedback {
  grid-column: 2;
}

.btn-primary {
  --bs-btn-bg: var(--brand-primary);
  --bs-btn-border-color: var(--brand-primary);
  --bs-btn-hover-bg: var(--brand-secondary);
  --bs-btn-hover-border-color: var(--brand-secondary);
}

.btn-outline-primary {
  --bs-btn-color: var(--brand-primary);
  --bs-btn-border-color: var(--brand-primary);
  --bs-btn-hover-bg: var(--brand-secondary);
  --bs-btn-hover-border-color: var(--brand-secondary);
}

.form-summary {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-radius: 8px;
  color: #9f1239;
  margin-bottom: 24px;
  padding: 14px 16px;
}

.processing-modal {
  align-items: center;
  background: rgba(15, 23, 42, 0.62);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 1080;
}

.processing-modal[hidden] {
  display: none;
}

.processing-dialog {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
  max-width: 420px;
  padding: 32px 28px;
  text-align: center;
  width: min(100%, 420px);
}

.processing-dialog h2 {
  font-size: 1.25rem;
  margin: 18px 0 8px;
}

.processing-dialog p {
  color: var(--muted);
  margin: 0;
}

.processing-spinner {
  animation: processing-spin 0.8s linear infinite;
  border: 4px solid #e2e8f0;
  border-radius: 50%;
  border-top-color: var(--brand-primary);
  height: 54px;
  margin: 0 auto;
  width: 54px;
}

.is-processing-claim {
  overflow: hidden;
}

@keyframes processing-spin {
  to {
    transform: rotate(360deg);
  }
}

.site-footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 24px 0;
}

.error-page {
  align-items: center;
  display: flex;
  min-height: 100vh;
}

@media (max-width: 767px) {
  .brand-contact {
    display: none;
  }

  .hero-content {
    padding-top: 52px;
  }

  .claim-form {
    padding: 22px;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

/* ====== Check / Radio ====== */
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--muted);
  cursor: pointer;
}
.check input {
  margin-top: 3px;
  accent-color: var(--brand-primary);
}
.check--box {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-top: 10px;
  background: #fafbfd;
}
.choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.choice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 14px;
  cursor: pointer;
  transition: all 0.15s;
}
.choice:hover {
  border-color: var(--brand-primary);
}
.choice input {
  margin-top: 4px;
  accent-color: var(--brand-primary);
}
.choice__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.choice__body strong {
  font-size: 14px;
  color: var(--text);
}
.choice__body span {
  font-size: 12.5px;
  color: var(--muted);
}
.choice:has(input:checked) {
  border-color: var(--brand-primary);
  background: var(--brand-primary-soft);
}

textarea::placeholder,
input::placeholder {
  color: var(--muted) !important;
  opacity: 0.85 !important;
  font-size: 0.9rem !important;
}

.btn-claim {
  border-radius: var(--radius);
}

.form-check-input:checked {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.custom-list {
  letter-spacing: 0.03rem;
  text-align: justify;
}
.custom-list li {
  margin-bottom: 12px;
}

.custom-list li ul li {
  margin-bottom: 2px;
}

ol li::marker {
  font-weight: bold !important;
}

.legal {
  letter-spacing: 0.03rem;
  text-align: justify;
}

.full-height-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
}

.error-container {
  min-height: 100vh;
}

.error-code {
  font-size: 8rem;
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1;
}

.error-title {
  font-size: 2rem;
  font-weight: 600;
}

.error-description {
  color: #6c757d;
  max-width: 500px;
  margin: 0 auto;
}
