/* ============================================================
   ETS RMC INTER — Modern Design System v2.0
   Palette: Rouge #CC1518 | Bleu #1B3F8C | Or #F5A623 | Blanc #FFFFFF
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --red:     #CC1518;
  --red-dk:  #a00f12;
  --blue:    #1B3F8C;
  --blue-lt: #2b57b8;
  --gold:    #F5A623;
  --white:   #FFFFFF;
  --off:     #F7F8FA;
  --off2:    #EEF0F5;
  --text:    #1a1a2e;
  --muted:   #6b7280;
  --border:  #e2e5ea;
  --shadow:  0 4px 24px rgba(27,63,140,.10);
  --shadow-lg: 0 8px 48px rgba(27,63,140,.18);
  --radius:  12px;
  --radius-lg: 20px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Outfit', sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ============================================================
   PRELOADER
   ============================================================ */
#rmc-preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
#rmc-preloader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.preloader-logo { width: 80px; animation: preloader-pulse 1.2s ease-in-out infinite; }
.preloader-bar {
  width: 200px; height: 3px; background: var(--off2); border-radius: 99px; overflow: hidden;
}
.preloader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--blue));
  border-radius: 99px;
  animation: preloader-progress 1.8s ease-in-out infinite;
  width: 40%;
}
@keyframes preloader-pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.08)} }
@keyframes preloader-progress { 0%{transform:translateX(-100%)} 100%{transform:translateX(350%)} }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); line-height: 1.1; font-weight: 800; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.2rem; }
p { font-size: 1rem; color: var(--muted); }

.text-red   { color: var(--red) !important; }
.text-blue  { color: var(--blue) !important; }
.text-gold  { color: var(--gold) !important; }
.text-white { color: #fff !important; }
.text-dark  { color: var(--text) !important; }
.text-muted { color: var(--muted) !important; }
.text-center{ text-align: center; }

/* ============================================================
   SECTION LABELS & HEADINGS
   ============================================================ */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--red); margin-bottom: 12px;
}
.section-label::before {
  content: ''; display: block; width: 30px; height: 2px; background: var(--red); border-radius: 99px;
}
.section-title { font-family: var(--font-head); color: var(--text); margin-bottom: 16px; }
.section-title span { color: var(--red); }
.section-title.blue span { color: var(--blue); }
.section-desc { font-size: 1.05rem; color: var(--muted); max-width: 580px; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-desc { margin: 0 auto; }
.section-head.center .section-label { margin: 0 auto 12px; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-fluid { width: 100%; padding: 0 24px; }
.section-pad { padding: 96px 0; }
.section-pad-sm { padding: 64px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,.12); }

.header-topbar {
  background: var(--blue);
  padding: 7px 0;
  font-size: .82rem;
  color: rgba(255,255,255,.8);
}
.header-topbar .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.topbar-info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-info a, .topbar-info span { color: rgba(255,255,255,.85); display: flex; align-items: center; gap: 6px; font-size: .82rem; transition: color .2s; }
.topbar-info a:hover { color: var(--gold); }
.topbar-info i { font-size: .9rem; color: var(--gold); }
.topbar-status {
  display: flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%; display: inline-block;
  animation: status-blink 2s ease-in-out infinite;
}
.status-dot.open { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
.status-dot.closed { background: #ef4444; }
@keyframes status-blink { 0%,100%{opacity:1} 50%{opacity:.5} }

.header-main { padding: 16px 0; }
.header-main .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-logo img { height: 52px; width: auto; }
.header-logo { display: flex; align-items: center; }

/* ---- NAV ---- */
.main-nav { display: flex; align-items: center; gap: 4px; list-style: none; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 14px; border-radius: 8px;
  font-weight: 600; font-size: .9rem; color: var(--text);
  transition: all var(--transition);
  font-family: var(--font-body);
}
.main-nav > li > a:hover, .main-nav > li.active > a { color: var(--red); background: rgba(204,21,24,.06); }
.main-nav > li > a i { font-size: .7rem; transition: transform .2s; }
.main-nav > li:hover > a i { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 220px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all var(--transition);
  list-style: none; padding: 8px 0; z-index: 999;
}
.main-nav > li:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown li a {
  display: block; padding: 9px 18px;
  font-size: .88rem; color: var(--text); font-weight: 500;
  transition: all .2s; border-radius: 4px; margin: 0 4px;
}
.nav-dropdown li a:hover { background: rgba(204,21,24,.07); color: var(--red); padding-left: 24px; }
/* Sub-dropdown */
.nav-sub { position: relative; }
.nav-sub > a::after { content: ' ›'; }
.sub-dropdown {
  position: absolute; left: 100%; top: 0;
  min-width: 200px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  opacity: 0; visibility: hidden; transform: translateX(8px);
  transition: all var(--transition);
  list-style: none; padding: 8px 0; z-index: 1000;
}
.nav-sub:hover .sub-dropdown { opacity: 1; visibility: visible; transform: translateX(0); }
.sub-dropdown li a { font-size: .85rem; }

/* Header CTA */
.header-cta { display: flex; align-items: center; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 24px; border-radius: 99px; font-weight: 600; font-size: .9rem; transition: all var(--transition); cursor: pointer; border: 2px solid transparent; font-family: var(--font-body); white-space: nowrap; }
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-dk); border-color: var(--red-dk); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(204,21,24,.35); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--red); border-color: #fff; }
.btn-white:hover { background: var(--off); box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: #d98d1a; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(245,166,35,.4); }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-sm { padding: 7px 18px; font-size: .82rem; }
.btn i { font-size: .85em; }

/* Mobile toggle */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 6px; border-radius: 8px; transition: background .2s;
}
.nav-toggle:hover { background: var(--off2); }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 99px; transition: all .3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero {
  position: relative; height: 100vh; min-height: 620px; max-height: 900px;
  overflow: hidden; margin-top: 0; padding-top: 95px;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(27,63,140,.72) 0%, rgba(10,10,30,.5) 60%, rgba(0,0,0,.3) 100%);
  z-index: 2;
}
.hero-content {
  position: absolute; inset: 0; z-index: 3;
  display: flex; align-items: center;
  padding: 0 0 60px;
}
.hero-text { max-width: 680px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  padding: 6px 16px; border-radius: 99px;
  font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.hero-badge i { font-size: .9rem; }
.hero-text h1 {
  color: #fff; font-weight: 900; text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0,0,0,.3);
  margin-bottom: 20px;
}
.hero-text h1 span { color: var(--gold); }
.hero-text p { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 32px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-dots {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 4;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.4);
  cursor: pointer; transition: all .3s; border: none;
}
.hero-dot.active { background: var(--gold); width: 24px; }
.hero-arrows {
  position: absolute; bottom: 32px; right: 40px;
  display: flex; gap: 10px; z-index: 4;
}
.hero-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: .9rem; transition: all .2s;
}
.hero-arrow:hover { background: var(--red); border-color: var(--red); }

/* ============================================================
   HIGHLIGHT CARDS (après hero)
   ============================================================ */
.highlights { position: relative; z-index: 10; margin-top: -60px; margin-bottom: 0; padding-bottom: 0; }
.highlights .container { padding-bottom: 0; }
.highlights-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.highlight-card { padding: 36px 32px; position: relative; overflow: hidden; }
.highlight-card:nth-child(1) { background: var(--red); }
.highlight-card:nth-child(2) { background: var(--blue); }
.highlight-card:nth-child(3) { background: var(--text); }
.highlight-card::before {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 120px; height: 120px; border-radius: 50%;
  background: rgba(255,255,255,.07);
}
.highlight-icon { font-size: 2.4rem; color: rgba(255,255,255,.6); margin-bottom: 14px; }
.highlight-card h4 { color: #fff; font-size: 1.2rem; margin-bottom: 8px; }
.highlight-card p { color: rgba(255,255,255,.75); font-size: .9rem; margin-bottom: 12px; }
.highlight-detail { color: rgba(255,255,255,.9); font-weight: 700; font-size: 1rem; }
.highlight-sep { width: 40px; height: 2px; background: rgba(255,255,255,.3); border-radius: 99px; margin: 14px 0; }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { padding: 100px 0; background: var(--white); }
.about-image-wrap { position: relative; }
.about-image-main {
  width: 100%; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image-main img { width: 100%; height: 420px; object-fit: cover; }
.about-badge-box {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--red); color: #fff;
  padding: 20px 28px; border-radius: var(--radius);
  text-align: center; box-shadow: var(--shadow-lg);
}
.about-badge-box .num { font-family: var(--font-head); font-size: 2.8rem; font-weight: 900; display: block; line-height: 1; }
.about-badge-box .lbl { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.about-content { padding-left: 24px; }
.about-content h2 { margin-bottom: 16px; }
.about-content p { margin-bottom: 20px; font-size: 1.02rem; }
.about-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 24px 0 32px; }
.about-features li { display: flex; align-items: flex-start; gap: 12px; font-size: .95rem; }
.about-features li i { color: var(--red); font-size: 1rem; margin-top: 3px; flex-shrink: 0; }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section { padding: 100px 0; background: var(--off); position: relative; overflow: hidden; }
.services-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--blue));
}
.service-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  transition: all var(--transition); position: relative;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card-img { position: relative; overflow: hidden; height: 220px; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-card-img img { transform: scale(1.07); }
.service-card-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--red); color: #fff;
  padding: 4px 12px; border-radius: 99px;
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.service-card-body { padding: 28px; }
.service-card-icon {
  width: 52px; height: 52px; border-radius: var(--radius); flex-shrink: 0;
  background: rgba(204,21,24,.08); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--red); margin-bottom: 16px;
}
.service-card h4 { color: var(--text); margin-bottom: 10px; font-size: 1.15rem; }
.service-card p { font-size: .9rem; margin-bottom: 20px; }
.service-link { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 700; font-size: .88rem; transition: gap .2s; }
.service-link:hover { gap: 10px; }
.service-link i { font-size: .8rem; }

/* ============================================================
   STATS / COUNTERS
   ============================================================ */
.stats-section {
  position: relative; padding: 80px 0;
  background: var(--blue);
  overflow: hidden;
}
.stats-section::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.stats-section::after {
  content: ''; position: absolute; bottom: -80px; left: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(255,255,255,.03);
}
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; position: relative; z-index: 2; }
.stat-card {
  text-align: center; padding: 40px 24px;
  background: rgba(255,255,255,.08); border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}
.stat-card:hover { background: rgba(255,255,255,.13); transform: translateY(-4px); }
.stat-num {
  font-family: var(--font-head); font-size: 3.5rem; font-weight: 900; line-height: 1;
  color: var(--white); display: block; margin-bottom: 6px;
}
.stat-num span.unit { font-size: 2rem; color: var(--gold); }
.stat-label { font-size: .88rem; color: rgba(255,255,255,.75); font-weight: 500; }
.stat-divider { width: 32px; height: 2px; background: var(--gold); margin: 12px auto 12px; border-radius: 99px; }

/* ============================================================
   DEPARTMENTS / TEAMS TABS
   ============================================================ */
.dept-section { padding: 100px 0; background: var(--white); }
.dept-tabs-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.dept-tabs-nav { background: var(--off2); padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.dept-tab-btn {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; border-radius: var(--radius); cursor: pointer;
  background: transparent; border: none; text-align: left;
  transition: all var(--transition); font-family: var(--font-body);
}
.dept-tab-btn:hover { background: var(--white); }
.dept-tab-btn.active { background: var(--white); box-shadow: var(--shadow); }
.dept-tab-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  background: var(--off2); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--muted); transition: all .2s;
}
.dept-tab-btn.active .dept-tab-icon { background: var(--red); color: #fff; }
.dept-tab-info h5 { font-size: .95rem; color: var(--text); margin: 0; }
.dept-tab-info span { font-size: .78rem; color: var(--muted); }
.dept-panels { padding: 40px; }
.dept-panel { display: none; }
.dept-panel.active { display: block; animation: fadeIn .3s ease; }
.dept-panel-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; }
.dept-panel-img img { width: 100%; height: 280px; object-fit: cover; }
.dept-panel h4 { margin-bottom: 12px; }
.dept-panel ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.dept-panel ul li { display: flex; gap: 10px; font-size: .92rem; color: var(--muted); }
.dept-panel ul li::before { content: '→'; color: var(--red); font-weight: 700; flex-shrink: 0; }

/* ============================================================
   SKILLS / PROGRESS
   ============================================================ */
.skills-section { padding: 100px 0; background: var(--off); }
.skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.skill-item { margin-bottom: 28px; }
.skill-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.skill-header span { font-weight: 600; font-size: .92rem; color: var(--text); }
.skill-header .pct { font-weight: 800; font-family: var(--font-head); font-size: 1.1rem; color: var(--red); }
.skill-bar { height: 8px; background: var(--border); border-radius: 99px; overflow: hidden; }
.skill-fill {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  width: 0; transition: width 1.5s cubic-bezier(.4,0,.2,1);
}
.skill-fill.animated { width: var(--target); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  padding: 100px 0;
  background: var(--text); position: relative; overflow: hidden;
}
.testimonials-section::before {
  content: '"'; position: absolute; top: -40px; left: 40px;
  font-family: var(--font-head); font-size: 25rem; font-weight: 900;
  color: rgba(255,255,255,.03); line-height: 1;
}
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testi-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); padding: 32px;
  transition: all var(--transition);
}
.testi-card:hover { background: rgba(255,255,255,.10); transform: translateY(-4px); }
.testi-stars { color: var(--gold); font-size: .9rem; margin-bottom: 16px; display: flex; gap: 3px; }
.testi-text { color: rgba(255,255,255,.75); font-size: .95rem; line-height: 1.7; margin-bottom: 24px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden;
  background: var(--blue); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.testi-name { color: #fff; font-weight: 700; font-size: .92rem; }
.testi-role { color: rgba(255,255,255,.5); font-size: .8rem; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  padding: 72px 0; position: relative;
  background: linear-gradient(135deg, var(--red) 0%, #8b0f12 100%);
  overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 350px; height: 350px; border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.cta-band .container { position: relative; z-index: 2; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-text h2 { color: #fff; font-size: clamp(1.8rem,3vw,2.8rem); }
.cta-text p { color: rgba(255,255,255,.8); margin-top: 8px; font-size: 1.02rem; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   PARTNERS
   ============================================================ */
.partners-section { padding: 72px 0; background: var(--white); }
.partners-title { text-align: center; margin-bottom: 40px; }
.partners-title h5 { color: var(--muted); font-size: 1rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.partners-track {
  display: flex; gap: 48px; align-items: center;
  overflow: hidden; position: relative;
}
.partners-track::before, .partners-track::after {
  content: ''; position: absolute; top: 0; width: 100px; height: 100%;
  z-index: 1; pointer-events: none;
}
.partners-track::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.partners-track::after  { right: 0; background: linear-gradient(-90deg, #fff, transparent); }
.partners-inner {
  display: flex; gap: 48px; align-items: center;
  animation: scroll-partners 28s linear infinite; white-space: nowrap;
}
.partners-inner img { height: 44px; width: auto; filter: grayscale(1) opacity(.5); transition: all .3s; flex-shrink: 0; }
.partners-inner img:hover { filter: none; transform: scale(1.05); }
@keyframes scroll-partners { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #0d1428; color: rgba(255,255,255,.75); }
.footer-main { padding: 80px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
.footer-brand p { font-size: .9rem; line-height: 1.7; margin: 16px 0 24px; color: rgba(255,255,255,.6); }
.footer-logo { height: 50px; width: auto; filter: brightness(2) saturate(0); }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; transition: all .2s;
}
.social-btn:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.footer-heading {
  color: #fff; font-family: var(--font-head); font-size: 1.1rem; font-weight: 700;
  margin-bottom: 20px; letter-spacing: .02em;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links li a {
  color: rgba(255,255,255,.6); font-size: .88rem; transition: all .2s;
  display: flex; align-items: center; gap: 6px;
}
.footer-links li a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact-item { display: flex; gap: 12px; margin-bottom: 14px; font-size: .88rem; }
.footer-contact-item i { color: var(--gold); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.footer-contact-item span { color: rgba(255,255,255,.65); line-height: 1.5; }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; font-size: .82rem; color: rgba(255,255,255,.4);
}
.footer-bar a { color: rgba(255,255,255,.5); transition: color .2s; }
.footer-bar a:hover { color: var(--gold); }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-hero {
  position: relative; padding: 160px 0 80px;
  background: var(--blue); overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(27,63,140,.9), rgba(10,10,40,.75)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; text-transform: uppercase; margin-bottom: 16px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a, .breadcrumb span { font-size: .88rem; color: rgba(255,255,255,.65); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--gold); }
.breadcrumb .current { color: rgba(255,255,255,.9); font-weight: 600; }
.page-hero-deco {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  overflow: hidden; line-height: 0;
}
.page-hero-deco svg { display: block; }

/* ============================================================
   SERVICE DETAIL
   ============================================================ */
.service-detail { padding: 80px 0; }
.service-detail-grid { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: start; }
.service-main-img { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; box-shadow: var(--shadow); }
.service-main-img img { width: 100%; height: 400px; object-fit: cover; }
.service-sidebar { position: sticky; top: 100px; }
.sidebar-card { background: var(--off); border-radius: var(--radius-lg); padding: 32px; margin-bottom: 24px; }
.sidebar-card h4 { margin-bottom: 20px; color: var(--text); }
.sidebar-menu { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.sidebar-menu li a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: var(--radius); font-size: .9rem;
  color: var(--text); font-weight: 500; transition: all .2s;
}
.sidebar-menu li a:hover, .sidebar-menu li a.active {
  background: var(--red); color: #fff;
}
.sidebar-menu li a i { font-size: .9rem; }
.sidebar-contact { background: var(--blue); border-radius: var(--radius-lg); padding: 32px; text-align: center; }
.sidebar-contact h4 { color: #fff; margin-bottom: 8px; }
.sidebar-contact p { color: rgba(255,255,255,.7); margin-bottom: 24px; font-size: .9rem; }
.sidebar-contact .phone { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--gold); display: block; margin-bottom: 20px; }

/* ============================================================
   GALLERY / REALISATIONS
   ============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer; }
.gallery-item img { width: 100%; height: 260px; object-fit: cover; transition: transform .5s ease; display: block; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(27,63,140,.8));
  opacity: 0; transition: opacity .3s;
  display: flex; align-items: flex-end; padding: 20px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: #fff; font-weight: 600; font-size: .9rem; }
.gallery-overlay i { color: var(--gold); margin-right: 6px; }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 8px 20px; border-radius: 99px; border: 2px solid var(--border);
  background: transparent; font-size: .85rem; font-weight: 600; color: var(--muted);
  cursor: pointer; transition: all .2s; font-family: var(--font-body);
}
.filter-btn:hover, .filter-btn.active { background: var(--red); color: #fff; border-color: var(--red); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { padding: 80px 0; }
.faq-grid { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: start; }
.faq-sidebar { position: sticky; top: 100px; }
.faq-cta-box { background: var(--red); border-radius: var(--radius-lg); padding: 36px; text-align: center; }
.faq-cta-box h4 { color: #fff; margin-bottom: 10px; }
.faq-cta-box p { color: rgba(255,255,255,.75); font-size: .9rem; margin-bottom: 24px; }
.accordion-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; }
.accordion-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; cursor: pointer; background: var(--white);
  transition: background .2s;
}
.accordion-header:hover { background: var(--off); }
.accordion-header.active { background: var(--red); }
.accordion-header h5 { font-size: .95rem; color: var(--text); margin: 0; font-weight: 600; }
.accordion-header.active h5 { color: #fff; }
.accordion-icon { width: 24px; height: 24px; flex-shrink: 0; color: var(--muted); transition: transform .3s; }
.accordion-header.active .accordion-icon { transform: rotate(45deg); color: #fff; }
.accordion-body { padding: 0; max-height: 0; overflow: hidden; transition: all .4s ease; }
.accordion-body.open { max-height: 400px; padding: 20px 24px; }
.accordion-body p { font-size: .92rem; margin: 0; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 28px; align-items: flex-start; }
.contact-info-icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  background: rgba(204,21,24,.1); display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--red); flex-shrink: 0;
}
.contact-info-text h5 { color: var(--text); margin: 0 0 4px; font-size: 1rem; }
.contact-info-text span { color: var(--muted); font-size: .9rem; }
.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .88rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border-radius: var(--radius);
  border: 1.5px solid var(--border); font-family: var(--font-body);
  font-size: .9rem; color: var(--text); background: var(--off);
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27,63,140,.1); background: #fff;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.map-embed { margin-top: 40px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 320px; border: none; display: block; }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed; bottom: 32px; right: 32px; z-index: 900;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(204,21,24,.4);
  cursor: pointer; border: none;
  opacity: 0; transform: translateY(16px);
  transition: all .3s; font-size: 1rem;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--red-dk); transform: translateY(-2px); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-28px); transition: opacity .7s ease, transform .7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .dept-tabs-wrap { grid-template-columns: 1fr; }
  .dept-tabs-nav { flex-direction: row; overflow-x: auto; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .skills-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-sidebar { position: static; }
}
@media (max-width: 768px) {
  .highlights-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .header-topbar .container { flex-direction: column; align-items: flex-start; }
  .main-nav { display: none; flex-direction: column; width: 100%; background: #fff; position: absolute; top: 100%; left: 0; padding: 16px; box-shadow: var(--shadow-lg); border-top: 1px solid var(--border); gap: 2px; }
  .main-nav.open { display: flex; }
  .nav-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: var(--off); }
  .nav-toggle { display: flex; }
  .header-cta .btn:not(.btn-primary) { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 500px; }
  .page-hero { padding: 130px 0 60px; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
}
