/* =========================================================
   Xayroul Corporate — Premium Stylesheet
   ========================================================= */

:root {
  /* Brand */
  --color-blue: #0A2540;
  --color-blue-2: #1E40AF;
  --color-blue-soft: #1d4ed8;
  --color-orange: #F97316;
  --color-orange-2: #ff6b1a;

  /* Theme tokens (light by default) */
  --bg: #ffffff;
  --bg-alt: #f7f9fc;
  --bg-card: #ffffff;
  --text: #111827;
  --text-soft: #6b7280;
  --heading: #0A2540;
  --border: #e5e7eb;
  --header-bg: rgba(255,255,255,.92);
  --footer-bg: #0a0a0a;
  --footer-text: rgba(255,255,255,.75);
  --input-bg: #f7f9fc;
  --hero-bg: #0A2540;

  --gradient-primary: linear-gradient(135deg, #0A2540 0%, #1E40AF 100%);
  --gradient-accent: linear-gradient(135deg, #F97316 0%, #ff6b1a 100%);
  --gradient-hero: linear-gradient(120deg, rgba(10,37,64,0.92) 0%, rgba(30,64,175,0.85) 100%);
  --shadow-sm: 0 4px 12px rgba(10, 37, 64, 0.06);
  --shadow-md: 0 12px 30px rgba(10, 37, 64, 0.10);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, 0.15);
  --shadow-orange: 0 12px 30px rgba(249, 115, 22, 0.35);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --transition: 0.35s cubic-bezier(.4,0,.2,1);
  --container: 1240px;
  --font-heading: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-serif: "Playfair Display", "Times New Roman", Georgia, serif;

  /* Legacy aliases (kept for compatibility) */
  --color-black: #0a0a0a;
  --color-dark: var(--text);
  --color-white: var(--bg);
  --color-light: var(--bg-alt);
  --color-grey: var(--text-soft);
  --color-border: var(--border);
}

/* ============= DARK THEME ============= */
[data-theme="dark"] {
  --bg: #0b1220;
  --bg-alt: #0f1a2e;
  --bg-card: #15233d;
  --text: #e6eaf2;
  --text-soft: #9aa6bd;
  --heading: #ffffff;
  --border: #1f2c46;
  --header-bg: rgba(11, 18, 32, .85);
  --footer-bg: #050913;
  --footer-text: rgba(255,255,255,.72);
  --input-bg: #15233d;
  --hero-bg: #050913;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color .4s ease, color .4s ease;
}
img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--heading);
  line-height: 1.2;
  font-weight: 700;
}

/* ---------- Layout ---------- */
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}
.section { padding: 96px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--color-blue); color: #d6def0; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-orange);
  font-weight: 700;
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 18px;
}
.section-head p { color: var(--text-soft); font-size: 17px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .3px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary { background: var(--gradient-accent); color: #fff; box-shadow: var(--shadow-orange); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(249,115,22,.45); }
.btn-secondary { background: var(--bg-card); color: var(--heading); border: 2px solid var(--heading); }
.btn-secondary:hover { background: var(--heading); color: var(--bg); transform: translateY(-3px); }
.btn-ghost { color: #fff; border: 2px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: #fff; color: var(--color-blue); transform: translateY(-3px); }
.btn-dark { background: var(--color-blue); color: #fff; }
.btn-dark:hover { background: var(--color-blue-2); transform: translateY(-3px); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-heading); font-weight: 800; font-size: 20px;
  color: var(--heading);
}
.brand-mark {
  width: auto;
  min-width: 42px;
  height: 44px;
  background: transparent;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff; font-weight: 800;
  position: relative;
  overflow: visible;
}
.brand-mark span { position: relative; z-index: 2; }
.brand-mark img {
  display: block;
  height: 100%;
  width: auto;
  max-height: 44px;
  object-fit: contain;
  transition: filter .3s ease;
}
/* Dark mode OR footer (always dark bg) → invert logo to white */
[data-theme="dark"] .brand-mark img,
.footer .brand-mark img {
  filter: brightness(0) invert(1);
}
.brand small { display: block; font-size: 11px; letter-spacing: 2px; color: var(--color-orange); font-weight: 600; }

/* Hide adjacent wordmark text — SVG already contains "Xayroul Corporate / Creative Agency" */
.brand > div:not(.brand-mark) { display: none; }

.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-menu a {
  font-weight: 500; font-size: 15px; color: var(--text);
  position: relative; padding: 6px 0;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--color-orange);
  transition: width var(--transition);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--heading); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--color-blue);
  color: #fff;
  align-items: center; justify-content: center;
}

/* Theme toggle */
.theme-toggle {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--heading);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition);
  position: relative;
  overflow: hidden;
}
.theme-toggle:hover { transform: rotate(20deg) scale(1.05); background: var(--color-orange); color: #fff; border-color: transparent; }
.theme-toggle .icon-sun, .theme-toggle .icon-moon {
  position: absolute; transition: transform .5s ease, opacity .3s ease;
}
.theme-toggle .icon-moon { transform: translateY(0) rotate(0); opacity: 1; }
.theme-toggle .icon-sun { transform: translateY(150%) rotate(-90deg); opacity: 0; }
[data-theme="dark"] .theme-toggle .icon-moon { transform: translateY(-150%) rotate(90deg); opacity: 0; }
[data-theme="dark"] .theme-toggle .icon-sun { transform: translateY(0) rotate(0); opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px 0 80px;
  color: #fff;
  overflow: hidden;
  background: var(--color-blue);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(249,115,22,.18), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(30,64,175,.5), transparent 50%),
    var(--gradient-hero),
    url("../img/hero-bg.webp") center/cover;
  z-index: 0;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, var(--color-blue) 100%);
  z-index: 0;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  padding: 8px 18px; border-radius: 999px;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: #fff; font-weight: 600; margin-bottom: 24px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; background: var(--color-orange); border-radius: 50%; box-shadow: 0 0 0 6px rgba(249,115,22,.25); animation: pulse 2s infinite; }

.hero h1 {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 22px;
  letter-spacing: -1px;
}
.hero h1 span { background: var(--gradient-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 18px; color: rgba(255,255,255,.85); margin-bottom: 36px; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 32px;
}
.hero-stats .stat strong {
  font-size: clamp(28px, 3vw, 38px);
  font-family: var(--font-heading); color: #fff; display: block;
}
.hero-stats .stat span { font-size: 13px; color: rgba(255,255,255,.7); letter-spacing: 1px; text-transform: uppercase; }

.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-card h3 { color: #fff; margin-bottom: 16px; font-size: 20px; }
.hero-card .feature { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px dashed rgba(255,255,255,.12); }
.hero-card .feature:last-child { border: 0; }
.hero-card .feature-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--gradient-accent); display: grid; place-items: center; color: #fff; font-size: 18px; }
.hero-card .feature-text strong { display: block; color: #fff; font-size: 15px; }
.hero-card .feature-text small { color: rgba(255,255,255,.7); font-size: 13px; }
.hero-floating {
  position: absolute; right: -22px; bottom: -28px;
  background: var(--gradient-accent);
  color: #fff; padding: 18px 22px; border-radius: var(--radius-md);
  box-shadow: var(--shadow-orange);
  display: flex; align-items: center; gap: 12px;
  animation: float 4s ease-in-out infinite;
}
.hero-floating strong { font-size: 22px; display: block; }
.hero-floating small { opacity: .85; font-size: 12px; }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249,115,22,.55); }
  50% { box-shadow: 0 0 0 10px rgba(249,115,22,0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.about-image { position: relative; }
.about-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-image .badge {
  position: absolute; bottom: -28px; left: -28px;
  background: var(--gradient-accent); color: #fff;
  padding: 22px 26px; border-radius: var(--radius-md);
  box-shadow: var(--shadow-orange);
}
.about-image .badge strong { font-size: 30px; display: block; line-height: 1; font-family: var(--font-heading); }
.about-image .badge span { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }

.about-content .eyebrow { color: var(--color-orange); font-weight: 700; letter-spacing: 3px; text-transform: uppercase; font-size: 13px; }
.about-content h2 { font-size: clamp(28px, 4vw, 42px); margin: 14px 0 24px; }
.about-content p { color: var(--text-soft); margin-bottom: 18px; font-size: 16.5px; }

.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 28px 0 32px; }
.value {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: var(--bg-alt);
  border-radius: var(--radius-sm); border-left: 4px solid var(--color-orange);
  font-weight: 600; color: var(--heading);
}
.value i { color: var(--color-orange); }

/* Counters */
.counters {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 70px;
  padding: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  color: #fff;
}
.counter { text-align: center; }
.counter strong { font-size: clamp(32px, 4vw, 48px); display: block; font-family: var(--font-heading); }
.counter span { font-size: 14px; letter-spacing: 1px; opacity: .85; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: auto;
  height: 80px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(249,115,22,.12), rgba(30,64,175,.12));
  display: grid; place-items: center;
  color: var(--color-orange); font-size: 26px;
  margin-bottom: 22px;
  transition: transform var(--transition);
  overflow: hidden;
}
/* When service-icon contains <img>, make it full-card-width banner */
.service-icon:has(img) {
  width: auto;
  height: 220px;
  margin: -36px -30px 24px;
  border-radius: 0;
  background: transparent;
  display: block;
}
.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.service-card:hover .service-icon:has(img) img {
  transform: scale(1.06);
}
/* Cancel rotate/bounce on banner-style icon container */
.service-card:hover .service-icon:has(img) {
  transform: none !important;
  animation: none !important;
}
.service-card:hover .service-icon { transform: rotate(-5deg) scale(1.05); }
.service-card h3 { font-size: 20px; margin-bottom: 12px; }
.service-card p { color: var(--text-soft); margin-bottom: 18px; font-size: 15px; }
.service-card ul li {
  padding: 6px 0;
  color: var(--text); font-size: 14px;
  display: flex; align-items: center; gap: 10px;
}
.service-card ul li::before { content: "›"; color: var(--color-orange); font-weight: 700; }

/* ---------- Events Premium ---------- */
.events-section {
  background: var(--color-blue);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.events-section::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(249,115,22,.18), transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(30,64,175,.4), transparent 50%);
}
.events-section .container { position: relative; z-index: 2; }
.events-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.events-content h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin-bottom: 22px; }
.events-content p { color: rgba(255,255,255,.85); margin-bottom: 28px; }

.events-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 32px;
}
.events-features .feat {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
}
.events-features .feat i { color: var(--color-orange); font-size: 18px; margin-top: 3px; }
.events-features .feat strong { color: #fff; display: block; font-size: 15px; }
.events-features .feat span { color: rgba(255,255,255,.7); font-size: 13px; }

.events-gallery {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.events-gallery .g-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  height: 200px;
  background-size: cover; background-position: center;
}
.events-gallery .g-item.tall { grid-row: span 2; height: 416px; }
.events-gallery .g-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,37,64,.85));
  transition: opacity var(--transition);
}
.events-gallery .g-item span {
  position: absolute; bottom: 16px; left: 16px;
  color: #fff; font-weight: 600; z-index: 2;
  font-size: 14px;
}

/* Timeline */
.timeline {
  margin-top: 80px;
  position: relative;
}
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: rgba(255,255,255,.2);
  transform: translateX(-50%);
}
.timeline-item {
  display: grid; grid-template-columns: 1fr 60px 1fr; gap: 0;
  margin-bottom: 40px;
  align-items: center;
}
.timeline-item .step {
  width: 50px; height: 50px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-weight: 700;
  margin: 0 auto;
  position: relative; z-index: 2;
  box-shadow: 0 0 0 6px var(--color-blue);
}
.timeline-item .content {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  padding: 22px;
  border-radius: var(--radius-md);
}
.timeline-item .content h4 { color: #fff; margin-bottom: 6px; }
.timeline-item .content p { color: rgba(255,255,255,.75); font-size: 14px; margin: 0; }
.timeline-item:nth-child(even) .content { grid-column: 3; }
.timeline-item:nth-child(odd) .content { grid-column: 1; text-align: right; }
.timeline-item:nth-child(odd) .step { grid-column: 2; }
.timeline-item:nth-child(even) .step { grid-column: 2; }

/* ---------- Portfolio ---------- */
.portfolio-filters {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-bottom: 40px;
}
.portfolio-filters .filter {
  padding: 10px 22px; border-radius: 999px;
  background: var(--bg-card); border: 1px solid var(--border);
  font-weight: 600; color: var(--heading);
  font-size: 14px;
  transition: all var(--transition);
}
.portfolio-filters .filter.active,
.portfolio-filters .filter:hover { background: var(--gradient-accent); color: #fff; border-color: transparent; }

.portfolio-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.portfolio-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.portfolio-item:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.portfolio-item .image {
  height: 240px; background-size: cover; background-position: center;
  position: relative; overflow: hidden;
}
.portfolio-item .image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,37,64,.65));
}
.portfolio-item .meta {
  padding: 22px;
}
.portfolio-item .tag {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--color-orange); font-weight: 700;
}
.portfolio-item h3 { font-size: 19px; margin: 8px 0; }
.portfolio-item p { color: var(--text-soft); font-size: 14px; }

/* ---------- Testimonials ---------- */
.testimonials-slider {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
}
.testimonial::before {
  content: "“"; position: absolute; top: -12px; left: 24px;
  font-size: 80px; color: var(--color-orange); font-family: Georgia, serif;
  line-height: 1;
}
.testimonial .stars { color: #f59e0b; margin-bottom: 14px; font-size: 15px; }
.testimonial p { color: var(--text); margin-bottom: 22px; font-size: 15.5px; }
.testimonial .author { display: flex; align-items: center; gap: 12px; }
.testimonial .author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.testimonial .author strong { display: block; color: var(--heading); font-size: 15px; }
.testimonial .author span { color: var(--text-soft); font-size: 13px; }

/* ---------- Why Choose ---------- */
.why-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.why-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.why-card:hover { transform: translateY(-6px); border-color: var(--color-orange); box-shadow: var(--shadow-md); }
.why-icon {
  width: 70px; height: 70px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff; font-size: 26px;
  display: grid; place-items: center;
  position: relative;
}
.why-icon::after {
  content: ""; position: absolute; inset: -6px;
  border-radius: 50%; border: 2px dashed var(--color-orange);
  opacity: 0; transition: opacity var(--transition);
}
.why-card:hover .why-icon::after { opacity: 1; }
.why-card h3 { font-size: 17px; margin-bottom: 10px; }
.why-card p { color: var(--text-soft); font-size: 14px; }

/* ---------- Blog ---------- */
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.blog-card {
  background: var(--bg-card); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card .image { height: 200px; background-size: cover; background-position: center; }
.blog-card .content { padding: 24px; }
.blog-card .meta-info { font-size: 13px; color: var(--text-soft); margin-bottom: 10px; }
.blog-card .meta-info span { color: var(--color-orange); font-weight: 600; }
.blog-card h3 { font-size: 19px; margin-bottom: 10px; line-height: 1.3; }
.blog-card p { color: var(--text-soft); font-size: 14.5px; margin-bottom: 14px; }
.blog-card a.read-more { color: var(--color-orange); font-weight: 600; font-size: 14px; cursor: pointer; }
.blog-card .article-full {
  margin: 4px 0 14px;
  padding: 14px 16px;
  background: rgba(249, 115, 22, 0.06);
  border-left: 3px solid var(--color-orange);
  border-radius: 8px;
  animation: fadeInArticle .35s ease;
}
.blog-card .article-full p {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}
@keyframes fadeInArticle {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; }
.contact-info { background: var(--gradient-primary); color: #fff; padding: 40px; border-radius: var(--radius-lg); }
.contact-info h3 { color: #fff; font-size: 24px; margin-bottom: 16px; }
.contact-info p { color: rgba(255,255,255,.85); margin-bottom: 28px; }
.contact-info .info-item {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 22px;
}
.contact-info .info-item i {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.1);
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--color-orange); font-size: 18px; flex-shrink: 0;
}
.contact-info .info-item strong { display: block; color: #fff; font-size: 14px; }
.contact-info .info-item span { color: rgba(255,255,255,.8); font-size: 14px; }
.contact-info .socials { display: flex; gap: 12px; margin-top: 28px; }
.contact-info .socials a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: grid; place-items: center; color: #fff;
  transition: all var(--transition);
}
.contact-info .socials a:hover { background: var(--color-orange); transform: translateY(-3px); }

.contact-form {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.contact-form h3 { font-size: 22px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 14px; color: var(--heading); margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  background: var(--input-bg);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--color-orange);
  box-shadow: 0 0 0 4px rgba(249,115,22,.12);
  background: var(--bg-card);
}
.form-group textarea { min-height: 130px; resize: vertical; }

.map { margin-top: 60px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.map iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item.open { box-shadow: var(--shadow-md); }
.faq-q {
  width: 100%; text-align: left;
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; color: var(--heading); font-size: 16px;
}
.faq-q i { transition: transform var(--transition); color: var(--color-orange); }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height var(--transition), padding var(--transition);
  padding: 0 24px;
  color: var(--text-soft);
}
.faq-item.open .faq-a { max-height: 280px; padding: 0 24px 22px; }

/* ---------- CTA Strip ---------- */
.cta-strip {
  background: var(--gradient-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 50px;
  display: grid; grid-template-columns: 1.5fr auto; gap: 30px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-strip::before {
  content: ""; position: absolute; top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(249,115,22,.4), transparent 70%);
}
.cta-strip h2 { color: #fff; font-size: 28px; margin-bottom: 8px; position: relative; }
.cta-strip p { color: rgba(255,255,255,.85); position: relative; }
.cta-strip .btn { position: relative; }

/* ---------- Footer ---------- */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 20px; letter-spacing: 1px; text-transform: uppercase; }
.footer-brand p { font-size: 14.5px; margin: 18px 0; }
.footer-brand .socials { display: flex; gap: 10px; }
.footer-brand .socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center; color: #fff;
  transition: all var(--transition);
}
.footer-brand .socials a:hover { background: var(--color-orange); transform: translateY(-3px); }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14.5px; color: rgba(255,255,255,.7); }
.footer-links a:hover { color: var(--color-orange); padding-left: 6px; }

.newsletter input {
  width: 100%; padding: 13px 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  color: #fff; font-size: 14px;
  margin-bottom: 12px;
}
.newsletter input::placeholder { color: rgba(255,255,255,.4); }
.newsletter button { width: 100%; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 26px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 13.5px;
}

/* ---------- Floating WhatsApp ---------- */
.fab-whatsapp {
  position: fixed; bottom: 28px; right: 28px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-size: 28px;
  box-shadow: 0 14px 30px rgba(37, 211, 102, .45);
  z-index: 90;
  animation: pulseGreen 2.5s infinite;
  transition: transform var(--transition);
}
.fab-whatsapp:hover { transform: scale(1.08); }
@keyframes pulseGreen {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
  50% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* ---------- Page Header (subpages) ---------- */
.page-header {
  padding: 180px 0 90px;
  background: var(--gradient-primary);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(249,115,22,.18), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,.06), transparent 40%);
}
.page-header .container { position: relative; }
.page-header h1 { color: #fff; font-size: clamp(34px, 5vw, 52px); margin-bottom: 14px; }
.page-header p { color: rgba(255,255,255,.85); max-width: 720px; margin: 0 auto; font-size: 17px; }
.breadcrumb { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.7); }
.breadcrumb a { color: var(--color-orange); }

/* ===========================================================
   ADVANCED ANIMATIONS
   =========================================================== */

/* ---------- Reveal on scroll variants ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-60px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(60px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-zoom { opacity: 0; transform: scale(.85); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal-zoom.visible { opacity: 1; transform: scale(1); }
.reveal-rotate { opacity: 0; transform: rotate(-6deg) translateY(40px); transition: opacity 1s ease, transform 1s ease; }
.reveal-rotate.visible { opacity: 1; transform: rotate(0) translateY(0); }

/* Stagger children */
.stagger > * { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.stagger.visible > *:nth-child(1) { opacity:1; transform:translateY(0); transition-delay: .05s; }
.stagger.visible > *:nth-child(2) { opacity:1; transform:translateY(0); transition-delay: .15s; }
.stagger.visible > *:nth-child(3) { opacity:1; transform:translateY(0); transition-delay: .25s; }
.stagger.visible > *:nth-child(4) { opacity:1; transform:translateY(0); transition-delay: .35s; }
.stagger.visible > *:nth-child(5) { opacity:1; transform:translateY(0); transition-delay: .45s; }
.stagger.visible > *:nth-child(6) { opacity:1; transform:translateY(0); transition-delay: .55s; }
.stagger.visible > *:nth-child(7) { opacity:1; transform:translateY(0); transition-delay: .65s; }
.stagger.visible > *:nth-child(8) { opacity:1; transform:translateY(0); transition-delay: .75s; }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: var(--gradient-accent);
  z-index: 200;
  transition: width .15s ease;
  box-shadow: 0 0 12px rgba(249,115,22,.6);
}

/* ---------- Animated gradient title ---------- */
.gradient-text {
  background: linear-gradient(90deg, var(--color-orange), var(--color-blue-2), var(--color-orange));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 6s linear infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ---------- Floating shapes (hero) ---------- */
.hero .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  z-index: 1;
}
.hero .shape-1 { width: 80px; height: 80px; top: 18%; left: 8%; background: radial-gradient(circle, rgba(249,115,22,.55), transparent 70%); animation: floatY 8s ease-in-out infinite; }
.hero .shape-2 { width: 120px; height: 120px; top: 65%; left: 12%; background: radial-gradient(circle, rgba(30,64,175,.5), transparent 70%); animation: floatY 10s ease-in-out infinite reverse; }
.hero .shape-3 { width: 60px; height: 60px; top: 30%; right: 18%; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%); animation: floatX 9s ease-in-out infinite; }
.hero .shape-4 { width: 140px; height: 140px; top: 70%; right: 8%; background: radial-gradient(circle, rgba(249,115,22,.35), transparent 70%); animation: floatY 12s ease-in-out infinite; }
@keyframes floatY {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-40px) scale(1.05); }
}
@keyframes floatX {
  0%,100% { transform: translateX(0) scale(1); }
  50% { transform: translateX(30px) scale(1.1); }
}

/* ---------- Parallax hero text ---------- */
.hero-text { will-change: transform; }

/* ---------- Tilt 3D card ---------- */
.tilt {
  transform-style: preserve-3d;
  transition: transform .15s ease-out;
  will-change: transform;
}
.tilt > * { transform: translateZ(0); }

/* ---------- Service card icon bounce ---------- */
.service-card .service-icon { transition: transform .5s cubic-bezier(.34,1.56,.64,1); }
.service-card:hover .service-icon { animation: iconBounce .6s ease; }
@keyframes iconBounce {
  0%,100% { transform: rotate(0) scale(1); }
  30% { transform: rotate(-12deg) scale(1.15); }
  60% { transform: rotate(8deg) scale(1.05); }
}

/* ---------- Shimmer button ---------- */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before {
  content: ""; position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transition: left .7s ease;
}
.btn-primary:hover::before { left: 100%; }

/* ---------- Marquee partners/keywords ---------- */
.marquee {
  overflow: hidden;
  padding: 30px 0;
  background: var(--gradient-primary);
  position: relative;
}
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--color-blue), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--color-blue), transparent); }
.marquee-track {
  display: flex; gap: 60px; width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-item {
  color: rgba(255,255,255,.85);
  font-family: var(--font-heading); font-weight: 700;
  font-size: 22px; letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 16px;
  white-space: nowrap;
}
.marquee-item i { color: var(--color-orange); font-size: 14px; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Glow pulse on accent ---------- */
.glow {
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(249,115,22,.4); }
  50% { box-shadow: 0 0 0 18px rgba(249,115,22,0); }
}

/* ---------- Card hover lift with glow ---------- */
.service-card, .blog-card, .why-card, .portfolio-item, .testimonial {
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease, border-color .4s ease, background .4s ease;
}
.service-card:hover, .blog-card:hover, .why-card:hover {
  box-shadow: 0 30px 60px rgba(10,37,64,.12), 0 0 0 1px rgba(249,115,22,.1);
}

/* ---------- Image hover zoom ---------- */
.portfolio-item .image, .blog-card .image {
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.portfolio-item:hover .image, .blog-card:hover .image {
  transform: scale(1.08);
}

/* ---------- Underline animated link ---------- */
.read-more {
  position: relative; display: inline-flex; gap: 8px;
}
.read-more::after {
  content: ""; position: absolute;
  bottom: -3px; left: 0;
  width: 100%; height: 2px;
  background: var(--color-orange);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s ease;
}
.read-more:hover::after { transform: scaleX(1); transform-origin: left; }
.read-more:hover i { transform: translateX(4px); }
.read-more i { transition: transform .3s ease; }

/* ---------- Page enter animation ---------- */
.page-header h1 { animation: slideDown 1s cubic-bezier(.2,.8,.2,1) both; }
.page-header p { animation: slideDown 1s cubic-bezier(.2,.8,.2,1) .15s both; }
.page-header .breadcrumb { animation: slideDown 1s cubic-bezier(.2,.8,.2,1) .3s both; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Hero text animation ---------- */
.hero h1 { animation: heroIn 1.1s cubic-bezier(.2,.8,.2,1) both; }
.hero p { animation: heroIn 1.1s cubic-bezier(.2,.8,.2,1) .2s both; }
.hero .hero-eyebrow { animation: heroIn 1.1s cubic-bezier(.2,.8,.2,1) both; }
.hero .hero-actions { animation: heroIn 1.1s cubic-bezier(.2,.8,.2,1) .35s both; }
.hero .hero-stats { animation: heroIn 1.1s cubic-bezier(.2,.8,.2,1) .5s both; }
.hero .hero-visual { animation: heroIn 1.2s cubic-bezier(.2,.8,.2,1) .25s both; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .events-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .timeline::before { left: 24px; }
  .timeline-item { grid-template-columns: 50px 1fr; gap: 20px; }
  .timeline-item:nth-child(odd) .content,
  .timeline-item:nth-child(even) .content { grid-column: 2; text-align: left; }
  .timeline-item:nth-child(odd) .step,
  .timeline-item:nth-child(even) .step { grid-column: 1; }
  .events-features { grid-template-columns: 1fr; }
  .cta-strip { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 768px) {
  .nav-menu {
    position: fixed; top: 76px; left: 0; right: 0;
    background: var(--bg-card); padding: 24px;
    flex-direction: column; gap: 18px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform var(--transition);
  }
  .nav-menu.open { transform: translateY(0); }
  .menu-toggle { display: grid; }
  .nav-cta .btn:not(.menu-toggle) { display: none; }
  .section { padding: 70px 0; }
  .counters { grid-template-columns: repeat(2, 1fr); padding: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .events-gallery .g-item.tall { grid-row: auto; height: 200px; }
  .hero { padding: 130px 0 60px; }
  .about-image .badge { left: 16px; bottom: -24px; }
}

/* ==========================================================
   v3 — Hero slideshow, serif accents, teasers, polish
   ========================================================== */

/* ---------- Serif accents (Playfair Display) ---------- */
.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
}
em.serif-italic { font-style: italic; }
h1 .serif-italic, h2 .serif-italic, h3 .serif-italic {
  background: linear-gradient(120deg, var(--color-orange), var(--color-orange-2));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  letter-spacing: -.5px;
}
.hero h1 .serif-italic {
  background: linear-gradient(120deg, #ffb88a, var(--color-orange));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Type scale & spacing improvements ---------- */
body { line-height: 1.7; letter-spacing: .01em; }
p { margin-bottom: 1.05em; }
h1 { letter-spacing: -1.5px; }
h2 { letter-spacing: -.8px; line-height: 1.15; }
h3 { line-height: 1.3; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--text-soft); margin-bottom: 1.8rem; }
.eyebrow {
  display: inline-block;
  font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--color-orange); font-weight: 700;
  margin-bottom: 18px;
}
.eyebrow-orange { color: var(--color-orange); }
/* Use the standard 96px section padding from the base — no override here */
.section-tight { padding: 36px 0; }
.center-cta { text-align: center; margin-top: 40px; }
/* Tighten the partners section after testimonials (avoid double background gap) */
.partners-section { padding-top: 80px; padding-bottom: 60px; }
/* CTA strip inner padding reduced when used inside .section-tight */
.section-tight .cta-strip { padding: 36px 40px; }

/* ---------- Hero slideshow ---------- */
.hero-slider {
  min-height: 90vh;
  position: relative;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  color: #fff;
  overflow: hidden;
  background: var(--color-blue);
}
.hero-slider .container { position: relative; z-index: 3; }
.hero-slides {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease, transform 6s ease;
  will-change: opacity, transform;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(249,115,22,.22), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(30,64,175,.45), transparent 50%),
    linear-gradient(120deg, rgba(10,37,64,.85) 0%, rgba(10,37,64,.7) 60%, rgba(30,64,175,.55) 100%);
  z-index: 1;
}

/* Hero content (single column now) */
.hero-content { max-width: 880px; }
.hero h1 {
  font-size: clamp(36px, 5.5vw, 70px);
  line-height: 1.05;
  color: #fff;
  margin-bottom: 24px;
  font-weight: 800;
}
.hero-lead {
  font-size: clamp(17px, 1.4vw, 21px);
  color: rgba(255,255,255,.88);
  margin-bottom: 36px;
  max-width: 720px;
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 60px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 32px;
  max-width: 720px;
}
.hero-stats .stat strong {
  font-size: clamp(26px, 3vw, 38px);
  font-family: var(--font-heading);
  color: #fff; display: block; line-height: 1;
}
.hero-stats .stat span {
  font-size: 12px; color: rgba(255,255,255,.7);
  letter-spacing: 2px; text-transform: uppercase;
  display: block; margin-top: 6px;
}

/* Hero dots */
.hero-dots {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 12px; z-index: 4;
}
.dot-btn {
  width: 36px; height: 4px;
  background: rgba(255,255,255,.3);
  border-radius: 4px;
  cursor: pointer;
  transition: background .3s ease, width .3s ease;
}
.dot-btn:hover { background: rgba(255,255,255,.6); }
.dot-btn.active { background: var(--color-orange); width: 60px; }

/* Hero scroll indicator */
.hero-scroll {
  position: absolute; bottom: 60px; right: 30px;
  width: 28px; height: 50px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 14px;
  display: none;
  z-index: 4;
}
.hero-scroll span {
  position: absolute; left: 50%; top: 8px;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: #fff;
  border-radius: 2px;
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 30px; }
}
@media (min-width: 1024px) {
  .hero-scroll { display: block; }
}

/* ---------- Teaser layouts ---------- */
.teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.teaser-grid h2 {
  font-size: clamp(30px, 3.5vw, 46px);
  margin-bottom: 20px;
}
.rounded-img {
  width: 100%; height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* Events mosaic */
.events-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 480px;
}
.events-mosaic .m-item {
  border-radius: var(--radius-lg);
  background-size: cover; background-position: center;
  position: relative;
  overflow: hidden;
  transition: transform .5s ease;
}
.events-mosaic .m-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,37,64,.55));
}
.events-mosaic .m-item:hover { transform: scale(1.03); }
.events-mosaic .m-1 { grid-row: 1 / 3; }
.events-mosaic .m-2 { grid-row: 1; grid-column: 2; }
.events-mosaic .m-3 { grid-row: 2; grid-column: 2; }

/* ---------- Service card mini variant ---------- */
.service-card.mini {
  padding: 30px 26px;
  text-align: left;
}
.service-card.mini h3 { font-size: 18px; }
.service-card.mini p { font-size: 14.5px; margin-bottom: 0; line-height: 1.6; }
.service-card.mini ul { display: none; }
.service-card.mini .service-icon { width: 56px; height: 56px; font-size: 22px; margin-bottom: 18px; }

/* ---------- Section heads & body spacing ---------- */
.section-head h2 { font-size: clamp(30px, 4vw, 46px); }
.section-head p { font-size: 17px; line-height: 1.7; }

/* ---------- Card paddings polish ---------- */
.testimonial { padding: 36px 32px; }
.testimonial p { line-height: 1.65; font-size: 16px; }
.blog-card .content { padding: 26px; }
.portfolio-item .meta { padding: 22px 24px; }

/* ---------- Improved button ---------- */
.btn {
  padding: 15px 30px;
  font-size: 15px;
}
.btn-ghost {
  border: 2px solid rgba(255,255,255,.4);
  color: #fff;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: #fff; color: var(--color-blue); }

/* ---------- Fade slideshow timing ---------- */
@keyframes kenBurns {
  0% { transform: scale(1) translate(0,0); }
  100% { transform: scale(1.1) translate(-1%, -1%); }
}
.hero-slide.active { animation: kenBurns 9s ease-out forwards; }

/* ---------- Newsletter footer polish ---------- */
.newsletter p { font-size: 14px; margin-bottom: 14px; line-height: 1.6; opacity: .85; }

/* ---------- Reveal up (additional) ---------- */
.reveal-up { opacity: 0; transform: translateY(50px); transition: opacity 1s ease, transform 1s ease; }
.reveal-up.visible { opacity: 1; transform: translateY(0); }

/* ---------- Float-in animation for stats ---------- */
.hero-stats .stat { opacity: 0; transform: translateY(20px); animation: floatIn .8s ease forwards; }
.hero-stats .stat:nth-child(1) { animation-delay: .9s; }
.hero-stats .stat:nth-child(2) { animation-delay: 1.05s; }
.hero-stats .stat:nth-child(3) { animation-delay: 1.2s; }
.hero-stats .stat:nth-child(4) { animation-delay: 1.35s; }
@keyframes floatIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Card glow ring on tilt ---------- */
.tilt {
  position: relative;
}
.tilt::after {
  content: "";
  position: absolute; inset: -1px;
  border-radius: inherit;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(249,115,22,.22), transparent 70%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.tilt:hover::after { opacity: 1; }

/* ---------- Smooth mobile hero ---------- */
@media (max-width: 768px) {
  .teaser-grid { grid-template-columns: 1fr; }
  .events-mosaic { height: 360px; }
  .hero-slider { min-height: auto; padding: 120px 0 80px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .hero h1 { font-size: clamp(30px, 8vw, 42px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { padding: 12px 22px; font-size: 14px; }
  .section-head { margin-bottom: 36px; }
  .marquee-item { font-size: 16px; }
  .nav-cta .theme-toggle { width: 40px; height: 40px; }
  .container { width: min(100% - 1.5rem, var(--container)); }
  .testimonial { padding: 28px 24px; }
  .blog-card .content, .portfolio-item .meta { padding: 20px; }
}
@media (max-width: 480px) {
  .hero-dots .dot-btn { width: 28px; }
  .hero-dots .dot-btn.active { width: 44px; }
}

/* ---------- Print ---------- */
@media print {
  .header, .footer, .marquee, .scroll-progress, .fab-whatsapp, .hero-dots, .theme-toggle, .menu-toggle { display: none !important; }
}

/* ==========================================================
   v4 — Animated testimonials slider + partners carousel
   ========================================================== */

/* ---------- Testimonials carousel (auto-rotate) ---------- */
.testimonials-carousel {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
}
.testi-track {
  position: relative;
  min-height: 320px;
  perspective: 1200px;
}
.testi-slide {
  position: absolute; inset: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 50px 50px 36px;
  box-shadow: var(--shadow-md);
  text-align: center;
  opacity: 0;
  transform: translateX(90px) scale(.9) rotateY(10deg);
  filter: blur(10px);
  pointer-events: none;
  will-change: transform, opacity, filter;
  transition:
    opacity .9s cubic-bezier(.22, 1, .36, 1),
    transform 1s cubic-bezier(.22, 1, .36, 1),
    filter .8s ease;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.testi-slide.active {
  opacity: 1;
  transform: translateX(0) scale(1) rotateY(0);
  filter: blur(0);
  pointer-events: auto;
  position: relative;
  z-index: 2;
}
.testi-slide.exit-left {
  opacity: 0;
  transform: translateX(-90px) scale(.9) rotateY(-10deg);
  filter: blur(10px);
}
.testi-slide.exit-right {
  opacity: 0;
  transform: translateX(90px) scale(.9) rotateY(10deg);
  filter: blur(10px);
}
.testi-quote-icon {
  width: 60px; height: 60px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-size: 22px;
  box-shadow: var(--shadow-orange);
  margin-bottom: 4px;
  animation: pulseQuote 2s ease infinite;
}
@keyframes pulseQuote {
  0%, 100% { box-shadow: 0 8px 20px rgba(249,115,22,.3); }
  50% { box-shadow: 0 8px 30px rgba(249,115,22,.55); }
}
.testi-slide .stars { color: #f59e0b; font-size: 16px; }
.testi-slide p {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.6;
  color: var(--text);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  margin: 0;
  max-width: 720px;
}
.testi-slide .author {
  display: flex; align-items: center; gap: 14px;
  margin-top: 8px;
}
.testi-slide .author img {
  width: 60px; height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-card);
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.testi-slide .author strong { display: block; color: var(--heading); font-size: 16px; }
.testi-slide .author span { color: var(--text-soft); font-size: 13px; }

.testi-controls {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  margin-top: 32px;
}
.testi-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--heading);
  display: grid; place-items: center;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition);
}
.testi-arrow:hover {
  background: var(--gradient-accent);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}
/* Progress bar (auto-rotate indicator) */
.testi-progress {
  position: relative;
  height: 4px;
  background: rgba(10, 37, 64, .08);
  border-radius: 4px;
  margin: 0 auto 18px;
  overflow: hidden;
  max-width: 200px;
}
[data-theme="dark"] .testi-progress { background: rgba(255, 255, 255, .1); }
.testi-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-orange), #ffb88a);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(249, 115, 22, .4);
}

.testi-dots { display: flex; gap: 10px; }
.t-dot {
  width: 10px; height: 10px;
  background: var(--border);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition);
}
.t-dot:hover { background: var(--text-soft); }
.t-dot.active {
  background: var(--color-orange);
  width: 32px;
  border-radius: 5px;
  box-shadow: 0 0 0 4px rgba(249,115,22,.15);
}

/* ---------- Partners carousel ---------- */
.partners-section { padding-bottom: 70px; }
.partners-track-wrap {
  overflow: hidden;
  padding: 14px 0;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.partners-track {
  display: flex;
  gap: 50px;
  width: max-content;
  animation: partnersScroll 35s linear infinite;
}
.partners-track:hover { animation-play-state: paused; }
.partner-logo {
  width: 220px;
  height: 110px;
  display: grid; place-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 28px;
  flex-shrink: 0;
  transition: all var(--transition);
  filter: grayscale(100%);
  opacity: .55;
}
.partner-logo img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition);
}
.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-orange);
}
.partner-logo:hover img { transform: scale(1.05); }
[data-theme="dark"] .partner-logo { background: rgba(255,255,255,.95); }
@keyframes partnersScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .testi-slide { padding: 40px 24px 28px; }
  .testi-slide p { font-size: 16px; }
  .partner-logo { width: 160px; height: 90px; padding: 14px 20px; }
  .partners-track { gap: 30px; animation-duration: 25s; }
}

/* ==========================================================
   v5 — Fix invisible text on dark sections
   ========================================================== */

/* Events teaser : tout le texte doit être blanc sur fond bleu foncé */
.events-section .teaser-grid h2,
.events-section .teaser-grid h3,
.events-section .section-head h2 {
  color: #fff;
}
.events-section .teaser-grid p,
.events-section .section-head p,
.events-section .lead {
  color: rgba(255, 255, 255, .88);
}
.events-section .eyebrow,
.events-section .eyebrow-orange {
  color: var(--color-orange);
}
.events-section em.serif-italic {
  background: linear-gradient(120deg, #ffb88a, var(--color-orange));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* Footer subtitle in newsletter */
.footer .newsletter p { color: rgba(255,255,255,.7); }

/* ==========================================================
   v6 — Extraordinary scroll animations (all pages)
   ========================================================== */

/* Shared timing */
:root {
  --rv-dur: 1.1s;
  --rv-ease: cubic-bezier(.22, 1, .36, 1);
  --rv-ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
}

/* Blur-in reveal */
.reveal-blur {
  opacity: 0;
  filter: blur(18px) saturate(.6);
  transform: translateY(40px) scale(.96);
  transition: opacity var(--rv-dur) var(--rv-ease),
              filter var(--rv-dur) var(--rv-ease),
              transform var(--rv-dur) var(--rv-ease);
}
.reveal-blur.visible {
  opacity: 1; filter: blur(0) saturate(1); transform: none;
}

/* Clip-path wipe (from bottom) */
.reveal-clip {
  clip-path: inset(0 0 100% 0);
  transform: translateY(20px);
  opacity: 0;
  transition: clip-path 1.2s var(--rv-ease),
              transform 1.2s var(--rv-ease),
              opacity .6s ease;
}
.reveal-clip.visible {
  clip-path: inset(0 0 0 0);
  transform: none;
  opacity: 1;
}

/* Clip-path wipe (from left) */
.reveal-clip-x {
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  transition: clip-path 1.2s var(--rv-ease), opacity .5s ease;
}
.reveal-clip-x.visible {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}

/* 3D flip horizontal */
.reveal-flip-x {
  opacity: 0;
  transform: perspective(900px) rotateX(-70deg) translateY(40px);
  transform-origin: center bottom;
  transition: opacity .9s ease, transform 1.1s var(--rv-ease);
  backface-visibility: hidden;
}
.reveal-flip-x.visible {
  opacity: 1;
  transform: perspective(900px) rotateX(0deg) translateY(0);
}

/* 3D flip vertical */
.reveal-flip-y {
  opacity: 0;
  transform: perspective(900px) rotateY(70deg);
  transform-origin: left center;
  transition: opacity .9s ease, transform 1.1s var(--rv-ease);
}
.reveal-flip-y.visible {
  opacity: 1;
  transform: perspective(900px) rotateY(0);
}

/* Overshoot bounce */
.reveal-bounce {
  opacity: 0;
  transform: translateY(60px) scale(.85);
  transition: opacity .7s ease, transform 1s var(--rv-ease-bounce);
}
.reveal-bounce.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Slide mask (text reveal) */
.reveal-mask {
  position: relative;
  overflow: hidden;
  display: inline-block;
}
.reveal-mask > * {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--rv-ease);
}
.reveal-mask.visible > * {
  transform: translateY(0);
}
.reveal-mask::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-orange);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform .9s var(--rv-ease) .15s;
}
.reveal-mask.visible::after {
  transform: scaleX(0);
  transform-origin: left;
}

/* Glow flash */
.reveal-glow {
  opacity: 0;
  transform: translateY(30px);
  box-shadow: 0 0 0 rgba(249, 115, 22, 0);
  transition: opacity .9s ease, transform .9s var(--rv-ease), box-shadow 1.4s ease;
}
.reveal-glow.visible {
  opacity: 1;
  transform: none;
  animation: glowFlash 1.4s ease;
}
@keyframes glowFlash {
  0% { box-shadow: 0 0 0 rgba(249, 115, 22, 0); }
  40% { box-shadow: 0 0 60px rgba(249, 115, 22, .55); }
  100% { box-shadow: 0 0 0 rgba(249, 115, 22, 0); }
}

/* Tilt 3D entrance */
.reveal-tilt {
  opacity: 0;
  transform: perspective(1000px) rotateX(20deg) rotateY(-15deg) translateY(60px) scale(.9);
  transition: opacity 1s ease, transform 1.2s var(--rv-ease);
}
.reveal-tilt.visible {
  opacity: 1;
  transform: perspective(1000px) rotateX(0) rotateY(0) translateY(0) scale(1);
}

/* Stagger children with elastic bounce */
.stagger-pop > * {
  opacity: 0;
  transform: translateY(40px) scale(.9);
  transition: opacity .7s ease, transform .9s var(--rv-ease-bounce);
}
.stagger-pop.visible > *:nth-child(1) { transition-delay: .05s; }
.stagger-pop.visible > *:nth-child(2) { transition-delay: .15s; }
.stagger-pop.visible > *:nth-child(3) { transition-delay: .25s; }
.stagger-pop.visible > *:nth-child(4) { transition-delay: .35s; }
.stagger-pop.visible > *:nth-child(5) { transition-delay: .45s; }
.stagger-pop.visible > *:nth-child(6) { transition-delay: .55s; }
.stagger-pop.visible > *:nth-child(7) { transition-delay: .65s; }
.stagger-pop.visible > *:nth-child(8) { transition-delay: .75s; }
.stagger-pop.visible > *:nth-child(9) { transition-delay: .85s; }
.stagger-pop.visible > * {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Scroll-driven CSS variables (set by JS) */
[data-parallax] {
  will-change: transform;
  transform: translate3d(0, calc(var(--scroll-y, 0) * 1px * var(--p-speed, .15)), 0);
}
[data-parallax-rotate] {
  will-change: transform;
  transform: rotate(calc(var(--scroll-y, 0) * 0.04deg));
}

/* Section-wide scroll progress underline for h2 */
.section h2.reveal-underline {
  position: relative;
  display: inline-block;
}
.section h2.reveal-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: -8px;
  height: 4px; width: 0;
  background: linear-gradient(90deg, var(--color-orange), #ffb88a);
  border-radius: 2px;
  transition: width 1.1s var(--rv-ease) .3s;
}
.section h2.reveal-underline.visible::after { width: 100%; }

/* Floating gentle drift on cards (after reveal) */
@keyframes driftFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.drift-float.visible {
  animation: driftFloat 6s ease-in-out infinite;
  animation-delay: 1.2s;
}

/* Marquee speed on scroll (driven by --scroll-speed) */
.marquee-track {
  animation-duration: calc(30s / max(var(--scroll-speed, 1), .3)) !important;
}

/* Smooth scroll global */
html { scroll-behavior: smooth; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-zoom, .reveal-rotate, .reveal-up,
  .reveal-blur, .reveal-clip, .reveal-clip-x, .reveal-flip-x, .reveal-flip-y,
  .reveal-bounce, .reveal-mask, .reveal-glow, .reveal-tilt, .stagger-pop > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
    transition: none !important;
    animation: none !important;
  }
  .reveal-mask::after { display: none; }
  html { scroll-behavior: auto; }
}

/* ============ Legal / Privacy page ============ */
.legal-content {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text, #334155);
}
.legal-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  margin: 38px 0 12px;
  color: var(--color-dark, #0A2540);
}
.legal-content p { margin: 0 0 16px; }
.legal-content ul {
  margin: 0 0 18px;
  padding-left: 22px;
}
.legal-content li { margin-bottom: 8px; }
.legal-content a {
  color: var(--color-primary, #F4A300);
  text-decoration: underline;
}
[data-theme="dark"] .legal-content { color: #cbd5e1; }
[data-theme="dark"] .legal-content h2 { color: #fff; }

/* ==========================================================
   v7 — Responsive complet (tablette → très petit mobile)
   Placé en fin de feuille pour primer via la cascade.
   ========================================================== */

/* ---- Tablette large / petit desktop (≤ 1024px) ---- */
@media (max-width: 1024px) {
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 48px; }
  .cta-strip { padding: 44px; }
  .page-header { padding: 150px 0 70px; }
  .nav-menu { gap: 22px; }
}

/* ---- Tablette portrait & mobile (≤ 768px) ---- */
@media (max-width: 768px) {
  /* Menu mobile scrollable si écran court (7 liens + safe area) */
  .nav-menu {
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .section { padding: 64px 0; }
  .page-header { padding: 130px 0 56px; }
  .cta-strip { padding: 36px 28px; }
  .cta-strip h2 { font-size: 23px; }
  .section-tight .cta-strip { padding: 32px 24px; }
  .events-features { grid-template-columns: 1fr; }
  .events-gallery { grid-template-columns: 1fr 1fr; }
}

/* ---- Mobile large (≤ 600px) : 1 colonne garantie ---- */
@media (max-width: 600px) {
  .services-grid,
  .portfolio-grid,
  .blog-grid,
  .why-grid,
  .pricing-grid,
  .team-grid,
  .values,
  .events-gallery { grid-template-columns: 1fr; }
  .events-gallery .g-item,
  .events-gallery .g-item.tall { height: 220px; }
  .cta-strip { grid-template-columns: 1fr; text-align: center; }
  .cta-strip h2 { font-size: 21px; }
  .btn { padding: 12px 22px; font-size: 14px; }
  .fab-whatsapp { width: 54px; height: 54px; bottom: 18px; right: 18px; }
  .section-head p { font-size: 16px; }
}

/* ---- Petit mobile (≤ 480px) ---- */
@media (max-width: 480px) {
  .container { width: min(100% - 1.25rem, var(--container)); }
  .section { padding: 52px 0; }
  .page-header { padding: 120px 0 48px; }
  .hero-stats { gap: 14px; }
  .hero-stats .stat span { font-size: 10px; letter-spacing: 1px; }
  .counters { grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 22px; }
  .counter strong { font-size: 30px; }
  .cta-strip { padding: 28px 20px; }
  .cta-strip .btn { width: 100%; justify-content: center; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .testi-slide { padding: 32px 18px 24px; }
  .testi-slide p { font-size: 15px; }
  .marquee-item { font-size: 14px; }
  .breadcrumb { font-size: 13px; }
  .legal-content { font-size: 15px; }
  .legal-content h2 { font-size: 20px; }
}

/* ---- Très petit mobile (≤ 360px) ---- */
@media (max-width: 360px) {
  .hero h1 { font-size: 26px; }
  .nav { padding: 12px 0; }
  .counters { grid-template-columns: 1fr; }
  .footer-grid { gap: 28px; }
}
