/* =====================================================================================
   Ravan Seir Abrisham — design system
   Photographic, warm "golden hour" palette (deep night navy + sunset orange) with glass surfaces.
   Real photographs come from static/images/photos/ (see core/photos.py) or the admin panel.
   ===================================================================================== */

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-Variable.f6d31671339d.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk-Variable.87c506d88b9f.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --night-950: #070a12;
  --night-900: #0b101c;
  --night-800: #121a2b;
  --night-700: #1b2538;
  --orange-300: #ffb27a;
  --orange-400: #ff8a3d;
  --orange-500: #f26b1d;     /* decorative: icons, lines, highlights on dark */
  --orange-600: #cf4a0e;     /* buttons with white text (AA contrast) */
  --orange-700: #a83b0a;
  --sand-100: #faf6f1;
  --sand-200: #f2ebe2;

  --bg: #f7f4f0;
  --bg-2: #efe9e2;
  --surface: #ffffff;
  --surface-2: #f4efe9;
  --text: #121826;
  --text-2: #36404f;
  --muted: #5c6574;
  --border: rgba(18, 24, 38, .1);
  --border-strong: rgba(18, 24, 38, .2);
  --accent: var(--orange-600);
  --accent-hover: #e0560f;
  --accent-deco: var(--orange-500);
  --accent-text: #b4450d;
  --link: #b4450d;
  --success: #12805c;
  --danger: #c2372b;
  --focus: #f26b1d;

  /* Glass on light backgrounds */
  --glass: rgba(255, 255, 255, .62);
  --glass-strong: rgba(255, 255, 255, .8);
  --glass-border: rgba(255, 255, 255, .7);
  --glass-shadow: 0 20px 50px -24px rgba(40, 24, 10, .28), 0 1px 0 rgba(255, 255, 255, .6) inset;

  /* Glass on photos / dark backgrounds (same in both themes) */
  --dglass: rgba(13, 18, 30, .46);
  --dglass-strong: rgba(13, 18, 30, .66);
  --dglass-border: rgba(255, 255, 255, .14);
  --dglass-hi: rgba(255, 255, 255, .08);

  --shadow-sm: 0 1px 2px rgba(18, 24, 38, .06);
  --shadow: 0 18px 40px -20px rgba(18, 24, 38, .3);
  --shadow-lg: 0 34px 70px -30px rgba(7, 10, 18, .55);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --font: "Vazirmatn", Tahoma, system-ui, sans-serif;
  --font-display: "Vazirmatn", Tahoma, system-ui, sans-serif;
  --font-num: "Space Grotesk", "Vazirmatn", system-ui, sans-serif;

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(76px, 9vw, 128px);
  --nav-h: 78px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --blur: blur(18px) saturate(1.4);

  color-scheme: light;
}

html[dir="ltr"] { --font-display: "Space Grotesk", "Vazirmatn", system-ui, sans-serif; }

html[data-theme="dark"] {
  --bg: #090d16;
  --bg-2: #0d1320;
  --surface: #111827;
  --surface-2: #172033;
  --text: #eef1f6;
  --text-2: #c9d0dc;
  --muted: #98a2b3;
  --border: rgba(255, 255, 255, .09);
  --border-strong: rgba(255, 255, 255, .18);
  --accent-text: #ff9a55;
  --link: #ff9a55;
  --success: #34c38f;
  --danger: #f0776b;
  --glass: rgba(20, 28, 44, .55);
  --glass-strong: rgba(20, 28, 44, .78);
  --glass-border: rgba(255, 255, 255, .1);
  --glass-shadow: 0 24px 60px -30px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .06) inset;
  --shadow: 0 18px 40px -20px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
html[dir="ltr"] body { line-height: 1.65; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text); margin: 0; line-height: 1.35; }
html[dir="ltr"] h1, html[dir="ltr"] h2, html[dir="ltr"] h3 { letter-spacing: -.02em; line-height: 1.12; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange-500); color: #fff; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.num { font-family: var(--font-num); font-feature-settings: "tnum"; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { flex: none; }
[dir="rtl"] .flip-rtl, [dir="ltr"] .flip-ltr { transform: scaleX(-1); }

.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 200; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; isolation: isolate; }
.section--tint { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
}
.glass-dark {
  background: var(--dglass);
  border: 1px solid var(--dglass-border);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 var(--dglass-hi) inset, 0 30px 60px -30px rgba(0, 0, 0, .6);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  color: #e9edf3;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: var(--glass-strong); }
  .glass-dark { background: var(--dglass-strong); }
}

/* Photo backdrops: real photograph + warm night grade. Without a photo, a graded gradient is shown. */
.photo-section { position: relative; isolation: isolate; color: #e9edf3; background: var(--night-900); overflow: hidden; }
.photo-section h2, .photo-section h3 { color: #fff; }
.photo-bg { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(ellipse at 75% 70%, rgba(242, 107, 29, .35), transparent 55%),
  linear-gradient(160deg, #1a2032 0%, #0b101c 60%, #070a12 100%); }
.photo-bg img { width: 100%; height: 100%; object-fit: cover; }
.photo-section::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 10, 18, .72) 0%, rgba(7, 10, 18, .4) 45%, rgba(7, 10, 18, .78) 100%);
}
.photo-section .lead, .photo-section p { color: #c3cad6; }

/* Section heading */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .84rem; font-weight: 800; color: var(--accent-text); margin-bottom: 14px; }
html[dir="ltr"] .eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-family: var(--font-num); }
.eyebrow::before { content: ""; width: 30px; height: 2px; border-radius: 2px; background: currentColor; }
.photo-section .eyebrow, .page-hero .eyebrow { color: var(--orange-400); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2, .h2 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.8rem); font-weight: 900; }
html[dir="ltr"] .section-head h2, html[dir="ltr"] .h2 { font-weight: 700; text-transform: uppercase; }
.section-head .lead { margin-top: 14px; font-size: clamp(1rem, .95rem + .3vw, 1.12rem); color: var(--muted); }
.section-head--split { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: end; justify-content: space-between; max-width: none; }
.section-head--split > div { max-width: 700px; }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--accent); --fg-btn: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 12px;
  font: 800 .95rem/1 var(--font); border: 1px solid transparent;
  background: var(--bg-btn); color: var(--fg-btn); cursor: pointer; text-decoration: none !important;
  transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .25s var(--ease), border-color .2s;
  white-space: nowrap;
}
html[dir="ltr"] .btn { text-transform: uppercase; letter-spacing: .05em; font-size: .84rem; font-weight: 700; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--accent { box-shadow: 0 12px 30px -10px rgba(242, 107, 29, .65); }
.btn--accent:hover { --bg-btn: var(--accent-hover); box-shadow: 0 16px 36px -10px rgba(242, 107, 29, .8); }
.btn--glass {
  --bg-btn: rgba(255, 255, 255, .1); --fg-btn: #fff;
  border-color: rgba(255, 255, 255, .3);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--glass:hover { --bg-btn: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .55); }
.btn--ghost { --bg-btn: transparent; --fg-btn: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--text); }
.btn--dark { --bg-btn: var(--night-900); --fg-btn: #fff; }
html[data-theme="dark"] .btn--dark { --bg-btn: #eef1f6; --fg-btn: var(--night-900); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .86rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .8; pointer-events: none; }
.btn .spin { display: none; animation: spin .9s linear infinite; }
.btn.is-loading .spin { display: block; }
.btn.is-loading .btn-icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--link); }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
[dir="ltr"] .link-arrow:hover .icon.flip-ltr { transform: scaleX(-1) translateX(-4px); }
[dir="rtl"] .link-arrow:hover .icon { transform: translateX(-4px); }

/* ---------- Header (glass) ---------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; color: #fff;
  transition: height .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header .container { display: flex; align-items: center; gap: 24px; }
.site-header.is-solid, .site-header--solid {
  --nav-h: 66px;
  background: rgba(9, 13, 22, .62);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border-bottom-color: rgba(255, 255, 255, .08);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .6);
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none !important; flex: none; }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-weight: 900; font-size: 1.06rem; color: #fff; white-space: nowrap; }
html[dir="ltr"] .brand-name { font-family: var(--font-num); font-weight: 700; letter-spacing: -.01em; }
.brand-sub { font-size: .72rem; color: rgba(255, 255, 255, .68); white-space: nowrap; }
html[dir="ltr"] .brand-sub { letter-spacing: .1em; text-transform: uppercase; font-size: .6rem; }
.brand-logo-img { height: 44px; width: auto; }

.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nav-link {
  display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px;
  color: rgba(255, 255, 255, .82); font-weight: 700; font-size: .92rem; text-decoration: none !important; transition: color .2s, background-color .2s;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-link[aria-current="page"] { color: #fff; background: rgba(242, 107, 29, .9); }

.header-tools { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; align-items: center; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); border-radius: 999px; padding: 3px; }
.lang-switch a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 32px; padding: 0 10px;
  border-radius: 999px; font-size: .8rem; font-weight: 800; color: rgba(255, 255, 255, .8); text-decoration: none !important;
}
.lang-switch a:hover { color: #fff; }
.lang-switch a[aria-current="true"] { background: #fff; color: var(--night-900) !important; }
.lang-switch a[lang="en"], .lang-switch a[lang="tr"] { font-family: var(--font-num); letter-spacing: .04em; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff; cursor: pointer;
  transition: background-color .2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .16); }
.theme-toggle .i-sun { display: none; }
html[data-theme="dark"] .theme-toggle .i-sun { display: block; }
html[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.menu-toggle { display: none; }

@media (max-width: 1120px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-tools { margin-inline-start: auto; }
}
@media (max-width: 520px) {
  .brand-sub { display: none; }
  .brand-name { font-size: .95rem; }
  .header-tools .lang-switch { display: none; }
  .brand-mark { width: 38px; height: 38px; }
}

/* Mobile drawer (glass) */
.drawer { position: fixed; inset: 0; z-index: 150; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(5, 8, 14, .55); opacity: 0; transition: opacity .3s var(--ease); }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; bottom: 0; inset-inline-end: 0; width: min(88vw, 380px);
  background: rgba(11, 16, 28, .82); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border-inline-start: 1px solid rgba(255, 255, 255, .1);
  color: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease);
}
[dir="rtl"] .drawer-panel { transform: translateX(-100%); }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.drawer-nav { list-style: none; margin: 0; padding: 12px; }
.drawer-nav a { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 0 16px; border-radius: 12px; color: #fff; font-weight: 800; font-size: 1.05rem; text-decoration: none !important; }
.drawer-nav a:hover { background: rgba(255, 255, 255, .06); }
.drawer-nav a[aria-current="page"] { background: rgba(242, 107, 29, .9); }
.drawer-foot { margin-top: auto; padding: 18px; border-top: 1px solid rgba(255, 255, 255, .08); display: grid; gap: 12px; }
.drawer-contact { display: grid; gap: 4px; font-size: .9rem; color: rgba(255, 255, 255, .7); }
.drawer-contact a { color: #fff; font-weight: 700; }
.drawer-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
body.no-scroll { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(660px, 100vh, 960px); display: flex; color: #fff; background: var(--night-950); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; animation: kenburns 24s var(--ease) both; }
[dir="rtl"] .hero-media img { object-position: 30% 60%; transform-origin: 30% 60%; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-fallback { position: absolute; inset: 0; background:
  radial-gradient(ellipse 60% 45% at 78% 70%, rgba(255, 170, 90, .55), transparent 70%),
  radial-gradient(ellipse 90% 60% at 70% 80%, rgba(242, 107, 29, .4), transparent 70%),
  linear-gradient(180deg, #121a2e 0%, #2a2238 45%, #6a3a3a 70%, #1a1416 72%, #0a0b10 100%); }
.hero-overlay { position: absolute; inset: 0; z-index: -1; }
[dir="ltr"] .hero-overlay { background:
  linear-gradient(90deg, rgba(7, 10, 18, .9) 0%, rgba(7, 10, 18, .66) 36%, rgba(7, 10, 18, .1) 66%, rgba(7, 10, 18, 0) 100%),
  linear-gradient(180deg, rgba(7, 10, 18, .6) 0%, rgba(7, 10, 18, 0) 24%, rgba(7, 10, 18, 0) 66%, rgba(7, 10, 18, .85) 100%); }
[dir="rtl"] .hero-overlay { background:
  linear-gradient(270deg, rgba(7, 10, 18, .9) 0%, rgba(7, 10, 18, .66) 36%, rgba(7, 10, 18, .1) 66%, rgba(7, 10, 18, 0) 100%),
  linear-gradient(180deg, rgba(7, 10, 18, .6) 0%, rgba(7, 10, 18, 0) 24%, rgba(7, 10, 18, 0) 66%, rgba(7, 10, 18, .85) 100%); }
.hero-inner { position: relative; width: 100%; display: grid; grid-template-rows: 1fr auto; padding-top: calc(var(--nav-h) + 24px); padding-bottom: 28px; }
.hero-content { max-width: 720px; align-self: center; padding-block: 32px 40px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
  color: #fff; font-weight: 700; font-size: .86rem; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero-kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange-500); box-shadow: 0 0 0 4px rgba(242, 107, 29, .25); }
html[dir="ltr"] .hero-kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-family: var(--font-num); }
.hero h1 { color: #fff; font-weight: 900; font-size: clamp(2.2rem, 1.3rem + 3.8vw, 4.4rem); line-height: 1.22; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
html[dir="ltr"] .hero h1 { font-weight: 700; text-transform: uppercase; line-height: 1.02; letter-spacing: -.01em; font-size: clamp(2.3rem, 1.2rem + 4.4vw, 5rem); }
.hero h1 .accent { color: var(--orange-400); }
.hero-lead { margin-top: 22px; max-width: 560px; font-size: clamp(1rem, .95rem + .35vw, 1.15rem); color: #d8dee8; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-ctas .btn { min-height: 56px; padding: 0 28px; }

.hero-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 8px; list-style: none; }
.hero-features li + li { border-inline-start: 1px solid rgba(255, 255, 255, .1); }
.hero-feature { display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px 18px; color: #fff; border-radius: 12px; text-decoration: none !important; transition: background-color .25s var(--ease); }
.hero-feature:hover { background: rgba(255, 255, 255, .07); }
.hero-feature .fi { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(242, 107, 29, .18); color: var(--orange-400); border: 1px solid rgba(242, 107, 29, .35); transition: background-color .25s, color .25s; }
.hero-feature:hover .fi { background: var(--orange-500); color: #fff; }
.hero-feature strong { display: block; font-size: .95rem; line-height: 1.4; }
html[dir="ltr"] .hero-feature strong { font-size: .84rem; text-transform: uppercase; letter-spacing: .05em; font-family: var(--font-num); }
.hero-feature small { display: block; font-size: .78rem; color: #b6bfcc; margin-top: 2px; }
@media (max-width: 1000px) {
  .hero-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-features li:nth-child(3) { border-inline-start: 0; }
  .hero-features li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
}
@media (max-width: 820px) {
  [dir] .hero-overlay { background: linear-gradient(180deg, rgba(7, 10, 18, .72) 0%, rgba(7, 10, 18, .55) 45%, rgba(7, 10, 18, .9) 80%, rgba(7, 10, 18, .96) 100%); }
}
@media (max-width: 560px) {
  .hero { min-height: 0; }
  .hero-ctas .btn { width: 100%; }
  .hero-feature { padding: 12px 10px; gap: 10px; }
  .hero-feature .fi { width: 40px; height: 40px; }
  .hero-feature small { display: none; }
  .hero-feature strong { font-size: .84rem; }
}

/* ---------- Generic grids & cards ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.card { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.card:hover { transform: translateY(-6px); }

/* Photo card: image fills the card, text sits on a glass panel */
.photo-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--night-800); isolation: isolate; color: #fff; text-decoration: none !important; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; box-shadow: var(--shadow); }
.photo-card .pc-img { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(ellipse at 70% 80%, rgba(242, 107, 29, .4), transparent 60%), linear-gradient(160deg, #1d2536, #0b101c); }
.photo-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.photo-card:hover .pc-img img { transform: scale(1.07); }
.photo-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 10, 18, 0) 30%, rgba(7, 10, 18, .75) 100%); }
.photo-card .pc-body { margin: 12px; padding: 20px 22px; }
.photo-card h3 { color: #fff; font-size: 1.2rem; font-weight: 900; margin-bottom: 6px; }
html[dir="ltr"] .photo-card h3 { font-weight: 700; }
.photo-card p { color: #ccd3de; font-size: .92rem; margin: 0; }
.pc-tag { position: absolute; top: 16px; inset-inline-start: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font: 700 .72rem var(--font-num); letter-spacing: .1em; color: #fff; background: rgba(13, 18, 30, .45); border: 1px solid rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pc-no { position: absolute; top: 14px; inset-inline-end: 18px; font: 700 2.2rem/1 var(--font-num); color: rgba(255, 255, 255, .85); text-shadow: 0 4px 20px rgba(0, 0, 0, .5); }

/* ---------- Intro ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.intro-text { display: flex; flex-direction: column; }
.intro-text .h2 { margin-bottom: 18px; }
.intro-copy p { color: var(--text-2); font-size: 1.02rem; margin-bottom: .8em; }
.values { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 12px; }
.value {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 16px 18px;
  border-radius: var(--radius); background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); transition: transform .3s var(--ease), border-color .3s;
}
.value:hover { transform: translateY(-3px); border-color: rgba(242, 107, 29, .4); }
.value .ic { width: 44px; height: 44px; }
.value h3 { font-size: 1rem; font-weight: 900; line-height: 1.4; }
.value p { font-size: .84rem; color: var(--muted); margin: 3px 0 0; line-height: 1.65; }
.intro-figure { position: relative; margin: 0; min-height: 560px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); isolation: isolate;
  background: radial-gradient(ellipse at 70% 75%, rgba(242, 107, 29, .45), transparent 60%), linear-gradient(160deg, #1d2536, #0b101c); }
.intro-figure > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; z-index: -2; transition: transform 1.2s var(--ease); }
.intro-figure:hover > img { transform: scale(1.04); }
.intro-figure::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 10, 18, .25) 0%, transparent 30%, transparent 55%, rgba(7, 10, 18, .7) 100%); }
.intro-chip { position: absolute; top: 18px; inset-inline-start: 18px; padding: 8px 14px; border-radius: 999px !important; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .84rem; color: #fff; }
.intro-chip .icon { color: var(--orange-400); }
.intro-badge { position: absolute; inset-inline: 18px; bottom: 18px; padding: 16px 18px; display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; }
.intro-badge .ic { width: 48px; height: 48px; }
.intro-badge strong { display: block; font-size: 1rem; color: #fff; margin-bottom: 2px; }
.intro-badge span { font-size: .84rem; color: #c7cfdb; line-height: 1.6; }
@media (max-width: 1024px) { .intro { grid-template-columns: 1fr; } .intro-figure { min-height: 420px; order: -1; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; grid-auto-rows: auto; } .intro-figure { min-height: 340px; } }

/* ---------- Services (photo cards over a dark photo section) ---------- */
.services-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.services-grid .service-card { grid-column: span 2; }
.services-grid .service-card:nth-child(1), .services-grid .service-card:nth-child(2) { grid-column: span 3; min-height: 440px; }
.service-card .pc-body { display: flex; flex-direction: column; gap: 4px; }
.service-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-500); color: #fff; margin-bottom: 10px; box-shadow: 0 10px 24px -8px rgba(242, 107, 29, .8); }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.service-tags li { font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #e6eaf0; border: 1px solid rgba(255, 255, 255, .14); }
.service-card .link-arrow { color: var(--orange-300); margin-top: 12px; }
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-grid .service-card, .services-grid .service-card:nth-child(1), .services-grid .service-card:nth-child(2) { grid-column: auto; min-height: 400px; }
  .services-grid .service-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } .photo-card { min-height: 360px; } }

/* ---------- Routes: real map with a 3D tilt + route rows ---------- */
.route-map { margin: 0; perspective: 1800px; }
.rm-stage {
  position: relative; aspect-ratio: 1000 / 640; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 60px 90px -50px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .04) inset, 0 -1px 0 rgba(255, 255, 255, .12) inset;
  transform: rotateX(16deg) scale(.985); transform-origin: 50% 85%;
  transition: transform 1.2s var(--ease);
}
.route-map.is-visible .rm-stage, .route-map:hover .rm-stage { transform: rotateX(9deg) scale(1); }
.rm-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(180deg, rgba(255, 255, 255, .07), transparent 22%), radial-gradient(ellipse at 50% 120%, rgba(242, 107, 29, .18), transparent 60%); }
.rm-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rm-land { fill: #1a2335; stroke: #2c3850; stroke-width: .8; stroke-linejoin: round; }
.rm-land--eu { fill: #1d283c; }
.rm-land--on { fill: #3a2a24; stroke: rgba(242, 107, 29, .65); stroke-width: 1.2; }
.rm-land--hub { fill: #5a3420; stroke: #f26b1d; stroke-width: 1.6; }
.rm-arc-glow { fill: none; stroke: rgba(242, 107, 29, .35); stroke-width: 7; stroke-linecap: round; filter: url(#rm-glow); }
.rm-arc { fill: none; stroke: url(#rm-arc); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 10 8; animation: rmdash 1.4s linear infinite; transition: opacity .3s, stroke-width .3s; }
@keyframes rmdash { to { stroke-dashoffset: -36; } }
.rm-runner { fill: #fff; filter: url(#rm-glow); }
.rm-borders circle { fill: #0b101c; stroke: #fff; stroke-width: 1.6; }
.rm-city .dot { fill: #fff; stroke: #f26b1d; stroke-width: 2.5; }
.rm-city--hub .dot { fill: #f26b1d; stroke: #fff; }
.rm-city .pulse { fill: none; stroke: #f26b1d; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: rmpulse 2.6s var(--ease) infinite; }
@keyframes rmpulse { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.8); } }
.route-map.has-focus .rm-arc { opacity: .15; }
.route-map.has-focus .rm-arc.is-focus { opacity: 1; stroke-width: 4; }
.rm-label {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, 16px);
  padding: 4px 12px; border-radius: 999px; font-size: .82rem; font-weight: 800; color: #fff; white-space: nowrap;
  background: rgba(10, 14, 24, .62); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .8); pointer-events: none;
}
.rm-label--hub { background: var(--orange-600); border-color: rgba(255, 255, 255, .35); font-size: .9rem; transform: translate(-50%, 20px); }
.rm-label--border { font-size: .7rem; font-weight: 700; padding: 2px 8px; color: #dfe4ec; transform: translate(-50%, -150%); }
.rm-legend { display: flex; justify-content: center; gap: 22px; margin-top: 14px; font-size: .8rem; color: #c3cad6; }
.rm-legend span { display: inline-flex; align-items: center; gap: 8px; }
.rm-legend i.l { width: 22px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #ffb27a, #f26b1d); }
.rm-legend i.b { width: 10px; height: 10px; border-radius: 50%; background: #0b101c; border: 2px solid #fff; }

.route-rows { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.route-row { padding: 16px; display: grid; gap: 10px; cursor: default; transition: transform .3s var(--ease), border-color .3s, background-color .3s; }
.route-row:hover, .route-row:focus-visible, .route-row.is-focus { transform: translateY(-4px); border-color: rgba(242, 107, 29, .7); background: rgba(30, 22, 18, .6); }
.rr-no { font: 700 .75rem var(--font-num); color: var(--orange-400); letter-spacing: .1em; }
.rr-track { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.rr-end { display: grid; justify-items: center; gap: 6px; text-align: center; }
.rr-end img { width: 30px; height: 22px; border-radius: 4px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 6px 12px -6px rgba(0, 0, 0, .8); }
.rr-end strong { font-size: .86rem; color: #fff; font-weight: 800; white-space: nowrap; }
.rr-line { position: relative; height: 2px; margin-bottom: 26px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 6px, transparent 6px 11px); }
.rr-line i { position: absolute; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--orange-500); box-shadow: 0 0 10px 2px rgba(242, 107, 29, .7); animation: rrmove 2.6s var(--ease) infinite; }
[dir="ltr"] .rr-line i { left: 0; }
[dir="rtl"] .rr-line i { right: 0; animation-name: rrmove-rtl; }
@keyframes rrmove { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 9px); opacity: 0; } }
@keyframes rrmove-rtl { 0% { right: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { right: calc(100% - 9px); opacity: 0; } }
.rr-desc { margin: 0; font-size: .78rem; color: #aeb7c4 !important; line-height: 1.6; }
.borders-note { margin-top: 12px; padding: 14px 18px; font-size: .9rem; display: flex; gap: 12px; align-items: center; justify-content: center; color: #dfe4ec; }
.borders-note .icon { color: var(--orange-400); }
@media (max-width: 1100px) { .route-rows { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .route-rows { grid-template-columns: 1fr; }
  .rm-stage { transform: none !important; }
  .rm-label { font-size: .7rem; padding: 2px 8px; }
  .rm-label--border { display: none; }
}

/* ---------- Why us ---------- */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.why-aside { position: sticky; top: calc(var(--nav-h) + 24px); }
.why-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.why-item { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 20px 22px; }
.why-item:hover { border-color: rgba(242, 107, 29, .55); }
.why-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: rgba(242, 107, 29, .18); color: var(--orange-400); border: 1px solid rgba(242, 107, 29, .35); }
.why-item h3 { font-size: 1.12rem; font-weight: 900; margin-bottom: 4px; }
.why-item p { margin: 0; color: #c3cad6; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } .why-aside { position: static; } }

/* ---------- Fleet ---------- */
.fleet-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fleet-card { min-height: 420px; }
@media (max-width: 1080px) { .fleet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .fleet-grid { grid-template-columns: 1fr; } .fleet-card { min-height: 340px; } }

/* ---------- CTA band ---------- */
.cta-band { display: grid; grid-template-columns: 1.4fr auto; gap: 24px 40px; align-items: center; padding: clamp(28px, 4vw, 56px); }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem); font-weight: 900; }
html[dir="ltr"] .cta-band h2 { font-weight: 700; text-transform: uppercase; }
.cta-band p { color: #c7cfdb; margin: 10px 0 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-section { background:
  radial-gradient(ellipse at 10% 0%, rgba(242, 107, 29, .14), transparent 45%),
  radial-gradient(ellipse at 100% 100%, rgba(242, 107, 29, .1), transparent 45%), var(--bg-2); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; color: inherit; text-decoration: none !important; }
.contact-card:hover { border-color: rgba(242, 107, 29, .6); }
.contact-card .ci { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-500); color: #fff; flex: none; box-shadow: 0 10px 24px -10px rgba(242, 107, 29, .8); }
.contact-card small { display: block; color: var(--muted); font-size: .8rem; }
.contact-card strong { display: block; font-size: 1.1rem; font-weight: 900; color: var(--text); }
.contact-card .go { margin-inline-start: auto; color: var(--muted); }
.contact-photo { position: relative; margin-top: 12px; border-radius: var(--radius); overflow: hidden; min-height: 200px; display: flex; align-items: flex-end; isolation: isolate; color: #fff; }
.contact-photo .pc-img { position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse at 70% 80%, rgba(242, 107, 29, .4), transparent 60%), linear-gradient(160deg, #1d2536, #0b101c); }
.contact-photo .pc-img img { width: 100%; height: 100%; object-fit: cover; }
.contact-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 20%, rgba(7, 10, 18, .7)); }
.contact-photo .glass-dark { margin: 12px; padding: 16px 18px; }
.contact-photo h3 { font-size: 1rem; margin-bottom: 4px; color: #fff; }
.contact-photo p { margin: 0; font-size: .86rem; color: #ccd3de; }

.form-card { padding: clamp(22px, 3vw, 36px); }
.form-card h3 { font-size: 1.35rem; font-weight: 900; }
.form-card .form-intro { color: var(--muted); font-size: .92rem; margin: 6px 0 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 800; font-size: .86rem; color: var(--text); }
.field label .req { color: var(--danger); margin-inline-start: 2px; }
.field label .opt { color: var(--muted); font-weight: 500; font-size: .8rem; margin-inline-start: 4px; }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--border-strong); background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--text);
  font: 500 1rem/1.5 var(--font); transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; background: var(--surface); border-color: var(--orange-500); box-shadow: 0 0 0 4px rgba(242, 107, 29, .2); }
.field .help { font-size: .78rem; color: var(--muted); }
.field .error { display: flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--danger); }
.field .error:empty { display: none; }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; }
.form-foot small { color: var(--muted); font-size: .8rem; display: inline-flex; align-items: center; gap: 6px; }
.form-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; margin-bottom: 20px; font-weight: 700; font-size: .92rem; }
.form-alert--error { background: color-mix(in srgb, var(--danger) 10%, transparent); color: var(--danger); border: 1px solid color-mix(in srgb, var(--danger) 30%, transparent); }
.form-success { text-align: center; padding: 28px 8px; }
.form-success .badge { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: color-mix(in srgb, var(--success) 14%, transparent); color: var(--success); }
.form-success p { color: var(--muted); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Page header (inner pages) ---------- */
.page-hero { padding: calc(var(--nav-h) + 72px) 0 72px; min-height: 420px; display: flex; align-items: flex-end; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); font-weight: 900; }
html[dir="ltr"] .page-hero h1 { font-weight: 700; text-transform: uppercase; }
.page-hero p { color: #d3dae5; max-width: 680px; margin: 14px 0 0; font-size: 1.08rem; }
.breadcrumb { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; padding: 6px 14px; margin: 0 0 22px; font-size: .84rem; color: #c3cad6;
  border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.breadcrumb a { color: #fff; }
.breadcrumb .icon { opacity: .6; }

/* Service detail */
.detail { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.detail-body p { font-size: 1.06rem; color: var(--text-2); }
.detail-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.detail-list { padding: 22px; }
.detail-list h2 { font-size: 1.05rem; font-weight: 900; margin-bottom: 12px; }
.detail-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.detail-list li { display: flex; gap: 10px; align-items: flex-start; }
.detail-list li .icon { color: var(--orange-500); margin-top: 5px; }
.detail-aside { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 14px; }
.other-services { padding: 8px; }
.other-services a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; color: var(--text); font-weight: 800; text-decoration: none !important; }
.other-services a:hover { background: rgba(242, 107, 29, .1); }
.other-services a > .icon:first-child { color: var(--orange-500); }
.other-services a > .icon:last-child { margin-inline-start: auto; color: var(--muted); }
@media (max-width: 960px) { .detail { grid-template-columns: 1fr; } .detail-aside { position: static; } }
@media (max-width: 560px) { .detail-lists { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; isolation: isolate; overflow: hidden; background: var(--night-950); color: #aab3c2; padding: clamp(60px, 7vw, 96px) 0 26px; font-size: .92rem; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 50% 60% at 85% 0%, rgba(242, 107, 29, .18), transparent 70%), radial-gradient(ellipse 40% 50% at 0% 100%, rgba(242, 107, 29, .1), transparent 70%); }
.footer-grid { display: grid; grid-template-columns: 1.35fr .7fr 1fr 1.45fr; gap: 40px; align-items: start; }
.site-footer h2 { color: #fff; font-size: .98rem; font-weight: 900; margin-bottom: 16px; }
html[dir="ltr"] .site-footer h2 { font-family: var(--font-num); text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #d5dbe5; }
.site-footer a:hover { color: var(--orange-400); text-decoration: none; }
.footer-about { margin: 18px 0 0; line-height: 1.9; max-width: 380px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.75; }
.footer-contact .icon { flex: none; margin-top: 4px; }
.footer-contact .icon { color: var(--orange-500); }
.footer-bottom { margin-top: 48px; padding: 16px 20px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; font-size: .82rem; }
.footer-tools { display: flex; align-items: center; gap: 10px; }
.designer-credit { margin: 0; display: inline-flex; align-items: center; gap: 10px; color: #98a2b3; font-size: .78rem; }
.designer-credit img { height: 36px; width: auto; opacity: .92; transition: opacity .2s, filter .2s; }
.designer-credit:hover img { opacity: 1; filter: drop-shadow(0 0 6px rgba(141, 184, 232, .45)); }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 40px; } }
@media (max-width: 1100px) and (min-width: 561px) {
  .footer-grid { grid-template-areas: "brand contact" "nav services"; }
  .footer-grid > div:nth-child(1) { grid-area: brand; } .footer-grid > div:nth-child(2) { grid-area: nav; }
  .footer-grid > div:nth-child(3) { grid-area: services; } .footer-grid > div:nth-child(4) { grid-area: contact; }
}
@media (max-width: 760px) { .footer-bottom { flex-direction: column; align-items: flex-start; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; } .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; } }

/* ---------- Toasts ---------- */
.toasts { position: fixed; z-index: 300; bottom: 20px; inset-inline-end: 20px; display: grid; gap: 10px; width: min(92vw, 400px); pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px;
  background: rgba(13, 18, 30, .82); color: #fff; border: 1px solid rgba(255, 255, 255, .12); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: var(--shadow-lg); border-inline-start: 4px solid #34c38f; animation: toast-in .35s var(--ease); }
.toast--error { border-inline-start-color: #f0776b; }
.toast .icon { margin-top: 3px; color: #34c38f; }
.toast--error .icon { color: #f0776b; }
.toast p { margin: 0; font-size: .92rem; font-weight: 700; }
.toast button { margin-inline-start: auto; background: none; border: 0; color: #c3cad6; cursor: pointer; padding: 2px; border-radius: 4px; }
.toast.is-leaving { animation: toast-out .25s var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px); } }

/* ---------- Error pages ---------- */
.error-page { min-height: 72vh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 40px) 0 60px; }
.error-page .code { font: 700 clamp(5rem, 14vw, 9rem)/1 var(--font-num); color: var(--orange-500); }
.error-page h1 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem); margin: 10px 0; }
.error-page p { color: var(--muted); }
.page-404 .site-header { background: rgba(9, 13, 22, .85); }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }
.js .reveal[data-delay="4"] { transition-delay: .32s; }

html.theme-switching *, html.theme-switching *::before, html.theme-switching *::after { transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease) !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .rm-arc, .rm-city .pulse, .rr-line i, .hero-media img { animation: none !important; }
}

@media print {
  .site-header, .drawer, .toasts { display: none !important; }
  .hero, .page-hero, .photo-section, .site-footer { background: #fff !important; color: #000 !important; }
}
.photo-section .section-head .lead { color: #c3cad6; }
/* Service cards: keep the photo visible – compact glass panel, two-line summary */
.service-card .pc-body { padding: 18px 20px; }
.service-card p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.services-grid .service-card:nth-child(n+3) .service-tags { display: none; }
.services-grid .service-card:nth-child(n+3) { min-height: 420px; }
.services-grid .service-card:nth-child(1), .services-grid .service-card:nth-child(2) { min-height: 500px; }
.service-icon { position: absolute; top: 16px; inset-inline-start: 16px; margin: 0; }
.rm-label--border.rm-label--jolfa { transform: translate(14px, -50%); }
.rm-label--border.rm-label--bazargan { transform: translate(calc(-100% - 12px), -50%); }
.rm-label--up { transform: translate(-50%, calc(-100% - 14px)); }

/* ---------- Icon tiles (one refined style everywhere) ---------- */
.ic {
  display: inline-grid; place-items: center; flex: none; border-radius: 14px; color: #ffc59a;
  background: radial-gradient(120% 120% at 25% 15%, rgba(255, 170, 100, .32), rgba(242, 107, 29, .1) 55%, rgba(242, 107, 29, .04));
  border: 1px solid rgba(255, 170, 110, .32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 12px 26px -16px rgba(242, 107, 29, .9);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.ic--light { color: #d4500f; background: linear-gradient(150deg, #ffffff, #fff1e6); border-color: rgba(242, 107, 29, .22); box-shadow: inset 0 1px 0 #fff, 0 10px 22px -14px rgba(212, 80, 15, .6); }
html[data-theme="dark"] .ic--light { color: #ffb27a; background: linear-gradient(150deg, rgba(255, 255, 255, .08), rgba(242, 107, 29, .12)); border-color: rgba(255, 170, 110, .3); box-shadow: none; }
.card:hover .ic, .hero-feature:hover .ic, .value:hover .ic, .contact-card:hover .ic { transform: translateY(-2px) rotate(-4deg); }
.hero-feature .fi, .hero-feature:hover .fi { background: radial-gradient(120% 120% at 25% 15%, rgba(255, 170, 100, .32), rgba(242, 107, 29, .1) 55%, rgba(242, 107, 29, .04)); color: #ffc59a; border-color: rgba(255, 170, 110, .32); }
.why-icon { background: radial-gradient(120% 120% at 25% 15%, rgba(255, 170, 100, .32), rgba(242, 107, 29, .1) 55%, rgba(242, 107, 29, .04)); color: #ffc59a; }
.contact-card .ci, .contact-card:hover .ci { background: linear-gradient(150deg, #ffffff, #fff1e6); color: #d4500f; box-shadow: inset 0 1px 0 #fff, 0 10px 22px -14px rgba(212, 80, 15, .6); }
html[data-theme="dark"] .contact-card .ci { background: linear-gradient(150deg, rgba(255, 255, 255, .08), rgba(242, 107, 29, .12)); color: #ffb27a; box-shadow: none; }
.service-icon { background: rgba(13, 18, 30, .45); color: #ffc59a; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16); }

/* CTA: show more of the truck */
.cta-section { padding-block: clamp(48px, 5vw, 80px) clamp(230px, 27vw, 400px); }
.cta-section .photo-bg img { object-position: 50% 88%; }
.cta-section::after { background: linear-gradient(180deg, rgba(7, 10, 18, .88) 0%, rgba(7, 10, 18, .55) 40%, rgba(7, 10, 18, .05) 75%, rgba(7, 10, 18, .25) 100%); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; z-index: 120; bottom: 22px; inset-inline-end: 22px; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: #fff; border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(13, 18, 30, .6); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .12);
  opacity: 0; visibility: hidden; transform: translateY(20px) scale(.85);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s, background-color .25s;
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); }
.to-top svg.ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); pointer-events: none; }
.to-top .ring circle { fill: none; stroke-width: 3; }
.to-top .ring .track { stroke: rgba(255, 255, 255, .1); }
.to-top .ring .bar { stroke: var(--orange-500); stroke-linecap: round; stroke-dasharray: 169.6; stroke-dashoffset: 169.6; transition: stroke-dashoffset .1s linear; }
.to-top .arrow { position: relative; transition: transform .3s var(--ease); }
.to-top:hover .arrow { transform: translateY(-3px); }
.to-top.is-launching .arrow { animation: launch .7s var(--ease) forwards; }
@keyframes launch { 0% { transform: translateY(0); } 30% { transform: translateY(4px); } 100% { transform: translateY(-46px); opacity: 0; } }
.to-top.is-launching::after { content: ""; position: absolute; left: 50%; top: 50%; width: 3px; height: 26px; margin-left: -1.5px; border-radius: 3px;
  background: linear-gradient(180deg, rgba(242, 107, 29, 0), #f26b1d); animation: trail .7s var(--ease) forwards; }
@keyframes trail { from { opacity: 1; transform: translateY(0) scaleY(.3); } to { opacity: 0; transform: translateY(-40px) scaleY(1.4); } }
.toasts { bottom: 92px; }
@media (max-width: 560px) { .to-top { width: 50px; height: 50px; bottom: 16px; inset-inline-end: 16px; } }
@media (max-width: 760px) { .cta-section .photo-bg img { object-position: 62% 92%; } }
@media (max-width: 560px) {
  .intro-figure { min-height: 380px; }
  .intro-chip { top: 12px; inset-inline-start: 12px; font-size: .78rem; padding: 6px 12px; }
  .intro-badge { inset-inline: 12px; bottom: 12px; padding: 12px 14px; grid-template-columns: 40px 1fr; gap: 12px; }
  .intro-badge .ic { width: 40px; height: 40px; }
  .intro-badge div > span { display: none; }
}
.ic--sm { width: 36px; height: 36px; border-radius: 11px; }

/* ---------- Hero: cinematic entrance, light trails, cursor glow, parallax ---------- */
.hero-media { translate: 0 var(--hero-py, 0px); will-change: translate; }
.js .hero-media { animation: heroReveal 2.2s cubic-bezier(.2, .7, .1, 1) both; }
@keyframes heroReveal {
  from { opacity: 0; filter: blur(14px) brightness(.35) saturate(.6); clip-path: inset(0 0 0 0 round 0); }
  to { opacity: 1; filter: none; }
}
.hero-inner { translate: 0 var(--hero-cy, 0px); opacity: var(--hero-co, 1); }

/* Words of the title rise in one after another (spans added by site.js) */
.hero h1 .w { display: inline-block; }
.js .hero h1[data-split] { visibility: hidden; }
.js .hero h1.is-split { visibility: visible; }
.js .hero h1.is-split .w { opacity: 0; transform: translateY(.9em) rotateX(-70deg) scale(.96); filter: blur(10px); transform-origin: 50% 100%;
  animation: wordIn .9s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--hd) + .2s + var(--i) * 85ms); }
@keyframes wordIn { to { opacity: 1; transform: none; filter: none; } }
.hero h1 .accent { position: relative; white-space: normal; }
.hero h1 .accent .w { background: linear-gradient(100deg, #ff9a52 0%, #ffd2ac 45%, #f26b1d 60%, #ff9a52 100%); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation-name: wordIn, sheen; animation-duration: .9s, 6s;
  animation-delay: calc(var(--hd) + .2s + var(--i) * 85ms), calc(var(--hd) + 2.4s + var(--i) * 60ms); animation-iteration-count: 1, infinite; animation-fill-mode: forwards, none;
  animation-timing-function: cubic-bezier(.2, .8, .2, 1), ease-in-out; }
@keyframes sheen { 0%, 60% { background-position: 100% 0; } 100% { background-position: -120% 0; } }
.js .hero-kicker, .js .hero-lead, .js .hero-ctas, .js .hero-features { opacity: 0; transform: translateY(26px); animation: riseIn 1s cubic-bezier(.2, .8, .2, 1) forwards; }
.js .hero-kicker { animation-delay: var(--hd); }
.js .hero-lead { animation-delay: calc(var(--hd) + .9s); }
.js .hero-ctas { animation-delay: calc(var(--hd) + 1.1s); }
.js .hero-features { animation-delay: calc(var(--hd) + 1.3s); }
@keyframes riseIn { to { opacity: 1; transform: none; } }
.hero-kicker::before { animation: beacon 2.4s ease-out infinite; }
@keyframes beacon { 0% { box-shadow: 0 0 0 0 rgba(242, 107, 29, .65); } 70%, 100% { box-shadow: 0 0 0 12px rgba(242, 107, 29, 0); } }
.hero-ctas .btn--accent { position: relative; overflow: hidden; }
.hero-ctas .btn--accent::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .38) 50%, transparent 70%);
  transform: translateX(-120%); animation: btnShine 5s 3s ease-in-out infinite; pointer-events: none; }
@keyframes btnShine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* Headlight trails – long-exposure streaks drifting across the road */
.hero-trails { position: absolute; inset: 55% 0 8% 0; z-index: -1; pointer-events: none; overflow: hidden; mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(90deg, transparent 0 46%, #000 68%); mask-image: linear-gradient(90deg, transparent 0 46%, #000 68%); }
.hero-trails i { position: absolute; left: 0; height: 2px; width: 34vw; border-radius: 2px; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(242, 107, 29, .0) 10%, rgba(255, 140, 60, .85) 70%, #fff6e8); filter: blur(.6px) drop-shadow(0 0 6px rgba(255, 140, 60, .9));
  animation: trail 7s linear infinite; }
.hero-trails i:nth-child(1) { top: 20%; animation-duration: 6.5s; animation-delay: 1.8s; }
.hero-trails i:nth-child(2) { top: 38%; width: 22vw; animation-duration: 9s; animation-delay: 3.2s; }
.hero-trails i:nth-child(3) { top: 55%; animation-duration: 5.5s; animation-delay: 2.4s; height: 3px; }
.hero-trails i:nth-child(4) { top: 72%; width: 26vw; animation-duration: 8s; animation-delay: 5s;
  background: linear-gradient(90deg, transparent, rgba(255, 60, 40, .0) 10%, rgba(255, 70, 50, .8) 75%, #ffd9cf); filter: blur(.6px) drop-shadow(0 0 6px rgba(255, 60, 40, .9)); }
.hero-trails i:nth-child(5) { top: 86%; width: 40vw; animation-duration: 7.5s; animation-delay: 4s; }
.hero-trails i:nth-child(6) { top: 46%; width: 18vw; animation-duration: 10s; animation-delay: 6.5s;
  background: linear-gradient(90deg, transparent, rgba(255, 70, 50, .0) 10%, rgba(255, 70, 50, .75) 75%, #ffd9cf); filter: blur(.6px) drop-shadow(0 0 6px rgba(255, 60, 40, .9)); }
@keyframes trail { 0% { transform: translateX(-40vw); opacity: 0; } 10% { opacity: .9; } 85% { opacity: .9; } 100% { transform: translateX(110vw); opacity: 0; } }
[dir="rtl"] .hero-trails { transform: scaleX(-1); }

/* Warm light that follows the cursor */
.hero-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease);
  background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 45%), rgba(255, 140, 60, .18), rgba(242, 107, 29, .06) 40%, transparent 70%); mix-blend-mode: screen; }
.hero.is-hover .hero-glow { opacity: 1; }
/* Fine film grain for a photographic finish */
.hero-grain { position: absolute; inset: -50%; z-index: -1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -2%); } 60% { transform: translate(-2%, -4%); } 80% { transform: translate(4%, 2%); } 100% { transform: translate(0, 0); } }
@media (max-width: 760px) { .hero-trails { display: none; } .hero-trails i:nth-child(n+4) { display: none; } .hero-grain { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .hero-media, .js .hero h1.is-split .w, .js .hero-kicker, .js .hero-lead, .js .hero-ctas, .js .hero-features { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero-trails, .hero-grain, .hero-ctas .btn--accent::after { display: none; }
  .hero h1 .accent .w { animation: none !important; }
}
.hero h1, .hero h1 .accent { perspective: 900px; }

/* ---------- Hero v2: opening curtain, live route, depth parallax ---------- */
.hero { --hd: 0s; --tx: 0; --ty: 0; }
.js .hero { --hd: 1.05s; }
.js .hero-media { animation-delay: .55s; }

/* Opening curtain: logo, an orange horizon line, then the scene splits open */
.hero-curtain { display: none; }
.js .hero-curtain { display: block; position: absolute; inset: 0; z-index: 6; pointer-events: none; animation: hcGone 0s 2.2s forwards; }
.hc-panel { position: absolute; inset-inline: 0; height: 50.5%; background: linear-gradient(180deg, #060a14, #0b1424); }
.hc-top { top: 0; animation: hcUp 1.05s .85s cubic-bezier(.7, 0, .2, 1) forwards; }
.hc-bottom { bottom: 0; background: linear-gradient(0deg, #060a14, #0b1424); animation: hcDown 1.05s .85s cubic-bezier(.7, 0, .2, 1) forwards; }
.hc-line { position: absolute; top: 50%; inset-inline: 0; height: 2px; margin-top: -1px; transform: scaleX(0);
  background: linear-gradient(90deg, transparent, #f26b1d 20%, #ffd2ac 50%, #f26b1d 80%, transparent); box-shadow: 0 0 24px 4px rgba(242, 107, 29, .6);
  animation: hcLine .8s .15s cubic-bezier(.6, 0, .2, 1) forwards, hcFade .4s 1s forwards; }
.hc-logo { position: absolute; top: 50%; left: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; opacity: 0; transform: scale(.6);
  filter: drop-shadow(0 10px 30px rgba(242, 107, 29, .45)); animation: hcLogo 1s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes hcLine { to { transform: scaleX(1); } }
@keyframes hcFade { to { opacity: 0; } }
@keyframes hcLogo { 0% { opacity: 0; transform: scale(.6) translateY(0); } 35% { opacity: 1; transform: scale(1) translateY(-14px); } 75% { opacity: 1; transform: scale(1) translateY(-14px); } 100% { opacity: 0; transform: scale(1.25) translateY(-14px); } }
@keyframes hcUp { to { transform: translateY(-101%); } }
@keyframes hcDown { to { transform: translateY(101%); } }
@keyframes hcGone { to { visibility: hidden; } }

/* Depth parallax: photo drifts against the pointer, the route floats in front */
.hero-media { transform: translate3d(calc(var(--tx) * -22px), calc(var(--ty) * -14px), 0) scale(1.05); transition: transform .9s cubic-bezier(.2, .7, .2, 1); }

@media (prefers-reduced-motion: reduce) {
  .hero-curtain { display: none !important; }
  .hero { --hd: 0s !important; }
  .hero-media { transition: none; transform: none; }
}

/* ---------- Process: connected timeline ---------- */
.process-section::after { background: linear-gradient(180deg, rgba(6, 9, 17, .93) 0%, rgba(6, 9, 17, .86) 50%, rgba(6, 9, 17, .95) 100%) !important; }
.process-section .section-head .lead { color: #c3cad6; }
.timeline { --node: 64px; position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
/* the road that links the steps; it fills with orange as the section scrolls into view */
.timeline::before, .timeline::after { content: ""; position: absolute; top: calc(var(--node) / 2 - 2px); height: 4px; border-radius: 4px;
  inset-inline: calc(10% - 4px); }
.timeline::before { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 14px, transparent 14px 26px); }
.timeline::after { background: linear-gradient(90deg, #f26b1d, #ffb070); box-shadow: 0 0 18px rgba(242, 107, 29, .6);
  transform: scaleX(0); transform-origin: left center; transition: transform 2.2s cubic-bezier(.6, 0, .2, 1) .3s; }
[dir="rtl"] .timeline::after { transform-origin: right center; background: linear-gradient(270deg, #f26b1d, #ffb070); }
.timeline.is-visible::after { transform: scaleX(1); }
html:not(.js) .timeline::after { transform: scaleX(1); }
.tl-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.tl-node { position: relative; z-index: 1; width: var(--node); height: var(--node); border-radius: 50%; display: grid; place-items: center; margin-bottom: 26px;
  background: #0d1424; border: 2px solid rgba(255, 255, 255, .18); box-shadow: 0 0 0 8px rgba(6, 9, 17, .9);
  transition: background-color .5s, border-color .5s, box-shadow .5s; transition-delay: calc(.4s + var(--step) * .45s); }
.tl-node .num { font: 700 1.2rem/1 var(--font-num); color: #fff; }
.timeline.is-visible .tl-node { background: linear-gradient(150deg, #f7924f, #cf4a0e); border-color: rgba(255, 220, 190, .6);
  box-shadow: 0 0 0 8px rgba(6, 9, 17, .9), 0 0 0 9px rgba(242, 107, 29, .35), 0 12px 30px -6px rgba(242, 107, 29, .7); }
html:not(.js) .tl-node { background: linear-gradient(150deg, #f7924f, #cf4a0e); }
.tl-card { position: relative; flex: 1; width: 100%; padding: 30px 20px 24px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 30px 60px -34px rgba(0, 0, 0, .8);
  transition: transform .4s var(--ease), border-color .4s, background-color .4s; }
/* small notch pointing up to the node */
.tl-card::before { content: ""; position: absolute; top: -8px; left: 50%; width: 14px; height: 14px; margin-left: -7px; transform: rotate(45deg);
  background: rgba(255, 255, 255, .07); border-top: 1px solid rgba(255, 255, 255, .1); border-left: 1px solid rgba(255, 255, 255, .1); }
.tl-step:hover .tl-card { transform: translateY(-6px); border-color: rgba(242, 107, 29, .5); }
.tl-ic { width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 20px; display: grid; place-items: center; color: #ffb27a;
  background: radial-gradient(120% 120% at 30% 20%, rgba(255, 170, 100, .3), rgba(242, 107, 29, .08) 60%, rgba(242, 107, 29, .03));
  border: 1px solid rgba(255, 170, 110, .3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 16px 32px -18px rgba(242, 107, 29, .9);
  transition: transform .4s var(--ease), background .4s, color .4s; }
.tl-step:hover .tl-ic { transform: translateY(-3px) rotate(-6deg); color: #fff; background: linear-gradient(150deg, #f7924f, #cf4a0e); }
.tl-card h3 { color: #fff; font-size: 1.05rem; font-weight: 900; line-height: 1.5; margin-bottom: 8px; }
html[dir="ltr"] .tl-card h3 { font-weight: 700; }
.tl-card p { margin: 0; color: #b9c2cf; font-size: .88rem; line-height: 1.8; }
@media (max-width: 1100px) {
  .timeline { grid-template-columns: 1fr; gap: 0; max-width: 640px; margin-inline: auto; }
  .timeline::before, .timeline::after { display: none; }
  .tl-step:not(:last-child)::before, .tl-step:not(:last-child)::after { content: ""; position: absolute; z-index: 0; top: calc(var(--node) / 2); height: 100%; width: 4px;
    inset-inline-start: calc(var(--node) / 2 - 2px); border-radius: 4px; }
  .tl-step:not(:last-child)::before { background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .22) 0 12px, transparent 12px 22px); }
  .tl-step:not(:last-child)::after { background: linear-gradient(180deg, #f26b1d, #ffb070); box-shadow: 0 0 14px rgba(242, 107, 29, .5);
    transform: scaleY(0); transform-origin: center top; transition: transform .5s ease-out; transition-delay: calc(.5s + var(--step) * .45s); }
  .timeline.is-visible .tl-step::after, html:not(.js) .tl-step::after { transform: scaleY(1); }
  .tl-step { flex-direction: row; align-items: flex-start; text-align: start; gap: 20px; padding-bottom: 18px; }
  .tl-node { flex: none; margin: 0; }
  .tl-card { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; padding: 18px; }
  .tl-card::before { top: 24px; left: auto; inset-inline-start: -8px; margin: 0; transform: rotate(-45deg); }
  [dir="rtl"] .tl-card::before { transform: rotate(135deg); }
  .tl-ic { grid-row: span 2; width: 54px; height: 54px; margin: 0; border-radius: 16px; }
  .tl-card h3 { margin-bottom: 2px; }
}
@media (max-width: 480px) { .timeline { --node: 48px; } .tl-node .num { font-size: 1rem; } .tl-step { gap: 14px; } .tl-ic { width: 46px; height: 46px; } }
@media (prefers-reduced-motion: reduce) { .timeline::after { transform: none !important; transition: none; } .tl-node { transition: none; } }

/* ---------- Brand: RSA logo ---------- */
.brand-mark { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(14, 144, 238, .35)); transition: transform .4s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.04); }
@media (max-width: 560px) { .brand-mark { width: 44px; height: 44px; } }
.hc-logo { width: 120px; height: 120px; margin: -60px 0 0 -60px; filter: drop-shadow(0 10px 30px rgba(14, 144, 238, .45)); }
.footer-brand { display: inline-flex; align-items: center; gap: 14px; color: #fff; text-decoration: none !important; }
.footer-brand img { width: 88px; height: 88px; object-fit: contain; padding: 8px; border-radius: 24px;
  background: radial-gradient(circle at 50% 40%, rgba(14, 144, 238, .18), rgba(255, 255, 255, .03) 70%); border: 1px solid rgba(255, 255, 255, .1);
  transition: transform .4s var(--ease); }
.footer-brand:hover img { transform: rotate(-8deg); }
.footer-brand strong { display: block; font-size: 1.15rem; font-weight: 900; }
html[dir="ltr"] .footer-brand strong { font-family: var(--font-num); font-weight: 700; }
.footer-brand small { display: block; font-size: .75rem; color: rgba(255, 255, 255, .62); }
html[dir="ltr"] .footer-brand small { text-transform: uppercase; letter-spacing: .1em; font-size: .62rem; }

/* ---------- Offices ---------- */
.offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 12px; }
.office { display: flex; gap: 14px; align-items: flex-start; padding: 18px; }
.office .ci { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.office h3 { font-size: 1rem; font-weight: 900; margin: 2px 0 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
html[dir="ltr"] .office h3 { font-weight: 700; }
.office-tag { font-size: .68rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; color: #fff; background: linear-gradient(150deg, #f7924f, #cf4a0e); }
.office p { margin: 0 0 8px; font-size: .88rem; color: var(--muted); line-height: 1.8; }
.office-tel { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: .92rem; color: var(--accent-text, #cf4a0e); text-decoration: none !important; }
html[data-theme="dark"] .office-tel { color: #ffb27a; }

/* ---------- QR business card ---------- */
.qr-card { position: relative; margin-top: 12px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 20px; border-radius: var(--radius-lg);
  color: #e9edf3; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 140% at 0% 0%, rgba(14, 144, 238, .28), transparent 55%), radial-gradient(120% 140% at 100% 100%, rgba(242, 107, 29, .3), transparent 55%), linear-gradient(150deg, #0d1628, #070b14);
  border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 60px -30px rgba(7, 10, 18, .8); }
.qr-card-code { position: relative; width: 164px; height: 164px; padding: 10px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .08), 0 18px 40px -16px rgba(0, 0, 0, .8); }
.qr-card-code svg, .qr-code svg { display: block; width: 100%; height: 100%; }
.qr-card-code svg path, .qr-code svg path { fill: #0b1424; }
.qr-loading { display: block; width: 100%; height: 100%; border-radius: 8px; background: repeating-linear-gradient(45deg, #eef1f5 0 8px, #f7f9fb 8px 16px); }
.qr-card-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 800; color: #ffb27a; letter-spacing: .02em; }
html[dir="ltr"] .qr-card-eyebrow { text-transform: uppercase; letter-spacing: .1em; font-family: var(--font-num); }
.qr-card h3 { color: #fff; font-size: 1.1rem; font-weight: 900; margin: 6px 0; }
.qr-card p { margin: 0 0 14px; font-size: .86rem; color: #b9c2cf; line-height: 1.8; }
.qr-card-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 520px) { .qr-card { grid-template-columns: 1fr; justify-items: center; text-align: center; } .qr-card-actions { justify-content: center; } }

/* ---------- QR dialog ---------- */
.qr-dialog { width: min(420px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 26px; color: #e9edf3; overflow: auto;
  background: radial-gradient(120% 80% at 0% 0%, rgba(14, 144, 238, .22), transparent 60%), radial-gradient(120% 80% at 100% 100%, rgba(242, 107, 29, .22), transparent 60%), #0b111e;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .1); }
.qr-dialog::backdrop { background: rgba(4, 7, 13, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.qr-dialog[open] { animation: qrIn .35s cubic-bezier(.2, .9, .3, 1.1); }
@keyframes qrIn { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
.qr-dialog-inner { position: relative; padding: 22px; }
.qr-close { position: absolute; top: 14px; inset-inline-end: 14px; color: #fff; }
.qr-dialog-head { display: flex; align-items: center; gap: 12px; padding-inline-end: 44px; margin-bottom: 18px; }
.qr-dialog-head h2 { color: #fff; font-size: 1.15rem; margin: 0; }
.qr-dialog-head p { margin: 2px 0 0; font-size: .8rem; color: #9aa6b8; }
.qr-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 18px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); }
.qr-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; border: 0; border-radius: 10px; cursor: pointer;
  font: inherit; font-weight: 800; font-size: .86rem; color: #c3cad6; background: transparent; transition: background-color .25s, color .25s; }
.qr-tabs button[aria-selected="true"] { color: #fff; background: linear-gradient(150deg, #f7924f, #cf4a0e); box-shadow: 0 8px 20px -10px rgba(242, 107, 29, .9); }
.qr-frame { position: relative; margin: 0 auto; width: min(260px, 100%); aspect-ratio: 1; padding: 16px; border-radius: 22px; background: #fff;
  box-shadow: 0 0 0 8px rgba(255, 255, 255, .06), 0 24px 50px -20px rgba(0, 0, 0, .9); }
.qr-code { position: relative; width: 100%; height: 100%; }
.qr-logo { position: absolute; top: 50%; left: 50%; width: 24%; aspect-ratio: 1; transform: translate(-50%, -50%); padding: 4%; border-radius: 18%; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.qr-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.qr-code:not(.is-ready)::before { content: ""; position: absolute; inset: 0; border-radius: 10px; background: repeating-linear-gradient(45deg, #eef1f5 0 8px, #f7f9fb 8px 16px); }
.qr-hint { text-align: center; font-size: .86rem; color: #b9c2cf; margin: 16px 0 6px; line-height: 1.8; }
.qr-url { text-align: center; font-size: .74rem; color: #8592a6; margin: 0 0 14px; word-break: break-all; font-family: var(--font-num); }
.qr-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }

.footer-qr { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 9px 14px; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 800; font-size: .84rem;
  color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); transition: background-color .25s, border-color .25s; }
.footer-qr:hover { background: rgba(242, 107, 29, .2); border-color: rgba(242, 107, 29, .6); }
.footer-contact strong { color: #fff; font-weight: 800; }
@media (max-width: 1240px) and (min-width: 1081px) { .qr-toggle { display: none; } }

/* Footer: small QR tile under the brand */
.footer-qr-mini { display: inline-flex; align-items: center; gap: 14px; margin-top: 20px; padding: 8px 16px 8px 8px; border-radius: 18px; cursor: pointer; font: inherit; text-align: start;
  color: #fff; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: border-color .25s, background-color .25s, transform .25s var(--ease); }
[dir="rtl"] .footer-qr-mini { padding: 8px 8px 8px 16px; }
.footer-qr-mini:hover { transform: translateY(-2px); border-color: rgba(242, 107, 29, .6); background: rgba(242, 107, 29, .1); }
.fq-code { position: relative; display: block; width: 76px; height: 76px; padding: 6px; border-radius: 12px; background: #fff; flex: none; }
.fq-code svg { display: block; width: 100%; height: 100%; }
.fq-code svg path { fill: #0b1424; }
.fq-code:not(.is-ready)::before { content: ""; position: absolute; inset: 6px; border-radius: 6px; background: repeating-linear-gradient(45deg, #eef1f5 0 6px, #f7f9fb 6px 12px); }
.fq-text strong { display: block; font-size: .92rem; font-weight: 900; }
.fq-text small { display: block; font-size: .76rem; color: #98a2b3; margin-top: 2px; }
