/* Al-Hashem Travel — local stylesheet, no external dependencies */

:root {
  --charcoal: #1f2428;
  --charcoal-2: #262d32;
  --silver: #c0c5ce;
  --ivory: #f4f5f6;
  --accent: #1f2428;
  --accent-soft: #c0c5ce;
  --bg: #f4f5f6;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef0f2;
  --text: #1f2428;
  --muted: #59626b;
  --border: rgba(31, 36, 40, 0.13);
  --shadow: 0 14px 34px rgba(31, 36, 40, 0.09);
  --header-bg: #1f2428;
  --header-text: #f4f5f6;
  --hero-overlay: linear-gradient(115deg, rgba(31, 36, 40, 0.93) 0%, rgba(31, 36, 40, 0.68) 48%, rgba(31, 36, 40, 0.34) 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 76px;
  --container: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-theme="dark"] {
  --accent: #c0c5ce;
  --accent-soft: #1f2428;
  --bg: #1f2428;
  --bg-alt: #262d32;
  --surface: #262d32;
  --surface-2: #20262a;
  --text: #f4f5f6;
  --muted: #c0c5ce;
  --border: rgba(192, 197, 206, 0.2);
  --shadow: 0 16px 38px rgba(0, 0, 0, 0.32);
  --hero-overlay: linear-gradient(115deg, rgba(18, 22, 25, 0.94) 0%, rgba(24, 29, 33, 0.74) 50%, rgba(24, 29, 33, 0.46) 100%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --accent: #c0c5ce;
    --accent-soft: #1f2428;
    --bg: #1f2428;
    --bg-alt: #262d32;
    --surface: #262d32;
    --surface-2: #20262a;
    --text: #f4f5f6;
    --muted: #c0c5ce;
    --border: rgba(192, 197, 206, 0.2);
    --shadow: 0 16px 38px rgba(0, 0, 0, 0.32);
    --hero-overlay: linear-gradient(115deg, rgba(18, 22, 25, 0.94) 0%, rgba(24, 29, 33, 0.74) 50%, rgba(24, 29, 33, 0.46) 100%);
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}

[dir="rtl"] body { font-family: Tahoma, "Segoe UI", Arial, sans-serif; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

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

.skip-link {
  position: fixed;
  inset-inline-start: 12px;
  top: -80px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ivory);
  color: var(--charcoal);
  border-radius: 8px;
  font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--bg-alt); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--silver);
  border-radius: 2px;
}

.section-title {
  margin: 0 0 18px;
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 800;
}
.section-text {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 11px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background-color 0.22s, border-color 0.22s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary {
  background: var(--ivory);
  color: var(--charcoal);
}
.btn--primary:hover { background: #fff; }

.btn--dark {
  background: var(--charcoal);
  color: var(--ivory);
  border-color: var(--charcoal);
}
[data-theme="dark"] .btn--dark { background: var(--silver); color: var(--charcoal); border-color: var(--silver); }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .btn--dark { background: var(--silver); color: var(--charcoal); border-color: var(--silver); }
}

.btn--outline {
  border-color: rgba(244, 245, 246, 0.55);
  color: var(--ivory);
  background: rgba(31, 36, 40, 0.18);
}
.btn--outline:hover { background: rgba(244, 245, 246, 0.13); border-color: var(--ivory); }

.btn--link {
  min-height: 0;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  border-bottom: 2px solid var(--accent);
  color: var(--text);
  background: none;
}
.btn--link:hover { transform: none; box-shadow: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--header-bg);
  color: var(--header-text);
  border-bottom: 1px solid rgba(192, 197, 206, 0.16);
  transition: box-shadow 0.25s var(--ease), background-color 0.25s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 0 1 auto;
}
.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex: none;
  border-radius: 8px;
  background: var(--ivory);
  padding: 3px;
}
.brand-name {
  display: block;
  font-weight: 800;
  font-size: 1.04rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-tagline {
  display: block;
  font-size: 0.72rem;
  color: var(--silver);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: auto;
  min-width: 0;
}
.main-nav a {
  position: relative;
  padding: 10px 11px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--header-text);
  white-space: nowrap;
  border-radius: 8px;
  transition: color 0.2s, background-color 0.2s;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.main-nav a[aria-current="page"] { color: #fff; }
.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset-inline: 11px;
  bottom: 3px;
  height: 2px;
  background: var(--silver);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 40px;
  height: 40px;
  padding: 0 9px;
  border: 1px solid rgba(192, 197, 206, 0.28);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--header-text);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.14); border-color: var(--silver); transform: translateY(-1px); }
.icon-btn svg { width: 19px; height: 19px; flex: none; }
.lang-flag { font-size: 1.15rem; line-height: 1; }
.lang-code { font-size: 0.8rem; font-weight: 700; }

.header-cta {
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--silver);
  color: var(--charcoal);
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.2s, background-color 0.2s;
}
.header-cta:hover { transform: translateY(-2px); background: var(--ivory); }

.menu-toggle { display: none; }

.mobile-menu {
  position: fixed;
  z-index: 99;
  inset-inline: 0;
  top: var(--header-h);
  background: var(--charcoal-2);
  color: var(--ivory);
  border-bottom: 1px solid rgba(192, 197, 206, 0.25);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.32);
  padding: 14px 20px 24px;
  transform: translateY(-140%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: grid; gap: 4px; }
.mobile-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 700;
  color: var(--ivory);
}
.mobile-menu a:hover, .mobile-menu a[aria-current="page"] { background: rgba(192, 197, 206, 0.18); }
.mobile-menu .btn { margin-top: 16px; width: 100%; background: var(--silver); color: var(--charcoal); }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: var(--ivory);
  background: var(--charcoal);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--hero-overlay);
}
.hero-inner { padding: 96px 0 104px; max-width: 760px; }
.hero .eyebrow { color: var(--silver); }
.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(2.15rem, 5.2vw, 4.1rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.hero p {
  margin: 0 0 34px;
  max-width: 60ch;
  font-size: clamp(1rem, 1.8vw, 1.16rem);
  color: rgba(244, 245, 246, 0.86);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 68px;
  background: var(--charcoal);
  color: var(--ivory);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(192, 197, 206, 0.22), transparent 42%),
    radial-gradient(circle at 10% 90%, rgba(192, 197, 206, 0.12), transparent 45%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero .eyebrow { color: var(--silver); }
.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.2;
  max-width: 20ch;
  text-wrap: balance;
}
.page-hero p { margin: 0; max-width: 66ch; color: rgba(244, 245, 246, 0.82); font-size: 1.05rem; }

/* Facts strip */
.facts { background: var(--bg-alt); border-block: 1px solid var(--border); }
.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.fact {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 26px 24px;
  min-width: 0;
}
.fact + .fact { border-inline-start: 1px solid var(--border); }
.fact { transition: transform 0.25s var(--ease), background-color 0.25s var(--ease); }
.fact:hover { transform: translateY(-4px); background: var(--surface); }
.fact:hover .fact-icon { transform: translateY(-2px) scale(1.06); background: var(--charcoal); color: var(--ivory); }
.fact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.fact-icon svg { display: block; width: 21px; height: 21px; }
.fact-label { margin: 0 0 2px; font-size: 0.78rem; color: var(--muted); font-weight: 700; }
.fact-value { margin: 0; font-weight: 700; font-size: 0.94rem; overflow-wrap: anywhere; }
.fact a { text-decoration: underline; text-decoration-color: var(--silver); text-underline-offset: 3px; }

/* Section headings */
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
}
.section-head > div { min-width: 0; }
.section-head .btn { flex: none; }

/* Service cards */
.grid { display: grid; gap: 22px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 30px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(31, 36, 40, 0.03);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.service-card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 3px;
  background: var(--silver);
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform 0.32s var(--ease);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: var(--silver);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--text);
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
.service-card:hover .service-card-icon { transform: scale(1.12) rotate(-4deg); background: var(--silver); color: var(--charcoal); }
.service-card-icon svg { width: 28px; height: 28px; }
.service-card h3 { margin: 0 0 10px; font-size: 1.16rem; line-height: 1.35; }
.service-card p { margin: 0 0 18px; color: var(--muted); font-size: 0.94rem; }
.service-card .card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--text);
}
.service-card .card-link svg { width: 17px; height: 17px; transition: transform 0.25s; }
.service-card:hover .card-link svg { transform: translateX(4px); }
[dir="rtl"] .service-card:hover .card-link svg { transform: translateX(-4px) scaleX(-1); }

/* About split */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.split-media {
  position: relative;
  min-width: 0;
}
.split-media img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease), box-shadow 0.3s var(--ease);
}
.split-media:hover img { transform: scale(1.025); box-shadow: 0 24px 48px rgba(31, 36, 40, 0.16); }
.split-media::before {
  content: "";
  position: absolute;
  inset-block-start: -18px;
  inset-inline-end: -18px;
  width: 120px;
  height: 120px;
  border: 2px solid var(--silver);
  border-radius: 24px;
  z-index: -1;
}
.point-list { list-style: none; margin: 26px 0 28px; padding: 0; display: grid; gap: 12px; }
.point-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.point-list svg { width: 20px; height: 20px; flex: none; margin-top: 4px; color: var(--text); }

/* Text page blocks */
.prose-grid { gap: 22px; }
.prose-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.prose-card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 3px;
  background: var(--silver);
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform 0.32s var(--ease);
}
.prose-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--silver); }
.prose-card:hover::before { transform: scaleX(1); }
.prose-card-media {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}
.prose-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.prose-card:hover .prose-card-media img { transform: scale(1.07); }
.prose-card h2 { margin: 0 0 10px; font-size: 1.3rem; }
.prose-card p { margin: 0; color: var(--muted); }
.prose-card h3 { margin: 0 0 8px; font-size: 1.05rem; }

.value-grid { margin-top: 26px; }
.value-item {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.value-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--silver); }
.value-item:hover .fact-icon { transform: rotate(-6deg) scale(1.06); background: var(--silver); color: var(--charcoal); }
.value-item .fact-icon { margin-bottom: 16px; }
.value-item h3 { margin: 0 0 6px; font-size: 1.05rem; }
.value-item p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* Detailed services */
.service-detail {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.service-detail:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-detail-img {
  width: 220px;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.5s var(--ease);
}
.service-detail:hover .service-detail-img { transform: scale(1.04); }
.service-detail h2 { margin: 0 0 10px; font-size: 1.4rem; }
.service-detail p { margin: 0 0 16px; color: var(--muted); }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.tag-list li {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.tag-list li:hover { transform: translateY(-2px); background: var(--silver); color: var(--charcoal); border-color: var(--silver); }

.include-box {
  margin-top: 30px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--charcoal);
  color: var(--ivory);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.include-box:hover { transform: translateY(-3px); box-shadow: 0 20px 42px rgba(0, 0, 0, 0.22); }
.include-box h2 { margin: 0 0 16px; font-size: 1.3rem; }
.include-box ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 22px; }
.include-box li { display: flex; gap: 10px; align-items: center; font-size: 0.94rem; }
.include-box svg { width: 18px; height: 18px; color: var(--silver); flex: none; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface-2);
  cursor: zoom-in;
  aspect-ratio: 4 / 5;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.gallery-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(to top, rgba(31, 36, 40, 0.85), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }
.gallery-caption {
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  z-index: 1;
  padding: 16px;
  color: var(--ivory);
  font-weight: 800;
  font-size: 0.94rem;
  text-align: start;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s;
}
.gallery-item:hover .gallery-caption, .gallery-item:focus-visible .gallery-caption { opacity: 1; transform: translateY(0); }
.gallery-group + .gallery-group { margin-top: 54px; }
.gallery-group-title { margin: 0 0 6px; font-size: 1.5rem; }
.gallery-group-text { margin: 0 0 22px; color: var(--muted); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(12, 15, 17, 0.92);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(100%, 900px); max-height: 78vh; object-fit: contain; border-radius: 10px; }
.lightbox-caption { margin-top: 14px; color: var(--ivory); text-align: center; font-weight: 700; }
.lightbox-close, .lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(192, 197, 206, 0.45);
  border-radius: 50%;
  background: rgba(31, 36, 40, 0.75);
  color: var(--ivory);
  cursor: pointer;
}
.lightbox-close { inset-block-start: 18px; inset-inline-end: 18px; }
.lightbox-nav { inset-block-start: 50%; transform: translateY(-50%); }
.lightbox-prev { inset-inline-start: 18px; }
.lightbox-next { inset-inline-end: 18px; }
.lightbox-close svg, .lightbox-nav svg { width: 22px; height: 22px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr); gap: 26px; align-items: start; }
.form-card, .contact-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.form-card h2, .contact-card h2 { margin: 0 0 8px; font-size: 1.4rem; }
.form-card > p, .contact-card > p { margin: 0 0 24px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 0.9rem; }
.field label span { color: var(--muted); font-weight: 400; font-size: 0.8rem; }
.field input, .field select, .field textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--silver);
  box-shadow: 0 0 0 3px rgba(192, 197, 206, 0.32);
}
.form-actions { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-note { margin: 0; max-width: 46ch; color: var(--muted); font-size: 0.85rem; }

.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .fact-icon { width: 40px; height: 40px; border-radius: 10px; }
.contact-list strong { display: block; font-size: 0.8rem; color: var(--muted); }
.contact-list span, .contact-list a { display: block; overflow-wrap: anywhere; font-weight: 600; }
.contact-list .fact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.contact-list a { text-decoration: underline; text-decoration-color: var(--silver); text-underline-offset: 3px; }
.contact-subtitle { margin: 26px 0 12px; font-size: 1rem; }
.social-row { display: flex; flex-wrap: wrap; gap: 10px; }
.social-row a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.88rem;
  transition: transform 0.2s, border-color 0.2s;
}
.social-row a:hover { transform: translateY(-2px); border-color: var(--silver); }
.social-row svg { width: 18px; height: 18px; }
.note-box {
  margin-top: 24px;
  padding: 18px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.note-box h3 { margin: 0 0 6px; font-size: 0.95rem; }
.note-box p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* CTA band */
.cta-band {
  background: var(--charcoal);
  color: var(--ivory);
  text-align: center;
}
.cta-band .container { display: grid; justify-items: center; gap: 14px; }
.cta-band h2 { margin: 0; font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.25; }
.cta-band p { margin: 0; max-width: 56ch; color: rgba(244, 245, 246, 0.8); }

/* 404 */
.notfound { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound-code { margin: 0; font-size: clamp(4rem, 14vw, 8rem); font-weight: 900; line-height: 1; color: var(--silver); }
.notfound h1 { margin: 12px 0; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.notfound p { margin: 0 0 26px; color: var(--muted); }

/* Footer */
.site-footer {
  background: #181d20;
  color: var(--ivory);
  padding: 68px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr));
  gap: 34px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 48px; height: 48px; object-fit: contain; background: var(--ivory); border-radius: 8px; padding: 3px; }
.footer-brand strong { font-size: 1.05rem; line-height: 1.3; }
.site-footer p { color: var(--silver); font-size: 0.92rem; margin: 0 0 14px; }
.footer-title { margin: 0 0 16px; font-size: 1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-links a { color: var(--silver); font-size: 0.92rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--ivory); }
.footer-contact { display: grid; gap: 10px; font-size: 0.92rem; color: var(--silver); }
.footer-contact a { overflow-wrap: anywhere; }
.footer-contact a:hover { color: var(--ivory); }
.footer-bottom {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(192, 197, 206, 0.18);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: var(--silver);
  font-size: 0.84rem;
}

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s var(--ease), transform 0.65s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Keep hover motion working after the reveal animation finishes. */
.js .fact.reveal,
.js .service-card.reveal,
.js .gallery-item.reveal,
.js .prose-card.reveal,
.js .value-item.reveal,
.js .service-detail.reveal,
.js .include-box.reveal {
  transition: opacity 0.65s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.25s var(--ease);
}
.js .fact.reveal.is-visible:hover { transform: translateY(-4px); }
.js .service-card.reveal.is-visible:hover { transform: translateY(-8px); }
.js .gallery-item.reveal.is-visible:hover { transform: translateY(-5px); }
.js .prose-card.reveal.is-visible:hover { transform: translateY(-6px); }
.js .value-item.reveal.is-visible:hover { transform: translateY(-5px); }
.js .service-detail.reveal.is-visible:hover { transform: translateY(-4px); }
.js .include-box.reveal.is-visible:hover { transform: translateY(-3px); }

/* Responsive */
@media (max-width: 1120px) {
  .main-nav { display: none; }
  .header-actions { margin-inline-start: auto; }
  .menu-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .section { padding: 68px 0; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact + .fact { border-inline-start: 0; border-block-start: 1px solid var(--border); }
  .grid--3, .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .split-media img { max-height: 360px; min-height: 300px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-detail { grid-template-columns: 150px minmax(0, 1fr); }
  .service-detail-img { width: 150px; height: 220px; }
}

@media (max-width: 620px) {
  :root { --header-h: 66px; }
  .container { width: min(100% - 28px, var(--container)); }
  .brand-logo { width: 38px; height: 38px; }
  .brand-name { font-size: 0.92rem; }
  .brand-tagline { display: none; }
  .header-actions { gap: 4px; }
  .icon-btn { min-width: 36px; height: 36px; padding: 0 7px; }
  .lang-code { display: none; }
  .hero { min-height: 520px; }
  .hero-inner { padding: 78px 0 84px; }
  .section-head { display: block; }
  .section-head .btn { margin-top: 18px; }
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail-img { width: 100%; height: 260px; }
  .lightbox-nav { width: 40px; height: 40px; }
  .page-hero { padding: 58px 0 50px; }
}

@media (max-width: 380px) {
  .header-inner { gap: 8px; }
  .brand { gap: 6px; }
  .brand-logo { width: 34px; height: 34px; }
  .brand-name { max-width: 88px; }
  .header-actions { gap: 3px; }
  .icon-btn { min-width: 32px; padding: 0 4px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

[dir="ltr"] .lightbox-prev svg,
[dir="rtl"] .lightbox-next svg { transform: rotate(180deg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .fact:hover,
  .fact:hover .fact-icon,
  .prose-card:hover,
  .prose-card:hover .prose-card-media img,
  .value-item:hover,
  .value-item:hover .fact-icon,
  .split-media:hover img,
  .service-detail:hover,
  .service-detail:hover .service-detail-img,
  .tag-list li:hover,
  .include-box:hover,
  .js .fact.reveal.is-visible:hover,
  .js .service-card.reveal.is-visible:hover,
  .js .gallery-item.reveal.is-visible:hover,
  .js .prose-card.reveal.is-visible:hover,
  .js .value-item.reveal.is-visible:hover,
  .js .service-detail.reveal.is-visible:hover,
  .js .include-box.reveal.is-visible:hover { transform: none; }
}
