/* ==========================================================================
   Majestic Eldercare — Static Marketing Site Stylesheet
   Mobile-first, warm editorial palette: Deep Berry (#7a1f3d) + Warm Cream (#f6f1e8)
   ========================================================================== */

:root {
  --bg: #f6f1e8;
  --bg-deep: #ede5d7;
  --surface: #fffdf9;
  --surface-warm: #faf5ec;
  --ink: #1e2832;
  --ink-soft: #3a4754;
  --muted: #5a6875;
  --berry: #7a1f3d;
  --berry-hover: #611730;
  --berry-deep: #4c1125;
  --berry-tint: #f5eaee;
  --berry-border: #dfbec8;
  --gold: #9e7844;
  --gold-light: #dcc7a6;
  --gold-tint: #f6efe2;
  --border: #e2d9c8;
  --border-strong: #cfc2ac;
  --shadow-sm: 0 2px 10px rgba(30, 40, 50, 0.05);
  --shadow-md: 0 12px 32px rgba(30, 40, 50, 0.08);
  --shadow-lg: 0 20px 48px rgba(60, 25, 38, 0.11);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --font-sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --max-w: 1180px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 860px) {
  body {
    font-size: 18px;
  }
}

a {
  color: var(--berry);
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--berry);
  outline-offset: 3px;
}

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 36px;
  }
}

/* ==========================================================================
   Top Utility Bar
   ========================================================================== */
.utility-bar {
  background-color: var(--berry-deep);
  color: #f7eef1;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.utility-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 9px;
  padding-bottom: 9px;
}

.utility-tagline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ebd8df;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.utility-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--gold-light);
  display: inline-block;
}

.utility-contacts {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.utility-contacts a {
  color: #ffffff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.utility-contacts svg {
  width: 15px;
  height: 15px;
  color: var(--gold-light);
  flex-shrink: 0;
}

@media (max-width: 639px) {
  .utility-tagline {
    display: none;
  }
  .utility-inner {
    justify-content: center;
  }
}

/* ==========================================================================
   Site Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(246, 241, 232, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 16px;
}

@media (min-width: 900px) {
  .header-inner {
    min-height: 86px;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--berry) 0%, var(--berry-deep) 100%);
  color: #fffdf9;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(122, 31, 61, 0.22);
  flex-shrink: 0;
  border: 1px solid rgba(220, 199, 166, 0.35);
}

.brand-mark svg {
  width: 26px;
  height: 26px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--berry);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

@media (min-width: 480px) {
  .brand-name {
    font-size: 24px;
  }
}

.brand-sub {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 2px;
}

@media (min-width: 480px) {
  .brand-sub {
    font-size: 12px;
    letter-spacing: 0.04em;
  }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 9px 13px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.nav-toggle svg {
  width: 18px;
  height: 18px;
}

.site-nav {
  display: none;
}

.site-nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 2px solid var(--berry);
  box-shadow: var(--shadow-lg);
  padding: 16px 20px 22px;
  gap: 6px;
}

.nav-link {
  padding: 11px 14px;
  border-radius: 9px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 16px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--berry);
  background-color: var(--berry-tint);
}

/* Future Client Login slot — hidden until portal launches */
.nav-portal-link {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 600;
}

.nav-portal-link:hover {
  border-color: var(--berry);
  color: var(--berry);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--berry);
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(122, 31, 61, 0.2);
  margin-top: 8px;
}

.header-cta:hover {
  background-color: var(--berry-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.header-cta svg {
  width: 16px;
  height: 16px;
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
  .site-nav,
  .site-nav.is-open {
    display: flex;
    flex-direction: row;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    align-items: center;
    gap: 4px;
  }
  .nav-link {
    font-size: 15.5px;
    padding: 8px 14px;
  }
  .header-cta {
    margin-top: 0;
    margin-left: 10px;
  }
}

/* ==========================================================================
   Typography & Shared Elements
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--berry);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background-color: var(--gold);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

.display-title {
  font-size: clamp(2.15rem, 4.4vw, 3.35rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 18px;
}

.display-title em {
  color: var(--berry);
  font-style: italic;
  font-weight: 500;
}

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}

.lead {
  font-size: clamp(1.08rem, 1.5vw, 1.24rem);
  color: var(--ink-soft);
  line-height: 1.68;
  margin: 0 0 26px;
}

/* Buttons */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  border: 1.5px solid transparent;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background-color: var(--berry);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(122, 31, 61, 0.24);
}

.btn-primary:hover {
  background-color: var(--berry-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--surface);
  color: var(--berry);
  border-color: var(--berry-border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--berry);
  background-color: var(--berry-tint);
}

.btn-light {
  background-color: #fffdf9;
  color: var(--berry-deep);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
}

.btn-light:hover {
  background-color: var(--gold-tint);
  color: var(--berry-deep);
  transform: translateY(-1px);
}

.btn-outline-light {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

@media (max-width: 520px) {
  .btn-row .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 36px 0 52px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 88% 14%, rgba(122, 31, 61, 0.07) 0%, transparent 48%),
    radial-gradient(circle at 10% 85%, rgba(158, 120, 68, 0.08) 0%, transparent 45%),
    var(--bg);
}

@media (min-width: 900px) {
  .hero {
    padding: 64px 0 76px;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 920px) {
  .hero-grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 52px;
  }
}

.hero-reassurance {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 560px) {
  .hero-reassurance {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

.reassurance-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-soft);
}

.reassurance-item svg {
  width: 19px;
  height: 19px;
  color: var(--berry);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Hero Architectural Overview Card */
.hero-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-top: 5px solid var(--berry);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

@media (min-width: 560px) {
  .hero-card {
    padding: 32px 30px;
  }
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.hero-card-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.hero-card-title {
  font-size: 21px;
  color: var(--ink);
  margin-top: 3px;
}

.hero-seal {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--berry-tint);
  color: var(--berry);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-seal svg {
  width: 22px;
  height: 22px;
}

.pillar-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  background-color: var(--surface-warm);
  border: 1px solid var(--border);
}

.pillar-num {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--berry);
  background-color: var(--berry-tint);
  border: 1px solid var(--berry-border);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.pillar-body strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 17.5px;
  color: var(--ink);
  margin-bottom: 2px;
}

.pillar-body span {
  display: block;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.45;
}

.network-ribbon {
  background-color: var(--gold-tint);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.network-ribbon svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ==========================================================================
   Sections & Cards
   ========================================================================== */
.section {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 900px) {
  .section {
    padding: 80px 0;
  }
}

.section-alt {
  background-color: var(--surface-warm);
}

.section-header {
  max-width: 720px;
  margin-bottom: 36px;
}

@media (min-width: 900px) {
  .section-header {
    margin-bottom: 48px;
  }
}

.section-header p {
  font-size: 17.5px;
  color: var(--ink-soft);
  margin: 0;
}

/* 3-Column Service Pillar Grid */
.cards-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 820px) {
  .cards-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
  }
}

.service-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background-color: var(--berry-tint);
  border: 1px solid var(--berry-border);
  color: var(--berry);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 25px;
  height: 25px;
}

.service-card h3 {
  font-size: 23px;
  margin-bottom: 12px;
  color: var(--ink);
}

.service-card p {
  font-size: 16.5px;
  color: var(--ink-soft);
  margin: 0 0 18px;
  line-height: 1.62;
}

.service-points {
  list-style: none;
  padding: 16px 0 0;
  margin: auto 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.service-points li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.45;
}

.service-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--berry);
  margin-top: 7px;
  flex-shrink: 0;
}

/* ==========================================================================
   Why Choose Us & Consultant Network Split Layout
   ========================================================================== */
.split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 900px) {
  .split-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 52px;
  }
}

.principles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 580px) {
  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.principle-box {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
}

.principle-box h3 {
  font-size: 19.5px;
  color: var(--berry);
  margin-bottom: 8px;
}

.principle-box p {
  font-size: 15.5px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.58;
}

.network-panel {
  background: linear-gradient(160deg, #fffdf9 0%, #f5efe3 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-md);
}

.network-panel-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background-color: var(--berry-tint);
  color: var(--berry);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.network-panel h3 {
  font-size: 25px;
  margin-bottom: 12px;
}

.network-panel p {
  font-size: 16.5px;
  color: var(--ink-soft);
  margin: 0 0 20px;
}

.network-diagram {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.diagram-hub {
  background-color: var(--berry);
  color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  text-align: center;
}

.diagram-hub strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
}

.diagram-hub span {
  font-size: 13.5px;
  color: #f2dce3;
}

.diagram-branches {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 480px) {
  .diagram-branches {
    grid-template-columns: repeat(2, 1fr);
  }
}

.diagram-branch {
  background-color: var(--surface-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.diagram-branch strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 3px;
}

.diagram-branch span {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.4;
}

/* ==========================================================================
   Process / Steps Section
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 820px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.step-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  position: relative;
}

.step-number {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}

.step-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0;
}

/* ==========================================================================
   Direct Contact Banner / Section
   ========================================================================== */
.contact-banner {
  background: linear-gradient(140deg, var(--berry) 0%, var(--berry-deep) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px 18px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .contact-banner {
    padding: 48px 48px;
  }
}

.contact-banner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 860px) {
  .contact-banner-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
  }
}

.contact-banner .eyebrow {
  color: var(--gold-light);
}

.contact-banner .eyebrow::before {
  background-color: var(--gold-light);
}

.contact-banner h2 {
  color: #ffffff;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  margin-bottom: 14px;
}

.contact-banner p {
  color: #f3e4e9;
  font-size: 17.5px;
  margin: 0 0 24px;
  line-height: 1.65;
}

.direct-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.direct-card {
  display: flex;
  align-items: center;
  gap: 13px;
  background-color: rgba(255, 253, 249, 0.97);
  color: var(--ink);
  padding: 16px 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

@media (min-width: 480px) {
  .direct-card {
    gap: 16px;
    padding: 18px 20px;
  }
}

.direct-card:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
}

.direct-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--berry-tint);
  color: var(--berry);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.direct-card-icon svg {
  width: 24px;
  height: 24px;
}

.direct-card-body {
  min-width: 0;
  flex: 1;
}

.direct-card-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.direct-card-value {
  display: block;
  font-family: var(--font-serif);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--berry);
  word-break: break-word;
}

@media (min-width: 480px) {
  .direct-card-value {
    font-size: 21px;
  }
}

.direct-card-hint {
  display: block;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 2px;
}

/* ==========================================================================
   Page Hero (Interior Pages: About, Services, Contact)
   ========================================================================== */
.page-hero {
  padding: 40px 0 44px;
  background:
    radial-gradient(circle at 85% 20%, rgba(122, 31, 61, 0.07) 0%, transparent 50%),
    var(--surface-warm);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 860px) {
  .page-hero {
    padding: 58px 0 64px;
  }
}

.page-hero-inner {
  max-width: 780px;
}

/* Detail Blocks on Services / About / Contact */
.detail-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.detail-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-left: 5px solid var(--berry);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 820px) {
  .detail-card {
    padding: 36px 36px;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 36px;
    align-items: center;
  }
}

.detail-card h3 {
  font-size: 26px;
  margin-bottom: 12px;
}

.detail-card p {
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0 0 16px;
}

.detail-aside {
  background-color: var(--surface-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 20px;
}

.detail-aside h4 {
  font-size: 16.5px;
  color: var(--berry);
  margin-bottom: 10px;
  font-family: var(--font-sans);
  font-weight: 700;
}

.detail-aside ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.detail-aside li {
  font-size: 15px;
  color: var(--ink-soft);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

.detail-aside li::before {
  content: "✓";
  color: var(--berry);
  font-weight: 700;
  flex-shrink: 0;
}

/* Topic Mailto Cards on Contact Page */
.topic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 680px) {
  .topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.topic-link-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 22px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.topic-link-card:hover {
  border-color: var(--berry);
  background-color: var(--berry-tint);
  transform: translateY(-2px);
}

.topic-link-card strong {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--berry);
  margin-bottom: 6px;
  display: block;
}

.topic-link-card p {
  font-size: 15.5px;
  color: var(--ink-soft);
  margin: 0 0 14px;
}

.topic-action {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--berry);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Site Footer & Mobile Sticky Action Bar
   ========================================================================== */
.site-footer {
  background-color: #192129;
  color: #d6dde4;
  padding: 52px 0 44px;
  font-size: 15.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 780px) {
  .footer-grid {
    grid-template-columns: 1.3fr 0.8fr 1fr;
    gap: 40px;
  }
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 6px;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold-light);
  font-size: 17px;
  margin-bottom: 14px;
}

.footer-desc {
  color: #aeb9c4;
  font-size: 15px;
  max-width: 420px;
  margin: 0;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  color: #d6dde4;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: #8f9ca8;
}

.mobile-sticky-bar {
  display: none;
}
