:root {
  --purple: #9120e8;
  --purple-dark: #5a0f98;
  --purple-deep: #36105b;
  --lavender: #f6effd;
  --lilac: #e7d3fa;
  --purple-pale: #f5ecfc;
  --paper: #fbf9fc;
  --mint: #e4f8f2;
  --ink: #17202a;
  --muted: #637083;
  --line: #e7e9ee;
  --white: #ffffff;
  --green: #28b57a;
  --shell: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.utility-bar {
  background: var(--purple-deep);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
}

.utility-inner {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.utility-inner p,
.utility-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
}

.utility-links a:hover {
  color: white;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #65e5b0;
  box-shadow: 0 0 0 4px rgba(101, 229, 176, 0.12);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(231, 233, 238, 0.85);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: 178px;
  height: 62px;
  object-fit: contain;
  object-position: left center;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a {
  position: relative;
  padding: 8px 0;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--purple);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border: 1px solid var(--purple);
  border-radius: 999px;
  background: var(--purple);
  box-shadow: 0 12px 30px rgba(145, 32, 232, 0.2);
  color: white;
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--purple-dark);
  box-shadow: 0 16px 34px rgba(90, 15, 152, 0.25);
  transform: translateY(-2px);
}

.button-small {
  min-height: 44px;
  padding-inline: 20px;
  box-shadow: none;
  font-size: 13px;
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 14%, rgba(145, 32, 232, 0.08), transparent 24%),
    linear-gradient(180deg, #fff 0%, #fcfaff 100%);
}

.hero::before {
  position: absolute;
  top: 70px;
  left: -160px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(145, 32, 232, 0.12);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  display: grid;
  min-height: 680px;
  align-items: center;
  gap: clamp(40px, 7vw, 90px);
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  padding-block: 68px 76px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--purple-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(54px, 6.1vw, 82px);
  font-weight: 750;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.hero h1 em {
  color: var(--purple);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.hero-lead {
  max-width: 610px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--ink);
  padding: 8px 0 6px;
  font-size: 14px;
  font-weight: 800;
}

.text-link span {
  color: var(--purple);
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.hero-trust {
  display: flex;
  gap: 30px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-trust div {
  display: grid;
  gap: 2px;
}

.hero-trust strong {
  color: var(--purple-deep);
  font-size: 24px;
}

.hero-trust span {
  color: var(--muted);
  font-size: 11px;
}

.hero-visual {
  position: relative;
  min-height: 555px;
}

.hero-image {
  position: absolute;
  inset: 0 0 0 28px;
  overflow: hidden;
  border-radius: 220px 220px 34px 34px;
  background:
    linear-gradient(180deg, transparent 50%, rgba(54, 16, 91, 0.18)),
    url("/images/acha-hero.webp") center / cover no-repeat,
    linear-gradient(135deg, var(--lavender), var(--lilac));
  box-shadow: 0 30px 70px rgba(64, 20, 100, 0.16);
}

.hero-image::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: inherit;
  content: "";
}

.care-card {
  position: absolute;
  right: -20px;
  bottom: 42px;
  z-index: 2;
  display: flex;
  max-width: 330px;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(35, 18, 52, 0.16);
  backdrop-filter: blur(14px);
}

.care-icon {
  display: grid;
  flex: 0 0 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: var(--purple);
  color: white;
  font-size: 24px;
}

.care-card p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.care-card strong {
  font-size: 14px;
}

.care-card p span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.purple-orbit {
  position: absolute;
  top: 58px;
  left: -10px;
  width: 88px;
  height: 88px;
  border: 18px solid var(--purple);
  border-radius: 50%;
  box-shadow: 0 18px 40px rgba(145, 32, 232, 0.26);
}

.trust-strip {
  border-block: 1px solid var(--line);
  background: white;
}

.trust-items {
  display: grid;
  min-height: 78px;
  align-items: center;
  grid-template-columns: repeat(4, 1fr);
}

.trust-items p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  border-right: 1px solid var(--line);
  color: #4c5868;
  font-size: 13px;
  font-weight: 700;
}

.trust-items p:first-child {
  justify-content: flex-start;
}

.trust-items p:last-child {
  justify-content: flex-end;
  border-right: 0;
}

.trust-items span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #e8faf2;
  color: var(--green);
  font-size: 12px;
}

.section {
  padding-block: clamp(84px, 9vw, 126px);
}

.section-heading {
  display: grid;
  align-items: end;
  gap: 80px;
  grid-template-columns: 1.25fr 0.75fr;
}

.section-heading h2,
.network-section h2,
.appointment-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 4.6vw, 62px);
  letter-spacing: -0.055em;
  line-height: 1.05;
}

.section-heading > p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.specialty-grid {
  display: grid;
  gap: 16px;
  margin-top: 54px;
  grid-template-columns: repeat(4, 1fr);
}

.specialty-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.specialty-card::after {
  position: absolute;
  right: -60px;
  bottom: -72px;
  width: 150px;
  height: 150px;
  border: 28px solid var(--lavender);
  border-radius: 50%;
  content: "";
}

.specialty-card:hover {
  border-color: var(--lilac);
  box-shadow: 0 20px 44px rgba(63, 33, 86, 0.1);
  transform: translateY(-5px);
}

.specialty-number {
  position: absolute;
  top: 22px;
  right: 24px;
  color: #a6adba;
  font-size: 12px;
  font-weight: 800;
}

.specialty-icon {
  position: relative;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 18px;
  background: var(--lavender);
}

.specialty-icon::before {
  width: 24px;
  height: 16px;
  border: 2px solid var(--purple);
  border-radius: 70% 25%;
  content: "";
  transform: rotate(-5deg);
}

.specialty-icon span {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
}

.specialty-icon:has(svg)::before,
.specialty-icon:has(svg) span {
  display: none;
}

.specialty-icon svg {
  width: 28px;
  height: 28px;
  color: var(--purple);
}

.specialty-icon-glaucoma-2 {
  background: #eee8fb;
}

.specialty-icon-optometry {
  background: #e8f5f5;
}

.specialty-icon-optometry svg {
  color: #176d68;
}

.specialty-icon-orbit-and-oculoplastics {
  background: #fcecf5;
}

.specialty-icon-orbit-and-oculoplastics svg {
  color: #ad2f76;
}

.specialty-icon-corneacarerefraction {
  background: #eaf0fc;
}

.specialty-icon-corneacarerefraction svg {
  color: #315fa7;
}

.specialty-icon-dediatriceyecare {
  background: #fff1e7;
}

.specialty-icon-dediatriceyecare svg {
  color: #a95723;
}

.specialty-icon-retina {
  background: #f0eaff;
}

.specialty-card h3 {
  margin: 38px 0 13px;
  color: var(--purple-deep);
  font-size: 20px;
}

.specialty-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.specialty-card a {
  position: absolute;
  bottom: 27px;
  left: 28px;
  z-index: 2;
  font-size: 13px;
  font-weight: 800;
}

.specialty-card a span {
  margin-left: 8px;
  color: var(--purple);
}

.all-services {
  display: table;
  margin: 34px auto 0;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 7px;
  font-size: 14px;
  font-weight: 800;
}

.all-services span {
  margin-left: 9px;
  color: var(--purple);
}

.network-section {
  position: relative;
  overflow: hidden;
  background: var(--purple-deep);
  color: white;
}

.network-section::before {
  position: absolute;
  top: -260px;
  left: -160px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 90px rgba(255, 255, 255, 0.025),
    0 0 0 180px rgba(255, 255, 255, 0.02);
}

.network-grid {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: start;
  gap: 90px;
  grid-template-columns: 0.9fr 1.1fr;
}

.eyebrow-light {
  color: #d9b7f5;
}

.network-section h2 {
  max-width: 580px;
  color: white;
}

.network-intro {
  max-width: 540px;
  margin: 24px 0 34px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.75;
}

.button-white {
  border-color: white;
  background: white;
  box-shadow: none;
  color: var(--purple-deep);
}

.button-white:hover,
.button-white:focus-visible {
  background: var(--lavender);
  color: var(--purple-deep);
}

.location-grid {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  grid-template-columns: repeat(2, 1fr);
}

.location-grid a {
  display: grid;
  min-height: 78px;
  align-items: center;
  padding: 0 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  grid-template-columns: 36px 1fr 20px;
  font-size: 17px;
  font-weight: 700;
  transition: background 160ms ease;
}

.location-grid a:nth-child(2n) {
  border-right: 0;
}

.location-grid a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.location-grid span {
  color: #d4a7f7;
  font-size: 10px;
}

.location-grid b {
  color: #d4a7f7;
  font-size: 14px;
  font-weight: 400;
}

.appointment-section {
  background: #fafafa;
}

.appointment-card {
  display: grid;
  align-items: center;
  gap: 60px;
  padding: clamp(36px, 5vw, 64px);
  border: 1px solid var(--lilac);
  border-radius: 34px;
  background:
    radial-gradient(circle at 88% 10%, rgba(145, 32, 232, 0.11), transparent 28%),
    white;
  box-shadow: 0 26px 60px rgba(70, 37, 91, 0.08);
  grid-template-columns: 1.2fr 0.8fr;
}

.appointment-card h2 {
  max-width: 700px;
}

.appointment-card p:not(.eyebrow) {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.appointment-actions {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.story-section {
  background:
    radial-gradient(circle at 86% 10%, rgba(145, 32, 232, 0.08), transparent 25%),
    var(--paper);
}

.story-grid {
  display: grid;
  align-items: start;
  gap: clamp(50px, 8vw, 110px);
  grid-template-columns: 0.95fr 1.05fr;
}

.story-copy h2,
.feature-copy h2,
.news-section h2 {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 4.8vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.story-lead,
.feature-copy > p {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.story-copy blockquote {
  margin: 34px 0;
  padding: 2px 0 2px 26px;
  border-left: 3px solid var(--purple);
  color: var(--purple-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-style: italic;
  line-height: 1.55;
}

.moderator-message-layout {
  display: grid;
  align-items: start;
  margin: 34px 0 0;
  gap: 22px;
  grid-template-columns: 126px 1fr;
}

.moderator-message-layout blockquote {
  margin: 0 0 24px;
}

.moderator-photo-placeholder {
  display: grid;
  min-height: 164px;
  place-items: center;
  align-content: center;
  gap: 12px;
  overflow: hidden;
  border: 1px dashed rgba(145, 32, 232, 0.45);
  border-radius: 70px 70px 18px 18px;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.95), transparent 22%),
    linear-gradient(145deg, var(--purple-pale), #e8d8f3);
  color: var(--purple-deep);
  text-align: center;
}

.moderator-photo-placeholder svg {
  width: 48px;
  height: 48px;
  stroke-width: 1.4;
}

.moderator-photo-placeholder span {
  max-width: 78px;
  color: var(--purple-deep);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.moderator-signature {
  display: flex;
  align-items: center;
  margin: 0 0 34px;
  gap: 14px;
}

.moderator-monogram {
  display: grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--purple-deep);
  color: white;
  font-size: 13px;
  font-weight: 900;
}

.moderator-signature p {
  display: grid;
  margin: 0;
  gap: 3px;
}

.moderator-signature strong {
  color: var(--ink);
  font-size: 14px;
}

.moderator-signature span {
  color: var(--muted);
  font-size: 12px;
}

.moderator-page-message {
  display: grid;
  align-items: start;
  margin: 0 0 38px;
  padding: 28px;
  gap: 28px;
  border-left: 4px solid var(--purple);
  border-radius: 0 20px 20px 0;
  background: var(--purple-pale);
  grid-template-columns: 150px 1fr;
}

.moderator-page-message blockquote {
  margin: 22px 0;
  color: var(--purple-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-style: italic;
  line-height: 1.55;
}

.moderator-page-message > div:last-child > p:last-child {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 13px;
}

.event-preview-section {
  background: white;
}

.event-preview-grid {
  display: grid;
  align-items: start;
  gap: clamp(46px, 8vw, 100px);
  grid-template-columns: 0.8fr 1.2fr;
}

.event-preview-grid > div:first-child h2,
.calendar-aside h2 {
  margin: 18px 0 22px;
  color: var(--ink);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.event-preview-grid > div:first-child > p:not(.eyebrow),
.calendar-aside > p:not(.eyebrow) {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.event-mini-list {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: white;
  box-shadow: 0 24px 70px rgba(50, 25, 69, 0.07);
}

.event-mini-list > a {
  display: grid;
  align-items: center;
  min-height: 146px;
  padding: 24px;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 74px 1fr 24px;
  transition: background 180ms ease;
}

.event-mini-list > a:last-child {
  border-bottom: 0;
}

.event-mini-list > a:hover {
  background: var(--purple-pale);
}

.event-date {
  display: grid;
  width: 70px;
  height: 82px;
  place-items: center;
  align-content: center;
  border-radius: 18px;
  background: var(--purple-deep);
  color: white;
}

.event-date strong {
  font-size: 22px;
  line-height: 1;
}

.event-date small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.event-mini-list p {
  margin: 0 0 6px;
  color: var(--purple);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.event-mini-list h3 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 20px;
}

.event-mini-list div > span {
  color: var(--muted);
  font-size: 12px;
}

.event-mini-list b {
  color: var(--purple);
}

.calendar-section {
  background: var(--paper);
}

.calendar-layout {
  display: grid;
  align-items: start;
  gap: clamp(42px, 7vw, 90px);
  grid-template-columns: 1.25fr 0.75fr;
}

.calendar-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  box-shadow: 0 24px 70px rgba(50, 25, 69, 0.08);
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.calendar-head p {
  margin: 0 0 5px;
  color: var(--purple);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.calendar-head h2 {
  margin: 0;
  font-size: 28px;
}

.calendar-head > span {
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--purple-pale);
  color: var(--purple-deep);
  font-size: 11px;
  font-weight: 800;
}

.calendar-weekdays,
.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar-weekdays {
  padding: 18px 18px 10px;
}

.calendar-weekdays span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.calendar-days {
  padding: 0 18px 18px;
}

.calendar-days span {
  display: grid;
  min-height: 72px;
  place-items: center;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.calendar-days .calendar-today {
  margin: 10px;
  min-height: 52px;
  border: 0;
  border-radius: 16px;
  background: var(--purple);
  color: white;
}

.event-archive-list {
  grid-template-columns: repeat(2, 1fr);
}

.event-archive-list > a {
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

.booking-section {
  background: var(--paper);
}

.booking-layout {
  display: grid;
  align-items: start;
  gap: 26px;
  grid-template-columns: 1.35fr 0.65fr;
}

.appointment-form {
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: white;
  box-shadow: 0 24px 70px rgba(50, 25, 69, 0.08);
}

.form-heading h2 {
  margin: 14px 0 8px;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.045em;
}

.form-heading > p:last-child,
.form-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.form-grid {
  display: grid;
  margin: 34px 0;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: #fbfafc;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  transition:
    border 160ms ease,
    box-shadow 160ms ease;
}

.form-grid textarea {
  min-height: 130px;
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(145, 32, 232, 0.1);
}

.form-span-two {
  grid-column: span 2;
}

.consent-field {
  display: flex !important;
  align-items: flex-start;
  gap: 12px !important;
  color: var(--muted) !important;
  font-weight: 500 !important;
  line-height: 1.55;
}

.consent-field input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--purple);
}

.form-note {
  margin: 20px 0 0;
}

.booking-aside {
  position: sticky;
  top: 108px;
  padding: 34px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.16), transparent 24%),
    var(--purple-deep);
  color: white;
}

.booking-aside h2 {
  margin: 20px 0 18px;
  font-size: 36px;
  line-height: 1.05;
}

.booking-aside > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.7;
}

.booking-aside > a {
  display: block;
  margin: 24px 0;
  color: white;
  font-size: 13px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.booking-hours {
  display: grid;
  margin-top: 28px;
  padding-top: 24px;
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.booking-hours span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.booking-hours p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

@media (max-width: 1000px) {
  .event-preview-grid,
  .calendar-layout,
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .booking-aside {
    position: static;
  }
}

@media (max-width: 720px) {
  .event-mini-list > a {
    gap: 14px;
    grid-template-columns: 64px 1fr 18px;
  }

  .event-date {
    width: 62px;
    height: 72px;
  }

  .calendar-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .calendar-weekdays span {
    font-size: 8px;
  }

  .calendar-days span {
    min-height: 48px;
  }

  .calendar-days .calendar-today {
    margin: 5px;
    min-height: 38px;
    border-radius: 10px;
  }

  .event-archive-list {
    grid-template-columns: 1fr;
  }

  .event-archive-list > a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-span-two {
    grid-column: span 1;
  }
}

.patient-journey {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: white;
  box-shadow: 0 26px 80px rgba(50, 25, 69, 0.08);
}

.journey-label {
  margin: 0;
  padding: 24px 30px;
  background: var(--purple-deep);
  color: white;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.journey-step {
  display: grid;
  align-items: start;
  gap: 22px;
  padding: 30px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 52px 1fr;
}

.journey-step:last-child {
  border-bottom: 0;
}

.journey-step > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--purple-pale);
  color: var(--purple);
  font-size: 13px;
  font-weight: 900;
}

.journey-step h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 19px;
}

.journey-step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  align-items: center;
  gap: clamp(46px, 8vw, 110px);
  grid-template-columns: 1.08fr 0.92fr;
}

.feature-grid-reverse {
  grid-template-columns: 0.92fr 1.08fr;
}

.feature-image {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border-radius: 36px 150px 36px 36px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 30px 70px rgba(50, 25, 69, 0.18);
}

.feature-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 55%, rgba(34, 12, 50, 0.62));
}

.feature-image span {
  position: absolute;
  z-index: 1;
  bottom: 24px;
  left: 24px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.outreach-image {
  background-image: url("/images/acha-outreach.webp");
}

.optical-image {
  border-radius: 150px 36px 36px 36px;
  background-image: url("/images/acha-optical.webp");
}

.care-gallery-section {
  background: #fbf8fd;
}

.care-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-template-rows: repeat(2, minmax(230px, 1fr));
  gap: 18px;
}

.care-gallery-item {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  margin: 0;
  border-radius: 26px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 18px 45px rgba(50, 25, 69, 0.12);
}

.care-gallery-item::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 45%, rgba(31, 13, 43, 0.78));
}

.care-gallery-item figcaption {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 20px;
  left: 22px;
  display: grid;
  gap: 3px;
  color: white;
}

.care-gallery-item strong {
  font-size: 18px;
}

.care-gallery-item span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
}

.care-gallery-theatre {
  grid-row: 1 / 3;
  background-image: url("/images/acha-theatre.webp");
}

.care-gallery-pediatric {
  background-image: url("/images/acha-pediatric.webp");
}

.care-gallery-reception {
  background-image: url("/images/acha-reception.webp");
}

.care-gallery-facility {
  grid-column: 2 / 4;
  background-image: url("/images/acha-facility.webp");
}

.feature-copy {
  max-width: 560px;
}

.check-list {
  display: grid;
  margin: 30px 0 34px;
  padding: 0;
  gap: 15px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.check-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 22px;
  height: 22px;
  content: "✓";
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: #08765a;
  font-size: 12px;
}

.button-outline {
  border: 1px solid var(--purple);
  background: transparent;
  box-shadow: none;
  color: var(--purple);
}

.button-outline:hover {
  background: var(--purple);
  color: white;
}

.optical-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 100%, rgba(145, 32, 232, 0.3), transparent 30%),
    var(--purple-deep);
}

.optical-section .feature-copy h2,
.optical-section .feature-copy > p {
  color: white;
}

.optical-section .feature-copy > p {
  color: rgba(255, 255, 255, 0.72);
}

.partners-section {
  border-top: 1px solid var(--line);
  background: white;
}

.partners-heading {
  display: grid;
  align-items: end;
  margin-bottom: 44px;
  gap: 60px;
  grid-template-columns: 1fr 0.72fr;
}

.partners-heading h2 {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--ink);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.partners-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.partner-logo-grid {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--line);
  gap: 1px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.partner-logo-card {
  display: grid;
  min-height: 160px;
  place-items: center;
  padding: 24px;
  background: white;
  transition: background 180ms ease, transform 180ms ease;
}

.partner-logo-card:hover {
  z-index: 1;
  background: #fbf8fd;
}

.partner-logo-card img {
  width: 100%;
  max-width: 150px;
  max-height: 78px;
  object-fit: contain;
  filter: saturate(0.88);
}

.optical-home-image {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  margin: 0;
  border-radius: 150px 36px 36px 36px;
  background: url("/images/optical-single-staff.webp") center 36% / cover no-repeat;
  box-shadow: 0 30px 70px rgba(30, 12, 42, 0.32);
}

.optical-home-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 60%, rgba(30, 12, 42, 0.7));
}

.optical-home-image figcaption {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 22px;
  left: 24px;
  color: white;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.optical-gallery,
.optical-page-gallery {
  display: grid;
  min-height: 600px;
  gap: 12px;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 1.05fr 0.95fr;
}

.optical-gallery figure,
.optical-page-gallery figure {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  margin: 0;
  border-radius: 22px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 22px 55px rgba(31, 13, 43, 0.2);
}

.optical-gallery figure::after,
.optical-page-gallery figure::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 58%, rgba(30, 12, 42, 0.72));
}

.optical-gallery figcaption,
.optical-page-gallery figcaption {
  position: absolute;
  z-index: 1;
  bottom: 16px;
  left: 18px;
  color: white;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.optical-gallery-main {
  grid-row: 1 / 3;
  border-radius: 120px 22px 22px 22px !important;
  background-image: url("/images/acha-optical.webp");
}

.optical-gallery-staff {
  background-image: url("/images/optical-staff.webp");
}

.optical-gallery-workshop {
  background-image: url("/images/optical-workshop.webp");
}

.optical-gallery-display {
  background-image: url("/images/optical-gallery.webp");
}

.optical-gallery .optical-gallery-display {
  display: none;
}

.optical-page-gallery {
  min-height: 520px;
  margin-top: 38px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.optical-page-gallery .optical-gallery-main {
  grid-row: auto;
  border-radius: 22px !important;
}

.optical-slideshow {
  width: min(1120px, 100%);
  margin: 42px auto 0;
}

.optical-slide-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 440px;
  border-radius: 30px;
  background: var(--purple-pale);
  box-shadow: 0 28px 70px rgba(50, 25, 69, 0.18);
}

.optical-slide-stage > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: optical-slide-in 280ms ease-out;
}

.optical-slide-stage::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent 52%, rgba(29, 10, 42, 0.76));
}

@keyframes optical-slide-in {
  from {
    opacity: 0.4;
    transform: scale(1.015);
  }
}

.optical-slide-caption {
  position: absolute;
  z-index: 2;
  right: clamp(70px, 8vw, 110px);
  bottom: clamp(26px, 5vw, 52px);
  left: clamp(70px, 8vw, 110px);
  color: white;
}

.optical-slide-caption p {
  margin: 0 0 6px;
  font-size: clamp(25px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.025em;
}

.optical-slide-caption span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.slide-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(36, 14, 51, 0.58);
  color: white;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
}

.slide-arrow:hover,
.slide-arrow:focus-visible {
  background: var(--purple);
}

.slide-arrow-left {
  left: 20px;
}

.slide-arrow-right {
  right: 20px;
}

.slide-thumbnails {
  display: grid;
  margin-top: 14px;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.slide-thumbnails button {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 3px solid transparent;
  border-radius: 14px;
  background: var(--purple-pale);
  cursor: pointer;
  opacity: 0.68;
}

.slide-thumbnails button.is-active {
  border-color: var(--purple);
  opacity: 1;
}

.slide-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.news-section {
  background: #fbf9fc;
}

.news-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}

.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(50, 25, 69, 0.1);
}

.news-visual {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(145, 32, 232, 0.88), rgba(63, 15, 91, 0.92)),
    radial-gradient(circle at 70% 20%, white 0 8%, transparent 8.5%),
    var(--purple);
}

.news-visual::before,
.news-visual::after {
  position: absolute;
  border: 22px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  content: "";
}

.news-visual::before {
  top: 42px;
  right: 44px;
  width: 100px;
  height: 100px;
}

.news-visual::after {
  right: -30px;
  bottom: -50px;
  width: 180px;
  height: 180px;
}

.news-visual-2 {
  background:
    linear-gradient(145deg, rgba(9, 123, 93, 0.9), rgba(24, 65, 60, 0.93)),
    var(--mint);
}

.news-visual-3 {
  background:
    linear-gradient(145deg, rgba(73, 31, 92, 0.94), rgba(183, 69, 236, 0.88)),
    var(--purple-deep);
}

.news-visual span {
  position: absolute;
  z-index: 1;
  bottom: 20px;
  left: 20px;
  padding: 9px 12px;
  border-radius: 999px;
  background: white;
  color: var(--purple-deep);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.news-card-copy {
  padding: 26px;
}

.news-card-copy time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.news-card-copy h3 {
  margin: 12px 0 26px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.news-card-copy a {
  color: var(--purple);
  font-size: 13px;
  font-weight: 900;
}

.site-footer {
  padding-top: 76px;
  background: #251130;
  color: white;
}

.footer-grid {
  display: grid;
  gap: 44px;
  grid-template-columns: 1.7fr 0.8fr 1fr 0.9fr;
}

.brand-footer {
  color: white;
}

.site-footer .brand {
  padding: 10px 14px;
  border-radius: 14px;
  background: white;
}

.footer-grid > div:first-child > a {
  display: block;
  width: fit-content;
  margin-bottom: 34px;
}

.site-footer .brand-logo {
  width: 210px;
  height: auto;
  object-position: center;
}

.footer-intro {
  max-width: 350px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.7;
}

.social-follow {
  margin-top: 24px;
}

.social-follow > p {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.social-circle {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  color: white;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  cursor: default;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.social-icons a.social-circle {
  cursor: pointer;
}

.social-icons a.social-circle:hover {
  border-color: rgba(255, 255, 255, 0.38);
  transform: translateY(-2px);
}

.social-facebook {
  background: #1877f2;
}

.social-whatsapp {
  background: #25d366;
}

.social-instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  font-size: 19px;
}

.social-tiktok,
.social-x {
  background: #080808;
}

.social-tiktok {
  text-shadow: -1px 0 #25f4ee, 1px 0 #fe2c55;
}

.footer-grid h3 {
  margin: 8px 0 20px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-grid > div:not(:first-child) {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 12px;
}

.footer-grid a,
.footer-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  line-height: 1.5;
}

.footer-grid a:hover {
  color: white;
}

.footer-language {
  margin-top: 12px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 62px;
  padding-block: 22px;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
}

@media (max-width: 1000px) {
  .desktop-nav,
  .header-inner > .button-small {
    display: none;
  }

  .mobile-menu {
    position: relative;
    display: block;
    margin-left: auto;
  }

  .mobile-menu summary {
    display: grid;
    width: 44px;
    height: 44px;
    cursor: pointer;
    list-style: none;
    place-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 12px;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--purple-deep);
  }

  .mobile-menu nav {
    position: absolute;
    top: 55px;
    right: 0;
    display: grid;
    min-width: 250px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: white;
    box-shadow: 0 20px 60px rgba(37, 24, 47, 0.16);
  }

  .mobile-menu nav a {
    padding: 15px 20px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    font-weight: 700;
  }

  .hero-grid {
    min-height: auto;
    gap: 44px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    min-height: 620px;
  }

  .hero-image {
    left: 0;
  }

  .specialty-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .network-grid {
    gap: 54px;
    grid-template-columns: 1fr;
  }

  .story-grid,
  .feature-grid,
  .feature-grid-reverse {
    gap: 50px;
    grid-template-columns: 1fr;
  }

  .feature-grid-reverse .feature-copy {
    order: 2;
  }

  .feature-grid-reverse .feature-image {
    order: 1;
  }

  .feature-copy {
    max-width: 760px;
  }

  .feature-image {
    min-height: 540px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  :root {
    --shell: min(100% - 28px, 1180px);
  }

  .utility-inner {
    justify-content: center;
    text-align: center;
  }

  .utility-inner > p,
  .utility-links > a:nth-of-type(2),
  .utility-links > span {
    display: none;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy small {
    font-size: 8px;
  }

  .hero-grid {
    padding-block: 56px;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 66px);
  }

  .hero-actions,
  .hero-trust {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-actions {
    gap: 18px;
  }

  .hero-trust {
    display: grid;
    width: 100%;
    gap: 18px;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-trust strong {
    font-size: 20px;
  }

  .hero-visual {
    min-height: 470px;
  }

  .hero-image {
    inset: 0;
    border-radius: 180px 180px 28px 28px;
  }

  .purple-orbit {
    top: 28px;
    left: -14px;
    width: 68px;
    height: 68px;
    border-width: 14px;
  }

  .care-card {
    right: 10px;
    bottom: 18px;
    left: 10px;
    max-width: none;
  }

  .trust-items {
    padding-block: 18px;
    gap: 16px;
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-items p,
  .trust-items p:first-child,
  .trust-items p:last-child {
    justify-content: flex-start;
    border: 0;
    font-size: 11px;
  }

  .section-heading,
  .appointment-card {
    gap: 24px;
    grid-template-columns: 1fr;
  }

  .specialty-grid {
    grid-template-columns: 1fr;
  }

  .specialty-card {
    min-height: 310px;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .location-grid a,
  .location-grid a:nth-child(2n) {
    border-right: 0;
  }

  .story-copy h2,
  .feature-copy h2,
  .news-section h2 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .journey-step {
    padding: 24px 20px;
  }

  .feature-image {
    min-height: 440px;
    border-radius: 28px 100px 28px 28px;
  }

  .optical-image {
    border-radius: 100px 28px 28px 28px;
  }

  .news-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    gap: 18px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1000px) {
  .care-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, minmax(260px, 1fr));
  }

  .care-gallery-theatre,
  .care-gallery-facility {
    grid-row: auto;
    grid-column: auto;
  }

  .optical-home-image {
    min-height: 480px;
  }

  .news-feature-card {
    grid-template-columns: 1fr;
  }

  .news-feature-image,
  .news-feature-image img {
    min-height: 230px;
    aspect-ratio: 16 / 9;
  }

  .optical-slide-stage {
    min-height: 380px;
  }

  .partners-heading {
    align-items: start;
    gap: 20px;
    grid-template-columns: 1fr;
  }

  .partner-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .care-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .care-gallery-item {
    min-height: 290px;
  }

  .moderator-message-layout,
  .moderator-page-message {
    grid-template-columns: 1fr;
  }

  .moderator-photo-placeholder {
    width: min(190px, 70%);
    min-height: 220px;
    margin: 0 auto;
  }

  .optical-gallery,
  .optical-page-gallery {
    min-height: 0;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .optical-gallery figure,
  .optical-page-gallery figure {
    min-height: 210px;
  }

  .optical-gallery-main {
    grid-row: auto;
    grid-column: 1 / 3;
    min-height: 320px !important;
  }

  .optical-home-image {
    min-height: 380px;
    border-radius: 90px 26px 26px 26px;
  }

  .optical-slide-stage {
    min-height: 300px;
    border-radius: 22px;
  }

  .optical-slide-caption {
    right: 68px;
    bottom: 24px;
    left: 68px;
  }

  .optical-slide-caption span {
    display: none;
  }

  .slide-arrow {
    width: 42px;
    height: 42px;
  }

  .slide-arrow-left {
    left: 12px;
  }

  .slide-arrow-right {
    right: 12px;
  }

  .slide-thumbnails {
    gap: 7px;
  }

  .slide-thumbnails button {
    border-width: 2px;
    border-radius: 9px;
  }

  .news-feature-image,
  .news-feature-image img {
    min-height: 210px;
  }

  .partner-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-logo-card {
    min-height: 130px;
    padding: 18px;
  }

  .brand-logo {
    width: 145px;
    height: 54px;
  }

  .site-footer .brand-logo {
    width: 185px;
    height: auto;
  }
}

/* Multi-page archive navigation and directories */

.archive-nav {
  gap: 18px;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  white-space: nowrap;
}

.nav-item:has(.nav-dropdown) > a::before {
  display: inline-block;
  margin-right: 6px;
  color: var(--purple);
  content: "·";
}

.nav-dropdown,
.nav-flyout {
  position: absolute;
  z-index: 120;
  display: grid;
  min-width: 250px;
  padding: 10px;
  visibility: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 24px 70px rgba(37, 17, 48, 0.16);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 160ms ease;
}

.nav-dropdown {
  top: calc(100% + 12px);
  left: -18px;
}

.nav-flyout {
  top: -10px;
  left: calc(100% + 10px);
  max-height: min(70vh, 570px);
  overflow-y: auto;
}

.nav-item:hover > .nav-dropdown,
.nav-item:focus-within > .nav-dropdown,
.nav-subitem:hover > .nav-flyout,
.nav-subitem:focus-within > .nav-flyout {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.nav-dropdown a,
.nav-flyout a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.nav-dropdown a::after,
.nav-flyout a::after {
  display: none;
}

.nav-dropdown a:hover,
.nav-dropdown a:focus-visible,
.nav-flyout a:hover,
.nav-flyout a:focus-visible {
  background: var(--purple-pale);
  color: var(--purple-dark);
}

.nav-subitem {
  position: relative;
}

.mobile-menu nav details {
  border-bottom: 1px solid var(--line);
}

.mobile-menu nav details > summary {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  cursor: pointer;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  list-style: none;
}

.mobile-menu nav details > summary::after {
  content: "+";
  color: var(--purple);
}

.mobile-menu nav details[open] > summary::after {
  content: "−";
}

.mobile-menu nav details > summary::-webkit-details-marker {
  display: none;
}

.mobile-menu nav details a,
.mobile-nav-group {
  display: block;
}

.mobile-menu nav details a {
  padding-left: 30px;
  background: #fbf9fc;
}

.mobile-menu nav details .mobile-nested {
  padding-left: 44px;
  color: var(--muted);
  font-size: 12px;
}

.home-news-section {
  background: #fbf9fc;
}

.compact-heading {
  align-items: end;
  margin-bottom: 46px;
}

.compact-heading .text-link {
  justify-self: end;
}

.news-feature-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.news-feature-card {
  display: grid;
  overflow: hidden;
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: white;
  grid-template-columns: 1fr;
}

.news-feature-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--purple-pale);
}

.news-feature-image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  transition: transform 350ms ease;
}

.news-feature-card:hover .news-feature-image img {
  transform: scale(1.035);
}

.news-number {
  position: relative;
  display: grid;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 72% 24%, rgba(255, 255, 255, 0.34) 0 10%, transparent 10.5%),
    linear-gradient(145deg, var(--purple), var(--purple-deep));
  color: white;
}

.news-number::before,
.news-number::after {
  position: absolute;
  border: 16px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
}

.news-number::before {
  top: 44px;
  left: 40px;
  width: 78px;
  height: 78px;
}

.news-number::after {
  right: -60px;
  bottom: -40px;
  width: 150px;
  height: 150px;
}

.news-number-2 {
  background:
    radial-gradient(circle at 72% 24%, rgba(255, 255, 255, 0.25) 0 10%, transparent 10.5%),
    linear-gradient(145deg, #187c68, #173f3c);
}

.news-number span {
  position: relative;
  z-index: 1;
  font-size: 34px;
  font-weight: 900;
}

.news-feature-card > div:last-child {
  display: flex;
  align-items: flex-start;
  padding: 32px;
  flex-direction: column;
}

.news-category {
  margin: 0 0 14px;
  color: var(--purple);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-feature-card time {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.news-feature-card h2,
.news-feature-card h3 {
  margin: 12px 0 14px;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.news-feature-card > div:last-child > p:not(.news-category) {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.news-feature-card a {
  margin-top: auto;
  color: var(--purple);
  font-size: 13px;
  font-weight: 900;
}

.specialty-grid-seven {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.specialty-grid-seven .specialty-card:nth-child(n + 5) {
  grid-column: span 1;
}

.team-section {
  background:
    radial-gradient(circle at 90% 5%, rgba(145, 32, 232, 0.09), transparent 25%),
    var(--paper);
}

.doctor-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.doctor-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: white;
  box-shadow: 0 18px 50px rgba(50, 25, 69, 0.06);
}

.doctor-avatar {
  position: relative;
  display: grid;
  min-height: 220px;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.32) 0 10%, transparent 10.5%),
    linear-gradient(145deg, #8f1fe5, #3f105e);
}

.doctor-avatar::before,
.doctor-avatar::after {
  position: absolute;
  border: 28px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  content: "";
}

.doctor-avatar::before {
  top: 28px;
  right: 34px;
  width: 100px;
  height: 100px;
}

.doctor-avatar::after {
  right: -35px;
  bottom: -75px;
  width: 190px;
  height: 190px;
}

.doctor-avatar-2 {
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.24) 0 10%, transparent 10.5%),
    linear-gradient(145deg, #167965, #173f3c);
}

.doctor-avatar-3 {
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.26) 0 10%, transparent 10.5%),
    linear-gradient(145deg, #6f4b8b, #251130);
}

.doctor-avatar span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  font-size: 28px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.doctor-card > div:last-child {
  padding: 26px;
}

.doctor-card p {
  margin: 0 0 8px;
  color: var(--purple);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.doctor-card h2,
.doctor-card h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.25;
}

.doctor-card > div:last-child > span {
  display: block;
  min-height: 40px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.doctor-card a {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--purple);
  font-size: 12px;
  font-weight: 900;
}

.department-section {
  background: white;
}

.department-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.department-list > a {
  display: grid;
  align-items: center;
  padding: 24px 4px;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 54px 1fr 36px;
  transition:
    padding 180ms ease,
    background 180ms ease;
}

.department-list > a:hover {
  padding-inline: 18px;
  background: var(--purple-pale);
}

.department-list > a > span {
  color: var(--purple);
  font-size: 12px;
  font-weight: 900;
}

.department-list h2,
.department-list h3 {
  margin: 0 0 5px;
  color: var(--ink);
  font-size: 21px;
}

.department-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.department-list b {
  color: var(--purple);
  font-size: 18px;
}

.inner-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(78px, 10vw, 132px);
  background:
    radial-gradient(circle at 86% 10%, rgba(189, 79, 255, 0.28), transparent 24%),
    radial-gradient(circle at 12% 95%, rgba(145, 32, 232, 0.32), transparent 30%),
    var(--purple-deep);
  color: white;
}

.inner-hero::after {
  position: absolute;
  top: -120px;
  right: -90px;
  width: 340px;
  height: 340px;
  border: 60px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.inner-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: end;
  gap: 60px;
  grid-template-columns: 1.25fr 0.75fr;
}

.inner-hero h1 {
  max-width: 820px;
  margin: 20px 0 0;
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.inner-hero-grid > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.7;
}

.service-directory {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-directory .specialty-card {
  min-height: 360px;
}

.detail-section {
  background: var(--paper);
}

.detail-grid {
  display: grid;
  align-items: start;
  gap: clamp(48px, 8vw, 100px);
  grid-template-columns: 0.9fr 1.1fr;
}

.detail-grid article h2,
.prose-card h2,
.profile-card h2,
.article-body h2 {
  margin: 18px 0 24px;
  color: var(--ink);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.detail-grid article > p:last-child,
.prose-card > p,
.profile-card p,
.article-body p,
.article-body li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.detail-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: white;
  box-shadow: 0 24px 70px rgba(50, 25, 69, 0.08);
}

.detail-list > div {
  display: grid;
  align-items: center;
  min-height: 86px;
  padding: 22px 26px;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 48px 1fr;
}

.detail-list > div:last-child {
  border-bottom: 0;
}

.detail-list span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--purple-pale);
  color: var(--purple);
  font-size: 11px;
  font-weight: 900;
}

.detail-list p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.doctor-directory {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-card {
  display: grid;
  align-items: center;
  gap: clamp(38px, 7vw, 90px);
  padding: clamp(28px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: white;
  grid-template-columns: 0.55fr 1.45fr;
  box-shadow: 0 24px 70px rgba(50, 25, 69, 0.08);
}

.profile-avatar {
  display: grid;
  min-height: 360px;
  place-items: center;
  border-radius: 28px 110px 28px 28px;
  background:
    radial-gradient(circle at 65% 25%, rgba(255, 255, 255, 0.28) 0 10%, transparent 10.5%),
    linear-gradient(145deg, var(--purple), var(--purple-deep));
  color: white;
  font-size: 64px;
  font-weight: 900;
}

.profile-language {
  color: var(--purple) !important;
  font-size: 13px !important;
  font-weight: 900;
}

.news-index {
  background: var(--paper);
}

.article-body,
.prose-card {
  max-width: 850px;
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: white;
  box-shadow: 0 22px 70px rgba(50, 25, 69, 0.07);
}

.article-body {
  --article-padding: clamp(28px, 6vw, 64px);
  padding: var(--article-padding);
}

.article-body time {
  color: var(--purple);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-featured-image {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin: calc(0px - var(--article-padding))
    calc(0px - var(--article-padding)) 38px;
  border-radius: 28px 28px 0 0;
  background: var(--purple-pale);
}

.article-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.article-body h3 {
  margin: 34px 0 14px;
  color: var(--ink);
  font-size: 24px;
}

.article-body ul {
  display: grid;
  margin: 0 0 28px;
  padding-left: 22px;
  gap: 10px;
}

.location-directory {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.location-directory > a {
  display: grid;
  align-items: center;
  min-height: 150px;
  padding: 28px;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: white;
  grid-template-columns: 48px 1fr 28px;
  transition:
    border 180ms ease,
    transform 180ms ease;
}

.location-directory > a:hover {
  border-color: var(--purple);
  transform: translateY(-3px);
}

.location-directory > a > span {
  color: var(--purple);
  font-size: 12px;
  font-weight: 900;
}

.location-directory h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.location-directory p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.pill-list {
  display: flex;
  margin: 34px 0 0;
  padding: 0;
  gap: 10px;
  flex-wrap: wrap;
  list-style: none;
}

.pill-list li {
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--purple-pale);
  color: var(--purple-deep);
  font-size: 12px;
  font-weight: 800;
}

.contact-actions {
  display: flex;
  margin-top: 34px;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 1180px) {
  .archive-nav {
    gap: 12px;
    font-size: 12px;
  }

  .header-inner {
    gap: 18px;
  }

  .header-appointment {
    padding-inline: 15px;
  }
}

@media (max-width: 1000px) {
  .news-feature-grid,
  .doctor-grid,
  .specialty-grid-seven,
  .service-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inner-hero-grid,
  .detail-grid {
    gap: 34px;
    grid-template-columns: 1fr;
  }

  .profile-card {
    grid-template-columns: 0.75fr 1.25fr;
  }
}

@media (max-width: 720px) {
  .compact-heading .text-link {
    justify-self: start;
  }

  .news-feature-grid,
  .doctor-grid,
  .specialty-grid-seven,
  .service-directory,
  .location-directory {
    grid-template-columns: 1fr;
  }

  .news-feature-card {
    grid-template-columns: 1fr;
  }

  .news-number {
    min-height: 150px;
  }

  .doctor-avatar {
    min-height: 190px;
  }

  .inner-hero {
    padding-block: 70px;
  }

  .inner-hero h1 {
    font-size: clamp(44px, 14vw, 62px);
  }

  .department-list > a {
    gap: 14px;
    grid-template-columns: 36px 1fr 20px;
  }

  .profile-card {
    padding: 22px;
    grid-template-columns: 1fr;
  }

  .profile-avatar {
    min-height: 290px;
  }
}


/* Official PCC Moderator portrait */
.moderator-photo {
  border-style: solid;
  background: #f3edf8;
}
.moderator-photo img {
  width: 100%;
  height: 100%;
  min-height: 164px;
  display: block;
  object-fit: cover;
  object-position: center 18%;
}
.moderator-page-message .moderator-photo img {
  min-height: 200px;
}


/* Standardized doctor portraits */
.doctor-grid .doctor-card:nth-child(n+2):nth-child(-n+6) .doctor-avatar {
  min-height: 300px;
  background-repeat: no-repeat !important;
  background-position: center 18% !important;
  background-size: cover !important;
}
.doctor-grid .doctor-card:nth-child(n+2):nth-child(-n+6) .doctor-avatar::before,
.doctor-grid .doctor-card:nth-child(n+2):nth-child(-n+6) .doctor-avatar::after,
.doctor-grid .doctor-card:nth-child(n+2):nth-child(-n+6) .doctor-avatar > span {
  display: none;
}
.doctor-grid .doctor-card:nth-child(2) .doctor-avatar { background-image: url("https://achaeyehospitals.org/wp-content/uploads/2026/08/dr-nchifor-alice-agbor.webp") !important; }
.doctor-grid .doctor-card:nth-child(3) .doctor-avatar { background-image: url("https://achaeyehospitals.org/wp-content/uploads/2026/08/dr-ngounou-faustin.webp") !important; }
.doctor-grid .doctor-card:nth-child(4) .doctor-avatar { background-image: url("https://achaeyehospitals.org/wp-content/uploads/2026/08/dr-awum-joyce-teko.webp") !important; }
.doctor-grid .doctor-card:nth-child(5) .doctor-avatar { background-image: url("https://achaeyehospitals.org/wp-content/uploads/2026/08/dr-meskerem-shibiru.webp") !important; }
.doctor-grid .doctor-card:nth-child(6) .doctor-avatar { background-image: url("https://achaeyehospitals.org/wp-content/uploads/2026/08/dr-attha-elizabeth.webp") !important; }

.acha-team-grid .acha-person:nth-child(n+2):nth-child(-n+6) > a > span:first-child {
  display: block;
  width: calc(100% + 60px);
  height: 300px;
  margin: -30px -30px 24px;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
  background-repeat: no-repeat;
  background-position: center 18%;
  background-size: cover;
  color: transparent;
  font-size: 0;
}
.acha-team-grid .acha-person:nth-child(2) > a > span:first-child { background-image: url("https://achaeyehospitals.org/wp-content/uploads/2026/08/dr-nchifor-alice-agbor.webp"); }
.acha-team-grid .acha-person:nth-child(3) > a > span:first-child { background-image: url("https://achaeyehospitals.org/wp-content/uploads/2026/08/dr-ngounou-faustin.webp"); }
.acha-team-grid .acha-person:nth-child(4) > a > span:first-child { background-image: url("https://achaeyehospitals.org/wp-content/uploads/2026/08/dr-awum-joyce-teko.webp"); }
.acha-team-grid .acha-person:nth-child(5) > a > span:first-child { background-image: url("https://achaeyehospitals.org/wp-content/uploads/2026/08/dr-meskerem-shibiru.webp"); }
.acha-team-grid .acha-person:nth-child(6) > a > span:first-child { background-image: url("https://achaeyehospitals.org/wp-content/uploads/2026/08/dr-attha-elizabeth.webp"); }


/* Optimized transparent sticky navigation */
.site-header,
.site-header .header-inner,
.site-header .brand-logo,
.site-header .desktop-nav > .nav-item > a,
.site-header .header-appointment {
  transition:
    min-height 220ms ease,
    height 220ms ease,
    width 220ms ease,
    color 180ms ease,
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(145, 32, 232, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.52), rgba(220, 181, 247, 0.42));
  box-shadow: 0 14px 38px rgba(53, 16, 72, 0.13);
  -webkit-backdrop-filter: saturate(155%) blur(26px);
  backdrop-filter: saturate(155%) blur(26px);
}

.site-header.is-scrolled .header-inner {
  min-height: 68px;
}

.site-header.is-scrolled .brand-logo {
  width: 158px;
  height: 54px;
  filter: drop-shadow(0 3px 8px rgba(255, 255, 255, 0.75));
}

.site-header.is-scrolled .desktop-nav > .nav-item > a {
  color: #351048;
  font-weight: 800;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.9);
}

.site-header.is-scrolled .desktop-nav > .nav-item > a:hover,
.site-header.is-scrolled .desktop-nav > .nav-item > a:focus-visible {
  color: #7216b8;
}

.site-header.is-scrolled .header-appointment {
  border-color: rgba(88, 17, 138, 0.78);
  background: rgba(78, 17, 115, 0.9);
  box-shadow: 0 8px 22px rgba(53, 16, 72, 0.2);
  color: #fff;
  text-shadow: none;
}

.site-header.is-scrolled .nav-dropdown,
.site-header.is-scrolled .nav-flyout {
  border-color: rgba(145, 32, 232, 0.18);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(53, 16, 72, 0.16);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}

.site-header.is-scrolled .mobile-menu > summary span {
  background: #351048;
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header.is-scrolled {
    background: rgba(247, 239, 252, 0.96);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header * {
    scroll-behavior: auto;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 720px) {
  .site-header.is-scrolled .header-inner {
    min-height: 64px;
  }

  .site-header.is-scrolled .brand-logo {
    width: 145px;
    height: 50px;
  }

  .site-header.is-scrolled .mobile-menu nav {
    border: 1px solid rgba(145, 32, 232, 0.18);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 18px 42px rgba(53, 16, 72, 0.18);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
  }
}
