/* ==========================================================================
   Content pages - the sections below use the original inline styles
   (colors/spacing extracted from the live site) for exact visual fidelity.
   This file only adds small resets/utilities the content relies on.
   ========================================================================== */

.content-page {
  font-family: var(--font-base);
}

.content-page section {
  box-sizing: border-box;
}

/* .content-page img {
  max-width: 100%;
  height: auto;
} */

/* .content-page a {
  color: inherit;
} */

.content-page button {
  font-family: inherit;
}

/* --- FAQ accordion --- */
.faq-item {
  border-bottom: 1px solid oklch(90% 0.01 260);
  padding: 20px 0;
  cursor: pointer;
}

.faq-item__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 15.5px;
  gap: 20px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 0;
  color: inherit;
  cursor: pointer;
}

.faq-item__sign {
  font-size: 20px;
  color: #c41230;
  flex: 0 0 auto;
}

.faq-item__answer {
  font-size: 14.5px;
  color: oklch(40% 0.02 260);
  margin-top: 12px;
  line-height: 1.65;
  display: none;
}

.faq-item.is-open .faq-item__answer {
  display: block;
}

/* --- Regime tab picker (Home page) --- */
.regime-tab-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 18px;
  border-radius: 11px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  background: transparent;
  color: oklch(80% 0.02 260);
}

.regime-tab-btn.is-active {
  background: #c41230;
  color: #fff;
}

.regime-tab-panel { display: none; }
.regime-tab-panel.is-active { display: block; }

/* ==========================================================================
   Forms - validation states, submit button, status messages
   ========================================================================== */

.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative; /* anchors .required-mark */
}

.form-input {
  padding: 12px 14px;
  border: 1px solid oklch(88% 0.01 260);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-input:focus {
  outline: none;
  border-color: #c41230;
  box-shadow: 0 0 0 3px oklch(53% 0.23 27 / 0.15);
}

/* All "invalid" styling is driven by JS toggling .is-invalid (see
   js/site.js validateField). The browser's own native constraint-validation
   UI is disabled via novalidate on the <form>, and we additionally strip
   the default UA :invalid/:required outline/box-shadow here so no
   competing "CSS validation" glow can ever appear underneath our own. */
.form-input:invalid,
.form-input:required {
  box-shadow: none;
  outline: none;
}

.form-input.is-invalid {
  border-color: #c71e3a;
  background: oklch(97% 0.02 25);
}

.form-input.is-invalid:focus {
  box-shadow: 0 0 0 3px oklch(55% 0.22 25 / 0.15);
}

.form-error {
  font-size: 12.5px;
  color: #b4112c;
  /* min-height: 15px; */
  display: block;
  opacity: 0;
  transition: opacity 0.12s ease;
}

.form-error.is-visible {
  opacity: 1;
}

/* Required-field marker - a red "*" anchored to the top-right corner of
   the field, independent of placeholder text so it stays visible once
   the visitor starts typing. */
.required-mark {
  position: absolute;
  top: 11px;
  right: 14px;
  color: #c41230;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  pointer-events: none;
}

.required-mark--select {
  right: 34px; /* clears the native <select> dropdown arrow */
}

.btn-submit {
  display: block;
  width: 100%;
  text-align: center;
  background: #3d4970;
  color: #fff;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  margin-top: 16px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, opacity 0.15s;
}

.btn-submit:hover:not(:disabled) { background: #001442; }

.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.form-status {
  font-size: 13.5px;
  margin-top: 10px;
  padding: 0;
  min-height: 18px;
  font-weight: 600;
}

.form-status.is-success { color: oklch(48% 0.16 150); }
.form-status.is-error { color: #b4112c; }
.form-status.is-sending { color: oklch(50% 0.02 260); }

/* Honeypot spam-trap field - invisible to real users, visible to simple bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ==========================================================================
   Responsive overrides for extracted content sections
   The original content uses inline grid/flex layouts (kept for visual
   fidelity to the source design). These rules collapse them to a single
   column on narrower screens so nothing overflows or misorders.
   ========================================================================== */

@media (max-width: 900px) {
  .s-9d351efe,
  .s-9f953816,
  .s-460a3e76,
  .s-42a1973f,
  .s-9031af93,
  .s-352823b0,
  .s-c503fe31,
  .s-d81d395f,
  .s-b4f74f98,
  .s-071b1d21,
  .s-7fa79f7c,
  .s-40650f34,
  .s-a75575c9,
  .s-19cfaf93,
  .s-1d49f369,
  .s-09d56796,
  .s-d449d62a,
  .s-74f19949,
  .s-9edab187,
  .s-92dd74a6,
  .s-58b04935,
  .s-70c0f976,
  .s-d4b2e0ed,
  .s-30448097,
  .s-dd0d661d,
  .s-3bc37772,
  .s-ee59c12c,
  .s-c0496109,
  .s-d1b81ab3,
  .s-c628715a,
  .s-2649fdc8,
  .s-87ffe4ba,
  .s-5ea2e8e6,
  .s-9a8158af,
  .s-b9237117,
  .s-fab0bb67,
  .s-bb9c87ad {
    grid-template-columns: 1fr !important;
  }

  .s-a74d27d5 {
    grid-column: 1 / -1 !important;
  }

  .s-d449d62a,
  .s-92dd74a6,
  .s-2649fdc8 {
    align-items: start !important;
  }

  .content-page section {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

@media (max-width: 640px) {
  .content-page h1 { font-size: 30px !important; }
  .content-page h2 { font-size: 24px !important; }
}
