:root {
  --aayat-50: #F0FAFA;
  --aayat-100: #D8F3F3;
  --aayat-300: #77D5D5;
  --aayat-400: #43BEC0;
  --aayat-500: #20B2AA;
  --aayat-600: #12908C;
  --aayat-700: #0F7370;
  --aayat-900: #0E403F;
  --aayat-950: #082826;
  --canvas: #FBFAF7;
  --paper: #FFFFFF;
  --sand-100: #F3EDE3;
  --sand-200: #E8D8C0;
  --brass: #C8A24A;
  --plum: #7A2438;
  --ink: #10312F;
  --muted: #4E625F;
  --line: #E2E8E6;
  --hi: #ABE6E6;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --arch: 999px 999px 24px 24px;
  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 40px);
  --header-h: 88px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  font-feature-settings: "ss01", "cv05";
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  overflow-x: clip;
  max-width: 100%;
  padding-bottom: 0;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
a { color: var(--aayat-700); text-decoration: none; }
a:hover { color: #115C5A; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }

[data-reveal] { will-change: opacity, transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}

/* -- Layout -- */
.wrap {
  width: min(100% - (var(--pad) * 2), var(--wrap));
  margin-inline: auto;
}

.section {
  padding: clamp(48px, 7vw, 96px) var(--pad);
  position: relative;
}

.section--canvas { background: var(--canvas); }
.section--wash { background: var(--aayat-50); }
.section--sand { background: var(--sand-100); }
.section--wall {
  background: var(--aayat-900);
  color: var(--aayat-100);
  overflow: hidden;
}
.section--deep {
  background: var(--aayat-950);
  color: var(--aayat-100);
  text-align: center;
  overflow: hidden;
}

.eyebrow-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.brass-rule {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brass);
  flex: none;
}

.eyebrow {
  font: 600 0.75rem/1 Inter, system-ui, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--aayat-700);
}

.section--wall .eyebrow,
.section--deep .eyebrow { color: var(--aayat-300); }

.h1 {
  font-family: Fraunces, Newsreader, Georgia, serif;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
  font-weight: 600;
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -.018em;
  color: var(--ink);
}

.h1--hero {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  letter-spacing: -.02em;
  max-width: 19ch;
}

.h1 em, .h2 em { font-style: italic; color: var(--aayat-700); }

.h2 {
  font-family: Fraunces, Newsreader, Georgia, serif;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -.012em;
  color: var(--ink);
}

.lead {
  margin-top: 18px;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 56ch;
}

.prose {
  margin-top: 18px;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 62ch;
}

.display-num {
  font-family: Fraunces, Georgia, serif;
  font-variation-settings: "opsz" 144;
  font-weight: 600;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--aayat-500);
  font-variant-numeric: tabular-nums;
}

.section--wall .display-num,
.section--deep .display-num { color: var(--canvas); }

/* -- Girih -- */
.has-girih { position: relative; }
.has-girih::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='104' height='104' viewBox='0 0 104 104'%3E%3Cg fill='none' stroke='%23FBFAF7' stroke-width='1'%3E%3Crect x='26' y='26' width='52' height='52'/%3E%3Crect x='26' y='26' width='52' height='52' transform='rotate(45 52 52)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 104px 104px;
}

/* -- Arch media -- */
.arch-frame {
  position: relative;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  padding: 0 14px 14px 0;
  box-sizing: border-box;
}

.arch-frame__offset {
  position: absolute;
  top: 14px;
  right: 0;
  bottom: 0;
  left: 14px;
  background: var(--sand-200);
  border-radius: var(--arch);
  pointer-events: none;
}

.arch-frame__offset--brass {
  background: #C9A36F;
}

.arch-frame img,
.arch-media {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--arch);
  box-shadow: 0 4px 12px rgba(16, 49, 47, .07), 0 12px 28px rgba(16, 49, 47, .05);
}

.arch-frame--landscape img {
  aspect-ratio: 4 / 3;
}

/* Pull-quotes in photo columns: same arch, tall enough that text is not clipped */
.arch-quote {
  position: relative;
  z-index: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  padding: clamp(48px, 10vw, 80px) clamp(40px, 8vw, 64px);
  border-radius: var(--arch);
  background: var(--aayat-900);
  box-sizing: border-box;
}

.arch-quote--teal {
  background: #115C5A;
}

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

.arch-quote__icon {
  display: block;
  width: 26px;
  height: 26px;
  color: var(--aayat-300);
  margin-bottom: 24px;
  flex: none;
}

.arch-quote--teal .arch-quote__icon {
  color: var(--hi);
}

.arch-quote p {
  font-family: Fraunces, Newsreader, Georgia, serif;
  font-variation-settings: "opsz" 120;
  font-weight: 400;
  font-size: clamp(1.25rem, 2.4vw, 1.875rem);
  line-height: 1.35;
  color: var(--canvas);
}

/* -- Clinic gallery (About) -- */
.clinic-gallery {
  margin-top: clamp(32px, 4vw, 48px);
  display: grid;
  gap: 28px 24px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  align-items: start;
}

.clinic-shot {
  margin: 0;
  min-width: 0;
}

.clinic-shot__btn {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0 14px 14px 0;
  box-sizing: border-box;
  text-align: left;
  cursor: zoom-in;
  background: none;
  border: 0;
}

.clinic-shot__offset {
  position: absolute;
  top: 12px;
  right: 0;
  bottom: 0;
  left: 12px;
  background: var(--sand-200);
  border-radius: var(--arch);
  pointer-events: none;
}

.clinic-shot__btn img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--arch);
  box-shadow: 0 4px 12px rgba(16, 49, 47, .07);
}

.clinic-shot__btn img[src*="consulting-room"] { object-position: 64% 52%; }
.clinic-shot__btn img[src*="waiting-area"] { object-position: 58% 42%; }
.clinic-shot__btn img[src*="materia-medica"] { object-position: 40% 42%; }

.clinic-shot figcaption {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  padding-right: 14px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 32ch;
}

/* -- Buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 999px;
  font: 600 0.9375rem/1 Inter, system-ui, sans-serif;
  transition: background 160ms var(--ease), transform 160ms var(--ease), box-shadow 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease);
}

.btn [data-icon] {
  display: block;
  width: 17px;
  height: 17px;
  flex: none;
}

[data-icon="whatsapp"] svg {
  display: block;
  width: 100%;
  height: 100%;
}

.btn--primary {
  background: var(--aayat-600);
  color: #fff;
}
.btn--primary:hover {
  background: var(--aayat-700);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(18, 144, 140, .24);
}

.btn--secondary {
  background: transparent;
  color: var(--aayat-700);
  border: 1.5px solid var(--aayat-600);
}
.btn--secondary:hover {
  background: var(--aayat-50);
  color: var(--aayat-700);
}

.btn--ghost-light {
  margin-top: 18px;
  padding: 11px 20px;
  border: 1.5px solid rgba(171, 230, 230, .4);
  color: var(--canvas);
  font: 600 0.9375rem/1 Inter, system-ui, sans-serif;
}
.btn--ghost-light:hover {
  background: rgba(171, 230, 230, .12);
  color: var(--canvas);
}

.btn--sm { padding: 13px 26px; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* -- Header -- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 250, 247, .9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 240ms var(--ease), box-shadow 240ms var(--ease);
}

.site-header.is-solid {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 2px rgba(16, 49, 47, .05), 0 2px 6px rgba(16, 49, 47, .04);
}

.site-header__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 8px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  flex: none;
  line-height: 0;
  color: inherit;
}

.brand__logo {
  display: block;
  height: 72px;
  width: auto;
  max-width: min(280px, 62vw);
  object-fit: contain;
}

.brand--footer .brand__logo {
  height: 88px;
  max-width: 280px;
}

@media (max-width: 479px) {
  .site-header .brand__logo {
    height: 56px;
  }
}

/* Portfolio: doctor name lockup (gulfisha.com) */
.brand--doctor {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  line-height: 1.15;
  color: var(--ink);
}

.brand--doctor:hover { color: var(--ink); }

.brand__name {
  font-family: Fraunces, Newsreader, Georgia, serif;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
  font-weight: 600;
  font-size: clamp(1.125rem, 2.4vw, 1.375rem);
  letter-spacing: -.015em;
}

.brand__sub {
  font: 500 0.6875rem/1.3 Inter, system-ui, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--aayat-700);
}

.clinic-invite {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  align-items: center;
}

.clinic-invite__panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 40px);
}

.clinic-invite__panel h3 {
  font: 600 1.25rem/1.35 Inter, system-ui, sans-serif;
  color: var(--ink);
}

.clinic-invite__panel p {
  margin-top: 10px;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 42ch;
}

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

.nav-desktop {
  display: none;
  align-items: center;
  gap: 30px;
}

.nav-link {
  padding-bottom: 5px;
  font: 500 0.9375rem/1.4 Inter, system-ui, sans-serif;
  color: var(--ink);
  background-image: linear-gradient(var(--aayat-400), var(--aayat-400));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 3px;
  transition: background-size 240ms var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink);
  background-size: 100% 3px;
}

.menu-toggle {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  color: #115C5A;
}

.menu-toggle [data-icon] {
  display: block;
  width: 22px;
  height: 22px;
}

@media (min-width: 860px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
  .mobile-bar { display: none !important; }
}

/* -- Mobile menu -- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--canvas);
  display: flex;
  flex-direction: column;
  padding: 20px clamp(20px, 6vw, 40px) 32px;
}

.mobile-menu[hidden] { display: none; }

.mobile-menu__top {
  display: flex;
  justify-content: flex-end;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 24px;
}

.mobile-menu__nav a {
  text-align: left;
  padding: 12px 0;
  font-family: Fraunces, Newsreader, Georgia, serif;
  font-variation-settings: "opsz" 120;
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.2;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.mobile-menu__nav a:last-child { border-bottom: 0; }

.mobile-menu__meta {
  margin-top: auto;
  padding-top: 32px;
  display: grid;
  gap: 6px;
}

.mobile-menu__meta a {
  font: 500 1.0625rem/1.6 Inter, system-ui, sans-serif;
  color: var(--ink);
}

.mobile-menu__meta p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 40ch;
}

/* -- Mobile action bar -- */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: flex;
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 250, 247, .96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transition: transform 240ms var(--ease);
}

.mobile-bar.is-hidden { transform: translateY(140%); }

.mobile-bar__call,
.mobile-bar__wa {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 56px;
  border-radius: 999px;
  font: 600 1rem/1 Inter, system-ui, sans-serif;
}

.mobile-bar__call {
  border: 1.5px solid var(--aayat-600);
  color: var(--aayat-700);
}

.mobile-bar__wa {
  background: #25D366;
  color: #06301A;
}

.mobile-bar [data-icon] {
  display: block;
  width: 18px;
  height: 18px;
}

/* -- Tags / chips -- */
.tag {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--sand-100);
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.check-list {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  gap: 12px;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
}

.check-list [data-icon] {
  display: block;
  width: 19px;
  height: 19px;
  color: var(--aayat-600);
  margin-top: 4px;
  flex: none;
}

/* -- Hours -- */
.hours-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  padding: 8px 18px 8px 14px;
  border-radius: 999px;
  background: var(--canvas);
  font: 500 1rem/1.5 Inter, system-ui, sans-serif;
  color: var(--ink);
}

.hours-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #157F5F;
}

.hours-chip--closed .hours-dot { background: #A14A3A; }

.hours-chip[hidden],
[data-hours-open][hidden],
[data-hours-closed][hidden] {
  display: none !important;
}

/* -- Grids -- */
.grid-2 {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.grid-stats {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr));
  margin-top: 32px;
}

.grid-cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}

.grid-concerns {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  margin-top: clamp(32px, 4vw, 48px);
}

.concern-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  font: 600 0.9375rem/1.4 Inter, system-ui, sans-serif;
  color: var(--ink);
  transition: border-color 160ms var(--ease), background 160ms var(--ease);
}

.concern-link:hover {
  border-color: var(--aayat-300);
  background: var(--aayat-50);
  color: var(--ink);
}

.concern-link [data-icon] {
  display: block;
  width: 19px;
  height: 19px;
  color: var(--aayat-600);
  flex: none;
}

@media (min-width: 860px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-2--flip > :first-child { order: 2; }
}

/* -- Journey timeline (About) -- */
.journey {
  margin: clamp(32px, 4vw, 48px) 0 0;
  padding: 0 0 0 1.75rem;
  list-style: none;
  border-left: 2px solid var(--hi);
  display: grid;
  gap: 2.5rem;
}

.journey__item {
  position: relative;
  list-style: none;
}

.journey__marker {
  position: absolute;
  left: calc(-1.75rem - 1px - 12px);
  top: 0.1rem;
  width: 24px;
  height: 28px;
  border-radius: 999px 999px 6px 6px;
  background: var(--aayat-600);
  box-shadow: 0 0 0 5px var(--canvas);
  pointer-events: none;
}

.journey__marker--mid { background: var(--aayat-300); }
.journey__marker--soft { background: var(--hi); }

.journey__date {
  font: 600 0.75rem/1.2 Inter, system-ui, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--aayat-700);
}

.journey__title {
  margin-top: 10px;
  font: 600 clamp(1.25rem, 2vw, 1.5rem)/1.3 Inter, system-ui, sans-serif;
  color: var(--ink);
}

.journey__place {
  margin-top: 4px;
  font-size: 1rem;
  line-height: 1.6;
  color: #7C8D8B;
}

.journey__points {
  margin-top: 16px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.journey__points li {
  display: flex;
  gap: 12px;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 62ch;
}

.journey__points li::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  margin-top: 0.7em;
  border-radius: 999px;
  background: var(--aayat-300);
  flex: none;
}

/* -- Timeline -- */
.timeline {
  display: grid;
  gap: 28px;
  margin-top: 48px;
  padding: 0;
  list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}

.timeline__step {
  position: relative;
  list-style: none;
  padding: 36px 0 0;
  border-top: 1.5px dashed var(--aayat-300);
}

.timeline__n {
  position: absolute;
  top: -22px;
  left: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 46px;
  border-radius: 999px 999px 8px 8px;
  background: var(--aayat-600);
  color: var(--canvas);
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
  font-size: 1.125rem;
  box-shadow: 0 0 0 6px var(--aayat-50);
}

.timeline--on-wall {
  margin-top: clamp(36px, 5vw, 56px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

.timeline--on-wall .timeline__step {
  border-top-color: rgba(119, 213, 213, .5);
}

.timeline--on-wall .timeline__n {
  width: 42px;
  height: 48px;
  top: -23px;
  background: var(--aayat-400);
  color: var(--aayat-950);
  font-size: 1.1875rem;
  box-shadow: 0 0 0 6px var(--aayat-900);
}

.timeline--on-wall .timeline__step h3 {
  font: 600 1.125rem/1.4 Inter, system-ui, sans-serif;
  color: var(--canvas);
}

.timeline--on-wall .timeline__step p {
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--hi);
  max-width: 36ch;
}

.timeline__step h3 {
  font: 600 1.0625rem/1.4 Inter, system-ui, sans-serif;
  color: var(--ink);
}

.timeline__step p {
  margin-top: 8px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--muted);
}

/* -- Testimonials -- */
.quote-card {
  position: relative;
  z-index: 0;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  /* Soft radius - not the photo arch, which clips text at the top */
  border-radius: 24px;
  padding: 28px 28px 24px;
  min-width: 0;
}

.quote-card__mark {
  position: absolute;
  right: 16px;
  bottom: -28px;
  z-index: 0;
  font-family: Fraunces, Georgia, serif;
  font-size: 7.5rem;
  line-height: 1;
  color: var(--plum);
  opacity: .08;
  pointer-events: none;
  user-select: none;
}

.quote-card > *:not(.quote-card__mark) {
  position: relative;
  z-index: 1;
}

.quote-card blockquote {
  font-family: Fraunces, Newsreader, Georgia, serif;
  font-variation-settings: "opsz" 120;
  font-weight: 400;
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.55;
  color: var(--ink);
  flex: 1;
}

.quote-card__meta {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.quote-card__meta span:first-child {
  font: 600 1rem/1.4 Inter, system-ui, sans-serif;
  color: var(--ink);
}

.quote-card__meta span:last-child {
  font: 500 0.8125rem/1.4 Inter, system-ui, sans-serif;
  color: #7C8D8B;
}

.quote-card cite {
  display: block;
  margin-top: 18px;
  font: 500 0.875rem/1.5 Inter, system-ui, sans-serif;
  color: var(--muted);
  font-style: normal;
}

/* -- FAQ -- */
.faq-list { display: grid; gap: 0; }

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  text-align: left;
  font: 600 1.0625rem/1.45 Inter, system-ui, sans-serif;
  color: var(--ink);
}

.faq-item__sign {
  color: var(--aayat-600);
  font-size: 1.25rem;
  line-height: 1;
  flex: none;
}

.faq-item__a {
  padding: 0 0 18px;
}

.faq-item__a p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 62ch;
}

.faq-item.is-open .faq-item__sign { content: "−"; }

/* -- Forms -- */
.contact-form {
  display: grid;
  gap: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 36px);
}

.contact-form label {
  display: grid;
  gap: 6px;
  font: 600 0.875rem/1.4 Inter, system-ui, sans-serif;
  color: var(--ink);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--canvas);
  transition: border-color 160ms var(--ease);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--aayat-400);
}

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

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

.form-error {
  color: #A14A3A;
  font-size: 0.9375rem;
}

.form-success {
  color: var(--aayat-700);
  font-size: 0.9375rem;
}

/* -- Footer -- */
.site-footer {
  background: var(--aayat-950);
  color: var(--aayat-100);
  padding: clamp(56px, 7vw, 88px) var(--pad) 0;
  /* Mobile bar clearance stays inside the dark footer - no light gap below */
}

@media (max-width: 859px) {
  .site-footer {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
}

.site-footer__grid {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}

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

@media (min-width: 1100px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1.1fr 1.2fr;
  }
}

.site-footer__blurb {
  margin-top: 20px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--hi);
  max-width: 34ch;
}

.site-footer__hi {
  margin-top: 18px;
  font-family: "Noto Sans Devanagari", Inter, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--aayat-300);
}

.footer-heading {
  font: 600 0.75rem/1 Inter, system-ui, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
}

.footer-list {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.footer-list a {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--aayat-100);
}

.footer-list a:hover { color: var(--canvas); }

.footer-list--icons a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-list--icons [data-icon] {
  display: block;
  width: 17px;
  height: 17px;
  color: var(--aayat-300);
  flex: none;
}

.footer-social {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(171, 230, 230, .28);
  color: var(--aayat-100);
}

.footer-social a:hover {
  color: var(--canvas);
  background: rgba(171, 230, 230, .12);
  border-color: rgba(171, 230, 230, .5);
}

.footer-social [data-icon] {
  display: block;
  width: 18px;
  height: 18px;
}

.site-footer__addr {
  margin-top: 18px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--hi);
  max-width: 30ch;
}

.site-footer__addr + .site-footer__addr { margin-top: 12px; }

.site-footer__meta {
  max-width: var(--wrap);
  margin: clamp(40px, 5vw, 64px) auto 0;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(171, 230, 230, .18);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #7C8D8B;
}

.site-footer__meta a { color: var(--hi); }
.site-footer__meta a:hover { color: var(--canvas); }

/* -- Lightbox -- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(8, 40, 38, .94);
}

.lightbox[hidden] { display: none; }

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1.5px solid rgba(171, 230, 230, .4);
  color: var(--canvas);
}

.lightbox__close [data-icon] {
  display: block;
  width: 22px;
  height: 22px;
}

.lightbox__figure { max-width: 1000px; width: 100%; }

.lightbox__figure img {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border-radius: 20px;
}

.lightbox__figure figcaption {
  margin-top: 16px;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--hi);
}

/* -- Page helpers for converted inline design -- */
/* Preserve design inline styles; lightly normalize converted anchors */
main a[style]:hover { opacity: .95; }

.page-home main,
.page-about main,
.page-services main,
.page-contact main {
  min-height: 40vh;
}

/* Map placeholder */
.map-frame {
  border: 0;
  width: 100%;
  min-height: 320px;
  border-radius: 24px;
  background: var(--aayat-50);
}

.map-idle {
  display: grid;
  place-items: center;
  min-height: 320px;
  border-radius: 24px;
  background: var(--aayat-50);
  border: 1px solid var(--line);
  text-align: center;
  padding: 24px;
  gap: 16px;
}

/* -- Mobile / small-screen hardening -- */
@media (max-width: 859px) {
  body {
    font-size: 1rem;
  }

  main {
    overflow-x: clip;
    max-width: 100%;
  }

  main img,
  main svg,
  main video,
  main iframe {
    max-width: 100% !important;
  }

  main iframe {
    width: 100% !important;
    height: clamp(220px, 55vw, 360px) !important;
  }

  /* Stack multi-column auto-fit grids on phones */
  main [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    width: 100%;
    max-width: 100%;
  }

  /* Keep denser link chips / condition tags in 2 cols when they use small mins */
  main ul[style*="minmax(min(100%, 12rem)"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  main [style*="margin-left: auto"] {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: min(100%, 420px) !important;
  }

  main a[style*="white-space: nowrap"] {
    white-space: normal !important;
  }

  main a[style*="display: inline-flex"],
  main a[style*="display:inline-flex"] {
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
  }

  /* Decorative blobs must not widen the page */
  main [aria-hidden="true"][style*="position: absolute"],
  main [aria-hidden="true"][style*="position:absolute"] {
    max-width: min(70vw, 280px) !important;
  }

  .site-footer__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px 0;
    padding-bottom: 20px;
  }

  .site-footer__grid {
    gap: 32px;
  }

  .mobile-bar {
    display: flex;
  }

  .btn,
  .btn--ghost-light {
    max-width: 100%;
  }

  .hours-chip {
    max-width: 100%;
    flex-wrap: wrap;
  }

  .faq-item__q {
    font-size: 1rem !important;
    gap: 12px;
  }
}

@media (max-width: 479px) {
  main ul[style*="minmax(min(100%, 12rem)"] {
    grid-template-columns: 1fr !important;
  }

  /* Hero CTAs full-width on very small screens */
  main div[style*="display: flex"][style*="flex-wrap"] > a[style*="padding: 15px"],
  main div[style*="display: flex"][style*="flex-wrap"] > a[style*="padding:15px"],
  main div[style*="display:flex"][style*="flex-wrap"] > a {
    flex: 1 1 100%;
  }
}

/* Desktop+: hide mobile bar (already set); ensure no leftover clearance */
@media (min-width: 860px) {
  .site-footer {
    padding-bottom: 0;
  }

  .mobile-bar {
    display: none !important;
  }
}

