/* ============================================================
   Kancelaria Radcy Prawnego Katarzyna Zaczek
   Premium: granat (żabot) + krem + złoto
   ============================================================ */

:root {
  --navy-deep: #0D1B2E;      /* tło hero/stopki */
  --navy: #1C3159;           /* granat z logo */
  --navy-soft: #2A4370;
  --gold: #B99358;           /* mosiężne złoto */
  --gold-light: #D8BC8A;
  --cream: #F7F3EC;          /* tło z logo */
  --cream-dark: #EFE9DE;
  --ink: #1A2233;
  --muted: #5C6675;
  --line: #E4DFD4;
  --white: #FFFFFF;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Jost', 'Segoe UI', sans-serif;

  --radius: 16px;
  --shadow: 0 12px 36px rgba(13, 27, 46, 0.10);
  --shadow-lg: 0 24px 60px rgba(13, 27, 46, 0.18);
  --container: 1160px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); }
h3 { font-size: 1.35rem; }

a { color: var(--navy); text-decoration: none; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: .98rem;
  padding: 14px 34px;
  border-radius: 3px;
  transition: all .3s var(--ease);
  cursor: pointer;
  border: none;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #A37F44 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(185, 147, 88, 0.35);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(185, 147, 88, 0.5);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }

.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-3px); box-shadow: var(--shadow); }

/* zgodność wstecz (podstrony) */
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--cream); }

.btn-lg { padding: 17px 44px; font-size: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 236, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}

/* wariant na hero (index) — startuje przezroczysty */
.site-header.on-hero {
  position: fixed;
  left: 0; right: 0;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: none;
}
.site-header.on-hero .brand-name,
.site-header.on-hero .nav-link { color: #fff; }
.site-header.on-hero .brand-sub { color: rgba(255, 255, 255, 0.65); }
.site-header.on-hero .nav-toggle span { background: #fff; }

.site-header.on-hero.scrolled {
  position: fixed;
  background: rgba(247, 243, 236, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(13, 27, 46, 0.08);
}
.site-header.on-hero.scrolled .brand-name,
.site-header.on-hero.scrolled .nav-link { color: var(--ink); }
.site-header.on-hero.scrolled .brand-sub { color: var(--muted); }
.site-header.on-hero.scrolled .nav-toggle span { background: var(--ink); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo {
  height: 54px;
  width: 54px;
  object-fit: cover;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 4px 14px rgba(13, 27, 46, 0.18);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
  transition: color .4s;
}
.brand-sub {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .4s;
}

.main-nav { display: flex; align-items: center; gap: 26px; }
.nav-link {
  color: var(--ink);
  font-weight: 400;
  font-size: .95rem;
  letter-spacing: .03em;
  position: relative;
  transition: color .4s;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -5px;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width .3s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta { margin-left: 10px; padding: 11px 26px; font-size: .85rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--ink);
  transition: all .3s;
}

/* ---------- HERO ---------- */
.hero-main {
  position: relative;
  min-height: clamp(640px, 100vh, 1000px);
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-soft) 100%);
  overflow: hidden;
  padding: 140px 0 90px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('img/library.jpg') center/cover no-repeat;
  opacity: .14;
  filter: saturate(.4);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(13,27,46,.55) 0%, rgba(13,27,46,.25) 55%, rgba(13,27,46,.7) 100%);
}

.hero-watermark {
  position: absolute;
  right: -2%;
  top: 46%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: 46rem;
  line-height: 1;
  color: rgba(216, 188, 138, 0.05);
  pointer-events: none;
  user-select: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 { color: #fff; }
.hero-name {
  display: inline-block;
  margin-top: 6px;
  color: var(--gold-light);
  font-style: italic;
  font-weight: 500;
}

.hero-kicker {
  font-size: .82rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 500;
  margin-bottom: 26px;
}

.gold-divider {
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 30px 0 22px;
}

.hero-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 38px;
}

.hero-cta { display: flex; gap: 18px; flex-wrap: wrap; }

.hero-values {
  margin-top: 46px;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.hero-values span { color: var(--gold); margin: 0 10px; }

/* portret */
.hero-visual {
  position: relative;
  justify-self: center;
}

.portrait-frame {
  position: relative;
  width: min(380px, 100%);
  border-radius: 240px 240px var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.portrait-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(216, 188, 138, 0.35);
}
.portrait-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 6s var(--ease);
}
.hero-visual:hover .portrait-frame img { transform: scale(1.05); }

.hero-visual::before {
  content: '';
  position: absolute;
  inset: -16px -16px 16px 16px;
  border: 1px solid rgba(216, 188, 138, 0.4);
  border-radius: 250px 250px var(--radius) var(--radius);
  pointer-events: none;
}

.portrait-badge {
  position: absolute;
  bottom: 26px;
  left: -34px;
  background: rgba(247, 243, 236, 0.97);
  padding: 14px 26px;
  border-radius: 3px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  border-left: 3px solid var(--gold);
}
.badge-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
}
.badge-sub {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* animacje wejścia hero */
.anim {
  opacity: 0;
  transform: translateY(28px);
  animation: heroIn 1s var(--ease) forwards;
}
.anim-1 { animation-delay: .1s; }
.anim-2 { animation-delay: .25s; }
.anim-3 { animation-delay: .45s; }
.anim-4 { animation-delay: .65s; }
.anim-5 { animation-delay: .85s; }

@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Sekcje ---------- */
.section { padding: 96px 0; }
.alt-bg { background: var(--cream); }

.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { position: relative; display: inline-block; }
.section-kicker {
  font-size: .8rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 12px;
}
.section-kicker.gold { color: var(--gold-light); }
.section-more { text-align: center; margin-top: 48px; }

/* ---------- Pasek zaufania ---------- */
.trust-strip {
  background: var(--white);
  padding: 76px 0;
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.trust-item { text-align: center; padding: 0 12px; }
.trust-item h3 { margin: 18px 0 10px; }
.trust-item p { color: var(--muted); font-size: .96rem; }
.trust-icon {
  width: 64px; height: 64px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--cream);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px var(--line);
}
.trust-icon svg { width: 30px; height: 30px; }

/* ---------- Specjalizacje ---------- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.spec-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.spec-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.spec-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.spec-card:hover img { transform: scale(1.07); }

.spec-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,27,46,.05) 0%, rgba(13,27,46,.55) 55%, rgba(13,27,46,.92) 100%);
  transition: background .4s;
}

.spec-content {
  position: relative;
  padding: 34px 30px;
  color: #fff;
}
.spec-content h3 { color: #fff; font-size: 1.6rem; margin-bottom: 8px; }
.spec-content p { color: rgba(255,255,255,.78); font-size: .95rem; margin-bottom: 16px; }

.spec-more {
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 500;
}
.spec-more .arrow {
  display: inline-block;
  transition: transform .3s var(--ease);
}
.spec-card:hover .spec-more .arrow { transform: translateX(6px); }

/* ---------- O nas ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 72px;
  align-items: center;
}

.photo-frame {
  position: relative;
  border-radius: 240px 240px var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.photo-frame img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.about-photo { position: relative; }
.about-photo::before {
  content: '';
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold);
  opacity: .45;
  border-radius: 240px 240px var(--radius) var(--radius);
  pointer-events: none;
}
/* zgodność wstecz — podstrony bez .photo-frame */
.about-photo > img {
  border-radius: 240px 240px var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.about-text h2 { margin-bottom: 22px; }
.about-text h2 .soft {
  display: block;
  font-size: .55em;
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  margin-top: 6px;
}
.about-text p { color: var(--muted); margin-bottom: 18px; }
.about-text .btn { margin-top: 14px; }

.about-quote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--navy) !important;
  line-height: 1.5;
  padding-left: 22px;
  border-left: 2px solid var(--gold);
}

/* ---------- Cytat / Temida ---------- */
.quote-band {
  position: relative;
  background: url('img/justice.jpg') center 30%/cover no-repeat;
  background-attachment: fixed;
  padding: 150px 0;
  text-align: center;
}
.quote-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(13,27,46,.92) 0%, rgba(28,49,89,.82) 100%);
}
.quote-inner { position: relative; }
.quote-mark {
  font-family: var(--font-serif);
  font-size: 7rem;
  line-height: .4;
  color: var(--gold);
  margin-bottom: 26px;
}
.quote-band h2 {
  color: #fff;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 40px;
}

/* ---------- Lista usług ---------- */
.list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.list-item {
  position: relative;
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 66px 28px 30px;
  transition: all .35s var(--ease);
}
.list-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateX(6px);
}
.list-item h3 { font-size: 1.25rem; margin-bottom: 4px; transition: color .3s; }
.list-item:hover h3 { color: var(--navy); }
.list-item p { color: var(--muted); font-size: .93rem; }
.list-item .arrow {
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--gold);
  transition: transform .3s var(--ease);
}
.list-item:hover .arrow { transform: translateY(-50%) translateX(6px); }

/* ---------- Proces ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.process-step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px 34px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease);
}
.process-step:hover { transform: translateY(-6px); }
.step-num {
  font-family: var(--font-serif);
  font-size: 4.4rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
  display: block;
  margin-bottom: 18px;
}
.process-step h3 { margin-bottom: 10px; }
.process-step p { color: var(--muted); font-size: .96rem; }

/* ---------- Karty ogólne / miasta ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 820px;
  margin: 0 auto;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 32px;
  box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .98rem; }

.card-link { display: block; color: inherit; }
.card-link:hover h3 { color: var(--navy); }

.card-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; }

.city-card { text-align: center; padding: 46px 32px; }
.city-icon {
  width: 58px; height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.city-icon svg { width: 28px; height: 28px; }
.city-card p { font-size: 1.05rem; }

.cities-note {
  text-align: center;
  margin-top: 36px;
  color: var(--muted);
  font-style: italic;
}

/* ---------- Opinie ---------- */
.reviews-placeholder {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 52px;
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.reviews-placeholder .stars {
  color: var(--gold);
  font-size: 1.6rem;
  letter-spacing: .3em;
  margin-bottom: 14px;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: url('img/columns.jpg') center/cover no-repeat;
  background-attachment: fixed;
  color: #fff;
  text-align: center;
  padding: 120px 0;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(13,27,46,.94) 0%, rgba(28,49,89,.88) 100%);
}
.cta-inner { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-sub { opacity: .8; margin-bottom: 30px; font-size: 1.08rem; }

.cta-phone {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: .04em;
  margin-bottom: 34px;
  transition: color .3s;
}
.cta-phone:hover { color: #fff; }

/* ---------- Stopka ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 70px 0 0;
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  align-items: start;
}
.footer-logo {
  width: 150px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.footer-brand {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 12px;
}
.footer-head {
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .74rem;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.footer-col p { color: rgba(255, 255, 255, 0.65); }
.footer-col a { color: rgba(255, 255, 255, 0.65); transition: color .3s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  padding-bottom: 22px;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: .84rem;
}

/* ---------- Podstrony ---------- */
.page-head {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
  text-align: center;
  padding: 92px 0 68px;
}
.page-head h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); color: #fff; }
.page-head p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 16px;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

.content-narrow { max-width: 820px; margin: 0 auto; }
.content-narrow h2 { margin: 44px 0 16px; }
.content-narrow p, .content-narrow li { color: var(--muted); margin-bottom: 14px; }
.content-narrow ul { padding-left: 22px; }

/* Lista usług (podstrona) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-item h3 { margin-bottom: 10px; }
.service-item ul {
  padding-left: 20px;
  color: var(--muted);
  font-size: .95rem;
}
.service-item li { margin-bottom: 6px; }

/* Zespół */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 24px;
}
.team-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
}
.team-card img { border-radius: var(--radius); margin-bottom: 18px; }
.team-card h3 { margin-bottom: 4px; }
.team-card .team-role {
  color: var(--gold);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.team-card p { color: var(--muted); font-size: .95rem; margin-top: 10px; }

/* Formularz kontaktowy */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 18px; }
.contact-info p { color: var(--muted); margin-bottom: 14px; }
.contact-info a { font-weight: 500; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 42px;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-weight: 500;
  font-size: .9rem;
  margin-bottom: 6px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  transition: border-color .25s, background .25s;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.form-consent input { margin-top: 4px; }

/* hero na stronie "dziękujemy" */
.hero {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
  text-align: center;
  padding: 96px 0 80px;
}
.hero-inner h1 { color: #fff; }
.hero .hero-kicker { color: var(--gold-light); }
.hero .hero-lead { color: rgba(255,255,255,.8); margin: 24px 0 34px; }

/* ---------- Responsywność ---------- */
@media (max-width: 1080px) {
  .hero-watermark { display: none; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; text-align: center; }
  .hero-visual { max-width: 100%; }
  .hero-content { order: 1; }
  .hero-visual { order: 2; }
  .gold-divider { margin: 26px auto 20px; }
  .hero-cta { justify-content: center; }
  .portrait-badge { left: 50%; transform: translateX(-50%); bottom: -22px; white-space: nowrap; }
  .hero-main { min-height: 0; padding: 130px 0 110px; }

  .trust-grid, .spec-grid, .process-grid { grid-template-columns: 1fr; gap: 32px; }
  .cards-3, .services-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-photo { max-width: 380px; margin: 0 auto; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .list-grid { grid-template-columns: 1fr; }

  /* parallax off na mobile (wydajność iOS) */
  .quote-band, .cta-band { background-attachment: scroll; }
}

@media (max-width: 680px) {
  .cards-3, .cards-2, .services-grid, .team-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }

  .brand-logo { height: 42px; width: 42px; }
  .brand-name { font-size: 1.05rem; }
  .brand-sub { font-size: .56rem; letter-spacing: .1em; }
  .header-inner { padding-top: 10px; padding-bottom: 10px; }

  .hero-kicker { font-size: .64rem; letter-spacing: .12em; }
  .hero-main h1 { font-size: clamp(1.9rem, 8.6vw, 2.3rem); }
  .hero-lead { font-size: 1.18rem; }
  .hero-values { font-size: .64rem; letter-spacing: .05em; }
  .hero-watermark { display: none; }
  .portrait-frame { width: min(300px, 86vw); }

  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    padding: 28px 24px;
    gap: 20px;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .main-nav .nav-link { color: #fff !important; font-size: 1.05rem; }
  .nav-cta { margin-left: 0; }
}
