/* =============================================
   fix-my-site.css
   Drop this in: assets/style/fix-my-site.css
   Requires: assets/style/style.css loaded first
   ============================================= */

/* ── PAGE-WIDE BACKGROUND GRADIENT ───────────── */
/*
   The body starts grey (matching the navbar's white
   sitting on a grey page), then the main content
   area runs one unbroken gradient:
     grey → white (form zone) → grey (bottom strip)
   No section has its own background or border —
   the gradient does all the work invisibly.
*/

/* Extend the grey all the way up behind the navbar */
body {
  background-color: #f1f3f4;
}

.main-content {
  background: linear-gradient(
    to bottom,
    #f1f3f4 0%,
    /* hero top — grey */ #ffffff 22%,
    /* hero fades to white */ #ffffff 70%,
    /* form section — white */ #f1f3f4 100%
      /* reassurance bottom — back to grey */
  );
}

/* Remove the bottom border on the navbar so it
   doesn't cut across the grey→grey transition */
.navbar-header {
  border-bottom: none !important;
}

/* ── HERO ─────────────────────────────────────── */
.fms-hero {
  background: transparent;
  padding: 72px 24px 64px;
  text-align: center;
}

.fms-hero-inner {
  max-width: 680px;
  margin: 0 auto;
}

.fms-hero-title {
  font-size: 42px;
  font-weight: 700;
  color: #202124;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}

@media (min-width: 640px) {
  .fms-hero-title {
    font-size: 52px;
  }
}

.fms-hero-subtitle {
  font-size: 18px;
  color: #5f6368;
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto;
}

/* ── BODY SECTION (form + sidebar) ───────────── */
.fms-body {
  background: transparent;
  padding: 56px 24px 80px;
  border-top: none;
}

.fms-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 767px) {
  .fms-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ── FORM CARD ────────────────────────────────── */
.fms-form-card {
  background-color: #ffffff;
  border: 1px solid #dadce0;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
}

@media (max-width: 767px) {
  .fms-form-card {
    padding: 24px;
  }
}

.fms-card-heading {
  font-size: 20px;
  font-weight: 700;
  color: #202124;
  margin-bottom: 8px;
}

.fms-card-subheading {
  font-size: 14px;
  color: #5f6368;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* ── FORM FIELDS ──────────────────────────────── */
.fms-row-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 13px;
}

.fms-field {
  margin-bottom: 20px;
}

.fms-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #202124;
  margin-bottom: 6px;
}

.fms-label-opt {
  color: #5f6368;
  font-weight: 400;
}

.fms-input,
.fms-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #dadce0;
  border-radius: 8px;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  color: #202124;
  background-color: #ffffff;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.fms-input::placeholder {
  color: #5f6368;
  opacity: 0.8;
}

.fms-input:focus,
.fms-select:focus {
  border-color: #4285f4;
  box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.18);
}

.fms-input.fms-input-error,
.fms-select.fms-input-error {
  border-color: #ea4335 !important;
  box-shadow: none;
}

.fms-textarea {
  resize: vertical;
  min-height: 104px;
}

.fms-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235f6368' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

/* ── SUBMIT BUTTON ────────────────────────────── */
.fms-submit-btn {
  width: 100%;
  background-color: #4285f4;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  margin-top: 8px;
  transition:
    background-color 0.2s,
    opacity 0.2s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.fms-submit-btn:hover:not(:disabled) {
  background-color: #185abc;
}

.fms-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ── FORM ERROR ───────────────────────────────── */
.fms-form-error {
  display: none;
  font-size: 13px;
  color: #ea4335;
  background-color: #fce8e6;
  border: 1px solid rgba(234, 67, 53, 0.2);
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: 12px;
}

/* ── SIDEBAR ──────────────────────────────────── */
.fms-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Steps card — dark blue */
.fms-steps-card {
  background-color: #185abc;
  border-radius: 12px;
  padding: 32px;
  color: #ffffff;
}

.fms-steps-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
}

.fms-steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fms-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.fms-step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background-color: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 2px;
}

.fms-step-heading {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.fms-step-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.fms-steps-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.fms-notice-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
}

.fms-notice-icon svg {
  width: 20px;
  height: 20px;
  stroke: rgba(255, 255, 255, 0.7);
}

.fms-notice-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
}

/* Audit nudge card */
.fms-audit-card {
  background-color: #ffffff;
  border: 1px solid #dadce0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
}

.fms-audit-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #4285f4;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.fms-audit-text {
  font-size: 14px;
  color: #5f6368;
  line-height: 1.6;
  margin-bottom: 16px;
}

.fms-audit-btn {
  font-size: 14px;
  padding: 10px 18px;
}

/* ── SUCCESS STATE ────────────────────────────── */
.fms-success {
  background: transparent;
  padding: 80px 24px;
  border-top: none;
  text-align: center;
}

.fms-success-inner {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fms-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: #e6f4ea;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.fms-success-icon svg {
  width: 36px;
  height: 36px;
  stroke: #34a853;
}

.fms-success-title {
  font-size: 32px;
  font-weight: 700;
  color: #202124;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.fms-success-p {
  font-size: 16px;
  color: #5f6368;
  line-height: 1.7;
  margin-bottom: 12px;
}

.fms-success-btn {
  margin-top: 20px;
  margin-bottom: 12px;
  padding: 14px 32px;
  font-size: 15px;
  border-radius: 8px;
}

.fms-success-back {
  font-size: 13px;
  color: #5f6368;
}

.fms-success-back a {
  color: #4285f4;
}

.fms-success-back a:hover {
  text-decoration: underline;
}

/* ── REASSURANCE STRIP ────────────────────────── */
.fms-reassurance {
  background: transparent;
  padding: 56px 24px;
  border-top: none;
}

.fms-reassurance-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

@media (max-width: 639px) {
  .fms-reassurance-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.fms-reassurance-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.fms-reassurance-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid #dadce0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.fms-reassurance-icon svg {
  width: 22px;
  height: 22px;
  stroke: #4285f4;
}

.fms-reassurance-title {
  font-size: 15px;
  font-weight: 700;
  color: #202124;
}

.fms-reassurance-desc {
  font-size: 13px;
  color: #5f6368;
  line-height: 1.6;
  max-width: 220px;
}

/* AFTER */
.contact-main {
  background: linear-gradient(
    to bottom,
    #f1f3f4 0%,
    #ffffff 22%,
    #ffffff 55%,
    #f1f3f4 68%,
    #f1f3f4 100%
  );
}

.cta-banner-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
