/* ========== ZMIENNE & RESET ========== */
:root {
  --font-main:
    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  --dark: #112429;
  --dark2: #182f35;
  --dark3: #07242c;
  --dark-card: #1a3038;
  --light: #fbfbfb;
  --accent: #ecc979;
  --accent2: #f4dfac;
  --accent-dark: #c9a44d;
  --accent-soft: rgba(236, 201, 121, 0.14);
  --accent-border: rgba(236, 201, 121, 0.36);
  --white: #ffffff;
  --radius-md: 12px;
  --radius-lg: 18px;
  --media-photo-shadow: 0 clamp(10px, 0.9vw, 18px) clamp(20px, 1.9vw, 38px)
    rgba(236, 201, 121, 0.3);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  color: #182f35;
  background: #fbfbfb;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-main);
  font-weight: 600;
  line-height: 1.15;
}
h2 {
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.1;
}
h3 {
  font-size: clamp(24px, 3.5vw, 34px);
  line-height: 1.18;
}
h4 {
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 32px;
}
h5 {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 30px;
}
h6 {
  font-size: 14px;
  line-height: 24px;
}
p {
  margin-bottom: 16px;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========== BARWY SEKCJI ========== */
.section-dark {
  background: var(--dark);
  color: var(--white);
}
.section-light {
  background: var(--light);
  color: var(--dark2);
}
.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: var(--accent);
}
.section-dark h4,
.section-dark h5,
.section-dark h6 {
  color: var(--white);
}
.section-light h1,
.section-light h2,
.section-light h3 {
  color: var(--accent);
}
.section-light h4,
.section-light h5,
.section-light h6 {
  color: var(--dark2);
}

/* ========== HEADER ========== */
@media (max-width: 767px) {
  #site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100%;
    box-sizing: border-box;
    z-index: 1100;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  #site-header .header-inner {
    max-width: 100%;
    box-sizing: border-box;
  }
  #site-header .site-logo {
    min-width: 0;
    flex-shrink: 1;
  }
}
.header-social-strip a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  line-height: 1;
  transition: color 0.2s;
}
.header-social-strip a:hover {
  color: var(--accent);
}

nav#main-nav ul li a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 14px;
  display: block;
  line-height: 1.35;
  white-space: normal;
  transition: color 0.2s;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
}
nav#main-nav ul li a:hover {
  color: var(--accent);
}
nav#main-nav ul li a.is-active {
  color: var(--accent);
  font-weight: 700;
}

/* Nav mobile – toggle obsługiwany przez JS */
nav#main-nav.open {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--dark);
  z-index: 999;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 0 12px;
  -webkit-overflow-scrolling: touch;
}
nav#main-nav.open ul {
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  gap: 0;
}
nav#main-nav.open ul li a {
  line-height: 1.35;
  padding: 10px 16px;
  font-size: 14px;
}

.btn-call {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 8px 12px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}
.btn-call:hover {
  background: var(--accent);
  color: var(--dark);
  box-shadow: 0 8px 20px rgba(236, 201, 121, 0.22);
}
.btn-call.is-active {
  background: var(--accent);
  color: var(--dark);
  box-shadow: 0 8px 20px rgba(236, 201, 121, 0.22);
}

.city-banner {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 0.05em;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  padding: 6px;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* ========== HERO ========== */
#hero {
  background:
    radial-gradient(
      120% 100% at 0% 0%,
      rgba(236, 201, 121, 0.12) 0%,
      rgba(236, 201, 121, 0.02) 52%,
      transparent 70%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, #fbfbfb 100%);
}

.hero-tag {
  font-size: clamp(17px, 2.5vw, 24px);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 10px;
}
.hero-head h1 {
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.04;
  font-weight: 800;
  color: #000;
  margin-bottom: 0;
}
.hero-title-primary {
  color: #000;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 8px;
}
.hero-title-accent {
  color: var(--accent);
  display: inline-block;
  font-size: 0.93em;
}
.hero-desc {
  color: #000;
  font-size: clamp(14px, 1.8vw, 18px);
  line-height: 1.32;
  font-weight: 700;
  margin-bottom: 18px;
}
@media (min-width: 1280px) {
  .hero-desc {
    margin-bottom: 8px;
  }
}

.hero-image {
  object-fit: cover;
  object-position: center top;
  min-height: 0;
}

/* Na mobile (iOS Safari): hero i zdjęcie nie uciekają poza ekran */
@media (max-width: 767px) {
  #hero {
    overflow: hidden;
  }
  .hero-media {
    overflow: hidden;
    min-height: 0;
  }
  .hero-media .hero-image {
    max-height: 65vh;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
  background: var(--accent);
  border-radius: 70px;
  padding: 12px 32px;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  width: fit-content;
  box-shadow: 0 10px 24px rgba(236, 201, 121, 0.28);
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.hero-cta:hover {
  background: var(--accent2);
  box-shadow: 0 12px 28px rgba(236, 201, 121, 0.34);
}

/* Hero reveal animation */
#hero.hero-reveal-ready .hero-head,
#hero.hero-reveal-ready .hero-body,
#hero.hero-reveal-ready .hero-cta-wrap {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(12px);
  will-change: opacity, filter, transform;
  transition:
    opacity 0.85s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 1.2s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
#hero.hero-reveal-ready .hero-media {
  opacity: 0;
  transform: translateY(12px);
  will-change: opacity, transform;
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.78s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: 0.08s;
}
#hero.hero-reveal-ready.is-visible .hero-head,
#hero.hero-reveal-ready.is-visible .hero-body,
#hero.hero-reveal-ready.is-visible .hero-cta-wrap {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}
#hero.hero-reveal-ready.is-visible .hero-media {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll reveal – szybsze wejście, wcześniejsze uruchomienie */
.scroll-reveal-block {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(18px);
  will-change: opacity, filter, transform;
  transition:
    opacity 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.5s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.scroll-reveal-block.is-revealed {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.scroll-reveal-item {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(16px);
  will-change: opacity, filter, transform;
  transition:
    opacity 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.scroll-reveal-item.is-revealed {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/* ========== QUOTE / TAGLINE ========== */
.quote-icon {
  width: 50px;
  flex-shrink: 0;
}
.tagline-icon {
  width: 50px;
  flex-shrink: 0;
}
.quote-box h5 {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.5;
  color: var(--accent);
  font-style: italic;
}
.tagline-box h2 {
  font-size: clamp(20px, 3vw, 34px);
  line-height: 1.5;
  color: var(--accent);
  font-style: italic;
}
.tagline-section {
  background: var(--dark);
}

/* ========== KOLUMNA OBRAZKOWA ========== */
.col-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* ========== WYSTĄPIENIA ========== */
.wystapienia-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: none;
  filter: drop-shadow(var(--media-photo-shadow));
  margin: 0;
}

.wystapienia-text h3 {
  margin-bottom: 22px;
  color: var(--accent);
  font-size: clamp(26px, 3.5vw, 40px);
}
.wystapienia-text p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.3;
}

.highlight-tag {
  background: none;
  color: var(--accent);
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
}

.highlight-list {
  gap: 4px 8px;
}

/* ========== BRIAN TRACY ========== */
#brian-tracy .brian-head h3 {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: clamp(26px, 3.5vw, 40px);
}
#brian-tracy .brian-body p {
  color: var(--dark2);
  font-size: 15px;
  line-height: 1.3;
  margin-bottom: 6px;
}
@media (min-width: 1280px) {
  #brian-tracy .brian-head h3 {
    margin-bottom: 32px;
    font-size: clamp(30px, 4vw, 46px);
  }
  #brian-tracy .brian-body p {
    font-size: 18px;
    line-height: 1.42;
    margin-bottom: 16px;
  }
  #brian-tracy .brian-buy-btn {
    font-size: 17px;
    padding: 15px 34px;
  }
  #brian-tracy .brian-buy-btn .material-symbols-outlined {
    font-size: 26px;
  }
  #brian-tracy .brian-consent,
  #brian-tracy .brian-consent-popup {
    font-size: 14px;
  }
}
.brian-img-footer {
  text-align: center;
}

.brian-buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: var(--dark);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(236, 201, 121, 0.24);
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.brian-buy-btn .material-symbols-outlined {
  font-size: 22px;
  line-height: 1;
}
.brian-buy-btn:hover {
  background: var(--accent2);
  box-shadow: 0 10px 24px rgba(236, 201, 121, 0.3);
}
.brian-buy-btn:focus {
  outline: none;
}

.brian-consent {
  margin-top: 10px;
  max-width: 420px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--dark2);
  text-align: center;
}
.brian-consent label {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}
.brian-consent input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--accent);
}
.brian-consent a {
  color: var(--accent-dark);
  text-decoration: underline;
}
.brian-consent a:hover {
  text-decoration: none;
}

/* inne zgody przy zakupie – wyróżnij słowo "Akceptuję" (poza książką) */
.purchase-consent:not(.book-consent) .consent-word {
  color: #ffffff;
  font-weight: 600;
}

.brian-consent-popup {
  margin-top: 8px;
  max-width: 420px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(17, 36, 41, 0.98);
  color: #ffffff;
  display: none;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.5;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.4);
}
.brian-consent-popup .material-symbols-outlined {
  font-size: 18px;
  flex-shrink: 0;
  color: var(--accent);
}
.brian-consent-popup.is-visible {
  display: flex;
}

/* ========== SERVICES ========== */
.service-card {
  text-align: center;
  background: var(--dark);
  border: 1px solid rgba(236, 201, 121, 0.22);
  border-radius: var(--radius-lg);
  padding: 18px 26px 22px;
  transition:
    transform 0.28s ease,
    background 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}
.service-num {
  font-family: var(--font-main);
  font-size: 40px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.service-num i {
  font-size: 10px;
  color: var(--accent);
}
.service-card h4 {
  color: var(--white);
  margin-bottom: 10px;
  font-size: 23px;
}
.service-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.38;
  font-style: italic;
  transition: color 0.28s;
}
.service-card:hover {
  transform: translateY(-8px);
  background: #183139;
  border-color: rgba(236, 201, 121, 0.45);
  box-shadow: 0 18px 34px rgba(236, 201, 121, 0.16);
}
.service-card:hover .service-num,
.service-card:hover h4 {
  color: var(--accent2);
}
.service-card:hover p {
  color: rgba(255, 255, 255, 0.92);
}

/* ========== WYWIADY ========== */
.wywiady-img {
  position: relative;
  overflow: visible;
  height: auto;
  min-height: 0;
}
.wywiady-img img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left top;
  display: block;
  margin: 0;
  border-radius: 18px;
  box-shadow: none;
  filter: drop-shadow(var(--media-photo-shadow));
}
.wywiady-img-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(17, 36, 41, 0.85));
  padding: 60px 40px 30px;
}
.wywiady-img-tag h3 {
  color: var(--accent);
  font-size: clamp(22px, 2.5vw, 28px);
}
.wywiady-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.3;
  margin-bottom: 6px;
}
.wywiady-text p:first-child {
  margin-bottom: 18px;
}
.wywiady-text p:first-child strong {
  display: block;
  color: var(--accent);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.18;
  font-weight: 600;
}
.wywiady-text strong {
  color: inherit;
}
.wywiady-text h3 {
  margin-top: 8px;
  margin-bottom: 0;
  text-align: center;
}
@media (min-width: 1280px) {
  .wywiady-text h3 {
    text-align: left;
  }
}

/* ========== O MNIE ========== */
.about-img img {
  width: 70%;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}
.about-text h2 {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
}
.about-text h5 {
  color: rgba(24, 47, 53, 0.8);
  font-weight: 400;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.38;
}
@media (min-width: 1280px) {
  .about-text h5 {
    line-height: 1.45;
  }
}

/* ========== KOD HARMONII ========== */
.section-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}
#guides .section-label {
  margin-bottom: 10px;
}
.guides-header h3 {
  color: var(--accent);
  margin-bottom: 12px;
  font-size: clamp(26px, 3.5vw, 40px);
}
.guides-header h4 {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.38;
}
#guides .guides-subtitle {
  font-family: var(--font-main), system-ui, sans-serif;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  margin: 12px auto 0;
  max-width: 700px;
  line-height: 1.38;
  font-size: 17px;
}

.infobox {
  background: linear-gradient(
    180deg,
    rgba(24, 47, 53, 0.96) 0%,
    rgba(17, 36, 41, 0.98) 100%
  );
  border: 1px solid rgba(236, 201, 121, 0.22);
  border-radius: 24px 0 24px 0;
  padding: 24px 24px 22px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
  transition:
    transform 0.28s ease,
    background 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}
.infoboxes > .infobox:first-child {
  background: linear-gradient(
    180deg,
    rgba(17, 36, 41, 0.98) 0%,
    rgba(24, 47, 53, 0.98) 100%
  );
  padding: 24px 28px 20px;
}
.infobox h3 {
  font-size: clamp(20px, 2vw, 22px);
  color: var(--accent2);
  margin-bottom: 10px;
  line-height: 1.2;
}
.infoboxes > .infobox:first-child h3 {
  font-size: clamp(26px, 3.5vw, 40px);
  margin-bottom: 12px;
  color: var(--accent);
}
.infobox ul li {
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 600;
  padding: 6px 0 6px 30px;
  position: relative;
  border-top: 1px solid rgba(236, 201, 121, 0.12);
}
.infobox ul li:first-child {
  border-top: none;
}
.infobox ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--accent2);
  font-size: 16px;
  font-weight: 700;
}
.infobox .ib-desc {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.38;
  font-weight: 600;
}

#guides .infobox {
  text-align: center;
  padding: 20px 20px 18px;
}
#guides .infoboxes > .infobox:first-child {
  padding: 20px 24px 18px;
}
#guides .infobox ul {
  display: inline-block;
  text-align: left;
  margin: 0 auto;
}
#guides .infobox .ib-desc {
  text-align: left;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}
.infobox:hover {
  transform: translateY(-8px);
  background: linear-gradient(
    180deg,
    rgba(30, 57, 66, 0.98) 0%,
    rgba(20, 42, 49, 0.98) 100%
  );
  border-color: rgba(236, 201, 121, 0.48);
  box-shadow: 0 16px 30px rgba(236, 201, 121, 0.18);
}

/* Sekcja KOD HARMONII – poniżej ~405px brak pionowej kreski (overflow) */
@media (max-width: 767px) {
  #guides {
    overflow-x: hidden;
  }
  #guides .container {
    max-width: 100%;
    overflow-x: hidden;
    min-width: 0;
  }
  #guides .infoboxes {
    min-width: 0;
  }
  #guides .infobox {
    min-width: 0;
  }
  #guides .pricing-section .container {
    max-width: 100%;
    overflow-x: hidden;
    min-width: 0;
  }
}

/* ========== PRICING CARDS ========== */
.pricing-section {
  background: #ffffff;
}
.pricing-card {
  background: var(--dark);
  padding: 48px 46px 28px;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}
.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 34px rgba(236, 201, 121, 0.16);
  border-color: rgba(236, 201, 121, 0.45);
}

.hearts {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.heart {
  color: var(--accent);
  font-size: 36px;
  opacity: 0;
  transform: translateY(8px) scale(0.85);
  animation: heartReveal 0.45s ease forwards;
}
.heart.empty {
  color: rgba(255, 255, 255, 0.15);
}

/* Opóźnienia animacji serduszek */
.pricing-section .pricing-card:nth-child(1) .heart:nth-child(1) {
  animation-delay: 0s;
}
.pricing-section .pricing-card:nth-child(1) .heart:nth-child(2) {
  animation-delay: 0.08s;
}
.pricing-section .pricing-card:nth-child(1) .heart:nth-child(3) {
  animation-delay: 0.16s;
}
.pricing-section .pricing-card:nth-child(2) .heart:nth-child(1) {
  animation-delay: 0.24s;
}
.pricing-section .pricing-card:nth-child(2) .heart:nth-child(2) {
  animation-delay: 0.32s;
}
.pricing-section .pricing-card:nth-child(2) .heart:nth-child(3) {
  animation-delay: 0.4s;
}
.pricing-section .pricing-card:nth-child(2) .heart:nth-child(4) {
  animation-delay: 0.48s;
}
.pricing-section .pricing-card:nth-child(2) .heart:nth-child(5) {
  animation-delay: 0.56s;
}
.pricing-section .pricing-card:nth-child(3) .heart:nth-child(1) {
  animation-delay: 0.64s;
}
.pricing-section .pricing-card:nth-child(3) .heart:nth-child(2) {
  animation-delay: 0.72s;
}
.pricing-section .pricing-card:nth-child(3) .heart:nth-child(3) {
  animation-delay: 0.8s;
}
.pricing-section .pricing-card:nth-child(3) .heart:nth-child(4) {
  animation-delay: 0.88s;
}
.pricing-section .pricing-card:nth-child(3) .heart:nth-child(5) {
  animation-delay: 0.96s;
}

.pricing-section .heart:not(.empty) {
  animation:
    heartReveal 0.45s ease forwards,
    heartPulse 1.4s ease-in-out infinite;
}
@keyframes heartReveal {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.85);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes heartPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.92;
  }
}

.pricing-card h4 {
  color: var(--accent);
  font-size: 20px;
  margin-bottom: 18px;
}
.pricing-card h5 {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 14px;
  flex-grow: 1;
}
.pricing-price {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  margin-top: 20px;
  margin-bottom: 14px;
}
.pricing-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
}
.pricing-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}
.pricing-meta-item i {
  color: var(--accent);
  font-size: 8px;
}

.btn-pricing {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 188px;
  align-self: center;
  background: var(--accent);
  color: var(--dark);
  border: none;
  border-radius: 999px;
  padding: 12px 28px;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  margin-top: 24px;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.pricing-card .btn-pricing + .btn-pricing {
  margin-top: 12px;
}
.btn-pricing .material-symbols-outlined {
  font-size: 20px;
  line-height: 1;
}
.btn-pricing:hover {
  background: var(--accent2);
  box-shadow: 0 8px 18px rgba(236, 201, 121, 0.22);
}
.btn-pricing.is-disabled,
.btn-pricing.is-disabled:hover {
  background: #d9d9d9;
  color: #8a8a8a;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  opacity: 0.75;
}

.pricing-card .brian-consent.purchase-consent {
  margin-top: 10px;
  align-self: flex-start;
}
.pricing-card small {
  align-self: flex-start;
  text-align: left;
}

/* Karty pakietów (sekcja KOD HARMONII) – wyśrodkowany tekst, mniejsze odstępy */
#guides .pricing-card {
  text-align: center;
  padding: 36px 30px 22px;
}
#guides .hearts {
  justify-content: center;
  margin-bottom: 18px;
}
#guides .pricing-card h4 {
  margin-bottom: 12px;
}
#guides .pricing-card h5 {
  line-height: 1.38;
  margin-bottom: 12px;
  flex: 1 1 auto;
  text-align: left;
}
#guides .pricing-variants {
  min-height: 86px;
}
#guides .pricing-variants-note {
  min-height: 17px;
}
#guides .pricing-meta {
  align-self: stretch;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  padding-top: 14px;
  gap: 5px;
  min-height: 72px;
  margin-bottom: 18px;
}
#guides .pricing-meta-item {
  justify-content: flex-start;
  align-self: stretch;
  width: 100%;
  text-align: left;
}
#guides .btn-pricing {
  margin-top: auto;
}
#guides .pricing-card .btn-pricing + .btn-pricing {
  margin-top: 10px;
}
#guides .pricing-card .purchase-consent {
  margin-top: 8px;
}
#guides .pricing-card .purchase-consent label {
  justify-content: center;
}

/* KARTY PAKIETÓW (KOD HARMONII) – PC: równe wysokości, wyrównana linia nad meta (kreski) */
@media (min-width: 1280px) {
  #guides .pricing-section .pricing-card {
    height: 100%;
    min-height: 0;
  }
  #guides .pricing-card h5 {
    flex: 1 1 auto;
    margin-bottom: 0;
    min-height: 300px;
  }
  #guides .pricing-variants {
    height: 86px;
  }
  #guides .pricing-grid > .pricing-card:nth-child(-n + 2) .pricing-variants {
    margin-top: 6px;
  }
  #guides .pricing-meta {
    flex-shrink: 0;
  }
}

/* WYJAZDY – OFERTY: jak bloki wyjazdów (wyśrodkowanie, ciaśniejsze wiersze) */
#trip-offers .pricing-card {
  text-align: center;
  padding: 36px 30px 22px;
}
#ksiazka .pricing-card {
  padding: 36px 30px 22px;
}
#trip-offers .hearts {
  justify-content: center;
}
#ksiazka .hearts {
  justify-content: center;
  margin-bottom: 18px;
}
#trip-offers .pricing-card h4 {
  line-height: 1.35;
  margin-bottom: 12px;
}
#trip-offers .pricing-card h5 {
  line-height: 1.42;
}
#trip-offers .pricing-meta {
  align-self: stretch;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  padding-top: 14px;
  gap: 6px;
}
#trip-offers .pricing-meta-item {
  justify-content: flex-start;
}

/* Wyjazdy – oferty: Więcej / Mniej – zwijane na każdej szerokości */
#trip-offers .pricing-meta-wrap {
  align-self: stretch;
  width: 100%;
}
#trip-offers .pricing-meta-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 4px;
  padding: 8px 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    color 0.2s,
    opacity 0.2s;
}
#trip-offers .pricing-meta-toggle:hover {
  color: var(--accent);
}
#trip-offers .pricing-meta-toggle:focus-visible {
  outline: 2px solid rgba(236, 201, 121, 0.55);
  outline-offset: 3px;
}
#trip-offers .pricing-meta-toggle[aria-expanded="false"] .when-expanded {
  display: none;
}
#trip-offers .pricing-meta-toggle[aria-expanded="true"] .when-collapsed {
  display: none;
}
#trip-offers .pricing-meta-toggle-icon {
  font-size: 12px;
  transition: transform 0.25s ease;
}
#trip-offers
  .pricing-meta-toggle[aria-expanded="true"]
  .pricing-meta-toggle-icon {
  transform: rotate(180deg);
}

#trip-offers .pricing-meta-wrap:not(.is-expanded) .pricing-meta-panel {
  max-height: 0;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition:
    max-height 0.4s ease,
    opacity 0.25s ease,
    padding-top 0.3s ease;
}
#trip-offers .pricing-meta-wrap.is-expanded .pricing-meta-panel {
  max-height: 640px;
  opacity: 1;
  pointer-events: auto;
  transition:
    max-height 0.45s ease,
    opacity 0.3s ease;
}

#trip-offers .pricing-card .purchase-consent label {
  justify-content: center;
}

/* WYJAZDY – OFERTY: PC – równe wysokości kart, wyrównanie „Więcej” i KUP TERAZ */
@media (min-width: 1280px) {
  #trip-offers .pricing-card {
    height: 100%;
    min-height: 0;
  }
  #trip-offers .pricing-card > h5 {
    margin-bottom: 0;
  }
  #trip-offers .trip-offers-card-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    flex-shrink: 0;
    margin-top: auto;
  }
  #trip-offers .trip-offers-cta-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 16px;
  }
  #trip-offers .trip-offers-cta-stack .btn-pricing {
    margin-top: 0;
  }
  /* Pusty slot = ta sama wysokość co przycisk „Program” w pierwszej karcie */
  #trip-offers .trip-offers-secondary-slot--empty {
    min-height: 48px;
    width: 100%;
    max-width: 188px;
    align-self: center;
  }
}

@media (max-width: 1279px) {
  #trip-offers .trip-offers-secondary-slot--empty {
    display: none;
  }
}

/* ========== WYJAZDY STATS ========== */
.stats-heading h3 {
  color: var(--accent);
  font-size: clamp(26px, 3.5vw, 40px);
}
.stat-item .number {
  font-family: var(--font-main);
  font-size: clamp(64px, 8vw, 90px);
  font-weight: 500;
  color: var(--dark2);
  line-height: 1;
  display: block;
  margin-bottom: 0;
}
.stat-item h3,
.stat-item h4 {
  color: var(--dark2);
  margin: 2px 0 10px;
  line-height: 1.15;
}
.stat-item hr {
  border: none;
  border-top: 2px solid var(--dark2);
  width: 40px;
  margin: 12px auto;
}
.stat-item .desc {
  color: rgba(24, 47, 53, 0.7);
  font-size: 14px;
  line-height: 22px;
}

/* Nagłówek sekcji społeczności – ten sam styl jak inne duże h3 */
#spolecznosc h3.mb-10 {
  font-size: clamp(26px, 3.5vw, 40px);
}

#spolecznosc .spolecznosc-copy h5 {
  font-family: var(--font-main), "Inter", sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: rgba(24, 47, 53, 0.78);
  line-height: 1.45;
  margin: 0;
}
#spolecznosc .spolecznosc-copy h5:not(:last-child) {
  margin-bottom: 14px;
}

/* ========== WYJAZDY SEKCJE ========== */
.trip-section.dark {
  background: var(--dark);
}
.trip-section.dark + .trip-section.dark {
  margin-top: -1px;
}
.trip-img {
  overflow: hidden;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px !important;
}

.trip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 24px;
  filter: grayscale(20%);
  transition:
    filter 0.3s ease,
    transform 0.3s ease;
}

.trip-img img:hover {
  filter: grayscale(0%);
  transform: scale(1.03);
}
.trip-section.dark .trip-text h2 {
  color: var(--accent);
}
.trip-section.dark .trip-text h3 {
  color: var(--accent);
  font-size: clamp(26px, 3.5vw, 40px);
}
.trip-section.dark .trip-text h4 {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}
.trip-section.dark .trip-text h5 {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
  font-size: 15px;
  line-height: 26px;
}

/* Bloki wyjazdów: wyśrodkowany tekst, ciaśniejsze odstępy między wierszami */
.trip-section.dark .trip-text.trip-text--centered {
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}
.trip-section.dark .trip-text.trip-text--centered h4 {
  line-height: 1.35;
}
.trip-section.dark .trip-text.trip-text--centered h5 {
  line-height: 1.42;
}
.trip-section.dark .trip-text.trip-text--centered h5:has(strong) {
  text-align: left;
  align-self: stretch;
  width: 100%;
}
.trip-section.dark .trip-text .trip-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-family: inherit;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  text-align: left;
  align-self: stretch;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.trip-section.dark .trip-text .trip-list li {
  position: relative;
  padding-left: 20px;
}
.trip-section.dark .trip-text .trip-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.btn-trip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--dark);
  border-radius: 999px;
  padding: 10px 24px;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  width: fit-content;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 18px rgba(236, 201, 121, 0.2);
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.btn-trip:hover {
  background: var(--accent2);
  box-shadow: 0 10px 22px rgba(236, 201, 121, 0.28);
}

/* ========== GALERIA ========== */
.gallery-section {
  position: relative;
  background: transparent;
  isolation: isolate;
  padding-top: 10px;
  padding-bottom: 10px;
}
.gallery-section::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--dark);
  z-index: -1;
}
.gallery-carousel-wrap {
  position: relative;
}
@media (min-width: 768px) {
  .gallery-carousel-wrap {
    display: contents;
  }
}
.gallery-carousel-nav {
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: space-between;
  padding: 10px 6px;
  pointer-events: none;
  z-index: 2;
}
.gallery-carousel-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(17, 36, 41, 0.55);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.gallery-carousel-btn:hover,
.gallery-carousel-btn:active {
  background: rgba(236, 201, 121, 0.45);
  color: var(--dark);
}
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.gallery-grid img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  border-radius: 24px;
  filter: grayscale(20%);
  transition:
    filter 0.3s,
    transform 0.3s;
}
.gallery-grid img:hover {
  filter: grayscale(0%);
  transform: scale(1.02);
}

/* Galeria – mobile: jeden kadr na szerokość, przewijanie w poziomie (jak karuzela) */
@media (max-width: 767px) {
  #galeria .gallery-grid {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    grid-template-columns: unset !important;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-snap-stop: always;
    scroll-padding-inline: 14px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    gap: 0;
    padding: 10px 14px;
  }
  #galeria .gallery-grid::-webkit-scrollbar {
    display: none;
  }
  #galeria .gallery-grid {
    scrollbar-width: none;
  }
  #galeria .gallery-grid .gallery-item {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    box-sizing: border-box;
  }
  #galeria .gallery-grid img {
    height: min(320px, 58vh);
    min-height: 220px;
    object-fit: cover;
  }
  #galeria .gallery-grid img:hover {
    transform: none;
  }
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.lightbox-overlay.is-open {
  display: flex;
}
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    transform 0.2s;
}
.lightbox-overlay.has-nav .lightbox-prev,
.lightbox-overlay.has-nav .lightbox-next {
  display: flex;
}
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) scale(1.05);
}
.lightbox-prev {
  left: 24px;
}
.lightbox-next {
  right: 24px;
}
.lightbox-overlay::after {
  content: "✕";
  position: fixed;
  top: 24px;
  right: 32px;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

/* ========== OPINIE / TESTIMONIALS ========== */
.testimonial-slider {
  position: relative;
  overflow: hidden;
}
.testimonial-slides {
  display: flex;
  transition: transform 0.5s ease;
}
.testimonial-slide {
  min-width: 100%;
}
.testimonial-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 2px solid var(--accent-border);
}
.testimonial-quote-icon {
  color: var(--accent);
  font-size: 32px;
  margin-bottom: 14px;
}
.testimonial-text {
  color: rgba(24, 47, 53, 0.78);
  font-size: 15px;
  line-height: 1.32;
  font-style: italic;
  margin-bottom: 14px;
}
.testimonial-dots-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.testimonial-dots-row span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(24, 47, 53, 0.25);
  display: block;
}
.testimonial-author h5 {
  color: var(--dark2);
  font-size: 18px;
  margin-bottom: 2px;
}
.testimonial-author span {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.05em;
}
.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}
.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(24, 47, 53, 0.3);
  cursor: pointer;
  transition: all 0.2s;
}
.t-dot.active {
  background: var(--accent);
  border-color: var(--accent);
}

/* Nagłówek sekcji opinii – ten sam styl jak inne duże h3 */
#testimonials .testimonials-header h3 {
  font-size: clamp(26px, 3.5vw, 40px);
}

/* ========== FIRMY / LOGA KLIENTÓW ========== */
.client-logos-section {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.client-logos-header h3 {
  font-size: clamp(26px, 3.5vw, 40px);
}
.client-logos-marquee {
  overflow: hidden;
  width: 100%;
  position: relative;
}
.client-logos-track {
  width: 100%;
  display: block;
  align-items: center;
}
.client-logos-list {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-shrink: 0;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.client-logo-card {
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid rgba(236, 201, 121, 0.36);
  border-radius: 14px;
  min-height: 92px;
  min-width: 170px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}
.client-logo-card a {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.client-logo-card a:hover {
  transform: scale(1.03);
}
.client-logo-card img {
  width: 100%;
  max-width: 150px;
  max-height: 54px;
  object-fit: contain;
  filter: saturate(0.9) contrast(1.04);
}
.client-logos-empty {
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  margin: 0;
}
@media (min-width: 768px) {
  .client-logos-list {
    gap: 34px;
  }
}
@media (min-width: 1200px) {
  .client-logos-list {
    gap: 42px;
  }
}
/* ========== KONTAKT ========== */
/* Zdjęcie: ta sama kolumna co Wystąpienia (.wystapienia-img na kontenerze) */
.contact-info h4 {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  font-size: 16px;
  margin-bottom: 8px;
  line-height: 1.35;
}
.contact-info h3 {
  margin: 0;
  line-height: 1.2;
}
.contact-info h3 a {
  color: var(--accent);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  transition: color 0.2s;
}
.contact-info h3 a:hover {
  color: var(--white);
}
.contact-invite {
  margin-top: 18px;
}
.contact-invite > h4 {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
  text-align: center;
}
.contact-invite ul li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-invite ul li i.fa-circle-dot {
  color: var(--accent);
  font-size: 10px;
  flex-shrink: 0;
}
.contact-invite ul li h4 {
  color: var(--white);
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1.3;
}
.contact-bottom {
  background: var(--light);
}
.contact-addr p {
  color: var(--dark2);
  font-size: 15px;
  margin-bottom: 4px;
}
.contact-addr h4 {
  margin-bottom: 0;
}
.contact-addr h4 a {
  color: var(--dark3);
  font-size: 22px;
  transition: color 0.2s;
}
.contact-addr h4 a:hover {
  color: var(--accent);
}
.contact-addr .contact-addr-gabinet {
  font-weight: 700;
  margin-top: 8px;
}

/* Formularze – tylko dolna kreska, bez ramek */
.form-input {
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(24, 47, 53, 0.25);
  border-radius: 0;
  box-shadow: none;
  padding: 12px 0;
  font-family: var(--font-main);
  font-size: 15px;
  color: var(--dark2);
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder {
  color: rgba(24, 47, 53, 0.4);
}
.form-input:focus {
  outline: none;
  border-bottom-color: var(--dark2);
}
textarea.form-input {
  resize: none;
  min-height: 100px;
}

.form-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 4px;
}
.form-checkbox-row input {
  margin-top: 3px;
  accent-color: var(--accent);
}
.form-checkbox-row label {
  color: rgba(24, 47, 53, 0.6);
  font-size: 13px;
  line-height: 20px;
}

.btn-submit {
  background: var(--accent);
  color: var(--dark);
  border: none;
  border-radius: 70px;
  padding: 12px 32px;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  width: fit-content;
  min-width: 188px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.btn-submit:hover {
  background: var(--accent2);
  box-shadow: 0 10px 24px rgba(236, 201, 121, 0.28);
}

/* ========== MODAL ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2100;
  padding: 20px;
  visibility: hidden;
  pointer-events: none;
  -webkit-overflow-scrolling: touch;
}
.modal-overlay.is-open {
  display: flex;
  visibility: visible;
  pointer-events: auto;
}
.modal-dialog {
  background: #fff;
  border-radius: 18px;
  max-width: 640px;
  width: 100%;
  padding: 36px 40px 32px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.modal-header h3 {
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--dark2);
}
.modal-header p {
  font-size: 14px;
  color: rgba(24, 47, 53, 0.8);
  margin-bottom: 22px;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  border: none;
  background: transparent;
  color: rgba(24, 47, 53, 0.6);
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
}
.modal-close:hover {
  color: var(--dark2);
}
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.modal-form-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: rgba(24, 47, 53, 0.75);
}
.modal-form-grid label span {
  font-weight: 500;
}
.modal-form-grid .form-input {
  font-size: 14px;
}
.modal-consent label {
  font-size: 13px;
}
.modal-submit {
  margin-top: 12px;
  align-self: flex-start;
}

/* Modal zamówienia książki – ten sam wygląd dla wszystkich progów (jak poniżej 768px) */
#book-order-modal.modal-overlay {
  padding: 12px;
  align-items: flex-start;
  padding-top: 24px;
  padding-bottom: 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
#book-order-modal .modal-dialog {
  max-height: none;
  margin: auto 0;
  padding: 24px 20px 28px;
  border-radius: 16px;
}
#book-order-modal .modal-close {
  top: 12px;
  right: 12px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
#book-order-modal .modal-header h3 {
  font-size: 20px;
  line-height: 1.3;
  padding-right: 36px;
  color: var(--accent);
  font-weight: 700;
}
#book-order-modal .modal-header p {
  font-size: 13px;
  margin-bottom: 18px;
}
#book-order-modal .modal-form-grid .form-input {
  min-height: 48px;
  font-size: 16px;
  border: none;
  border-bottom: 2px solid rgba(24, 47, 53, 0.25);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  outline: none;
}
#book-order-modal .modal-form-grid .form-input:focus {
  border-bottom-color: var(--dark2);
}
#book-order-modal .modal-form-grid label {
  font-size: 13px;
}
#book-order-modal .modal-submit {
  width: 100%;
  min-height: 48px;
  justify-content: center;
}

/* ========== FOOTER ========== */
#footer {
  background: var(--dark);
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 1.5rem;
}
.footer-logo img {
  height: 52px;
}
.footer-legal {
  font-size: 14px;
}
.footer-link {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}
.footer-link:hover {
  color: var(--accent);
}
.footer-copy {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 20px;
}
.footer-social a {
  color: rgba(255, 255, 255, 0.45);
  font-size: 22px;
  line-height: 1;
  transition: color 0.2s;
}
.footer-social a:hover {
  color: var(--accent);
}

@media (max-width: 767px) {
  #footer .footer-copy {
    text-align: center;
  }
}

/* ========== BACK TO TOP ========== */
#back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.3s,
    transform 0.3s;
  font-size: 16px;
}
#back-top.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSYWNY SYSTEM LAYOUTU (MOBILE -> 4K) ========== */
:root {
  --section-max-width: 1920px;
  --section-gutter: 1rem;
  --section-inner-pad: 1rem;
  --media-cell-pad: 0;
}

/* Mobile first */
body > section {
  width: min(
    var(--section-max-width),
    calc(100% - (var(--section-gutter) * 2))
  );
  margin-left: auto !important;
  margin-right: auto !important;
}

body > section.section-cytat {
  width: 100%;
  max-width: 100%;
}

body > section#services,
body > section#guides,
body > section#trip-offers,
body > section#spolecznosc,
body > section#testimonials,
body > section#firmy,
body > section.trip-section {
  width: 100%;
  max-width: 100%;
}

body > section#services .container,
body > section#guides .container,
body > section#guides .pricing-section .container,
body > section#trip-offers .container,
body > section#spolecznosc .container,
body > section#firmy .container,
body > section#testimonials .container {
  max-width: calc(100% - (var(--section-gutter) * 2)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body > section.trip-section .two-col {
  width: min(
    var(--section-max-width),
    calc(100% - (var(--section-gutter) * 2))
  );
  margin-left: auto;
  margin-right: auto;
}

body > section .container {
  max-width: 100% !important;
  padding-left: var(--section-inner-pad) !important;
  padding-right: var(--section-inner-pad) !important;
}

/* Na telefonie obraz zachowuje naturalny flow */
.two-col .col-img,
.two-col .trip-img {
  position: static;
  padding: var(--media-cell-pad);
  overflow: hidden;
}

.two-col .col-img > img,
.two-col .trip-img > img {
  position: static;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: cover !important;
  object-position: center center;
  margin: 0 !important;
}

/* Tablet */
@media (min-width: 768px) {
  :root {
    --section-gutter: clamp(1.25rem, 3vw, 2rem);
    --section-inner-pad: clamp(1rem, 1.6vw, 1.5rem);
    --media-cell-pad: clamp(6px, 0.8vw, 10px);
  }
}

/* 768-1279: obrazy zachowuja sie jak na mobile */
@media (min-width: 768px) and (max-width: 1279px) {
  :root {
    --media-cell-pad: 0;
  }

  .hero-media {
    overflow: hidden;
    min-height: 0;
  }

  .hero-media .hero-image {
    max-height: 65vh;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }

  .two-col .col-img,
  .two-col .trip-img {
    position: static;
    padding: 0;
  }

  .two-col .col-img > img,
  .two-col .trip-img > img {
    position: static;
    inset: auto;
    width: 100% !important;
    height: auto !important;
  }
}

/* Mobile/tablet: HERO + Wystąpienia + Wywiady + O mnie — zdjęcie 90%; inne portretowe 50% */
@media (max-width: 1279px) {
  .hero-media {
    display: flex;
    justify-content: center;
  }
  .hero-media .hero-image {
    width: 90% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center top !important;
    position: static !important;
    transform: none !important;
  }
  .two-col .wywiady-img,
  .two-col .wystapienia-img,
  .two-col .about-img,
  .two-col .contact-photo,
  #brian-tracy .brian-media.brian-img {
    display: flex;
    justify-content: center;
    overflow: visible;
    max-height: none;
  }
  .two-col .wystapienia-img > img,
  .two-col .wywiady-img > img,
  .two-col .about-img > img,
  .two-col .contact-photo > img {
    width: 90% !important;
    height: auto !important;
    max-height: none !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center top !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
  }
  #brian-tracy .brian-media.brian-img > img {
    width: 90% !important;
    height: auto !important;
    max-height: none !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center top !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
  }
  /* Odstęp od ramki sekcji: góra = boki (jak padding kolumny tekstu) */
  .two-col .wystapienia-img,
  .two-col .wywiady-img,
  .two-col .about-img,
  .two-col .contact-photo {
    padding-top: 1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    box-sizing: border-box;
  }
}

@media (min-width: 640px) and (max-width: 1279px) {
  .two-col .wystapienia-img,
  .two-col .wywiady-img,
  .two-col .about-img,
  .two-col .contact-photo {
    padding-top: 2.5rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

/* Desktop: dwie kolumny, tekst wyznacza wysokość, obraz dopasowuje się do reszty */
@media (min-width: 1280px) {
  :root {
    --section-gutter: clamp(2rem, 5vw, 4rem);
    --section-inner-pad: clamp(1.25rem, 2vw, 2rem);
    --media-cell-pad: clamp(8px, 0.9vw, 14px);
  }

  .two-col {
    align-items: stretch;
  }

  .two-col .contact-info {
    height: 100%;
  }

  .two-col .col-img,
  .two-col .trip-img {
    position: relative;
    align-self: stretch;
    min-height: 0;
    padding: 0;
    overflow: hidden;
  }

  .two-col .wystapienia-img,
  .two-col .wywiady-img,
  .two-col .about-img,
  .two-col .contact-photo {
    padding: clamp(2rem, 5vw, 4.375rem);
    box-sizing: border-box;
  }

  .two-col .col-img > img,
  .two-col .trip-img > img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center;
  }

  /* Hero – kontener = wysokość tekstu, zdjęcie proporcjonalne */
  .hero-media {
    position: relative;
    overflow: hidden;
    align-self: stretch;
  }

  .hero-media .hero-image {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    right: auto !important;
    bottom: 0 !important;
    transform: translateX(-50%);
    width: auto !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: unset !important;
  }

  /* Portretowe zdjęcia – kontener = wysokość tekstu, zdjęcie proporcjonalne */
  .two-col .wywiady-img,
  .two-col .wystapienia-img,
  .two-col .about-img,
  .two-col .contact-photo,
  #brian-tracy .brian-media.brian-img {
    position: relative;
    align-self: stretch;
    overflow: hidden;
    min-height: 300px;
  }

  .two-col .wywiady-img > img,
  .two-col .wystapienia-img > img,
  .two-col .about-img > img,
  .two-col .contact-photo > img,
  #brian-tracy .brian-media.brian-img > img {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    right: auto !important;
    bottom: 0 !important;
    transform: translateX(-50%);
    width: auto !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: unset !important;
  }

  /* Wystąpienia – zdjęcie wyżej; overflow visible bo .col-img/.wystapienia-img mają hidden i obcinały wysunięcie */
  #wystapienia .wystapienia-img {
    overflow: visible !important;
  }
  #wystapienia .wystapienia-img > img {
    top: -36px !important;
  }

  /* Wywiady / Kulisy Biznesu – ten sam manewr co Wystąpienia */
  #wywiady .wywiady-img {
    overflow: visible !important;
  }
  #wywiady .wywiady-img > img {
    top: -36px !important;
  }

  /* Kontakt – PC: szerokość auto jak portret; wysokość 105% – 5% wystaje ponad górę kolumny; dół przy krawędzi */
  #contact > .two-col {
    overflow: visible !important;
  }
  #contact .contact-photo {
    overflow: visible !important;
    padding: 0 !important;
    border-radius: 24px 0 0 24px;
  }
  #contact .contact-photo > img {
    top: auto !important;
    left: 50% !important;
    bottom: 0 !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    height: 105% !important;
    max-width: none !important;
    object-fit: unset !important;
  }

  /* Książka (Brian Tracy) – PC: delikatne powiększenie zdjęcia (overflow visible żeby nie obcinać scale) */
  #brian-tracy .brian-media.brian-img {
    overflow: visible !important;
  }
  #brian-tracy .brian-media.brian-img > img {
    transform: translateX(-50%) scale(1.08) !important;
  }

  body {
    font-size: 16.5px;
    line-height: 1.72;
  }
}

/* Duzy desktop */
@media (min-width: 1280px) {
  :root {
    --section-gutter: clamp(2.5rem, 6vw, 6rem);
    --section-inner-pad: clamp(1.5rem, 2.1vw, 2.4rem);
  }
}

/* XL desktop */
@media (min-width: 1536px) {
  :root {
    --section-gutter: clamp(3rem, 7vw, 7.5rem);
    --section-inner-pad: clamp(1.6rem, 2.2vw, 2.8rem);
  }

  body {
    font-size: 17px;
  }
}

/* QHD / ultrawide */
@media (min-width: 1920px) {
  :root {
    --section-gutter: clamp(4rem, 8vw, 9rem);
    --section-inner-pad: clamp(1.8rem, 2.3vw, 3.2rem);
  }

  body {
    font-size: 17.5px;
  }
}

/* 4K+ */
@media (min-width: 2560px) {
  :root {
    --section-gutter: clamp(5rem, 9vw, 12rem);
    --section-inner-pad: clamp(2rem, 2.4vw, 3.8rem);
  }

  body {
    font-size: 18px;
    line-height: 1.78;
  }
}
