/*
Theme Name: ITEC Professional
Theme URI: https://itec-arabia.com
Author: ITEC Arabia
Description: Premium WordPress theme for International Total Engineering Corporation
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: itec-theme
*/

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

:root {
  /* ── Brand ── */
  --red:        #C8102E;   /* ITEC logo red */
  --red-dark:   #A50D26;
  --red-light:  #FFF0F2;
  --red-glow:   rgba(200,16,46,0.18);

  /* ── Neutrals (light-first palette) ── */
  --white:      #FFFFFF;
  --off-white:  #F8F7F5;
  --gray-50:    #F3F2F0;
  --gray-100:   #E8E6E3;
  --gray-300:   #C4C2BE;
  --gray-400:   #9B9896;
  --gray-600:   #5C5B59;
  --gray-800:   #2A2927;

  /* ── Dark (footer + header only) ── */
  --dark:       #1C1A18;
  --dark-2:     #242220;

  /* ── Typography ── */
  --font-main:  'DM Sans', system-ui, sans-serif;
  --font-head:  'Syne', system-ui, sans-serif;

  /* ── Misc ── */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --t:          0.3s;
  --r:          6px;
  --r-lg:       12px;
  --r-xl:       20px;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.09);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  color: var(--dark);
  background: var(--gray-50);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,h2,h3,h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}

.label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.heading {
  font-size: clamp(1.75rem, 3vw, 2.625rem);
  margin-bottom: 1.125rem;
}

.subhead {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  max-width: 560px;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 2rem;
}

/* Keep phone numbers / latin runs in correct order inside RTL text */
.num { direction: ltr; unicode-bidi: isolate; display: inline-block; }

.section { padding-block: 100px; }
.section--light { background: var(--off-white); }
.section--dark  { background: var(--gray-50); }   /* light warm gray */

/* ============================================================
   ANIMATIONS
   ============================================================ */
.anim {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.anim-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.anim-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.anim.on, .anim-left.on, .anim-right.on { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.875rem 1.875rem;
  border-radius: var(--r);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--t) var(--ease);
  white-space: nowrap;
}

.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--red-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06);
}

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

.btn svg { flex-shrink: 0; }

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  /* Inset 1rem each side to mirror the hero card's margin, so the header
     content lines up exactly with the hero content and nests INSIDE the
     rounded hero card at every screen width. */
  left: 1rem; right: 1rem;
  z-index: 900;
  padding-top: 1rem;
  background: transparent;
  transition: left var(--t), right var(--t), background var(--t), backdrop-filter var(--t), box-shadow var(--t), padding-top var(--t);
}

/* On scroll, the header detaches from the hero card and becomes a
   full-width sticky bar pinned to the top edge. */
#site-header.scrolled {
  left: 0; right: 0;
  padding-top: 0;
  background: rgba(14,14,14,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding-block: 8px;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--red);
  border-radius: var(--r);
  flex-shrink: 0;
}

.logo-badge svg { width: 26px; height: 26px; fill: white; }

/* Custom logo image (Customize → ITEC → Header → Logo Image) */
.logo-link img.itec-logo-img,
.logo-link .custom-logo {
  height: 60px;       /* overridden inline by the Logo Height setting */
  width: auto;
  max-width: 320px;
  object-fit: contain;
  display: block;
}

.logo-text-wrap { line-height: 1; }

.logo-name {
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
  display: block;
}

.logo-name em { color: var(--red); font-style: normal; }

.logo-sub {
  font-size: 0.5625rem;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-top: 3px;
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.site-nav a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  padding: 0.5rem 0.875rem;
  border-radius: var(--r);
  transition: all var(--t);
  letter-spacing: 0.01em;
}

.site-nav a:hover { color: var(--white); background: rgba(255,255,255,0.07); }
.site-nav a.active { color: var(--white); }

.nav-btn {
  margin-left: 0.75rem;
  font-size: 0.8125rem !important;
  padding: 0.5rem 1.125rem !important;
}

/* Language switch */
.itec-lang {
  display: inline-flex; align-items: center; gap: 0.15rem;
  margin-inline-start: 0.85rem; padding-inline-start: 0.85rem;
  border-inline-start: 1px solid rgba(255,255,255,0.15);
  font-size: 0.8125rem; font-weight: 700;
}
.itec-lang a {
  color: rgba(255,255,255,0.5); padding: 0.25rem 0.5rem; border-radius: var(--r);
  transition: color var(--t), background var(--t);
}
.itec-lang a.active { color: var(--white); background: rgba(255,255,255,0.1); }
.itec-lang a:hover { color: var(--white); }

/* Language switch inside the mobile menu */
.itec-lang--mobile {
  margin: 0.75rem 0 0;
  padding: 0;
  border: 0;
  gap: 0.6rem;
  font-size: 1.0625rem;
}
.itec-lang--mobile a {
  padding: 0.6rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  color: rgba(255,255,255,0.75);
}
.itec-lang--mobile a.active { background: var(--red); border-color: var(--red); color: #fff; }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--t);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 1100;            /* above the fixed header (900) so the ✕ is tappable */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 800;
  color: rgba(255,255,255,0.8);
  transition: var(--t);
}
.mobile-menu a:hover { color: var(--red); }
.mobile-close {
  position: absolute;
  top: 1rem; right: 1rem;
  z-index: 2;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  font-size: 1.5rem; line-height: 1;
  cursor: pointer;
  transition: var(--t);
}
.mobile-close:hover { color: var(--white); background: rgba(255,255,255,0.12); }
html[dir="rtl"] .mobile-close { right: auto; left: 1rem; }

/* ============================================================
   HERO — Card style (rounded corners, margin from edges)
   ============================================================ */
#hero {
  position: relative;
  /* Compact hero — noticeably shorter than full screen. */
  min-height: 74svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
  margin: 1rem;
  border-radius: 24px;
}

/* Full-screen background image layer */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?w=1800&q=80&auto=format&fit=crop');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transition: transform 8s ease-out;
  border-radius: 24px;
}

.hero-bg.loaded { transform: scale(1); }

/* Dark overlay — stronger at bottom for text readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.60) 50%, rgba(10,10,10,0.35) 100%),
    linear-gradient(to top, rgba(10,10,10,0.75) 0%, transparent 55%);
}

/* Red accent stripe — left side */
.hero-accent-line {
  position: absolute;
  left: 0; top: 15%; bottom: 15%;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(to bottom, transparent, var(--red), transparent);
  opacity: 0.8;
}

/* Subtle dot texture */
.hero-dots {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to right, transparent, rgba(0,0,0,0.3) 40%, transparent);
}

.hero-inner {
  position: relative;
  z-index: 2;
  /* Top padding clears the header that nests inside the hero card. */
  padding-block: 84px 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Hero left */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(200,16,46,0.12);
  border: 1px solid rgba(200,16,46,0.35);
  color: #FF6B7A;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.375rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.hero-tag span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}

.hero-title {
  font-size: clamp(2.25rem, 3.8vw, 3.25rem);
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-title .red { color: var(--red); }

.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 1.75rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* Trust bar */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.trust-label {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.trust-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.trust-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
}

/* Hero right — stat cards */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}

.hero-stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 1rem 1.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  width: 100%;
  max-width: 320px;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: border-color var(--t), background var(--t);
}

.hero-stat-card:hover {
  background: rgba(200,16,46,0.08);
  border-color: rgba(200,16,46,0.3);
}

.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r);
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon svg { width: 24px; height: 24px; fill: white; }

.stat-num {
  font-family: var(--font-head);
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-num sup {
  font-size: 1rem;
  vertical-align: super;
  font-weight: 700;
  color: var(--red);
}

.stat-lbl {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.25rem;
  letter-spacing: 0.03em;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--t);
}

.hero-scroll:hover { color: rgba(255,255,255,0.7); }

.scroll-bar {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%,100% { opacity: 1; transform: scaleY(1); }
  50%      { opacity: 0.3; transform: scaleY(0.6); }
}
  text-transform: uppercase;
  white-space: nowrap;
}

.trust-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.trust-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
}

/* Hero right — stat cards */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-end;
}

.hero-stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 1.5rem 2rem;
  backdrop-filter: blur(16px);
  width: 100%;
  max-width: 340px;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: border-color var(--t), background var(--t);
}

.hero-stat-card:hover {
  background: rgba(200,16,46,0.06);
  border-color: rgba(200,16,46,0.25);
}

.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r);
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon svg { width: 24px; height: 24px; fill: white; }

.stat-info {}

.stat-num {
  font-family: var(--font-head);
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-num sup {
  font-size: 1rem;
  vertical-align: super;
  font-weight: 700;
  color: var(--red);
}

.stat-lbl {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.25rem;
  letter-spacing: 0.03em;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color var(--t);
}

.hero-scroll:hover { color: rgba(255,255,255,0.7); }

.scroll-bar {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%,100% { opacity: 1; transform: scaleY(1); }
  50%      { opacity: 0.3; transform: scaleY(0.6); }
}

/* ============================================================
   NUMBERS BAND  ← RED background (matches logo)
   ============================================================ */
#numbers {
  background: var(--red);
  padding-block: 0;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.number-item {
  padding: 3rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  transition: background var(--t);
}

.number-item:last-child { border-right: none; }
.number-item:hover { background: rgba(0,0,0,0.06); }

.number-val {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.04em;
}

.number-val em {
  font-style: normal;
  color: rgba(255,255,255,0.7);
  font-size: 1.75rem;
}

.number-lbl {
  margin-top: 0.6rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ============================================================
   ABOUT
   ============================================================ */
#about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-img-wrap { position: relative; }

.about-img-box {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--gray-100);
  position: relative;
}

.about-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f0eeeb, #e8e5e0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--gray-400);
  font-size: 0.875rem;
}

.about-img-placeholder svg { width: 56px; height: 56px; opacity: 0.3; }

/* Floating metric */
.about-metric {
  position: absolute;
  bottom: -1.75rem;
  right: -1.75rem;
  background: var(--red);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.75rem;
  color: var(--white);
  box-shadow: 0 20px 50px rgba(200,16,46,0.35);
  min-width: 180px;
}

.metric-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.metric-txt {
  font-size: 0.75rem;
  opacity: 0.85;
  margin-top: 0.3rem;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Experience badge */
.about-badge {
  position: absolute;
  top: 2rem;
  left: -1.75rem;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1rem 1.25rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.badge-icon {
  width: 40px; height: 40px;
  border-radius: var(--r);
  background: var(--off-white);
  display: flex; align-items: center; justify-content: center;
}

.badge-icon svg { width: 20px; height: 20px; }

.badge-text { line-height: 1.3; }
.badge-text strong { font-size: 0.875rem; font-weight: 700; color: var(--dark); display: block; }
.badge-text span   { font-size: 0.75rem; color: var(--gray-600); }

/* About text */
.about-text p {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 2rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: 100px;
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--dark);
}

.pill svg { width: 14px; height: 14px; color: var(--red); }

/* ============================================================
   SERVICES
   ============================================================ */
#services { background: var(--off-white); }

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.svc-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem;
  border: 1px solid transparent;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  cursor: default;
}

.svc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  border: 1.5px solid var(--red);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;   /* let clicks reach the button beneath */
}

/* Decorative overlays must never block clicks on links/buttons */
.svc-card::after,
.lux-svc::before,
.lux-card::after,
.lux-proj::before,
.lux-stats::before,
.lux-contact-info::before,
.lux-cta::before,
.lux-cta::after,
.hero-overlay,
.hero-bg,
.hero-dots,
.hero-accent-line,
.page-hero-overlay,
.page-hero-bg,
.page-hero-dots,
.page-hero-accent { pointer-events: none; }

.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.07);
}

.svc-card:hover::after { opacity: 1; }

.svc-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  color: var(--gray-100);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.04em;
  transition: color var(--t);
}

.svc-card:hover .svc-num { color: rgba(200,16,46,0.1); }

.svc-icon {
  width: 48px; height: 48px;
  background: var(--off-white);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: background var(--t);
}

.svc-icon svg { width: 22px; height: 22px; }
.svc-card:hover .svc-icon { background: var(--red); }
.svc-card:hover .svc-icon svg { color: white; }

.svc-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.svc-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.svc-items {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-100);
}

.svc-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  color: var(--gray-600);
}

.svc-item::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* Featured service card — RED (not dark) */
.svc-card--featured {
  background: var(--red);
  grid-column: span 1;
}

.svc-card--featured::after { border-color: rgba(255,255,255,0.3); }
.svc-card--featured .svc-num { color: rgba(255,255,255,0.08); }
.svc-card--featured .svc-title { color: var(--white); }
.svc-card--featured .svc-desc { color: rgba(255,255,255,0.75); }
.svc-card--featured .svc-items { border-top-color: rgba(255,255,255,0.2); }
.svc-card--featured .svc-item { color: rgba(255,255,255,0.8); }
.svc-card--featured .svc-item::before { background: rgba(255,255,255,0.6); }

/* ============================================================
   WHY ITEC — light background
   ============================================================ */
#why { background: var(--white); }
#why .label { color: var(--red); }
#why .heading { color: var(--gray-800); }
#why .subhead { color: var(--gray-600); }

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3.5rem;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.why-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  transition: all var(--t);
  box-shadow: var(--shadow-sm);
}

.why-item:hover {
  background: var(--red-light);
  border-color: rgba(200,16,46,0.15);
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.why-item-icon {
  width: 44px; height: 44px;
  border-radius: var(--r);
  background: var(--red-light);
  border: 1px solid rgba(200,16,46,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.why-item-icon svg { width: 20px; height: 20px; color: var(--red); }

.why-item-text h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.35rem;
}

.why-item-text p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* Why visual */
.why-visual { position: relative; }

.why-visual-box {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: linear-gradient(150deg, var(--red) 0%, var(--red-dark) 100%);
  position: relative;
}

.why-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  mix-blend-mode: luminosity;
}

.why-visual-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(165,13,38,0.95) 0%, transparent 55%),
    radial-gradient(circle at 50% 20%, rgba(255,255,255,0.06) 0%, transparent 60%);
}

.why-quote {
  position: absolute;
  bottom: 2rem;
  left: 1.75rem;
  right: 1.75rem;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-lg);
  padding: 1.5rem;
}

.why-quote p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.65;
  font-style: italic;
}

.why-quote cite {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 0.75rem;
}

/* ============================================================
   REGIONS
   ============================================================ */
#regions { background: var(--white); }

.regions-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.regions-header .subhead { margin-inline: auto; }

.map-placeholder {
  background: linear-gradient(135deg, var(--off-white), var(--gray-100));
  border-radius: var(--r-xl);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--gray-400);
  font-size: 0.875rem;
  margin-bottom: 2.5rem;
  border: 1.5px dashed var(--gray-100);
}

.map-placeholder svg { width: 48px; height: 48px; opacity: 0.35; }

.regions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.region-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  padding: 1.375rem 1rem;
  text-align: center;
  transition: all var(--t);
}

.region-card:hover {
  border-color: var(--red);
  box-shadow: 0 8px 24px rgba(200,16,46,0.08);
  transform: translateY(-3px);
}

.region-flag { font-size: 2rem; margin-bottom: 0.625rem; }

.region-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--dark);
}

.region-count {
  font-size: 0.6875rem;
  color: var(--gray-400);
  margin-top: 0.2rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
#contact { background: var(--gray-50); }
#contact .label { color: var(--red); }
#contact .heading { color: var(--gray-800); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-left .heading { color: var(--gray-800); }
.contact-left .subhead { color: var(--gray-600); margin-bottom: 2.5rem; }

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  transition: all var(--t);
  box-shadow: var(--shadow-sm);
}

.contact-row:hover {
  background: var(--red-light);
  border-color: rgba(200,16,46,0.2);
  box-shadow: var(--shadow-md);
}

.contact-row-icon {
  width: 40px; height: 40px;
  background: var(--red-light);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.contact-row-icon svg { width: 18px; height: 18px; color: var(--red); }

.contact-row-body strong {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.2rem;
}

.contact-row-body span {
  font-size: 0.9375rem;
  color: var(--gray-800);
  font-weight: 500;
}

/* Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-head {
  margin-bottom: 1.75rem;
}

.form-head h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0.375rem;
}

.form-head p {
  font-size: 0.875rem;
  color: var(--gray-400);
}

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

.fg { margin-bottom: 1.125rem; }

.fg label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-600);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.fg input,
.fg select,
.fg textarea {
  width: 100%;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--r);
  padding: 0.8125rem 1rem;
  color: var(--gray-800);
  font-family: var(--font-main);
  font-size: 0.9375rem;
  outline: none;
  transition: all var(--t);
  appearance: none;
}

.fg input::placeholder,
.fg textarea::placeholder { color: var(--gray-300); }

.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(200,16,46,0.08);
}

.fg select option { background: var(--white); color: var(--gray-800); }
.fg textarea { resize: vertical; min-height: 120px; }

.form-btn { width: 100%; justify-content: center; padding: 1rem 2rem; font-size: 0.9375rem; }

#form-msg {
  display: none;
  margin-top: 1rem;
  padding: 0.875rem 1.125rem;
  border-radius: var(--r);
  font-size: 0.875rem;
  font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: #080808;
  padding-block: 72px 36px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 2rem;
}

.footer-brand-wrap {}

.footer-logo-box {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
}

.footer-logo-badge {
  width: 38px; height: 38px;
  background: var(--red);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
}

.footer-logo-badge svg { width: 22px; height: 22px; fill: white; }

.footer-brand-name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
}

.footer-brand-name em { color: var(--red); font-style: normal; }

.footer-desc {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.8;
  max-width: 280px;
}

.footer-col-title {
  font-family: var(--font-head);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  transition: all var(--t);
  padding-left: 0;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 6px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

.footer-bottom a { color: rgba(200,16,46,0.8); transition: color var(--t); }
.footer-bottom a:hover { color: var(--red); }

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .wrap { padding-inline: 1.5rem; }

  /* Hero */
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-title { font-size: clamp(2rem, 5vw, 3rem); }
  .hero-stats { gap: 1.5rem; }

  /* Numbers */
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .number-item { padding: 2rem 1.25rem; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-wrap { max-width: 560px; margin-inline: auto; }

  /* Services */
  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-header { flex-direction: column; align-items: flex-start; gap: 1rem; }

  /* Why */
  .why-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .why-visual { display: none; }

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

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  /* Footer */
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  .wrap { padding-inline: 1.125rem; }
  .section { padding-block: 56px; }

  /* Header */
  .site-nav { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  #hero { min-height: auto; margin: 0.625rem; border-radius: 18px; }
  .hero-bg, .hero-overlay, .hero-dots { border-radius: 18px; }
  .hero-inner { padding-block: 88px 40px; gap: 2rem; }
  .hero-title { font-size: clamp(1.875rem, 7.5vw, 2.5rem); letter-spacing: -0.03em; }
  .hero-desc { font-size: 0.9375rem; }
  .hero-cta { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .trust-badges { flex-wrap: wrap; gap: 0.5rem; }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .hero-stat {
    padding: 1rem;
    border-right: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .hero-stat:nth-child(2n) { border-right: none; }
  .hero-stat-num { font-size: 1.75rem; }

  /* Numbers band */
  .numbers-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .number-item {
    padding: 1.75rem 1rem;
    border-right: 1px solid rgba(255,255,255,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .number-item:nth-child(2n) { border-right: none; }
  .number-item:last-child { border-right: none; }
  .number-val { font-size: 2.25rem; }
  .number-val em { font-size: 1.375rem; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-img-wrap { max-width: 100%; aspect-ratio: 4/3; }
  .about-badge { display: none; }
  .about-metric { bottom: 0.75rem; right: 0.75rem; padding: 0.75rem 1rem; }
  .about-metric-num { font-size: 1.5rem; }
  .about-pills { flex-wrap: wrap; gap: 0.5rem; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .services-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .svc-cta { padding: 1.5rem; }
  .svc-cta-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }

  /* Why */
  .why-layout { grid-template-columns: 1fr; }
  .why-visual { display: none; }
  .why-item { padding: 1.125rem; }

  /* Regions */
  .regions-grid { grid-template-columns: repeat(2, 1fr); }
  .region-card { padding: 1rem 0.75rem; }
  .region-flag { font-size: 1.625rem; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-form { padding: 1.5rem; }
  .form-row-2 { grid-template-columns: 1fr; }

  /* Footer */
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }
  .footer-desc { max-width: 100%; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .wrap { padding-inline: 1rem; }
  .section { padding-block: 48px; }

  .hero-title { font-size: clamp(1.625rem, 8vw, 2.125rem); }
  .heading { font-size: clamp(1.5rem, 6.5vw, 2rem); }

  .hero-stats { grid-template-columns: 1fr 1fr; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .number-val { font-size: 2rem; }

  .regions-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }

  .trust-badge { font-size: 0.6875rem; padding: 0.375rem 0.75rem; }

  .svc-card { padding: 1.375rem 1.25rem; }

  .contact-form { padding: 1.25rem; }
}

/* ════════════════════════════════════════════════════════════
   PREMIUM INNER PAGES  (About / Services / Contact)
   ════════════════════════════════════════════════════════════ */
:root { --gold: #C8A24B; --gold-soft: rgba(200,162,75,0.14); }

@keyframes lux-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes lux-shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes lux-rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

/* ── Page hero banner ── */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--dark);
  margin: 1rem;
  border-radius: 24px;
  isolation: isolate;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  border-radius: 24px;
  transform: scale(1.08);
  animation: lux-rise 1.2s var(--ease) both;
  transition: transform 9s ease-out;
}
.page-hero.loaded .page-hero-bg { transform: scale(1); }
.page-hero-overlay {
  position: absolute; inset: 0; border-radius: 24px;
  background:
    linear-gradient(120deg, rgba(15,13,12,0.94) 0%, rgba(15,13,12,0.62) 48%, rgba(15,13,12,0.34) 100%),
    linear-gradient(to top, rgba(15,13,12,0.86) 0%, transparent 58%);
}
.page-hero-accent {
  position: absolute; left: 0; top: 22%; bottom: 22%;
  width: 4px; border-radius: 0 4px 4px 0;
  background: linear-gradient(to bottom, transparent, var(--red), transparent);
  opacity: 0.85; z-index: 2;
}
.page-hero-dots {
  position: absolute; inset: 0; border-radius: 24px;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(to right, transparent, rgba(0,0,0,0.4) 45%, transparent);
}
.page-hero .wrap { position: relative; z-index: 3; width: 100%; }
.page-hero-inner { padding-block: 150px 64px; max-width: 760px; }
.page-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-main);
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.25rem;
  animation: lux-rise 0.8s var(--ease) 0.1s both;
}
.page-hero .eyebrow::before { content:''; width: 26px; height: 1px; background: var(--gold); display:block; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(2.25rem, 5.2vw, 3.75rem);
  font-weight: 800; line-height: 1.04; letter-spacing: -0.035em;
  margin-bottom: 1.1rem;
  animation: lux-rise 0.9s var(--ease) 0.2s both;
}
.page-hero h1 .red { color: var(--red); }
.page-hero .lead {
  color: rgba(255,255,255,0.72);
  font-size: 1.0625rem; line-height: 1.75; max-width: 580px;
  animation: lux-rise 1s var(--ease) 0.32s both;
}
.page-hero .breadcrumb {
  display: flex; gap: 0.5rem; align-items: center;
  font-size: 0.8125rem; color: rgba(255,255,255,0.5);
  margin-top: 2rem;
  animation: lux-rise 1.1s var(--ease) 0.44s both;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.5); transition: color var(--t); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb span { color: var(--gold); }

/* ── Generic lux section heading ── */
.lux-head { max-width: 620px; margin-bottom: 3.5rem; }
.lux-head .label { color: var(--red); }
.lux-head h2 { font-size: clamp(1.875rem, 3.4vw, 2.75rem); margin-bottom: 1rem; color: var(--dark); }
.lux-head p { color: var(--gray-600); font-size: 1.05rem; line-height: 1.8; }
.lux-center { margin-inline: auto; text-align: center; }
.lux-center .label { justify-content: center; }

/* ── About: intro split ── */
.lux-intro { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 5rem; align-items: start; }
.lux-intro-sticky { position: sticky; top: 120px; }
.lux-intro-sticky .label { color: var(--red); }
.lux-intro-sticky h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.12; color: var(--dark); }
.lux-intro-sticky .kicker {
  margin-top: 1.5rem; padding-left: 1.25rem; border-left: 3px solid var(--gold);
  font-size: 1.05rem; color: var(--gray-800); font-style: italic; line-height: 1.7;
}
.lux-prose p { color: var(--gray-600); font-size: 1.0625rem; line-height: 1.9; margin-bottom: 1.4rem; }
.lux-prose p:first-child::first-letter {
  font-family: var(--font-head); font-weight: 800; font-size: 3.4rem;
  float: left; line-height: 0.8; padding: 0.35rem 0.8rem 0 0; color: var(--red);
}
.lux-prose .pill-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.lux-prose .pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: 100px;
  background: var(--white); border: 1px solid var(--gray-100);
  font-size: 0.8125rem; font-weight: 600; color: var(--gray-800);
  box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t);
}
.lux-prose .pill:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.lux-prose .pill svg { color: var(--red); }

/* ── Who We Are: entity sub-headings (ITEC / ITEC Arabia) ── */
.who-entity {
  font-family: var(--font-head); font-weight: 800;
  font-size: 1.5rem; line-height: 1.3; color: var(--gray-800);
  margin: 0 0 1rem; padding-bottom: 0.6rem; position: relative;
}
.who-entity::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 48px; height: 3px; background: var(--red); border-radius: 2px;
}
.who-entity--spaced { margin-top: 2.5rem; }
html[dir="rtl"] .who-entity::after { left: auto; right: 0; }

/* ── Homepage projects showcase ── */
.home-proj-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem;
}
.home-proj {
  background: var(--white); border: 1px solid var(--gray-100); border-radius: 16px;
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
  display: flex; flex-direction: column;
}
.home-proj:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.home-proj-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.home-proj-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.home-proj:hover .home-proj-img img { transform: scale(1.06); }
.home-proj-country {
  position: absolute; top: 0.75rem; left: 0.75rem;
  background: rgba(0,0,0,0.65); color: #fff; backdrop-filter: blur(4px);
  padding: 0.3rem 0.7rem; border-radius: 100px; font-size: 0.78rem; font-weight: 600;
}
html[dir="rtl"] .home-proj-country { left: auto; right: 0.75rem; }
.home-proj-body { padding: 1.25rem 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.home-proj-tag {
  align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em;
  color: var(--red); background: rgba(200,16,46,0.08); padding: 0.25rem 0.6rem; border-radius: 6px;
}
.home-proj-body h3 { font-family: var(--font-head); font-size: 1.05rem; line-height: 1.35; color: var(--gray-800); margin: 0; }
.home-proj-body p { font-size: 0.9rem; line-height: 1.65; color: var(--gray-600); margin: 0; }
@media (max-width: 1024px) { .home-proj-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .home-proj-grid { grid-template-columns: 1fr; } }

/* Founding line (Established 1981 by Mr. Seki) */
.founding {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin: 0.25rem 0 1.5rem; padding: 0.4rem 0.9rem;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--red); background: rgba(200,16,46,0.07);
  border-radius: 100px; line-height: 1.4;
}

/* ── Premium stats band ── */
.lux-stats {
  position: relative; overflow: hidden;
  background: var(--dark); border-radius: var(--r-xl);
  padding: clamp(2.5rem, 5vw, 4rem);
  margin: 1rem;
}
.lux-stats::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(800px 400px at 80% -20%, rgba(200,16,46,0.25), transparent 60%);
}
.lux-stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.lux-stat { position: relative; padding-left: 1.5rem; }
.lux-stat::before { content:''; position:absolute; left:0; top:6px; bottom:6px; width:2px; background: linear-gradient(var(--gold), transparent); }
.lux-stat .num {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.25rem, 4vw, 3.25rem); color: #fff; line-height: 1; letter-spacing: -0.03em;
}
.lux-stat .num sup, .lux-stat .num em { color: var(--gold); font-style: normal; font-size: 0.6em; }
.lux-stat .lbl { margin-top: 0.65rem; color: rgba(255,255,255,0.55); font-size: 0.875rem; line-height: 1.5; }

/* ── Value / feature cards ── */
.lux-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.lux-card {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--r-xl); padding: 2.25rem 2rem;
  transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t);
}
.lux-card::after {
  content:''; position:absolute; left:0; top:0; height:3px; width:0;
  background: linear-gradient(90deg, var(--red), var(--gold)); transition: width 0.5s var(--ease);
}
.lux-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.lux-card:hover::after { width: 100%; }
.lux-card-ico {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--red-light); color: var(--red); margin-bottom: 1.5rem;
  transition: background var(--t), color var(--t);
}
.lux-card:hover .lux-card-ico { background: var(--red); color: #fff; }
.lux-card .idx { position: absolute; top: 1.5rem; right: 1.75rem; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--gray-100); }
.lux-card h3 { font-size: 1.2rem; color: var(--dark); margin-bottom: 0.65rem; }
.lux-card p { color: var(--gray-600); font-size: 0.9375rem; line-height: 1.7; }

/* ── Approach / process timeline ── */
.lux-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.lux-step { position: relative; padding-top: 2.5rem; }
.lux-step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-head); font-weight: 800; font-size: 0.875rem;
  color: var(--red); position: absolute; top: 0; left: 0;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  border: 1.5px solid var(--red); display: flex; align-items: center; justify-content: center;
}
.lux-step::after { content:''; position:absolute; top: 1.05rem; left: 2.6rem; right: -0.6rem; height: 1px; background: var(--gray-300); }
.lux-step:last-child::after { display: none; }
.lux-step h4 { font-size: 1.05rem; color: var(--dark); margin-bottom: 0.5rem; }
.lux-step p { font-size: 0.875rem; color: var(--gray-600); line-height: 1.65; }

/* ── Premium services grid ── */
.lux-svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.lux-svc {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--r-xl); padding: 2.5rem;
  display: flex; flex-direction: column;
  transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t);
}
.lux-svc::before {
  content:''; position:absolute; right:-40px; top:-40px; width:160px; height:160px; border-radius:50%;
  background: radial-gradient(circle, var(--red-glow), transparent 70%); opacity:0; transition: opacity var(--t);
}
.lux-svc:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.lux-svc:hover::before { opacity: 1; }
.lux-svc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.lux-svc-ico { width: 60px; height: 60px; border-radius: 16px; display:flex; align-items:center; justify-content:center; background: var(--dark); color:#fff; transition: background var(--t); }
.lux-svc:hover .lux-svc-ico { background: var(--red); }
.lux-svc-num { font-family: var(--font-head); font-weight: 800; font-size: 2.75rem; color: var(--gray-100); line-height: 1; }
.lux-svc h3 { font-size: 1.3rem; color: var(--dark); margin-bottom: 0.75rem; line-height: 1.3; }
.lux-svc-desc { color: var(--gray-600); font-size: 0.9375rem; line-height: 1.75; margin-bottom: 1.5rem; }
.lux-svc-items { display: flex; flex-direction: column; gap: 0.5rem; margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--gray-100); }
.lux-svc-item { display: flex; align-items: center; gap: 0.625rem; font-size: 0.875rem; color: var(--gray-800); }
.lux-svc-item svg { color: var(--red); flex-shrink: 0; }
.lux-svc--cta { background: var(--dark); border-color: transparent; justify-content: center; }
.lux-svc--cta::before { opacity: 1; }
.lux-svc--cta h3 { color: #fff; }
.lux-svc--cta p { color: rgba(255,255,255,0.6); font-size: 0.9375rem; line-height: 1.7; margin-bottom: 1.5rem; }

/* ── Premium contact ── */
.lux-contact { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 1.5rem; align-items: stretch; }
.lux-contact-info {
  position: relative; overflow: hidden;
  background: var(--dark); border-radius: var(--r-xl);
  padding: clamp(2rem, 4vw, 3rem); color: #fff;
}
.lux-contact-info::before { content:''; position:absolute; inset:0; background: radial-gradient(600px 300px at 110% 0%, rgba(200,16,46,0.3), transparent 60%); }
.lux-contact-info > * { position: relative; }
.lux-contact-info .label { color: var(--gold); }
.lux-contact-info h2 { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 1rem; }
.lux-contact-info .lead { color: rgba(255,255,255,0.65); line-height: 1.75; margin-bottom: 2.25rem; }
.lux-methods { display: flex; flex-direction: column; gap: 1rem; }
.lux-method { display: flex; align-items: center; gap: 1rem; padding: 1rem; border-radius: var(--r-lg); background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); transition: background var(--t), transform var(--t); }
.lux-method:hover { background: rgba(255,255,255,0.08); transform: translateX(4px); }
.lux-method-ico { width: 44px; height: 44px; border-radius: 12px; display:flex; align-items:center; justify-content:center; background: rgba(200,16,46,0.18); color: #FF6B7A; flex-shrink:0; }
.lux-method strong { display: block; font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 0.2rem; }
.lux-method span { font-size: 0.9375rem; color: #fff; }
.lux-hours { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); display:flex; justify-content: space-between; font-size: 0.8125rem; color: rgba(255,255,255,0.55); }
.lux-hours b { color: var(--gold); font-weight: 600; }
.lux-form-card {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--r-xl); padding: clamp(1.75rem, 3vw, 2.75rem);
  box-shadow: var(--shadow-md);
}
.lux-form-card .form-head h3 { font-size: 1.4rem; color: var(--dark); margin-bottom: 0.35rem; }
.lux-form-card .form-head p { color: var(--gray-600); font-size: 0.9rem; margin-bottom: 1.75rem; }

/* ── Lux CTA band ── */
.lux-cta {
  position: relative; overflow: hidden;
  margin: 1rem; border-radius: var(--r-xl);
  background: linear-gradient(120deg, var(--dark), #2a1416);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}
.lux-cta::before { content:''; position:absolute; inset:0; background: radial-gradient(700px 350px at 50% -30%, rgba(200,16,46,0.35), transparent 65%); }
.lux-cta::after {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  background-size: 200% 100%; animation: lux-shimmer 4s linear infinite;
}
.lux-cta > * { position: relative; }
.lux-cta .eyebrow { color: var(--gold); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.lux-cta h2 { color: #fff; font-size: clamp(1.75rem, 3.6vw, 2.75rem); margin: 1rem auto 1.25rem; max-width: 640px; }
.lux-cta p { color: rgba(255,255,255,0.65); max-width: 520px; margin: 0 auto 2rem; line-height: 1.75; }
.lux-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Inner-page responsive ── */
@media (max-width: 1024px) {
  .lux-intro { grid-template-columns: 1fr; gap: 2.5rem; }
  .lux-intro-sticky { position: static; }
  .lux-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .lux-cards { grid-template-columns: repeat(2, 1fr); }
  .lux-steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.25rem; }
  .lux-step::after { display: none; }
  .lux-contact { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .page-hero { min-height: 48vh; margin: 0.625rem; border-radius: 18px; }
  .page-hero-bg, .page-hero-overlay, .page-hero-dots { border-radius: 18px; }
  .page-hero-inner { padding-block: 116px 44px; }
  .lux-svc-grid { grid-template-columns: 1fr; }
  .lux-cards { grid-template-columns: 1fr; }
  .lux-steps { grid-template-columns: 1fr; }
  .lux-svc { padding: 1.75rem; }
  .lux-prose p:first-child::first-letter { font-size: 2.8rem; }
}
@media (max-width: 480px) {
  .lux-stats-grid { grid-template-columns: 1fr; }
}

/* ── Legal / policy pages ── */
.lux-legal { display: grid; grid-template-columns: 250px 1fr; gap: 4.5rem; align-items: start; }
.lux-legal-toc { position: sticky; top: 120px; }
.lux-legal-toc .label { color: var(--red); margin-bottom: 1rem; }
.lux-legal-toc nav { display: flex; flex-direction: column; border-left: 1px solid var(--gray-100); }
.lux-legal-toc a {
  padding: 0.45rem 0 0.45rem 1.1rem; margin-left: -1px;
  border-left: 2px solid transparent; color: var(--gray-600);
  font-size: 0.8125rem; line-height: 1.4; transition: color var(--t), border-color var(--t);
}
.lux-legal-toc a:hover { color: var(--red); border-color: var(--red); }
.lux-legal-body { max-width: 760px; }
.lux-legal-body .updated {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.8125rem; color: var(--gray-600);
  margin-bottom: 2.5rem; padding: 0.45rem 1rem;
  border: 1px solid var(--gray-100); border-radius: 100px; background: var(--white);
}
.lux-legal-body .updated svg { color: var(--red); }
.lux-legal-body h2 {
  font-size: 1.45rem; color: var(--dark);
  margin: 2.75rem 0 1rem; scroll-margin-top: 110px;
  display: flex; align-items: baseline; gap: 0.75rem;
}
.lux-legal-body h2:first-of-type { margin-top: 0; }
.lux-legal-body h2 .n { font-family: var(--font-head); font-size: 0.95rem; color: var(--red); font-weight: 800; }
.lux-legal-body h3 { font-size: 1.05rem; color: var(--dark); margin: 1.6rem 0 0.6rem; }
.lux-legal-body p { color: var(--gray-600); line-height: 1.9; margin-bottom: 1.1rem; }
.lux-legal-body ul { margin: 0 0 1.2rem; display: flex; flex-direction: column; gap: 0.6rem; }
.lux-legal-body li { position: relative; padding-left: 1.5rem; color: var(--gray-600); line-height: 1.7; }
.lux-legal-body li::before { content:''; position:absolute; left:0; top:0.62em; width:6px; height:6px; border-radius:2px; background: var(--red); }
.lux-legal-body a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.lux-legal-card {
  background: var(--off-white); border: 1px solid var(--gray-100);
  border-left: 3px solid var(--red); border-radius: var(--r-lg);
  padding: 1.4rem 1.6rem; margin: 1.5rem 0;
}
.lux-legal-card p { margin-bottom: 0.4rem; }
.lux-legal-card p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .lux-legal { grid-template-columns: 1fr; gap: 2rem; }
  .lux-legal-toc { position: static; }
  .lux-legal-toc nav { flex-flow: row wrap; border-left: 0; gap: 0.25rem 0.5rem; }
  .lux-legal-toc a { border-left: 0; padding: 0.3rem 0.6rem; background: var(--off-white); border-radius: 100px; }
}

/* ── Map ── */
.lux-map {
  position: relative;
  margin-top: 1.5rem;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
  background: var(--gray-50);
}
.lux-map iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
  filter: grayscale(0.15) contrast(1.02);
}
.lux-map-link {
  position: absolute;
  bottom: 1rem; right: 1rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.1rem; border-radius: 100px;
  background: var(--white); color: var(--dark);
  font-size: 0.8125rem; font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: transform var(--t), color var(--t);
}
.lux-map-link:hover { transform: translateY(-2px); color: var(--red); }
.lux-map-link svg { color: var(--red); }
@media (max-width: 768px) { .lux-map iframe { height: 340px; } }

/* ── Projects portfolio ── */
.lux-proj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.lux-proj {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--r-xl); padding: 2rem;
  display: flex; flex-direction: column;
  transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t);
}
.lux-proj::before {
  content:''; position:absolute; left:0; top:0; height:3px; width:0;
  background: linear-gradient(90deg, var(--red), var(--gold)); transition: width 0.5s var(--ease);
}
.lux-proj:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.lux-proj:hover::before { width: 100%; }
.lux-proj-img {
  margin: -2rem -2rem 1.5rem; aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: var(--r-xl) var(--r-xl) 0 0; background: var(--gray-100);
}
.lux-proj-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.lux-proj:hover .lux-proj-img img { transform: scale(1.05); }
.lux-proj-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.1rem; }
.lux-proj h3 { font-size: 1.1rem; color: var(--dark); line-height: 1.32; }
.lux-proj-loc { font-size: 0.8125rem; color: var(--gray-400); margin-top: 0.35rem; display: flex; align-items: center; gap: 0.35rem; }
.lux-proj-loc svg { color: var(--red); }
.lux-proj-beds {
  flex-shrink: 0; background: var(--red-light); color: var(--red);
  font-weight: 800; font-family: var(--font-head);
  padding: 0.45rem 0.85rem; border-radius: var(--r-lg);
  font-size: 0.8125rem; white-space: nowrap; text-align: center; line-height: 1.1;
}
.lux-proj-beds small { display: block; font-family: var(--font-main); font-weight: 600; font-size: 0.625rem; color: var(--gray-600); }
.lux-proj-meta { display: flex; flex-direction: column; gap: 0.45rem; padding: 1rem 0; border-top: 1px solid var(--gray-100); margin-bottom: 1rem; }
.lux-proj-meta div { display: flex; gap: 0.5rem; font-size: 0.8125rem; line-height: 1.45; }
.lux-proj-meta strong { color: var(--gray-800); min-width: 84px; flex-shrink: 0; font-weight: 700; }
.lux-proj-meta span { color: var(--gray-600); }
.lux-proj-tag {
  display: inline-block; align-self: flex-start;
  background: var(--dark); color: #fff; font-size: 0.625rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.25rem 0.65rem; border-radius: 100px; margin-bottom: 0.85rem;
}
.lux-proj-svc { font-size: 0.875rem; color: var(--gray-600); line-height: 1.65; margin-top: auto; }
.lux-proj-svc b { color: var(--gray-800); font-weight: 600; }
@media (max-width: 768px) { .lux-proj-grid { grid-template-columns: 1fr; } }
