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

:root {
  --navy:      #1c2b40;
  --gold:      #c9a84c;
  --gold-dim:  rgba(201,168,76,0.4);
  --gold-faint:rgba(201,168,76,0.12);
  --cream:     #f5f0e8;
  --navy-60:   rgba(28,43,64,0.6);
  --navy-50:   rgba(28,43,64,0.5);
  --navy-45:   rgba(28,43,64,0.45);
  --navy-10:   rgba(28,43,64,0.1);
  --navy-08:   rgba(28,43,64,0.08);
  --white-45:  rgba(255,255,255,0.45);
  --white-70:  rgba(255,255,255,0.7);
  --max-w:     1060px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--cream);
  color: var(--navy);
  line-height: 1.6;
  overflow-x: hidden;
}

em { font-style: italic; color: var(--gold); }

/* ──────────────────────────────────────────
   SIDEBAR — czarny pasek z logo po prawej
────────────────────────────────────────── */
.xf-sidebar {
  position: fixed;
  right: 0;
  top: 0;
  width: 120px;
  height: 100vh;
  background: #0d1117;
  z-index: 200;
  overflow: hidden;
  border-left: 0.5px solid rgba(201,168,76,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.xf-wolf-logo {
  width: 110px;
  height: auto;
  display: block;
  mix-blend-mode: lighten;
}

/* ──────────────────────────────────────────
   MAIN WRAPPER
────────────────────────────────────────── */
.xf-main {
  margin-right: 120px;
}

/* ──────────────────────────────────────────
   NAV
────────────────────────────────────────── */
.xf-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 48px;
  border-bottom: 0.5px solid var(--navy-10);
  background: rgba(245,240,232,0.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.xf-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.2em;
  color: var(--navy);
}
.xf-logo span { color: var(--gold); }

.xf-nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
}
.xf-nav-links li {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-50);
  cursor: pointer;
  transition: color 0.2s;
}
.xf-nav-links li:hover { color: var(--navy); }

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

.xf-lang-toggle {
  display: flex;
  border: 0.5px solid rgba(28,43,64,0.2);
  border-radius: 4px;
  overflow: hidden;
}
.xf-lang-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--navy-45);
  transition: all 0.18s;
}
.xf-lang-btn:first-child { border-right: 0.5px solid rgba(28,43,64,0.15); }
.xf-lang-btn.active { background: var(--navy); color: var(--cream); }
.xf-lang-btn:hover:not(.active) { background: var(--white-45); }

.xf-nav-cta {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--gold);
  border: none;
  padding: 9px 22px;
  cursor: pointer;
  transition: background 0.2s;
}
.xf-nav-cta:hover { background: #b8943d; }

/* ──────────────────────────────────────────
   BUTTONS
────────────────────────────────────────── */
.xf-btn-dark {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--navy);
  border: none;
  padding: 14px 32px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.xf-btn-dark:hover { background: var(--gold); transform: translateY(-1px); }

.xf-btn-outline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background: transparent;
  border: 0.5px solid rgba(28,43,64,0.28);
  padding: 14px 28px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.xf-btn-outline:hover { border-color: var(--navy); }

/* ──────────────────────────────────────────
   HERO
────────────────────────────────────────── */
.xf-hero {
  position: relative;
  padding: 96px 48px 76px;
  background: var(--cream);
  overflow: hidden;
  min-height: 480px;
}

.xf-hero-ornament {
  position: absolute;
  top: 40px; right: 120px;
  width: 200px; height: 200px;
  border: 0.5px solid rgba(201,168,76,0.18);
  border-radius: 50%;
  pointer-events: none;
}
.xf-hero-ornament2 {
  position: absolute;
  top: 58px; right: 138px;
  width: 164px; height: 164px;
  border: 0.5px solid rgba(201,168,76,0.1);
  border-radius: 50%;
  pointer-events: none;
}
.xf-hero-mountain {
  display: none;
}

.xf-hero-dog {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 55%;
  pointer-events: none;
  overflow: hidden;
}

.xf-hero-dog img {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: left center;
  opacity: 1;
  /* multiply usuwa białe tło zamiast czarnego — zachowuje psa na kremowym tle */
  mix-blend-mode: multiply;
}

/* wąski gradient tylko na lewej krawędzi — płynne przejście bez znikania */
.xf-hero-dog::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(to right, #f5f0e8 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* delikatny gradient na dole */
.xf-hero-dog::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 20%;
  background: linear-gradient(to top, #f5f0e8 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.xf-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.xf-badge::before,
.xf-badge::after {
  content: '';
  display: block;
  width: 26px;
  height: 0.5px;
  background: var(--gold);
  opacity: 0.6;
}

.xf-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(38px, 5.5vw, 62px);
  line-height: 1.0;
  color: var(--navy);
  max-width: 600px;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.xf-hero-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--navy-60);
  max-width: 460px;
  margin-top: 22px;
  margin-bottom: 40px;
  line-height: 1.75;
}

.xf-hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

/* ──────────────────────────────────────────
   VALUES
────────────────────────────────────────── */
.xf-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 0.5px solid var(--navy-10);
  border-bottom: 0.5px solid var(--navy-10);
  background: var(--white-45);
}
.xf-value {
  padding: 24px 30px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  border-right: 0.5px solid var(--navy-08);
}
.xf-value:last-child { border-right: none; }

.xf-value-icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
  border: 0.5px solid var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.xf-value h4 {
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 4px;
}
.xf-value p {
  font-size: 12px;
  color: var(--navy-50);
  line-height: 1.55;
}

/* ──────────────────────────────────────────
   STATS
────────────────────────────────────────── */
.xf-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 36px 48px;
  border-bottom: 0.5px solid var(--navy-08);
}
.xf-stat {
  padding: 0 28px;
  border-right: 0.5px solid var(--navy-08);
}
.xf-stat:first-child { padding-left: 0; }
.xf-stat:last-child { border-right: none; }

.xf-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.01em;
}
.xf-stat-num span { color: var(--gold); }
.xf-stat-label {
  font-size: 11px;
  color: var(--navy-45);
  margin-top: 4px;
  letter-spacing: 0.03em;
}

/* ──────────────────────────────────────────
   SECTION LAYOUT
────────────────────────────────────────── */
.xf-section {
  padding: 76px 48px;
  max-width: var(--max-w);
}

.xf-stag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.xf-stag::after {
  content: '';
  flex: 0 0 28px;
  height: 0.5px;
  background: var(--gold);
  opacity: 0.5;
}

.xf-stitle {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--navy);
  line-height: 1.08;
  max-width: 520px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.xf-slead {
  font-size: 14px;
  font-weight: 300;
  color: var(--navy-60);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 44px;
}

/* ──────────────────────────────────────────
   PRODUCT CARDS
────────────────────────────────────────── */
.xf-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.xf-card {
  background: var(--white-45);
  border: 0.5px solid var(--navy-08);
  padding: 30px 26px;
  position: relative;
  transition: background 0.22s, border-color 0.22s;
}
.xf-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.22s;
}
.xf-card:hover::before { opacity: 1; }
.xf-card:hover { background: var(--white-70); }

.xf-card-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 400;
  color: rgba(201,168,76,0.28);
  line-height: 1;
  margin-bottom: 14px;
}
.xf-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--navy);
  margin-bottom: 9px;
}
.xf-card p {
  font-size: 12px;
  color: rgba(28,43,64,0.52);
  line-height: 1.65;
}
.xf-card-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 0.5px solid var(--gold-dim);
  padding: 3px 9px;
  margin-top: 14px;
  background: var(--gold-faint);
}

/* ──────────────────────────────────────────
   REGULATION BAND
────────────────────────────────────────── */
.xf-reg-band {
  background: var(--navy);
  padding: 64px 48px;
}
.xf-reg-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
.xf-reg-left { flex: 1; }
.xf-reg-left .xf-stag { color: var(--gold); }
.xf-reg-left .xf-stag::after { background: var(--gold); }

.xf-reg-left h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 14px;
  line-height: 1.18;
}
.xf-reg-left p {
  font-size: 13px;
  color: rgba(245,240,232,0.5);
  line-height: 1.75;
}

.xf-reg-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.xf-reg-item {
  border: 0.5px solid rgba(201,168,76,0.2);
  padding: 14px 18px;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  transition: border-color 0.2s;
}
.xf-reg-item:hover { border-color: rgba(201,168,76,0.5); }
.xf-reg-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 7px;
}
.xf-reg-t {
  font-size: 13px;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 2px;
}
.xf-reg-s {
  font-size: 11px;
  color: rgba(245,240,232,0.4);
}

/* ──────────────────────────────────────────
   FEATURES
────────────────────────────────────────── */
.xf-feat-wrap {
  border: 0.5px solid var(--navy-10);
  padding: 50px 44px;
  background: var(--white-45);
}
.xf-feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 48px;
}
.xf-feat { display: flex; gap: 16px; }
.xf-feat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  color: rgba(201,168,76,0.32);
  min-width: 28px;
  line-height: 1;
  flex-shrink: 0;
}
.xf-feat h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--navy);
  margin-bottom: 5px;
}
.xf-feat p {
  font-size: 12px;
  color: rgba(28,43,64,0.5);
  line-height: 1.65;
}

/* ──────────────────────────────────────────
   TEAM
────────────────────────────────────────── */
.xf-team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.xf-team-card {
  background: var(--white-45);
  border: 0.5px solid var(--navy-08);
  padding: 30px;
  transition: border-color 0.22s, background 0.22s;
}
.xf-team-card:hover {
  border-color: var(--gold-dim);
  background: var(--white-70);
}
.xf-team-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 0.5px solid var(--navy-08);
}
.xf-avatar {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--gold-faint);
  border: 0.5px solid var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 17px;
  color: var(--gold);
  flex-shrink: 0;
}
/* Podmień awatar na zdjęcie: dodaj klasę xf-photo i background-image */
.xf-avatar.xf-photo {
  background-size: cover;
  background-position: center top;
  font-size: 0;
}
.xf-tname {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 2px;
}
.xf-trole {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.xf-tbullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.xf-tbullet { display: flex; gap: 10px; align-items: flex-start; }
.xf-tdot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 8px;
}
.xf-tbullet-text {
  font-size: 12px;
  color: rgba(28,43,64,0.55);
  line-height: 1.55;
}
.xf-tquote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--navy-45);
  line-height: 1.65;
  padding-top: 14px;
  border-top: 0.5px solid var(--navy-08);
}
.xf-ttags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.xf-ttag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold);
  border: 0.5px solid var(--gold-dim);
  padding: 3px 8px;
  background: var(--gold-faint);
}

/* ──────────────────────────────────────────
   CTA / CONTACT
────────────────────────────────────────── */
.xf-cta {
  text-align: center;
  padding: 84px 48px;
  background: var(--cream);
}
.xf-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 16px;
}
.xf-cta p {
  font-size: 14px;
  color: var(--navy-50);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.xf-cta-form {
  display: flex;
  gap: 0;
  max-width: 400px;
  margin: 0 auto 28px;
}
.xf-cta-form input {
  flex: 1;
  background: #fff;
  border: 0.5px solid rgba(28,43,64,0.2);
  border-right: none;
  padding: 12px 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s;
}
.xf-cta-form input::placeholder { color: rgba(28,43,64,0.32); }
.xf-cta-form input:focus { border-color: rgba(201,168,76,0.6); }

.xf-contact-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.xf-citem {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--navy-50);
}
.xf-citem svg { color: var(--gold); flex-shrink: 0; }

/* ──────────────────────────────────────────
   FOOTER
────────────────────────────────────────── */
.xf-footer {
  background: var(--navy);
  padding: 22px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.xf-footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.2em;
  color: rgba(245,240,232,0.28);
}
.xf-footer-logo span { color: rgba(201,168,76,0.45); }
.xf-footer-links {
  display: flex;
  gap: 18px;
  list-style: none;
}
.xf-footer-links li {
  font-size: 11px;
  color: rgba(245,240,232,0.28);
  cursor: pointer;
  transition: color 0.2s;
}
.xf-footer-links li:hover { color: rgba(245,240,232,0.6); }
.xf-footer-copy {
  font-size: 11px;
  color: rgba(245,240,232,0.2);
}

/* ──────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────── */
@media (max-width: 960px) {
  .xf-sidebar { display: none; }
  .xf-main { margin-right: 0; }

  .xf-nav { padding: 14px 20px; flex-wrap: wrap; gap: 10px; }
  .xf-nav-links { display: none; }

  .xf-hero { padding: 60px 20px 52px; }
  .xf-hero-ornament, .xf-hero-ornament2, .xf-hero-mountain, .xf-hero-dog { display: none; }

  .xf-values { grid-template-columns: 1fr; }
  .xf-value { border-right: none; border-bottom: 0.5px solid var(--navy-08); }
  .xf-value:last-child { border-bottom: none; }

  .xf-stats { padding: 24px 20px; flex-wrap: wrap; display: flex; gap: 20px; }
  .xf-stat { flex: 1 1 40%; padding: 0 16px; border-right: none; }

  .xf-section { padding: 52px 20px; }
  .xf-products { grid-template-columns: 1fr 1fr; }
  .xf-reg-band { padding: 44px 20px; }
  .xf-reg-inner { flex-direction: column; gap: 32px; }
  .xf-feat-wrap { padding: 32px 20px; }
  .xf-feat-grid { grid-template-columns: 1fr; gap: 26px; }
  .xf-team-grid { grid-template-columns: 1fr; }
  .xf-cta { padding: 60px 20px; }
  .xf-cta-form { flex-direction: column; }
  .xf-cta-form input { border-right: 0.5px solid rgba(28,43,64,0.2); border-bottom: none; }
  .xf-contact-row { flex-direction: column; align-items: center; gap: 10px; }
  .xf-footer { padding: 20px; flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .xf-products { grid-template-columns: 1fr; }
}
