:root {
  --bg: #050505;
  --bg-soft: #0b0b0b;
  --surface: #111111;
  --surface-2: #171717;
  --gold-1: #fff2c4;
  --gold-2: #f2d58a;
  --gold-3: #cfa24e;
  --gold-4: #9a6c1e;
  --text: #f7f2e8;
  --text-muted: #d7cebe;
  --line: rgba(242, 213, 138, 0.45);
  --line-soft: rgba(242, 213, 138, 0.2);
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.5);
  --gold-metal: linear-gradient(
    130deg,
    var(--gold-4) 0%,
    var(--gold-3) 22%,
    var(--gold-1) 40%,
    var(--gold-2) 56%,
    var(--gold-4) 100%
  );
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 78% 0%, #1a1a1a 0%, var(--bg) 52%);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(242, 213, 138, 0.05), transparent 26%),
    linear-gradient(300deg, rgba(154, 108, 30, 0.06), transparent 34%);
  z-index: -2;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.site-header {
  position: relative;
  background: rgba(5, 5, 5, 0.9);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.topbar {
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.nav-wrap {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 10px;
  padding: 14px 0 12px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.brand-mark {
  width: clamp(220px, 19vw, 320px);
  height: auto;
}

.brand-wordmark {
  width: clamp(260px, 38vw, 620px);
  height: auto;
  max-width: 100%;
}

.nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.94rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.nav a:hover,
.nav a.active {
  background: var(--gold-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  border-bottom-color: var(--gold-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid var(--gold-2);
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.8rem;
  font-weight: 700;
  transition: 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-gold {
  color: #18150f;
  background: var(--gold-metal);
  box-shadow: inset 0 0 0 1px rgba(255, 242, 196, 0.5), 0 10px 24px rgba(154, 108, 30, 0.42);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(255, 242, 196, 0.65), 0 14px 26px rgba(154, 108, 30, 0.5);
}

.btn-outline {
  border-color: var(--gold-2);
  color: var(--gold-2);
  background: linear-gradient(135deg, rgba(242, 213, 138, 0.06), rgba(242, 213, 138, 0.02));
}

.btn-outline:hover {
  color: #18150f;
  background: var(--gold-metal);
}

.hero {
  position: relative;
  padding: 120px 0 108px;
  min-height: 72vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(105deg, rgba(4, 4, 4, 0.86), rgba(4, 4, 4, 0.38)),
    url("https://images.unsplash.com/photo-1521590832167-7bcbfaa6381f?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  z-index: -3;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid var(--line-soft);
  box-shadow: inset 0 0 70px rgba(0, 0, 0, 0.35);
  z-index: -2;
}

.kicker {
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  margin-bottom: 10px;
}

h1,
h2 {
  font-family: "Manrope", "Segoe UI", sans-serif;
  margin: 0;
  line-height: 1.14;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.35rem, 6vw, 4.2rem);
  max-width: 820px;
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 14px;
}

h3 {
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(1.3rem, 2.7vw, 1.8rem);
  font-weight: 700;
}

p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.72;
  font-size: 1.04rem;
}

.hero p {
  max-width: 660px;
  margin: 16px 0 30px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

section {
  padding: 92px 0;
}

.section-head {
  margin-bottom: 34px;
}

.section-head p {
  max-width: 780px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.card {
  background: linear-gradient(160deg, rgba(25, 25, 25, 0.86), rgba(11, 11, 11, 0.94));
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(130deg, rgba(255, 242, 196, 0.55), rgba(207, 162, 78, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.card h3 {
  background: var(--gold-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

.media-card {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.media-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.media-card:hover img {
  transform: scale(1.04);
}

.media-card .caption {
  padding: 18px 20px 22px;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.team-grid .media-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  align-items: center;
  gap: 18px;
  padding: 14px;
}

.team-grid .media-card img {
  width: 132px;
  height: 170px;
  border-radius: 10px;
  object-fit: cover;
  margin: 0;
  transform-origin: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
}

.team-grid .media-card:hover img {
  transform: scale(1.04);
  box-shadow: 0 0 0 1px rgba(255, 242, 196, 0.2), 0 12px 26px rgba(0, 0, 0, 0.45);
  filter: saturate(1.06);
}

.team-grid .media-card .caption {
  padding: 0;
}

.team-grid .media-card .caption h3 {
  margin: 0 0 10px;
}

.team-grid .media-card .caption p {
  font-size: 0.98rem;
  line-height: 1.55;
}

.owner-card {
  border-color: var(--line);
  background: linear-gradient(155deg, rgba(29, 23, 14, 0.78), rgba(13, 13, 13, 0.96));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(255, 242, 196, 0.08);
}

.owner-card .caption h3::after {
  content: " - Właścicielka";
  color: var(--gold-2);
  font-size: 0.84em;
  letter-spacing: 0.03em;
}

.strip {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(90deg, #090909 0%, #151515 50%, #090909 100%);
}

.strip-inner {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding: 34px 0;
  flex-wrap: wrap;
}

.contact-box {
  display: grid;
  gap: 16px;
}

.contact-item {
  border-left: 1px solid var(--gold-3);
  padding-left: 14px;
}

.phone-strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  letter-spacing: 0.01em;
  background: var(--gold-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gallery-grid {
  columns: 3 280px;
  column-gap: 16px;
}

.gallery-grid img {
  width: 100%;
  margin-bottom: 16px;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  min-height: 390px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  filter: grayscale(0.2) contrast(1.08);
  box-shadow: var(--shadow);
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 34px 0 38px;
  background: #070707;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.ornament {
  width: 130px;
  height: 1px;
  margin: 18px 0;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
}

@media (max-width: 900px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: clamp(164px, 32vw, 220px);
  }

  .brand-wordmark {
    width: min(100%, 420px);
  }

  .nav-wrap {
    align-items: center;
    gap: 12px;
  }

  .nav {
    justify-content: center;
  }

  .hero {
    padding-top: 92px;
    min-height: 62vh;
  }

  .team-grid .media-card {
    grid-template-columns: 112px 1fr;
    gap: 14px;
  }

  .staff-grid {
    grid-template-columns: 1fr;
  }

  .team-grid .media-card img {
    width: 112px;
    height: 144px;
  }
}

@media (max-width: 560px) {
  p {
    font-size: 1rem;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .brand {
    gap: 6px;
  }

  .brand-mark {
    width: clamp(142px, 40vw, 182px);
  }

  .brand-wordmark {
    width: min(100%, 320px);
  }

  .team-grid .media-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: left;
    gap: 12px;
  }

  .team-grid .media-card .caption {
    width: 100%;
  }

  .team-grid .media-card img {
    width: 106px;
    height: 136px;
  }
}
