:root {
  --bg: #edf4fb;
  --surface: #ffffff;
  --surface-alt: #e6f0f8;
  --surface-soft: #f7fbfe;
  --ink: #15324b;
  --muted: #627b92;
  --line: #d6e2ee;
  --accent: #0d5ca6;
  --accent-soft: #4586bd;
  --success: #1f7a53;
  --success-soft: #e7f4ed;
  --warning: #a36d1f;
  --error: #a84343;
  --shadow: 0 16px 36px rgba(18, 61, 99, 0.09);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(69, 134, 189, 0.16), transparent 30%),
    radial-gradient(circle at top left, rgba(13, 92, 166, 0.08), transparent 34%),
    linear-gradient(180deg, #f9fcff 0%, #edf4fb 55%, #e8f1f8 100%);
  color: var(--ink);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1,
h2,
h3,
h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(13, 92, 166, 0.12);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  z-index: 5;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand a {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
}

.brand span,
.subtitle,
.help-text,
.eyebrow,
.user-chip { color: var(--muted); }

nav {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  color: var(--ink);
  font-weight: 600;
}

nav a.active {
  padding-bottom: 0.15rem;
  border-bottom: 2px solid var(--accent);
}

.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.page-hero {
  margin-bottom: 1.5rem;
}

.page-hero h1 {
  margin: 0.25rem 0 0.5rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.subtitle {
  max-width: 56rem;
  font-size: 1.05rem;
}

.page-shell > section + section {
  margin-top: 1.5rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.two-up { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.three-up { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.intake-layout { grid-template-columns: 260px 1fr; }
.metric-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-bottom: 1rem; }

.panel {
  background: var(--surface);
  border: 1px solid rgba(13, 92, 166, 0.08);
  border-radius: 22px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.panel.muted {
  background: linear-gradient(180deg, rgba(230, 240, 248, 0.92), rgba(255, 255, 255, 0.96));
}

.grid > .panel {
  display: flex;
  flex-direction: column;
}
.grid > .panel > .cta-row:last-child,
.grid > .panel > .stack:last-child,
.grid > .panel > a.button:last-child {
  margin-top: auto;
}

.spotlight {
  background: linear-gradient(135deg, rgba(13, 92, 166, 0.12), rgba(255, 255, 255, 0.98));
}

.hero-grid {
  align-items: stretch;
}

.hero-panel h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.value-panel {
  position: relative;
  overflow: hidden;
}

.value-panel::after {
  content: "";
  position: absolute;
  inset: auto -3rem -3rem auto;
  width: 10rem;
  height: 10rem;
  border-radius: 999px;
  background: rgba(13, 92, 166, 0.08);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.mini-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.mini-card {
  padding: 1rem;
  border: 1px solid rgba(13, 92, 166, 0.08);
  border-radius: 18px;
  background: rgba(247, 251, 254, 0.95);
}

.mini-card p {
  margin-bottom: 0.75rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.compact-grid {
  grid-template-columns: repeat(2, 1fr);
}

.detail-card {
  padding: 1rem;
  border: 1px solid rgba(13, 92, 166, 0.08);
  border-radius: 18px;
  background: rgba(247, 251, 254, 0.95);
}

.compact-grid .detail-card {
  padding: 0.95rem;
}

.detail-card-wide {
  background: rgba(255, 253, 249, 0.88);
}

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

.service-card,
.provider-card,
.quote-panel {
  position: relative;
}

.card-accent {
  padding: 1.25rem;
  border: 1px solid rgba(13, 92, 166, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(247, 251, 254, 0.98), rgba(255, 255, 255, 0.98));
}

.quote-panel blockquote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  line-height: 1.3;
  color: var(--accent);
}

.button,
button,
input,
textarea,
select {
  font: inherit;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  background: var(--success);
  color: white;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 10px 18px rgba(31, 122, 83, 0.18);
}

.button.secondary,
.ghost-button {
  background: var(--surface-alt);
  color: var(--accent);
  box-shadow: none;
}

.button:hover,
button:hover {
  text-decoration: none;
  filter: brightness(0.98);
}

.ghost-button {
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(13, 92, 166, 0.14);
}

.cta-row,
.section-header,
.metric-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.filter-row a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(13, 92, 166, 0.08);
  color: var(--accent);
  font-weight: 600;
}

.filter-row a.active-filter {
  background: var(--accent);
  color: white;
}

.metric-row div,
.metric-grid .panel {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.top-gap {
  margin-top: 1rem;
}

.compact-list {
  margin: 0;
  padding-left: 1.1rem;
}

.compact-list li + li {
  margin-top: 0.45rem;
}

.detail-list,
.status-list,
.note-list,
.check-list,
.slot-list,
.step-list {
  margin: 0;
}

.detail-list {
  list-style: none;
  padding: 0;
}

.detail-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(13, 92, 166, 0.08);
}

.detail-list li:last-child {
  border-bottom: 0;
}

.status-list,
.note-list,
.check-list,
.slot-list,
.step-list {
  padding-left: 1.1rem;
}

.status-list li + li,
.note-list li + li,
.check-list li + li,
.slot-list li + li {
  margin-top: 0.65rem;
}

.slot-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(13, 92, 166, 0.08);
}

.slot-list li:last-child {
  border-bottom: 0;
}

.flash {
  margin-top: 0.85rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
}

.flash.success {
  background: var(--success-soft);
  color: var(--success);
}

.flash.error {
  background: rgba(168, 67, 67, 0.1);
  color: var(--error);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.84rem;
  font-weight: 700;
}

.badge.success {
  background: var(--success-soft);
  color: var(--success);
}

.badge.warning {
  background: rgba(163, 109, 31, 0.14);
  color: var(--warning);
}

.badge.accent {
  background: rgba(13, 92, 166, 0.12);
  color: var(--accent);
}

.badge.neutral {
  background: rgba(98, 123, 146, 0.14);
  color: var(--muted);
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem 0.95rem;
  background: rgba(255, 255, 255, 0.95);
}

textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.narrow {
  max-width: 42rem;
  margin: 0 auto;
}

.inline-form {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.tabs {
  display: grid;
  gap: 1rem;
}

.tab-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tab-label {
  display: inline-flex;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(13, 92, 166, 0.08);
  color: var(--accent);
  font-weight: 700;
  margin-right: 0.6rem;
}

.tab-content {
  display: block;
}

.step-list li.active a,
.step-list li.active {
  font-weight: 700;
}

.step-state {
  display: inline-block;
  margin-left: 0.5rem;
  color: var(--muted);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 0.85rem 0.7rem;
  border-bottom: 1px solid rgba(13, 92, 166, 0.08);
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
  }

  .page-shell {
    padding: 1.35rem 1rem 3rem;
  }

  .detail-list li,
  .slot-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  .inline-form {
    width: 100%;
  }
}

.metric-row strong,
.metric-grid strong {
  font-size: 1.2rem;
}

.metric-card strong {
  font-size: 2rem;
  line-height: 1;
}

.metric-card p {
  margin: 0.15rem 0 0;
  color: var(--muted);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.narrow { max-width: 640px; }

label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem 0.95rem;
  background: white;
}

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

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(13, 92, 166, 0.18);
  border-color: var(--accent-soft);
}

.inline-form {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.wrap-form {
  width: 100%;
}

.wrap-form input[type="text"] {
  flex: 1 1 14rem;
}

.compact-form input,
.compact-form textarea,
.compact-form select {
  width: 100%;
}

input[type="checkbox"] {
  width: auto;
}

.calendar-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1rem;
  align-items: start;
}

.calendar-sidebar,
.calendar-panel {
  min-height: 100%;
}

.calendar-panel {
  overflow-x: auto;
}

.calendar-sidebar-header h3,
.calendar-toolbar h3 {
  margin-bottom: 0.35rem;
}

.calendar-sidebar-block + .calendar-sidebar-block {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(13, 92, 166, 0.08);
}

.calendar-filter-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.calendar-filter-list a {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 0.8rem;
  border-radius: 14px;
  background: rgba(13, 92, 166, 0.06);
  color: var(--ink);
  font-weight: 600;
}

.calendar-filter-list a.active-filter {
  background: var(--accent);
  color: white;
}

.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(13, 92, 166, 0.08);
}

.calendar-toolbar-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  min-width: 980px;
  border: 1px solid rgba(13, 92, 166, 0.08);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(248, 251, 255, 0.75);
}

.calendar-weekday {
  padding: 0.85rem 0.75rem;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(13, 92, 166, 0.08);
}

.calendar-weekday + .calendar-weekday {
  border-left: 1px solid rgba(13, 92, 166, 0.06);
}

.calendar-day {
  min-height: 150px;
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.96);
  border-right: 1px solid rgba(13, 92, 166, 0.06);
  border-bottom: 1px solid rgba(13, 92, 166, 0.06);
}

.calendar-day:nth-child(7n) {
  border-right: 0;
}

.calendar-day-muted {
  background: rgba(243, 247, 252, 0.92);
}

.calendar-day-today {
  background: linear-gradient(180deg, rgba(231, 244, 255, 0.98), rgba(255, 255, 255, 0.96));
}

.calendar-day-head {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.6rem;
}

.calendar-day-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  font-weight: 700;
  color: var(--ink);
}

.calendar-day-today .calendar-day-number {
  background: var(--accent);
  color: white;
}

.calendar-day-events {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.calendar-event {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.48rem 0.55rem;
  border-radius: 12px;
  color: var(--ink);
  background: rgba(69, 134, 189, 0.08);
  border: 1px solid rgba(69, 134, 189, 0.1);
}

.calendar-event:hover {
  text-decoration: none;
  filter: brightness(0.99);
}

.calendar-event strong {
  font-size: 0.85rem;
  line-height: 1.2;
}

.calendar-event span {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.2;
}

.calendar-event.event-success {
  background: rgba(31, 122, 83, 0.1);
  border-color: rgba(31, 122, 83, 0.12);
}

.calendar-event.event-warning {
  background: rgba(163, 109, 31, 0.12);
  border-color: rgba(163, 109, 31, 0.14);
}

.calendar-event.event-accent {
  background: rgba(13, 92, 166, 0.11);
  border-color: rgba(13, 92, 166, 0.14);
}

.calendar-event.event-error {
  background: rgba(168, 67, 67, 0.12);
  border-color: rgba(168, 67, 67, 0.14);
}

.calendar-more {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  padding: 0.1rem 0.1rem 0;
}

.check-list,
.status-list,
.step-list,
.note-list,
.slot-list,
.detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li,
.status-list li,
.note-list li,
.detail-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(21, 50, 75, 0.08);
}

.status-list li,
.slot-list li,
.detail-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.step-list li {
  margin-bottom: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.step-list li.active a {
  font-weight: 700;
}

.step-state {
  font-size: 0.85rem;
  color: var(--muted);
}

.demo-box,
.flash {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
}

.demo-box { background: rgba(230, 240, 248, 0.9); }
.flash.error { background: rgba(140, 47, 57, 0.1); color: var(--error); }
.flash.success { background: rgba(31, 122, 83, 0.12); color: var(--success); }

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  font-size: 0.82rem;
  line-height: 1;
  white-space: nowrap;
}

.badge.success {
  background: var(--success-soft);
  color: var(--success);
}

.badge.warning {
  background: rgba(163, 109, 31, 0.12);
  color: var(--warning);
}

.badge.accent {
  background: rgba(13, 92, 166, 0.12);
  color: var(--accent);
}

.badge.neutral {
  background: rgba(13, 92, 166, 0.08);
  color: var(--ink);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.85rem 0.6rem;
  text-align: left;
  border-bottom: 1px solid rgba(21, 50, 75, 0.08);
}

.slot-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(21, 50, 75, 0.08);
}

.top-gap {
  margin-top: 1rem;
}

.align-start {
  align-items: start;
}

.detail-list strong {
  white-space: pre-line;
}

@media (max-width: 900px) {
  .intake-layout { grid-template-columns: 1fr; }
  .compact-grid { grid-template-columns: 1fr; }
  .calendar-shell { grid-template-columns: 1fr; }
  .calendar-day { min-height: 130px; }
}

@media (min-width: 901px) {
  .service-grid,
  .mini-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.span-full { grid-column: 1 / -1; }

.tabs { display: flex; flex-wrap: wrap; }
.tab-radio { position: absolute; opacity: 0; pointer-events: none; }
.tab-label {
  padding: 0.65rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  user-select: none;
}
.tab-label:hover { color: var(--ink); }
.tab-radio:checked + .tab-label { color: var(--accent); border-bottom-color: var(--accent); }
.tab-content {
  display: none;
  order: 99;
  width: 100%;
  padding-top: 1.25rem;
}
.tab-content > section + section { margin-top: 1.5rem; }
.tabs > input:nth-of-type(1):checked ~ div.tab-content:nth-of-type(1) { display: block; }
.tabs > input:nth-of-type(2):checked ~ div.tab-content:nth-of-type(2) { display: block; }
.tabs > input:nth-of-type(3):checked ~ div.tab-content:nth-of-type(3) { display: block; }

.nav-link.nav-cta {
  color: white;
}

.compact-hero {
  margin-bottom: 0;
}

.marketing-section,
.marketing-hero,
.closing-banner,
.service-detail-grid,
.feature-tile-grid {
  margin-top: 1.75rem;
}

.marketing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 1.5rem;
  align-items: center;
}

.marketing-hero.compact {
  align-items: stretch;
}

.marketing-hero.text-only {
  grid-template-columns: minmax(0, 1fr);
}

.marketing-hero-copy {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.marketing-hero-copy h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.marketing-hero-copy .subtitle,
.service-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.35rem;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(16, 58, 101, 0.08);
  color: var(--ink);
  font-size: 0.9rem;
}

.hero-visual-stack {
  position: relative;
  min-height: 34rem;
  border-radius: 34px;
}

.hero-visual-stack.compact {
  min-height: 24rem;
}

.hero-photo {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 24px 50px rgba(17, 47, 85, 0.16);
  background: white;
}

.hero-photo.primary {
  height: 100%;
  min-height: 24rem;
}

.hero-photo.secondary {
  position: absolute;
  left: -1.25rem;
  bottom: 1.5rem;
  width: 50%;
  max-width: 18rem;
  border: 10px solid rgba(255, 255, 255, 0.9);
}

.hero-photo img,
.service-showcase-media img,
.catalog-card-media img,
.closing-banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-note {
  position: absolute;
  right: -0.4rem;
  bottom: 1.6rem;
  width: min(17rem, 48%);
  padding: 1.1rem 1.15rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(13, 92, 166, 0.08);
  box-shadow: 0 16px 40px rgba(16, 58, 101, 0.12);
}

.hero-note p {
  margin: 0.3rem 0 0.7rem;
  color: var(--muted);
}

.service-showcase-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.service-showcase-card,
.catalog-card,
.editorial-panel,
.feature-tile,
.journey-step,
.closing-banner {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(16, 58, 101, 0.08);
  border-radius: 28px;
  box-shadow: 0 18px 44px rgba(16, 58, 101, 0.09);
}

.service-showcase-card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-showcase-card.featured {
  grid-column: span 6;
}

.service-showcase-media,
.catalog-card-media {
  min-height: 16rem;
  background: rgba(13, 92, 166, 0.05);
}

.service-showcase-body,
.catalog-card-body,
.editorial-panel,
.feature-tile {
  padding: 1.4rem;
}

.compact-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
}

.compact-highlights li {
  position: relative;
  padding-left: 1.1rem;
  margin-top: 0.7rem;
  color: var(--ink);
}

.compact-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #0d5ca6;
}

.compact-highlights.spacious li {
  margin-top: 0.85rem;
}

.catalog-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  overflow: hidden;
}

.service-catalog-grid,
.service-detail-grid,
.feature-tile-grid {
  display: grid;
  gap: 1rem;
}

.service-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-tile-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.editorial-panel.split {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.4rem 1.5rem;
}

.tone-mist {
  background: linear-gradient(180deg, rgba(237, 244, 251, 0.95), rgba(255, 255, 255, 0.92));
}

.tone-deep {
  background: linear-gradient(180deg, rgba(14, 87, 153, 0.94), rgba(24, 70, 112, 0.96));
  color: white;
}

.tone-deep h2,
.tone-deep h3,
.tone-deep p,
.tone-deep li,
.tone-deep a {
  color: white;
}

.tone-deep .compact-highlights li::before {
  background: white;
}

.tone-calm {
  background: linear-gradient(180deg, rgba(238, 247, 245, 0.98), rgba(255, 255, 255, 0.92));
}

.tone-stone {
  background: linear-gradient(180deg, rgba(241, 242, 245, 0.98), rgba(255, 255, 255, 0.92));
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.journey-step {
  padding: 1.35rem;
}

.journey-step span {
  display: inline-flex;
  width: 2.35rem;
  height: 2.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(13, 92, 166, 0.1);
  color: #0d5ca6;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.closing-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 1.25rem;
  overflow: hidden;
  padding: 1.1rem;
}

.closing-banner.text-only {
  grid-template-columns: minmax(0, 1fr);
}

.closing-banner-copy {
  padding: 1.2rem;
}

.closing-banner-media {
  min-height: 20rem;
  overflow: hidden;
  border-radius: 24px;
}

.detail-stack > div + div,
.contact-note {
  margin-top: 1rem;
}

.detail-stack {
  display: grid;
  gap: 0.25rem;
}

.process-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: process-step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.process-grid li {
  counter-increment: process-step;
  padding: 1.15rem 1.2rem;
  border-radius: 22px;
  background: rgba(13, 92, 166, 0.05);
}

.process-grid li::before {
  content: counter(process-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  background: white;
  color: #0d5ca6;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(13, 92, 166, 0.08);
}

.process-grid p {
  margin: 0;
}

.feature-tile strong {
  display: block;
  margin-bottom: 0.55rem;
}

.form-panel label span {
  font-weight: 600;
}

.field-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(12, 24, 36, 0.56);
}

.modal-card {
  width: min(720px, 100%);
  padding: 1.5rem;
  border-radius: 28px;
  background: rgba(255, 252, 247, 0.98);
  box-shadow: 0 24px 70px rgba(10, 35, 64, 0.24);
}

.guest-access-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.guest-access-grid img {
  width: 100%;
  max-width: 192px;
  height: auto;
  display: block;
}

.access-code {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: 0.12em;
}

.checkbox-field {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(13, 92, 166, 0.1);
  border-radius: 18px;
  background: rgba(247, 251, 254, 0.92);
}

.checkbox-field input[type="checkbox"] {
  margin-top: 0.2rem;
  flex: 0 0 auto;
}

.checkbox-field span {
  font-weight: 400;
}

.guidance-panel {
  position: sticky;
  top: 6rem;
}

.centered {
  justify-content: center;
  text-align: center;
}

.site-footer {
  max-width: 1240px;
  margin: 0 auto 2.4rem;
  padding: 0 1.25rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 1rem;
  padding: 1.3rem 1.35rem;
  border: 1px solid rgba(16, 58, 101, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
}

.footer-brand a {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-weight: 700;
  color: #0d4f8f;
}

.footer-grid p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .service-showcase-card,
  .service-showcase-card.featured {
    grid-column: span 6;
  }

  .catalog-card,
  .closing-banner,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .marketing-hero,
  .service-detail-grid,
  .feature-tile-grid,
  .journey-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual-stack,
  .hero-visual-stack.compact {
    min-height: auto;
  }

  .hero-photo.secondary,
  .hero-note {
    position: static;
    width: 100%;
    max-width: none;
    margin-top: 1rem;
  }

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

  .guidance-panel {
    position: static;
  }

  .guest-access-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .marketing-hero-copy h1 {
    font-size: clamp(2.35rem, 11vw, 3.4rem);
  }

  .service-showcase-grid {
    grid-template-columns: 1fr;
  }

  .service-showcase-card,
  .service-showcase-card.featured {
    grid-column: auto;
  }
}
