/* ============================================================
   RADIAL WEBSITE — MAIN STYLESHEET
   RTL | Pure CSS | WordPress-Ready
============================================================ */

/* @font-face is injected via PHP in functions.php using absolute URLs
   to avoid path breakage with caching plugins / CDNs.
   See: radial_inject_fonts() */

/* ── RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Colors — confirmed from XD assets */
  --color-orange:      #F2681C;
  --color-orange-dark: #D85510;
  --color-dark:        #003e59;
  --color-dark-2:      #1A2B3C;
  --color-text:        #1A1A1A;
  --color-text-muted:  #6B7280;
  --color-bg-light:    #F5F6F8;
  --color-white:       #FFFFFF;
  --color-border:      #E5E7EB;

  /* Typography — DINNextLTArabic */
  --font-primary: 'DINNextLTArabic', 'Cairo', 'Segoe UI', sans-serif;

  /* Spacing */
  --section-py:    80px;
  --container-max: 1240px;
  --container-px:  24px;

  /* Transitions */
  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Header */
  --header-h: 80px;
}

html { scroll-behavior: smooth; }

body {
  font-family:      var(--font-primary);
  font-size:        16px;
  line-height:      1.7;
  color:            var(--color-text);
  background-color: var(--color-white);
  direction:        rtl;
  overflow-x:       hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── UTILITY ─────────────────────────────────────────────── */
.text-orange { color: var(--color-orange); }

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

.section { padding: var(--section-py) 0; }

.section-eyebrow {
  display:        inline-flex;
  align-items:    center;
  gap:            8px;
  font-size:      16px;
  font-weight:    600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color:          var(--color-orange);
  margin-bottom:  8px;
}
.section-eyebrow img {
  width:       20px;
  height:      20px;
  flex-shrink: 0;
  display:     block;
}
.section-eyebrow--light {
  color: rgba(255,255,255,0.7);
}

.section-title {
  font-size:   2rem;
  font-weight: 800;
  line-height: 1.3;
  color:       var(--color-text);
}

.section-header { margin-bottom: 48px; }
.section-header--center { text-align: center; }

/* Center-align eyebrow when inside a centered header */
.section-header--center .section-eyebrow { justify-content: center; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display:        inline-flex;
  align-items:    center;
  gap:            8px;
  padding:        12px 28px;
  
  font-family:    var(--font-primary);
  font-size:      15px;
  font-weight:    600;
  line-height:    1;
  transition:     background var(--transition), color var(--transition),
                  border-color var(--transition), transform var(--transition);
  white-space:    nowrap;
}
.btn:active { transform: scale(0.97); }

.btn--orange {
  background: var(--color-orange);
  color:      var(--color-white);
  border:     2px solid var(--color-orange);
}
.btn--orange:hover {
  background:   var(--color-orange-dark);
  border-color: var(--color-orange-dark);
}

.btn--outline-white {
  background:   transparent;
  color:        var(--color-white);
  border:       2px solid var(--color-white);
}
.btn--outline-white:hover {
  background: var(--color-white);
  color:      var(--color-orange);
}

.btn--outline-dark {
  background:   transparent;
  color:        var(--color-text);
  border:       2px solid var(--color-border);
}
.btn--outline-dark:hover {
  border-color: var(--color-orange);
  color:        var(--color-orange);
}


/* ══════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════ */
.header {
  position:   fixed;
  top:        0;
  inset-inline: 0;
  z-index:    1000;
  height:     var(--header-h);
  background: transparent;
  transition: background var(--transition-slow), box-shadow var(--transition-slow);
}

/* Scrolled state — added via JS */
.header.scrolled {
  background: var(--color-white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.header.scrolled .nav__link        { color: var(--color-text); }
.header.scrolled .nav__link:hover,
.header.scrolled .nav__link.active { color: var(--color-orange); }
.header.scrolled .header__suppliers { /* stays orange */ }
.header.scrolled .header__hamburger span { background: var(--color-text); }

.header__inner {
  display:     flex;
  align-items: center;
  gap:         32px;
  height:      100%;
}

/* Logo */
.header__logo { flex-shrink: 0; }

/* Nav */
.header__nav { flex: 1; }

.nav__list {
  display:     flex;
  align-items: center;
  gap:         4px;
  justify-content: flex-start;
}

.nav__link {
  display:       inline-flex;
  align-items:   center;
  gap:           4px;
  padding:       8px 14px;
  font-size:     15px;
  font-weight:   500;
  color:         var(--color-white);
  
  position:      relative;
  transition:    color var(--transition);
}
.nav__link::after {
  content:    '';
  position:   absolute;
  bottom:     2px;
  right:      14px;
  left:       14px;
  height:     2px;
  background: var(--color-orange);
  
  transform:  scaleX(0);
  transition: transform var(--transition);
}
.nav__link:hover::after,
.nav__link.active::after { transform: scaleX(1); }
.nav__link:hover,
.nav__link.active { color: var(--color-orange); }

.nav__arrow {
  transition: transform var(--transition);
  flex-shrink: 0;
}
.nav__item--has-dropdown:hover .nav__arrow { transform: rotate(180deg); }

/* Dropdown */
.nav__item--has-dropdown { position: relative; }

.nav__dropdown {
  position:   absolute;
  top:        calc(100% + 8px);
  right:      0;
  min-width:  200px;
  background: var(--color-white);
  
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding:    8px 0;
  opacity:    0;
  visibility: hidden;
  transform:  translateY(-8px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index:    10;
}
.nav__item--has-dropdown:hover .nav__dropdown,
.nav__item--has-dropdown:focus-within .nav__dropdown {
  opacity:    1;
  visibility: visible;
  transform:  translateY(0);
}
.nav__dropdown li a {
  display:    block;
  padding:    10px 20px;
  font-size:  14px;
  color:      var(--color-text);
  transition: background var(--transition), color var(--transition);
}
.nav__dropdown li a:hover {
  background: var(--color-bg-light);
  color:      var(--color-orange);
}

/* Suppliers Button */
.header__suppliers { flex-shrink: 0; }

/* Hamburger */
.header__hamburger {
  display:        none;
  flex-direction: column;
  gap:            5px;
  padding:        8px;
  margin-right:   auto;
}
.header__hamburger span {
  display:      block;
  width:        24px;
  height:       2px;
  background:   var(--color-white);
  
  transition:   transform var(--transition), opacity var(--transition);
}
.header__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__hamburger.open span:nth-child(2) { opacity: 0; }
.header__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.header.scrolled .header__hamburger span  { background: var(--color-text); }

/* Mobile Nav Drawer */
.mobile-nav {
  position:   fixed;
  top:        var(--header-h);
  right:      0;
  bottom:     0;
  width:      min(320px, 85vw);
  background: var(--color-white);
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
  transform:  translateX(100%);
  transition: transform var(--transition-slow);
  overflow-y: auto;
  z-index:    999;
  padding:    24px 0;
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav__list {
  padding: 0 24px;
  list-style: none;
}

/* ── Items ── */
.mobile-nav__item {
  position: relative;
  list-style: none;
}

/* Top-level link — leaves room on the left for the toggle button */
.mobile-nav__link {
  display:       block;
  padding:       14px 0;
  padding-left:  40px;   /* space for toggle btn (RTL: left = visual end) */
  font-size:     16px;
  font-weight:   500;
  color:         var(--color-text);
  border-bottom: 1px solid var(--color-border);
  transition:    color var(--transition);
}
.mobile-nav__link:hover,
.mobile-nav__link.active { color: var(--color-orange); }

/* Items with no children need no left padding */
.mobile-nav__item:not(.mobile-nav__item--parent) .mobile-nav__link {
  padding-left: 0;
}

/* ── Accordion toggle button ── */
.mobile-nav__toggle {
  position:        absolute;
  left:            0;
  top:             0;
  height:          50px;   /* matches link padding top + font height */
  width:           36px;
  background:      none;
  border:          none;
  cursor:          pointer;
  display:         flex;
  align-items:     center;
  justify-content: center;
  color:           var(--color-text-muted);
  transition:      color var(--transition);
}
.mobile-nav__toggle svg {
  transition: transform var(--transition);
}
.mobile-nav__toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.mobile-nav__toggle:hover { color: var(--color-orange); }

/* ── Sub-menu (accordion) ── */
.mobile-nav__sub {
  list-style:    none;
  padding:       0 0 0 16px;
  background:    var(--color-bg-light);
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav__sub[hidden] { display: none; }

.mobile-nav__link--sub {
  padding-left:  0;
  font-size:     14px;
  font-weight:   400;
  color:         var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav__link--sub:last-child { border-bottom: none; }
.mobile-nav__link--sub:hover,
.mobile-nav__link--sub.active { color: var(--color-orange); }

/* ── Footer CTA ── */
.mobile-nav__footer {
  padding: 20px 24px 8px;
}
.mobile-nav__cta {
  display:    block;
  text-align: center;
  width:      100%;
}


/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height:   100vh;
  min-height: 600px;
  overflow: hidden;
}

/* Slides */
.hero__slides {
  position: absolute;
  inset:    0;
}

.hero__slide {
  position:   absolute;
  inset:      0;
  opacity:    0;
  transition: opacity 0.8s ease;
}
.hero__slide.active { opacity: 1; }

.hero__slide-bg {
  position:            absolute;
  inset:               0;
  background-size:     cover;
  background-position: center;
  transform:           scale(1.05);
  transition:          transform 6s ease;
}
.hero__slide.active .hero__slide-bg { transform: scale(1); }

.hero__overlay {
  position:   absolute;
  inset:      0;
  background: linear-gradient(
    135deg,
    rgba(13,27,42,0.75) 0%,
    rgba(13,27,42,0.45) 60%,
    rgba(13,27,42,0.3)  100%
  );
}

/* Video Background — iframe / html5 video */
.hero__video-bg {
  position: absolute;
  inset:    0;
  overflow: hidden;
  background: var(--color-dark);
}

/* Scale the iframe to always fill the viewport (16:9 centred)
   iframe requires explicit width + height — "auto" doesn't work */
.hero__video-bg iframe {
  position:  absolute;
  top:       50%;
  left:      50%;
  /* 16:9 scale trick: make it bigger than the viewport in both axes */
  width:     177.78vh;   /* 16/9 × 100vh */
  height:    100vh;
  min-width: 100%;
  min-height: 56.25vw;  /* 9/16 × 100vw */
  transform: translate(-50%, -50%);
  border:    0;
  pointer-events: none;  /* clicks pass through to the page */
}

.hero__video-bg video {
  position:   absolute;
  top:        50%;
  left:       50%;
  min-width:  100%;
  min-height: 100%;
  width:      auto;
  height:     auto;
  transform:  translate(-50%, -50%);
  object-fit: cover;
}

.hero__video-fallback {
  position: absolute;
  inset:    0;
  background: var(--color-dark);
}

/* Hero Content — النص يتمركز عمودياً مع إزاحة للأسفل قليلاً */
.hero__content {
  position:    relative;
  z-index:     10;
  height:      100%;
  display:     flex;
  align-items: center;
  padding-bottom: 120px; /* مسافة فوق الكرت */
}

.hero__text {
  max-width:  840px;
  padding-top: 80px; /* تعويض الهيدر الثابت */
  margin-left: 280px;
}

.hero__eyebrow {
  margin-right: 50px;
  display:        inline-flex;
  align-items:    center;
  gap:            8px;
  font-size:      13px;
  font-weight:    500;
  letter-spacing: 0.5px;
  color:          rgba(255,255,255,0.75);
  margin-bottom:  14px;
}
.hero__eyebrow::before {
  content:         '';
  display:         inline-block;
  width:           4px;
  height:          4px;
  
  background:      var(--color-orange);
  flex-shrink:     0;
}

.hero__title {
  display:       flex;
  align-items:   center;
  gap:           14px;
  font-size:     clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight:   800;
  color:         var(--color-white);
  line-height:   1.2;
  margin-bottom: 14px;
}
.hero__title-icon {
    width: clamp(32px, 3.5vw, 32px);
    height: clamp(32px, 3.5vw, 32px);
    flex-shrink: 0;
    display: block;
    margin-top: 28px;
}

.hero__subtitle {
  font-size:     1.05rem;
  font-weight:   400;
  color:         rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width:     460px;
  line-height:   1.7;
  margin-right: 66px;
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap;     margin-right: 68px; }

/* ── Project Card ────────────────────────────────────
   موضعه: أسفل يسار (نهاية السطر في RTL)
   الحجم: 380px ثابت
──────────────────────────────────────────────────── */
.hero__project-card {
  position:        absolute;
  bottom:          40px;
  left:            var(--container-px);  /* يسار الشاشة */
  right:           auto;
  z-index:         10;
  display:         flex;
  align-items:     stretch;
  width:           380px;
  background:      rgba(13,27,42,0.88);
  backdrop-filter: blur(10px);
  border:          2px solid var(--color-orange);
  
  overflow:        hidden;
}

.hero__card-arrow {
  width:       40px;
  min-width:   40px;
  display:     flex;
  align-items: center;
  justify-content: center;
  color:       var(--color-white);
  background:  rgba(242,104,28,0.18);
  transition:  background var(--transition);
  flex-shrink: 0;
  border: none;
}
.hero__card-arrow:hover { background: var(--color-orange); }

.hero__card-body {
  display:     flex;
  align-items: center;
  gap:         14px;
  padding:     14px 16px;
  flex:        1;
  min-width:   0;
}

.hero__card-thumb {
  width:         90px;
  height:        68px;
  min-width:     90px;
  
  overflow:      hidden;
  flex-shrink:   0;
}
.hero__card-thumb img { width: 100%; height: 100%; object-fit: cover; }

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

.hero__card-name {
  font-size:     14px;
  font-weight:   700;
  color:         var(--color-white);
  margin-bottom: 6px;
  white-space:   nowrap;
  overflow:      hidden;
  text-overflow: ellipsis;
}

.hero__card-location,
.hero__card-status {
  display:     flex;
  align-items: center;
  gap:         5px;
  font-size:   12px;
  color:       rgba(255,255,255,0.65);
  margin-top:  5px;
}
.hero__card-location img,
.hero__card-status img { opacity: 0.9; }

.status-dot {
  width:        8px;
  height:       8px;
  
  background:   #22c55e;
  display:      inline-block;
  animation:    pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(1.2); }
}

/* Slider Dots */
.hero__dots {
  position:  absolute;
  bottom:    24px;
  left:      50%;
  transform: translateX(-50%);
  z-index:   10;
  display:   flex;
  gap:       10px;
}

.hero__dot {
  width:        10px;
  height:       10px;
  
  background:   rgba(255,255,255,0.4);
  border:       2px solid transparent;
  transition:   background var(--transition), width var(--transition), border-radius var(--transition);
  padding:      0;
}
.hero__dot.active {
  background:   var(--color-orange);
  width:        28px;
  
}


/* ══════════════════════════════════════════════════════════
   STATS
══════════════════════════════════════════════════════════ */
.stats { background: var(--color-white); }

.stats__grid {
  display:               grid;
  grid-template-columns: repeat(5, 1fr);
  gap:                   2px;
  background:            var(--color-border);
  border:                1px solid var(--color-border);
  
  overflow:              hidden;
}

.stat-card {
  background:  var(--color-white);
  padding:     36px 24px;
  text-align:  center;
  transition:  background var(--transition);
}
.stat-card:hover { background: var(--color-bg-light); }

.stat-card__icon {
	width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-dark);
    padding: 10px;
  
}
.stat-card__icon img { width: 32px; height: 32px; }

.stat-card__number {
  font-size:   2.5rem;
  font-weight: 800;
  color:       var(--color-orange);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card__label {
  font-size:   14px;
  color:       var(--color-text-muted);
  font-weight: 500;
}


/* ══════════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════════ */
.about { background: var(--color-bg-light); overflow: hidden; }

.about__inner {
  display:     flex;
  gap:         80px;
  align-items: center;
}

/* Image */
.about__image-col {
  flex:     0 0 45%;
  position: relative;
}

.about__image-frame {
  position:      relative;
  
  overflow:      hidden;
}
.about__image-frame::before {
  content:    '';
  position:   absolute;
  top:        -16px;
  right:      -16px;
  width:      70%;
  height:     70%;
  border:     4px solid var(--color-orange);
  
  z-index:    0;
}
.about__img {
  position:      relative;
  z-index:       1;
  width:         100%;
  height:        460px;
  object-fit:    cover;
  
  display:       block;
}

.about__overlay-stats {
  position:     absolute;
  bottom:       24px;
  left:         24px;
  z-index:      2;
  display:      flex;
  gap:          12px;
}

.about__overlay-stat {
  display:      flex;
  align-items:  center;
  gap:          8px;
  background:   rgba(13,27,42,0.85);
  color:        var(--color-white);
  padding:      10px 16px;
  
  font-size:    14px;
  font-weight:  700;
  backdrop-filter: blur(4px);
}
.about__overlay-stat svg { color: var(--color-orange); }

/* Content */
.about__content-col { flex: 1; }

.about__title {
  font-size:   clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  color:       var(--color-dark);
}

.about__text {
  font-size:     15px;
  line-height:   1.9;
  color:         var(--color-text-muted);
  margin-bottom: 32px;
}


/* ══════════════════════════════════════════════════════════
   PROJECTS / SECTORS HOME
   Header block above · Full-width 4-column equal grid below
══════════════════════════════════════════════════════════ */
.projects-home {
  overflow:   hidden;
  background: var(--color-dark);
}

/* ── Section header — centered text ── */
.projects-home__header {
  text-align: center;
  padding:    72px 24px 56px;
  max-width:  680px;
  margin:     0 auto;
}

/* ── 4-column full-width cards grid ── */
.projects-home__cards {
  display:               grid;
  grid-template-columns: repeat(4, 1fr);
  height:                520px;
}

/* All cards equal — reset any global first-child rules */
.projects-home__cards .project-card              { height: 100%; }
.projects-home__cards .project-card:first-child  { grid-column: auto; grid-row: auto; }
.projects-home__cards .project-card:nth-child(2),
.projects-home__cards .project-card:nth-child(3) { grid-column: auto; grid-row: auto; }

/* ── Individual card base styles ── */
.project-card {
  position: relative;
  overflow: hidden;
  cursor:   pointer;
  height:   100%;
}

.project-card__img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display:    block;
  position:   absolute;
  inset:      0;
}
.project-card:hover .project-card__img { transform: scale(1.05); }

.project-card__overlay {
  position:       absolute;
  inset:          0;
  background:     linear-gradient(to top, rgba(13,27,42,0.85) 0%, transparent 60%);
  display:        flex;
  flex-direction: column;
  justify-content: space-between;
  padding:        16px;
  transition:     background var(--transition);
}
.project-card:hover .project-card__overlay {
  background: linear-gradient(to top, rgba(13,27,42,0.9) 0%, rgba(13,27,42,0.2) 100%);
}

.project-card__tag {
  align-self:  flex-start;
  background:  var(--color-orange);
  color:       var(--color-white);
  font-size:   11px;
  font-weight: 700;
  padding:     4px 10px;
}

.project-card__footer { color: var(--color-white); }

.project-card__title {
  font-size:   1rem;
  font-weight: 700;
}
.project-card__sub {
  font-size:  12px;
  opacity:    0.75;
  margin-top: 2px;
}

.project-card__link {
  position: absolute;
  inset:    0;
  z-index:  2;
}

/* ── Typography in header ── */
.projects-home__title {
  font-size:     clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight:   800;
  color:         var(--color-white);
  line-height:   1.35;
  margin-bottom: 20px;
}

.projects-home__text {
  font-size:     15px;
  line-height:   1.9;
  color:         rgba(255,255,255,0.65);
  margin-bottom: 36px;
}


/* ══════════════════════════════════════════════════════════
   NEWS
══════════════════════════════════════════════════════════ */
.news { background: var(--color-bg-light); }

.news__header {
  display:         flex;
  justify-content: space-between;
  align-items:     flex-end;
  margin-bottom:   48px;
}

.news__grid {
  display:               grid;
  grid-template-columns: repeat(4, 1fr);
  gap:                   24px;
}

.news-card {
  background:    var(--color-white);
  
  overflow:      hidden;
  box-shadow:    0 2px 12px rgba(0,0,0,0.06);
  transition:    transform var(--transition), box-shadow var(--transition);
}
.news-card:hover {
  transform:  translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.news-card__image-wrap {
  position:       relative;
  overflow:       hidden;
  aspect-ratio:   16/10;
}
.news-card__img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .news-card__img { transform: scale(1.06); }

.news-card__cat {
  position:      absolute;
  top:           12px;
  right:         12px;
  background:    var(--color-orange);
  color:         var(--color-white);
  font-size:     11px;
  font-weight:   700;
  padding:       4px 10px;
  
}

.news-card__body { padding: 20px; }

.news-card__date {
  display:     block;
  font-size:   12px;
  color:       var(--color-text-muted);
  margin-bottom: 8px;
}

.news-card__title {
  font-size:     15px;
  font-weight:   700;
  line-height:   1.5;
  color:         var(--color-text);
  margin-bottom: 16px;
  display:       -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:      hidden;
}

.news-card__more {
  display:     inline-flex;
  align-items: center;
  gap:         6px;
  font-size:   13px;
  font-weight: 600;
  color:       var(--color-orange);
  transition:  gap var(--transition);
}
.news-card__more:hover { gap: 10px; }


/* ══════════════════════════════════════════════════════════
   PARTNERS
══════════════════════════════════════════════════════════ */
.partners { background: var(--color-white); }

.partners__track {
  display:         flex;
  align-items:     center;
  justify-content: center;
  flex-wrap:       wrap;
  gap:             48px 64px;
}

.partner-logo {
  display:    flex;
  align-items: center;
  justify-content: center;
  filter:     grayscale(100%);
  opacity:    0.55;
  transition: filter var(--transition), opacity var(--transition);
}
.partner-logo:hover {
  filter:  grayscale(0%);
  opacity: 1;
}
.partner-logo img {
  max-height: 56px;
  max-width:  160px;
  object-fit: contain;
}


/* ══════════════════════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════════════════════ */
.cta-section {
  position:   relative;
  padding:    100px 0;
  text-align: center;
  overflow:   hidden;
}

.cta-section__bg {
  position:            absolute;
  inset:               0;
  background-size:     cover;
  background-position: center;
}
.cta-section__overlay {
  position:   absolute;
  inset:      0;
  background: rgba(13,27,42,0.82);
}

.cta-section__content {
  position: relative;
  z-index:  1;
}

.cta-section__title {
  font-size:     clamp(1.8rem, 4vw, 2.6rem);
  font-weight:   800;
  color:         var(--color-white);
  margin-bottom: 16px;
}
.cta-section__text {
  font-size:     1rem;
  color:         rgba(255,255,255,0.75);
  margin-bottom: 40px;
  max-width:     520px;
  margin-left:   auto;
  margin-right:  auto;
}
.cta-section__actions {
  display:         flex;
  gap:             16px;
  justify-content: center;
  flex-wrap:       wrap;
}


/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.footer { background: var(--color-dark); color: rgba(255,255,255,0.7); }

.footer__main { padding: 72px 0 48px; }

.footer__grid {
  display:               grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap:                   48px;
}

/* Brand col */
.footer__logo { margin-bottom: 20px; }

.footer__tagline {
  font-size:   14px;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width:   280px;
}

.footer__social {
  display: flex;
  gap:     12px;
}

.footer__social-link {
  width:         38px;
  height:        38px;
  
  background:    rgba(255,255,255,0.08);
  display:       flex;
  align-items:   center;
  justify-content: center;
  color:         rgba(255,255,255,0.6);
  transition:    background var(--transition), color var(--transition);
}
.footer__social-link:hover {
  background: var(--color-orange);
  color:      var(--color-white);
}

/* Cols */
.footer__col-title {
  font-size:     15px;
  font-weight:   700;
  color:         var(--color-white);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__links li + li { margin-top: 10px; }
.footer__links a {
  font-size:  14px;
  color:      rgba(255,255,255,0.6);
  transition: color var(--transition), padding-right var(--transition);
}
.footer__links a:hover {
  color:         var(--color-orange);
  padding-right: 4px;
}

/* Contact list */
.footer__contact-list li {
  display:     flex;
  align-items: flex-start;
  gap:         10px;
  font-size:   14px;
  margin-bottom: 14px;
}
.footer__contact-list svg {
  flex-shrink:   0;
  color:         var(--color-orange);
  margin-top:    2px;
}
.footer__contact-list a:hover { color: var(--color-orange); }

/* Bottom bar */
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding:    20px 0;
}
.footer__bottom-inner {
  display:         flex;
  justify-content: space-between;
  align-items:     center;
  gap:             16px;
  flex-wrap:       wrap;
}
.footer__copy { font-size: 13px; }

.footer__legal {
  display: flex;
  gap:     16px;
}
.footer__legal a {
  font-size:  13px;
  color:      rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer__legal a:hover { color: var(--color-orange); }
.footer__legal span    { color: rgba(255,255,255,0.2); }


/* ══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --section-py: 64px; }

  /* Header */
  .header__nav          { display: none; }
  .header__hamburger    { display: flex; }
  .header__suppliers    { display: none; }

  /* Hero — remove desktop margin that avoids project card */
  .hero__text     { margin-left: 0; }
  .hero__eyebrow  { margin-right: 0; }
  .hero__subtitle { margin-right: 0; }
  .hero__actions  { margin-right: 0; }

  /* Stats */
  .stats__grid { grid-template-columns: repeat(3, 1fr); }

  /* About */
  .about__inner { gap: 48px; }

  /* Projects — 2 columns on tablet */
  .projects-home__header { padding: 56px 24px 40px; }
  .projects-home__cards  {
    grid-template-columns: repeat(2, 1fr);
    height:                480px;
  }

  /* News */
  .news__grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}


/* ══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 640px)
══════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  :root { --section-py: 48px; }

  /* ── Hero — center all text content ── */
  .hero                 { min-height: 100svh; }
  .hero__content        { align-items: flex-start; }
  .hero__text {
    margin-left:  0;
    max-width:    100%;
    padding-top:  96px;
    text-align:   center;
  }
  .hero__eyebrow {
    margin-right:     0;
    justify-content:  center;
    width:            100%;
  }
  .hero__title {
    justify-content: center;
    font-size:       clamp(1.75rem, 7vw, 2.4rem);
  }
  .hero__title-icon { display: none; }       /* أيقونة الهيرو تختفي على الجوال */
  .hero__subtitle {
    margin-right: 0;
    max-width:    100%;
    text-align:   center;
  }
  .hero__actions {
    margin-right:    0;
    flex-direction:  column;
    align-items:     center;
    justify-content: center;
  }
  .hero__actions .btn  { text-align: center; justify-content: center; width: 100%; max-width: 320px; }
  .hero__project-card  { right: 16px; left: 16px; min-width: 0; bottom: 72px; }

  /* ── Stats ── */
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid .stat-card:last-child { grid-column: 1 / -1; }

  /* ── About ── */
  .about__inner    { flex-direction: column; }
  .about__image-col { flex: none; width: 100%; }
  .about__img      { height: 280px; }

  /* ── Projects / Sectors — 2 columns on mobile, auto height ── */
  .projects-home__header { padding: 48px 16px 32px; }
  .projects-home__cards  {
    grid-template-columns: repeat(2, 1fr);
    height:                auto;
  }
  .projects-home__cards .project-card              { height: 200px; }
  .projects-home__cards .project-card:first-child  { grid-column: 1 / -1; height: 240px; }

  /* ── News ── */
  .news__grid   { grid-template-columns: 1fr; }
  .news__header { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* ── Partners ── */
  .partners__track { gap: 32px; }

  /* ── CTA ── */
  .cta-section__actions { flex-direction: column; align-items: center; }

  /* ── Footer ── */
  .footer__grid        { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
}


/* ══════════════════════════════════════════════════════════
   INNER PAGE BANNER
   Used in: page.php, archive pages, single templates
══════════════════════════════════════════════════════════ */
.page-banner {
  position:   relative;
  background: var(--color-dark-2);
  padding:    130px 0 70px;
  color:      #fff;
  text-align: center;
  overflow:   hidden;
}

/* Optional featured-image background (dimmed) */
.page-banner__bg {
  position:            absolute;
  inset:               0;
  background-size:     cover;
  background-position: center;
  opacity:             0.18;
}

.page-banner__content {
  position: relative;
  z-index:  1;
}

/* Eyebrow (optional) */
.page-banner__eyebrow {
  justify-content: center;
  margin-bottom:   18px;
}

/* Breadcrumb trail */
.page-banner__breadcrumb {
  display:         flex;
  align-items:     center;
  justify-content: center;
  flex-wrap:       wrap;
  gap:             4px 10px;
  font-size:       13px;
  color:           rgba(255,255,255,0.5);
  margin-bottom:   18px;
}
.page-banner__breadcrumb a {
  color:      rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.page-banner__breadcrumb a:hover {
  color: var(--color-orange);
}
.page-banner__sep {
  color:     rgba(255,255,255,0.22);
  font-size: 12px;
}

/* Page title */
.page-banner__title {
  font-size:   clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin:      0;
}


/* ══════════════════════════════════════════════════════════
   PAGE CONTENT
   .page-content          — wrapper for all page body content
   .page-content__wrap    — container used when NOT Elementor
   .page-content--elementor — full-width, Elementor controls layout
══════════════════════════════════════════════════════════ */
.page-content {
  min-height: 320px;
}

/* Default (non-Elementor) page content */
.page-content__wrap {
  max-width:  860px;
  padding-top:    var(--section-py);
  padding-bottom: var(--section-py);
}

/* Basic typography for WP-editor content */
.page-content__wrap h2,
.page-content__wrap h3,
.page-content__wrap h4 {
  color:       var(--color-dark);
  font-weight: 700;
  line-height: 1.3;
  margin:      1.4em 0 0.6em;
}
.page-content__wrap p {
  line-height: 1.85;
  color:       var(--color-text);
  margin:      0 0 1.2em;
}
.page-content__wrap ul,
.page-content__wrap ol {
  padding-right: 1.4em;
  margin:        0 0 1.2em;
  line-height:   1.8;
  color:         var(--color-text);
}
.page-content__wrap li { margin-bottom: 0.4em; }
.page-content__wrap a  { color: var(--color-orange); }
.page-content__wrap a:hover { text-decoration: underline; }

/* Elementor full-width mode — no interference */
.page-content--elementor {
  /* Elementor handles its own padding / sections */
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .page-banner { padding: 110px 0 56px; }
}
@media (max-width: 640px) {
  .page-banner          { padding: 100px 0 48px; }
  .page-banner__title   { font-size: 1.6rem; }
  .page-content__wrap   { padding-top: 40px; padding-bottom: 40px; }
}


/* ══════════════════════════════════════════════════════════
   SECTOR TAXONOMY
══════════════════════════════════════════════════════════ */
.filter-chip {
  display:     inline-flex;
  align-items: center;
  padding:     6px 16px;
  border:      1px solid var(--color-border);
  border-radius: 100px;
  font-size:   13px;
  color:       var(--color-text-muted);
  background:  var(--color-white);
  transition:  all var(--transition);
  text-decoration: none;
}
.filter-chip.active,
.filter-chip:hover {
  background:  var(--color-orange);
  border-color: var(--color-orange);
  color:       #fff;
}


/* ══════════════════════════════════════════════════════════
   GALLERY ARCHIVE
══════════════════════════════════════════════════════════ */
.gallery-tabs { border-bottom: 1px solid var(--color-border); padding-bottom: 16px; }

.gallery-tab {
  display:       inline-block;
  padding:       8px 20px;
  border:        1px solid var(--color-border);
  border-radius: 100px;
  font-size:     14px;
  color:         var(--color-text-muted);
  text-decoration: none;
  transition:    all var(--transition);
}
.gallery-tab.active,
.gallery-tab:hover {
  background:  var(--color-dark);
  border-color: var(--color-dark);
  color:       #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-grid--4 {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.gallery-card {
  position:      relative;
  border-radius: 8px;
  overflow:      hidden;
  background:    var(--color-dark);
}
.gallery-card__thumb {
  position:   relative;
  aspect-ratio: 4/3;
  overflow:   hidden;
}
.gallery-card__img {
  width:      100%;
  height:     100%;
  object-fit: cover;
  display:    block;
  transition: transform var(--transition-slow);
}
.gallery-card:hover .gallery-card__img { transform: scale(1.05); }

.gallery-card__overlay {
  position:   absolute;
  inset:      0;
  background: linear-gradient(to top, rgba(0,62,89,.5) 0%, transparent 60%);
  transition: opacity var(--transition);
}
.gallery-card:hover .gallery-card__overlay { opacity: 1.4; }

.gallery-card__play {
  position:   absolute;
  inset:      0;
  display:    flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.gallery-card__type {
  position:     absolute;
  top:          10px;
  right:        10px;
  background:   rgba(0,0,0,.55);
  color:        #fff;
  font-size:    11px;
  font-weight:  600;
  padding:      3px 10px;
  border-radius: 100px;
}

.gallery-card__body {
  padding: 12px 16px;
  background: var(--color-white);
}
.gallery-card__title {
  font-size:   14px;
  font-weight: 600;
  color:       var(--color-text);
  margin:      0;
  overflow:    hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.gallery-card__link {
  position: absolute;
  inset:    0;
  z-index:  1;
}


/* ══════════════════════════════════════════════════════════
   GALLERY SINGLE
══════════════════════════════════════════════════════════ */
.gallery-single { max-width: 900px; margin: 0 auto; }

.gallery-single__media { margin-bottom: 32px; }

/* Video responsive wrapper */
.gallery-single__video-wrap {
  position:    relative;
  padding-top: 56.25%;
  overflow:    hidden;
  background:  var(--color-dark);
  border-radius: 8px;
}
.gallery-single__video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Lightbox image */
.gallery-single__lightbox {
  display:  block;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.gallery-single__img {
  width:      100%;
  max-height: 70vh;
  object-fit: contain;
  display:    block;
  background: var(--color-dark);
}
.gallery-single__zoom {
  position:   absolute;
  bottom:     16px;
  left:       16px;
  background: rgba(0,0,0,.55);
  color:      #fff;
  padding:    8px;
  border-radius: 50%;
  display:    flex;
  align-items: center;
  justify-content: center;
  opacity:    0;
  transition: opacity var(--transition);
}
.gallery-single__lightbox:hover .gallery-single__zoom { opacity: 1; }

.gallery-single__caption {
  font-size:   1rem;
  color:       var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.gallery-single__nav {
  display:         flex;
  justify-content: space-between;
  align-items:     center;
  padding-top:     24px;
  border-top:      1px solid var(--color-border);
  gap:             16px;
}
.gallery-single__nav-btn {
  display:    inline-flex;
  align-items: center;
  gap:         8px;
  font-size:   14px;
  color:       var(--color-text-muted);
  transition:  color var(--transition);
  text-decoration: none;
  max-width:   45%;
}
.gallery-single__nav-btn:hover { color: var(--color-orange); }


/* ══════════════════════════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════════════════════════ */

/* Vision & Mission */
.about-vm__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.about-vm__card {
  padding:       40px 32px;
  border-radius: 12px;
  background:    var(--color-white);
  border:        1px solid var(--color-border);
  box-shadow:    0 2px 16px rgba(0,0,0,.04);
}
.about-vm__card--vision { border-top: 4px solid var(--color-orange); }
.about-vm__card--mission { border-top: 4px solid var(--color-dark); }
.about-vm__icon { margin-bottom: 20px; }
.about-vm__label {
  font-size:   1.1rem;
  font-weight: 700;
  color:       var(--color-dark);
  margin-bottom: 12px;
}
.about-vm__text {
  color:       var(--color-text-muted);
  line-height: 1.8;
  margin:      0;
}

/* Company Story */
.about-story__grid {
  display:   grid;
  grid-template-columns: 1fr 1fr;
  gap:       64px;
  align-items: center;
}
.about-story__image {
  width:         100%;
  border-radius: 12px;
  object-fit:    cover;
  aspect-ratio:  4/3;
  display:       block;
}
.about-story__text {
  color:       var(--color-text);
  line-height: 1.8;
  margin-top:  20px;
}
.about-story__text p { margin-bottom: 16px; }

/* Certifications */
.about-certs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 24px;
}
.about-certs__item {
  background:    rgba(255,255,255,.08);
  border:        1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  padding:       24px;
  display:       flex;
  align-items:   center;
  justify-content: center;
}
.about-certs__img {
  max-width:  100%;
  max-height: 100px;
  object-fit: contain;
  filter:     brightness(0) invert(1); /* Show white on dark background */
}

/* Leadership Team */
.about-team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 32px;
}
.about-team__card {
  text-align: center;
}
.about-team__photo-wrap {
  width:         140px;
  height:        140px;
  border-radius: 50%;
  overflow:      hidden;
  margin:        0 auto 16px;
  background:    var(--color-bg-light);
  display:       flex;
  align-items:   center;
  justify-content: center;
}
.about-team__photo {
  width:      100%;
  height:     100%;
  object-fit: cover;
}
.about-team__photo-placeholder { color: var(--color-text-muted); }
.about-team__name {
  font-size:   1rem;
  font-weight: 700;
  color:       var(--color-dark);
  margin-bottom: 4px;
}
.about-team__title {
  font-size:  13px;
  color:      var(--color-text-muted);
  margin:     0;
}

@media (max-width: 768px) {
  .about-story__grid { grid-template-columns: 1fr; gap: 32px; }
}


/* ══════════════════════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════════════════════ */
.contact-page__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}
.contact-page__info-title,
.contact-page__form-title {
  font-size:     1.3rem;
  font-weight:   700;
  color:         var(--color-dark);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--color-orange);
  display:       inline-block;
}

/* Contact info list */
.contact-info-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.contact-info-item {
  display:    flex;
  align-items: flex-start;
  gap:        16px;
}
.contact-info-item__icon {
  width:       40px;
  height:      40px;
  background:  var(--color-orange);
  color:       #fff;
  border-radius: 8px;
  display:     flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-item__label {
  display:    block;
  font-size:  12px;
  color:      var(--color-text-muted);
  margin-bottom: 2px;
}
.contact-info-item__value {
  display:     block;
  font-size:   15px;
  font-weight: 600;
  color:       var(--color-text);
  text-decoration: none;
}
.contact-info-item__value:hover { color: var(--color-orange); }

/* Map */
.contact-page__map {
  margin-top:    24px;
  border-radius: 12px;
  overflow:      hidden;
  aspect-ratio:  4/3;
}
.contact-page__map iframe {
  width:  100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-form__field { display: flex; flex-direction: column; gap: 6px; }
.contact-form__label {
  font-size:   13px;
  font-weight: 600;
  color:       var(--color-text);
}
.contact-form__req { color: var(--color-orange); }
.contact-form__opt { font-weight: 400; color: var(--color-text-muted); }
.contact-form__input,
.contact-form__textarea {
  padding:      12px 16px;
  border:       1px solid var(--color-border);
  border-radius: 8px;
  font-family:  var(--font-primary);
  font-size:    15px;
  color:        var(--color-text);
  background:   var(--color-white);
  transition:   border-color var(--transition);
  outline:      none;
  width:        100%;
}
.contact-form__input:focus,
.contact-form__textarea:focus { border-color: var(--color-orange); }
.contact-form__textarea { resize: vertical; min-height: 120px; }

.contact-form__feedback {
  padding:       12px 16px;
  border-radius: 8px;
  font-size:     14px;
}
.contact-form__feedback--error {
  background: #fef2f2;
  border:     1px solid #fca5a5;
  color:      #dc2626;
}
.contact-form__feedback--success {
  background: #f0fdf4;
  border:     1px solid #86efac;
  color:      #16a34a;
}

.contact-form__submit { align-self: flex-start; min-width: 160px; }

@media (max-width: 900px) {
  .contact-page__grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form__row  { grid-template-columns: 1fr; }
}


/* ══════════════════════════════════════════════════════════
   CAREERS PAGE
══════════════════════════════════════════════════════════ */
.careers-page__intro { max-width: 720px; }
.careers-page__content { font-size: 1.05rem; line-height: 1.8; color: var(--color-text); margin-bottom: 32px; }
.careers-page__cta-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.careers-page__cta {
  display:    inline-flex;
  align-items: center;
  gap:        10px;
  font-size:  1rem;
  padding:    14px 36px;
}
.careers-page__cta-note { font-size: 13px; color: var(--color-text-muted); }

.careers-why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.careers-why__card {
  padding:    28px 24px;
  background: var(--color-white);
  border-radius: 8px;
  border:     1px solid var(--color-border);
}
.careers-why__title { font-size: 1rem; font-weight: 700; color: var(--color-dark); margin-bottom: 8px; }
.careers-why__text  { font-size: 14px; color: var(--color-text-muted); line-height: 1.7; margin: 0; }


/* ══════════════════════════════════════════════════════════
   MEDIA CENTER HUB
══════════════════════════════════════════════════════════ */
.media-hub__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.media-hub__card {
  padding:       48px 40px;
  border-radius: 16px;
  text-align:    center;
  border:        1px solid var(--color-border);
}
.media-hub__card--news    { background: var(--color-bg-light); }
.media-hub__card--gallery { background: var(--color-dark); color: #fff; }
.media-hub__card-icon { margin-bottom: 20px; }
.media-hub__card--gallery .media-hub__card-icon { color: rgba(255,255,255,.7); }
.media-hub__card-title {
  font-size:   1.5rem;
  font-weight: 700;
  color:       var(--color-dark);
  margin-bottom: 12px;
}
.media-hub__card--gallery .media-hub__card-title { color: #fff; }
.media-hub__card-desc {
  font-size:   15px;
  color:       var(--color-text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}
.media-hub__card--gallery .media-hub__card-desc { color: rgba(255,255,255,.65); }
.media-hub__card-btn { display: inline-block; }

.btn--dark {
  background:  var(--color-white);
  color:       var(--color-dark);
  border-color: var(--color-white);
}
.btn--dark:hover {
  background:  rgba(255,255,255,.85);
}

@media (max-width: 640px) {
  .media-hub__cards { grid-template-columns: 1fr; }
  .media-hub__card  { padding: 32px 24px; }
}


/* ══════════════════════════════════════════════════════════
   WESTERN DIGITS ENFORCEMENT
   Belt-and-suspenders fallback in case the browser ignores
   the @font-face unicode-range override for digit code points.
   Explicitly targets all contexts where numbers appear.
══════════════════════════════════════════════════════════ */
.counter,
.stat-card__number,
.stat-card__number span,
.about__overlay-stat span,
.news-card__date,
time,
.footer__copy,
.project-single__meta dd,
dl dd {
    font-variant-numeric: lining-nums;
    font-feature-settings: "lnum" 1, "kern" 1;
    -webkit-font-feature-settings: "lnum" 1, "kern" 1;
}


/* ═══════════════════════════════════════════════════════════
   SUPPLIERS PAGE
═══════════════════════════════════════════════════════════ */

/* ── Page intro ── */
.suppliers-page__intro          { margin-bottom: 56px; }
.suppliers-page__reqs           { display: flex; flex-wrap: wrap; gap: 16px 32px; margin-top: 24px; }
.suppliers-page__req-item       { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--color-text); }

/* ── Form wrapper ── */
.suppliers-page__form-wrap      { max-width: 900px; }

/* ── Supplier Form ── */
.supplier-form                  { display: flex; flex-direction: column; gap: 0; }

/* Section */
.sf-section                     { background: #fff; border: 1px solid #e8eaed; border-radius: 12px; padding: 32px 36px; margin-bottom: 24px; }
.sf-section__title              { display: flex; align-items: center; gap: 14px; font-size: 18px; font-weight: 700; color: var(--color-dark); margin: 0 0 28px; }
.sf-section__num                { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: var(--color-orange); color: #fff; border-radius: 50%; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.sf-required-note               { font-size: 12px; font-weight: 400; color: var(--color-text-muted); margin-right: auto; }

/* Grid */
.sf-grid                        { display: grid; gap: 20px 24px; }
.sf-grid--2                     { grid-template-columns: 1fr 1fr; }
.sf-field--full                 { grid-column: 1 / -1; }

/* Label + Input */
.sf-label                       { display: block; font-size: 13px; font-weight: 600; color: var(--color-dark); margin-bottom: 7px; }
.sf-optional                    { font-weight: 400; color: var(--color-text-muted); font-size: 12px; }
.sf-required                    { color: var(--color-orange); }

.sf-input                       { width: 100%; padding: 11px 15px; border: 1.5px solid #d0d5dd; border-radius: 8px; font-size: 14px; font-family: inherit; color: var(--color-text); background: #fff; transition: border-color .2s, box-shadow .2s; appearance: none; }
.sf-input:focus                 { outline: none; border-color: var(--color-orange); box-shadow: 0 0 0 3px rgba(242,104,28,.12); }
.sf-input::placeholder          { color: #adb5bd; }
.sf-field--error .sf-input      { border-color: #dc3545; }

/* Type Cards */
.sf-type-grid                   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sf-type-card                   { cursor: pointer; }
.sf-type-card input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.sf-type-card__inner            { border: 2px solid #e8eaed; border-radius: 12px; padding: 24px 20px; text-align: center; transition: border-color .2s, background .2s, transform .15s; background: #fafafa; }
.sf-type-card:hover .sf-type-card__inner,
.sf-type-card--active .sf-type-card__inner { border-color: var(--color-orange); background: #fff7f2; transform: translateY(-2px); }
.sf-type-card__icon             { font-size: 40px; display: block; margin-bottom: 12px; line-height: 1; }
.sf-type-card__title            { display: block; font-size: 16px; font-weight: 700; color: var(--color-dark); margin-bottom: 8px; }
.sf-type-card__desc             { font-size: 13px; color: var(--color-text-muted); line-height: 1.5; margin: 0; }

/* File upload */
.sf-file-wrap                   { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sf-file-btn                    { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1.5px solid #d0d5dd; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; transition: border-color .2s, background .2s; white-space: nowrap; background: #fff; color: var(--color-dark); }
.sf-file-btn:hover              { border-color: var(--color-orange); background: #fff7f2; }
.sf-file-input                  { position: absolute; opacity: 0; width: 0; height: 0; }
.sf-file-name                   { font-size: 13px; color: var(--color-text-muted); }

/* Radio group (inline) */
.sf-fieldset                    { border: none; padding: 0; margin: 0; }
.sf-radio-group                 { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 4px; }
.sf-radio-label                 { display: flex; align-items: center; gap: 9px; font-size: 14px; cursor: pointer; }
.sf-radio-label input[type="radio"] { width: 18px; height: 18px; accent-color: var(--color-orange); cursor: pointer; }

/* Error box */
.sf-error                       { background: #fff5f5; border: 1.5px solid #f5c6cb; border-radius: 8px; padding: 14px 18px; color: #721c24; font-size: 14px; line-height: 1.6; margin-bottom: 8px; }

/* Submit */
.sf-submit-wrap                 { text-align: center; padding-top: 8px; }
.sf-submit-note                 { font-size: 12px; color: var(--color-text-muted); margin-bottom: 20px; }
.sf-submit-btn                  { min-width: 240px; padding: 15px 40px; font-size: 16px; }

/* Success state */
.sf-success                     { text-align: center; padding: 60px 32px; background: #fff; border: 1px solid #e8eaed; border-radius: 12px; }
.sf-success__icon               { margin-bottom: 20px; }
.sf-success__title              { font-size: 22px; font-weight: 700; color: var(--color-dark); margin: 0 0 12px; }
.sf-success__msg                { font-size: 15px; color: var(--color-text-muted); max-width: 440px; margin: 0 auto; line-height: 1.7; }

/* ── Responsive ── */
@media (max-width: 700px) {
    .sf-section                 { padding: 24px 20px; }
    .sf-grid--2                 { grid-template-columns: 1fr; }
    .sf-type-grid               { grid-template-columns: 1fr; }
    .sf-field--full             { grid-column: 1; }
    .sf-submit-btn              { width: 100%; }
}
