/* ==========================================================================
   DESIGN SYSTEM - SITE JMJ ROSNY 2027
   ========================================================================== */

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

:root {
  /* Colors */
  --primary: #0A2540;
  --primary-light: #153C66;
  --secondary-blue: #1B5299;
  --secondary-red: #D92534;
  --accent-gold: #F2A900;
  --accent-orange: #F27A18;
  --accent-green: #4CAF50;
  --text-dark: #1C2D42;
  --text-muted: #5F738C;
  --bg-light: #F6F8FC;
  --bg-card: #FFFFFF;
  --border-color: #E2E8F0;
  
  /* Gradients */
  --grad-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  --grad-jmj: linear-gradient(135deg, var(--secondary-blue) 0%, var(--secondary-red) 100%);
  --grad-accent: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-gold) 100%);
  --grad-light: linear-gradient(180deg, #FFFFFF 0%, #F6F8FC 100%);
  
  /* Fonts */
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout & Spacing */
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 6px rgba(10, 37, 64, 0.04);
  --shadow-md: 0 12px 24px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 20px 40px rgba(10, 37, 64, 0.12);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.section-padding {
  padding: 5rem 0;
}

.text-center {
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--grad-jmj);
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 1.5rem auto 3rem auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  font-family: var(--font-title);
  font-weight: 600;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 1rem;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--grad-primary);
  color: white;
  box-shadow: 0 8px 16px rgba(10, 37, 64, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(10, 37, 64, 0.3);
}

.btn-secondary {
  background: var(--grad-accent);
  color: white;
  box-shadow: 0 8px 16px rgba(242, 122, 24, 0.2);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(242, 122, 24, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
}

.logos-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-link img {
  height: 50px;
  width: auto;
  transition: var(--transition-smooth);
}

.logo-link:hover img {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 0.5rem 0.2rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-jmj);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--secondary-blue);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--secondary-blue);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   HERO / BANNER (CAROUSEL)
   ========================================================================== */

.hero-slider {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: var(--primary);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
}

.slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
}

.slide-content {
  position: relative;
  z-index: 10;
  color: white;
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-logos-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease;
}

.hero-logo {
  height: 110px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.slide-content h2 {
  font-size: 3.2rem;
  font-family: var(--font-title);
  color: white;
  margin-bottom: 1.5rem;
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  animation: fadeInUp 1.2s ease;
}

.slide-content p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  animation: fadeInUp 1.4s ease;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  animation: fadeInUp 1.6s ease;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.dot.active {
  background: white;
  transform: scale(1.2);
}

/* ==========================================================================
   COUNTDOWN WIDGET
   ========================================================================== */

.countdown-section {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.countdown-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(242, 169, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.countdown-title {
  color: white;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.countdown-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.countdown-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  min-width: 120px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
}

.countdown-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
}

.countdown-value {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-gold);
  text-shadow: 0 0 10px rgba(242, 169, 0, 0.3);
  margin-bottom: 0.5rem;
}

.countdown-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   CARDS (NEWS & EVENTS)
   ========================================================================== */

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(27, 82, 153, 0.15);
}

.card-header {
  height: 10px;
  background: var(--grad-jmj);
}

.card-header.accent {
  background: var(--grad-accent);
}

.card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--secondary-blue);
  background: rgba(27, 82, 153, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.card-tag.accent {
  color: var(--accent-orange);
  background: rgba(242, 122, 24, 0.08);
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-footer-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.card-date {
  font-weight: 500;
  color: var(--primary);
}

/* ==========================================================================
   JMJ PAGE STYLING
   ========================================================================== */

.jmj-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.jmj-concept-box {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.jmj-theme-highlight {
  background: linear-gradient(135deg, rgba(27, 82, 153, 0.05) 0%, rgba(217, 37, 52, 0.05) 100%);
  border-left: 5px solid var(--secondary-blue);
  padding: 2rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
}

.theme-title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.theme-desc {
  font-style: italic;
  color: var(--text-muted);
}

/* Cure Message */
.cure-section {
  background: var(--primary);
  color: white;
  border-radius: var(--radius-lg);
  padding: 4rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cure-section::after {
  content: '"';
  position: absolute;
  right: 50px;
  bottom: -20px;
  font-size: 15rem;
  color: rgba(255, 255, 255, 0.05);
  font-family: Georgia, serif;
  line-height: 1;
}

.cure-grid {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 3rem;
  align-items: center;
}

.cure-portrait {
  text-align: center;
}

.portrait-placeholder {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 4px solid var(--accent-gold);
  margin: 0 auto 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 3rem;
}

.cure-name {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 600;
}

.cure-title {
  color: var(--accent-gold);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cure-message-content blockquote {
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   INSCRIPTION PAGE & CHECKLIST
   ========================================================================== */

.practical-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.info-box {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition-smooth);
}

.info-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-blue);
}

.info-icon {
  font-size: 2.2rem;
  color: var(--secondary-blue);
  margin-bottom: 1rem;
}

.info-box h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.info-box p {
  color: var(--text-muted);
  font-weight: 500;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 3rem auto 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--border-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 1.5rem 2.5rem;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  top: 1.8rem;
  background: var(--bg-card);
  border: 4px solid var(--secondary-blue);
  border-radius: 50%;
  z-index: 1;
  transition: var(--transition-smooth);
}

.timeline-item:nth-child(even)::after {
  left: -10px;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
}

.timeline-item:hover::after {
  background: var(--secondary-blue);
  transform: scale(1.2);
}

.timeline-content {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.timeline-date {
  font-family: var(--font-title);
  color: var(--secondary-blue);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Forms (Pre-inscription & Contact) */
.form-container {
  max-width: 650px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-title);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  color: var(--text-dark);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-blue);
  box-shadow: 0 0 0 3px rgba(27, 82, 153, 0.1);
}

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

.form-success {
  display: none;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid var(--accent-green);
  color: var(--primary);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  margin-bottom: 2rem;
  animation: fadeIn 0.5s ease;
}

.form-success-icon {
  font-size: 2rem;
  color: var(--accent-green);
  margin-bottom: 0.5rem;
}

/* Interactive Checklist */
.checklist-box {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  max-width: 800px;
  margin: 0 auto;
}

.checklist-progress-bar {
  height: 8px;
  background: var(--border-color);
  border-radius: 4px;
  margin: 1.5rem 0;
  overflow: hidden;
}

.checklist-progress-fill {
  height: 100%;
  background: var(--grad-jmj);
  width: 0%;
  transition: width 0.4s ease;
}

.checklist-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.checklist-category h3 {
  font-size: 1.15rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  color: var(--secondary-blue);
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
  cursor: pointer;
  font-size: 0.95rem;
}

.checklist-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--secondary-blue);
  cursor: pointer;
}

.checklist-item.checked span {
  text-decoration: line-through;
  color: var(--text-muted);
}

/* ==========================================================================
   FINANCEMENT PAGE
   ========================================================================== */

.service-booking-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.agenda-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.agenda-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  transition: var(--transition-smooth);
}

.agenda-item:hover {
  transform: translateX(5px);
  border-color: rgba(27, 82, 153, 0.2);
  box-shadow: var(--shadow-sm);
}

.agenda-date-badge {
  background: var(--grad-primary);
  color: white;
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  flex-shrink: 0;
}

.badge-day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.badge-month {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.9;
}

.agenda-details h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.agenda-details p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.agenda-price {
  margin-left: auto;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent-orange);
  background: rgba(242, 122, 24, 0.08);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

/* ==========================================================================
   DON (DONATIONS) PAGE
   ========================================================================== */

.don-hero {
  background: linear-gradient(135deg, rgba(27, 82, 153, 0.05) 0%, rgba(242, 169, 0, 0.05) 100%);
  border-radius: var(--radius-lg);
  padding: 4rem;
  text-align: center;
  border: 1px solid var(--border-color);
  margin-bottom: 4rem;
}

.don-highlight-card {
  max-width: 550px;
  margin: 2rem auto 0 auto;
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border-top: 5px solid var(--accent-gold);
}

.don-highlight-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.don-highlight-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.donation-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.don-method-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.don-method-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary-blue);
}

.don-method-icon {
  font-size: 2.5rem;
  color: var(--accent-orange);
  margin-bottom: 1.25rem;
}

.don-method-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.don-method-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.don-details-box {
  background: var(--bg-light);
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  border: 1px dashed var(--border-color);
}

/* ==========================================================================
   CONTACT & PHOTO GALLERY
   ========================================================================== */

.about-box {
  background: var(--bg-card);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 4rem;
}

.about-box p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-dark);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 37, 64, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: var(--transition-smooth);
  padding: 1rem;
  text-align: center;
}

.gallery-overlay span {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.gallery-overlay p {
  font-size: 0.85rem;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  opacity: 0.8;
}

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

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

.gallery-item:hover .gallery-overlay span,
.gallery-item:hover .gallery-overlay p {
  transform: translateY(0);
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 37, 64, 0.95);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 85%;
  max-height: 80vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  border: 2px solid white;
}

.lightbox-caption {
  color: white;
  text-align: center;
  margin-top: 1rem;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 1.1rem;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lightbox-close:hover {
  color: var(--accent-gold);
  transform: scale(1.1);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: var(--primary);
  color: white;
  padding: 4rem 0 2rem 0;
  border-top: 5px solid var(--accent-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand-logos {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand-logos img {
  height: 55px;
  background: white;
  padding: 5px;
  border-radius: 50%;
}

.footer-brand-logos img.jmj-footer-logo {
  border-radius: var(--radius-sm);
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  max-width: 320px;
}

.footer-title {
  color: white;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-title);
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-gold);
}

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

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */

@media (max-width: 992px) {
  .hero-slider {
    height: 500px;
  }
  .slide-content h2 {
    font-size: 2.5rem;
  }
  .jmj-intro-grid,
  .cure-grid,
  .service-booking-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .cure-portrait {
    order: 2;
  }
  .cure-message-content {
    order: 1;
  }
  .timeline::before {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 3.5rem;
    padding-right: 0;
    text-align: left !important;
  }
  .timeline-item::after {
    left: 10px !important;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 3.5rem 0;
  }
  .section-title {
    font-size: 2rem;
  }
  .menu-toggle {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 68px; /* height of header */
    left: -100%;
    width: 100%;
    height: calc(100vh - 68px);
    background: white;
    flex-direction: column;
    padding: 3rem 1.5rem;
    gap: 2rem;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    align-items: center;
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-link {
    font-size: 1.15rem;
  }
  .hero-slider {
    height: 450px;
  }
  .hero-logos-container {
    gap: 1.5rem;
  }
  .hero-logo {
    height: 75px;
  }
  .slide-content h2 {
    font-size: 1.8rem;
  }
  .slide-content p {
    font-size: 1rem;
  }
  .hero-ctas {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  .hero-ctas .btn {
    width: 100%;
    max-width: 300px;
  }
  .form-container {
    padding: 2rem 1.5rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}
