/* ==========================================================================
   Fonts (self-hosted, no third-party requests)
   ========================================================================== */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;

  --bg: #f7f4ec;
  --bg-alt: #efe9da;
  --surface: #ffffff;
  --surface-2: #f2eee3;
  --border: #e3dccb;
  --text: #17261f;
  --text-muted: #56655e;
  --primary: #1e7a4c;
  --primary-strong: #145c39;
  --primary-soft: #e2f0e7;
  --on-primary: #ffffff;
  --gold: #a87414;
  --gold-soft: #f8ecd0;
  --night: #0c1d18;
  --night-2: #12302a;

  --shadow-md: 0 1px 2px rgba(23, 38, 31, 0.05), 0 12px 32px -14px rgba(23, 38, 31, 0.18);
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1160px;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1a17;
    --bg-alt: #0f221e;
    --surface: #12231e;
    --surface-2: #182e27;
    --border: #23413a;
    --text: #e8f1ec;
    --text-muted: #a2b8af;
    --primary: #52c48d;
    --primary-strong: #7fd8ab;
    --primary-soft: #183a2c;
    --on-primary: #05170f;
    --gold: #e7b75a;
    --gold-soft: #3a2e16;
    --night: #071310;
    --night-2: #0d2620;
    --shadow-md: 0 1px 2px rgba(0, 0, 0, 0.3), 0 14px 36px -16px rgba(0, 0, 0, 0.7);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  overflow-wrap: break-word;
  hyphens: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

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

a {
  color: var(--primary);
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

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

.btn--primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--primary) 85%, transparent);
}

.btn--primary:hover {
  background: var(--primary-strong);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn--ghost:hover {
  background: var(--surface);
}

.btn--small {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 0.92rem;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
}

.site-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 550;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}

.site-nav a:hover {
  color: var(--text);
  background: var(--surface-2);
}

.brand + .lang-switch {
  margin-left: auto;
}

.lang-switch {
  display: flex;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-2);
}

.lang-switch a {
  padding: 5px 9px;
  border-radius: 9px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.lang-switch a:hover {
  color: var(--text);
}

.lang-switch a[aria-current="page"] {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .lang-switch {
    margin-left: auto;
  }
}

@media (max-width: 520px) {
  .site-header__inner {
    gap: 10px;
    height: 64px;
  }

  .brand span {
    display: none;
  }

  .site-header .btn--small {
    display: none;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }
}

.site-header .btn--small {
  white-space: nowrap;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 24px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 120%;
  background:
    radial-gradient(40% 50% at 78% 40%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 70%),
    radial-gradient(35% 40% at 20% 10%, color-mix(in srgb, var(--gold) 14%, transparent), transparent 70%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary-strong);
  font-size: 0.85rem;
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft);
}

.hero h1 {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.6vw, 4.1rem);
  font-weight: 620;
  line-height: 1.03;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 120;
}

.hero h1 em {
  font-style: normal;
  color: var(--primary);
}

.hero__lead {
  max-width: 34em;
  margin-top: 20px;
  font-size: 1.15rem;
  color: var(--text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.checklist {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checklist svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--primary);
}

.hero__visual img {
  width: 100%;
  height: auto;
}

@media (min-width: 901px) {
  .hero__visual img {
    width: 112%;
    max-width: none;
    margin-right: -12%;
  }
}

@media (max-width: 900px) {
  .hero {
    padding-top: 36px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .hero__visual {
    margin: 0 -12px;
  }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  padding: 88px 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section__head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.section__kicker {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section h2 {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 620;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section__head p {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 1.08rem;
}

@media (max-width: 700px) {
  .section {
    padding: 64px 0;
  }

  .section__head {
    margin-bottom: 32px;
  }
}

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  list-style: none;
}

.feature {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
}

.feature__icon svg {
  width: 24px;
  height: 24px;
}

.feature h3 {
  margin-top: 18px;
  font-size: 1.12rem;
  font-weight: 650;
  line-height: 1.3;
}

.feature p {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.98rem;
}

@media (max-width: 960px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .features {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature {
    padding: 22px;
  }
}

/* Five prayers */
.prayers {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  list-style: none;
  counter-reset: prayer;
}

.prayer {
  position: relative;
  overflow: hidden;
  padding: 24px 20px 22px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--sky);
  min-height: 240px;
  display: flex;
  flex-direction: column;
}

.prayer--fajr {
  --sky: linear-gradient(170deg, #1c2546, #4c3f6e 60%, #9b5a66);
}

.prayer--dhuhr {
  --sky: linear-gradient(170deg, #0f4c5c, #17676f 60%, #2b8a7e);
}

.prayer--asr {
  --sky: linear-gradient(170deg, #4a2f10, #835419 60%, #a76f22);
}

.prayer--maghrib {
  --sky: linear-gradient(170deg, #2e1636, #74304a 60%, #a84d2c);
}

.prayer--isha {
  --sky: linear-gradient(170deg, #060f1b, #0d1f33 60%, #183150);
}

.prayer svg {
  width: 28px;
  height: 28px;
  opacity: 0.9;
}

.prayer h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 620;
}

.prayer h3 span {
  font-family: system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  opacity: 0.8;
}

.prayer p {
  margin-top: 8px;
  font-size: 0.93rem;
  line-height: 1.55;
  opacity: 0.88;
}

.note {
  max-width: 760px;
  margin: 28px auto 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: center;
}

@media (max-width: 1060px) {
  .prayers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .prayers {
    grid-template-columns: minmax(0, 1fr);
  }

  .prayer {
    min-height: 0;
  }
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.step h3 {
  margin-top: 16px;
  font-size: 1.1rem;
  font-weight: 650;
}

.step p {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.98rem;
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Privacy band */
.privacy {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  padding: 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--night), var(--night-2));
  color: #eaf2ee;
}

.privacy::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 56 56'%3E%3Cpath d='M28 6l6.4 6.4h9.2v9.2L50 28l-6.4 6.4v9.2h-9.2L28 50l-6.4-6.4h-9.2v-9.2L6 28l6.4-6.4v-9.2h9.2z' fill='none' stroke='white' stroke-opacity='.06'/%3E%3C/svg%3E");
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent 30%, #000);
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000);
  pointer-events: none;
}

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

.privacy h2 {
  margin-top: 8px;
  color: #fff;
}

.privacy .section__kicker {
  color: #7fd8ab;
}

.privacy__intro p {
  margin-top: 14px;
  color: #b9cbc3;
}

.privacy__intro a {
  display: inline-block;
  margin-top: 22px;
  color: #ffd88a;
  font-weight: 600;
}

.privacy .checklist {
  margin: 0;
  gap: 16px;
  color: #dfe9e4;
  font-size: 1rem;
}

.privacy .checklist svg {
  color: #7fd8ab;
}

@media (max-width: 860px) {
  .privacy {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 36px 24px;
  }
}

/* FAQ */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq details {
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: box-shadow 0.2s;
}

.faq details[open] {
  box-shadow: var(--shadow-md);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(-135deg) translateY(-3px);
}

.faq details p {
  padding: 0 22px 20px;
  color: var(--text-muted);
}

/* Final CTA */
.cta {
  padding: 64px 24px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(60% 80% at 50% 0%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 70%),
    var(--primary-soft);
  text-align: center;
}

.cta img {
  margin: 0 auto 18px;
}

.cta p {
  max-width: 34em;
  margin: 12px auto 26px;
  color: var(--text-muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  margin-top: 88px;
  padding: 48px 0 40px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.site-footer__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
}

.site-footer__about {
  max-width: 360px;
}

.site-footer__about p {
  margin-top: 12px;
}

.site-footer nav ul {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.site-footer nav h2 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
  text-decoration: underline;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
}

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 20px 0;
}

.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 620;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.legal__meta {
  margin-top: 10px;
  color: var(--text-muted);
}

.legal__toc {
  margin-top: 32px;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.legal .legal__toc h2 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.legal__toc ol {
  margin-top: 10px;
  padding-left: 20px;
  columns: 2;
  column-gap: 32px;
}

.legal__toc li {
  break-inside: avoid;
  margin-bottom: 4px;
}

@media (max-width: 620px) {
  .legal__toc ol {
    columns: 1;
  }
}

.legal section {
  margin-top: 44px;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 620;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.legal h3 {
  margin-top: 24px;
  font-size: 1.08rem;
  font-weight: 650;
}

.legal p,
.legal ul,
.legal address {
  margin-top: 12px;
}

.legal address {
  font-style: normal;
}

.legal ul {
  padding-left: 22px;
}

.legal li + li {
  margin-top: 6px;
}

.legal .callout {
  margin-top: 16px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--primary-soft);
  border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent);
}

.legal .callout strong {
  display: block;
  margin-bottom: 4px;
}

/* 404 */
.not-found {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 96px 20px 24px;
  text-align: center;
}

.not-found h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  font-weight: 620;
  line-height: 1.1;
}

.not-found p {
  max-width: 32em;
  color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
  }
}

/* ==========================================================================
   City chips, hub and city pages
   ========================================================================== */
.center {
  margin-top: 28px;
  text-align: center;
}

.city-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.city-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.city-chips a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.city-chips--small {
  justify-content: flex-start;
  gap: 8px;
}

.city-chips--small a {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.93rem;
  font-weight: 550;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 6px;
  opacity: 0.6;
}

.breadcrumb a {
  color: inherit;
}

.hub,
.city {
  padding-top: 32px;
}

.hub h1,
.city__head h1 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.2rem);
  font-weight: 620;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hub__intro {
  max-width: 44em;
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.hub__country {
  margin-top: 44px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 620;
}

.hub__group {
  margin-top: 18px;
}

.hub__group h3 {
  margin-bottom: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.city__head p {
  margin-top: 8px;
  color: var(--text-muted);
}

.city__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.today-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  color: #fff;
  background: linear-gradient(160deg, #0f4c5c 0%, #17676f 55%, #2b8a7e 100%);
  box-shadow: var(--shadow-md);
}

.today-card__head h2 {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: 1.05rem;
  font-weight: 600;
}

.today-card__head h2 span:first-child {
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.today-card__head p {
  margin-top: 2px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.today-times {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
}

.today-times li {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  transition: background-color 0.2s;
}

.today-times li.is-next {
  background: rgba(255, 216, 138, 0.25);
  box-shadow: inset 0 0 0 1px rgba(255, 216, 138, 0.6);
}

.today-times__name {
  display: block;
  font-size: 0.82rem;
  opacity: 0.85;
}

.today-times time {
  font-size: 1.5rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.today-next {
  margin-top: 16px;
  font-size: 0.95rem;
}

.today-next span {
  font-variant-numeric: tabular-nums;
}

.city__side {
  display: grid;
  gap: 18px;
  align-content: start;
}

.side-card {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.side-card h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--text-muted);
}

.side-card h2 svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.side-card__value {
  margin-top: 4px;
  font-size: 2.2rem;
  font-weight: 650;
  line-height: 1.1;
}

.side-card p:last-child {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.side-card--cta {
  background: var(--primary-soft);
  border-color: transparent;
}

.side-card--cta p {
  margin-bottom: 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.side-card--cta .btn {
  width: 100%;
}

.city-table,
.city-text,
.nearby {
  margin-top: 44px;
}

.city-table h2,
.nearby h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 620;
  line-height: 1.2;
}

.city-table__wrap {
  margin-top: 16px;
  overflow-x: auto;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.city-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
}

.city-table th,
.city-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  white-space: nowrap;
}

.city-table thead th {
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--text-muted);
}

.city-table abbr {
  text-decoration: none;
}

.city-table tbody th {
  padding-left: 16px;
  text-align: left;
  font-weight: 650;
}

.city-table tbody th span {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.city-table tr.is-friday {
  background: color-mix(in srgb, var(--gold-soft) 55%, transparent);
}

.city-table tr.is-today {
  background: var(--primary-soft);
  color: var(--primary-strong);
}

.city-table tbody tr:last-child th,
.city-table tbody tr:last-child td {
  border-bottom: none;
}

.city-text p {
  max-width: 52em;
  color: var(--text-muted);
}

.nearby p {
  margin-top: 16px;
}

@media (max-width: 860px) {
  .city__top {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .today-card {
    padding: 20px 16px;
  }

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

  .city-table table {
    font-size: 0.82rem;
  }

  .city-table th,
  .city-table td {
    padding: 9px 3px;
  }

  .city-table tbody th {
    padding-left: 10px;
  }

  .city-table tbody th span {
    display: none;
  }
}

.city-table thead th:first-child {
  padding-left: 16px;
  text-align: left;
}

@media (max-width: 520px) {
  .city-table thead th:first-child {
    padding-left: 10px;
  }
}
