/* =========================================
   COGNIMED — Stylesheet
   Design System: Navy / Gold / White
   ========================================= */

/* ---- TOKENS ---- */
:root {
  --navy: #1B2A4A;
  --navy-dark: #131e35;
  --gold: #C9A84C;
  --gold-light: #dfc078;
  --white: #FFFFFF;
  --warm-white: #F8F6F2;
  --warm-white-2: #F0EDE6;
  --body-text: #374151;
  --muted: #6B7280;
  --border: #E5E0D8;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;

  --section-pad: clamp(64px, 8vw, 120px);
  --section-pad-sm: clamp(48px, 6vw, 80px);

  --radius-card: 12px;
  --radius-btn: 32px;
  --radius-img: 16px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, .07), 0 2px 4px rgba(0, 0, 0, .06);
  --shadow-lg: 0 10px 40px rgba(27, 42, 74, .12), 0 4px 16px rgba(27, 42, 74, .08);
  --shadow-hover: 0 20px 60px rgba(27, 42, 74, .18), 0 8px 24px rgba(27, 42, 74, .12);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--body-text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ---- CONTAINER ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* ---- TYPOGRAPHY UTILITIES ---- */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.label-light {
  color: var(--gold-light);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.title-light {
  color: var(--white);
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 560px;
}

.sub-light {
  color: rgba(255, 255, 255, 0.75);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-sub {
  margin: 0 auto;
}

.section-body {
  color: var(--body-text);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.75;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-btn);
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  padding: 12px 28px;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn-lg {
  padding: 15px 36px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(201, 168, 76, .35);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 8px 28px rgba(201, 168, 76, .5);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(201, 168, 76, .35);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 8px 28px rgba(201, 168, 76, .5);
  transform: translateY(-2px);
}

.mt-4 {
  margin-top: 24px;
}

/* ---- BACKGROUNDS ---- */
.warm-bg {
  background: var(--warm-white);
}

.navy-bg {
  background: var(--navy);
}

/* ---- ANIMATIONS ---- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay {
  transition-delay: 0.15s;
}

.fade-in-delay-2 {
  transition-delay: 0.3s;
}

/* =========================================
   NAVIGATION
   ========================================= */
.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.nav-wrapper.scrolled {
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--body-text);
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--navy);
  background: var(--warm-white);
}

.nav-cta {
  margin-left: 8px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  transition: background var(--transition);
  z-index: 1001;
}

.hamburger:hover {
  background: var(--warm-white);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================
   HERO
   ========================================= */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #263758 100%);
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 10vw, 130px) 0 clamp(80px, 10vw, 120px);
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 60%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(201, 168, 76, .12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-pretitle {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 6px 14px;
  background: rgba(201, 168, 76, .15);
  border-radius: 32px;
  border: 1px solid rgba(201, 168, 76, .3);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 20px;
  max-width: 520px;
}

.hero-sub {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero image */
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-photo-placeholder {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4/5;
  background: rgba(255, 255, 255, .06);
  border: 2px dashed rgba(201, 168, 76, .4);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .4);
  overflow: hidden;
  position: relative;
}

.hero-photo-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(201, 168, 76, .05) 0%, rgba(201, 168, 76, .1) 100%);
}

.hero-photo-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

/* Hero badges */
.hero-badge {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}

.hero-badge-1 {
  left: -24px;
  top: 20%;
  animation-delay: 0s;
}

.hero-badge-2 {
  right: -24px;
  bottom: 25%;
  animation-delay: 1.5s;
}

.badge-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.badge-lbl {
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
  margin-top: 4px;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* Scroll hint */
.hero-scroll-hint {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

.scroll-dot {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    opacity: 0.4;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(6px);
  }
}

/* =========================================
   O MNIE
   ========================================= */
.o-mnie {
  padding: var(--section-pad) 0;
}

.o-mnie-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.o-mnie-photo {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.photo-frame {
  border-radius: var(--radius-img);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-lg);
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--warm-white) 0%, var(--warm-white-2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border);
  border: 2px dashed var(--border);
  border-radius: var(--radius-img);
}

.o-mnie-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.badge-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 32px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.badge-pill svg {
  color: var(--gold);
  flex-shrink: 0;
}

.o-mnie-text {
  padding-top: 8px;
}

.o-mnie-text .section-title {
  margin-bottom: 24px;
}

.specjalizacje {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--warm-white);
  border-radius: 10px;
  border: 1px solid var(--border);
}

.spec-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.spec-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.spec-list li {
  padding: 5px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 32px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
}

/* =========================================
   PODEJŚCIE
   ========================================= */
.podejscie {
  padding: var(--section-pad) 0;
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.method-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.method-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(201, 168, 76, .4);
}

.method-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(27, 42, 74, .08) 0%, rgba(27, 42, 74, .04) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.method-icon svg {
  width: 26px;
  height: 26px;
  color: var(--navy);
}

.method-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.method-desc {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
}

.podejscie-bottom {
  display: flex;
  justify-content: center;
}

.podejscie-text-block {
  max-width: 720px;
  text-align: center;
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.podejscie-text-block h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.podejscie-text-block p {
  color: var(--muted);
  line-height: 1.75;
}

/* =========================================
   OFERTA
   ========================================= */
.oferta {
  padding: var(--section-pad) 0;
}

.oferta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.oferta-grid-2 {
  max-width: 860px;
  margin: 0 auto;
}

.service-price {
  display: inline-block;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.oferta-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 860px;
  margin: 28px auto 0;
  padding: 16px 20px;
  background: rgba(201, 168, 76, .08);
  border: 1px solid rgba(201, 168, 76, .25);
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

.oferta-note svg {
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 1px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(201, 168, 76, .3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--navy) 0%, #2a3f6f 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  color: var(--gold);
}

.service-title {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 28px;
}

.service-btn {
  align-self: flex-start;
}

/* =========================================
   DLA KOGO
   ========================================= */
.dla-kogo {
  padding: var(--section-pad) 0;
}

.dla-kogo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}

.dla-kogo-item {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, .05);
  transition: all var(--transition);
}

.dla-kogo-item:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(201, 168, 76, .4);
  transform: translateY(-4px);
}

.dk-icon {
  width: 44px;
  height: 44px;
  background: rgba(201, 168, 76, .15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.dk-icon svg {
  width: 22px;
  height: 22px;
  color: var(--gold-light);
}

.dla-kogo-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.dla-kogo-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, .65);
  line-height: 1.65;
}

.dla-kogo-cta {
  text-align: center;
  padding-top: 16px;
}

.dla-kogo-cta p {
  color: rgba(255, 255, 255, .75);
  margin-bottom: 24px;
  font-size: 1.0625rem;
}

/* =========================================
   PIERWSZA WIZYTA — STEPPER
   ========================================= */
.pierwsza-wizyta {
  padding: var(--section-pad) 0;
}

.stepper {
  display: flex;
  gap: 0;
  margin-bottom: 48px;
  position: relative;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 24px;
  position: relative;
}

.step-num {
  width: 52px;
  height: 52px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
  flex-shrink: 0;
  z-index: 1;
  position: relative;
  box-shadow: 0 0 0 6px rgba(27, 42, 74, .1);
}

.step-line {
  position: absolute;
  top: 26px;
  left: calc(50% + 26px);
  right: calc(-50% + 26px);
  height: 2px;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(27, 42, 74, .2) 100%);
}

.step-last .step-indicator {
  position: relative;
}

.step-content {
  padding: 0 16px;
}

.step-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

.pierwsza-wizyta-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(135deg, rgba(27, 42, 74, .06) 0%, rgba(201, 168, 76, .06) 100%);
  border: 1px solid rgba(201, 168, 76, .25);
  border-radius: var(--radius-card);
  padding: 24px 28px;
  margin-bottom: 40px;
}

.note-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(201, 168, 76, .15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.note-icon svg {
  width: 18px;
  height: 18px;
}

.pierwsza-wizyta-note p {
  color: var(--navy);
  font-size: 0.9375rem;
  line-height: 1.7;
  font-weight: 500;
  margin-top: 6px;
}

/* =========================================
   FAQ
   ========================================= */
.faq {
  padding: var(--section-pad) 0;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  transition: background var(--transition);
}

.faq-question:hover {
  background: var(--warm-white);
}

.faq-question[aria-expanded="true"] {
  background: var(--warm-white);
}

.faq-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(27, 42, 74, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

.faq-icon::before {
  width: 12px;
  height: 2px;
}

.faq-icon::after {
  width: 2px;
  height: 12px;
}

.faq-question[aria-expanded="true"] .faq-icon {
  background: var(--navy);
}

.faq-question[aria-expanded="true"] .faq-icon::before,
.faq-question[aria-expanded="true"] .faq-icon::after {
  background: var(--white);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer[aria-hidden="false"] {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 24px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.9375rem;
}

/* =========================================
   KONTAKT
   ========================================= */
.kontakt {
  padding: var(--section-pad) 0;
}

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 5vw, 64px);
  align-items: start;
}

.kontakt-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.kontakt-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.kontakt-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--navy) 0%, #2a3f6f 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kontakt-icon svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.kontakt-item strong {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.kontakt-item p,
.kontakt-item a {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.kontakt-item a:hover {
  color: var(--navy);
  text-decoration: underline;
}

.kontakt-booksy-btn {
  margin-top: 8px;
}

.kontakt-address {
  font-style: normal;
}

.kontakt-social {
  margin-top: 4px;
}

.kontakt-social-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.kontakt-social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 32px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1.5px solid;
  transition: all var(--transition);
}

.social-link-zl {
  color: #1a7f5a;
  border-color: #1a7f5a;
  background: rgba(26, 127, 90, .05);
}

.social-link-zl:hover {
  background: #1a7f5a;
  color: var(--white);
  transform: translateY(-2px);
}

.social-link-fb {
  color: #1877f2;
  border-color: #1877f2;
  background: rgba(24, 119, 242, .05);
}

.social-link-fb:hover {
  background: #1877f2;
  color: var(--white);
  transform: translateY(-2px);
}

.kontakt-map {
  height: 100%;
  min-height: 400px;
}

.map-wrapper {
  height: 100%;
  min-height: 420px;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--navy);
  color: var(--white);
  padding-top: 64px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-logo-link {
  display: inline-block;
}

.footer-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  /* make white background logo blend on dark footer */
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, .65);
  transition: color var(--transition);
  width: fit-content;
}

.footer-social-link:hover {
  color: var(--gold);
}

.footer-tagline {
  margin-top: 16px;
  color: rgba(255, 255, 255, .55);
  font-size: 0.9rem;
  line-height: 1.65;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.footer-nav a {
  color: rgba(255, 255, 255, .65);
  font-size: 0.9375rem;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer-cta-label {
  color: rgba(255, 255, 255, .65);
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, .4);
}

.footer-bottom a {
  color: var(--gold);
}

.footer-bottom a:hover {
  color: var(--gold-light);
}

/* =========================================
   FLOATING CTA
   ========================================= */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: var(--gold);
  color: var(--navy);
  border-radius: 32px;
  padding: 14px 22px;
  font-size: 0.875rem;
  font-weight: 700;
  gap: 8px;
  align-items: center;
  box-shadow: 0 8px 32px rgba(201, 168, 76, .55);
  transition: all var(--transition);
}

.floating-cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.floating-cta:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201, 168, 76, .7);
}

/* =========================================
   RESPONSIVE
   ========================================= */

/* Tablet ≤ 1024 */
@media (max-width: 1024px) {
  .methods-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .dla-kogo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-cta {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
  }
}

/* Mobile ≤ 768 */
@media (max-width: 768px) {

  /* Nav mobile */
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    padding: 12px 16px;
    border-radius: 10px;
  }

  .nav-cta {
    margin: 8px 0 0;
    text-align: center;
  }

  /* Hero mobile */
  .hero {
    padding: 64px 0 56px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(1.75rem, 5.5vw, 2.25rem);
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image-wrap {
    display: none;
  }

  .hero-scroll-hint {
    margin-top: 40px;
  }

  /* O Mnie mobile */
  .o-mnie-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .o-mnie-photo {
    align-items: center;
  }

  .photo-frame {
    max-width: 280px;
  }

  .o-mnie-badges {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .o-mnie-text {
    padding-top: 0;
    text-align: center;
  }

  .o-mnie-text .btn {
    display: block;
    text-align: center;
  }

  /* Methods mobile */
  .methods-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Oferta mobile */
  .oferta-grid {
    grid-template-columns: 1fr;
  }

  /* Dla kogo mobile */
  .dla-kogo-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Stepper mobile */
  .stepper {
    flex-direction: column;
    gap: 0;
  }

  .step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
    padding-bottom: 32px;
  }

  .step.step-last {
    padding-bottom: 0;
  }

  .step-indicator {
    flex-direction: column;
    align-items: center;
    width: auto;
    margin-bottom: 0;
  }

  .step-line {
    position: static;
    width: 2px;
    height: 48px;
    top: unset;
    left: unset;
    right: unset;
    background: linear-gradient(180deg, var(--navy) 0%, rgba(27, 42, 74, .2) 100%);
    margin-top: 8px;
  }

  .step-content {
    padding: 6px 0 0;
  }

  /* Kontakt mobile */
  .kontakt-grid {
    grid-template-columns: 1fr;
  }

  .kontakt-map {
    min-height: 300px;
  }

  .map-wrapper {
    min-height: 300px;
  }

  .map-wrapper iframe {
    min-height: 300px;
  }

  /* Footer mobile */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-nav ul {
    align-items: center;
  }

  .footer-cta {
    align-items: center;
    flex-direction: column;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* Floating CTA appears on mobile */
  .floating-cta {
    display: flex;
  }
}

/* Small mobile ≤ 480 */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .badge-pill {
    font-size: 0.8125rem;
  }

  .section-header {
    margin-bottom: 40px;
  }
}