/*
Theme Name: Abdollah Rahimi Electronics Trading
Theme URI: https://abdollahrahimi.com
Author: Abdollah Rahimi Electronics Trading L.L.C.
Description: Custom WordPress theme — Dubai-based international electronics trading company.
Version: 3.0.0
License: GNU General Public License v2 or later
Text Domain: ar-electronics
*/

/* ============================================================
   DESIGN TOKENS
   Palette pulled from landing page (warm Dubai sunset gold)
   and logo (crimson red #C0182A, dark charcoal #1A1A1A)
   ============================================================ */
:root {
  /* Core brand */
  --color-red:        #C0182A;   /* AR logo crimson */
  --color-red-dark:   #960F1D;   /* darker hover */
  --color-red-light:  #E8253A;   /* brighter accent */
  --color-charcoal:   #141414;   /* near-black from logo ring */
  --color-dark:       #1C1C1C;   /* dark section bg */
  --color-dark-2:     #242424;   /* slightly lighter dark */

  /* Warm gold from landing page sunset */
  --color-gold:       #C8861A;   /* warm amber gold */
  --color-gold-light: #E8A030;   /* lighter gold */

  /* Neutrals */
  --color-surface:    #FAFAFA;
  --color-mist:       #F5F5F5;
  --color-line:       #E4E4E4;
  --color-text:       #1A1A1A;
  --color-muted:      #6B6B6B;
  --color-white:      #FFFFFF;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-label:   'Inter', system-ui, sans-serif;

  /* Scale */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.5rem;
  --text-5xl:  3.5rem;
  --text-6xl:  4.5rem;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --radius-sm: 3px;
  --radius:    6px;
  --radius-lg: 12px;
  --max-width: 1200px;
  --transition: 0.25s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-surface);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-charcoal);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, var(--text-6xl)); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, var(--text-4xl)); }
h3 { font-size: clamp(1.3rem, 2.5vw, var(--text-2xl)); }
h4 { font-size: var(--text-xl); }
p  { margin-bottom: var(--space-sm); max-width: 68ch; }
p:last-child { margin-bottom: 0; }

.label {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-red);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-lg); }
.section   { padding: var(--space-3xl) 0; }
.section--alt  { background-color: var(--color-mist); }
.section--dark {
  background: var(--color-dark);
  color: var(--color-white);
}
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--color-white); }

.section__header { margin-bottom: var(--space-xl); }
.section__header .label { display: block; margin-bottom: var(--space-xs); }
.section__header h2 { margin-bottom: var(--space-sm); }
.section__header p  { color: var(--color-muted); font-size: var(--text-lg); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.875rem 1.875rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-transform: uppercase;
}
.btn--primary {
  background-color: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}
.btn--primary:hover {
  background-color: var(--color-red-light);
  border-color: var(--color-red-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(192,24,42,0.4);
}
.btn--outline {
  background: transparent;
  color: var(--color-charcoal);
  border-color: var(--color-charcoal);
}
.btn--outline:hover {
  background: var(--color-charcoal);
  color: var(--color-white);
}
.btn--outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.55);
}
.btn--outline-white:hover {
  background: var(--color-white);
  color: var(--color-charcoal);
  border-color: var(--color-white);
}
.btn--gold {
  background: var(--color-gold);
  color: var(--color-white);
  border-color: var(--color-gold);
}
.btn--gold:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
  box-shadow: 0 6px 20px rgba(200,134,26,0.4);
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background-color: var(--color-charcoal);
  color: rgba(255,255,255,0.65);
  padding: 7px 0;
  font-family: var(--font-label);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}
.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.top-bar__left, .top-bar__right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.top-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}
.top-bar__item--link {
  transition: color var(--transition);
  text-decoration: none;
}
.top-bar__item--link:hover { color: var(--color-gold-light); }
.top-bar__accent { color: var(--color-gold); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(250,250,250,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-line);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(20,20,20,0.12);
  border-bottom-color: var(--color-red);
  border-bottom-width: 2px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.site-logo { display: block; }
.site-logo__img {
  height: 54px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Nav */
.site-nav { display: flex; align-items: center; gap: var(--space-lg); }
.site-nav ul { display: flex; align-items: center; gap: var(--space-md); }
.site-nav a {
  font-family: var(--font-label);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-muted);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 3px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--color-red);
  transition: width var(--transition);
}
.site-nav a:hover, .site-nav a.active { color: var(--color-charcoal); }
.site-nav a:hover::after, .site-nav a.active::after { width: 100%; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-charcoal);
  transition: all var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: calc(72px + 33px);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: var(--color-charcoal);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-landing.png');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
/* Gradient overlay matching warm sunset — darker left for text, lighter right */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(14, 10, 8, 0.88) 0%,
    rgba(20, 14, 10, 0.72) 50%,
    rgba(14, 10, 8, 0.25) 100%
  );
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}
.hero__eyebrow-line {
  width: 36px; height: 2px;
  background: var(--color-red);
}
.hero__eyebrow-text {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold-light);
}
.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
  font-weight: 700;
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.hero h1 em {
  font-style: italic;
  color: var(--color-gold-light);
}
.hero__sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-xl);
  max-width: 52ch;
  line-height: 1.7;
}
.hero__actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

/* Stats */
.hero__stats {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
}
.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: var(--space-md);
  border-right: 1px solid rgba(255,255,255,0.12);
}
.hero__stat:last-child { border-right: none; }
.hero__stat-number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
}
.hero__stat-label {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Ticker */
.hero__ticker { margin-top: var(--space-lg); overflow: hidden; }
.hero__ticker-label {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.hero__ticker-track {
  display: flex;
  gap: var(--space-lg);
  animation: ticker 22s linear infinite;
  width: max-content;
}
.hero__ticker-track span {
  font-family: var(--font-label);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}
.hero__ticker-track span::before {
  content: '◆ ';
  color: var(--color-red);
  font-size: 0.5em;
  vertical-align: middle;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}
.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: var(--space-xl) var(--space-lg);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--color-red), var(--color-red-light));
  transition: width 0.4s ease;
}
.service-card:hover {
  border-color: transparent;
  box-shadow: 0 8px 40px rgba(20,20,20,0.1);
  transform: translateY(-3px);
}
.service-card:hover::before { width: 100%; }
.service-card__icon {
  width: 48px; height: 48px;
  margin-bottom: var(--space-md);
  color: var(--color-red);
}
.service-card__icon svg { width: 100%; height: 100%; }
.service-card h3 { margin-bottom: var(--space-xs); }
.service-card p { color: var(--color-muted); font-size: var(--text-sm); line-height: 1.65; }

/* ============================================================
   LOGISTICS SECTION — 3 photo cards
   ============================================================ */
.logistics-header {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 2px solid var(--color-line);
}
.logistics-header .label { display: block; margin-bottom: var(--space-xs); }
.logistics-header h3 {
  margin-bottom: var(--space-sm);
  font-size: clamp(1.4rem, 2.5vw, var(--text-3xl));
}
.logistics-header p { color: var(--color-muted); font-size: var(--text-lg); max-width: 72ch; }

.logistics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.logistics-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.logistics-card:hover {
  box-shadow: 0 16px 48px rgba(20,20,20,0.14);
  transform: translateY(-5px);
  border-color: var(--color-red);
}
.logistics-card__image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.logistics-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.logistics-card:hover .logistics-card__image img { transform: scale(1.05); }
.logistics-card__badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  background: var(--color-red);
  color: white;
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
}
.logistics-card__body {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.logistics-card__body h4 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-xs);
  color: var(--color-charcoal);
}
.logistics-card__body > p {
  color: var(--color-muted);
  font-size: var(--text-sm);
  line-height: 1.65;
  margin-bottom: var(--space-md);
  flex: 1;
}
.logistics-card__points {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--color-line);
  padding-top: var(--space-sm);
}
.logistics-card__points li {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-red);
  display: flex;
  align-items: center;
  gap: 7px;
}
.logistics-card__points li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--color-red);
  flex-shrink: 0;
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.products-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}
.product-feature-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  cursor: pointer;
}
.product-feature-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-feature-card:hover img { transform: scale(1.04); }
.product-feature-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,10,8,0.88) 0%, rgba(14,10,8,0.2) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
}
.product-feature-card__tag {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 6px;
}
.product-feature-card h3 { color: var(--color-white); font-size: var(--text-2xl); margin-bottom: 6px; }
.product-feature-card p { color: rgba(255,255,255,0.7); font-size: var(--text-sm); line-height: 1.5; }

.products-categories { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-md); }
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 1.1rem;
  background: var(--color-white);
  border: 1.5px solid var(--color-line);
  border-radius: 100px;
  font-family: var(--font-label);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  transition: all var(--transition);
}
.cat-pill:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
}
.cat-pill-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-red);
  flex-shrink: 0;
  transition: background var(--transition);
}
.cat-pill:hover .cat-pill-dot { background: rgba(255,255,255,0.7); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.about-visual { position: relative; }
.about-visual__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-badge {
  position: absolute;
  bottom: -1.25rem;
  right: -1.25rem;
  background: var(--color-red);
  color: white;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(192,24,42,0.45);
}
.about-badge__number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1;
}
.about-badge__text {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}
.about-content .label { display: block; margin-bottom: var(--space-xs); }
.about-content h2 { margin-bottom: var(--space-md); }
.about-content > p { color: var(--color-muted); margin-bottom: var(--space-md); }
.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}
.mv-card {
  padding: var(--space-md);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-mist);
  border-left: 3px solid var(--color-red);
}
.mv-card h4 {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: var(--space-xs);
}
.mv-card p { font-size: var(--text-sm); color: var(--color-muted); line-height: 1.6; }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.why-item { display: flex; align-items: flex-start; gap: var(--space-sm); }
.why-item__check {
  width: 22px; height: 22px; min-width: 22px;
  background: var(--color-red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.why-item__check svg { width: 12px; height: 12px; color: white; }
.why-item p {
  font-size: var(--text-sm);
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
  color: rgba(255,255,255,0.82);
}

/* ============================================================
   MARKETS
   ============================================================ */
.markets-tags { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }
.market-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.6rem 1.25rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 100px;
  font-family: var(--font-label);
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  transition: all var(--transition);
}
.market-tag:hover {
  background: rgba(192,24,42,0.18);
  border-color: var(--color-red);
  color: #FF6B7A;
}
.market-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--color-red);
  border-radius: 50%;
}

/* ============================================================
   VALUES STRIP
   ============================================================ */
.values-strip {
  padding: var(--space-xl) 0;
  background: var(--color-charcoal);
  border-top: 3px solid var(--color-red);
}
.values-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: var(--space-md); flex-wrap: wrap;
}
.value-item {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: white;
  letter-spacing: 0.02em;
}
.value-divider { width: 1px; height: 24px; background: rgba(255,255,255,0.2); }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}
.portfolio-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.portfolio-card:hover {
  box-shadow: 0 8px 32px rgba(20,20,20,0.12);
  transform: translateY(-3px);
  border-color: var(--color-red);
}
.portfolio-card__image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--color-charcoal), #3A3A3A);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.8rem;
}
.portfolio-card__body { padding: var(--space-md); }
.portfolio-card__tag {
  display: inline-block;
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 6px;
}
.portfolio-card h4 { font-size: var(--text-lg); margin-bottom: 6px; }
.portfolio-card p { font-size: var(--text-sm); color: var(--color-muted); line-height: 1.55; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-2xl);
  align-items: start;
}
.contact-info .label { display: block; margin-bottom: var(--space-xs); }
.contact-info h2 { margin-bottom: var(--space-md); }
.contact-info > p { color: var(--color-muted); margin-bottom: var(--space-xl); }
.contact-details { display: flex; flex-direction: column; gap: var(--space-md); }
.contact-detail { display: flex; align-items: flex-start; gap: var(--space-sm); }
.contact-detail__icon {
  width: 42px; height: 42px; min-width: 42px;
  background: var(--color-mist);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.contact-detail__info strong {
  display: block;
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 2px;
}
.contact-detail__info span { font-size: var(--text-sm); color: var(--color-text); line-height: 1.5; }

.contact-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-md);
  font-family: var(--font-label);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-red);
  border-bottom: 1.5px solid var(--color-red);
  padding-bottom: 1px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.contact-map-link:hover { color: var(--color-red-dark); }

.contact-form {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: 0 4px 32px rgba(20,20,20,0.06);
}
.form-group { margin-bottom: var(--space-md); }
.form-group label {
  display: block;
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--color-line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  background: var(--color-surface);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(192,24,42,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-charcoal);
  color: rgba(255,255,255,0.55);
  padding: var(--space-2xl) 0 var(--space-lg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--space-lg);
}
.footer-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  margin-bottom: var(--space-md);
  display: block;
}
.footer-brand p { font-size: var(--text-sm); line-height: 1.65; margin-top: var(--space-sm); max-width: 30ch; }
.footer-contact-quick { display: flex; flex-direction: column; gap: 8px; margin-top: var(--space-md); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  transition: color var(--transition);
  text-decoration: none;
}
a.footer-contact-item:hover { color: var(--color-gold-light); }

.footer-col h5 {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: white;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--color-red);
  display: inline-block;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: var(--text-sm); color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--color-gold-light); }

.footer-bottom {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: var(--space-sm);
}
.footer-bottom p { font-size: var(--text-xs); color: rgba(255,255,255,0.28); margin: 0; }
.footer-bottom-links { display: flex; gap: var(--space-md); }
.footer-bottom-links a { font-size: var(--text-xs); color: rgba(255,255,255,0.28); transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--color-gold-light); }

/* ============================================================
   MOBILE NAV
   ============================================================ */
.mobile-nav {
  display: none;
  position: fixed;
  top: calc(72px + 33px); left: 0; right: 0; bottom: 0;
  background: var(--color-surface);
  z-index: 999;
  padding: var(--space-xl) var(--space-lg);
  flex-direction: column;
  gap: var(--space-sm);
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-charcoal);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-line);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--color-red); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid  { grid-template-columns: 1fr; }
  .about-visual { max-width: 520px; }
  .logistics-grid { grid-template-columns: 1fr 1fr; }
  .logistics-grid .logistics-card:last-child { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; width: 100%; }
}
@media (max-width: 768px) {
  :root { --space-3xl: 5rem; }
  .top-bar__left { display: none; }
  .top-bar__inner { justify-content: center; }
  .site-nav { display: none; }
  .menu-toggle { display: flex; }
  .hero h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
  .services-grid,
  .products-featured,
  .portfolio-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .logistics-grid { grid-template-columns: 1fr; }
  .logistics-grid .logistics-card:last-child { grid-column: auto; max-width: 100%; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .mission-vision { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .values-inner { justify-content: center; }
  .value-divider { display: none; }
}
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .why-grid { grid-template-columns: 1fr; }
  .hero__stat { padding-right: var(--space-sm); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   CONTACT — single column (no form)
   ============================================================ */
.contact-single {
  max-width: 680px;
}
.contact-single .contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
@media (max-width: 600px) {
  .contact-single .contact-details { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACT — full grid with photo (replaces contact-single)
   ============================================================ */
.contact-full-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

/* Photo side */
.contact-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  min-height: 440px;
}
.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.contact-photo__badge {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(14,10,8,0.92) 0%, transparent 100%);
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-photo__badge-line {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-light);
}
.contact-photo__badge-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
}

/* Details side */
.contact-details-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-detail-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  border-left: 3px solid var(--color-red);
  transition: box-shadow var(--transition);
}
.contact-detail-card:hover {
  box-shadow: 0 4px 16px rgba(20,20,20,0.08);
}
.contact-detail-card .contact-detail__icon {
  width: 40px; height: 40px; min-width: 40px;
  background: var(--color-mist);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.contact-detail-card .contact-detail__info strong {
  display: block;
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 3px;
}
.contact-detail-card .contact-detail__info span {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.55;
}
.contact-detail-card .contact-detail__info a {
  color: var(--color-red);
  font-weight: 600;
  transition: color var(--transition);
}
.contact-detail-card .contact-detail__info a:hover {
  color: var(--color-red-dark);
}

/* ============================================================
   MOBILE — comprehensive overflow & sizing fixes
   ============================================================ */

/* ============================================================
   GLOBAL — overflow prevention (must come before media queries)
   ============================================================ */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
* { box-sizing: border-box; }

/* Hero bg — scroll not fixed (iOS Safari fix) */
.hero__bg {
  background-attachment: scroll;
}

/* All images confined to their containers */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   PORTRAIT MOBILE — up to 768px wide
   ============================================================ */
@media (max-width: 768px) {

  /* Container — tight side padding */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
    max-width: 100%;
  }

  /* ── HERO ── */
  .hero {
    min-height: auto;           /* don't force 100vh in portrait — content drives height */
    padding-top: calc(72px + 33px);
    padding-bottom: 2.5rem;
    align-items: flex-start;
  }
  .hero__bg {
    /* Centre the photo so the Dubai skyline is visible on narrow screens */
    background-position: 60% top;
    background-size: cover;
  }
  .hero__overlay {
    /* Heavier overlay so text stays readable on portrait */
    background: linear-gradient(
      to bottom,
      rgba(14,10,8,0.82) 0%,
      rgba(14,10,8,0.78) 60%,
      rgba(14,10,8,0.65) 100%
    );
  }
  .hero__inner {
    max-width: 100%;
    padding-top: 1.5rem;
  }
  .hero h1 {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    line-height: 1.25;
  }
  .hero__sub {
    font-size: 0.9rem;
    max-width: 100%;
    margin-bottom: 1.25rem;
  }

  /* Buttons — stack vertically, full width, never overflow */
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.625rem;
    width: 100%;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0.8rem 1rem;
    font-size: 0.8rem;
    white-space: nowrap;
    box-sizing: border-box;
  }

  /* Stats row — 2 per row */
  .hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.12);
  }
  .hero__stat {
    border-right: none;
    border-bottom: none;
    padding: 0;
  }
  .hero__stat-number { font-size: 1.5rem; }
  .hero__stat-label  { font-size: 0.65rem; }

  /* Ticker */
  .hero__ticker { margin-top: 1rem; }
  .hero__ticker-track { animation-duration: 12s; }

  /* ── SECTIONS ── */
  .section { padding: 3rem 0; }
  .section__header { margin-bottom: 2rem; }
  .section__header h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .section__header p  { font-size: 0.9rem; }

  /* ── SERVICES ── */
  .services-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .service-card  { padding: 1.5rem 1.25rem; }

  /* ── LOGISTICS ── */
  .logistics-header { margin-top: 2rem; padding-top: 2rem; }
  .logistics-header h3 { font-size: 1.3rem; }
  .logistics-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .logistics-grid .logistics-card:last-child { grid-column: auto; max-width: 100%; }
  .logistics-card__image { aspect-ratio: 16/9; }

  /* ── PRODUCTS ── */
  .products-featured { grid-template-columns: 1fr; gap: 0.75rem; }
  .product-feature-card { aspect-ratio: 16/9; }
  .products-categories { gap: 0.4rem; }
  .cat-pill { font-size: 0.75rem; padding: 0.35rem 0.75rem; }

  /* ── ABOUT ── */
  .about-grid       { grid-template-columns: 1fr; gap: 2rem; }
  .about-visual     { max-width: 100%; }
  .about-badge      { bottom: -0.75rem; right: -0.25rem; }
  .about-badge__number { font-size: 1.5rem; }
  .mission-vision   { grid-template-columns: 1fr; }

  /* ── WHY CHOOSE US ── */
  .why-grid { grid-template-columns: 1fr; gap: 0.75rem; }

  /* ── MARKETS ── */
  .markets-tags { gap: 0.4rem; }
  .market-tag   { font-size: 0.75rem; padding: 0.35rem 0.75rem; }

  /* ── VALUES ── */
  .values-strip { padding: 1.5rem 0; }
  .values-inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .value-item   { font-size: 1rem; }
  .value-divider { display: none; }

  /* ── PORTFOLIO ── */
  .portfolio-grid { grid-template-columns: 1fr; gap: 0.75rem; }

  /* ── CONTACT ── */
  .contact-full-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .contact-photo     { min-height: 220px; }
  .contact-photo__badge-title { font-size: 1.1rem; }

  /* ── FOOTER ── */
  .footer-grid   { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .footer-bottom-links { flex-wrap: wrap; }

  /* ── TOP BAR ── */
  .top-bar__left  { display: none; }
  .top-bar__right {
    width: 100%;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
  }
  .top-bar__item  { font-size: 0.67rem; }
}

/* ============================================================
   VERY SMALL PHONES — up to 390px (iPhone SE, older Androids)
   ============================================================ */
@media (max-width: 390px) {
  .hero h1     { font-size: 1.45rem; }
  .hero__sub   { font-size: 0.85rem; }
  .hero__actions .btn { font-size: 0.75rem; padding: 0.7rem 0.75rem; letter-spacing: 0.02em; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__stat-number { font-size: 1.25rem; }

  .section__header h2 { font-size: 1.35rem; }
  .logistics-header h3 { font-size: 1.15rem; }

  .cat-pill   { font-size: 0.7rem; padding: 0.3rem 0.6rem; }
  .market-tag { font-size: 0.7rem; padding: 0.3rem 0.6rem; }
}

/* ============================================================
   TABLET — 769px to 1024px
   ============================================================ */
@media (min-width: 769px) and (max-width: 1024px) {
  .container { padding: 0 1.5rem; }
  .hero__inner { max-width: 580px; }
  .services-grid  { grid-template-columns: 1fr 1fr; }
  .logistics-grid { grid-template-columns: 1fr 1fr; }
  .logistics-grid .logistics-card:last-child {
    grid-column: 1 / -1;
    max-width: 55%;
    margin: 0 auto;
    width: 100%;
  }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid    { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .contact-full-grid { gap: 1.5rem; }
  .why-grid       { grid-template-columns: 1fr 1fr; }
  .about-grid     { gap: 2rem; }
}

/* Tablets */
@media (min-width: 769px) and (max-width: 1024px) {
  .container { padding: 0 var(--space-md); }
  .hero__inner { max-width: 580px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .logistics-grid { grid-template-columns: 1fr 1fr; }
  .logistics-grid .logistics-card:last-child {
    grid-column: 1 / -1;
    max-width: 60%;
    margin: 0 auto;
    width: 100%;
  }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
  .contact-full-grid { gap: var(--space-lg); }
  .why-grid { grid-template-columns: 1fr 1fr; }
}

/* Fix images never overflowing their containers */
img {
  max-width: 100%;
  height: auto;
}
.hero__bg,
.logistics-card__image img,
.product-feature-card img,
.contact-photo img,
.about-visual__img {
  max-width: 100%;
}
