:root {
  --ink: #172331;
  --muted: #607080;
  --line: #dbe3ea;
  --panel: #ffffff;
  --blue-light: #29abe2;
  --blue: #0071bc;
  --blue-deep: #1b1464;
  --teal: #29abe2;
  --green: #087f5b;
  --gold: #c89b3c;
  --coral: #d96b48;
  --paper: #fff5e6;
  --paper-deep: #f7ead8;
  --soft-blue: #edf8fb;
  --soft-green: #eff8f4;
  --warm-panel: rgba(255, 252, 246, 0.92);
  --shadow: 0 18px 50px rgba(18, 43, 62, 0.12);
  --soft-shadow: 0 14px 34px rgba(44, 54, 68, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(200, 155, 60, 0.12), transparent 22rem),
    radial-gradient(circle at 88% 24%, rgba(41, 171, 226, 0.12), transparent 24rem),
    radial-gradient(circle at 20% 72%, rgba(217, 107, 72, 0.08), transparent 24rem),
    linear-gradient(180deg, #fffaf2 0%, #f5fbfd 34%, #fff2df 68%, #eef8fb 100%);
  font-family: "Quicksand", Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(27, 20, 100, 0.022) 1px, transparent 1px),
    linear-gradient(rgba(27, 20, 100, 0.018) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.10));
}

a {
  color: var(--blue);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 227, 234, 0.85);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
}

.utility-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px clamp(18px, 5vw, 72px);
  color: #fff;
  background: var(--blue-deep);
  font-size: 13px;
  font-weight: 700;
}

.utility-bar a {
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.utility-links {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  white-space: nowrap;
}

.admin-access {
  opacity: 0.76;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.admin-access:hover {
  opacity: 1;
}

.main-nav {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
  padding: 10px clamp(18px, 5vw, 72px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 300px;
  color: var(--blue-deep);
  text-decoration: none;
}

.brand img {
  width: 98px;
  height: 86px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 0;
  color: var(--blue-deep);
  line-height: 1;
}

.brand-text strong {
  font-size: 28px;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-text small {
  margin-top: 4px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

nav a,
.header-call {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.nav-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  color: #fff;
  background: var(--blue);
}

.secondary-call {
  color: var(--blue-deep);
  border-color: var(--line);
  background: #fff;
}

.language-select {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-self: end;
  padding: 6px 8px;
  border: 1px solid rgba(0, 113, 188, 0.18);
  border-radius: 999px;
  background: #fff;
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.language-select select {
  width: auto;
  min-width: 112px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: #f8fcfe;
  color: var(--blue-deep);
  font: inherit;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(520px, 760px) minmax(360px, 460px);
  justify-content: center;
  gap: clamp(34px, 5.5vw, 92px);
  align-items: start;
  min-height: calc(100vh - 117px);
  padding: clamp(58px, 7vw, 104px) clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 18% 24%, rgba(200, 155, 60, 0.16), transparent 20rem),
    radial-gradient(circle at 82% 28%, rgba(41, 171, 226, 0.16), transparent 22rem),
    linear-gradient(118deg, rgba(255, 245, 230, 0.98) 0%, rgba(239, 248, 251, 0.96) 54%, rgba(255, 250, 242, 0.98) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  padding: clamp(22px, 3.4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.88), rgba(255, 245, 230, 0.68));
  box-shadow: 0 18px 52px rgba(18, 43, 62, 0.09);
  backdrop-filter: blur(3px);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: auto -8vw -9vw -8vw;
  height: min(34vw, 330px);
  background:
    repeating-linear-gradient(
      115deg,
      rgba(0, 113, 188, 0.12) 0,
      rgba(0, 113, 188, 0.12) 16px,
      rgba(41, 171, 226, 0.14) 16px,
      rgba(41, 171, 226, 0.14) 32px,
      rgba(217, 107, 72, 0.10) 32px,
      rgba(217, 107, 72, 0.10) 48px
    );
  border-radius: 54% 46% 0 0 / 44% 40% 0 0;
  transform: rotate(-1.2deg);
  opacity: 0.75;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 49% 47%, rgba(255, 253, 248, 0.20), rgba(255, 253, 248, 0.72) 34%, rgba(255, 253, 248, 0.18) 60%, transparent 78%),
    linear-gradient(90deg, rgba(255, 245, 230, 0.30), rgba(239, 248, 251, 0.30) 52%, rgba(255, 253, 248, 0.42)),
    url("assets/memory-classic.jpg"),
    url("assets/memory-coast.jpg"),
    radial-gradient(circle at 16% 18%, rgba(200, 155, 60, 0.16), transparent 18%),
    radial-gradient(circle at 12% 62%, rgba(217, 107, 72, 0.13), transparent 22%),
    radial-gradient(circle at 74% 20%, rgba(41, 171, 226, 0.12), transparent 23%),
    linear-gradient(135deg, transparent 0 58%, rgba(255, 255, 255, 0.36) 58% 59%, transparent 59%);
  background-repeat: no-repeat;
  background-size: cover, cover, 74% auto, cover, auto, auto, auto, auto;
  background-position: center, center, left bottom, center, center, center, center, center;
  mix-blend-mode: multiply;
  opacity: 0.62;
}

.memory-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.memory-row span {
  padding: 8px 10px;
  border: 1px solid rgba(27, 20, 100, 0.12);
  border-radius: 6px;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(18, 43, 62, 0.06);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  color: var(--blue-deep);
  font-size: clamp(48px, 5.1vw, 88px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  color: var(--blue-deep);
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  color: var(--blue-deep);
  font-size: 19px;
  letter-spacing: 0;
}

.lead {
  max-width: 700px;
  color: #33495a;
  font-size: clamp(19px, 1.8vw, 24px);
}

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

.center-actions {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(0, 113, 188, 0.23);
}

.button.secondary {
  color: var(--blue-deep);
  background: #fff;
}

.hero-panel,
.intake-form.elevated {
  border: 1px solid rgba(219, 227, 234, 0.82);
  border-radius: 8px;
  background: var(--warm-panel);
  box-shadow: var(--shadow);
}

.hero-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(22px, 4vw, 34px);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(255, 245, 230, 0.94)),
    linear-gradient(135deg, rgba(41, 171, 226, 0.16), rgba(27, 20, 100, 0.08));
}

.availability-panel {
  display: grid;
  gap: 14px;
}

.availability-panel h2 {
  font-size: clamp(30px, 2.4vw, 42px);
}

.date-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.date-pill {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--blue-deep);
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.date-pill.active {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.finder-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.location-button {
  min-height: 43px;
  white-space: nowrap;
}

.care-map {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid rgba(0, 113, 188, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.86) 23px, transparent 24px),
    linear-gradient(rgba(255, 255, 255, 0.86) 23px, transparent 24px),
    radial-gradient(circle at 50% 54%, rgba(41, 171, 226, 0.16), transparent 9rem),
    linear-gradient(135deg, rgba(237, 248, 251, 0.98), rgba(255, 245, 230, 0.94));
  background-size: 24px 24px, 24px 24px, auto;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 14px 30px rgba(18, 43, 62, 0.08);
}

.care-map::before {
  content: "Whittier";
  position: absolute;
  left: 14px;
  top: 12px;
  color: rgba(27, 20, 100, 0.68);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.map-road {
  position: absolute;
  border-radius: 999px;
  background: rgba(27, 20, 100, 0.10);
}

.map-road.horizontal {
  left: -24px;
  right: -24px;
  top: 58%;
  height: 18px;
  transform: rotate(-9deg);
}

.map-road.vertical {
  top: -20px;
  bottom: -20px;
  left: 54%;
  width: 18px;
  transform: rotate(18deg);
}

.map-radius {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 172px;
  height: 172px;
  border: 2px solid rgba(41, 171, 226, 0.44);
  border-radius: 999px;
  background: rgba(41, 171, 226, 0.12);
  transform: translate(-50%, -50%);
}

.map-pin {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 34px;
  padding: 6px 8px;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(18, 43, 62, 0.18);
  font-size: 12px;
  font-weight: 900;
}

.family-pin {
  left: 50%;
  top: 54%;
  background: var(--blue-deep);
  transform: translate(-50%, -50%);
}

.caregiver-pin.one {
  left: 63%;
  top: 36%;
  background: var(--green);
}

.caregiver-pin.two {
  left: 31%;
  top: 62%;
  background: var(--blue);
}

.caregiver-pin.three {
  right: 16%;
  bottom: 16%;
  background: var(--coral);
}

.availability-summary {
  display: grid;
  gap: 2px;
  padding: 12px;
  border: 1px solid rgba(0, 113, 188, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(239, 248, 251, 0.92), rgba(255, 250, 242, 0.82));
}

.availability-summary strong {
  color: var(--blue-deep);
}

.availability-summary span {
  color: var(--muted);
  font-size: 13px;
}

.full-width {
  width: 100%;
}

.panel-logo {
  width: 152px;
  height: 150px;
  object-fit: contain;
  float: right;
  margin: -8px -8px 10px 18px;
  opacity: 0.94;
}

.hero-panel h2 {
  font-size: clamp(30px, 2.4vw, 42px);
}

.hero-panel p,
.section-copy p,
.section-head p,
.service-grid p,
.contact-grid p,
.membership-grid p,
.care-points span,
.check-list,
.form-note {
  color: var(--muted);
}

.status-badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 6px;
  color: #fff;
  background: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.mini-grid span {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--blue-deep);
  background: #f8fbfd;
  font-size: 13px;
  font-weight: 800;
}

.route-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  padding: 14px;
  border: 1px solid rgba(41, 171, 226, 0.24);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f2faff);
}

.route-visual div {
  min-height: 64px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 10px 8px;
  border-radius: 6px;
  background: #fff;
  text-align: center;
}

.route-visual strong {
  color: var(--blue-deep);
  font-size: 18px;
  line-height: 1;
}

.route-visual span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.route-visual i {
  height: 2px;
  background: linear-gradient(90deg, var(--blue-light), var(--blue));
  position: relative;
}

.route-visual i::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -2px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  transform: translateY(-50%) rotate(45deg);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.proof-strip span {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 14px;
  color: var(--blue-deep);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(239, 248, 251, 0.72));
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.section {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 96px) clamp(18px, 5vw, 72px);
  border-top: 1px solid rgba(219, 227, 234, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(247, 252, 254, 0.88));
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 12%, rgba(200, 155, 60, 0.08), transparent 18rem),
    radial-gradient(circle at 92% 8%, rgba(41, 171, 226, 0.07), transparent 20rem);
  opacity: 0.9;
}

.memory-section::after,
.promo-band::after,
.client-profile-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  mix-blend-mode: multiply;
}

.memory-section::after {
  background-image:
    linear-gradient(90deg, rgba(255, 253, 248, 0.24), rgba(255, 245, 230, 0.88) 58%, rgba(255, 253, 248, 0.94)),
    url("assets/memory-classic.jpg");
  background-position: left center;
}

.promo-band::after {
  background-image:
    linear-gradient(90deg, rgba(255, 253, 248, 0.86), rgba(255, 245, 230, 0.56) 54%, rgba(239, 248, 251, 0.90)),
    url("assets/memory-coast.jpg");
  background-position: center;
  opacity: 0.20;
}

.client-profile-band::after {
  background-image:
    linear-gradient(90deg, rgba(239, 248, 251, 0.82), rgba(255, 245, 230, 0.62) 50%, rgba(255, 253, 248, 0.90)),
    url("assets/memory-home.jpg");
  background-position: left center;
  opacity: 0.21;
}

.section > * {
  position: relative;
  z-index: 1;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 500px);
  gap: clamp(24px, 5vw, 68px);
  align-items: start;
}

.two-column.reverse {
  grid-template-columns: minmax(330px, 500px) minmax(0, 1fr);
  background:
    linear-gradient(135deg, rgba(239, 248, 244, 0.94), rgba(255, 245, 230, 0.84));
}

.section-copy,
.section-head {
  max-width: 860px;
}

.center {
  margin-inline: auto;
  text-align: center;
}

.care-points {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.memory-section {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(255, 245, 230, 0.94));
}

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

.memory-grid article {
  padding: 22px;
  border: 1px solid rgba(27, 20, 100, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 242, 0.92));
  box-shadow: var(--soft-shadow);
}

.memory-grid strong,
.memory-grid span {
  display: block;
}

.memory-grid strong {
  margin-bottom: 7px;
  color: var(--blue-deep);
  font-size: 18px;
}

.memory-grid span {
  color: var(--muted);
}

.care-points article {
  padding: 16px;
  border-left: 4px solid var(--blue-light);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 242, 0.88));
  box-shadow: var(--soft-shadow);
}

.care-points strong,
.care-points span {
  display: block;
}

.slate {
  color: #fff;
  background:
    linear-gradient(145deg, #1b1464 0%, #102c73 58%, #0071bc 135%);
}

.slate h2,
.slate h3,
.slate .eyebrow {
  color: #fff;
}

.slate p {
  color: #d9e7f0;
}

.membership-grid,
.service-grid,
.contact-grid {
  display: grid;
  gap: 14px;
}

.membership-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

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

.contact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.membership-grid article,
.service-grid article,
.contact-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 242, 0.90));
}

.membership-grid article {
  padding: 20px;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.service-grid article,
.contact-grid article {
  padding: 22px;
  box-shadow: var(--soft-shadow);
}

.num {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.intake-form {
  display: grid;
  gap: 12px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid rgba(0, 113, 188, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 250, 242, 0.94));
  box-shadow: var(--shadow);
}

.intake-form h3 {
  margin-bottom: 4px;
}

label {
  display: grid;
  gap: 6px;
  color: #263746;
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 11px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 12px;
}

.check-list {
  padding-left: 20px;
}

.check-list li {
  margin-bottom: 7px;
}

.promo-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  background:
    radial-gradient(circle at 12% 50%, rgba(200, 155, 60, 0.12), transparent 20rem),
    linear-gradient(135deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 245, 230, 0.90) 48%, rgba(239, 248, 251, 0.92) 100%);
}

.promo-images {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.promo-images img {
  width: min(240px, 48%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(18, 43, 62, 0.10);
}

.contact-section {
  background:
    linear-gradient(180deg, rgba(239, 248, 251, 0.96), rgba(255, 250, 242, 0.92));
}

.client-profile-band {
  background:
    linear-gradient(180deg, rgba(239, 248, 251, 0.96), rgba(255, 245, 230, 0.88));
}

.seo-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 8vw, 112px) clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 14% 18%, rgba(200, 155, 60, 0.18), transparent 22rem),
    radial-gradient(circle at 82% 20%, rgba(41, 171, 226, 0.16), transparent 24rem),
    linear-gradient(118deg, rgba(255, 245, 230, 0.98), rgba(239, 248, 251, 0.94));
}

.seo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 245, 230, 0.28), rgba(255, 253, 248, 0.70)),
    url("assets/memory-classic.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.32;
  mix-blend-mode: multiply;
}

.seo-hero > * {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.seo-hero h1 {
  max-width: 920px;
}

.seo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.seo-panel {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(0, 113, 188, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 250, 242, 0.94));
  box-shadow: var(--soft-shadow);
}

.seo-panel ul,
.steps-list {
  margin: 0;
  padding-left: 20px;
}

.seo-panel li,
.steps-list li {
  margin-bottom: 9px;
}

.seo-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.seo-link-grid a {
  display: block;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.90);
  font-weight: 900;
  text-decoration: none;
  box-shadow: var(--soft-shadow);
}

footer {
  padding: 38px clamp(18px, 5vw, 72px);
  color: #eaf6fb;
  background:
    radial-gradient(circle at 14% 50%, rgba(200, 155, 60, 0.18), transparent 18rem),
    linear-gradient(135deg, #1b1464 0%, #102c73 55%, #0071bc 140%);
}

footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .seo-layout,
  .two-column,
  .two-column.reverse,
  .promo-band {
    grid-template-columns: 1fr;
  }

  .utility-bar,
  .main-nav {
    grid-template-columns: 1fr;
  }

  .utility-bar {
    display: grid;
    gap: 4px;
  }

  .main-nav {
    justify-items: start;
  }

  nav {
    justify-content: flex-start;
  }

  .nav-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
  }

  .proof-strip,
  .membership-grid,
  .service-grid,
  .contact-grid,
  .memory-grid,
  .seo-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promo-images {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: static;
  }

  .brand {
    min-width: 0;
    gap: 10px;
  }

  .brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    background: #fff;
  }

  .brand-text strong {
    font-size: 18px;
  }

  .brand-text small {
    margin-top: 3px;
    font-size: 13px;
  }

  .panel-logo {
    width: 96px;
    height: 96px;
  }

  .proof-strip,
  .membership-grid,
  .service-grid,
  .contact-grid,
  .memory-grid,
  .seo-link-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .route-visual {
    grid-template-columns: 1fr;
  }

  .route-visual i {
    width: 2px;
    height: 18px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--blue-light), var(--blue));
  }

  .route-visual i::after {
    top: auto;
    bottom: -2px;
    right: 50%;
    transform: translateX(50%) rotate(135deg);
  }

  h1 {
    font-size: 42px;
  }

  .promo-images img {
    width: 100%;
  }
}
