/* ============================================
   bro_surdo — Fresh Design System
   Warm amber + Deep navy + Cream palette
   ============================================ */

:root {
  /* Colors */
  --bg: #faf8f5;
  --bg-elevated: #ffffff;
  --bg-card: #f5f2ed;
  
  --text-primary: #1a1a2e;
  --text-secondary: #4a4a5e;
  --text-muted: #6b6b7b;
  
  --accent: #e85d04;
  --accent-light: #f48c06;
  --accent-dark: #d00000;
  
  --navy: #1a1a2e;
  --navy-light: #2d2d44;
  
  --cream: #fff8e7;
  --warm-gray: #e8e4df;
  
  --success: #2d6a4f;
  --info: #0077b6;
  
  /* Effects */
  --shadow-sm: 0 1px 2px rgba(26, 26, 46, 0.05);
  --shadow: 0 4px 12px rgba(26, 26, 46, 0.08);
  --shadow-lg: 0 12px 32px rgba(26, 26, 46, 0.12);
  --shadow-xl: 0 24px 48px rgba(26, 26, 46, 0.15);
  
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  
  /* Spacing */
  --container: 1200px;
  --gutter: 24px;
}

/* ============================================
   Base & Reset
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* Grain texture overlay */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ============================================
   Layout
   ============================================ */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============================================
   Header
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--warm-gray);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px var(--gutter);
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
}

.logo-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 2px solid var(--warm-gray);
}

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

.nav a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.nav a:hover {
  color: var(--text-primary);
  background: var(--bg-card);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

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

/* ============================================
   Hero Section
   ============================================ */

.hero {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 140px var(--gutter) 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--cream);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

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

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 20px;
  color: var(--text-primary);
}

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

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin: 0 0 32px;
  max-width: 400px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 14px rgba(232, 93, 4, 0.35);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 93, 4, 0.4);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--warm-gray);
}

.btn-secondary:hover {
  background: var(--warm-gray);
  transform: translateY(-2px);
}

/* Hero Stats Card */
.hero-stats {
  position: relative;
}

.stat-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--warm-gray);
}

.stat-card-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--warm-gray);
}

.stat-card-label {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
}

.stat-card-sublabel {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.stat-card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat-name {
  font-size: 14px;
  color: var(--text-secondary);
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
}

.stat-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 6px 12px;
  background: var(--cream);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius-full);
}

/* ============================================
   Marquee Banner
   ============================================ */

.marquee-banner {
  background: var(--navy);
  padding: 16px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: marquee 30s linear infinite;
  color: var(--cream);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.marquee-track .dot {
  color: var(--accent);
  opacity: 0.6;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   Section Titles
   ============================================ */

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 600;
  margin: 0 0 40px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin: -24px 0 32px;
}

/* ============================================
   Stats Section
   ============================================ */

.stats-section {
  padding: 80px 0;
  background: var(--bg-card);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stats-item {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--warm-gray);
  transition: all 0.3s ease;
}

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

.stats-number {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 8px;
}

.stats-label {
  font-size: 14px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   News Section
   ============================================ */

.news-section {
  padding: 80px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--warm-gray);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.news-card-meta {
  margin-bottom: 16px;
}

.news-badge {
  display: inline-block;
  padding: 6px 12px;
  background: var(--cream);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-full);
}

.news-badge--events {
  background: #e8f4f8;
  color: var(--info);
}

.news-badge--behind {
  background: #f0f4e8;
  color: var(--success);
}

.news-card-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text-primary);
}

.news-card-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 24px;
  flex-grow: 1;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.2s ease;
}

.news-card-link:hover {
  gap: 12px;
}

/* ============================================
   About Section
   ============================================ */

.about-section {
  padding: 80px 0;
  background: var(--bg-card);
}

.about-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-elevated);
  border-radius: var(--radius-xl);
  padding: 48px;
  border: 1px solid var(--warm-gray);
}

.about-card-visual {
  position: relative;
}

.about-card-visual::before {
  content: "";
  position: absolute;
  inset: -12px;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0.2;
}

.about-card-visual img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 4px solid var(--bg-elevated);
}

.about-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}

.about-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--text-primary);
}

.about-text {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 24px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-tag {
  padding: 8px 16px;
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--warm-gray);
}

/* ============================================
   Videos Section
   ============================================ */

.videos-section {
  padding: 80px 0;
}

.videos-group {
  margin-bottom: 48px;
}

.videos-subtitle {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin: 0 0 20px;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.videos-grid--featured .tiktok-embed {
  border-color: var(--accent);
}

.tiktok-embed {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--warm-gray);
  padding: 16px;
  margin: 0;
  transition: all 0.3s ease;
}

.tiktok-embed:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.tiktok-embed section a {
  color: var(--accent);
  font-weight: 600;
}

/* ============================================
   Pets Gallery Section
   ============================================ */

.pets-section {
  padding: 80px 0;
  background: var(--bg-card);
}

.pet-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
}

.pet-nav {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--warm-gray);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.pet-nav:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  transform: scale(1.05);
}

.pet-frame {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 4 / 5;
  background: var(--bg-elevated);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.pet-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.pet-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  background: rgba(26, 26, 46, 0.8);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  color: white;
  font-size: 14px;
  font-weight: 500;
}

.pet-separator {
  opacity: 0.5;
}

.pet-thumbnails {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.pet-thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid var(--warm-gray);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.pet-thumb--current {
  width: 100px;
  height: 100px;
  opacity: 1;
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.pet-thumb--prev,
.pet-thumb--next {
  cursor: pointer;
}

.pet-thumb--prev:hover,
.pet-thumb--next:hover {
  opacity: 0.8;
  border-color: var(--accent-light);
}

/* ============================================
   Contact Section
   ============================================ */

.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px;
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--warm-gray);
  transition: all 0.3s ease;
}

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

.contact-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.contact-card--tiktok .contact-icon {
  background: #000;
  color: white;
}

.contact-card--telegram .contact-icon {
  background: #0088cc;
  color: white;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
}

.contact-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.contact-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-arrow {
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.contact-card:hover .contact-arrow {
  color: var(--accent);
  transform: translate(4px, -4px);
}

/* ============================================
   Footer
   ============================================ */

.footer {
  padding: 48px 0;
  background: var(--navy);
  color: var(--cream);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-copy {
  font-size: 14px;
  color: rgba(255, 248, 231, 0.6);
  margin: 0;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .about-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .about-card-visual {
    max-width: 240px;
    margin: 0 auto;
  }
  
  .about-tags {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 16px var(--gutter);
    border-bottom: 1px solid var(--warm-gray);
    gap: 4px;
  }
  
  .nav.is-open {
    display: flex;
  }
  
  .nav a {
    padding: 12px 16px;
    width: 100%;
    text-align: center;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .stats-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .pet-slider {
    gap: 12px;
  }
  
  .pet-nav {
    width: 44px;
    height: 44px;
  }
  
  .pet-thumbnails {
    gap: 12px;
  }
  
  .pet-thumb {
    width: 60px;
    height: 60px;
  }
  
  .pet-thumb--current {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  :root {
    --gutter: 16px;
  }
  
  .hero {
    padding-top: 120px;
    padding-bottom: 60px;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .about-card {
    padding: 32px 24px;
  }
  
  .stat-card {
    padding: 24px;
  }
  
  .news-card {
    padding: 24px;
  }
  
  .contact-card {
    padding: 20px;
  }
}

/* ============================================
   Animations
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Fade in animation for sections */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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