/* =========================================
FERNBANK WEBSITE STYLES
========================================= */

:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --surface-soft: #f0eee7;

  --primary: #1f4d3a;
  --accent: #e3a500;
  --soft-bg: #f6f6f6;
  --text: #333;
  --soft-text: #666;
  --text-soft: #5c6b61;

  --primary-dark: #435e42;

  --border: #dde2da;

  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 14px 40px rgba(0, 0, 0, 0.08);

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --container: 1180px;
}

/* =========================================
RESET
========================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Montserrat",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  background: linear-gradient(180deg, #f8f7f3 0%, #eef1ea 100%);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================================
LAYOUT
========================================= */

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: auto;
}

.section {
  padding: 40px 0;
}

.section-alt {
  background: var(--soft-bg);
}

.center {
  text-align: center;
  margin-top: 24px;
}

/* =========================================
HEADER
========================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 16px 0;
  transition:
    padding 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.site-header.scrolled {
  padding: 10px 0;
}

.header-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(31, 77, 58, 0.08);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo {
  height: 58px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav a {
  position: relative;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.96rem;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--accent);
}

.nav a.active {
  color: var(--primary);
  font-weight: 700;
}

.nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.nav-admin-link {
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(31, 77, 58, 0.08) 0%,
    rgba(31, 77, 58, 0.14) 100%
  );
  border: 1px solid rgba(31, 77, 58, 0.12);
  color: var(--primary) !important;
  font-weight: 600;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.nav-admin-link:hover {
  background: linear-gradient(
    135deg,
    rgba(31, 77, 58, 0.12) 0%,
    rgba(31, 77, 58, 0.18) 100%
  );
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(31, 77, 58, 0.1);
  border-radius: 14px;
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  display: block;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 980px) {
  .header-shell {
    min-height: 72px;
  }

  .site-logo {
    height: 50px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(31, 77, 58, 0.08);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.08);
    margin-left: 0;
  }

  .nav.open {
    display: flex;
  }

  .nav a.active::after {
    bottom: -4px;
  }
}

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

  .header-shell {
    padding: 10px 14px;
    border-radius: 18px;
  }

  .site-logo {
    height: 44px;
  }
}

/* =========================================
PAGE HERO
========================================= */

.page-hero {
  padding: 20px 0 60px;
}

.page-hero h2 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin: 18px 0;
  line-height: 1.1;
}

.page-hero p {
  font-size: 1.1rem;
  max-width: 60ch;
  color: var(--text-soft);
}

.eyebrow {
  display: inline-block;
  background: rgba(92, 123, 90, 0.12);
  color: var(--primary-dark);
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
}

.eyebrow-light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(6px);
}

/* =========================================
CARDS
========================================= */

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 28px;
}

.card h3,
.card h4 {
  margin-top: 0;
}

/* =========================================
GRID SYSTEM
========================================= */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1000px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 780px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* =========================================
BUTTONS
========================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--primary-dark);
  background: #fff;
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* =========================================
FOOTER
========================================= */

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 60px;
  padding: 30px 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.site-copyright {
  background: #0f251c;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
  text-align: center;
}

.site-copyright p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.site-copyright a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.site-copyright a:hover {
  text-decoration: underline;
}

/* =========================================
SCROLL REVEAL
========================================= */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
FORMS
========================================= */

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(92, 123, 90, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input:disabled,
.form-group textarea:disabled,
.form-group select:disabled {
  background: #f3f5f2;
  color: #888;
  cursor: not-allowed;
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.form-alert {
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 20px;
}

.form-alert-error {
  background: rgba(194, 106, 87, 0.1);
  color: #8e4335;
  border: 1px solid rgba(194, 106, 87, 0.22);
}

.form-alert-success {
  background: rgba(92, 123, 90, 0.1);
  color: var(--primary-dark);
  border: 1px solid rgba(92, 123, 90, 0.22);
}

.form-help {
  margin-bottom: 20px;
  padding: 14px 16px;
  background: rgba(92, 123, 90, 0.07);
  border: 1px solid rgba(92, 123, 90, 0.16);
  border-radius: 14px;
  color: var(--text-soft);
}

.form-help ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.form-help li + li {
  margin-top: 6px;
}

.form-checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  margin-top: 34px;
}

.password-field {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.password-field input {
  flex: 1;
}

.password-toggle {
  min-width: 72px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--primary-dark);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.password-toggle:hover {
  background: #f7f8f5;
}

#contact_fields {
  transition: all 0.25s ease;
}

@media (max-width: 780px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .checkbox-label {
    margin-top: 0;
  }
}

/* =========================================
CONTACT / FEEDBACK
========================================= */

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.contact-item {
  padding: 14px 16px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.contact-item strong {
  display: block;
  margin-bottom: 4px;
}

.contact-item span {
  color: var(--text-soft);
}

.contact-note {
  margin-top: 20px;
  padding: 18px;
  background: rgba(194, 106, 87, 0.08);
  border: 1px solid rgba(194, 106, 87, 0.18);
  border-radius: 16px;
}

.contact-note strong {
  display: block;
  margin-bottom: 8px;
}

.contact-note p {
  margin: 0;
  color: var(--text-soft);
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.cf-turnstile {
  margin-top: 8px;
}

.anonymous-toggle-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faf7 100%);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.anonymous-toggle-card:hover {
  border-color: rgba(31, 77, 58, 0.24);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.anonymous-toggle-control {
  position: relative;
  flex: 0 0 auto;
  margin-top: 2px;
}

.anonymous-toggle-control input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.anonymous-toggle-box {
  width: 24px;
  height: 24px;
  border: 2px solid #b7c5b8;
  border-radius: 8px;
  background: #fff;
  display: inline-block;
  position: relative;
  transition: all 0.2s ease;
}

.anonymous-toggle-control input:checked + .anonymous-toggle-box {
  background: var(--primary);
  border-color: var(--primary);
}

.anonymous-toggle-control input:checked + .anonymous-toggle-box::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.anonymous-toggle-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.anonymous-toggle-title {
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.anonymous-toggle-text {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.anonymous-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f4f7f3 0%, #ffffff 100%);
  border: 1px solid #e6ece6;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
}

.anonymous-callout h2 {
  margin: 0 0 6px;
  color: var(--primary);
}

.anonymous-callout p {
  margin: 0;
  color: var(--soft-text);
  max-width: 520px;
}

.anonymous-callout-action {
  flex-shrink: 0;
}

.alert-section {
  padding: 24px 0 0;
}

.alert-banner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 16px;
  border: 1px solid #f1c9c9;
  background: #fff5f5;
}

.alert-icon {
  font-size: 20px;
  line-height: 1;
  margin-top: 2px;
}

.alert-content strong {
  display: block;
  color: #9b1c1c;
  margin-bottom: 4px;
}

.alert-content p {
  margin: 0;
  color: #5f1d1d;
  line-height: 1.5;
}

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

@media (max-width: 768px) {
  .anonymous-callout {
    flex-direction: column;
    align-items: flex-start;
  }

  .anonymous-callout-action {
    margin-top: 12px;
  }
}

/* =========================================
UPDATES
========================================= */

.updates-feed,
.updates-list {
  display: grid;
  gap: 24px;
}

.update-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
}

.update-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.update-topbar,
.update-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.update-pills,
.update-meta-left {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.update-pill,
.update-category,
.update-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

.update-pill-category,
.update-category {
  background: rgba(92, 123, 90, 0.12);
  color: var(--primary-dark);
}

.update-pill-important,
.update-badge {
  background: rgba(194, 106, 87, 0.12);
  color: #9b4b3c;
}

.update-date {
  color: var(--text-soft);
  font-size: 0.94rem;
  white-space: nowrap;
}

.update-heading,
.update-title {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.2;
}

.update-summary {
  margin: 0 0 18px;
  color: var(--text-soft);
  font-size: 1.02rem;
}

.update-body,
.update-content {
  color: var(--text);
}

.update-body p,
.update-content p {
  margin-top: 0;
  margin-bottom: 14px;
}

.update-body p:last-child,
.update-content p:last-child {
  margin-bottom: 0;
}

.update-body ul,
.update-body ol,
.update-content ul,
.update-content ol {
  margin-top: 0;
  margin-bottom: 16px;
  padding-left: 22px;
}

.update-body li + li,
.update-content li + li {
  margin-top: 8px;
}

.update-body a {
  color: var(--primary-dark);
  text-decoration: underline;
}

.empty-state {
  text-align: center;
  padding: 44px 28px;
}

.empty-state h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.empty-state p {
  margin: 0;
  color: var(--text-soft);
}

@media (max-width: 700px) {
  .update-topbar,
  .update-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .update-date {
    white-space: normal;
  }
}

/* =========================================
ADMIN
========================================= */

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.admin-toolbar-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.admin-table th {
  font-size: 0.9rem;
  color: var(--text-soft);
  font-weight: 700;
  background: #fafaf8;
}

.admin-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-actions a {
  color: var(--primary-dark);
  font-weight: 600;
}

.tox-tinymce {
  border-radius: 14px !important;
  border-color: var(--border) !important;
}

/* =========================================
HOME
========================================= */

.home-hero {
  min-height: 620px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.home-hero-overlay {
  min-height: 620px;
  background: linear-gradient(
    90deg,
    rgba(15, 37, 28, 0.72) 0%,
    rgba(15, 37, 28, 0.55) 45%,
    rgba(15, 37, 28, 0.35) 100%
  );
  display: flex;
  align-items: center;
}

.home-hero-content {
  max-width: 760px;
  color: #fff;
  padding: 40px 0;
}

.home-hero-content h1 {
  margin: 18px 0 18px;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1.05;
  color: #fff;
}

.home-hero-content p {
  font-size: 1.12rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  max-width: 58ch;
}

.hero-actions,
.intro-actions,
.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.home-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.home-intro-grid .card {
  height: 100%;
}

.highlight-card {
  background: linear-gradient(180deg, #ffffff 0%, #f4f7f2 100%);
}

.highlight-card h3 {
  margin-top: 14px;
  margin-bottom: 12px;
  color: var(--primary);
}

.bulk-billing-logo {
  margin-top: 22px;
  max-width: 180px;
}

.feature-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  height: 100%;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(31, 77, 58, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 18px;
}

.callout-panel {
  background: linear-gradient(135deg, #f2f6f1 0%, #ffffff 100%);
  border: 1px solid #e5ece4;
  border-radius: 22px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.callout-panel h2 {
  margin: 14px 0 10px;
  color: var(--primary);
}

.callout-panel p {
  margin: 0;
  color: var(--soft-text);
  max-width: 58ch;
}

.updates-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.update-preview h3 {
  margin-top: 0;
  color: var(--primary);
}

.home-update-date {
  color: var(--soft-text);
  font-size: 0.92rem;
}

.contact-highlight {
  background: #f4f7f4;
}

.contact-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.home-cta-band {
  background: linear-gradient(135deg, #1f4d3a 0%, #2f644d 100%);
}

.home-cta-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 12px 0;
}

.home-cta-grid h2 {
  margin: 16px 0 10px;
  color: #fff;
}

.home-cta-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  max-width: 58ch;
}

@media (max-width: 980px) {
  .home-intro-grid,
  .feature-card-grid,
  .updates-preview {
    grid-template-columns: 1fr;
  }

  .callout-panel,
  .home-cta-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .home-hero,
  .home-hero-overlay {
    min-height: 520px;
  }

  .home-hero-content {
    padding: 40px 0;
  }

  .home-hero-content h1 {
    font-size: clamp(2.1rem, 8vw, 3.4rem);
  }

  .home-hero-content p {
    font-size: 1rem;
  }

  .contact-grid {
    flex-direction: column;
    gap: 20px;
  }
}

/* =========================================
ABOUT
========================================= */

.page-hero-soft {
  padding: 40px 0 70px;
  background: linear-gradient(180deg, #f7f8f4 0%, #eef3ee 100%);
}

.page-hero-content {
  max-width: 820px;
}

.page-hero-soft h1 {
  margin: 16px 0 16px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.08;
  color: var(--primary);
}

.page-hero-soft p {
  font-size: 1.08rem;
  color: var(--soft-text);
  max-width: 62ch;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 14px 0 12px;
  color: var(--primary);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.15;
}

.section-heading p {
  margin: 0;
  color: var(--soft-text);
}

.feature-list {
  margin: 18px 0 0;
  padding-left: 18px;
}

.feature-list li + li {
  margin-top: 10px;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.split-image img {
  width: 100%;
  border-radius: 20px;
  display: block;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.08);
}

.split-content h2 {
  margin: 14px 0 14px;
  color: var(--primary);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
}

.split-content p {
  color: var(--soft-text);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.team-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9eee8;
}

.team-photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.team-photo-placeholder {
  height: 320px;
  background: linear-gradient(180deg, #eef3ee 0%, #f7f8f5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--soft-text);
  font-weight: 500;
}

.team-content {
  padding: 26px;
}

.team-content h3 {
  margin: 0 0 6px;
  color: var(--primary);
}

.team-role {
  margin: 0 0 14px;
  color: var(--accent);
  font-weight: 600;
}

.notice-card {
  border-left: 6px solid var(--accent);
}

.notice-card h2 {
  color: var(--primary);
  margin-top: 0;
}

.notice-card p:last-child {
  margin-bottom: 0;
}

.section-cta {
  padding-top: 10px;
}

.cta-panel {
  background: linear-gradient(135deg, #f2f6f1 0%, #ffffff 100%);
  border: 1px solid #e5ece4;
  border-radius: 22px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-panel h2 {
  margin: 14px 0 10px;
  color: var(--primary);
}

.cta-panel p {
  margin: 0;
  color: var(--soft-text);
  max-width: 58ch;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.approach-card {
  position: relative;
  padding: 30px 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8f4 100%);
  border: 1px solid #e6ece6;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.approach-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.approach-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.approach-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(31, 77, 58, 0.09);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex: 0 0 auto;
}

.approach-line {
  height: 2px;
  flex: 1;
  background: linear-gradient(
    90deg,
    rgba(31, 77, 58, 0.2) 0%,
    rgba(31, 77, 58, 0.02) 100%
  );
}

.approach-card h3 {
  margin: 0 0 12px;
  font-size: 1.28rem;
  line-height: 1.2;
  color: var(--primary);
}

.approach-card p {
  margin: 0;
  color: var(--soft-text);
  line-height: 1.7;
}

@media (max-width: 980px) {
  .about-intro-grid,
  .split-section,
  .team-grid,
  .approach-grid {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .page-hero-soft {
    padding: 40px 0 50px;
  }

  .team-photo img,
  .team-photo-placeholder {
    height: 260px;
  }
}

/* =========================================
BACK TO TOP
========================================= */

#backToTop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: white;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease,
    background 0.2s ease;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#backToTop:hover {
  background: #1b5a40;
}

/* =========================================
ADMIN LAYOUT
========================================= */

.admin-body {
  background: linear-gradient(180deg, #f8f7f3 0%, #eef1ea 100%);
}

.admin-site-header .header-shell {
  min-height: 72px;
}

.admin-header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.admin-user-chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(31, 77, 58, 0.06);
  border: 1px solid rgba(31, 77, 58, 0.1);
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 600;
}

.admin-subnav-section {
  padding: 8px 0 0;
}

.admin-subnav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 0 10px;
}

.admin-subnav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(31, 77, 58, 0.1);
  color: var(--primary);
  font-weight: 600;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.admin-subnav a:hover {
  background: rgba(31, 77, 58, 0.06);
  border-color: rgba(31, 77, 58, 0.18);
}

.admin-subnav a.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.admin-main {
  padding: 18px 0 40px;
}

@media (max-width: 768px) {
  .admin-header-shell {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .admin-header-right {
    width: 100%;
    justify-content: space-between;
  }

  .admin-subnav {
    gap: 10px;
  }
}

/* ADMIN LAYOUT */

.admin-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.admin-main {
  flex: 1;
}

.home-hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.home-hero-row .home-hero-content {
  width: 100%;
  max-width: none;
}

.hero-logo-wrap {
  width: 100%;
  padding: 40px 0;
  text-align: right;
}

@media (min-width: 768px) {
  .home-hero-row .home-hero-content {
    width: calc(60% - 12px);
  }

  .hero-logo-wrap {
    width: calc(40% - 12px);
  }
}

.hero-medicare-logo {
  max-height: 240px;
  margin-top: 60px;
  width: auto;
  margin-left: auto;
}

@media (max-width: 767px) {
  .home-hero-row {
    flex-direction: column;
    gap: 16px;
  }

  .home-hero-row .home-hero-content,
  .hero-logo-wrap {
    width: 100%;
  }

  .hero-logo-wrap {
    padding: 0;
    text-align: left;
  }

  .hero-medicare-logo {
    max-height: 180px;
    margin-left: 0;
    margin-top: 0;
  }
}
