/* ==========================================================================
   4CFinance - Główny arkusz stylów
   Biuro rachunkowe · Ubezpieczenia Tomasz Śmierciak (Limanowa)
   Projekt w pełni zgodny z WCAG 2.1 AA i standardami bezpieczeństwa
   ========================================================================== */

:root {
  /* Paleta barw oparta na brandingu i identyfikacji 4CFinance */
  --charcoal: #2c2c2c;
  --navy: #1f1f1f;
  --gold: #b38f53;
  --gold-light: #c9a76e;
  --gold-dark: #917038;
  --gold-text: #8c6a2e; /* Kontrast WCAG AA >= 4.5:1 na jasnym tle */
  --bg: #f9f8f5;
  --bg-alt: #f2ede7;
  --card-bg: #ffffff;
  --ink: #222222;
  --ink-soft: #595959; /* Kontrast WCAG AA >= 4.5:1 */
  --border: #e3ded6;
  --border-focus: #b38f53;
  --success: #207a38;
  --error: #bd2130;

  /* Aliasy zgodności */
  --color-primary-dark: var(--charcoal);
  --color-navy: var(--navy);
  --color-accent: var(--gold);
  --color-accent-light: var(--gold-light);
  --color-accent-hover: var(--gold-dark);
  --color-bg: var(--bg);
  --color-bg-alt: var(--bg-alt);
  --color-card-bg: var(--card-bg);
  --color-text-primary: var(--ink);
  --color-text-soft: var(--ink-soft);
  --color-success: var(--success);
  --color-error: var(--error);
  --color-border: var(--border);

  /* Typografia i layout */
  --font-family: 'Libre Franklin', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --wrap-max-width: 1160px;
  --header-height: 80px;

  /* Zaokrąglenia i cienie */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.09);

  /* Przejścia */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 250ms ease-in-out;
}

/* ==========================================================================
   Reset i reguły bazowe
   ========================================================================== */

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-family);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

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

input, button, textarea, select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* Dostępność: widoczny focus oraz skip link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  z-index: 9999;
  border-radius: var(--radius-sm);
  font-weight: 700;
  border: 2px solid var(--gold);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ==========================================================================
   Kontenery i sekcje
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--wrap-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-alt {
  background-color: var(--bg-alt);
}

/* ==========================================================================
   Nagłówek i nawigacja
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(249, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 20px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.header-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

.header-sub {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-text);
  padding-left: 12px;
  border-left: 1px solid var(--border);
  line-height: 1.35;
  max-width: 140px;
}

@media (max-width: 640px) {
  .header-sub {
    display: none;
  }
}

.mobile-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
}

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

.logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.logo-word {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.logo-sub {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-text);
  line-height: 1.2;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding: 6px 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--gold-text);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--navy);
  border: 1px solid var(--border);
  transition: all var(--transition-fast);
}

.header-call:hover,
.header-call:focus-visible {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  transform: scale(1.05);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px;
  color: var(--navy);
  cursor: pointer;
}

.menu-toggle:hover {
  background: var(--bg-alt);
}

/* ==========================================================================
   Panel mobilny (Off-canvas)
   ========================================================================== */

.mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: #ffffff;
  z-index: 2000;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

body.menu-open .mobile-panel {
  transform: translateX(0);
}

.mobile-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-link {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: color var(--transition-fast);
}

.mobile-link:hover,
.mobile-link:focus-visible {
  color: var(--gold-text);
}

/* ==========================================================================
   Przyciski
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-primary {
  background: var(--gold);
  color: #ffffff;
  border-color: var(--gold);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: 0 4px 14px rgba(179, 143, 83, 0.35);
  transform: translateY(-1px);
}

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

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--charcoal);
  color: #ffffff;
}

.btn-on-dark {
  background: var(--gold);
  color: #ffffff;
  border-color: var(--gold);
}

.btn-on-dark:hover,
.btn-on-dark:focus-visible {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.rule, .rule-left {
  width: 40px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 14px;
}

.rule {
  margin: 0 auto 14px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-text);
  display: inline-block;
}

.hero-heading {
  font-size: clamp(32px, 4.4vw, 50px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.accent {
  color: var(--gold-text);
  position: relative;
}

.hero-sub {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.trust-row {
  display: flex;
  gap: 24px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}

.hero-photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-photo-blob {
  position: absolute;
  width: 110%;
  height: 110%;
  background: radial-gradient(circle, rgba(179, 143, 83, 0.15) 0%, rgba(249, 248, 245, 0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-illustration {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  background: #ffffff;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-checklist-badge {
  position: absolute;
  bottom: -24px;
  left: 20px;
  right: 20px;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.check-row .icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  margin-bottom: 0;
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 64px;
}

.hero-divider .line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.hero-divider .badge {
  padding: 8px 16px;
  border-radius: 99px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Nagłówki sekcji
   ========================================================================== */

.section-head-block {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-heading {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

/* ==========================================================================
   Karty Usług (Cards Grid)
   ========================================================================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(179, 143, 83, 0.45);
}

.icon-badge {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: rgba(179, 143, 83, 0.12);
  color: var(--gold-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

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

.card-desc {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 16px;
}

.card-extra {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 18px;
  display: none;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}

.card.card-expanded .card-extra {
  display: block;
}

.card.card-expanded .card-toggle-arrow {
  transform: rotate(180deg);
}

.card-toggle {
  background: transparent;
  border: none;
  color: var(--gold-text);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  margin-top: auto;
  align-self: flex-start;
}

.card-toggle:hover {
  color: var(--gold-dark);
}

/* ==========================================================================
   Baner CTA
   ========================================================================== */

.cta-banner {
  background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(179, 143, 83, 0.35);
}

.cta-banner h2 {
  color: #ffffff;
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-banner p {
  color: #d8d8d8;
  font-size: 16.5px;
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

/* ==========================================================================
   O nas
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 48px;
  align-items: flex-start;
}

.avatar-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.avatar-circle.small {
  width: 58px;
  height: 58px;
  border-width: 2px;
}

.about-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  margin-top: 14px;
}

.team-grid {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.team-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  padding: 16px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.team-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

.team-role {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}

.team-email {
  font-size: 13px;
  color: var(--gold-text);
  font-weight: 600;
}

.team-email:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Opinie Klientów
   ========================================================================== */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.testimonial-card--featured {
  border: 2px solid var(--gold);
  background: linear-gradient(to bottom, #ffffff, #faf7f2);
  box-shadow: var(--shadow-md);
}

.stars {
  display: flex;
  gap: 4px;
  color: #df9e19;
}

.testimonial-quote {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink);
  font-style: italic;
}

.testimonial-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  margin-top: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 12px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

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

.faq-item {
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item[open] {
  border-color: var(--gold);
}

.faq-item summary {
  padding: 20px 24px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--gold-text);
  transition: transform var(--transition-fast);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-answer {
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  padding-top: 16px;
}

.faq-answer a {
  color: var(--gold-text);
  font-weight: 600;
  text-decoration: underline;
}

/* ==========================================================================
   Formularz kontaktowy i sekcja kontaktu
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 36px;
  align-items: flex-start;
}

.form-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--ink);
  background: #ffffff;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(179, 143, 83, 0.2);
}

.form-field-checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
}

.checkbox-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--gold);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.checkbox-label a {
  color: var(--gold-text);
  text-decoration: underline;
}

/* Honeypot antyspamowy */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status {
  font-size: 14.5px;
  font-weight: 600;
  min-height: 22px;
}

.form-status.status-success {
  color: var(--success);
}

.form-status.status-error {
  color: var(--error);
}

.form-note {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.45;
}

.contact-info-card {
  background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(179, 143, 83, 0.35);
}

.contact-info-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(179, 143, 83, 0.25);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
}

.contact-info-value {
  font-size: 15px;
  font-weight: 500;
  color: #f5f5f5 !important;
  margin-top: 2px;
  display: block;
}

.contact-info-value:hover {
  color: var(--gold-light) !important;
}

.contact-map iframe {
  width: 100%;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Stopka (Footer)
   ========================================================================== */

footer {
  background: #1c1c1c;
  color: #a8a8a8;
  padding: 64px 0 32px;
  border-top: 3px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-heading {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-links a {
  color: #a8a8a8;
  transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #888888;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom a {
  color: #888888;
  transition: color var(--transition-fast);
}

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

/* ==========================================================================
   Animacje pojawiania się (Reveal)
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsywność (Media Queries)
   ========================================================================== */

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: center;
    text-align: center;
  }

  .about-grid .rule-left {
    margin-left: auto;
    margin-right: auto;
  }

  .team-grid {
    justify-content: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-actions .btn {
    display: none;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-checklist-badge {
    position: static;
    margin-top: 20px;
  }
}

/* ==========================================================================
   Druk
   ========================================================================== */

@media print {
  .site-header, .mobile-panel, .menu-toggle, .btn, footer, .contact-map, .hero-illustration {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
}
