:root {
  --bg-primary: #0b1020;
  --bg-secondary: #0f1528;
  --bg-card: #141c30;
  --gold: #c4a255;
  --gold-light: #d4b56a;
  --gold-bright: #dcc06e;
  --gold-glow: rgba(220, 192, 110, 0.35);
  --gold-dim: rgba(196, 162, 85, 0.12);
  --silver: #dedee6;
  --white: #f6f5f3;
  --text-muted: #b6b6c8;
  --border: rgba(196, 162, 85, 0.18);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.45);
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.3s ease;
  --a11y-scale: 1;
  --a11y-comfort: 1;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
  font-size: calc(100% * var(--a11y-scale, 1) * var(--a11y-comfort, 1));
}

body {
  font-family: var(--font);
  background-color: var(--bg-primary);
  color: var(--silver);
  line-height: 1.7;
  font-size: 1.125rem;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 90px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-light);
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 16, 32, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(196, 162, 85, 0.08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 150px;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--white);
  padding: 8px 0;
}

.logo:hover {
  color: var(--gold);
}

.logo-img {
  height: 125px;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(196, 162, 85, 0.15));
}

.main-nav {
  display: flex;
  gap: 36px;
}

.main-nav a {
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 6px 0;
  position: relative;
  transition: color var(--transition);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.main-nav a:hover {
  color: var(--gold-light);
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--silver);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(196, 162, 85, 0.05) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 60%, rgba(196, 162, 85, 0.03) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}

/* ── Hero Headline Wrapping ── */
.hero-line {
  display: block;
}

@media (min-width: 900px) {
  .hero-line {
    white-space: nowrap;
  }
}

/* ── Hero Image ── */
.hero-image-wrapper {
  position: absolute;
  right: -5%;
  top: 0;
  bottom: 0;
  width: 55%;
  z-index: 0;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 45% 35%, transparent 20%, rgba(11, 16, 32, 0.25) 60%);
  pointer-events: none;
  z-index: 2;
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--bg-primary) 0%, rgba(11, 16, 32, 0.75) 18%, rgba(11, 16, 32, 0.3) 40%, transparent 65%),
    linear-gradient(to bottom, var(--bg-primary) 0%, transparent 15%, transparent 80%, var(--bg-primary) 100%),
    linear-gradient(to left, rgba(11, 16, 32, 0.4) 0%, transparent 20%);
  pointer-events: none;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 20%;
  opacity: 0.78;
  border-radius: 0;
  box-shadow: none;
}

.hero-layout {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  padding: 0 40px;
}

.hero-content {
  max-width: 720px;
  padding: 56px 0 100px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
  text-wrap: balance;
}

.hero-highlight {
  color: var(--gold-bright);
  font-weight: 600;
  display: inline-block;
  margin-top: 14px;
  text-shadow: 0 0 20px rgba(220, 192, 110, 0.2);
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.18rem);
  color: var(--silver);
  max-width: 520px;
  margin: 0 0 52px;
  line-height: 1.9;
  opacity: 0.88;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-reassurance {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  max-width: 480px;
  line-height: 1.8;
  padding-left: 20px;
  border-left: 2px solid rgba(196, 162, 85, 0.3);
  background: none;
  border-top: none;
  border-right: none;
  border-bottom: none;
  border-radius: 0;
  opacity: 0.92;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 16px 36px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  letter-spacing: 0.02em;
  border: none;
  font-family: var(--font);
  min-height: 48px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #b8963e 100%);
  color: #0b1020;
  box-shadow: 0 2px 16px rgba(196, 162, 85, 0.22), 0 0 0 1px rgba(196, 162, 85, 0.06);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: #0b1020;
  box-shadow: 0 4px 24px rgba(196, 162, 85, 0.3);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: var(--gold-dim);
}

.btn-full {
  width: 100%;
}

/* ── Sections ── */
.section {
  padding: 100px 0;
}

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

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 32px;
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(196, 162, 85, 0.06);
}

.service-icon {
  margin-bottom: 24px;
  color: var(--gold);
}

.service-card h3 {
  color: var(--gold);
  font-size: 1.15rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

/* ── Steps ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.step-card {
  text-align: center;
  padding: 44px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step-number {
  width: 52px;
  height: 52px;
  line-height: 52px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.step-card h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Seniors ── */
.seniors-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.seniors-lead {
  font-size: 1.1rem;
  color: var(--silver);
  line-height: 1.8;
  margin-bottom: 40px;
}

.seniors-list {
  list-style: none;
  text-align: left;
  max-width: 520px;
  margin: 0 auto;
}

.seniors-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  font-size: 1.05rem;
  color: var(--silver);
  border-bottom: 1px solid rgba(196, 162, 85, 0.08);
}

.seniors-list li:last-child {
  border-bottom: none;
}

.seniors-list svg {
  flex-shrink: 0;
  color: var(--gold);
}

/* ── About ── */
.about-section {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.about-text {
  font-size: 1.08rem;
  color: var(--silver);
  line-height: 1.95;
  margin-bottom: 28px;
}

.about-text:last-child {
  margin-bottom: 0;
}

/* ── Form ── */
.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 40px;
  box-shadow: var(--shadow);
}

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

.form-group label {
  display: block;
  font-size: 1rem;
  color: var(--silver);
  margin-bottom: 10px;
  font-weight: 500;
}

.label-optional {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 16px 18px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 1.05rem;
  font-family: var(--font);
  transition: border-color var(--transition);
  min-height: 52px;
}

.form-group 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' fill='%23a0a0b4' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 44px;
  cursor: pointer;
}

.form-group select option {
  background: var(--bg-card);
  color: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

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

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

.form-success {
  text-align: center;
  padding: 40px 20px;
  color: var(--gold);
}

.form-success svg {
  margin-bottom: 20px;
}

.form-success p {
  font-size: 1.1rem;
  color: var(--silver);
  line-height: 1.7;
}

/* ── Calendly Section ── */
.calendly-wrapper {
  max-width: 900px;
  margin: 0 auto 48px;
  background: rgba(11, 16, 32, 0.85);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow:
    0 4px 32px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(11, 16, 32, 0.6),
    inset 0 1px 0 rgba(200, 169, 107, 0.06);
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.calendly-inline-widget {
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.calendly-inline-widget iframe {
  border-radius: var(--radius-sm);
  filter: brightness(0.96) saturate(0.92);
}

/* ── Reassurance Panel ── */
.reassurance-panel {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: var(--shadow);
  text-align: center;
}

.reassurance-panel h3 {
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.reassurance-panel p {
  color: var(--silver);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.reassurance-tagline {
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0 !important;
}

/* ── Contact Form ── */
.contact-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(180, 60, 60, 0.12);
  border: 1px solid rgba(200, 90, 90, 0.4);
  color: #f0c0c0;
  font-size: 0.95rem;
  text-align: center;
}

/* ── Contact ── */
.contact-section {
  text-align: center;
}

.contact-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  color: var(--gold);
}

.contact-item h3 {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.contact-item a {
  color: var(--silver);
  font-size: 1rem;
}

.contact-item a:hover {
  color: var(--gold);
}

/* ── Footer ── */
.site-footer {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--bg-primary);
}

.site-footer p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ── Floating Button ── */
.floating-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  z-index: 90;
  min-width: 48px;
  min-height: 48px;
  font-size: 1.5rem;
  line-height: 1;
}

.floating-btn:hover {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(196, 162, 85, 0.15);
  transform: translateY(-2px);
}

/* ── Comfort View Toggle Button ── */
.a11y-toggle {
  position: fixed;
  bottom: 32px;
  left: 32px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 48px;
  padding: 0 20px;
  border-radius: 26px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  color: var(--gold);
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  z-index: 91;
  min-height: 48px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
}

.a11y-toggle-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.a11y-toggle-text {
  white-space: nowrap;
}

.a11y-toggle:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  box-shadow: 0 0 20px rgba(196, 162, 85, 0.15);
}

/* ── Accessibility Panel ── */
.a11y-panel {
  position: fixed;
  bottom: 92px;
  left: 32px;
  width: 320px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.a11y-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.a11y-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border);
}

.a11y-panel-header h3 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.a11y-subtitle {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 4px 0 0;
}

.a11y-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* Enable Comfort View — primary button */
.a11y-comfort-btn {
  width: 100%;
  padding: 16px 20px;
  border: none;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--gold) 0%, #b8963e 100%);
  color: #0b1020;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 54px;
  box-shadow: 0 2px 16px rgba(196, 162, 85, 0.22);
  transition: all var(--transition);
}

.a11y-comfort-btn:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  box-shadow: 0 4px 24px rgba(196, 162, 85, 0.3);
}

.a11y-comfort-btn[aria-pressed="true"] {
  background: var(--gold-dim);
  color: var(--gold);
  border: 1.5px solid var(--gold);
  box-shadow: none;
}

/* Advanced options — collapsible */
.a11y-advanced {
  margin-top: 18px;
  border-top: 1px solid var(--border);
  padding-top: 8px;
}

.a11y-advanced-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: none;
  border: none;
  color: var(--silver);
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  padding: 12px 4px;
  min-height: 44px;
}

.a11y-advanced-toggle:hover {
  color: var(--gold);
}

.a11y-chevron {
  transition: transform var(--transition);
  flex-shrink: 0;
}

.a11y-advanced-toggle[aria-expanded="true"] .a11y-chevron {
  transform: rotate(180deg);
}

.a11y-advanced-body {
  padding-top: 4px;
}

.a11y-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border);
}

.a11y-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-sm);
}

.a11y-close:hover {
  color: var(--white);
}

.a11y-panel-body {
  padding: 16px 20px 20px;
}

.a11y-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.a11y-option-reset {
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px solid var(--border);
  justify-content: center;
}

.a11y-label {
  color: var(--silver);
  font-size: 0.95rem;
}

.a11y-btn-group {
  display: flex;
  gap: 8px;
}

.a11y-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--silver);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
  font-family: var(--font);
  font-weight: 600;
  transition: all var(--transition);
  min-width: 44px;
  min-height: 40px;
}

.a11y-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.a11y-btn-toggle {
  min-width: 52px;
}

.a11y-btn-toggle[aria-pressed="true"] {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--gold);
}

.a11y-btn-reset {
  width: 100%;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(196, 162, 85, 0.12);
}

.a11y-btn-reset:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ── Accessibility: High Contrast Mode ── */
body.a11y-high-contrast {
  --bg-primary: #04060d;
  --bg-secondary: #090d18;
  --bg-card: #121a2c;
  --silver: #ffffff;
  --white: #ffffff;
  --text-muted: #e8e9f2;
  --gold: #ffd873;
  --gold-light: #ffe79c;
  --gold-bright: #ffe79c;
  --border: rgba(255, 216, 115, 0.55);
}

body.a11y-high-contrast .hero-image {
  opacity: 0.3;
}

body.a11y-high-contrast .service-card,
body.a11y-high-contrast .step-card,
body.a11y-high-contrast .reassurance-panel,
body.a11y-high-contrast .contact-form-wrapper {
  border-color: var(--gold);
}

body.a11y-high-contrast .service-card p,
body.a11y-high-contrast .step-card p,
body.a11y-high-contrast .hero-sub,
body.a11y-high-contrast .section-subtitle {
  color: #f2f3fa;
  opacity: 1;
}

body.a11y-high-contrast .form-group input,
body.a11y-high-contrast .form-group textarea,
body.a11y-high-contrast .form-group select {
  border-color: var(--gold);
  color: #ffffff;
}

body.a11y-high-contrast .form-group input::placeholder,
body.a11y-high-contrast .form-group textarea::placeholder {
  color: #d6d7e0;
  opacity: 0.9;
}

body.a11y-high-contrast .btn-secondary {
  border-color: var(--gold);
  color: var(--gold);
}

body.a11y-high-contrast a {
  text-decoration: underline;
}

body.a11y-high-contrast .main-nav a,
body.a11y-high-contrast .btn {
  text-decoration: none;
}

/* ── Accessibility: Readable Font ── */
body.a11y-readable-font {
  --font: Arial, Helvetica, Verdana, sans-serif;
}

body.a11y-readable-font .btn,
body.a11y-readable-font input,
body.a11y-readable-font textarea,
body.a11y-readable-font select {
  font-family: Arial, Helvetica, Verdana, sans-serif;
}

body.a11y-readable-font p,
body.a11y-readable-font li,
body.a11y-readable-font .hero-sub,
body.a11y-readable-font .about-text,
body.a11y-readable-font .service-card p,
body.a11y-readable-font label {
  line-height: 1.95;
}

body.a11y-readable-font h1,
body.a11y-readable-font h2,
body.a11y-readable-font h3,
body.a11y-readable-font .section-title,
body.a11y-readable-font .main-nav a {
  letter-spacing: 0;
}

/* ── Accessibility: Comfort Spacing ── */
body.a11y-comfort-spacing {
  line-height: 1.9;
}

body.a11y-comfort-spacing p,
body.a11y-comfort-spacing li {
  line-height: 2;
}

body.a11y-comfort-spacing .about-text,
body.a11y-comfort-spacing .reassurance-panel p,
body.a11y-comfort-spacing .service-card p,
body.a11y-comfort-spacing .step-card p {
  margin-bottom: 1.5em;
}

body.a11y-comfort-spacing h1,
body.a11y-comfort-spacing h2,
body.a11y-comfort-spacing h3,
body.a11y-comfort-spacing .section-title {
  line-height: 1.4;
  margin-bottom: 0.9em;
}

body.a11y-comfort-spacing .seniors-list li {
  padding: 22px 0;
}

/* ── Accessibility: Comfort View sizing layer ── */
/* Applied on top of the larger text scale set via --a11y-comfort. Enlarges
   interactive targets (buttons, form controls, nav) and improves focus/borders. */
body.a11y-comfort .main-nav {
  gap: 48px;
}

body.a11y-comfort .main-nav a {
  padding: 10px 0;
}

body.a11y-comfort .btn {
  padding-top: 20px;
  padding-bottom: 20px;
  min-height: 58px;
}

body.a11y-comfort .form-group {
  margin-bottom: 34px;
}

body.a11y-comfort .form-group label {
  margin-bottom: 14px;
}

body.a11y-comfort .form-group input,
body.a11y-comfort .form-group select,
body.a11y-comfort .form-group textarea {
  min-height: 62px;
  padding: 18px 20px;
  border-width: 2px;
}

body.a11y-comfort .form-group textarea {
  min-height: 130px;
}

body.a11y-comfort .form-group input::placeholder,
body.a11y-comfort .form-group textarea::placeholder {
  opacity: 0.85;
}

body.a11y-comfort :focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html {
    scroll-behavior: auto;
  }

  .service-card:hover,
  .btn-primary:hover,
  .floating-btn:hover {
    transform: none;
  }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  body {
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 128px;
    left: 0;
    right: 0;
    background: rgba(11, 16, 32, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 0;
    font-size: 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    text-transform: none;
    letter-spacing: 0.03em;
  }

  .header-inner {
    height: 128px;
    padding: 0 24px;
  }

  html {
    scroll-padding-top: 128px;
  }

  .logo-img {
    height: 105px;
    filter: drop-shadow(0 0 16px rgba(196, 162, 85, 0.2)) drop-shadow(0 0 6px rgba(196, 162, 85, 0.12));
  }

  .hero {
    min-height: auto;
    padding: 0;
  }

  .hero-image-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .hero-image-wrapper::before {
    display: none;
  }

  .hero-image-wrapper::after {
    background:
      linear-gradient(to bottom, var(--bg-primary) 0%, rgba(11, 16, 32, 0.55) 30%, rgba(11, 16, 32, 0.68) 60%, var(--bg-primary) 100%),
      linear-gradient(to right, rgba(11, 16, 32, 0.45) 0%, transparent 100%);
  }

  .hero-image {
    opacity: 0.42;
    object-position: center center;
  }

  .hero-layout {
    padding: 0 24px;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
    padding: 60px 0 72px;
  }

  .hero-sub {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .hero-reassurance {
    border-left: none;
    padding-left: 0;
    text-align: center;
    margin: 0 auto;
    border-top: 1px solid rgba(196, 162, 85, 0.15);
    padding-top: 20px;
  }

  .section {
    padding: 72px 0;
  }

  .btn {
    padding: 14px 28px;
  }

  .reassurance-panel,
  .contact-form-wrapper {
    padding: 28px 20px;
  }

  .calendly-wrapper {
    padding: 16px;
    border-radius: var(--radius);
    margin-bottom: 36px;
  }

  .calendly-inline-widget {
    min-height: 750px;
  }

  .contact-grid {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .floating-btn {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }

  .a11y-toggle {
    bottom: 20px;
    left: 20px;
    height: 46px;
    padding: 0 16px;
    font-size: 0.9rem;
  }

  .a11y-panel {
    bottom: 76px;
    left: 16px;
    right: 16px;
    width: auto;
  }

  .services-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header-inner {
    height: 112px;
  }

  .logo-img {
    height: 92px;
  }

  .main-nav {
    top: 112px;
  }

  html {
    scroll-padding-top: 112px;
  }

  .hero-content {
    padding: 48px 0 56px;
  }
}

/* ── Focus styles for accessibility ── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}
