/* Layout stays the same */
.container-1400 {
  max-width: 1450px;
  margin: 0 auto;
  padding: 0 16px;
}

.page-shell {
  padding: 40px 0 60px;
  background-color: #ffffff;
}

.page-layout {
  display: flex;
  gap: 32px;
}

.page-main {
  flex: 0 0 78%;
  max-width: 78%;
}

.page-sidebar {
  flex: 0 0 22%;
  max-width: 22%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Typography for main content */
.page-main h1,
.page-main h2,
.page-main h3 {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #214666;
  margin: 0 0 16px;
}

.page-main h1 {
  font-size: 36px;
  line-height: 1.2;
}

.page-main h2 {
  font-size: 26px;
  margin-top: 32px;
}

.page-main h3 {
  font-size: 20px;
  margin-top: 24px;
}

.page-main p {
  font-size: 16px;
  line-height: 1.7;
  color: #444f5c;
  margin: 0 0 16px;
}

/* Sidebar cards + text */
.sidebar-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 22px 22px 24px;
  box-shadow: 0 18px 40px rgba(16, 24, 32, 0.08);
}

.sidebar-title {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  color: #101820;
}

.sidebar-text {
  font-size: 15px;
  line-height: 1.6;
  color: #4b5663;
  margin: 0 0 14px;
}

/* BIGGER sidebar nav buttons */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-link {
  width: 100%;
  text-align: left;
  border-radius: 2px;
  border: 1px solid rgba(16, 24, 32, 0.14);
  background: #f0f3fa;
  padding: 14px 18px;              /* bigger padding */
  font-size: 14px;                 /* bigger font */
  color: #1b2733;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease,
              box-shadow 0.15s ease, transform 0.15s ease,
              border-color 0.2s ease;
}

.sidebar-link::after {
  content: "›";
  font-size: 18px;
  color: rgba(16, 24, 32, 0.45);
}

.sidebar-link:hover {
  background: #1c6fb8;
  color: #ffffff;
  border-color: #1c6fb8;
  box-shadow: 0 12px 26px rgba(28, 111, 184, 0.3);
  transform: translateY(-1px);
}

.sidebar-link.is-accent {
  background: #ef1b28;
  color: #ffffff;
  border-color: #ef1b28;
}

.sidebar-link.is-accent:hover {
  background: #c2131e;
  border-color: #c2131e;
}

/* Form inside sidebar */
.quote-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-size: 14px;
  font-weight: 600;
  color: #1b2733;
}

.form-row input,
.form-row select,
.form-row textarea {
  border-radius: 2px;
  border: 1px solid #c2ccd9;
  padding: 12px 11px;
  font-size: 14px;
  font-family: inherit;
  width: 100%;
  background-color: #fcfdfe;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #1c6fb8;
  box-shadow: 0 0 0 2px rgba(28, 111, 184, 0.18);
}

/* Re‑use primary button */
.btn-primary {
  align-self: stretch;              /* full width in sidebar */
  background: #ef1b28;
  color: #ffffff;
  border: none;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease,
              box-shadow 0.15s ease;
}

.btn-primary:hover {
  background: #c2131e;
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(239, 27, 40, 0.35);
}

/* Responsive */
@media (max-width: 900px) {
  .page-layout {
    flex-direction: column;
  }

  .page-main,
  .page-sidebar {
    flex: 0 0 auto;
    max-width: 100%;
  }
}
