:root {
  /* Kolory z identyfikacji ORLEX */
  --bg: #ffffff;
  --bg-alt: #f7f4ee;      /* ciepła kość słoniowa */
  --fg: #0a1527;          /* granatowy tekst */
  --muted: #5b6472;
  --navy: #0a1527;        /* #0A1527 */
  --navy-dark: #040a17;   /* #040A17 */
  --gold: #c0a16c;        /* #C0A16C */
  --gold-dark: #a6804b;   /* #A6804B */
  --gold-light: #e0c8a2;  /* #E0C8A2 */
  --bronze: #816136;      /* #816136 */
  --accent: #0a1527;
  --accent-fg: #ffffff;
  --card: #ffffff;
  --line: #e7e1d6;        /* ciepła linia */
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 10px 30px rgba(10,21,39,.08);
  --radius: 12px;
  --serif: "Cinzel", "Times New Roman", Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------------- Przyciski ---------------- */
.btn {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  padding: .8rem 1.4rem;
  border: none;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  transition: transform .12s ease, background .15s ease, opacity .15s ease;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-gold:hover { background: var(--gold-dark); }

/* ---------------- Nagłówek / menu ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--navy);
}
.brand-logo {
  display: block;
  width: 58px;
  height: 54px;
  flex: none;
  background-image: url("assets/logo.jpg");
  background-repeat: no-repeat;
  background-size: 110px 110px;   /* skala logo 1254x1254 -> emblemat wypełnia kadr */
  background-position: -26px -15px; /* przesunięcie tak, by widoczna była sama tarcza z orłem */
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--navy);
}
.brand-sub {
  font-size: .62rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-top: .28rem;
}
.nav-links {
  display: flex;
  gap: 1.6rem;
}
.nav-links a {
  color: var(--fg);
  text-decoration: none;
  font-weight: 600;
  font-size: .98rem;
}
.nav-links a:hover { color: var(--navy); }
.nav-cta { padding: .6rem 1.1rem; font-size: .95rem; }

/* ---------------- Slider ---------------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  overflow: hidden;
}
.slides { position: relative; }
.slide {
  display: none;
  padding: 5.5rem 0;
  animation: fade .6s ease;
}
.slide.is-active { display: block; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.slide-inner { max-width: 640px; }
.slide-eyebrow {
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 .75rem;
}
.slide h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2.9rem;
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: .01em;
}
.slide-text {
  font-size: 1.2rem;
  color: rgba(255,255,255,.85);
  margin: 0 0 2rem;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
}
.slider-arrow:hover { background: rgba(255,255,255,.2); }
.slider-arrow.prev { left: 1rem; }
.slider-arrow.next { right: 1rem; }

.slider-dots {
  position: absolute;
  bottom: 1.4rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: .5rem;
}
.slider-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.4);
  cursor: pointer;
}
.slider-dots button.is-active { background: var(--gold); }

/* ---------------- Sekcje ---------------- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2rem;
  text-align: center;
  margin: 0 0 .5rem;
  letter-spacing: .03em;
  color: var(--navy);
}
.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 1.1rem;
  margin: 0 auto 2.5rem;
  max-width: 620px;
}

/* ---------------- Karty usług ---------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* Sekcja: świadczenie wspierające */
.swiadczenie {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.swiadczenie-title { text-align: left; }
.swiadczenie .slide-eyebrow { color: var(--gold-dark); }
.swiadczenie-text p { color: var(--fg); }
.swiadczenie-help {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
}
.swiadczenie-help h3 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--navy);
  margin: 0 0 1rem;
}
.ticks { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.ticks li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: .7rem;
  color: var(--fg);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--gold-dark);
  border-bottom: 2px solid var(--gold-dark);
  transform: rotate(-45deg);
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,.06), 0 18px 40px rgba(14,42,77,.12);
}
.card-icon {
  width: 58px;
  height: 58px;
  padding: 13px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: rgba(192, 161, 108, .12);
  color: var(--gold-dark);
  display: block;
}
.card-icon svg { width: 100%; height: 100%; display: block; }
.card h3 { font-family: var(--serif); font-weight: 700; margin: 0 0 .5rem; font-size: 1.15rem; letter-spacing: .02em; color: var(--navy); }
.card p { margin: 0; color: var(--muted); }

/* ---------------- Statystyki ---------------- */
.stats {
  background: var(--navy);
  color: #fff;
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.stat-num {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.stat-label {
  margin-top: .4rem;
  color: rgba(255,255,255,.8);
  font-size: 1rem;
}

/* ---------------- O nas ---------------- */
.about { max-width: 720px; margin: 0 auto; text-align: center; }
.about p { font-size: 1.1rem; color: var(--fg); }

/* ---------------- Formularz ---------------- */
.signup {
  max-width: 640px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.25rem;
}
.signup h2 { font-family: var(--serif); font-weight: 700; letter-spacing: .02em; color: var(--navy); margin: 0 0 .25rem; }
.signup-sub { margin: 0 0 1.5rem; color: var(--muted); }

form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: flex; gap: 1rem; }
.form-row label { flex: 1; }
label { display: flex; flex-direction: column; gap: .35rem; font-weight: 600; font-size: .95rem; }
.optional { font-weight: 400; color: var(--muted); }

input, textarea {
  font: inherit;
  padding: .7rem .8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--fg);
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(14,42,77,.15);
}
textarea { resize: vertical; }

button[type="submit"] {
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: .85rem 1rem;
  border: none;
  border-radius: 10px;
  background: var(--gold);
  color: var(--navy-dark);
  transition: background .15s ease;
}
button[type="submit"]:hover { background: var(--gold-dark); }
button[type="submit"]:disabled { opacity: .55; cursor: default; }

.form-status { margin: .25rem 0 0; font-size: .95rem; min-height: 1.2em; }
.form-status.ok { color: #1f7a4d; }
.form-status.err { color: #b4472f; }
.form-consent { margin: 0; font-size: .82rem; color: var(--muted); }

/* ---------------- Stopka ---------------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.8);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer-brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: .18em;
  color: #fff;
}
.footer-brand-sub {
  font-size: .68rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: .3rem;
}
.footer-tag { margin: .8rem 0 0; color: rgba(255,255,255,.55); }
.footer-contact p { margin: 0 0 .6rem; }
.footer-contact a { color: var(--gold); text-decoration: none; }
.footer-bottom {
  padding-top: 1.5rem;
  font-size: .88rem;
  color: rgba(255,255,255,.55);
}

/* ---------------- Responsywność ---------------- */
@media (max-width: 720px) {
  .nav-links { display: none; }
  .slide h1 { font-size: 2.1rem; }
  .slide { padding: 4rem 0; }
  .slider-arrow { display: none; }
  .form-row { flex-direction: column; }
  .section { padding: 3.25rem 0; }
  .cards { grid-template-columns: 1fr; }
  .swiadczenie { grid-template-columns: 1fr; gap: 1.75rem; }
  .swiadczenie-title { text-align: center; }
}
