/* ==========================================================================
   Марго — cat.pandorabox.win
   Элегантный, теплый и игривый стиль для рыжей королевы
   ========================================================================== */

:root {
  --color-bg: #faf6f0;
  --color-bg-card: #ffffff;
  --color-bg-subtle: #f4ecdf;
  --color-ginger: #e26d33;
  --color-ginger-dark: #b84c16;
  --color-ginger-light: #fbeee7;
  --color-amber: #d49a3f;
  --color-gold: #c59b27;
  --color-cream: #fffdfa;
  --color-text: #2f2520;
  --color-text-muted: #746760;
  --color-border: #ede1d1;
  --color-border-hover: #dcbfa2;
  
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 2px 8px rgba(78, 51, 33, 0.05);
  --shadow-md: 0 8px 24px rgba(78, 51, 33, 0.08);
  --shadow-lg: 0 16px 40px rgba(78, 51, 33, 0.12);
  --shadow-glow: 0 0 35px rgba(226, 109, 51, 0.22);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Basics */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Ambient glow in background */
.ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.glow-1 {
  top: -150px;
  right: -100px;
  background: radial-gradient(circle, #e26d33 0%, rgba(226, 109, 51, 0) 70%);
}

.glow-2 {
  top: 55%;
  left: -200px;
  background: radial-gradient(circle, #f3b562 0%, rgba(243, 181, 98, 0) 70%);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background-color: rgba(250, 246, 240, 0.88);
  border-bottom: 1px solid rgba(237, 225, 209, 0.7);
  transition: var(--transition-fast);
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-logo .cat-icon {
  font-size: 1.3rem;
  transform: rotate(-10deg);
  transition: transform var(--transition-fast);
}

.brand-logo:hover .cat-icon {
  transform: rotate(15deg) scale(1.15);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-ginger);
  border-radius: 2px;
  transition: width var(--transition-fast);
}

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

.btn-pet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-ginger-light);
  color: var(--color-ginger-dark);
  border: 1px solid rgba(226, 109, 51, 0.25);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-pet:hover {
  background: var(--color-ginger);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(226, 109, 51, 0.25);
}

.btn-pet:active {
  transform: translateY(0) scale(0.97);
}

/* Hero Section */
.hero-section {
  padding: 60px 24px 75px;
  position: relative;
  z-index: 1;
}

.hero-container {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-ginger-dark);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
  animation: fadeInDown 0.8s ease backwards;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.7rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.1s backwards;
}

.hero-gradient-text {
  background: linear-gradient(135deg, var(--color-ginger) 0%, #e78a4e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}

.hero-description {
  font-size: 1.12rem;
  color: var(--color-text-muted);
  max-width: 530px;
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 34px;
  animation: fadeInUp 0.8s ease 0.3s backwards;
}

.meta-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.meta-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-border-hover);
  background: #fff;
}

.meta-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.meta-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-ginger) 0%, var(--color-ginger-dark) 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(226, 109, 51, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(226, 109, 51, 0.4);
}

.btn-secondary {
  background: #ffffff;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--color-bg-subtle);
  transform: translateY(-2px);
  border-color: var(--color-border-hover);
}

.btn-secondary.active {
  background: var(--color-ginger-light);
  border-color: var(--color-ginger);
  color: var(--color-ginger-dark);
}

/* Hero Visual / Image */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  animation: fadeInRight 1s ease 0.2s backwards;
}

.hero-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 12px;
  background: #ffffff;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border: 1px solid rgba(226, 109, 51, 0.15);
  transform: rotate(1.2deg);
  transition: transform var(--transition-normal);
  cursor: pointer;
}

.hero-card:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  background: #fdf5ea;
}

.hero-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.hero-card:hover .hero-image-box img {
  transform: scale(1.04);
}

.floating-tag {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(237, 225, 209, 0.8);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  transition: transform var(--transition-fast);
}

.floating-tag:hover {
  transform: scale(1.05);
}

.tag-top {
  top: 18px;
  left: 18px;
}

.tag-bottom {
  bottom: 18px;
  right: 18px;
}

/* Sections General */
.section {
  padding: 85px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--color-ginger);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.7rem;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

/* Feature Stories Grid */
.feature-stories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.story-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.story-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-hover);
}

.story-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #fbf5ee;
}

.story-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.story-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-ginger-dark);
  box-shadow: var(--shadow-sm);
}

.story-body {
  padding: 24px 26px;
}

.story-body h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--color-text);
}

.story-body p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Gallery Section */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--color-ginger);
  border-color: var(--color-ginger);
}

.filter-btn.active {
  background: var(--color-ginger);
  color: #fff;
  border-color: var(--color-ginger);
  box-shadow: 0 4px 12px rgba(226, 109, 51, 0.25);
}

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

.gallery-item {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.gallery-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #fdf5ea;
}

.gallery-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.gallery-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44, 37, 35, 0.8) 0%, rgba(44, 37, 35, 0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #fff;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.zoom-icon {
  font-size: 1.3rem;
  margin-bottom: 4px;
  transform: translateY(8px);
  transition: transform var(--transition-normal);
}

.gallery-item:hover .zoom-icon {
  transform: translateY(0);
}

.hover-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.25;
}

.item-caption {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.item-caption h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 65%;
}

.item-caption span {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-ginger);
  background: var(--color-ginger-light);
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

/* Timeline / Routine Section */
.routine-section {
  background: linear-gradient(180deg, transparent 0%, rgba(244, 236, 223, 0.55) 100%);
}

.timeline {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  padding-left: 110px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 95px;
  width: 2px;
  background: var(--color-border);
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-time {
  position: absolute;
  left: -110px;
  top: 18px;
  width: 80px;
  text-align: right;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-ginger);
}

.timeline-dot {
  position: absolute;
  left: -20px;
  top: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-ginger);
  box-shadow: 0 0 0 5px rgba(226, 109, 51, 0.2);
}

.timeline-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.timeline-card.with-thumb {
  display: flex;
  align-items: center;
  gap: 20px;
}

.timeline-thumb {
  width: 80px;
  height: 80px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
}

.timeline-card-content {
  flex-grow: 1;
}

.timeline-card:hover {
  transform: translateX(6px);
  border-color: var(--color-border-hover);
}

.timeline-card h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 5px;
  color: var(--color-text);
}

.timeline-card p {
  color: var(--color-text-muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

/* Dossier Section */
.dossier-wrapper {
  background: #ffffff;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 45px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.dossier-header {
  position: relative;
  margin-bottom: 35px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--color-border);
}

.stamp {
  position: absolute;
  top: 0;
  right: 0;
  border: 2px dashed var(--color-ginger);
  color: var(--color-ginger);
  padding: 6px 14px;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  border-radius: 8px;
  transform: rotate(8deg);
  opacity: 0.85;
}

.dossier-header h2 {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  color: var(--color-text);
  margin-bottom: 6px;
}

.dossier-header p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.dossier-main-row {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.dossier-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dossier-row {
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
  border-bottom: 1px solid #f6efe4;
}

.dossier-term {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 3px;
}

.dossier-def {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
}

.dossier-def a {
  color: var(--color-ginger);
  text-decoration: none;
}

.dossier-def a:hover {
  text-decoration: underline;
}

/* Dossier Pet Card */
.dossier-pet-card {
  background: var(--color-bg-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  border: 1px solid var(--color-border);
}

.pet-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 250px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.pet-photo-wrap:hover {
  transform: scale(1.04);
}

.pet-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pet-heart-badge {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(226, 109, 51, 0.9);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.big-pet-btn {
  background: linear-gradient(135deg, var(--color-ginger) 0%, var(--color-ginger-dark) 100%);
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(226, 109, 51, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.big-pet-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 28px rgba(226, 109, 51, 0.45);
}

.big-pet-btn:active {
  transform: translateY(0) scale(0.98);
}

.heart-pulse {
  display: inline-block;
  animation: pulse 1.5s infinite;
}

.mood-meter {
  max-width: 320px;
  margin: 18px auto 0;
}

.mood-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--color-text-muted);
}

.mood-label strong {
  color: var(--color-ginger-dark);
}

.mood-bar-track {
  width: 100%;
  height: 10px;
  background: #e3d4c3;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.mood-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f5a623 0%, var(--color-ginger) 100%);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 14, 12, 0.92);
  backdrop-filter: blur(12px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image-box img {
  max-width: 82vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  animation: zoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-caption {
  margin-top: 16px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  transition: transform var(--transition-fast);
}

.lightbox-close:hover {
  transform: rotate(90deg);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  transition: all var(--transition-fast);
}

.lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-arrow.prev {
  left: -70px;
}

.lightbox-arrow.next {
  right: -70px;
}

/* Floating Paw Hearts Animation */
.floating-heart {
  position: fixed;
  font-size: 1.8rem;
  pointer-events: none;
  z-index: 9999;
  animation: floatHeart 1.4s ease-out forwards;
}

@keyframes floatHeart {
  0% {
    opacity: 1;
    transform: translateY(0) scale(0.6) rotate(0deg);
  }
  50% {
    transform: translateY(-60px) scale(1.2) rotate(15deg);
  }
  100% {
    opacity: 0;
    transform: translateY(-130px) scale(1) rotate(-15deg);
  }
}

/* Footer */
.site-footer {
  padding: 40px 24px;
  border-top: 1px solid var(--color-border);
  background: #ffffff;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
}

.footer-copy {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-link {
  color: var(--color-ginger-dark);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.footer-link:hover {
  text-decoration: underline;
}

.sep {
  color: var(--color-border);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-card-wrapper {
    max-width: 360px;
  }

  .feature-stories-grid {
    grid-template-columns: 1fr;
  }

  .dossier-main-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 2.7rem;
  }

  .section-title {
    font-size: 2.1rem;
  }

  .timeline {
    padding-left: 0;
  }

  .timeline::before {
    display: none;
  }

  .timeline-dot {
    display: none;
  }

  .timeline-time {
    position: static;
    text-align: left;
    margin-bottom: 8px;
  }

  .timeline-card.with-thumb {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-thumb {
    width: 100%;
    height: 160px;
  }

  .lightbox-arrow.prev {
    left: 10px;
  }

  .lightbox-arrow.next {
    right: 10px;
  }

  .dossier-wrapper {
    padding: 30px 20px;
  }
}
