:root {
  --chocolate: #4d341e;
  --chocolate-deep: #3a2510;
  --brown: #6b5035;
  --brown-warm: #8b7864;
  --brown-soft: #a89279;
  --gold: #c9a96e;
  --gold-light: #d4ba85;
  --gold-shimmer: #e8d5a8;
  --cream: #faf5ed;
  --cream-warm: #f3ebdd;
  --cream-dark: #e8dccb;
  --white: #ffffff;
  --text: #3a2510;
  --text-soft: #6b5548;
  --success: #5a8f5a;
  --error: #a85454;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Lato", sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--cream);
}
::-webkit-scrollbar-thumb {
  background: var(--brown-warm);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--chocolate);
}

/* ============ PRELOADER ============ */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--chocolate-deep);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-logo {
  width: 120px;
  height: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 2rem;
  animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader-bar {
  width: 200px;
  height: 2px;
  background: rgba(201, 169, 110, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-bar-inner {
  height: 100%;
  width: 30%;
  background: var(--gold);
  border-radius: 2px;
  animation: preloaderSlide 1.2s ease-in-out infinite;
}

@keyframes preloaderPulse {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes preloaderSlide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(700%);
  }
}

.preloader-text {
  font-family: "Cormorant Garamond", serif;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 1.5rem;
  opacity: 0.6;
}

/* ============ READING PROGRESS ============ */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  border: 0;
  appearance: none;
  background: transparent;
  z-index: 1001;
}

.reading-progress::-webkit-progress-bar {
  background: transparent;
}

.reading-progress::-webkit-progress-value {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 0.1s linear;
}

.reading-progress::-moz-progress-bar {
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

/* ============ NAVIGATION ============ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  padding: 1.2rem 2rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
  background: rgba(77, 52, 30, 0.97);
  backdrop-filter: blur(20px);
  padding: 0.6rem 2rem;
  box-shadow: 0 4px 30px rgba(58, 37, 16, 0.3);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo img {
  height: 55px;
  width: auto;
  transition: height 0.4s ease;
  filter: brightness(0) invert(1);
}

nav.scrolled .nav-logo img {
  height: 42px;
}

.nav-logo span {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 2px;
  transition: all 0.3s;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--gold-light);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-links a.active-link {
  color: var(--gold-light);
}
.nav-links a.active-link::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  border: 0;
  background: transparent;
  padding: 0.5rem;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: 0.4s;
  display: block;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  background: var(--chocolate-deep);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 20% 50%,
      rgba(201, 169, 110, 0.12) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 80% 20%,
      rgba(107, 80, 53, 0.25) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 50% 80%,
      rgba(77, 52, 30, 0.4) 0%,
      transparent 50%
    ),
    linear-gradient(
      170deg,
      #2a1a0d 0%,
      #4d341e 30%,
      #6b5035 60%,
      #4d341e 100%
    );
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 180px;
  background: linear-gradient(to top, var(--cream), transparent);
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  animation: fadeUp 1s 0.3s both;
}

.hero-ornament span {
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}

.hero-ornament span:last-child {
  background: linear-gradient(to left, transparent, var(--gold));
}

.hero-ornament .diamond {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 5rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 0.3rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  animation: fadeUp 1s 0.4s both;
}

.hero .subtitle {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  color: var(--gold-light);
  font-weight: 300;
  letter-spacing: 8px;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  animation: fadeUp 1s 0.6s both;
}

.hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 550px;
  margin: 0 auto 3rem;
  line-height: 1.9;
  font-weight: 300;
  animation: fadeUp 1s 0.8s both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1s 1s both;
}

.btn {
  display: inline-block;
  padding: 1rem 2.8rem;
  border: 1.5px solid var(--gold);
  color: var(--gold-light);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  font-family: "Lato", sans-serif;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.btn:hover {
  color: var(--chocolate-deep);
  border-color: var(--gold);
}
.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-filled {
  background: var(--gold);
  color: var(--chocolate-deep);
}

.btn-filled::before {
  background: var(--white);
}
.btn-filled:hover {
  color: var(--chocolate-deep);
}

.btn-dark {
  border-color: var(--chocolate);
  color: var(--chocolate);
}
.btn-dark::before {
  background: var(--chocolate);
}
.btn-dark:hover {
  color: var(--white);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(201, 169, 110, 0.4);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator span::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDot 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

@keyframes scrollDot {
  0% {
    opacity: 1;
    top: 6px;
  }
  100% {
    opacity: 0;
    top: 20px;
  }
}

/* ============ PROMO BANNER ============ */
.promo-banner {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  padding: 0.8rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.promo-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.05) 10px,
    rgba(255, 255, 255, 0.05) 20px
  );
}

.promo-banner p {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  color: var(--chocolate-deep);
  font-weight: 600;
  position: relative;
  letter-spacing: 1px;
}

.promo-banner p span {
  font-weight: 700;
}

/* ============ SECTIONS ============ */
section {
  padding: 7rem 2rem;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  font-family: "Lato", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 3.2rem;
  font-weight: 300;
  color: var(--chocolate);
  margin-bottom: 1.2rem;
}

.section-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-ornament .line {
  width: 50px;
  height: 1px;
  background: var(--gold);
}
.section-ornament .dot {
  width: 6px;
  height: 6px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.section-subtitle {
  color: var(--text-soft);
  font-weight: 300;
  font-style: italic;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
}

/* ============ STATS BAR ============ */
.stats-bar {
  background: var(--chocolate);
  padding: 3.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.stats-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-number {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ============ O NAS ============ */
.about {
  background: var(--white);
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(to left, var(--cream-warm), transparent);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.9;
}

.about-text p:first-child::first-letter {
  font-family: "Cormorant Garamond", serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--chocolate);
  float: left;
  line-height: 1;
  margin-right: 0.5rem;
  margin-top: 0.1rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.feature {
  padding: 1.5rem;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(77, 52, 30, 0.06);
  border: 1px solid rgba(201, 169, 110, 0.15);
  transition: all 0.4s ease;
  text-align: center;
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(77, 52, 30, 0.12);
  border-color: var(--gold);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.feature h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--chocolate);
  margin-bottom: 0.3rem;
}

.feature p {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.5;
}

/* ============ QUOTE ============ */
.quote-section {
  background: var(--chocolate);
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-section::before,
.quote-section::after {
  content: "\201C";
  font-family: "Cormorant Garamond", serif;
  font-size: 20rem;
  position: absolute;
  color: rgba(201, 169, 110, 0.06);
  line-height: 1;
}

.quote-section::before {
  top: -2rem;
  left: 5%;
}
.quote-section::after {
  bottom: -6rem;
  right: 5%;
  transform: rotate(180deg);
}

.quote-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  max-width: 800px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
  position: relative;
}

.quote-author {
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============ CENNIK ============ */
.pricing {
  background: var(--cream);
  position: relative;
}

.pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(201, 169, 110, 0.06) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(77, 52, 30, 0.04) 0%,
      transparent 40%
    );
  pointer-events: none;
}

.pricing-note {
  text-align: center;
  color: var(--text-soft);
  font-style: italic;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  margin-top: -2rem;
  margin-bottom: 3rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.8rem;
  position: relative;
}

.price-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.2rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(201, 169, 110, 0.12);
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--gold),
    var(--brown-soft),
    var(--gold)
  );
  opacity: 0;
  transition: opacity 0.4s;
}

.price-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(
    circle,
    rgba(201, 169, 110, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(77, 52, 30, 0.15);
  border-color: var(--gold);
}

.price-card:hover::before {
  opacity: 1;
}

.price-card.featured {
  border-color: var(--gold);
  background: linear-gradient(
    135deg,
    var(--white) 0%,
    rgba(201, 169, 110, 0.05) 100%
  );
}

.price-card.featured::before {
  opacity: 1;
}

.price-card .card-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  display: block;
}

.price-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--chocolate);
  margin-bottom: 0.5rem;
}

.price-card .description {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.price-details {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(201, 169, 110, 0.15);
}

.price-amount {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--chocolate);
}

.price-currency {
  font-size: 1.2rem;
  color: var(--brown);
  font-weight: 600;
}
.price-duration {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-left: 0.2rem;
}

.price-pass {
  font-size: 0.8rem;
  color: var(--chocolate);
  font-weight: 600;
  background: linear-gradient(
    135deg,
    var(--gold-shimmer),
    var(--cream-warm)
  );
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  margin-top: 0.75rem;
  border: 1px solid rgba(201, 169, 110, 0.3);
}

/* ============ WHY US ============ */
.why-us {
  background: var(--white);
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.why-card {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 20px;
  background: var(--cream);
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--gold),
    var(--chocolate),
    var(--gold)
  );
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 50px rgba(77, 52, 30, 0.1);
}
.why-card:hover::before {
  transform: scaleX(1);
}

.why-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.why-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--chocolate);
  margin-bottom: 0.75rem;
}

.why-card p {
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.7;
}

/* ============ CONTACT FORM ============ */
.contact {
  background: var(--cream);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid rgba(201, 169, 110, 0.12);
  transition: all 0.4s ease;
}

.contact-item:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 30px rgba(77, 52, 30, 0.08);
  border-color: var(--gold);
}

.contact-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--chocolate), var(--brown));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.contact-item p,
.contact-item a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.05rem;
}

.contact-item a:hover {
  color: var(--gold);
}

.quote-ornament {
  margin-bottom: 1rem;
}

.quote-ornament .line {
  background: var(--gold);
}

.quote-ornament .dot {
  border-color: var(--gold);
}

.opening-hours {
  width: min(290px, 100%);
  margin-top: 0.6rem;
}

.opening-hours > div {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto;
  gap: 1.5rem;
  padding: 0.22rem 0;
  border-bottom: 1px solid var(--border-soft);
}

.opening-hours > div:last-child {
  border-bottom: 0;
}

.opening-hours dt,
.opening-hours dd {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}

.opening-hours dd {
  margin: 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.phone-link {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact-item .contact-caption {
  margin-top: 0.2rem;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.contact-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-form {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid rgba(201, 169, 110, 0.12);
}

.contact-form h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--chocolate);
  margin-bottom: 0.3rem;
}

.contact-form > p {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}
.form-group.full {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.9rem 1rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: 12px;
  font-family: "Lato", sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream);
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  margin-top: 1.5rem;
}

.form-submit .btn {
  width: 100%;
  text-align: center;
}

.form-submit .btn:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-honey {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-privacy-note {
  margin-top: 0.85rem;
  color: var(--text-soft);
  font-size: 0.75rem;
  line-height: 1.55;
  text-align: center;
}

.form-policy-confirmation {
  margin-top: 0.25rem;
}

.form-group .form-checkbox {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.55;
  text-transform: none;
}

.form-group .form-checkbox input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 0.12rem;
  padding: 0;
  accent-color: var(--chocolate);
}

.form-checkbox a {
  color: var(--chocolate);
  font-weight: 700;
  text-underline-offset: 2px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success.visible {
  display: block;
}

.form-success .check-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.form-success h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  color: var(--chocolate);
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.map-container {
  border-radius: 20px;
  overflow: hidden;
  min-height: 250px;
  box-shadow: 0 8px 40px rgba(77, 52, 30, 0.1);
  border: 3px solid var(--white);
}

.map-container iframe {
  width: 100%;
  height: 250px;
  border: none;
}

/* ============ FOOTER ============ */
footer {
  background: var(--chocolate-deep);
  color: var(--cream-dark);
  padding: 4rem 2rem 2rem;
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold),
    transparent
  );
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-col img {
  height: 76px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.82;
  margin-bottom: 1.15rem;
}

.footer-brand-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.3rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-tagline {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--chocolate-deep);
  border-color: var(--gold);
}

.footer-social svg {
  width: 19px;
  height: 19px;
  display: block;
  fill: currentColor;
}

.footer-col h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25px;
  height: 1.5px;
  background: var(--gold);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-col ul a:hover {
  color: var(--gold);
}

.footer-privacy-btn {
  padding: 0;
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s;
}

.footer-privacy-btn:hover {
  color: var(--gold);
}

.footer-col p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-bottom {
  border-top: 1px solid rgba(201, 169, 110, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  opacity: 0.5;
}

/* ============ BACK TO TOP ============ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--chocolate);
  color: var(--gold);
  border: 1.5px solid rgba(201, 169, 110, 0.3);
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(58, 37, 16, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold);
  color: var(--chocolate-deep);
}

/* ============ COOKIE BANNER ============ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(58, 37, 16, 0.97);
  backdrop-filter: blur(20px);
  padding: 1.5rem 2rem;
  z-index: 1500;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 1px solid rgba(201, 169, 110, 0.2);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  max-width: 700px;
  line-height: 1.6;
}

.cookie-btns {
  display: flex;
  gap: 0.8rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-family: "Lato", sans-serif;
  letter-spacing: 1px;
}

.cookie-accept {
  background: var(--gold);
  color: var(--chocolate-deep);
}

.cookie-accept:hover {
  background: var(--gold-light);
}

.cookie-reject {
  background: transparent;
  color: var(--gold);
}

.cookie-reject:hover {
  background: rgba(201, 169, 110, 0.1);
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 3px;
}

.map-consent {
  min-height: 320px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  width: 100%;
  color: inherit;
  gap: 1rem;
  text-align: center;
  background: var(--cream-warm);
  color: var(--text-soft);
}

.form-notice {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: 10px;
  background: var(--cream-warm);
  color: var(--text-soft);
  display: none;
}
.form-notice.visible {
  display: block;
}
.form-notice.sending {
  border: 1px solid rgba(185, 149, 95, 0.28);
}
.form-notice.success {
  color: #305d3a;
  background: #edf7ef;
  border: 1px solid rgba(48, 93, 58, 0.2);
}
.form-notice.error {
  color: #7a3434;
  background: #fbefef;
  border: 1px solid rgba(122, 52, 52, 0.18);
}
.form-notice a {
  color: var(--chocolate);
  font-weight: 700;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .particles,
  .preloader {
    display: none !important;
  }
  .fade-in,
  .fade-in-left,
  .fade-in-right,
  .scale-in {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 900px) {
  .about-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 3rem;
    letter-spacing: 3px;
  }
  .hero .subtitle {
    font-size: 1rem;
    letter-spacing: 4px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(77, 52, 30, 0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1.2rem;
  }

  .nav-links.active {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  .section-title {
    font-size: 2.4rem;
  }
  .map-container {
    min-height: 250px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full {
    grid-column: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .about-features {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 4.5rem 1.5rem;
  }
  .quote-text {
    font-size: 1.4rem;
  }
  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ============ ANIMATIONS ============ */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

.stagger-1 {
  transition-delay: 0.1s;
}
.stagger-2 {
  transition-delay: 0.2s;
}
.stagger-3 {
  transition-delay: 0.3s;
}
.stagger-4 {
  transition-delay: 0.4s;
}
.stagger-5 {
  transition-delay: 0.5s;
}
.stagger-6 {
  transition-delay: 0.6s;
}
.stagger-7 {
  transition-delay: 0.7s;
}
.stagger-8 {
  transition-delay: 0.8s;
}

.footer-col p a {
  color: inherit;
  text-decoration: none;
}

.footer-col p a:hover {
  color: var(--gold);
}

/* ============ PREMIUM VISUAL REFINEMENT ============ */
:root {
  --chocolate: #49311f;
  --chocolate-deep: #24170f;
  --brown: #684a34;
  --brown-warm: #8f7967;
  --gold: #b9955f;
  --gold-light: #dbc49c;
  --cream: #f8f4ed;
  --cream-warm: #efe7dc;
  --cream-dark: #dfd3c3;
  --text: #302219;
  --text-soft: #6f6258;
  --surface: #fffdf9;
  --border-soft: rgba(73, 49, 31, 0.1);
  --shadow-soft: 0 18px 55px rgba(50, 34, 24, 0.09);
  --shadow-hover: 0 24px 70px rgba(50, 34, 24, 0.14);
}

body {
  background: var(--cream);
  font-size: 16px;
  letter-spacing: 0.005em;
}

nav {
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

nav.scrolled {
  background: rgba(36, 23, 15, 0.9);
  padding: 0.55rem 2rem;
  box-shadow: 0 12px 38px rgba(20, 12, 7, 0.16);
}

.nav-inner,
.section-inner {
  max-width: 1180px;
}

.nav-links {
  gap: 1.65rem;
}

.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.hero {
  min-height: 94vh;
  justify-content: flex-start;
  text-align: left;
  padding: 9rem max(2rem, calc((100vw - 1180px) / 2)) 8rem;
  background: var(--chocolate-deep);
}

.hero-bg {
  background:
    linear-gradient(90deg, rgba(27, 17, 11, 0.96) 0%, rgba(36, 23, 15, 0.86) 42%, rgba(36, 23, 15, 0.25) 72%, rgba(36, 23, 15, 0.12) 100%),
    linear-gradient(0deg, rgba(36, 23, 15, 0.38), transparent 45%),
    url("hero-horse-v2.jpg") center center / cover no-repeat;
  transform: scale(1.015);
}

.hero::after {
  height: 110px;
  background: linear-gradient(to top, var(--cream), transparent);
}

.hero-content {
  width: min(610px, 100%);
}

.hero-ornament {
  justify-content: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.hero-ornament span {
  width: 58px;
}

.hero h1 {
  font-size: clamp(3.6rem, 6vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: 0.045em;
  text-transform: none;
  text-wrap: balance;
  margin-bottom: 1rem;
}

.hero .subtitle {
  font-family: "Lato", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  margin-bottom: 2rem;
}

.hero p {
  max-width: 520px;
  margin: 0 0 2.4rem;
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
}

.hero-btns {
  justify-content: flex-start;
  gap: 0.85rem;
}

.btn {
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  letter-spacing: 0.13em;
  font-size: 0.72rem;
  box-shadow: none;
}

.scroll-indicator {
  bottom: 28px;
  opacity: 0.65;
}

.promo-banner {
  padding: 0.95rem 2rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border-soft);
}

.promo-banner::before {
  display: none;
}

.promo-banner p {
  font-family: "Lato", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promo-banner p span {
  margin-left: 0.35rem;
  color: var(--brown);
}

.stats-bar {
  padding: 3rem 2rem;
  background: #2d1e15;
}

.stat-item + .stat-item::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 12%;
  width: 1px;
  height: 76%;
  background: rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-weight: 500;
  font-size: 2.75rem;
}

section {
  padding: 8rem 2rem;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 4.5rem;
}

.section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.section-title {
  font-size: clamp(2.65rem, 4vw, 3.65rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.section-subtitle {
  font-size: 1.15rem;
  line-height: 1.6;
}

.about::before {
  width: 28%;
  opacity: 0.55;
}

.about-text p:first-child::first-letter {
  float: none;
  font: inherit;
  color: inherit;
  margin: 0;
}

.feature,
.price-card,
.why-card,
.contact-form,
.contact-item {
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.feature {
  padding: 1.75rem;
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.84);
}

.price-card:hover,
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.price-card {
  border-radius: 20px;
  background: var(--surface);
}

.price-card.featured {
  border-color: rgba(185, 149, 95, 0.55);
  box-shadow: 0 20px 65px rgba(86, 59, 38, 0.14);
}

.contact-form {
  border-radius: 22px;
  background: var(--surface);
}

.form-group input,
.form-group select,
.form-group textarea {
  border-radius: 10px;
  background: #fbf8f3;
}

@media (max-width: 900px) {
  .hero {
    min-height: 92vh;
    padding: 8rem 2rem 7rem;
  }
  .hero-bg {
    background:
      linear-gradient(90deg, rgba(27, 17, 11, 0.94), rgba(36, 23, 15, 0.62)),
      url("hero-horse-v2.jpg") 78% center / cover no-repeat;
  }
  .hero h1 {
    font-size: clamp(3.2rem, 10vw, 4.5rem);
  }
  .stat-item + .stat-item::before {
    display: none;
  }
}

@media (max-width: 600px) {
  nav,
  nav.scrolled {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .nav-logo span {
    font-size: 1rem;
    letter-spacing: 0.08em;
  }
  .hero {
    min-height: 90vh;
    padding: 7.5rem 1.4rem 6rem;
  }
  .hero-bg {
    background:
      linear-gradient(90deg, rgba(27, 17, 11, 0.94), rgba(36, 23, 15, 0.72)),
      url("hero-horse-v2.jpg") 86% center / cover no-repeat;
  }
  .hero h1 {
    font-size: clamp(2.75rem, 15vw, 3.65rem);
  }
  .hero p {
    font-size: 0.95rem;
  }
  .hero-btns {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-btns .btn {
    text-align: center;
  }
  .promo-banner p span {
    display: block;
    margin: 0.25rem 0 0;
  }
  section {
    padding: 5.5rem 1.25rem;
  }
  .section-header {
    margin-bottom: 3.25rem;
  }
}

/* ============ REGULAMIN ============ */
.nav-links a[aria-current="page"] {
  color: var(--gold-light);
}

.nav-links a[aria-current="page"]::after {
  width: 100%;
}

.rules-page {
  background: #f3ede4;
}

.rules-page nav {
  background: rgba(36, 23, 15, 0.94);
  backdrop-filter: blur(18px);
}

.rules-hero {
  min-height: 510px;
  padding: 10rem 2rem 6.5rem;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(29, 18, 11, 0.72), rgba(36, 23, 15, 0.94)),
    url("hero-horse-v2.jpg") center 42% / cover no-repeat;
}

.rules-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(219, 196, 156, 0.14), transparent 35%),
    repeating-linear-gradient(135deg, transparent 0 32px, rgba(255, 255, 255, 0.018) 32px 33px);
}

.rules-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 120px;
  height: 35px;
  background: #f3ede4;
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
  transform: translateX(-50%);
}

.rules-hero-inner {
  position: relative;
  z-index: 1;
}

.rules-hero-logo {
  width: 94px;
  height: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.rules-hero-label {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.rules-hero h1 {
  color: var(--white);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.8rem, 8vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.rules-hero-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2rem;
}

.rules-hero-ornament span {
  width: 62px;
  height: 1px;
  background: rgba(219, 196, 156, 0.6);
}

.rules-hero-ornament i {
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold-light);
  transform: rotate(45deg);
}

.rules-content {
  padding-top: 6rem;
  background:
    radial-gradient(circle at 0 10%, rgba(185, 149, 95, 0.09), transparent 24rem),
    #f3ede4;
}

.rules-shell {
  width: min(940px, 100%);
  margin: 0 auto;
}

.rules-paper {
  position: relative;
  padding: clamp(2rem, 6vw, 5rem);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(73, 49, 31, 0.11);
  border-radius: 24px;
  box-shadow: 0 35px 90px rgba(50, 34, 24, 0.14);
}

.rules-paper::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--chocolate), var(--gold), var(--chocolate));
}

.rules-paper-header {
  position: relative;
  padding: 0 5rem 2.5rem 0;
  border-bottom: 1px solid rgba(73, 49, 31, 0.12);
}

.rules-paper-header h2 {
  max-width: 620px;
  color: var(--chocolate);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.08;
}

.rules-paper-mark {
  position: absolute;
  top: 0;
  right: 0;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(185, 149, 95, 0.4);
  border-radius: 50%;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.rules-list {
  margin-top: 1.3rem;
  list-style: none;
  counter-reset: stable-rule;
}

.rules-list > li {
  counter-increment: stable-rule;
  position: relative;
  min-height: 4rem;
  padding: 1.35rem 0 1.35rem 4.2rem;
  color: #49392f;
  border-bottom: 1px solid rgba(73, 49, 31, 0.09);
  font-size: 1rem;
  line-height: 1.75;
}

.rules-list > li::before {
  content: counter(stable-rule, decimal-leading-zero);
  position: absolute;
  top: 1.2rem;
  left: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  color: var(--chocolate);
  background: var(--cream-warm);
  border: 1px solid rgba(185, 149, 95, 0.34);
  border-radius: 50%;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.92rem;
  font-weight: 700;
}

.rules-list strong {
  color: #7b3428;
  letter-spacing: 0.03em;
}

.rules-list-expanded p {
  margin-bottom: 0.75rem;
}

.rules-list-expanded ul {
  display: grid;
  gap: 0.55rem;
  list-style: none;
}

.rules-list-expanded ul li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--text-soft);
}

.rules-list-expanded ul li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}

.rules-notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  align-items: start;
  margin-top: 3rem;
  padding: 2rem;
  color: rgba(255, 255, 255, 0.86);
  background: linear-gradient(135deg, #3a271a, #533a27);
  border-radius: 16px;
  box-shadow: 0 16px 35px rgba(50, 34, 24, 0.17);
}

.rules-notice-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--chocolate-deep);
  background: var(--gold-light);
  border-radius: 50%;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.rules-notice p {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.55;
}

.rules-acceptance {
  display: grid;
  gap: 0.85rem;
  margin-top: 2rem;
  list-style: none;
}

.rules-acceptance li {
  position: relative;
  padding: 1rem 1.2rem 1rem 3.4rem;
  color: var(--chocolate);
  background: rgba(239, 231, 220, 0.65);
  border: 1px solid rgba(185, 149, 95, 0.22);
  border-radius: 12px;
  font-weight: 700;
}

.rules-acceptance li::before {
  content: "✓";
  position: absolute;
  top: 0.85rem;
  left: 1.15rem;
  color: var(--gold);
  font-size: 1.15rem;
}

.rules-home-link {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2.5rem auto 0;
  color: var(--chocolate);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rules-home-link span {
  transition: transform 0.25s ease;
}

.rules-home-link:hover span {
  transform: translateX(-4px);
}

.rules-footer .footer-grid {
  grid-template-columns: 1.5fr 1fr 1fr;
}

.privacy-hero h1 {
  font-size: clamp(3.2rem, 7vw, 5.6rem);
}

.legal-paper {
  color: var(--text-soft);
}

.legal-updated {
  margin-top: 0.9rem;
  color: var(--brown-warm);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-section {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(73, 49, 31, 0.09);
}

.legal-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-section h3 {
  margin-bottom: 0.8rem;
  color: var(--chocolate);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  line-height: 1.25;
}

.legal-section p + p {
  margin-top: 0.75rem;
}

.legal-section ul {
  display: grid;
  gap: 0.55rem;
  margin: 0.8rem 0 0.8rem 1.2rem;
}

.legal-section a {
  color: var(--chocolate);
  font-weight: 700;
  text-underline-offset: 2px;
}

.legal-section code {
  padding: 0.12rem 0.35rem;
  color: var(--chocolate);
  background: var(--cream-warm);
  border-radius: 4px;
}

.legal-section .legal-alert {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  color: #6f342e;
  background: #fbefed;
  border-left: 3px solid #a85454;
  border-radius: 0 10px 10px 0;
  font-weight: 700;
}

@media (max-width: 700px) {
  .rules-hero {
    min-height: 430px;
    padding: 8.5rem 1.25rem 5rem;
  }

  .rules-hero-logo {
    width: 78px;
  }

  .rules-content {
    padding: 3.5rem 1rem 5rem;
  }

  .rules-paper {
    padding: 2.2rem 1.25rem;
    border-radius: 16px;
  }

  .rules-paper-header {
    padding-right: 0;
  }

  .rules-paper-mark {
    display: none;
  }

  .rules-list > li {
    min-height: 3.5rem;
    padding: 1.15rem 0 1.15rem 3.35rem;
    font-size: 0.94rem;
    line-height: 1.68;
  }

  .rules-list > li::before {
    top: 1.05rem;
    width: 2.35rem;
    height: 2.35rem;
    font-size: 0.8rem;
  }

  .rules-notice {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem;
  }

  .rules-notice p {
    font-size: 1.1rem;
  }

  .rules-acceptance li {
    padding-right: 0.9rem;
    font-size: 0.9rem;
  }

  .rules-footer .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  .rules-page nav,
  .rules-hero,
  .rules-home-link,
  .rules-footer,
  .rules-page .back-to-top,
  .rules-page .reading-progress,
  .rules-page .preloader {
    display: none !important;
  }

  .rules-content {
    padding: 0;
    background: #fff;
  }

  .rules-paper {
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}

/* ============ ERROR PAGE ============ */
.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
  color: var(--cream);
  background:
    radial-gradient(circle at 50% 10%, rgba(185, 149, 95, 0.16), transparent 34rem),
    var(--chocolate-deep);
}

.error-page-main {
  max-width: 620px;
  text-align: center;
}

.error-page-main img {
  width: 100px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.error-code {
  margin-top: 1rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.35em;
}

.error-page-main h1 {
  margin: 0.4rem 0 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.7rem, 8vw, 4.8rem);
  font-weight: 400;
  line-height: 1;
}

.error-page-main > p:not(.error-code) {
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.68);
}
