/* ============================================================
   JOFAGIST — styles.css
   ============================================================ */

/* 1. VARIABLES
   ============================================================ */
:root {
  --blue:        #1877b8;
  --blue-dark:   #0a2540;
  --blue-mid:    #1456a0;
  --blue-light:  #e8f3fb;
  --amber:       #f0a50a;
  --amber-dark:  #d48e08;
  --text:        #1a2332;
  --body:        #4a5568;
  --muted:       #6b7a8d;
  --light:       #f7f9fc;
  --border:      #e2e8f0;
  --white:       #ffffff;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
  --shadow:      0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:   0 10px 40px rgba(0,0,0,0.18);
  --radius:      12px;
  --radius-sm:   6px;
  --transition:  0.3s ease;
  --container:   1240px;
  --nav-h:       76px;
}

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

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

/* 3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead { font-size: 1.15rem; color: var(--body); line-height: 1.8; }

.text-blue  { color: var(--blue); }
.text-amber { color: var(--amber); }
.text-muted { color: var(--muted); }
.text-white { color: var(--white); }
.text-center { text-align: center; }

/* 4. LAYOUT
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 90px 0; }
.section--light { background: var(--light); }
.section--dark  { background: var(--blue-dark); }
.section--blue  { background: var(--blue); }

.section-header { margin-bottom: 56px; }
.section-header.text-center { max-width: 680px; margin-left: auto; margin-right: auto; }

.section-tag {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.section--dark .section-tag,
.section--blue .section-tag {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

.section-header h2 { margin-bottom: 14px; }

.section-header p {
  font-size: 1.05rem;
  color: var(--body);
  max-width: 580px;
}

.section--dark .section-header h2,
.section--dark .section-header p { color: var(--white); }
.section--blue .section-header h2 { color: var(--white); }
.section--blue .section-header p { color: rgba(255,255,255,0.85); }

.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* 5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--amber);
  color: var(--text);
  border-color: var(--amber);
}
.btn-primary:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240,165,10,0.35);
}

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

.btn-blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-blue:hover {
  background: var(--blue-mid);
  border-color: var(--blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(24,119,184,0.35);
}

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

.btn-lg { padding: 16px 38px; font-size: 1.05rem; }
.btn-sm { padding: 10px 22px; font-size: 0.875rem; }

/* 6. HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  height: var(--nav-h);
  transition: box-shadow var(--transition);
}

.site-header.scrolled { box-shadow: var(--shadow); }

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.nav-logo img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-menu { display: flex; align-items: center; gap: 4px; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active { color: var(--blue); background: var(--blue-light); }

.nav-link .nav-arrow {
  width: 16px; height: 16px;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.nav-item.has-dropdown:hover .nav-arrow { transform: rotate(180deg); }

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 10px 22px !important;
}
.nav-cta:hover {
  background: var(--blue-mid) !important;
  color: var(--white) !important;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  padding: 10px;
  margin-top: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition);
  border: 1px solid var(--border);
}

/* Invisible bridge so the pointer never leaves the hoverable area
   while moving from the nav link down into the dropdown. */
.dropdown::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-item.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text);
  transition: all var(--transition);
}

.dropdown a:hover { background: var(--light); color: var(--blue); }

.dropdown a .dd-icon {
  width: 36px; height: 36px;
  background: var(--blue-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1rem;
  flex-shrink: 0;
}

.dropdown a small {
  display: block;
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 1px;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 6px;
  transition: background var(--transition);
}
.nav-toggle:hover { background: var(--light); }

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 7. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.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(10, 37, 64, 0.88) 0%,
    rgba(10, 37, 64, 0.65) 60%,
    rgba(24, 119, 184, 0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.hero-tag {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid rgba(240,165,10,0.4);
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  max-width: 700px;
}

.hero h1 span { color: var(--amber); }

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 580px;
  margin-bottom: 40px;
  line-height: 1.75;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-small {
  min-height: 380px;
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
}

.hero-small .hero-content { padding: 60px 0; }
.hero-small h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}
.breadcrumb a { color: rgba(255,255,255,0.7); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: var(--amber); }

/* 8. CARDS
   ============================================================ */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body { padding: 28px; }
.card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.card p { font-size: 0.95rem; color: var(--body); margin-bottom: 20px; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--blue);
  transition: gap var(--transition);
}
.card-link:hover { gap: 10px; }

/* 9. SERVICE CARDS (homepage)
   ============================================================ */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 1px solid var(--border);
  text-align: left;
  position: relative;
  transition: all var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.service-icon {
  width: 64px; height: 64px;
  background: var(--blue-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.8rem;
  color: var(--blue);
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--blue);
  color: var(--white);
}

.service-card h3 { margin-bottom: 14px; font-size: 1.25rem; }
.service-card p { font-size: 0.95rem; margin-bottom: 24px; }

.service-card .card-link { color: var(--blue); }

/* 10. STATS
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat-item {
  text-align: center;
  padding: 50px 30px;
  background: var(--blue-dark);
}

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

/* 11. STEPS / PROCESS
   ============================================================ */
.steps { display: flex; flex-direction: column; gap: 28px; }

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 52px; height: 52px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.step-content h4 { margin-bottom: 6px; color: var(--text); }
.step-content p { font-size: 0.95rem; margin: 0; }

/* 12. GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,37,64,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
}

.gallery-carousel { display: flex; align-items: center; gap: 16px; }

.gallery-carousel-track {
  flex: 1;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 4px;
}

.gallery-carousel-track .gallery-item {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

.gallery-carousel-track::-webkit-scrollbar { height: 6px; }
.gallery-carousel-track::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

@media (max-width: 640px) {
  .gallery-carousel { gap: 8px; }
  .gallery-carousel-track .gallery-item { flex-basis: 220px; }
}

/* 13. FEATURES / AVANTAGES
   ============================================================ */
.feature-list { display: flex; flex-direction: column; gap: 18px; }

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.1rem;
}

.feature-icon--amber { background: rgba(240,165,10,0.12); color: var(--amber-dark); }

.feature-content h4 { margin-bottom: 4px; font-size: 1rem; }
.feature-content p { font-size: 0.9rem; margin: 0; }

/* 14. ABOUT / TWO-COL
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.two-col--reverse > *:first-child { order: 2; }
.two-col--reverse > *:last-child  { order: 1; }

.about-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.about-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
}

.img-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--white);
  border-radius: 10px;
  padding: 14px 20px;
  box-shadow: var(--shadow);
}

.img-badge strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}

.img-badge span { font-size: 0.8rem; color: var(--muted); }

.content-block h2 { margin-bottom: 16px; }
.content-block .lead { margin-bottom: 28px; }
.content-block .btn { margin-top: 10px; }

/* 15. BLOG
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.blog-card { border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--border); display: flex; flex-direction: column; transition: all var(--transition); }

.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }

.blog-card-img { width: 100%; height: 200px; object-fit: cover; }

.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.blog-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 3px 10px;
  border-radius: 20px;
}

.blog-date { font-size: 0.8rem; color: var(--muted); }

.blog-card h3 { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.4; }
.blog-card p { font-size: 0.9rem; flex: 1; margin-bottom: 20px; }
.blog-card .card-link { margin-top: auto; }

/* 16. ARTICLE CONTENT
   ============================================================ */
.article-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: start;
}

.article-content h2 { font-size: 1.8rem; margin: 40px 0 16px; }
.article-content h3 { font-size: 1.35rem; margin: 30px 0 12px; }
.article-content p  { margin-bottom: 18px; line-height: 1.8; }
.article-content ul { padding-left: 22px; list-style: disc; margin-bottom: 18px; }
.article-content ul li { margin-bottom: 8px; line-height: 1.7; }
.article-content img {
  width: 100%;
  border-radius: var(--radius);
  margin: 30px 0;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.article-meta-bar .blog-cat { font-size: 0.75rem; }
.article-meta-bar time { font-size: 0.85rem; color: var(--muted); }
.article-meta-bar .read-time { font-size: 0.85rem; color: var(--muted); }

.article-sidebar { position: sticky; top: calc(var(--nav-h) + 30px); }

.sidebar-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
}

.sidebar-card h4 { margin-bottom: 16px; font-size: 1rem; }

.sidebar-card .btn { width: 100%; justify-content: center; }

.related-articles .blog-card { flex-direction: row; gap: 0; }
.related-articles .blog-card-img { width: 90px; height: 90px; flex-shrink: 0; }
.related-articles .blog-card-body { padding: 14px; }
.related-articles .blog-card h3 { font-size: 0.9rem; margin-bottom: 6px; }
.related-articles .blog-meta { margin-bottom: 6px; }

/* 17. CONTACT FORM
   ============================================================ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: start;
}

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(24,119,184,0.12);
}

.form-control::placeholder { color: var(--muted); }

textarea.form-control { resize: vertical; min-height: 140px; }

select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7a8d' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-submit .btn { width: 100%; justify-content: center; }

.contact-info { display: flex; flex-direction: column; gap: 20px; }

.info-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  background: var(--light);
  border-radius: var(--radius);
}

.info-icon {
  width: 48px; height: 48px;
  background: var(--blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-text strong { display: block; font-family: 'Poppins', sans-serif; font-weight: 600; margin-bottom: 4px; color: var(--text); }
.info-text span { font-size: 0.9rem; color: var(--body); }

.form-success {
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  padding: 14px 18px;
  border-radius: 8px;
  margin-top: 16px;
  font-size: 0.9rem;
  display: none;
}

/* 18. TIMELINE
   ============================================================ */
.timeline { position: relative; padding-left: 36px; }

.timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item { position: relative; margin-bottom: 44px; }
.timeline-item:last-child { margin-bottom: 0; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -31px;
  top: 6px;
  width: 14px; height: 14px;
  background: var(--blue);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue);
}

.timeline-year {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.timeline-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.timeline-item p { font-size: 0.95rem; margin: 0; }

/* 19. TEAM
   ============================================================ */
.team-card {
  text-align: center;
}

.team-photo {
  width: 200px; height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  margin: 0 auto 20px;
  border: 4px solid var(--blue-light);
}

.team-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.team-card .role { font-size: 0.88rem; color: var(--blue); font-weight: 600; margin-bottom: 12px; }
.team-card p { font-size: 0.9rem; }

/* 20. VALUES / ICONS GRID
   ============================================================ */
.value-card {
  text-align: center;
  padding: 36px 24px;
}

.value-icon {
  width: 72px; height: 72px;
  background: var(--blue-light);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.9rem;
  color: var(--blue);
}

.value-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.value-card p { font-size: 0.9rem; }

/* 21. CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-section .btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* 22. FOOTER
   ============================================================ */
.site-footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.75);
  padding-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand .footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover { color: var(--white); }
.footer-links a::before { content: '→'; font-size: 0.7rem; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--amber);
  margin-top: 3px;
  width: 16px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--white); }

.footer-copy { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-credit { color: rgba(255,255,255,0.5); }

/* 22b. PHOTO CREDIT WATERMARK
   ============================================================ */
.gallery-item::after,
.about-img-wrap::after,
.before-after::after,
.ba-carousel-img::after,
.article-photo::after {
  content: "©JOFAGIST";
  position: absolute;
  bottom: 10px;
  right: 10px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  pointer-events: none;
  z-index: 3;
}

.article-photo { position: relative; border-radius: var(--radius); overflow: hidden; display: inline-block; width: 100%; }
.article-photo img { display: block; width: 100%; border-radius: var(--radius); }

.hero-photo-credit {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 2;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

/* 23. PAGE SPECIFIC — Salle de bains avant/après
   ============================================================ */
.before-after {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.before-after img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.before-after-labels {
  position: absolute;
  top: 16px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 16px;
}

.ba-label {
  background: rgba(10,37,64,0.75);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
}

/* 23b. BEFORE/AFTER CAROUSEL
   ============================================================ */
.ba-carousel { display: flex; align-items: center; gap: 16px; }

.ba-carousel-track { flex: 1; overflow: hidden; }

.ba-carousel-slide { display: none; }
.ba-carousel-slide.active { display: block; }

.ba-carousel-pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.ba-carousel-img { position: relative; border-radius: var(--radius); overflow: hidden; }

.ba-carousel-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.ba-carousel-img .ba-label { position: absolute; top: 16px; left: 16px; }

.ba-carousel-caption {
  text-align: center;
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--muted);
}

.ba-carousel-meta {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.ba-carousel-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.ba-carousel-meta i { color: var(--blue); }

.ba-carousel-arrow {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.ba-carousel-arrow:hover { background: var(--blue); color: var(--white); }

.ba-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.ba-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
}

.ba-dot.active { background: var(--blue); }

@media (max-width: 640px) {
  .ba-carousel { gap: 8px; }
  .ba-carousel-pair { gap: 8px; }
  .ba-carousel-img img { height: 220px; }
  .ba-carousel-arrow { width: 38px; height: 38px; }
}

/* 24. PILL LIST
   ============================================================ */
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

.pill {
  background: var(--blue-light);
  color: var(--blue);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 20px;
}

/* 25. SCROLL REVEAL
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

/* 26. WHATSAPP FLOTTANT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  :root { --container: 100%; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }

  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col--reverse > *:first-child { order: 1; }
  .two-col--reverse > *:last-child  { order: 2; }

  .article-wrap { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }

  .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .section { padding: 60px 0; }

  /* Nav mobile */
  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 20px 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 999;
    gap: 0;
    border-top: 1px solid var(--border);
  }

  .nav-menu.open { transform: translateX(0); }

  .nav-list { flex-direction: column; gap: 2px; width: 100%; }

  .nav-link {
    padding: 14px 16px;
    font-size: 1rem;
    justify-content: space-between;
    border-radius: 10px;
  }

  .dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--light);
    border-radius: 10px;
    margin: 4px 0 8px 16px;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .dropdown::before { display: none; }

  .nav-item.has-dropdown.open .dropdown { display: block; }
  .nav-item.has-dropdown.open .nav-arrow { transform: rotate(180deg); }
  .nav-item.has-dropdown:hover .dropdown { opacity: 0; visibility: hidden; }

  .nav-cta {
    margin-top: 12px;
    justify-content: center;
    border-radius: 10px !important;
    padding: 14px 22px !important;
  }

  /* Grids */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }

  .hero { min-height: 90svh; }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .two-col { gap: 36px; }
  .about-img-wrap img { height: 300px; }

  .stat-item { padding: 36px 20px; }
  .stat-number { font-size: 2.4rem; }

  .section-header { margin-bottom: 36px; }

  .footer-brand .footer-logo { margin-bottom: 14px; }

  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.9rem; }
  .btn-lg { padding: 14px 26px; font-size: 0.95rem; }
}
