/* ═══════════════════════════════════════════════
   LES CHATS D'LA STREET — Stylesheet
   Extracted from brand/guide-style-chats-dla-street.html
   + site-specific additions
   ═══════════════════════════════════════════════ */

/* ============================================
   FONTS
   ============================================ */
@font-face { font-family: 'Butler'; src: url('../fonts/Butler_Regular.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Butler'; src: url('../fonts/Butler_Bold.otf') format('opentype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Butler'; src: url('../fonts/Butler_Light.otf') format('opentype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'CoolveticaRg'; src: url('../fonts/coolvetica rg.ttf') format('truetype'); font-weight: 400; font-display: swap; }

/* ============================================
   VARIABLES — from brand guide
   ============================================ */
:root {
  --caramel: #b96b1f;
  --caramel-dark: #9A5818;
  --caramel-light: #D4924A;
  --caramel-pale: #F2DCC5;
  --caramel-bg: #FBF2E8;

  --olive: #626f38;
  --olive-dark: #4D572B;
  --olive-light: #7D8E50;
  --olive-pale: #E4E8D6;
  --olive-bg: #F3F5ED;

  --beige: #d6bea6;
  --beige-dark: #BFA88E;
  --beige-light: #E5D5C4;
  --beige-pale: #F0E8DF;
  --beige-bg: #F8F4F0;

  --white: #FFFFFF;
  --dark: #2C2A26;
  --dark-warm: #3A3530;
  --gray-dark: #5A5550;
  --gray: #8A857E;
  --gray-light: #C8C3BC;
  --gray-border: #E5E0D9;
  --warm-white: #FAF8F5;

  --danger: #C04040;
  --danger-light: #FDE8E8;
  --success: #626f38;
  --success-light: #E4E8D6;
  --warning: #b96b1f;
  --warning-light: #FBF2E8;
  --info: #4A7A9B;
  --info-light: #E4EFF6;

  --font-serif: 'Butler', Georgia, serif;
  --font-display: 'CoolveticaRg', -apple-system, sans-serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --font-accent: 'Caveat', cursive;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 50px;
  --radius-full: 9999px;

  --nav-height: 72px;
  --max-width: 1200px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 16px); }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--caramel);
  color: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--caramel); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--caramel-dark); }

/* ============================================
   NAVIGATION
   ============================================ */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-border);
  z-index: 1000;
  height: var(--nav-height);
}

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

.nav-brand { display: flex; align-items: center; }
.nav-logo { height: 48px; width: auto; }

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

.nav-links > li { position: relative; }

.nav-link,
.nav-dropdown-toggle {
  color: var(--gray-dark);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: all 0.25s;
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover, .nav-link.active,
.nav-dropdown-toggle:hover {
  color: var(--caramel-dark);
  background: var(--caramel-bg);
}

.nav-chevron {
  width: 14px; height: 14px;
  transition: transform 0.2s;
}

.nav-dropdown.open .nav-chevron { transform: rotate(180deg); }

/* Dropdown menus */
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  padding: 8px;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  list-style: none;
}

.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 0.85rem;
  color: var(--gray-dark);
  border-radius: var(--radius-sm);
  transition: all 0.15s;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  background: var(--caramel-bg);
  color: var(--caramel-dark);
}

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: var(--space-sm); }

.btn-sm { padding: 8px 20px; font-size: 0.8rem; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav panel */
.nav-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.nav-mobile-overlay.open { opacity: 1; visibility: visible; }

.nav-mobile-panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: var(--white);
  z-index: 1002;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

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

.nav-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md);
  border-bottom: 1px solid var(--gray-border);
}

.nav-mobile-logo { height: 40px; }

.nav-mobile-close {
  background: none; border: none; cursor: pointer;
  color: var(--gray); padding: 4px;
}

.nav-mobile-body { flex: 1; padding: var(--space-md); }

.nav-mobile-group { border-bottom: 1px solid var(--gray-border); }

.nav-mobile-group-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  background: none; border: none; cursor: pointer;
}

.nav-mobile-group-toggle i {
  width: 18px; height: 18px;
  transition: transform 0.2s;
  color: var(--gray);
}

.nav-mobile-group.open .nav-mobile-group-toggle i { transform: rotate(180deg); }

.nav-mobile-group-items {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.nav-mobile-group.open .nav-mobile-group-items { max-height: 500px; }

.nav-mobile-group-items a {
  display: block;
  padding: 10px 0 10px 16px;
  font-size: 0.9rem;
  color: var(--gray-dark);
}

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

.nav-mobile-link {
  display: block;
  padding: 14px 0;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  border-bottom: 1px solid var(--gray-border);
}

.nav-mobile-footer {
  padding: var(--space-md);
  border-top: 1px solid var(--gray-border);
  text-align: center;
}

.nav-mobile-social { display: flex; justify-content: center; gap: var(--space-md); margin-bottom: var(--space-sm); }
.nav-mobile-social a { color: var(--gray); }
.nav-mobile-social a:hover { color: var(--caramel); }
.nav-mobile-footer p { font-size: 0.8rem; color: var(--gray); }

/* ============================================
   LAYOUT
   ============================================ */
main { margin-top: var(--nav-height); }

.page-section {
  padding: var(--space-2xl) var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
}

.page-section-wide {
  padding: var(--space-2xl) var(--space-md);
  max-width: 100%;
}

.page-section-wide > * {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.section-alt {
  background: var(--warm-white);
}

.section-kraft {
  background: var(--beige-bg);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: var(--space-xs);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

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

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  margin-bottom: var(--space-lg);
  color: var(--dark);
}

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

.section-desc {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 600px;
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--caramel-pale) 0%, var(--warm-white) 50%, var(--olive-pale) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}

.hero-paw {
  position: absolute;
  color: var(--caramel);
  opacity: 0.06;
}
.hero-paw-1 { top: 12%; left: 6%; transform: rotate(-25deg); font-size: 120px; }
.hero-paw-2 { top: 55%; right: 4%; transform: rotate(15deg); font-size: 90px; }
.hero-paw-3 { bottom: 8%; left: 12%; transform: rotate(-45deg); font-size: 70px; }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 var(--space-md);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: var(--space-lg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  animation: fadeInUp 0.8s ease;
}

.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--olive);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: var(--space-sm);
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero h1 .line-accent {
  display: block;
  font-style: italic;
  color: var(--caramel);
}

.hero-tagline {
  font-family: var(--font-accent);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--gray-dark);
  margin-bottom: var(--space-md);
  transform: rotate(-1deg);
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-text {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 550px;
  margin: 0 auto var(--space-lg);
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-cta {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.35s both;
}

.hero-stats {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-xl);
  animation: fadeInUp 0.8s ease 0.4s both;
}

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

.hero-stat .number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--caramel);
  display: block;
}

.hero-stat .label {
  font-size: 0.72rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   BUTTONS — from brand guide
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1;
}

.btn-gold { background: var(--caramel); color: var(--white); }
.btn-gold:hover { background: var(--caramel-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(185, 107, 31, 0.3); }

.btn-green { background: var(--olive); color: var(--white); }
.btn-green:hover { background: var(--olive-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(98, 111, 56, 0.3); }

.btn-outline { background: transparent; border-color: var(--gray-border); color: var(--dark); }
.btn-outline:hover { border-color: var(--caramel); color: var(--caramel); }

.btn-ghost { background: var(--caramel-bg); color: var(--caramel-dark); }
.btn-ghost:hover { background: var(--caramel); color: var(--white); }

.btn-white { background: var(--white); color: var(--dark); }
.btn-white:hover { background: var(--caramel-bg); color: var(--caramel-dark); }

.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: #a03030; color: var(--white); transform: translateY(-2px); }

/* ============================================
   BADGES
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-adoptable { background: var(--olive-pale); color: var(--olive-dark); }
.badge-reserve { background: var(--caramel-bg); color: var(--caramel-dark); }
.badge-urgent { background: var(--danger-light); color: var(--danger); animation: pulse-badge 2s infinite; }
.badge-adopte { background: var(--caramel-pale); color: var(--caramel-dark); }
.badge-soins { background: var(--warning-light); color: var(--warning); }

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(192, 64, 64, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(192, 64, 64, 0); }
}

/* ============================================
   CARDS — Cat cards from brand guide
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-md);
}

.cat-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08); color: inherit; }

.cat-card-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.cat-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.cat-card:hover .cat-card-img img { transform: scale(1.05); }

.cat-card-img .card-badge { position: absolute; top: 12px; right: 12px; }

.cat-card-body { padding: var(--space-md); }
.cat-card-body h3 { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; color: var(--dark); }
.cat-card-body .cat-meta { font-size: 0.82rem; color: var(--gray); margin-bottom: var(--space-sm); }
.cat-card-body .cat-desc { font-size: 0.88rem; color: var(--gray-dark); line-height: 1.5; margin-bottom: var(--space-sm); }

.cat-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-tag { font-size: 0.72rem; padding: 4px 12px; background: var(--warm-white); border: 1px solid var(--gray-border); border-radius: var(--radius-full); color: var(--gray); }

/* ============================================
   CONTENT CARDS (generic)
   ============================================ */
.content-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: all 0.3s;
}

.content-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.06); }

/* Value cards */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-md); }

.value-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06); }

.value-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--caramel); }
.value-card:nth-child(2)::before { background: var(--olive); }
.value-card:nth-child(3)::before { background: var(--info); }
.value-card:nth-child(4)::before { background: var(--danger); }

.value-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto var(--space-sm);
  background: var(--caramel-bg);
  color: var(--caramel);
}
.value-card:nth-child(2) .value-icon { background: var(--olive-pale); color: var(--olive); }
.value-card:nth-child(3) .value-icon { background: var(--info-light); color: var(--info); }
.value-card:nth-child(4) .value-icon { background: var(--danger-light); color: var(--danger); }

.value-card h3 { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: var(--space-xs); }
.value-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.5; }

/* ============================================
   FEATURE SECTION (text + image)
   ============================================ */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.feature-img img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================
   TIMELINE / STEPS
   ============================================ */
.timeline { display: flex; flex-direction: column; gap: var(--space-lg); position: relative; }

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

.timeline-step {
  display: flex;
  gap: var(--space-md);
  position: relative;
}

.timeline-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--caramel);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-accent);
  font-size: 1.6rem;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.timeline-content {
  flex: 1;
  padding-top: 8px;
}

.timeline-content h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: var(--space-xs);
  color: var(--dark);
}

.timeline-content p {
  font-size: 0.92rem;
  color: var(--gray-dark);
  line-height: 1.6;
}

/* ============================================
   ACCORDION (FAQ)
   ============================================ */
.accordion { display: flex; flex-direction: column; gap: 8px; }

.accordion-item {
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s;
}

.accordion-item.open { box-shadow: 0 4px 16px rgba(0,0,0,0.05); }

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-md);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  background: var(--white);
  border: none;
  cursor: pointer;
  text-align: left;
}

.accordion-trigger:hover { background: var(--warm-white); }

.accordion-trigger .accordion-icon {
  width: 20px; height: 20px;
  transition: transform 0.3s;
  color: var(--caramel);
  flex-shrink: 0;
}

.accordion-item.open .accordion-trigger .accordion-icon { transform: rotate(180deg); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-body-inner {
  padding: 0 var(--space-md) var(--space-md);
  font-size: 0.92rem;
  color: var(--gray-dark);
  line-height: 1.7;
}

.accordion-body-inner p + p { margin-top: var(--space-sm); }

/* ============================================
   FORMS
   ============================================ */
.form-group { margin-bottom: var(--space-md); }

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--caramel);
  box-shadow: 0 0 0 3px rgba(185, 107, 31, 0.12);
}

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

.form-hint { font-size: 0.78rem; color: var(--gray); margin-top: 4px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-md);
}

.alert-success { background: var(--olive-pale); border: 1px solid #B8D4AC; color: var(--olive-dark); }
.alert-danger { background: var(--danger-light); border: 1px solid #EFB8B8; color: var(--danger); }
.alert-info { background: var(--info-light); border: 1px solid #A8C8DA; color: var(--info); }
.alert-warning { background: var(--warning-light); border: 1px solid #E8D098; color: var(--warning); }

/* ============================================
   TEAM GRID
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-md);
  text-align: center;
}

.team-member img {
  width: 100px; height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-xs);
  border: 3px solid var(--caramel-pale);
}

.team-member h4 { font-family: var(--font-serif); font-size: 1rem; color: var(--dark); }
.team-member .role { font-size: 0.8rem; color: var(--caramel); font-weight: 600; }
.team-member .location { font-size: 0.75rem; color: var(--gray); }

/* ============================================
   PAW DIVIDER & FOOTER
   ============================================ */
.paw-divider {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: var(--space-lg) 0;
}
.paw-divider svg { width: 14px; height: 14px; fill: var(--caramel); opacity: 0.2; }
.paw-divider svg:nth-child(2) { transform: rotate(15deg); opacity: 0.15; }
.paw-divider svg:nth-child(3) { transform: rotate(-10deg); opacity: 0.1; }

footer {
  background: var(--dark-warm);
  color: var(--gray-light);
  padding: var(--space-xl) var(--space-md) var(--space-md);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo { height: 60px; margin-bottom: var(--space-sm); filter: brightness(1.2); }

.footer-tagline {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  color: var(--caramel-light);
  margin-bottom: var(--space-md);
  line-height: 1.4;
}

.footer-social { display: flex; gap: var(--space-sm); }
.footer-social a {
  color: var(--gray-light);
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--caramel-light); }

.footer-links-col h4,
.footer-contact-col h4 {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.footer-links-col ul { list-style: none; }
.footer-links-col a {
  display: block;
  padding: 4px 0;
  color: var(--gray-light);
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links-col a:hover { color: var(--caramel-light); }

.footer-contact-col p {
  font-size: 0.85rem;
  margin-bottom: var(--space-xs);
  display: flex;
  align-items: center;
  line-height: 1.5;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
  font-size: 0.78rem;
  color: var(--gray);
}

.footer-bottom a { color: var(--gray); }
.footer-bottom a:hover { color: var(--caramel-light); }

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--caramel);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 900;
  box-shadow: 0 4px 12px rgba(185, 107, 31, 0.3);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover { background: var(--caramel-dark); transform: translateY(-2px); }

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  padding: calc(var(--space-2xl) + 20px) var(--space-md) var(--space-xl);
  text-align: center;
  background: linear-gradient(135deg, var(--caramel-pale) 0%, var(--warm-white) 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cellipse cx='50' cy='65' rx='28' ry='25' fill='%23b96b1f'/%3E%3Cellipse cx='28' cy='30' rx='12' ry='14' fill='%23b96b1f'/%3E%3Cellipse cx='72' cy='30' rx='12' ry='14' fill='%23b96b1f'/%3E%3Cellipse cx='14' cy='50' rx='10' ry='12' fill='%23b96b1f'/%3E%3Cellipse cx='86' cy='50' rx='10' ry='12' fill='%23b96b1f'/%3E%3C/svg%3E") no-repeat;
  background-size: 80px;
  background-position: 95% 85%;
  opacity: 0.04;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--dark);
  margin-bottom: var(--space-xs);
  position: relative;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 550px;
  margin: 0 auto;
  position: relative;
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: var(--space-sm);
  position: relative;
}

.breadcrumbs a { color: var(--gray); }
.breadcrumbs a:hover { color: var(--caramel); }
.breadcrumbs span { margin: 0 6px; opacity: 0.5; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.4s; }

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE — TABLET (768px)
   ============================================ */
@media (max-width: 768px) {
  :root { --nav-height: 60px; }

  .nav-links { display: none; }
  .nav-actions .btn { display: none; }
  .nav-hamburger { display: flex; }
  .nav-logo { height: 38px; }

  .hero {
    min-height: auto;
    padding: calc(var(--nav-height) + 40px) var(--space-sm) var(--space-xl);
  }
  .hero h1 { font-size: 2.4rem; }
  .hero-tagline { font-size: 1.1rem; transform: none; }
  .hero-text { font-size: 0.9rem; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
  .hero-stat .number { font-size: 1.6rem; }
  .hero-stat .label { font-size: 0.65rem; }

  .page-section { padding: var(--space-xl) var(--space-sm); }
  .section-title { font-size: 1.6rem; }
  .section-desc { font-size: 0.9rem; }

  .feature-row { grid-template-columns: 1fr; gap: var(--space-lg); }
  .feature-row.reverse { direction: ltr; }

  .card-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: var(--space-lg); text-align: center; }
  .footer-social { justify-content: center; }
  .footer-contact-col p { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: var(--space-xs); text-align: center; }

  .timeline::before { left: 20px; }
  .timeline-num { width: 40px; height: 40px; font-size: 1.2rem; }

  .team-grid { grid-template-columns: repeat(2, 1fr); }

  .page-hero { padding: calc(var(--nav-height) + 20px) var(--space-sm) var(--space-lg); }
  .page-hero h1 { font-size: 1.8rem; }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (400px)
   ============================================ */
@media (max-width: 400px) {
  .hero h1 { font-size: 1.9rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .team-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
}
