:root {
  --navy: #101820;
  --navy-2: #172331;
  --gold: #c8a96a;
  --gold-2: #e7d2a3;
  --ivory: #f7f3eb;
  --paper: #fffaf1;
  --text: #1f2933;
  --muted: #667085;
  --line: rgba(16, 24, 32, .12);
  --shadow: 0 24px 70px rgba(16, 24, 32, .16);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--ivory);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 24, 32, .92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 13px; color: #fff; }
.brand-mark { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(200,169,106,.7); color: var(--gold-2); font-family: "Cormorant Garamond", serif; font-weight: 700; font-size: 20px; }
.brand-text { font-family: "Cormorant Garamond", serif; font-size: clamp(22px, 3vw, 30px); font-weight: 700; letter-spacing: .02em; line-height: 1; }
.brand-text small { display: block; font-family: Inter, sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: .24em; color: var(--gold-2); margin-top: 5px; }
.menu { display: flex; align-items: center; gap: 26px; color: rgba(255,255,255,.84); font-size: 14px; font-weight: 600; }
.menu a:hover { color: var(--gold-2); }
.nav-cta { padding: 11px 18px; border: 1px solid rgba(200,169,106,.75); color: var(--gold-2) !important; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.2); background: transparent; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; background: #fff; margin: 5px 0; }

.hero { position: relative; overflow: hidden; min-height: 760px; background: radial-gradient(circle at 80% 10%, rgba(200,169,106,.24), transparent 30%), linear-gradient(135deg, #101820 0%, #172331 58%, #0c1117 100%); color: #fff; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000, transparent 80%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 54px; align-items: center; padding: 118px 0 88px; }
.eyebrow, .section-label { color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 800; margin: 0 0 16px; }
h1, h2, h3 { margin: 0; line-height: 1.08; color: inherit; }
h1, h2 { font-family: "Cormorant Garamond", serif; font-weight: 700; }
h1 { font-size: clamp(44px, 7vw, 82px); max-width: 870px; }
h2 { font-size: clamp(34px, 5vw, 58px); }
h3 { font-size: 21px; }
.hero blockquote { margin: 32px 0 0; padding-left: 22px; border-left: 2px solid var(--gold); color: rgba(255,255,255,.82); max-width: 710px; font-family: "Cormorant Garamond", serif; font-size: clamp(22px, 3vw, 31px); line-height: 1.28; }
.hero cite { display: block; margin-top: 12px; font-family: Inter, sans-serif; font-style: normal; font-size: 13px; color: var(--gold-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 22px; border-radius: 999px; font-weight: 800; font-size: 14px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: #101820; box-shadow: 0 14px 40px rgba(200,169,106,.24); }
.btn-secondary { border: 1px solid rgba(255,255,255,.26); color: #fff; }
.hero-card { background: rgba(255,250,241,.96); color: var(--text); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); border-top: 5px solid var(--gold); }
.hero-card h2 { font-size: 36px; color: var(--navy); }
.hero-card ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.hero-card li { position: relative; padding-left: 24px; }
.hero-card li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; background: var(--gold); border-radius: 999px; }

.section { padding: 94px 0; }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.lead-copy { font-size: 18px; color: #344054; }
.lead-copy p:first-child { margin-top: 0; }
.stats { padding: 34px 0; background: var(--navy); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); }
.stats-grid div { background: var(--navy); padding: 28px; }
.stats-grid strong { display: block; color: var(--gold-2); font-family: "Cormorant Garamond", serif; font-size: 36px; line-height: 1; }
.stats-grid span { display: block; margin-top: 10px; color: rgba(255,255,255,.82); font-weight: 600; }
.section-head { max-width: 820px; margin-bottom: 42px; }
.section-head p:last-child { font-size: 18px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: 0 14px 40px rgba(16,24,32,.06); }
.service-card span { color: var(--gold); font-weight: 800; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.service-card h3 { color: var(--navy); margin-top: 16px; }
.service-card p { color: #475467; margin-bottom: 0; }
.values { background: #fff; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: stretch; }
.values-panel { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 44px; }
.value-list { display: grid; gap: 18px; }
.value-list div { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.value-list p { color: var(--muted); margin-bottom: 0; }
.cta-section { padding: 70px 0; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-box p:not(.section-label) { color: rgba(255,255,255,.78); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 58px; }
.contact-note { color: var(--muted); font-size: 17px; }
.contact-list { display: grid; gap: 12px; margin-top: 28px; font-weight: 800; color: var(--navy); }
.contact-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 16px; }
label { display: grid; gap: 8px; font-weight: 800; color: var(--navy); }
input, textarea { width: 100%; border: 1px solid rgba(16,24,32,.16); border-radius: 14px; padding: 14px 15px; font: inherit; background: #fff; color: var(--text); }
input:focus, textarea:focus { outline: 3px solid rgba(200,169,106,.28); border-color: var(--gold); }
.form-small { margin: 0; color: var(--muted); font-size: 13px; }
.footer { background: #0c1117; color: rgba(255,255,255,.78); padding: 26px 0; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer a { margin-left: 18px; color: var(--gold-2); font-weight: 700; }

@media (max-width: 940px) {
  .menu-toggle { display: block; }
  .menu { position: fixed; left: 20px; right: 20px; top: 88px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px; background: #fffaf1; color: var(--navy); border-radius: 18px; box-shadow: var(--shadow); }
  .menu.is-open { display: flex; }
  .menu a { padding: 14px; border-bottom: 1px solid var(--line); }
  .menu a:last-child { border-bottom: 0; }
  .nav-cta { text-align: center; border-color: var(--gold); color: var(--navy) !important; }
  .hero-grid, .split, .values-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero { min-height: auto; }
  .hero-grid { padding: 82px 0 62px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-box, .footer-grid { flex-direction: column; align-items: flex-start; }
  .footer a { margin-left: 0; margin-right: 18px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1120px); }
  .nav { min-height: 70px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-text { font-size: 22px; }
  .brand-text small { font-size: 9px; }
  h1 { font-size: 42px; }
  h2 { font-size: 34px; }
  .hero-card, .values-panel, .contact-form, .service-card { padding: 24px; border-radius: 18px; }
  .hero-actions, .btn { width: 100%; }
  .service-grid, .stats-grid { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .stats-grid div { padding: 24px; }
}

.team {
  padding: 80px 20px;
  background: #f9f9f9;
  text-align: center;
}

.team h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.section-subtitle {
  color: #777;
  margin-bottom: 40px;
}

.team-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.team-card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  max-width: 320px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.team-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.team-card p {
  font-size: 15px;
  color: #555;
}

/* === TEAM PREMIUM === */

.team-premium {
  padding: 100px 20px;
  background: #0f1720;
  color: #fff;
}

.team-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.team-header h2 {
  font-size: 36px;
  letter-spacing: 1px;
}

.team-header p {
  color: #bbb;
  margin-top: 15px;
}

.divider {
  width: 60px;
  height: 2px;
  background: #c6a86b;
  margin: 15px auto;
}

.team-premium-grid {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.team-premium-card {
  max-width: 340px;
  background: #111927;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
}

.team-premium-card:hover {
  transform: translateY(-10px);
}

/* Złoty efekt hover */
.team-premium-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: 0.4s;
}

.team-premium-card:hover::before {
  border: 1px solid #c6a86b;
}

.image-wrapper {
  overflow: hidden;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.team-premium-card:hover img {
  transform: scale(1.05);
}

.card-content {
  padding: 25px;
}

.card-content h3 {
  font-size: 22px;
  margin-bottom: 5px;
}

.card-content span {
  display: block;
  font-size: 14px;
  color: #c6a86b;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.card-content p {
  font-size: 15px;
  color: #ccc;
  line-height: 1.6;
}

/* MOBILE */
@media (max-width: 768px) {
  .team-premium {
    padding: 70px 15px;
  }

  .team-header h2 {
    font-size: 28px;
  }
}