/* Darb AlTatweer — Brand & Component Styles */

:root {
  --primary: #341A33;
  --primary-light: #472145;
  --accent: #B5314B;
  --accent-hover: #9A2940;
  --text: #6C6C6C;
  --text-dark: #2A2A2A;
  --border: #C8C4C6;
  --background: #FFFFFF;
  --surface: #F7F5F6;
  --surface-alt: #F0EBEE;
  --white: #FFFFFF;
  --shadow: 0 4px 24px rgba(52, 26, 51, 0.08);
  --shadow-hover: 0 8px 32px rgba(52, 26, 51, 0.14);
  --radius: 0.75rem;
  --radius-lg: 1.25rem;
  --header-h: 4.5rem;
  --page-max: 1120px;
  --page-max-wide: 1200px;
  --page-gutter: 1.35rem;
  --font-en: "Poppins", system-ui, sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Poppins", system-ui, sans-serif;
}

@media (min-width: 768px) {
  :root {
    --page-gutter: 1.75rem;
  }
}

@media (min-width: 1024px) {
  :root {
    --page-gutter: 2rem;
  }
}

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

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

body {
  margin: 0;
  font-family: var(--font-en);
  color: var(--text);
  background: var(--background);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

[dir="rtl"] body,
html[dir="rtl"] body,
body.lang-ar {
  font-family: var(--font-ar);
}

html[dir="rtl"] {
  font-family: var(--font-ar);
}

html[dir="rtl"] body {
  font-family: var(--font-ar);
}

html[dir="rtl"] .nav-link.active::after {
  inset-inline-start: 0;
  inset-inline-end: 0;
}

html[dir="rtl"] .data-table th,
html[dir="rtl"] .data-table td {
  text-align: start;
}

html[dir="rtl"] .accordion-trigger,
html[dir="rtl"] .compass-mobile-item,
html[dir="rtl"] .form-group label {
  text-align: start;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 1000;
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

/* —— Typography —— */
.font-display {
  font-family: var(--font-en);
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

html[dir="rtl"] .font-display {
  font-family: var(--font-ar);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--primary);
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

.section-tagline {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--primary-light);
  font-weight: 500;
  margin: 0 0 1.25rem;
}

.section-body {
  color: var(--text);
  max-width: 42rem;
}

.section-body + .section-body {
  margin-top: 1rem;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 9999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  font-family: inherit;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 6px 20px rgba(181, 49, 75, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-on-dark {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-on-dark:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.8rem;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 196, 198, 0.5);
  min-height: var(--header-h);
  height: var(--header-h);
}

.site-header .header-bar {
  height: 100%;
}

.site-header .logo img {
  height: 2.5rem;
  width: auto;
}

/* Mobile navbar: padding + larger logo (placed early so it always wins) */
@media (max-width: 1023px) {
  :root {
    --header-h: 6rem;
  }

  .site-header {
    height: auto !important;
    min-height: 6rem !important;
    padding-block: 1rem !important;
    padding-inline: 0 !important;
  }

  .site-header .header-bar,
  .site-header .container {
    width: 100% !important;
    max-width: var(--page-max) !important;
    height: auto !important;
    min-height: 0 !important;
    gap: 1rem !important;
  }

  .site-header .logo img {
    height: 3.5rem !important;
    width: auto !important;
    max-width: min(240px, 62vw) !important;
    object-fit: contain !important;
  }

  .site-header .header-bar > .flex,
  .site-header .container > .flex {
    gap: 0.9rem !important;
    flex-shrink: 0;
  }

  .site-header .lang-toggle button {
    padding: 0.55rem 0.85rem !important;
    min-height: 2.5rem;
    font-size: 0.8rem;
  }

  .site-header .menu-btn {
    display: inline-flex !important;
    min-width: 48px !important;
    min-height: 48px !important;
    padding: 0.75rem !important;
  }
}

@media (max-width: 380px) {
  :root {
    --page-gutter: 1.15rem;
  }

  .site-header {
    min-height: 5.5rem !important;
    padding-block: 0.85rem !important;
  }

  .site-header .logo img {
    height: 3.1rem !important;
    max-width: min(200px, 56vw) !important;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.35rem 0;
  position: relative;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  inset-inline-start: 0;
  inset-inline-end: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 9999px;
  overflow: hidden;
  font-size: 0.75rem;
  font-weight: 600;
}

.lang-toggle button {
  padding: 0.4rem 0.7rem;
  border: none;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.lang-toggle button.active {
  background: var(--primary);
  color: var(--white);
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--primary);
}

@media (max-width: 1023px) {
  .menu-btn {
    display: inline-flex;
  }

  .nav-desktop {
    display: none !important;
  }

  .mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 60;
    pointer-events: none;
  }

  .mobile-drawer.open {
    pointer-events: auto;
  }

  .mobile-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(52, 26, 51, 0.45);
    opacity: 0;
    transition: opacity 0.3s;
  }

  .mobile-drawer.open .mobile-drawer-backdrop {
    opacity: 1;
  }

  .mobile-drawer-panel {
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    width: min(20rem, 88vw);
    height: 100%;
    background: var(--white);
    padding: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: var(--shadow-hover);
  }

  html[dir="rtl"] .mobile-drawer-panel {
    transform: translateX(-100%);
  }

  .mobile-drawer.open .mobile-drawer-panel {
    transform: translateX(0);
  }
}

@media (min-width: 1024px) {
  .mobile-drawer {
    display: none !important;
  }
}

/* —— Cards —— */
.card {
  background: var(--white);
  border: 1px solid rgba(200, 196, 198, 0.6);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

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

.card-quiet:hover {
  transform: none;
}

.icon-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-alt);
  color: var(--accent);
  flex-shrink: 0;
}

.icon-circle svg {
  width: 1.35rem;
  height: 1.35rem;
}

.icon-circle-lg {
  width: 3.5rem;
  height: 3.5rem;
}

.icon-circle-accent {
  background: rgba(181, 49, 75, 0.1);
}

/* —— Icon badges (Font Awesome) —— */
.icon-badge {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-size: 1.05rem;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(52, 26, 51, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.icon-badge--accent {
  background: var(--accent);
  box-shadow: 0 6px 16px rgba(181, 49, 75, 0.25);
}

.icon-badge--lg {
  width: 3.5rem;
  height: 3.5rem;
  font-size: 1.25rem;
}

.icon-badge--sm {
  width: 2.35rem;
  height: 2.35rem;
  font-size: 0.85rem;
  box-shadow: 0 4px 10px rgba(52, 26, 51, 0.18);
}

.card:hover .icon-badge,
.stat-chip:hover .icon-badge {
  transform: translateY(-2px) scale(1.05);
}

.icon-badge i {
  color: #fff;
  line-height: 1;
}

@media (max-width: 767px) {
  .process-step .icon-badge {
    margin-inline: 0 !important;
  }

  .process-step .icon-badge + .step-num {
    display: none;
  }
}

/* —— Chips / badges —— */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--surface);
  color: var(--primary);
  border: 1px solid var(--border);
}

.badge-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.badge-chip:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.pill {
  display: inline-flex;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--surface-alt);
  color: var(--primary-light);
  border: 1px solid transparent;
}

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(181, 49, 75, 0.08), transparent),
    radial-gradient(ellipse 60% 50% at 90% 80%, rgba(71, 33, 69, 0.1), transparent),
    linear-gradient(165deg, #FFFFFF 0%, #F7F5F6 45%, #F0EBEE 100%);
  padding: 4.5rem 0 5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(52, 26, 51, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(52, 26, 51, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 40%, transparent);
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  max-width: 18ch;
}

html[dir="rtl"] .hero-title {
  max-width: 22ch;
}

.hero-tagline {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--primary-light);
  font-weight: 500;
  margin: 0 0 1.5rem;
  max-width: 36rem;
}

.hero-body {
  max-width: 40rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.hero-accent-line {
  width: 3.5rem;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* —— Hero Slider (full-bleed) —— */
.hero-slider {
  position: relative;
  width: 100%;
  height: min(88vh, 760px);
  min-height: 480px;
  max-height: 900px;
  overflow: hidden;
  background: var(--primary);
  outline: none;
}



.hero-slider-track {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  padding: 0 0 5.5rem;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1);
  will-change: transform;
}

.hero-slide.is-active .hero-slide-media img {
  animation: hero-kenburns 10s ease-out forwards;
}

.hero-slider:hover .hero-slide.is-active .hero-slide-media img,
.hero-slider:focus-within .hero-slide.is-active .hero-slide-media img {
  animation-play-state: paused;
}

@media (hover: none) {
  .hero-slider:hover .hero-slide.is-active .hero-slide-media img {
    animation-play-state: running;
  }
}

.hero-slide[data-slide="1"] .hero-slide-media img {
  object-position: center 40%;
}

.hero-slide[data-slide="2"] .hero-slide-media img {
  object-position: center 45%;
}

@keyframes hero-kenburns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.16);
  }
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(52, 26, 51, 0.88) 0%,
      rgba(52, 26, 51, 0.72) 42%,
      rgba(52, 26, 51, 0.35) 70%,
      rgba(52, 26, 51, 0.2) 100%
    ),
    linear-gradient(to top, rgba(52, 26, 51, 0.75) 0%, transparent 45%);
  pointer-events: none;
}

html[dir="rtl"] .hero-slide-overlay {
  background:
    linear-gradient(
      255deg,
      rgba(52, 26, 51, 0.88) 0%,
      rgba(52, 26, 51, 0.72) 42%,
      rgba(52, 26, 51, 0.35) 70%,
      rgba(52, 26, 51, 0.2) 100%
    ),
    linear-gradient(to top, rgba(52, 26, 51, 0.75) 0%, transparent 45%);
}

.hero-slide-content {
  position: relative;
  z-index: 3;
  color: #fff;
  max-width: 40rem;
  padding-block: 1rem;
  transform: translateY(18px);
  opacity: 0;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s, opacity 0.7s ease 0.15s;
}

.hero-slide.is-active .hero-slide-content {
  transform: translateY(0);
  opacity: 1;
}

.hero-slide-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 0.85rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--accent);
}

.hero-slide-title {
  font-size: clamp(1.85rem, 4.5vw, 3.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 0.85rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero-slide-tagline {
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 1.75rem;
  max-width: 32rem;
  font-weight: 400;
}

.hero-slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-slide-actions .btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.hero-slide-actions .btn-ghost:hover {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.hero-slider-ui {
  position: absolute;
  inset-inline: 0;
  bottom: 1.25rem;
  z-index: 5;
  pointer-events: none;
}

.hero-slider-ui-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-slider-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  padding: 0.35rem 0.5rem;
}

.hero-nav-btn {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.hero-nav-btn:hover {
  background: var(--accent);
  transform: scale(1.05);
}

html[dir="rtl"] .hero-nav-btn svg {
  transform: scaleX(-1);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 0.35rem;
}

.hero-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: width 0.3s, background 0.3s;
}

.hero-dot.is-active {
  width: 1.6rem;
  background: var(--accent);
}

.hero-progress {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 6;
  overflow: hidden;
}

.hero-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #e85a72);
}

.hero-intro {
  padding-top: 3.5rem;
  padding-bottom: 2rem;
}



@media (min-width: 1280px) {
  .hero-slider {
    height: min(90vh, 820px);
  }

  .hero-slide {
    padding-bottom: 6.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide-content,
  .hero-slide-media img {
    transition: none !important;
  }

  .hero-slide.is-active .hero-slide-media img {
    animation: none !important;
    transform: scale(1) !important;
  }
}

/* —— Sections —— */
.section {
  padding: 4.5rem 0;
}

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

.section-dark {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.85);
}

.section-dark .section-title,
.section-dark .font-display {
  color: var(--white);
}

/* Page container — always keeps gutters on mobile (AR/EN) */
.container,
.container-wide {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

.container-wide {
  max-width: var(--page-max-wide);
}

/* —— CTA Band —— */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.cta-band .cta-tagline {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 2rem;
}

/* —— Footer —— */
.site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.25rem 2rem;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.35fr 1fr 1fr 1.45fr;
    gap: 2.5rem 1.75rem;
    align-items: start;
  }
}

.site-footer .logo img {
  height: 2.75rem;
  width: auto;
  margin-bottom: 1rem;
}

.site-footer h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: color 0.2s;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-contact {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.85rem;
}

html[dir="rtl"] .footer-contact {
  flex-direction: row-reverse;
}

.footer-map {
  flex-shrink: 0;
  width: 120px;
  height: 100px;
  border-radius: 0.65rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.footer-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.15) contrast(1.05);
}

.footer-contact-info {
  min-width: 0;
  flex: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.footer-dev {
  color: rgba(255, 255, 255, 0.65);
}

.footer-dev a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  margin-inline-start: 0.25rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.footer-dev a:hover {
  color: #fff;
  border-bottom-color: var(--accent);
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  transition: background 0.2s, border-color 0.2s;
}

.social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
}

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

  .footer-grid {
    gap: 1.65rem;
  }

  .site-footer .logo img {
    height: 2.35rem;
    margin-bottom: 0.75rem;
  }

  .site-footer h4 {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.7rem;
    opacity: 0.95;
  }

  .site-footer a {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }

  .footer-contact {
    flex-direction: column !important;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  html[dir="rtl"] .footer-contact {
    flex-direction: column !important;
  }

  .footer-map {
    width: 100%;
    height: 150px;
    border-radius: 0.75rem;
  }

  .social-links a {
    width: 2.6rem;
    height: 2.6rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    margin-top: 1.75rem;
    padding-top: 1.15rem;
    font-size: 0.75rem;
    line-height: 1.5;
  }
}

/* —— Tables —— */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th,
.data-table td {
  padding: 1rem 1.25rem;
  text-align: start;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  background: var(--surface);
  color: var(--primary);
  font-weight: 600;
}

.data-table td {
  color: var(--text);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
}

/* —— Checklist —— */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.65rem 0;
  color: var(--text);
}

.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: rgba(181, 49, 75, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B5314B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/0.75rem no-repeat;
}

/* —— Accordion —— */
.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: start;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
}

.accordion-chevron {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
  transition: transform 0.3s;
}

.accordion-item.open .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.accordion-item.open .accordion-panel {
  grid-template-rows: 1fr;
}

.accordion-panel-inner {
  overflow: hidden;
}

.accordion-panel-inner p {
  padding: 0 0 1.25rem;
  margin: 0;
  color: var(--text);
}

/* —— Forms —— */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(181, 49, 75, 0.12);
}

.form-group .error-msg {
  color: var(--accent);
  font-size: 0.78rem;
  margin-top: 0.3rem;
  display: none;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--accent);
}

.form-group.has-error .error-msg {
  display: block;
}

.form-success {
  display: none;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(34, 140, 90, 0.08);
  border: 1px solid rgba(34, 140, 90, 0.3);
  color: #1a6b45;
  text-align: center;
}

.form-success.show {
  display: block;
}

/* —— Timeline —— */
.timeline {
  position: relative;
  padding-inline-start: 1.75rem;
}

.timeline::before {
  content: "";
  position: absolute;
  inset-inline-start: 0.35rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--border));
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  inset-inline-start: -1.55rem;
  top: 0.4rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent);
}

/* —— Process steps —— */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  position: relative;
}

@media (max-width: 900px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step .step-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 901px) {
  .process-steps::before {
    content: "";
    position: absolute;
    top: 1.25rem;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border);
  }
}

/* —— Reveal animations —— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* —— Compass —— */
.compass-wrap {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.compass-desktop {
  display: none;
  position: relative;
  width: 100%;
  aspect-ratio: 1;
}

@media (min-width: 768px) {
  .compass-desktop {
    display: block;
  }

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

.compass-svg {
  width: 100%;
  height: 100%;
}

.compass-node {
  cursor: pointer;
  transition: transform 0.25s;
}

.compass-node:hover .node-ring,
.compass-node.active .node-ring {
  stroke: var(--accent);
  stroke-width: 3;
}

.compass-node:hover .node-fill,
.compass-node.active .node-fill {
  fill: var(--primary-light);
}

.compass-node.active .node-fill {
  fill: var(--accent);
}

/* Compass click tooltip */
.compass-tooltip {
  position: absolute;
  z-index: 30;
  width: min(240px, 72%);
  padding: 1rem 1.15rem 1.05rem;
  background: #fff;
  color: var(--text);
  border-radius: 0.9rem;
  border: 1px solid rgba(200, 196, 198, 0.7);
  border-inline-start: 3px solid var(--accent);
  box-shadow: 0 14px 40px rgba(52, 26, 51, 0.18);
  opacity: 0;
  transform: scale(0.92);
  transform-origin: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  text-align: start;
}

.compass-tooltip.is-measuring {
  visibility: hidden;
  opacity: 0;
}

.compass-tooltip.is-open {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.compass-tooltip h4 {
  margin: 0 0 0.4rem;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  padding-inline-end: 1.4rem;
}

.compass-tooltip p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text);
}

.compass-tooltip-close {
  position: absolute;
  top: 0.35rem;
  inset-inline-end: 0.4rem;
  width: 1.75rem;
  height: 1.75rem;
  border: none;
  background: transparent;
  color: var(--primary);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.compass-tooltip-close:hover {
  background: rgba(181, 49, 75, 0.1);
  color: var(--accent);
}

.compass-tooltip-arrow {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #fff;
  border: 1px solid rgba(200, 196, 198, 0.7);
  transform: rotate(45deg);
  z-index: -1;
}

.compass-tooltip.tip-top .compass-tooltip-arrow {
  bottom: -6px;
  left: var(--arrow-x, 50%);
  margin-left: -6px;
  border-top: none;
  border-inline-start: none;
}

.compass-tooltip.tip-bottom .compass-tooltip-arrow {
  top: -6px;
  left: var(--arrow-x, 50%);
  margin-left: -6px;
  border-bottom: none;
  border-inline-end: none;
}

.compass-tooltip.tip-start .compass-tooltip-arrow {
  inset-inline-end: -6px;
  top: var(--arrow-y, 50%);
  margin-top: -6px;
  border-inline-start: none;
  border-bottom: none;
}

.compass-tooltip.tip-end .compass-tooltip-arrow {
  inset-inline-start: -6px;
  top: var(--arrow-y, 50%);
  margin-top: -6px;
  border-inline-end: none;
  border-top: none;
}

.compass-detail--hint {
  opacity: 0.9;
}

.compass-detail {
  margin-top: 1.5rem;
  text-align: center;
  min-height: 5rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  border-inline-start: 3px solid var(--accent);
}

.compass-detail h4 {
  color: var(--primary);
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.compass-detail p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
}

.compass-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.compass-mobile-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: start;
  font-family: inherit;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.compass-mobile-item:hover,
.compass-mobile-item.active {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.compass-mobile-item .stage-badge {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
}

.compass-mobile-item.active .stage-badge {
  background: var(--accent);
}

.compass-mobile-item h4 {
  margin: 0 0 0.25rem;
  color: var(--primary);
  font-size: 1rem;
}

.compass-mobile-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text);
}

/* —— Misc —— */
.accent-rule {
  width: 3rem;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 1rem 0;
}

.map-placeholder {
  height: 100%;
  min-height: 280px;
  background:
    linear-gradient(135deg, var(--surface-alt), var(--surface)),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(52, 26, 51, 0.03) 10px,
      rgba(52, 26, 51, 0.03) 20px
    );
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 500;
}

.contact-map {
  position: relative;
  height: 100%;
  min-height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.contact-map-link {
  position: absolute;
  inset-inline-end: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  background: var(--primary);
  color: #fff !important;
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(52, 26, 51, 0.25);
  transition: background 0.2s, transform 0.2s;
}

.contact-map-link:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.callout-banner {
  background: linear-gradient(135deg, rgba(181, 49, 75, 0.06), rgba(71, 33, 69, 0.08));
  border: 1px solid rgba(181, 49, 75, 0.2);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.callout-banner::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
}

.stat-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.stat-chip strong {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
}

.case-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.numbered-service {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(200, 196, 198, 0.5);
}

.numbered-service:last-child {
  border-bottom: none;
}

.numbered-service .num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

body.nav-open {
  overflow: hidden;
}

/* —— About visual (building photo + abstracts) —— */
.about-visual-section {
  overflow: hidden;
}

.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding-inline: 1.75rem;
}

.about-visual--wide {
  max-width: 720px;
  margin-inline: auto;
  padding-inline: 2.5rem;
}

.about-visual-frame {
  position: relative;
  margin: 0;
  z-index: 2;
  width: 100%;
  max-width: 28rem;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow:
    0 20px 50px rgba(52, 26, 51, 0.18),
    0 0 0 1px rgba(52, 26, 51, 0.06);
}

.about-visual--wide .about-visual-frame {
  max-width: 36rem;
}

.about-visual-frame img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1500 / 1336;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.about-visual:hover .about-visual-frame img {
  transform: scale(1.03);
}

.about-visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.about-visual-stats {
  position: absolute;
  inset-inline-start: 0.85rem;
  bottom: 0.85rem;
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}

.about-stat {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-radius: 0.75rem;
  padding: 0.55rem 0.75rem;
  min-width: 4.25rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(52, 26, 51, 0.15);
}

.about-stat strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}

.about-stat span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
}

.about-visual-deco {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 5.5rem;
  height: 85%;
  pointer-events: none;
  z-index: 1;
}

.about-visual-deco--left {
  inset-inline-start: 0;
}

.about-visual-deco--right {
  inset-inline-end: 0;
}

.deco-ring {
  position: absolute;
  width: 4.5rem;
  height: 4.5rem;
  border: 2px solid rgba(181, 49, 75, 0.35);
  border-radius: 50%;
  top: 8%;
  inset-inline-start: 0.25rem;
  animation: deco-float 7s ease-in-out infinite;
}

.deco-ring--lg {
  width: 5.5rem;
  height: 5.5rem;
  border-color: rgba(52, 26, 51, 0.2);
  top: auto;
  bottom: 12%;
  inset-inline-start: auto;
  inset-inline-end: 0;
  animation-delay: -2s;
}

.deco-ring::before {
  content: "";
  position: absolute;
  inset: 0.55rem;
  border: 1.5px dashed rgba(181, 49, 75, 0.25);
  border-radius: 50%;
}

.deco-dot {
  position: absolute;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--accent);
  top: 38%;
  inset-inline-start: 1.6rem;
  box-shadow: 0 0 0 6px rgba(181, 49, 75, 0.12);
  animation: deco-pulse 4s ease-in-out infinite;
}

.deco-dot--sm {
  width: 0.45rem;
  height: 0.45rem;
  top: 52%;
  inset-inline-start: 0.35rem;
  background: var(--primary-light);
  box-shadow: none;
  animation-delay: -1s;
}

.deco-dot--accent {
  top: 22%;
  inset-inline-start: auto;
  inset-inline-end: 1rem;
  background: var(--primary);
  box-shadow: 0 0 0 8px rgba(52, 26, 51, 0.08);
}

.deco-bar {
  position: absolute;
  width: 3px;
  height: 4.5rem;
  border-radius: 3px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  bottom: 18%;
  inset-inline-start: 2.2rem;
  animation: deco-float 6s ease-in-out infinite reverse;
}

.deco-square {
  position: absolute;
  width: 1.35rem;
  height: 1.35rem;
  border: 2px solid rgba(71, 33, 69, 0.35);
  border-radius: 0.3rem;
  bottom: 8%;
  inset-inline-start: 0.5rem;
  transform: rotate(18deg);
  animation: deco-spin 12s linear infinite;
}

.deco-arc {
  position: absolute;
  width: 3.2rem;
  height: 3.2rem;
  border: 2px solid transparent;
  border-top-color: rgba(181, 49, 75, 0.4);
  border-inline-end-color: rgba(181, 49, 75, 0.4);
  border-radius: 50%;
  top: 58%;
  inset-inline-start: -0.2rem;
  animation: deco-float 8s ease-in-out infinite;
}

.deco-lines {
  position: absolute;
  top: 42%;
  inset-inline-end: 0.6rem;
  width: 2rem;
  height: 2.5rem;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(52, 26, 51, 0.28) 0 2px,
      transparent 2px 7px
    );
  animation: deco-float 5.5s ease-in-out infinite;
}

.deco-triangle {
  position: absolute;
  top: 10%;
  inset-inline-end: 0.4rem;
  width: 0;
  height: 0;
  border-inline-start: 0.7rem solid transparent;
  border-inline-end: 0.7rem solid transparent;
  border-bottom: 1.2rem solid rgba(181, 49, 75, 0.35);
  animation: deco-float 6.5s ease-in-out infinite reverse;
}

.deco-blob {
  position: absolute;
  bottom: 28%;
  inset-inline-end: -0.35rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 60% 40% 55% 45%;
  background: linear-gradient(145deg, rgba(181, 49, 75, 0.12), rgba(52, 26, 51, 0.1));
  animation: deco-morph 9s ease-in-out infinite;
}

@keyframes deco-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes deco-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.75; }
}

@keyframes deco-spin {
  from { transform: rotate(18deg); }
  to { transform: rotate(378deg); }
}

@keyframes deco-morph {
  0%, 100% { border-radius: 60% 40% 55% 45%; transform: translateY(0) rotate(0deg); }
  50% { border-radius: 40% 60% 40% 60%; transform: translateY(-8px) rotate(8deg); }
}

@media (max-width: 1023px) {
  .about-visual {
    padding-inline: 1.25rem;
    max-width: 26rem;
    margin-inline: auto;
  }

  .about-visual--wide {
    max-width: 28rem;
    padding-inline: 1.5rem;
  }

  .about-visual-deco {
    width: 3.75rem;
    opacity: 0.85;
  }

  .deco-ring {
    width: 3.2rem;
    height: 3.2rem;
  }

  .deco-ring--lg {
    width: 3.8rem;
    height: 3.8rem;
  }

  .deco-blob {
    width: 2.5rem;
    height: 2.5rem;
  }
}

@media (max-width: 480px) {
  .about-visual {
    padding-inline: 0.85rem;
  }

  .about-visual-deco {
    width: 2.75rem;
  }

  .deco-lines,
  .deco-triangle,
  .deco-square {
    display: none;
  }

  .about-visual-stats {
    inset-inline-start: 0.55rem;
    bottom: 0.55rem;
    gap: 0.35rem;
  }

  .about-stat {
    padding: 0.4rem 0.55rem;
    min-width: 3.5rem;
  }

  .about-stat strong {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .deco-ring,
  .deco-dot,
  .deco-bar,
  .deco-square,
  .deco-arc,
  .deco-lines,
  .deco-triangle,
  .deco-blob,
  .about-visual-frame img {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================================
   MOBILE-FIRST RESPONSIVE HARDENING
   Targets: 375px · 480px · 640px · 768px · 1023px
   ========================================================= */

img,
svg,
video,
canvas {
  max-width: 100%;
}

/* Keep container gutters (do not zero padding on mobile) */
.container,
.container-wide {
  width: 100% !important;
  max-width: var(--page-max) !important;
  margin-inline: auto !important;
  padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px)) !important;
  padding-right: max(var(--page-gutter), env(safe-area-inset-right, 0px)) !important;
  box-sizing: border-box !important;
}

.container-wide {
  max-width: var(--page-max-wide) !important;
}

/* —— Buttons: allow wrap on small screens —— */
@media (max-width: 640px) {
  .btn {
    white-space: normal;
    line-height: 1.3;
    padding: 0.8rem 1.15rem;
    font-size: 0.85rem;
    text-align: center;
  }

  .btn-sm {
    padding: 0.5rem 0.9rem;
    font-size: 0.75rem;
  }
}

/* —— Mobile drawer (header sizing is defined near .site-header) —— */
@media (max-width: 1023px) {
  .lang-toggle {
    border-width: 1.5px;
  }

  .menu-btn {
    align-items: center;
    justify-content: center;
    border-radius: 0.65rem;
  }

  .menu-btn:hover,
  .menu-btn:focus-visible {
    background: rgba(52, 26, 51, 0.06);
  }

  .mobile-drawer-panel {
    width: min(20rem, 92vw);
    padding: 1.5rem 1.35rem 2rem;
    padding-top: max(1.5rem, env(safe-area-inset-top));
    padding-bottom: max(2rem, env(safe-area-inset-bottom));
  }

  .mobile-drawer-panel .logo img,
  .mobile-drawer-panel img {
    height: 2.85rem;
    width: auto;
  }

  .mobile-drawer-panel .nav-link {
    font-size: 1.1rem;
    padding: 0.85rem 0.15rem;
    display: block;
    border-bottom: 1px solid rgba(200, 196, 198, 0.35);
  }

  .mobile-drawer-panel .btn {
    width: 100%;
    margin-top: 0.5rem;
    min-height: 48px;
  }
}

/* —— Sections & typography —— */
@media (max-width: 767px) {
  .section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: clamp(1.45rem, 6.2vw, 1.85rem);
    line-height: 1.3;
  }

  .section-tagline {
    font-size: 0.98rem;
    margin-bottom: 1rem;
  }

  .section-body {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .hero-intro {
    padding-top: 2.5rem;
    padding-bottom: 1.25rem;
  }

  .card {
    padding: 1.25rem;
  }

  .card:hover {
    transform: none;
  }

  .callout-banner {
    padding: 1.5rem 1.25rem;
  }

  .icon-circle-lg {
    width: 3rem;
    height: 3rem;
  }

  .data-table th,
  .data-table td {
    padding: 0.85rem 0.9rem;
    font-size: 0.85rem;
  }

  .table-wrap {
    margin-inline: 0;
    -webkit-overflow-scrolling: touch;
  }

  .chip,
  .pill {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }

  .badge-chip {
    min-height: 4rem;
    padding: 0.85rem 0.75rem;
    font-size: 0.78rem;
  }

  .stat-chip {
    padding: 1rem 0.65rem;
  }

  .stat-chip strong {
    font-size: 0.85rem;
    line-height: 1.35;
  }

  .check-list li {
    font-size: 0.92rem;
    padding: 0.55rem 0;
  }

  .timeline {
    padding-inline-start: 1.4rem;
  }

  .timeline-item {
    padding-bottom: 1.5rem;
  }

  .process-step {
    text-align: start;
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(200, 196, 198, 0.4);
  }

  .process-step:last-child {
    border-bottom: none;
  }

  .process-step .step-num {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .process-steps {
    gap: 0;
  }
}

/* —— Hero slider mobile —— */
@media (max-width: 767px) {
  .hero-slider {
    width: 100%;
    height: calc(100svh - var(--header-h));
    max-height: 680px;
    min-height: 520px;
  }

  .hero-slide {
    align-items: flex-end;
    padding: 0 0 calc(4.5rem + env(safe-area-inset-bottom, 0px));
  }

  .hero-slide-overlay {
    background:
      linear-gradient(
        to top,
        rgba(52, 26, 51, 0.94) 0%,
        rgba(52, 26, 51, 0.78) 38%,
        rgba(52, 26, 51, 0.35) 72%,
        rgba(52, 26, 51, 0.18) 100%
      );
  }

  html[dir="rtl"] .hero-slide-overlay {
    background:
      linear-gradient(
        to top,
        rgba(52, 26, 51, 0.94) 0%,
        rgba(52, 26, 51, 0.78) 38%,
        rgba(52, 26, 51, 0.35) 72%,
        rgba(52, 26, 51, 0.18) 100%
      );
  }

  .hero-slide-media img {
    object-position: center 28% !important;
  }

  .hero-slide-content {
    width: 100%;
    max-width: 100%;
    padding-block: 0.35rem;
  }

  .hero-slide-eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    margin-bottom: 0.55rem;
    padding-bottom: 0.4rem;
  }

  .hero-slide-title {
    font-size: clamp(1.4rem, 6.2vw, 1.85rem);
    line-height: 1.25;
    margin-bottom: 0.55rem;
    max-width: 100%;
  }

  .hero-slide-tagline {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-slide-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    width: 100%;
  }

  .hero-slide-actions .btn {
    width: 100%;
    min-height: 48px;
    padding: 0.8rem 1rem;
    font-size: 0.84rem;
    white-space: normal;
    border-radius: 9999px;
  }

  .hero-slider-ui {
    bottom: calc(0.7rem + env(safe-area-inset-bottom, 0px));
    inset-inline: 0;
  }

  .hero-slider-ui-inner {
    justify-content: center;
    width: min(1120px, calc(100% - 1.5rem));
  }

  .hero-slider-nav {
    gap: 0.45rem;
    padding: 0.35rem 0.5rem;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.22);
  }

  .hero-nav-btn {
    width: 2.45rem;
    height: 2.45rem;
  }

  .hero-dot {
    width: 0.5rem;
    height: 0.5rem;
  }

  .hero-dot.is-active {
    width: 1.35rem;
  }

  .hero-progress {
    height: 2.5px;
  }
}

@media (max-width: 480px) {
  .hero-slider {
    min-height: 500px;
    height: min(calc(100svh - var(--header-h)), 620px);
  }

  .hero-slide-title {
    font-size: clamp(1.3rem, 6.8vw, 1.55rem);
  }

  .hero-slide-tagline {
    font-size: 0.82rem;
    -webkit-line-clamp: 2;
  }

  .hero-slide-actions .btn {
    font-size: 0.8rem;
    min-height: 46px;
  }
}

@media (max-width: 360px) {
  .hero-slider {
    min-height: 480px;
  }

  .hero-slide-eyebrow {
    display: none;
  }
}

/* Landscape phones */
@media (max-height: 480px) and (orientation: landscape) {
  .hero-slider {
    height: auto;
    min-height: 360px;
    max-height: none;
  }

  .hero-slide {
    position: relative;
    min-height: 360px;
    padding-bottom: 4rem;
  }

  .hero-slider-track {
    position: relative;
    min-height: 360px;
  }

  .hero-slide:not(.is-active) {
    position: absolute;
  }

  .hero-slide-tagline {
    display: none;
  }
}

.cta-band .btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

@media (max-width: 767px) {
  .cta-band {
    padding: 2.75rem 0;
  }

  .cta-band h2 {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
    padding-inline: 0.25rem;
  }

  .cta-band p,
  .cta-band .cta-tagline {
    font-size: 0.92rem;
    margin-bottom: 1.35rem;
    padding-inline: 0.25rem;
  }

  .cta-band .btn:not(.btn-row .btn) {
    width: min(100%, 22rem);
  }
}

@media (max-width: 640px) {
  .cta-band .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-band .btn-row > .btn,
  .cta-band > .container > .btn {
    width: 100%;
  }
}

/* —— Footer —— */


/* —— Forms & contact —— */
@media (max-width: 767px) {
  .map-placeholder,
  .contact-map,
  .contact-map iframe {
    min-height: 240px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px; /* prevents iOS zoom on focus */
    padding: 0.8rem 0.9rem;
  }

  .accordion-trigger {
    font-size: 0.95rem;
    padding: 1.05rem 0;
    gap: 0.75rem;
  }
}

/* —— Utility: prevent horizontal scroll from Tailwind grids —— */
@media (max-width: 640px) {
  .grid {
    gap: 0.85rem;
  }

  /* Stack CTA button rows only (not chip/tag rows) */
  .btn-row,
  .hero-slide-actions,
  .cta-band .flex.flex-wrap,
  .callout-banner .flex.flex-wrap {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .btn-row > .btn,
  .hero-slide-actions > .btn,
  .cta-band .flex.flex-wrap > .btn,
  .callout-banner .flex.flex-wrap > .btn {
    width: 100%;
  }

  .chip {
    max-width: 100%;
  }
}

/* Safe area for notched phones */
@supports (padding: max(0px)) {
  .hero-slider {
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
}
