@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --cream: #FAF7F2;
  --warm-white: #FFFEF9;
  --caramel: #C4874A;
  --deep-caramel: #9B6535;
  --forest: #3D5A47;
  --deep-forest: #2A3E32;
  --blush: #F0C9A0;
  --soft-blush: #FBE8D5;
  --charcoal: #2C2C2C;
  --mid-gray: #6B6B6B;
  --light-gray: #E8E4DE;
  --shadow: rgba(60, 40, 10, 0.12);
  --shadow-lg: rgba(60, 40, 10, 0.22);
  --radius: 18px;
  --radius-sm: 10px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========= NAVBAR ========= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(196, 135, 74, 0.15);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 30px var(--shadow);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--caramel), var(--deep-caramel));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--deep-caramel);
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--caramel);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--caramel);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--caramel);
  color: white !important;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  transition: background var(--transition), transform 0.2s !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--deep-caramel) !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hamburger → ✕ quand menu ouvert */
.mobile-nav.active ~ * .hamburger span:nth-child(1),
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-nav.active ~ * .hamburger span:nth-child(2),
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.mobile-nav.active ~ * .hamburger span:nth-child(3),
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========= HERO ========= */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a2e20 0%, #2d4a2d 40%, #3D5A47 70%, #5a7a50 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://elevagenoscompagonselite.com/wp-content/uploads/2025/06/pexels-valeriya-1805164-1024x1536.jpg') center/cover no-repeat;
  opacity: 0.35;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center bottom, rgba(196,135,74,0.25) 0%, transparent 60%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
  max-width: 800px;
  animation: heroFadeIn 1.2s ease both;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--blush);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  color: white;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.hero-title em {
  color: var(--blush);
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 2.5rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: white;
  color: var(--deep-caramel);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.btn-primary:hover {
  background: var(--blush);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

.btn-secondary {
  background: rgba(255,255,255,0.12);
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-3px);
}

.btn-caramel {
  background: var(--caramel);
  color: white;
  box-shadow: 0 6px 20px rgba(196,135,74,0.35);
}

.btn-caramel:hover {
  background: var(--deep-caramel);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(196,135,74,0.45);
}

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

.btn-outline:hover {
  background: var(--caramel);
  color: white;
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 28px;
  height: 28px;
  border-right: 2px solid rgba(255,255,255,0.5);
  border-bottom: 2px solid rgba(255,255,255,0.5);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ========= SECTIONS ========= */
.section {
  padding: 6rem 2rem;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--caramel);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.section-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--caramel);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title em {
  color: var(--caramel);
  font-style: italic;
}

.section-subtitle {
  color: var(--mid-gray);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* ========= STATS BAND ========= */
.stats-band {
  background: var(--forest);
  padding: 3rem 2rem;
}

.stats-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  color: white;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--blush);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
}

/* ========= APERCU ANIMAUX (HOME) ========= */
.apercu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.animal-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.animal-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px var(--shadow-lg);
}

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

.animal-card-img-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--soft-blush), var(--blush));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.animal-card-body {
  padding: 1.2rem 1.4rem 1.4rem;
}

.animal-card-type {
  display: inline-block;
  background: var(--soft-blush);
  color: var(--deep-caramel);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
}

.animal-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.3rem;
}

.animal-card-info {
  display: flex;
  gap: 1rem;
  font-size: 0.83rem;
  color: var(--mid-gray);
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}

.animal-card-info span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.animal-card-desc {
  font-size: 0.88rem;
  color: var(--mid-gray);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.animal-card .btn {
  width: 100%;
  justify-content: center;
  padding: 0.65rem;
  font-size: 0.88rem;
}

/* ========= FILTER TABS ========= */
.filter-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.5rem 1.3rem;
  border-radius: 50px;
  border: 2px solid var(--light-gray);
  background: white;
  color: var(--mid-gray);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-tab:hover, .filter-tab.active {
  border-color: var(--caramel);
  background: var(--caramel);
  color: white;
}

/* ========= PROCEDURE ========= */
.procedure-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.step-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 4px 20px var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--caramel), var(--forest));
}

.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--soft-blush);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.step-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--charcoal);
  margin-bottom: 0.6rem;
}

.step-desc {
  color: var(--mid-gray);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ========= ABOUT ========= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

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

.about-img-placeholder {
  width: 100%;
  height: 480px;
  background: url('../images/acceuil.jpg') center/cover no-repeat;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--caramel);
  color: white;
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: 0 8px 30px rgba(196,135,74,0.4);
}

.about-badge-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}

.about-badge-label {
  font-size: 0.8rem;
  opacity: 0.9;
}

.values-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: white;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--caramel);
  box-shadow: 0 2px 10px var(--shadow);
}

.value-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.value-title {
  font-weight: 600;
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}

.value-desc {
  font-size: 0.85rem;
  color: var(--mid-gray);
}

/* ========= CONTACT ========= */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-card {
  background: var(--forest);
  border-radius: var(--radius);
  padding: 2.5rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.contact-info-card::after {
  content: '🐾';
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  font-size: 8rem;
  opacity: 0.07;
  line-height: 1;
}

.contact-info-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.contact-info-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.15rem;
}

.contact-detail-value {
  font-weight: 500;
  font-size: 0.95rem;
  word-break: break-all;
}

/* CONFIG BOX - Editable fields */
.config-box {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
  margin-top: 1rem;
}

.config-box-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.config-value {
  color: var(--blush);
  font-weight: 600;
}

/* FORM */
.contact-form {
  background: white;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 8px 40px var(--shadow);
}

.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.form-subtitle {
  color: var(--mid-gray);
  font-size: 0.88rem;
  margin-bottom: 1.8rem;
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  color: var(--charcoal);
  background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--caramel);
  box-shadow: 0 0 0 3px rgba(196, 135, 74, 0.12);
  background: white;
}

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

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

.form-success {
  display: none;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  text-align: center;
  font-weight: 500;
}

/* ========= MODAL ========= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: white;
  border-radius: var(--radius);
  max-width: 580px;
  width: 100%;
  overflow: hidden;
  transform: translateY(30px) scale(0.97);
  transition: transform var(--transition);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.modal-img-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--soft-blush), var(--blush));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.modal-body {
  padding: 2rem;
}

.modal-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.modal-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.modal-tag {
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--soft-blush);
  color: var(--deep-caramel);
}

.modal-desc {
  color: var(--mid-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: white;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  z-index: 10;
  transition: background var(--transition);
}

.modal-close:hover {
  background: var(--light-gray);
}

/* ========= FOOTER SIMPLE ========= */
.footer-simple {
  border-top: 1px solid var(--light-gray);
  background: var(--warm-white);
  padding: 2.5rem 2rem 1.5rem;
}

.footer-simple-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
}

.footer-simple-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2rem;
}

.footer-simple-nav a {
  text-decoration: none;
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.footer-simple-nav a:hover {
  color: var(--caramel);
}

.footer-simple-contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-simple-contact a {
  color: var(--mid-gray);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-simple-contact a:hover {
  color: var(--caramel);
}

.footer-sep {
  color: var(--light-gray);
}

.footer-simple-social {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid-gray);
  text-decoration: none;
  transition: all var(--transition);
}

.social-icon:hover {
  border-color: var(--caramel);
  color: var(--caramel);
  background: var(--soft-blush);
}

.footer-simple-bottom {
  font-size: 0.8rem;
  color: var(--mid-gray);
  padding-top: 1rem;
  border-top: 1px solid var(--light-gray);
  width: 100%;
  text-align: center;
}

@media (max-width: 600px) {
  .footer-sep { display: none; }
  .footer-simple-contact { flex-direction: column; gap: 0.5rem; }
}

/* ========= PAGE HEADER ========= */
.page-header {
  background: var(--warm-white);
  border-bottom: 1px solid var(--light-gray);
  padding: 6rem 2rem 2.5rem;
  text-align: center;
  position: relative;
}

.page-header::before {
  content: none;
}

.page-header-content {
  position: relative;
  z-index: 1;
}

.page-header-tag {
  display: inline-block;
  color: var(--caramel);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--charcoal);
  margin-bottom: 0.8rem;
}

.page-header p {
  color: var(--mid-gray);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ========= MOBILE NAV ========= */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--warm-white);
  padding: 1.5rem 2rem;
  z-index: 999;
  box-shadow: 0 10px 30px var(--shadow);
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid var(--light-gray);
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  text-decoration: none;
  color: var(--charcoal);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--light-gray);
  transition: color var(--transition);
}

.mobile-nav a:hover {
  color: var(--caramel);
}

/* ========= RESPONSIVE ========= */
@media (max-width: 1024px) {
.about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-badge {
    bottom: 1rem;
    right: 1rem;
  }
}

@media (max-width: 768px) {
  .navbar { padding: 0 1.2rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .form-row { grid-template-columns: 1fr; }
.section { padding: 4rem 1.2rem; }
  
  .procedure-steps {
    grid-template-columns: 1fr;
  }
  
  .apercu-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .filter-tabs { justify-content: center; }
}

/* ========= ANIMATIONS ========= */
.fade-in {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ========= ACTIVE PAGE NAV ========= */
.nav-links a.active {
  color: var(--caramel);
}

.nav-links a.active::after {
  width: 100%;
}

/* Skeleton loader */
.skeleton {
  background: linear-gradient(90deg, var(--light-gray) 25%, var(--cream) 50%, var(--light-gray) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

@keyframes shimmer {
  from { background-position: -200% 0; }
  to { background-position: 200% 0; }
}
