:root {
  --bg: #0b0908;
  --bg-soft: #171210;
  --surface: #1d1714;
  --surface-2: #251d1a;
  --panel: rgba(24, 20, 18, 0.82);
  --card: #1d1817;
  --card-alt: #2a211f;
  --text: #f5efe8;
  --muted: #c7b8a9;
  --gold: #d0b07a;
  --gold-soft: #b98d5a;
  --beige: #d5b48a;
  --warm-ivory: #f4ebdf;
  --warm-stone: #e4ceb0;
  --header-tone: #c7a36f;
  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(53, 33, 20, 0.14);
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.32);
  --radius: 28px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background:
    radial-gradient(circle at top, rgba(190, 136, 67, 0.14), transparent 32%),
    var(--bg);
  color: var(--text);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

.section-light {
  background: linear-gradient(180deg, #f7f0e8 0%, #ead9bb 100%);
  color: #1a120d;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section-dark {
  background: linear-gradient(180deg, #0d0a09 0%, #171311 100%);
  border-top: 1px solid rgba(199, 163, 111, 0.12);
  border-bottom: 1px solid rgba(199, 163, 111, 0.12);
}

.section-kicker {
  margin: 0 0 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-soft);
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.08;
  font-weight: 700;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
}

h1 {
  font-size: clamp(3.8rem, 8vw, 7rem);
  letter-spacing: 0.03em;
}

h2 {
  font-size: clamp(2.4rem, 4.2vw, 4rem);
}

p {
  margin: 0 0 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(199, 163, 111, 0.96), rgba(176, 133, 79, 0.92));
  border-bottom: 1px solid rgba(45, 30, 18, 0.18);
  box-shadow: 0 10px 30px rgba(62, 39, 19, 0.12);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 160px;
}

.brand-logo {
  max-width: 180px;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.35));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  position: relative;
  color: rgba(32, 19, 11, 0.9);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s ease;
  font-weight: 700;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(30, 17, 11, 0.9), rgba(30, 17, 11, 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #120d09;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 88px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(8, 7, 7, 0.72) 0%, rgba(8, 7, 7, 0.45) 30%, rgba(8, 7, 7, 0.18) 58%, rgba(8, 7, 7, 0.2) 100%),
    url("materiały/zdjecia/WhatsApp Image 2026-08-13 at 08.56.17.jpeg") center/cover no-repeat;
}

.hero-content {
  width: min(620px, 80vw);
  margin-left: 5vw;
  padding: 2.5rem 0;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #f5d7a6;
}

.hero h2 {
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(1.15rem, 2vw, 2.2rem);
  margin-bottom: 1.5rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.hero p {
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #dcb67d, #a7774a);
  color: #170d09;
  box-shadow: 0 15px 40px rgba(168, 110, 67, 0.32);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text);
}

.split-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.copy p {
  color: rgba(26, 18, 13, 0.8);
  font-size: 1.06rem;
}

.feature-quote {
  background: rgba(21, 15, 13, 0.95);
  color: var(--text);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.quote-mark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  margin: 0;
  color: var(--gold);
}

.feature-quote blockquote {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.1;
  color: #f5efe8;
}

.feature-quote p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.section-header {
  margin-bottom: 2.5rem;
}

.knowledge-grid,
.nutrition-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.info-card,
.mini-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.section-light .info-card,
.section-light .mini-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(228, 206, 176, 0.65));
  border-color: rgba(79, 53, 34, 0.12);
  box-shadow: 0 16px 30px rgba(58, 39, 26, 0.08);
}

.section-light .info-card p,
.section-light .mini-card p {
  color: rgba(26, 18, 13, 0.8);
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(208, 176, 122, 0.12);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 800;
}

.info-card h3,
.mini-card h3 {
  margin-top: 1rem;
  font-size: 1.35rem;
}

.info-card p,
.mini-card p {
  margin: 0;
  color: rgba(245, 239, 232, 0.8);
}

.dog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.dog-card {
  background: #f5efe8;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(20, 10, 10, 0.12);
  box-shadow: 0 18px 40px rgba(45, 29, 20, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(45, 29, 20, 0.18);
}

.dog-image {
  height: 430px;
  overflow: hidden;
}

.dog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.dog-card:hover .dog-image img {
  transform: scale(1.04);
}

.dog-copy {
  padding: 1.4rem 1.3rem 1.6rem;
}

.dog-name {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  color: #7a4b2c;
  letter-spacing: 0.16em;
  font-weight: 800;
}

.dog-copy p {
  color: rgba(26, 18, 13, 0.8);
  margin-bottom: 1.1rem;
}

.dog-copy a {
  color: #613d29;
  font-weight: 700;
}

.origin {
  background:
    linear-gradient(180deg, rgba(9, 8, 8, 0.2), rgba(9, 8, 8, 0.12)),
    url("materiały/zdjecia/IMG_1617.jpg") center/cover no-repeat;
  position: relative;
}

.origin::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 9, 8, 0.4);
}

.origin-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 4rem 0;
}

.origin-content h2,
.origin-content p {
  color: #f5efe8;
}

.pako-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.pako-image {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pako-image img {
  width: 100%;
  height: 640px;
  object-fit: cover;
}

.pako-copy h2 {
  max-width: 14ch;
}

.emotional-line {
  margin-top: 1.5rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.1;
  color: #f3dcc4;
}

.nutrition-section .section-header {
  margin-bottom: 1.5rem;
}

.nutrition-copy {
  max-width: 930px;
  margin: 0 auto 2.5rem;
}

.nutrition-copy p {
  color: rgba(26, 18, 13, 0.8);
  font-size: 1.06rem;
}

.mini-card {
  background: linear-gradient(180deg, #f7efe3 0%, #ead6b3 100%);
  color: #1b130e;
  border-color: rgba(53, 37, 26, 0.12);
}

.mini-card p {
  color: rgba(27, 19, 14, 0.8);
}

.behind-section {
  background: linear-gradient(180deg, #0b0a0a 0%, #171311 100%);
}

.mosaic-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
  grid-auto-rows: 220px;
}

.mosaic-item {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mosaic-item:hover img {
  transform: scale(1.04);
}

.mosaic-item.tall {
  grid-row: span 2;
}

.mosaic-item.wide {
  grid-column: span 2;
}

.gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.filter-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn.active,
.filter-btn:hover,
.filter-btn:focus-visible {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #120d09;
  border-color: transparent;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 1 / 1.2;
  border: 1px solid var(--line);
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item.hidden {
  display: none;
}

.site-footer {
  background: linear-gradient(180deg, rgba(199, 163, 111, 0.96), rgba(176, 133, 79, 0.92));
  border-top: 1px solid rgba(45, 30, 18, 0.18);
  padding: 2rem 0;
  color: #120d09;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-logo {
  max-width: 160px;
  filter: drop-shadow(0 10px 20px rgba(35, 22, 12, 0.15));
}

.site-footer p {
  color: rgba(18, 13, 9, 0.9);
  margin-bottom: 0.25rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .knowledge-grid,
  .dog-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-layout,
  .pako-layout,
  .mosaic-grid {
    grid-template-columns: 1fr;
  }

  .mosaic-item.wide {
    grid-column: auto;
  }

  .nav-wrap {
    position: relative;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(16, 12, 11, 0.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .gallery-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-bar {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 80px 0;
  }

  .hero {
    min-height: 82vh;
  }

  .hero-content {
    width: min(90vw, 520px);
    margin: 0 auto;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .knowledge-grid,
  .dog-grid,
  .gallery-grid,
  .nutrition-grid {
    grid-template-columns: 1fr;
  }

  .dog-image {
    height: 360px;
  }

  .pako-image img {
    height: 420px;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
