/* ============================================================
   IRAN — Tourism Website
   Main stylesheet (RTL, Vazirmatn)
   1. Design tokens & reset
   2. Typography & utilities
   3. Buttons & forms
   4. Header & navigation
   5. Hero slider
   6. Sections & cards
   7. Home specific blocks
   8. Inner pages
   9. Gallery & lightbox
   10. Footer
   11. Responsive
   ============================================================ */

/* ---------- 1. Design tokens & reset ---------- */
:root {
  --red: #b83232;
  --red-dark: #972727;
  --red-soft: rgba(184, 50, 50, 0.1);
  --navy: #172b49;
  --navy-soft: #1f3660;
  --navy-deep: #101f36;
  --cream: #f5f0e6;
  --cream-dark: #eae2d2;
  --white: #ffffff;
  --muted: #5d6879;
  --muted-light: #8b94a3;
  --line: rgba(23, 43, 73, 0.12);
  --line-strong: rgba(23, 43, 73, 0.22);
  --font: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
  --container: 1200px;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 6px 18px rgba(16, 31, 54, 0.06);
  --shadow-md: 0 18px 45px rgba(16, 31, 54, 0.12);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 86px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--cream);
  color: var(--navy);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.9;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* keep width/height attributes from stretching images when CSS sets only width */
img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

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

button {
  cursor: pointer;
  background: none;
  border: 0;
}

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

::selection {
  background: var(--red);
  color: #fff;
}

.skip-link {
  position: absolute;
  inset-inline-start: 50%;
  top: -100px;
  transform: translateX(50%);
  z-index: 200;
  padding: 12px 22px;
  background: var(--navy);
  color: var(--cream);
  border-radius: 0 0 12px 12px;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 0;
}

/* ---------- 2. Typography & utilities ---------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section {
  padding-block: clamp(60px, 7vw, 104px);
}

.section--white {
  background: var(--white);
}

.section--tight {
  padding-block: clamp(44px, 5vw, 72px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--red);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

h1,
h2,
h3,
h4 {
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-head__text {
  max-width: 620px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 1.1rem + 1.7vw, 2.5rem);
  margin-top: 10px;
}

.section-head p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1rem;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.link-more i {
  font-size: 0.75rem;
  transition: transform 0.25s var(--ease);
}

.link-more:hover {
  color: var(--red);
  border-color: var(--red);
}

.link-more:hover i {
  transform: translateX(-4px);
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 2;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

/* ---------- 3. Buttons & forms ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn i {
  font-size: 0.8rem;
  transition: transform 0.3s var(--ease);
}

.btn:hover i {
  transform: translateX(-3px);
}

.btn--primary {
  background: var(--red);
  color: #fff;
}

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

.btn--navy {
  background: var(--navy);
  color: var(--cream);
}

.btn--navy:hover {
  background: var(--navy-deep);
}

.btn--ghost {
  border-color: rgba(245, 240, 230, 0.5);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(245, 240, 230, 0.14);
  border-color: var(--cream);
}

.btn--outline {
  border-color: var(--line-strong);
  color: var(--navy);
  background: transparent;
}

.btn--outline:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

/* ---------- 4. Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(245, 240, 230, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}

.site-header::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #c9544f 45%, var(--navy));
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(16, 31, 54, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 46px);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  direction: ltr;
  flex-shrink: 0;
  padding-block: 8px;
}

.brand__map {
  width: 34px;
  height: auto;
  transition: transform 0.4s var(--ease);
}

.brand:hover .brand__map {
  transform: translateY(-2px) scale(1.04);
}

.brand__word {
  font-family: var(--font);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: var(--navy);
  line-height: 1;
}

.brand__word span {
  color: var(--red);
}

.brand__divider {
  width: 1px;
  height: 26px;
  background: var(--line-strong);
}

.brand__fa {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.nav {
  margin-inline-start: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.6vw, 26px);
}

.nav__link {
  position: relative;
  display: inline-block;
  padding: 10px 4px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--navy);
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 2px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover {
  color: var(--red);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav__link[aria-current="page"] {
  color: var(--red);
  font-weight: 700;
}

.header__cta {
  flex-shrink: 0;
  padding: 11px 22px;
  font-size: 0.88rem;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  transition: background-color 0.25s var(--ease);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 31, 54, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  z-index: 85;
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* ---------- 5. Hero slider ---------- */
.hero {
  position: relative;
  height: clamp(520px, 78vh, 760px);
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--cream);
  isolation: isolate;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s var(--ease), visibility 1s var(--ease);
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 8s linear;
}

.hero__slide.is-active .hero__media {
  transform: scale(1);
}

.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      270deg,
      rgba(16, 31, 54, 0.88) 0%,
      rgba(16, 31, 54, 0.62) 38%,
      rgba(16, 31, 54, 0.15) 72%,
      rgba(16, 31, 54, 0.35) 100%
    ),
    linear-gradient(0deg, rgba(16, 31, 54, 0.55), transparent 45%);
}

.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-bottom: 60px;
  max-width: 660px;
  margin-inline-start: max(1.25rem, calc((100% - 1200px) / 2));
  margin-inline-end: auto;
}

.hero__location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(245, 240, 230, 0.35);
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
  background: rgba(16, 31, 54, 0.25);
}

.hero__location i {
  color: #e8a5a0;
  font-size: 0.75rem;
}

.hero__title {
  font-size: clamp(2.1rem, 1.2rem + 4.4vw, 4.1rem);
  font-weight: 800;
  line-height: 1.2;
  margin-top: 18px;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.hero__caption {
  margin-top: 16px;
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  font-weight: 400;
  max-width: 34ch;
  color: rgba(245, 240, 230, 0.9);
}

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

.hero__controls {
  position: absolute;
  z-index: 3;
  inset-inline: 0;
  bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  pointer-events: none;
}

.hero__controls > * {
  pointer-events: auto;
}

.hero__dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__dot {
  width: 34px;
  height: 3px;
  border-radius: 4px;
  background: rgba(245, 240, 230, 0.38);
  transition: background-color 0.3s var(--ease), width 0.3s var(--ease);
}

.hero__dot[aria-selected="true"] {
  background: var(--cream);
  width: 52px;
}

.hero__arrows {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__arrow,
.hero__pause {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(245, 240, 230, 0.4);
  color: var(--cream);
  background: rgba(16, 31, 54, 0.25);
  backdrop-filter: blur(6px);
  font-size: 0.85rem;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.hero__arrow:hover,
.hero__pause:hover {
  background: var(--red);
  border-color: var(--red);
}

.hero__pause {
  width: 38px;
  height: 38px;
  font-size: 0.72rem;
}

/* ---------- 6. Sections & cards ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.intro-copy h2 {
  font-size: clamp(1.6rem, 1.1rem + 1.7vw, 2.4rem);
  margin-top: 12px;
}

.intro-copy p {
  margin-top: 16px;
  color: var(--muted);
  line-height: 2.05;
}

.intro-points {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.intro-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--navy);
}

.intro-points i {
  color: var(--red);
  font-size: 0.85rem;
  margin-top: 8px;
}

.intro-media {
  position: relative;
}

.intro-media__main {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.intro-media__badge {
  position: absolute;
  inset-inline-start: -18px;
  bottom: 34px;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 16px 22px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  text-align: center;
  min-width: 150px;
}

.intro-media__badge strong {
  display: block;
  font-size: 1.6rem;
  color: var(--red);
  line-height: 1.4;
}

.intro-media__badge span {
  font-size: 0.78rem;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 26px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--cream-dark);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.card:hover .card__media img {
  transform: scale(1.07);
}

.card__badge {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(16, 31, 54, 0.72);
  color: var(--cream);
  font-size: 0.72rem;
  backdrop-filter: blur(4px);
}

.card__body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 20px 22px 22px;
  flex: 1;
}

.card__title {
  font-size: 1.16rem;
  font-weight: 700;
}

.card__title a {
  transition: color 0.25s var(--ease);
}

.card__title a:hover {
  color: var(--red);
}

.card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--muted);
}

.card__meta i {
  font-size: 0.72rem;
  color: var(--red);
}

.card__meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted-light);
}

.card__text {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--muted);
}

.card__link {
  margin-top: auto;
  padding-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
}

.card__link i {
  font-size: 0.7rem;
  transition: transform 0.25s var(--ease);
}

.card__link:hover i {
  transform: translateX(-4px);
}

/* ---------- 7. Home specific blocks ---------- */
.culture {
  position: relative;
  background: var(--navy);
  color: var(--cream);
  overflow: hidden;
}

.culture::before {
  content: "";
  position: absolute;
  inset-inline-start: -8%;
  top: -10%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 50, 50, 0.26), transparent 62%);
  pointer-events: none;
}

.culture__grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.culture .eyebrow {
  color: #e9aaa6;
}

.culture .eyebrow::before {
  background: #e9aaa6;
}

.culture h2 {
  font-size: clamp(1.6rem, 1.1rem + 1.7vw, 2.5rem);
  margin-top: 12px;
  color: var(--cream);
}

.culture p {
  margin-top: 16px;
  color: rgba(245, 240, 230, 0.78);
  line-height: 2.05;
}

.culture__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
}

.culture__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.culture__media:hover img {
  transform: scale(1.05);
}

.culture-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.culture-facts li {
  padding: 18px 16px;
  border: 1px solid rgba(245, 240, 230, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(245, 240, 230, 0.04);
}

.culture-facts strong {
  display: block;
  font-size: 1.55rem;
  color: #fff;
  line-height: 1.5;
}

.culture-facts span {
  font-size: 0.78rem;
  color: rgba(245, 240, 230, 0.66);
}

.provinces {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.province {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.province i {
  font-size: 0.72rem;
  color: var(--red);
  transition: transform 0.3s var(--ease);
}

.province:hover {
  background: var(--navy);
  color: var(--cream);
  transform: translateY(-3px);
}

.province:hover i {
  color: var(--cream);
  transform: translateX(-4px);
}

/* gallery preview */
.gallery-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 205px;
  gap: 14px;
}

.gallery-preview a {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream-dark);
}

.gallery-preview a:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.gallery-preview a:hover img {
  transform: scale(1.06);
}

.gallery-preview span {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 18px 14px;
  color: #fff;
  font-size: 0.85rem;
  background: linear-gradient(0deg, rgba(16, 31, 54, 0.85), transparent);
}

/* magazine preview */
.post-card .card__media {
  aspect-ratio: 3 / 2;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  color: var(--muted);
}

.post-meta .tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red);
  font-weight: 600;
}

/* call to action */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--white), #fbf8f1);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.cta__inner::after {
  content: "";
  position: absolute;
  inset-inline-start: -40px;
  bottom: -90px;
  width: 320px;
  height: 320px;
  background: url("../images/branding/iran-map-navy.svg") no-repeat center / contain;
  opacity: 0.05;
  transform: rotate(-8deg);
  pointer-events: none;
}

.cta h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.2rem);
  position: relative;
  z-index: 1;
}

.cta p {
  margin-top: 12px;
  color: var(--muted);
  max-width: 58ch;
  position: relative;
  z-index: 1;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 1;
}

/* ---------- 8. Inner pages ---------- */
.page-hero {
  position: relative;
  background: var(--navy);
  color: var(--cream);
  padding-block: clamp(52px, 7vw, 92px);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset-inline-end: -60px;
  top: -50px;
  width: 420px;
  height: 420px;
  background: url("../images/branding/iran-map-cream.svg") no-repeat center / contain;
  opacity: 0.07;
  transform: rotate(8deg);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-inline-start: max(1.25rem, calc((100% - 1200px) / 2));
  margin-inline-end: auto;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  margin-top: 14px;
}

.page-hero p {
  margin-top: 14px;
  color: rgba(245, 240, 230, 0.8);
  max-width: 62ch;
}

.page-hero .eyebrow {
  color: #e9aaa6;
}

.page-hero .eyebrow::before {
  background: #e9aaa6;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-size: 0.78rem;
  color: rgba(245, 240, 230, 0.65);
}

.breadcrumb a:hover {
  color: var(--cream);
  text-decoration: underline;
}

.breadcrumb i {
  font-size: 0.6rem;
}

/* filter bar */
.filters {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 34px;
}

.filters__top {
  display: block;
}

.filters__hint {
  margin-top: 10px;
}

.search-field {
  position: relative;
  display: flex;
  align-items: center;
}

.search-field i {
  position: absolute;
  inset-inline-start: 16px;
  color: var(--muted-light);
  font-size: 0.9rem;
  pointer-events: none;
}

.search-field input {
  width: 100%;
  padding: 14px 46px 14px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--cream);
  font-size: 0.92rem;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.search-field input::placeholder {
  color: var(--muted-light);
}

.search-field input:focus {
  background: var(--white);
  border-color: var(--red);
  outline: none;
  box-shadow: 0 0 0 3px var(--red-soft);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.84rem;
  color: var(--navy);
  background: transparent;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.chip:hover {
  border-color: var(--red);
  color: var(--red);
}

.chip[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
}

.filters__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  color: var(--muted);
}

.filters__count strong {
  color: var(--navy);
}

.clear-filters {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}

.clear-filters:hover {
  color: var(--red);
}

.clear-filters[hidden] {
  display: none;
}

.results-empty {
  display: none;
  text-align: center;
  padding: 64px 24px;
  background: var(--white);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}

.results-empty.is-visible {
  display: block;
}

.results-empty i {
  font-size: 2rem;
  color: var(--muted-light);
  margin-bottom: 16px;
}

.results-empty h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.results-empty p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* destination detail */
.detail-hero {
  position: relative;
  min-height: clamp(360px, 58vh, 560px);
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  overflow: hidden;
  background: var(--navy);
}

.detail-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(16, 31, 54, 0.92), rgba(16, 31, 54, 0.2) 62%, rgba(16, 31, 54, 0.35));
}

.detail-hero__content {
  position: relative;
  z-index: 1;
  padding-block: 44px;
  max-width: 760px;
}

.detail-hero h1 {
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.2rem);
  margin-top: 14px;
}

.detail-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 18px;
  font-size: 0.88rem;
  color: rgba(245, 240, 230, 0.85);
}

.detail-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.detail-hero__meta i {
  color: #e9aaa6;
  font-size: 0.8rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(30px, 4vw, 56px);
  align-items: start;
}

.prose h2 {
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.65rem);
  margin-top: 40px;
  margin-bottom: 14px;
  padding-inline-start: 16px;
  position: relative;
}

.prose h2::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 4px;
  height: 1.1em;
  border-radius: 4px;
  background: var(--red);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.1rem;
  margin-top: 26px;
  margin-bottom: 10px;
}

.prose p {
  color: #3b4760;
  line-height: 2.15;
  margin-bottom: 16px;
}

.prose figure {
  margin: 26px 0;
}

.prose figure img {
  width: 100%;
  border-radius: var(--radius);
}

.prose figcaption {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

.prose blockquote {
  margin: 26px 0;
  padding: 20px 24px;
  border-inline-start: 4px solid var(--red);
  background: var(--white);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--navy);
  font-size: 1rem;
  line-height: 2;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  margin: 20px 0 6px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.feature-list i {
  color: var(--red);
  font-size: 0.8rem;
  margin-top: 7px;
}

.info-card {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.info-card h2 {
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.info-list {
  display: grid;
  gap: 14px;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
  font-size: 0.87rem;
}

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

.info-list span {
  color: var(--muted);
}

.info-list strong {
  font-weight: 600;
  text-align: end;
}

.site-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-size: 0.78rem;
  line-height: 1.9;
  color: var(--muted);
}

.site-note i {
  color: var(--red);
  margin-inline-end: 6px;
}

.sources-list {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.sources-list a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--navy);
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.sources-list a:hover {
  border-color: var(--red);
  color: var(--red);
}

.sources-list i {
  font-size: 0.75rem;
  color: var(--red);
  margin-top: 7px;
}

/* article page */
.article-wrap {
  max-width: 780px;
  margin-inline: auto;
}

.article-head {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 30px;
}

.article-head h1 {
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
  margin-top: 14px;
}

.article-head .post-meta {
  justify-content: center;
  margin-top: 16px;
}

.article-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 36px;
}

/* about */
.about-story {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}

.about-story img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-story p {
  color: #3b4760;
  line-height: 2.2;
  margin-bottom: 16px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.value-card {
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.value-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--red-soft);
  color: var(--red);
  font-size: 1rem;
  margin-bottom: 16px;
}

.value-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.95;
}

/* contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

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

.field label {
  font-size: 0.88rem;
  font-weight: 600;
}

.field label .req {
  color: var(--red);
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  font-size: 0.92rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.9;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #c0392b;
  background: #fff8f7;
}

.field__error {
  font-size: 0.78rem;
  color: #a3271b;
  min-height: 1.2em;
}

.form-status {
  display: none;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.9;
  background: rgba(23, 43, 73, 0.06);
  border: 1px solid var(--line-strong);
}

.form-status.is-visible {
  display: flex;
}

.form-status i {
  color: var(--red);
  margin-top: 6px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.contact-card h2 {
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.contact-list {
  display: grid;
  gap: 18px;
}

.contact-list li {
  display: flex;
  gap: 14px;
  font-size: 0.88rem;
}

.contact-list i {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--cream);
  color: var(--red);
  font-size: 0.85rem;
}

.contact-list strong {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

.contact-list span {
  color: var(--navy);
  font-weight: 600;
}

/* ---------- 9. Gallery & lightbox ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(212px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream-dark);
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.4s var(--ease);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(16, 31, 54, 0.72), rgba(16, 31, 54, 0) 55%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.gallery-item__label {
  position: absolute;
  z-index: 1;
  inset-inline: 16px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #fff;
  font-size: 0.82rem;
  text-align: start;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.gallery-item__label i {
  font-size: 0.75rem;
  color: #f0c9c5;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.07);
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after,
.gallery-item:hover .gallery-item__label,
.gallery-item:focus-visible .gallery-item__label {
  opacity: 1;
  transform: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  background: rgba(10, 19, 33, 0.94);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__figure {
  position: relative;
  max-width: min(1100px, 100%);
  margin: 0;
  text-align: center;
}

.lightbox__img {
  max-width: 100%;
  max-height: 74vh;
  margin-inline: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  object-fit: contain;
}

.lightbox__caption {
  margin-top: 14px;
  color: rgba(245, 240, 230, 0.85);
  font-size: 0.88rem;
}

.lightbox__counter {
  color: rgba(245, 240, 230, 0.55);
  font-size: 0.78rem;
}

.lightbox__btn {
  position: absolute;
  top: 22px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(245, 240, 230, 0.35);
  color: var(--cream);
  background: rgba(245, 240, 230, 0.08);
  transition: background-color 0.25s var(--ease);
}

.lightbox__btn:hover {
  background: var(--red);
  border-color: var(--red);
}

.lightbox__close {
  inset-inline-end: 22px;
}

.lightbox__nav {
  position: static;
  width: 44px;
  height: 44px;
  margin-top: 0;
}

.lightbox__navs {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.is-locked {
  overflow: hidden;
}

/* ---------- 10. Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(245, 240, 230, 0.72);
  padding-block: clamp(48px, 6vw, 76px) 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset-inline-end: -80px;
  top: -40px;
  width: 420px;
  height: 420px;
  background: url("../images/branding/iran-map-cream.svg") no-repeat center / contain;
  opacity: 0.05;
  pointer-events: none;
}

.footer__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 46px;
}

.footer__brand .brand__word {
  color: var(--cream);
}

.footer__brand .brand__word span {
  color: #e88f89;
}

.footer__brand p {
  margin-top: 18px;
  font-size: 0.88rem;
  line-height: 2.05;
  max-width: 34ch;
}

.footer__col h2 {
  color: var(--cream);
  font-size: 0.98rem;
  margin-bottom: 18px;
}

.footer__links {
  display: grid;
  gap: 10px;
}

.footer__links a {
  font-size: 0.86rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}

.footer__links a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(245, 240, 230, 0.35);
  transition: background-color 0.25s var(--ease);
}

.footer__links a:hover {
  color: var(--cream);
  transform: translateX(-4px);
}

.footer__links a:hover::before {
  background: var(--red);
}

.footer__contact {
  display: grid;
  gap: 14px;
  font-size: 0.86rem;
}

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

.footer__contact i {
  color: #e88f89;
  font-size: 0.8rem;
  margin-top: 7px;
}

.footer__note {
  margin-top: 14px;
  font-size: 0.74rem;
  line-height: 1.9;
  color: rgba(245, 240, 230, 0.5);
  padding: 10px 12px;
  border: 1px dashed rgba(245, 240, 230, 0.2);
  border-radius: 8px;
}

.footer__bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-block: 20px;
  border-top: 1px solid rgba(245, 240, 230, 0.14);
  font-size: 0.78rem;
  color: rgba(245, 240, 230, 0.55);
}

.footer__bottom a:hover {
  color: var(--cream);
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.socials a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(245, 240, 230, 0.22);
  font-size: 0.82rem;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.socials a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* shared small blocks */
.page-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 28px;
}

.page-note i {
  color: var(--red);
  margin-top: 6px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.stat {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-size: 1.8rem;
  color: var(--red);
  line-height: 1.4;
}

.stat span {
  font-size: 0.84rem;
  color: var(--muted);
}

/* ---------- 11. Responsive ---------- */
@media (max-width: 1080px) {
  .header__cta {
    display: none;
  }

  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer__col--contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 74px;
  }

  .site-header {
    z-index: 120;
    /* backdrop-filter would make the header the containing block of the fixed drawer */
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--cream);
  }

  .nav-toggle {
    display: inline-flex;
    margin-inline-start: auto;
  }

  .nav {
    position: fixed;
    z-index: 100;
    inset-block-start: var(--header-h);
    inset-block-end: 0;
    inset-inline-start: 0;
    width: min(86vw, 360px);
    margin: 0;
    padding: 22px 26px 32px;
    background: var(--cream);
    border-inline-end: 1px solid var(--line);
    box-shadow: -20px 0 60px rgba(16, 31, 54, 0.18);
    transform: translateX(105%);
    transition: transform 0.4s var(--ease);
    overflow-y: auto;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__link {
    display: block;
    padding: 14px 4px;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }

  .nav__link::after {
    display: none;
  }

  .nav__link[aria-current="page"] {
    padding-inline-start: 12px;
    border-inline-start: 3px solid var(--red);
  }

  .intro-grid,
  .culture__grid,
  .about-story {
    grid-template-columns: 1fr;
  }

  .intro-media {
    order: -1;
  }

  .intro-media__main {
    aspect-ratio: 16 / 9;
  }

  .intro-media__badge {
    inset-inline-start: 18px;
    bottom: 18px;
  }

  .culture__media {
    aspect-ratio: 16 / 9;
  }

  .detail-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .info-card {
    position: static;
  }

  .gallery-preview {
    grid-auto-rows: 175px;
  }

  .cta__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 1.8rem, var(--container));
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    height: clamp(480px, 84vh, 620px);
  }

  .hero__content {
    padding-bottom: 90px;
    margin-inline-start: 0.9rem;
  }

  .hero__arrow {
    display: none;
  }

  .hero__controls {
    justify-content: space-between;
  }

  .hero__dot {
    width: 26px;
  }

  .hero__dot[aria-selected="true"] {
    width: 40px;
  }

  .hero__slide::after {
    background: linear-gradient(0deg, rgba(16, 31, 54, 0.92) 5%, rgba(16, 31, 54, 0.45) 55%, rgba(16, 31, 54, 0.35));
  }

  .culture-facts {
    grid-template-columns: 1fr;
  }

  .gallery-preview {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
  }

  .gallery-preview a:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-preview a:nth-child(6) {
    grid-column: span 2;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__col--contact {
    grid-column: 1 / -1;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .detail-hero__content {
    padding-block: 32px;
  }

  .article-cover {
    border-radius: var(--radius);
  }

  .prose p {
    line-height: 2.05;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 0.97rem;
  }

  .brand__word {
    font-size: 1.3rem;
    letter-spacing: 0.18em;
  }

  .brand__fa,
  .brand__divider {
    display: none;
  }

  .section-head {
    align-items: flex-start;
  }

  .btn {
    padding: 12px 22px;
  }

  .hero__title {
    font-size: clamp(1.85rem, 1.3rem + 4vw, 2.4rem);
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }

  .culture-facts {
    gap: 10px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .gallery-item__label {
    inset-inline: 10px;
    font-size: 0.72rem;
  }

  .info-list li {
    font-size: 0.84rem;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__media,
  .hero__slide.is-active .hero__media {
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .hero__controls,
  .filters,
  .lightbox {
    display: none !important;
  }
}

/* ---------- 12. Small page-specific details ---------- */
.gallery-grid--detail {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 8px;
}

.detail-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.detail-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.detail-figure figcaption {
  padding: 10px 14px;
  font-size: 0.78rem;
  color: var(--muted);
}

.detail-empty {
  color: var(--muted);
  font-size: 0.9rem;
}

.prose .prose-list {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
}

.prose .prose-list li {
  position: relative;
  padding-inline-start: 22px;
  color: #3b4760;
  line-height: 2;
}

.prose .prose-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 4px;
  top: 0.9em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.article-sources {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.article-sources h2 {
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.related-block {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(36px, 4vw, 56px);
  border-top: 1px solid var(--line);
}

[hidden] {
  display: none !important;
}

.filters__hint {
  display: flex;
  align-items: center;
  font-size: 0.82rem;
  line-height: 1.9;
  color: var(--muted);
  margin: 0;
}

/* detail page refinements */
.gallery-grid--detail {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

#detail-nearby.card-grid {
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 18px;
}

#detail-nearby .card__text {
  display: none;
}

#detail-nearby .card__body {
  padding: 16px 18px 18px;
}

#detail-nearby .card__title {
  font-size: 1.02rem;
}
