/* ===== Design System — Abalone Agence d'Emplois Machecoul ===== */
:root {
  /* Palette */
  --color-primary: #1B2A4A;
  --color-primary-dark: #101B32;
  --color-primary-light: #2A4170;
  --color-accent: #E8542C;
  --color-accent-hover: #D04420;
  --color-accent-light: rgba(232, 84, 44, 0.08);
  --color-bg: #FFFFFF;
  --color-bg-alt: #F5F7FA;
  --color-bg-dark: #0F172A;
  --color-text: #1A1A2E;
  --color-text-light: #6B7280;
  --color-text-inverse: #FFFFFF;
  --color-border: #E5E7EB;
  --color-success: #10B981;

  /* Typographie */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Work Sans', sans-serif;

  /* Espacements */
  --section-padding: 6rem 0;
  --section-padding-sm: 4rem 0;
  --container-max: 1200px;
  --gap: 2rem;
  --gap-lg: 3rem;

  /* Effets */
  --radius: 16px;
  --radius-sm: 8px;
  --radius-full: 9999px;
  --shadow: 0 4px 24px rgba(27, 42, 74, 0.08);
  --shadow-hover: 0 12px 40px rgba(27, 42, 74, 0.14);
  --shadow-accent: 0 8px 30px rgba(232, 84, 44, 0.25);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-primary);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
a { color: inherit; text-decoration: none; transition: var(--transition); cursor: pointer; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 1.5rem; }

/* ===== Utilities ===== */
.text-accent { color: var(--color-accent); }
.text-light { color: var(--color-text-light); }
.text-center { text-align: center; }
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}
.section-title {
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 640px;
  line-height: 1.7;
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header .section-subtitle {
  margin: 0 auto;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  justify-content: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(232, 84, 44, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--color-text-inverse);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
}
.btn-outline-dark {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-border);
}
.btn-outline-dark:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.btn-white {
  background: var(--color-bg);
  color: var(--color-primary);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.btn-sm { padding: 0.6rem 1.4rem; font-size: 0.9rem; }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.1rem; }
.btn svg, .btn .btn-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  padding: 0.6rem 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text-inverse);
  letter-spacing: -0.02em;
}
.logo span { color: var(--color-accent); }
.navbar.scrolled .logo { color: var(--color-primary); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: #fff; }
.navbar.scrolled .nav-links a { color: var(--color-text); }
.navbar.scrolled .nav-links a:hover { color: var(--color-accent); }
.nav-cta {
  background: var(--color-accent) !important;
  color: #fff !important;
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius-full);
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--color-accent-hover) !important; }
.nav-cta::after { display: none !important; }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .menu-toggle span { background: var(--color-primary); }
.menu-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.82) 0%, rgba(27, 42, 74, 0.6) 50%, rgba(232, 84, 44, 0.15) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding-top: 6rem;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(232, 84, 44, 0.15);
  border: 1px solid rgba(232, 84, 44, 0.3);
  color: #fff;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero-label .dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.hero h1 {
  color: #fff;
  margin-bottom: 1.25rem;
  font-weight: 800;
  line-height: 1.1;
}
.hero h1 .highlight {
  color: var(--color-accent);
  position: relative;
}
.hero-text {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 560px;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 0;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat {
  flex: 1;
  text-align: center;
  padding: 0 1rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hero-stat:last-child { border-right: none; }
.hero-stat .number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.hero-stat .number .counter { display: inline; }
.hero-stat .label {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  font-weight: 500;
}
/* Floating shapes (WOW effect) */
.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  animation: float-shape 20s ease-in-out infinite;
}
.hero-shape:nth-child(1) {
  width: 400px; height: 400px;
  background: var(--color-accent);
  top: -100px; right: -100px;
  animation-delay: 0s;
}
.hero-shape:nth-child(2) {
  width: 250px; height: 250px;
  background: #fff;
  bottom: 10%; left: 5%;
  animation-delay: -7s;
  animation-duration: 25s;
}
.hero-shape:nth-child(3) {
  width: 180px; height: 180px;
  background: var(--color-accent);
  top: 30%; right: 20%;
  animation-delay: -14s;
  animation-duration: 18s;
}
@keyframes float-shape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(10px, 30px) scale(1.02); }
}

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  padding: 10rem 0 4rem;
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 500px; height: 500px;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0.06;
}
.page-hero h1 { color: #fff; margin-bottom: 0.75rem; }
.page-hero .breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.7); }
.page-hero .breadcrumb a:hover { color: var(--color-accent); }
.page-hero .breadcrumb .sep { font-size: 0.7rem; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 600px; }

/* ===== Section Spacing ===== */
.section { padding: var(--section-padding); }
.section-alt { background: var(--color-bg-alt); }
.section-dark {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.7); }
.section-dark .section-label { color: var(--color-accent); }

/* ===== Services Cards ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.service-card {
  background: var(--color-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--color-border);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.service-card-img {
  height: 220px;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-body { padding: 1.75rem; }
.service-card-icon {
  width: 48px; height: 48px;
  background: var(--color-accent-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.service-card-icon svg { width: 24px; height: 24px; color: var(--color-accent); }
.service-card h3 { margin-bottom: 0.75rem; }
.service-card p { color: var(--color-text-light); font-size: 0.95rem; line-height: 1.7; }
.service-card .btn { margin-top: 1.25rem; }

/* ===== Features / Why Us ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-lg);
  align-items: center;
}
.features-content { max-width: 520px; }
.features-content h2 { margin-bottom: 1.25rem; }
.features-content > p { color: var(--color-text-light); margin-bottom: 2rem; font-size: 1.05rem; }
.feature-list { display: flex; flex-direction: column; gap: 1.25rem; }
.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.feature-icon {
  width: 44px; height: 44px;
  min-width: 44px;
  background: var(--color-accent-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 22px; height: 22px; color: var(--color-accent); }
.feature-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}
.feature-text p { color: var(--color-text-light); font-size: 0.9rem; }
.features-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.features-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
}
.features-image::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 40%;
  background: linear-gradient(to top, rgba(27, 42, 74, 0.3), transparent);
  border-radius: var(--radius);
}

/* ===== Partners ===== */
.partners-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  overflow: hidden;
  padding: 2rem 0;
}
.partners-track img {
  height: 48px;
  width: auto;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: var(--transition);
  flex-shrink: 0;
}
.partners-track img:hover {
  opacity: 1;
  filter: grayscale(0%);
}
/* Infinite scroll animation */
.partners-wrapper {
  overflow: hidden;
  position: relative;
}
.partners-wrapper::before,
.partners-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.partners-wrapper::before { left: 0; background: linear-gradient(90deg, var(--color-bg-alt), transparent); }
.partners-wrapper::after { right: 0; background: linear-gradient(-90deg, var(--color-bg-alt), transparent); }
.partners-scroll {
  display: flex;
  animation: scroll-partners 30s linear infinite;
  width: max-content;
}
.partners-scroll img {
  height: 44px;
  width: auto;
  margin: 0 2.5rem;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: var(--transition);
  flex-shrink: 0;
}
.partners-scroll img:hover { opacity: 1; filter: grayscale(0%); }
@keyframes scroll-partners {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Process Steps ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  counter-reset: step;
}
.process-step {
  text-align: center;
  position: relative;
  counter-increment: step;
}
.process-step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-accent);
  opacity: 0.15;
  margin-bottom: 0.5rem;
  line-height: 1;
}
.process-step-icon {
  width: 56px; height: 56px;
  background: var(--color-accent-light);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.process-step-icon svg { width: 26px; height: 26px; color: var(--color-accent); }
.process-step h4 { margin-bottom: 0.5rem; font-size: 1.05rem; }
.process-step p { color: var(--color-text-light); font-size: 0.9rem; }
/* Connecting line */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 5.5rem;
  right: -1rem;
  width: calc(100% - 56px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--color-border) 0, var(--color-border) 6px, transparent 6px, transparent 12px);
  transform: translateX(50%);
}

/* ===== CTA Banner ===== */
.cta-banner {
  padding: 5rem 0;
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0.08;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -5%;
  width: 300px; height: 300px;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0.05;
}
.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-content h2 { color: #fff; margin-bottom: 1rem; }
.cta-content p { color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-bottom: 2rem; }
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Sectors ===== */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.sector-tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}
.sector-tag:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-light);
  transform: translateY(-2px);
}
.sector-tag svg { width: 20px; height: 20px; color: var(--color-accent); flex-shrink: 0; }

/* ===== Advantages Cards ===== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.advantage-card {
  padding: 2rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: var(--transition);
  text-align: center;
}
.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.advantage-icon {
  width: 56px; height: 56px;
  background: var(--color-accent-light);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.advantage-icon svg { width: 26px; height: 26px; color: var(--color-accent); }
.advantage-card h4 { margin-bottom: 0.5rem; }
.advantage-card p { color: var(--color-text-light); font-size: 0.9rem; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon {
  width: 48px; height: 48px;
  min-width: 48px;
  background: var(--color-accent-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 22px; height: 22px; color: var(--color-accent); }
.contact-item h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.contact-item p, .contact-item a { color: var(--color-text-light); font-size: 0.9rem; }
.contact-item a:hover { color: var(--color-accent); }
.hours-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.3rem 1rem;
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-top: 0.5rem;
}
.hours-grid .day { font-weight: 500; color: var(--color-text); }
.hours-grid .closed { color: var(--color-accent); }
.contact-form-wrapper {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--color-primary);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-bg);
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(232, 84, 44, 0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ===== Map ===== */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  height: 350px;
  margin-top: 2rem;
  border: 1px solid var(--color-border);
}
.map-container iframe { width: 100%; height: 100%; border: none; }

/* ===== Footer ===== */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--gap-lg);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.footer h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 0.5rem; }
.footer ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer a:hover { color: var(--color-accent); }
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
.footer-social a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--color-accent); }
.footer-social a svg { width: 18px; height: 18px; color: rgba(255,255,255,0.7); }
.footer-social a:hover svg { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.85rem;
}
.footer-bottom a { color: var(--color-accent); }
.footer-bottom a:hover { text-decoration: underline; }

/* ===== Service Detail (services page) ===== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  align-items: center;
}
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail-content h3 { font-size: 1.6rem; margin-bottom: 1rem; }
.service-detail-content > p { color: var(--color-text-light); margin-bottom: 1.5rem; line-height: 1.7; }
.service-detail-content ul { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.service-detail-content li {
  display: flex; gap: 0.75rem; align-items: flex-start;
  color: var(--color-text-light); font-size: 0.95rem;
}
.service-detail-content li svg { width: 20px; height: 20px; color: var(--color-success); flex-shrink: 0; margin-top: 2px; }
.service-detail-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.service-detail-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* ===== Reveal Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.revealed { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.revealed { opacity: 1; transform: translateX(0); }
/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.3s; }

/* ===== Prefers Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
  }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .features-image { order: -1; }
  .features-image img { height: 350px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:not(:last-child)::after { display: none; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail.reverse { direction: ltr; }
  .service-detail-image img { height: 300px; }
}

@media (max-width: 768px) {
  :root { --section-padding: 4rem 0; }
  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--color-primary);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  .nav-links.active {
    opacity: 1;
    visibility: visible;
  }
  .nav-links a {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.85) !important;
  }
  .nav-cta {
    padding: 0.75rem 2rem !important;
    font-size: 1.1rem !important;
  }
  .hero { min-height: 100svh; }
  .hero-content { padding-top: 5rem; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .hero-stat { flex: 0 0 calc(50% - 0.5rem); border-right: none; padding: 0.5rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .advantages-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  .container { padding: 0 1rem; }
  .section { padding: 3rem 0; }
  .service-card-body { padding: 1.25rem; }
  .hero-stat .number { font-size: 1.6rem; }
}
