* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f8f7f3;
  color: #183b3b;
  font-family: "DM Sans", Arial, sans-serif;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.container-konsultacje {
  width: min(1180px, calc(100% - 48px));
  height: 586px;
  margin: 0 auto;
}

/* =========================================
   TOPBAR
   ========================================= */

.topbar {
  padding: 9px 20px;
  background: #183b3b;
  color: #f3d6a2;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* =========================================
   HEADER
   ========================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px max(24px, calc((100% - 1180px) / 2));
  background: rgba(248, 247, 243, 0.94);
  border-bottom: 1px solid rgba(24, 59, 59, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #183b3b;
  font-weight: 700;
  font-size: 17px;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #183b3b;
  color: #f3d6a2;
  font-size: 24px;
  font-weight: 400;
}

.accent,
.footer-inner strong span {
  color: #bc754b;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  color: #183b3b;
  text-decoration: none;
}

.nav-cta {
  padding: 13px 20px;
  border-radius: 999px;
  background: #bc754b;
  color: white !important;
}

.menu-toggle {
  display: none;
  padding: 6px;
  border: 0;
  background: transparent;
  color: #183b3b;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

/* =========================================
   HERO SECTION - DESKTOP
   ========================================= */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
  padding-top: 50px;
  padding-bottom: 80px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
}

.eyebrow {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  color: #bc754b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: #183b3b;
  font-size: clamp(30px, 4.0vw, 30px);
  line-height: 1.1;
}

.hero h1 em {
  color: #bc754b;
}

.lead {
  margin-top: 22px;
  color: rgba(24, 59, 59, 0.75);
  font-size: 16px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.button.primary {
  background: #bc754b;
  color: #ffffff;
}

.button.secondary {
  border: 1px solid rgba(24, 59, 59, 0.2);
  background: transparent;
  color: #183b3b;
}

.trust {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
  color: rgba(24, 59, 59, 0.65);
  font-size: 13px;
  font-weight: 500;
}

.hero-image {
  position: relative;
  width: 100%;
}

.image-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1448 / 1086;
  overflow: hidden;
  background-color: #183b3b;
  background-image:
    linear-gradient(145deg, rgba(24, 59, 59, 0.15), rgba(188, 117, 75, 0.3)),
    url(zdjecie.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 40% 40% 20% 20%;
  box-shadow: 20px 20px 0 #f3d6a2;
}

/* =========================================
   SERVICES
   ========================================= */

.services {
  padding: 100px 0;
  background: #183b3b;
  color: #f8f7f3;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 50px;
}

.section-heading h2,
.process h2,
.faq h2,
.contact h2 {
  font-size: clamp(38px, 5vw, 30px);
}

.section-heading > p {
  max-width: 280px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  line-height: 1.7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-grid article {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
}

.service-grid article .cennik {
  text-decoration: none;
  color: white;
  bottom: 15px;
  margin-top: auto;
  padding-top: 16px;
  font-size: 14px;
}

.service-grid article .cennik-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: #e565a0;
  border: 1.5px solid #9b0050;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  outline: none;
  margin-top: 15px;
}

.service-grid article .cennik-btn:hover {
  background-color: #9b0050;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(155, 0, 80, 0.35);
  transform: translateY(-1px);
}

.service-grid article .cennik-btn:active {
  background-color: #7e0041;
  transform: translateY(0);
  box-shadow: none;
}

.service-grid article .cennik-btn:focus-visible {
  outline: 2px solid #e178a8;
  outline-offset: 3px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 42px;
  border-radius: 16px;
  background: #f3d6a2;
  color: #183b3b;
  font-size: 22px;
}

.service-grid small {
  float: right;
  margin-top: -76px;
  color: #bc754b;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-grid h3 {
  margin: 0;
  font-size: 24px;
}

.service-grid p {
  min-height: 72px;
  margin: 14px 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.7;
}

.service-grid ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.service-grid li::before {
  content: "✓";
  margin-right: 9px;
  color: #f3d6a2;
}

/* =========================================
   PROCESS
   ========================================= */

.process {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  padding-top: 105px;
  padding-bottom: 105px;
}

.process-intro > p:last-child {
  max-width: 350px;
  margin-top: 25px;
  color: rgba(24, 59, 59, 0.6);
  line-height: 1.8;
}

.steps article {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid rgba(24, 59, 59, 0.15);
}

.steps b {
  font-family: "Playfair Display", serif;
  color: #bc754b;
  font-size: 25px;
  font-weight: 400;
}

.steps h3 {
  margin: 0;
  font-size: 20px;
}

.steps p {
  max-width: 500px;
  margin: 8px 0 0;
  color: rgba(24, 59, 59, 0.6);
  font-size: 14px;
  line-height: 1.7;
}

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

.faq {
  padding: 95px 0;
  background: #e9ede6;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 80px;
}

.faq-list details {
  border-top: 1px solid rgba(24, 59, 59, 0.16);
}

summary {
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 600;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "⌄";
  float: right;
  color: #bc754b;
  font-size: 22px;
}

.faq-list p {
  max-width: 650px;
  margin: -5px 0 22px;
  color: rgba(24, 59, 59, 0.65);
  font-size: 14px;
  line-height: 1.7;
}

/* =========================================
   LOCATION
   ========================================= */

.location {
  padding: 110px 0;
  background: #ebe9e1;
}

.location-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 78px;
  align-items: center;
}

.map-wrap {
  min-height: 420px;
  overflow: hidden;
  border: 12px solid #f8f7f3;
  box-shadow: 0 22px 55px rgba(24, 59, 59, 0.12);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 396px;
  border: 0;
  filter: saturate(0.7) sepia(0.12);
}

.location-copy h2 {
  font-size: clamp(38px, 5vw, 30px);
}

.location-copy > p:not(.eyebrow) {
  max-width: 430px;
  margin: 26px 0;
  color: rgba(24, 59, 59, 0.68);
  line-height: 1.75;
}

.address {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 28px 0 30px;
  padding-left: 18px;
  border-left: 2px solid #bc754b;
  color: #183b3b;
  line-height: 1.6;
}

.address span {
  color: rgba(24, 59, 59, 0.68);
}

/* =========================================
   CONTACT
   ========================================= */

.contact {
  padding: 95px 0;
  background: #f3d6a2;
}

.contact-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 80px;
}

.contact h2 em {
  color: #183b3b;
}

.contact-inner > div > p:last-of-type {
  max-width: 430px;
  margin: 25px 0;
  color: rgba(24, 59, 59, 0.65);
  line-height: 1.8;
}

.contact-link {
  display: inline-block;
  margin-top: 12px;
  color: #bc754b;
  font-weight: 700;
  text-decoration: none;
}

.contact-card {
  padding: 34px;
  border-radius: 24px;
  background: #f8f7f3;
}

.card-label {
  margin: 0 !important;
  color: #bc754b !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-card h3 {
  margin: 15px 0 0;
  font-size: 25px;
}

.contact-card p:not(.card-label) {
  color: rgba(24, 59, 59, 0.6);
}

/* =========================================
   FOOTER
   ========================================= */

footer {
  padding: 30px 0;
  background: #183b3b;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner strong {
  color: #fff;
  font-size: 15px;
}

footer a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

/* =========================================
   TABLET / MOBILE (MEDIA QUERIES)
   ========================================= */

@media (max-width: 800px) {
  html,
  body {
    overflow-x: hidden;
  }

  .container {
    width: min(100% - 36px, 600px);
  }

  .mediacje-section {
    padding: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .mediacje-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 20px !important;
  }

  .cennik-mediacje, 
  .container, 
  .container-konsultacje {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    float: none !important;
  }

  .cennik-mediacje ul, 
  .cennik-mediacje ol {
    padding-left: 20px !important;
    word-break: break-word;
  }

  /* HEADER */
  .site-header {
    padding: 15px 18px;
  }

  .brand {
    font-size: 16px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 18px;
    background: #f8f7f3;
    border-bottom: 1px solid rgba(24, 59, 59, 0.1);
    box-shadow: 0 15px 30px rgba(24, 59, 59, 0.08);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 4px;
  }

  .nav .nav-cta {
    margin-top: 6px;
    padding: 14px 20px;
    text-align: center;
  }

  /* HERO */
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 600px;
    min-width: 0;
    gap: 32px;
    padding-top: 20px;
    padding-bottom: 40px;
    margin: 0 auto;
  }

  .hero-copy {
    position: static;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    transform: none;
  }

  .hero h1 {
    margin: 0;
    font-size: clamp(36px, 9vw, 52px);
    line-height: 1.08;
  }

  .lead {
    max-width: 100%;
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.6;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 24px;
  }

  .button {
    width: 100%;
    max-width: 100%;
    padding: 16px 22px;
    text-align: center;
  }

  .trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 20px;
  }

  .hero-image {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
    transform: none;
  }

  .image-card {
    position: relative;
    width: 100%;
    height: 320px;
    min-height: 320px;
    aspect-ratio: auto;
    overflow: hidden;
    background-color: #183b3b;
    border-radius: 24px;
    box-shadow: none;
  }

  /* SERVICES */
  .services {
    padding: 75px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 35px;
  }

  .section-heading > p {
    max-width: 500px;
    margin-top: 20px;
  }

  .section-heading h2,
  .process h2,
  .faq h2,
  .contact h2 {
    font-size: clamp(34px, 9vw, 48px);
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-grid article {
    padding: 25px;
  }

  .service-icon {
    margin-bottom: 30px;
  }

  .service-grid p {
    min-height: auto;
  }

  /* PROCESS */
  .process {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 75px;
    padding-bottom: 75px;
  }

  .process-intro > p:last-child {
    max-width: 600px;
  }

  .steps article {
    grid-template-columns: 42px 1fr;
    gap: 14px;
    padding: 22px 0;
  }

  /* FAQ */
  .faq {
    padding: 75px 0;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  summary {
    padding: 20px 0;
    padding-right: 10px;
    font-size: 16px;
  }

  .faq-list p {
    font-size: 14px;
  }

  /* LOCATION */
  .location {
    padding: 75px 0;
  }

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

  .map-wrap {
    min-height: 0;
    border-width: 7px;
  }

  .map-wrap iframe {
    width: 100%;
    height: 320px;
  }

  .location-copy h2 {
    font-size: clamp(36px, 9vw, 48px);
  }

  /* CONTACT */
  .contact {
    padding: 75px 0;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .contact-card {
    padding: 28px 22px;
  }

  /* FOOTER */
  footer {
    padding: 28px 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* =========================================
   MAŁE TELEFONY
   ========================================= */

@media (max-width: 480px) {
  .container {
    width: calc(100% - 28px);
  }

  .topbar {
    padding: 8px 10px;
    font-size: 9px;
    letter-spacing: 0.13em;
  }

  .site-header {
    padding: 13px 14px;
  }

  .brand {
    gap: 9px;
    font-size: 14px;
  }

  .brand-mark {
    width: 35px;
    height: 35px;
    font-size: 20px;
  }

  /* HERO */
  .hero {
    width: calc(100% - 28px);
    gap: 32px;
    padding-top: 30px;
    padding-bottom: 50px;
  }

  .hero h1 {
    font-size: clamp(32px, 10vw, 44px);
    line-height: 1.1;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  .eyebrow::before {
    width: 25px;
    margin-right: 8px;
  }

  .lead {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.6;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .trust {
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
  }

  .image-card {
    height: 300px;
    border-radius: 22px;
  }

  /* SERVICES */
  .service-grid article {
    padding: 22px;
    border-radius: 20px;
  }

  .service-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 25px;
  }

  .service-grid h3 {
    font-size: 21px;
  }

  .service-grid small {
    margin-top: -65px;
  }

  /* LOCATION */
  .map-wrap iframe {
    height: 280px;
  }

  /* CONTACT */
  .contact-card {
    border-radius: 20px;
  }
}

/* =========================================
   BARDZO MAŁE TELEFONY
   ========================================= */

@media (max-width: 360px) {
  .hero {
    width: calc(100% - 24px);
    gap: 24px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .lead {
    font-size: 14px;
  }

  .image-card {
    height: 260px;
  }
}

/* =========================================
   REDUCED MOTION
   ========================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .nav-cta {
    transition: none;
  }
}

/* =========================================
   FORM
   ========================================= */

.napisz {
  justify-self: center;
}

.contact-form {
  max-width: 600px;
  margin: 20px auto;
  padding: 24px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  font-family: system-ui, -apple-system, sans-serif;
}

/* Pola tekstowe i textarea */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
  outline: none;
  transition: all 0.2s ease;
}

/* Efekt aktywnego pola (kliknięcie/focus) */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Przycisk wysyłania */
.contact-form button {
  width: 100%;
  padding: 12px;
  background-color: #bc754b;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

/* Efekt najechania na przycisk */
.contact-form button:hover {
  background-color: #1d4ed8;
}

/* =========================================
   RODO
   ========================================= */

.tytuly {
  color: #36d6ae;
  margin: 0;
  padding-top: 5px;
  padding-bottom: 5px;
}

.tekst {
  margin: 0;
  padding: 0;
}

#rodo {
  text-align: justify;
}

.green {
  color: #00b86b;
}

.orange {
  color: #bc754b;
}

/* =========================================
   CENNIKI
   ========================================= */

.cennik-konsultacje {
  padding: 100px 0;
  height: 100%;
  background: #183b3b;
  color: #f8f7f3;
}

.cennik-mediacje {
  padding: 20px;
  margin: 30px;
  margin-right: 10px;
  margin-left: 10px;
  border-radius: 20px;
  background: #183b3b;
  color: #f8f7f3;
}

.cennik-mediacje a {
  color: #00b86b;
}

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

.mediacje-section {
  background-color: #e2e8f0;
}

.lower {
  font-size: 14px;
}

.gap {
  padding-bottom: 0px;
}

.teen-program-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: #f8f4eb;
  color: #244f56;
  font-family: "DM Sans", Arial, sans-serif;
}

.teen-program-section * {
  box-sizing: border-box;
}

.teen-program-container {
  position: relative;
  z-index: 2;
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.teen-program-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 180px;
  pointer-events: none;
  opacity: 0.18;
}

.teen-program-bg-left {
  left: 0;
  background:
    radial-gradient(ellipse 60% 15% at 20% 15%, #7ba086 0%, transparent 100%),
    radial-gradient(ellipse 50% 12% at 10% 30%, #8fb399 0%, transparent 100%),
    radial-gradient(ellipse 70% 18% at 30% 50%, #6d9477 0%, transparent 100%),
    radial-gradient(ellipse 55% 14% at 15% 70%, #92b89e 0%, transparent 100%),
    radial-gradient(ellipse 65% 16% at 25% 85%, #7ba086 0%, transparent 100%);
}

.teen-program-bg-right {
  right: 0;
  background:
    radial-gradient(ellipse 60% 15% at 80% 10%, #7ba086 0%, transparent 100%),
    radial-gradient(ellipse 50% 12% at 90% 35%, #8fb399 0%, transparent 100%),
    radial-gradient(ellipse 70% 18% at 70% 55%, #6d9477 0%, transparent 100%),
    radial-gradient(ellipse 55% 14% at 85% 75%, #92b89e 0%, transparent 100%),
    radial-gradient(ellipse 65% 16% at 75% 90%, #7ba086 0%, transparent 100%);
}

.teen-program-corner {
  position: absolute;
  fill: #7ea48c;
  opacity: 0.18;
  pointer-events: none;
}

.teen-program-corner path:nth-child(2) {
  fill: #95baa2;
}

.teen-program-corner path:nth-child(3) {
  fill: #6f947b;
}

.teen-program-corner-top-left {
  top: 10px;
  left: 0;
  width: 160px;
}

.teen-program-corner-top-right {
  top: 10px;
  right: 0;
  width: 160px;
  transform: scaleX(-1);
}

.teen-program-corner-bottom-left {
  bottom: 0;
  left: 0;
  width: 250px;
}

.teen-program-corner-bottom-right {
  bottom: 0;
  right: 0;
  width: 250px;
  transform: scaleX(-1);
}

.teen-program-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: start;
  margin-bottom: 36px;
}

.teen-program-divider,
.teen-program-heading-divider {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.teen-program-divider span,
.teen-program-heading-divider span {
  display: block;
  height: 1px;
  flex: 1;
  background: linear-gradient(to right, transparent, rgba(162, 153, 185, 0.65), transparent);
}

.teen-program-divider i,
.teen-program-heading-divider i {
  color: #aa9ac9;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
}

.teen-program-intro h2,
.teen-program-heading h2,
.teen-program-card h3,
.teen-program-context h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
}

.teen-program-intro h2 {
  color: #1f6770;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.02;
  margin-bottom: 22px;
}

.teen-program-description {
  max-width: 560px;
  margin: 0 0 22px;
  color: #4c5962;
  font-size: 16px;
  line-height: 1.65;
}

.teen-program-badge {
  margin-bottom: 18px;
}

.teen-program-badge span,
.teen-program-badge strong {
  display: block;
}

.teen-program-badge span {
  color: #8e86c1;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(24px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.1;
}

.teen-program-badge strong {
  color: #8e86c1;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(24px, 3vw, 28px);
  line-height: 1.1;
}

.teen-program-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 16px 0 0;
  list-style: none;
  border-top: 1px solid rgba(36, 79, 86, 0.18);
}

.teen-program-pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #44545b;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.teen-program-pills li.dot {
  color: #bdb5cc;
  font-size: 18px;
}

.teen-program-pills svg {
  width: 18px;
  height: 18px;
  fill: #1f6770;
}

.teen-program-photo-wrap {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 18px 35px rgba(27, 58, 58, 0.12);
}

.teen-program-photo-wrap img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.teen-program-quote {
  margin: 10px 0 0;
  padding: 14px 22px;
  border-radius: 18px;
  background: rgba(207, 198, 217, 0.82);
  color: #5f5966;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 18px;
  font-style: italic;
  line-height: 1.45;
  text-align: center;
}

.teen-program-context {
  margin-bottom: 42px;
  padding: 30px 32px;
  background: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(31, 103, 112, 0.14);
  border-bottom: 1px solid rgba(31, 103, 112, 0.14);
}

.teen-program-context h3 {
  color: #486066;
  font-size: 33px;
  margin-bottom: 12px;
}

.teen-program-context p {
  margin: 0;
  color: #4c5962;
  font-size: 15px;
  line-height: 1.68;
}

.teen-program-heading {
  text-align: center;
  margin-bottom: 30px;
}

.teen-program-heading-divider {
  max-width: 380px;
  margin: 0 auto 16px;
}

.teen-program-heading h2 {
  color: #1f6770;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.15;
  margin-bottom: 10px;
}

.teen-program-heading p {
  max-width: 820px;
  margin: 0 auto 10px;
  color: #5e666a;
  font-size: 16px;
  line-height: 1.6;
}

.teen-program-heading strong {
  color: #7d67b7;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(20px, 3vw, 24px);
}

.teen-program-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 24px;
  margin-bottom: 32px;
  width: 100%;
  align-items: stretch;
}

.teen-program-card {
  width: 100%;
  min-width: 0;
  height: 100%;
}

.teen-program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px 22px 22px;
  min-height: 230px;
  border: 1px solid rgba(56, 105, 114, 0.35);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.88), rgba(253,251,247,0.92)),
    radial-gradient(circle at 20% 25%, rgba(194, 213, 200, 0.33), transparent 32%),
    radial-gradient(circle at 78% 78%, rgba(212, 201, 226, 0.25), transparent 28%);
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 25px rgba(41, 75, 73, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.teen-program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(41, 75, 73, 0.12);
}

.teen-program-card-featured {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.88), rgba(252,249,255,0.94)),
    radial-gradient(circle at 18% 24%, rgba(188, 205, 194, 0.32), transparent 30%),
    radial-gradient(circle at 82% 78%, rgba(188, 169, 214, 0.28), transparent 30%);
}

.teen-program-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 2px solid rgba(126, 113, 171, 0.35);
  background: linear-gradient(180deg, #fff, #f3f0fa);
  box-shadow: 0 8px 18px rgba(124, 112, 164, 0.1);
}

.teen-program-icon svg {
  width: 26px;
  height: 26px;
  fill: #7d67b7;
}

.teen-program-card h3 {
  color: #1f6770;
  font-size: clamp(24px, 3vw, 28px);
  line-height: 1.08;
  margin-bottom: 24px;
}

.teen-program-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 10px 18px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  clip-path: polygon(6% 0, 94% 0, 100% 50%, 94% 100%, 6% 100%, 0 50%);
}

.teen-program-tag-dark {
  background: #0f6374;
}

.teen-program-tag-purple {
  background: #a28fc6;
}

.teen-program-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid rgba(56, 105, 114, 0.18);
  color: #1f6770;
  font-size: 15px;
}

.teen-program-footer .brand {
  font-weight: 700;
}

.teen-program-footer .separator {
  color: #aab4b8;
}

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

  .teen-program-corner-top-left,
  .teen-program-corner-top-right {
    width: 120px;
  }

  .teen-program-corner-bottom-left,
  .teen-program-corner-bottom-right {
    width: 180px;
  }
}

@media (max-width: 768px) {
  .teen-program-section {
    padding: 56px 0;
  }

  .teen-program-container {
    width: calc(100% - 30px);
  }

  .teen-program-intro h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .teen-program-context {
    padding: 22px 20px;
  }

  .teen-program-context h3 {
    font-size: 28px;
  }

  .teen-program-heading h2 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .teen-program-card {
    min-height: unset;
  }

  .teen-program-pills {
    gap: 10px;
  }

  .teen-program-pills li {
    font-size: 13px;
  }

  .teen-program-footer {
    font-size: 14px;
  }

  .teen-program-footer .separator {
    display: none;
  }
}

@media (max-width: 480px) {
  .teen-program-bg {
    width: 90px;
  }

  .teen-program-corner-top-left,
  .teen-program-corner-top-right {
    width: 85px;
  }

  .teen-program-corner-bottom-left,
  .teen-program-corner-bottom-right {
    width: 120px;
  }

  .teen-program-quote {
    font-size: 16px;
    padding: 12px 16px;
  }

  .teen-program-card {
    padding: 28px 18px 18px;
  }

  .teen-program-tag {
    min-width: 138px;
    font-size: 11px;
  }
}


/* =========================================
   RESET & BASE
   ========================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f8f7f3;
  color: #183b3b;
  font-family: "DM Sans", Arial, sans-serif;
  overflow-x: hidden;
}

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

a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* =========================================
   TOPBAR & HEADER (z Twojego projektu)
   ========================================= */

.topbar {
  padding: 9px 20px;
  background: #183b3b;
  color: #f3d6a2;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px max(24px, calc((100% - 1180px) / 2));
  background: rgba(248, 247, 243, 0.94);
  border-bottom: 1px solid rgba(24, 59, 59, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #183b3b;
  font-weight: 700;
  font-size: 17px;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #183b3b;
  color: #f3d6a2;
  font-size: 24px;
  font-weight: 400;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  color: #183b3b;
  text-decoration: none;
}

.nav-cta {
  padding: 13px 20px;
  border-radius: 999px;
  background: #bc754b;
  color: white !important;
}

/* =========================================
   OFERTA SUBPAGES - Poprawiony Layout
   ========================================= */

.oferta-page {
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: #f8f4eb;
  color: #2b4a50;
}

.oferta-container {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  padding: 40px 0 60px;
}

/* =========================================
   POSZERZENIE STRON OFERTOWYCH
   ========================================= */

/* Zwiększenie szerokości kontenera podstron ofertowych (zamiast 1140px / 1260px na np. 1320px) */
.oferta-container {
  width: min(1320px, calc(100% - 56px)) !important;
}

/* Poszerzenie nagłówka oferty, aby ładnie komponował się z nową szerokością */
.oferta-header {
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Poszerzenie bloku z ostrzeżeniem (disclaimer) na dole podstron */
.oferta-disclaimer {
  max-width: 1140px !important;
}

/* Dekoracje liści - absolutne, nie wpływające na grid */
.oferta-leaf {
  position: absolute;
  pointer-events: none;
  opacity: 0.16;
  z-index: 0;
}
.oferta-leaf-tl { top: 0; left: 0; width: 140px; }
.oferta-leaf-tr { top: 0; right: 0; width: 140px; transform: scaleX(-1); }
.oferta-leaf-bl { bottom: 0; left: 0; width: 220px; }
.oferta-leaf-br { bottom: 0; right: 0; width: 220px; transform: scaleX(-1); }

.oferta-lavender {
  position: absolute;
  pointer-events: none;
  opacity: 0.13;
  z-index: 0;
}
.oferta-lavender-tr { top: 15%; right: 2%; width: 100px; }
.oferta-lavender-bl { bottom: 15%; left: 2%; width: 90px; }

/* Nagłówek strony */
.oferta-header {
  text-align: center;
  margin-bottom: 48px;
}

.oferta-header h1 {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.1;
  color: #1f6770;
}

.oferta-subtitle {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #50626a;
}

.oferta-tagline {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-size: clamp(16px, 2vw, 19px);
  color: #1f6770;
}

/* GRID SYSTEM - KLUCZ DO ROZWIĄZANIA PROBLEMU */
.oferta-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* Zapobiega wypychaniu przez zdjęcia */
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}

.oferta-grid-3 {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 30px;
  align-items: start;
  margin-bottom: 40px;
}

/* ZDJĘCIA - Muszą być responsywne w gridzie */
.oferta-image-wrap {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(25, 55, 55, 0.08);
  background: #eee;
}

.oferta-image-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* BLOKI TREŚCI */
.oferta-block {
  margin-bottom: 30px;
}

.oferta-block-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.oferta-block-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #eef7f4;
  border: 1.5px solid rgba(31, 103, 112, 0.2);
}

.oferta-block-icon svg {
  width: 20px;
  height: 20px;
  fill: #1f6770;
}

.oferta-block h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  color: #1f6770;
}

.oferta-block p, 
.oferta-block li {
  font-size: 15px;
  line-height: 1.6;
  color: #3d5359;
  margin-bottom: 10px;
}

/* LISTY */
.oferta-numbered {
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: o-cnt;
}
.oferta-numbered li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  counter-increment: o-cnt;
}
.oferta-numbered li::before {
  content: counter(o-cnt) ".";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: #1f6770;
}

.oferta-badge-list {
  list-style: none;
  padding: 0;
}
.oferta-badge-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}
.oferta-badge-num {
  width: 24px;
  height: 24px;
  background: #1f6770;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* PUDEŁKA Z CENĄ I CZASEM */
.oferta-highlight-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 20px;
}

.oferta-highlight {
  padding: 16px;
  background: #f1edf7;
  border: 1px solid rgba(126, 113, 171, 0.2);
  border-radius: 12px;
  text-align: center;
}

.oferta-highlight strong {
  display: block;
  font-size: 13px;
  color: #6b5a96;
  margin-bottom: 4px;
}

.oferta-highlight em {
  font-style: normal;
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 700;
  color: #1f6770;
}

/* PASEK INFO NA DOLE (WARSZTATY) */
.oferta-info-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(31, 103, 112, 0.1);
  border-radius: 16px;
  padding: 24px;
  margin: 40px 0;
}

.oferta-info-item {
  text-align: center;
}
.oferta-info-item svg { width: 32px; height: 32px; fill: #1f6770; margin-bottom: 8px; }
.oferta-info-item strong { display: block; font-size: 14px; margin-bottom: 6px; color: #1f6770; }
.oferta-info-item p { font-size: 12px; margin: 0; line-height: 1.4; }
.oferta-info-item em { font-style: normal; font-weight: 800; font-size: 20px; color: #6b5a96; }

/* STOPKA STRONY OFERTY */
.oferta-page-footer {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(31, 103, 112, 0.1);
  color: #1f6770;
}
.oferta-brand { font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.oferta-motto { font-size: 14px; opacity: 0.8; }

/* PRZYCISK POWROTU */
.oferta-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #1f6770;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 24px;
  background: rgba(255,255,255,0.5);
  padding: 8px 16px;
  border-radius: 20px;
}
.oferta-back svg { width: 16px; height: 16px; fill: currentColor; }

/* =========================================
   RESPONSYWNOŚĆ - NAPRAWA
   ========================================= */

/* Laptopy i mniejsze ekrany */
@media (max-width: 1024px) {
  .oferta-grid-3 {
    grid-template-columns: 1fr; /* Przejście na 1 kolumnę dla warsztatów */
    gap: 30px;
  }
  .oferta-grid-3 > div:nth-child(1) {
    display: flex;
    gap: 30px;
    align-items: center;
  }
  .oferta-grid-3 .oferta-image-wrap {
    max-width: 400px;
  }
}

/* Tablety */
@media (max-width: 850px) {
  .oferta-grid-2 {
    grid-template-columns: 1fr;
  }
  .oferta-info-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .oferta-grid-3 > div:nth-child(1) {
    flex-direction: column;
    align-items: stretch;
  }
  .oferta-grid-3 .oferta-image-wrap {
    max-width: 100%;
  }
}

/* Telefony */
@media (max-width: 500px) {
  .oferta-info-bar {
    grid-template-columns: 1fr;
  }
  .oferta-highlight-group {
    grid-template-columns: 1fr;
  }
  .oferta-header h1 {
    font-size: 28px;
  }
  .oferta-leaf { display: none; } /* Ukrywamy liście na bardzo małych ekranach */
}


/* =========================================================
   OFERTY – UKŁAD INSPIROWANY BROSZURĄ A4 (STRONY 2–4)
   Ograniczona szerokość, czytelne kolumny i spokojny rytm.
   ========================================================= */

.oferta-container {
  width: min(1260px, calc(100% - 56px));
  padding: 34px 0 42px;
}

.oferta-page {
  background:
    radial-gradient(ellipse at 8% 8%, rgba(220, 232, 222, .34), transparent 27%),
    radial-gradient(ellipse at 92% 85%, rgba(225, 216, 237, .28), transparent 25%),
    #fbf8f0;
}

.oferta-header {
  max-width: 1040px;
  margin: 0 auto 34px;
  text-align: center;
}

.oferta-header h1 {
  color: #294e50;
  font-size: clamp(34px, 4.2vw, 52px);
  letter-spacing: -.025em;
  margin-bottom: 7px;
}

.oferta-subtitle {
  font-size: 17px;
  color: #a58bb9;
  letter-spacing: .12em;
  text-align: left;
  margin-bottom: 9px;
}

.oferta-tagline {
  color: #2d8585;
  font-size: clamp(20px, 1.8vw, 20px);
  line-height: 1.4;
}

.oferta-grid-2,
.oferta-grid-3 {
  gap: 30px;
  align-items: start;
  margin-bottom: 28px;
}

.oferta-block {
  margin: 0 0 23px;
  min-width: 0;
}

.oferta-block-header {
  gap: 11px;
  margin-bottom: 8px;
}

.oferta-block-icon {
  width: 38px;
  height: 38px;
  background: rgba(224, 239, 232, .8);
  border-color: rgba(45, 133, 133, .18);
}

.oferta-block h3 {
  color: #285b5c;
  font-size: 21px;
  line-height: 1.2;
}

.oferta-block p,
.oferta-block li {
  color: #4d5554;
  font-size: 14px;
  line-height: 1.48;
  margin-top: 0;
  margin-bottom: 7px;
}

.oferta-numbered li {
  padding-left: 25px;
  margin-bottom: 8px;
}

.oferta-badge-list {
  margin: 0;
}

.oferta-badge-list li {
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 10px;
}

.oferta-badge-num {
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: #286b6c;
  font-size: 11px;
}

.oferta-image-wrap {
  border-radius: 18px;
  box-shadow: none;
  background: transparent;
}

.oferta-image-wrap img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 18px;
}

.oferta-highlight-group {
  gap: 0;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(165, 139, 185, .25);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(242, 237, 247, .94), rgba(255, 255, 255, .78));
}

.oferta-highlight {
  padding: 12px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.oferta-highlight + .oferta-highlight {
  border-top: 1px solid rgba(165, 139, 185, .28);
}

.oferta-highlight strong {
  color: #5e7774;
  font-size: 13px;
}

.oferta-highlight em {
  color: #285b5c;
  font-size: 22px;
}

.oferta-disclaimer {
  max-width: 980px;
  margin: 24px auto 22px;
  padding: 15px 22px;
  border: 1px solid rgba(165, 139, 185, .24);
  border-radius: 16px;
  background: rgba(242, 237, 247, .68);
  color: #58605e;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.oferta-info-bar {
  gap: 0;
  padding: 18px 12px;
  margin: 28px 0 24px;
  border: 1px solid rgba(45, 133, 133, .28);
  border-radius: 18px;
  background: rgba(255, 255, 255, .62);
}

.oferta-info-item {
  padding: 5px 16px;
}

.oferta-info-item + .oferta-info-item {
  border-left: 1px solid rgba(45, 133, 133, .2);
}

.oferta-info-item p {
  color: #505b59;
  font-size: 12px;
  line-height: 1.45;
}

.oferta-info-item strong {
  color: #285b5c;
}

.oferta-page-footer {
  padding-top: 18px;
  border-top-color: rgba(45, 133, 133, .18);
}

.oferta-brand {
  color: #356c6b;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
}

.oferta-motto {
  color: #a58bb9;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 16px;
}

/* Oferta 1: trzy strefy jak na drugiej stronie broszury:
   zakres po lewej, opis pośrodku, zdjęcie i cena po prawej. */
.oferta-konsultacje .oferta-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .82fr) minmax(0, 1fr);
  gap: 26px;
}

.oferta-konsultacje .oferta-grid-2 > div:first-child {
  grid-column: 1;
  grid-row: 1 / span 4;
}

.oferta-konsultacje .oferta-grid-2 > div:nth-child(2) {
  display: contents;
}

.oferta-konsultacje .oferta-grid-2 > div:nth-child(2) > .oferta-image-wrap {
  grid-column: 3;
  grid-row: 1;
  align-self: start;
  margin: 0 0 8px !important;
}

.oferta-konsultacje .oferta-grid-2 > div:nth-child(2) > .oferta-block:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.oferta-konsultacje .oferta-grid-2 > div:nth-child(2) > .oferta-block:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}

.oferta-konsultacje .oferta-grid-2 > div:nth-child(2) > .oferta-block:nth-child(4) {
  grid-column: 2;
  grid-row: 3;
}

.oferta-konsultacje .oferta-grid-2 > div:nth-child(2) > .oferta-highlight-group {
  grid-column: 3;
  grid-row: 2 / span 2;
  align-self: start;
}

/* Oferta 2: dwie zwarte kolumny – treści i zdjęcie po lewej,
   zakres pracy oraz pakiet po prawej. */
.oferta-spotkania .oferta-grid-2 {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 42px;
}

.oferta-spotkania .oferta-grid-2 > div:first-child {
  display: flex;
  flex-direction: column;
}

.oferta-spotkania .oferta-grid-2 > div:first-child > .oferta-image-wrap {
  order: 4;
  margin-top: 8px;
}

.oferta-spotkania .oferta-grid-2 > div:first-child > .oferta-block:nth-child(2) { order: 1; }
.oferta-spotkania .oferta-grid-2 > div:first-child > .oferta-block:nth-child(3) { order: 2; }
.oferta-spotkania .oferta-grid-2 > div:first-child > .oferta-block:nth-child(4) { order: 3; }

.oferta-spotkania .oferta-org-details {
  margin: 8px 0 12px;
  padding-left: 20px;
  color: #4d5554;
  font-size: 14px;
  line-height: 1.5;
}

/* Oferta 3: trzy kolumny utrzymane na desktopie. */
.oferta-warsztaty .oferta-grid-3 {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr) minmax(0, .9fr);
  gap: 28px;
}

.oferta-warsztaty .oferta-grid-3 > div:first-child .oferta-image-wrap {
  margin-bottom: 20px;
}

.oferta-warsztaty .oferta-meeting {
  padding: 0 0 11px;
  margin-bottom: 11px;
  border-bottom: 1px dashed rgba(165, 139, 185, .42);
}

.oferta-warsztaty .oferta-meeting:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.oferta-warsztaty .oferta-meeting h4 {
  margin: 0 0 5px;
  color: #2d8585;
  font-size: 14px;
  line-height: 1.35;
}

.oferta-warsztaty .oferta-meeting p {
  margin: 0;
  padding-left: 12px;
  color: #4d5554;
  font-size: 13px;
  line-height: 1.45;
}

/* Responsywność: bez niepotrzebnego rozciągania i ściskania. */
@media (max-width: 1050px) {
  .oferta-konsultacje .oferta-grid-2 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .oferta-konsultacje .oferta-grid-2 > div:first-child {
    grid-column: 1;
    grid-row: auto;
  }
  .oferta-konsultacje .oferta-grid-2 > div:nth-child(2) {
    display: flex;
    flex-direction: column;
  }
  .oferta-konsultacje .oferta-grid-2 > div:nth-child(2) > * {
    grid-column: auto !important;
    grid-row: auto !important;
  }
  .oferta-grid-3,
  .oferta-warsztaty .oferta-grid-3 {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  }
  .oferta-grid-3 > div:nth-child(3) {
    grid-column: 2;
  }
  .oferta-grid-3 > div:nth-child(1) {
    display: block;
  }
}

@media (max-width: 760px) {
  .oferta-container {
    width: min(100% - 34px, 620px);
    padding-top: 22px;
  }
  .oferta-header {
    margin-bottom: 26px;
  }
  .oferta-grid-2,
  .oferta-grid-3,
  .oferta-konsultacje .oferta-grid-2,
  .oferta-spotkania .oferta-grid-2,
  .oferta-warsztaty .oferta-grid-3 {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .oferta-konsultacje .oferta-grid-2 > div:first-child,
  .oferta-konsultacje .oferta-grid-2 > div:nth-child(2),
  .oferta-spotkania .oferta-grid-2 > div:first-child,
  .oferta-spotkania .oferta-grid-2 > div:nth-child(2),
  .oferta-grid-3 > div:nth-child(3) {
    display: flex;
    flex-direction: column;
    grid-column: auto;
    grid-row: auto;
  }
  .oferta-konsultacje .oferta-grid-2 > div:nth-child(2) > * {
    grid-column: auto !important;
    grid-row: auto !important;
  }
  .oferta-spotkania .oferta-grid-2 > div:first-child > .oferta-image-wrap {
    order: 0;
  }
  .oferta-grid-3 > div:nth-child(3) {
    grid-column: auto;
  }
  .oferta-info-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .oferta-info-item:nth-child(3) {
    border-left: 0;
  }
  .oferta-info-item:nth-child(n+3) {
    border-top: 1px solid rgba(45, 133, 133, .2);
    padding-top: 16px;
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  .oferta-container {
    width: calc(100% - 28px);
  }
  .oferta-header h1 {
    font-size: 30px;
  }
  .oferta-block h3 {
    font-size: 20px;
  }
  .oferta-info-bar {
    grid-template-columns: 1fr;
  }
  .oferta-info-item,
  .oferta-info-item + .oferta-info-item,
  .oferta-info-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(45, 133, 133, .2);
  }
  .oferta-info-item:first-child {
    border-top: 0;
  }
}


/* Konsultacje – korekta układu prawej strony.
   Sekcje Forma pracy, Adresaci i Organizacja są jedną zwartą kolumną.
   Nie są już rozstawiane w osobnych wierszach zależnych od wysokości
   lewej kolumny z długą listą zakresu konsultacji. */
@media (min-width: 1051px) {
  .oferta-konsultacje .oferta-grid-2 {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .82fr) minmax(0, 1fr);
    column-gap: 26px;
    row-gap: 0;
    align-items: start;
  }

  .oferta-konsultacje .oferta-grid-2 > div:first-child {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
  }

  .oferta-konsultacje .oferta-grid-2 > div:nth-child(2) {
    display: contents;
  }

  .oferta-konsultacje .oferta-grid-2 .oferta-right-text {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-self: start;
    min-width: 0;
  }

  .oferta-konsultacje .oferta-right-text .oferta-block {
    margin: 0;
  }

  .oferta-konsultacje .oferta-grid-2 > div:nth-child(2) > .oferta-image-wrap {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
    margin: 0 0 22px !important;
  }

  .oferta-konsultacje .oferta-grid-2 > div:nth-child(2) > .oferta-highlight-group {
    grid-column: 3;
    grid-row: 2;
    align-self: start;
    margin-top: 0;
  }
}

@media (max-width: 1050px) {
  .oferta-konsultacje .oferta-grid-2 .oferta-right-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .oferta-konsultacje .oferta-right-text .oferta-block {
    margin-bottom: 0;
  }
}

@media (max-width: 760px) {
  .oferta-konsultacje .oferta-grid-2 .oferta-right-text {
    gap: 18px;
  }
}

/* =========================================
   IDEALNE DOPASOWANIE NAGŁÓWKÓW DO "MĄDRE WSPARCIE"
   ========================================= */

/* Wymuszenie identycznego kroju i stylu dla wszystkich nagłówków na stronie */
h1, h2, h3, h4,
.hero h1,
.services h2,
.service-grid h3,
.process h2,
.steps h3,
.faq h2,
.location-copy h2,
.contact h2,
.contact-card h3,
.teen-program-section h2,
.teen-program-section h3,
.teen-program-heading h2,
.teen-program-card h3,
.teen-program-context h3 {
  font-family: "Playfair Display", Georgia, serif !important;
  font-weight: 400 !important; /* Standardowa, elegancka waga Playfair jak w sekcji Mądre wsparcie */
  letter-spacing: -0.01em;     /* Delikatne, naturalne zbliżenie liter */
}

/* 2. Powiększenie czcionki podstawowej dla całego serwisu (wszystkie urządzenia) */
body {
  font-size: 17px;
  line-height: 1.65;
}

/* Powiększenie tekstów akapitowych we wszystkich sekcjach */
p, 
.lead, 
.service-grid p, 
.steps p, 
.faq-list p, 
.location-copy > p, 
.contact-inner p,
.teen-program-description,
.teen-program-context p,
.teen-program-heading p {
  font-size: 17px !important;
  line-height: 1.7 !important;
}

/* Powiększenie tekstów w listach (ul, ol) na całej stronie */
ul, ol, li,
.service-grid ul,
.teen-program-pills li {
  font-size: 16px !important;
}

/* 3. Dodatkowe powiększenie tekstu na urządzeniach desktopowych / laptopach (od 1025px) */
@media (min-width: 1025px) {
  body {
    font-size: 18px;
  }

  p, 
  .lead, 
  .service-grid p, 
  .steps p, 
  .faq-list p, 
  .location-copy > p, 
  .contact-inner p,
  .teen-program-description,
  .teen-program-context p,
  .teen-program-heading p {
    font-size: 18px !important;
  }

  ul, ol, li,
  .service-grid ul,
  .teen-program-pills li {
    font-size: 17px !important;
  }
}

/* =========================================
   DODATKOWE POPRAWKI DLA PODSTRON OFERTOWYCH
   ========================================= */

/* Ujednolicenie nagłówków na podstronach */
.oferta-page h1, 
.oferta-page h2, 
.oferta-page h3, 
.oferta-page h4 {
  font-family: "Playfair Display", Georgia, serif !important;
  font-weight: 400 !important;
}

/* Disclaimer – jedna linia na desktopie, automatyczne dopasowanie bez suwaków */
.oferta-disclaimer {
  max-width: 100% !important;
  white-space: normal; /* Domyślnie bezpieczne zawijanie dla mniejszych ekranów */
}

@media (min-width: 1100px) {
  .oferta-disclaimer {
    white-space: nowrap; /* Wymuszenie jednej linii na szerokich monitorach */
    font-size: 12.5px;  /* Delikatne dopasowanie wielkości, aby idealnie się wpasowało w szerokość strony */
    text-overflow: clip;
  }
}

/* =========================================
   NOWY UKŁAD 3-KOLUMNOWY DLA KONSULTACJI
   ========================================= */

@media (min-width: 1051px) {
  .oferta-grid-3cols {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 30px !important;
    align-items: start !important;
    margin-bottom: 30px !important;
  }

  .oferta-konsultacje .col-prawa {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .oferta-konsultacje .col-prawa .oferta-image-wrap {
    margin: 0 !important;
  }

  .oferta-konsultacje .col-prawa .oferta-highlight-group {
    margin-top: 0 !important;
  }
}

/* Zabezpieczenie dla mniejszych ekranów (tablety i telefony) */
@media (max-width: 1050px) {
  .oferta-grid-3cols {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }
}

.oferta-disclaimer {
  clear: both;
  position: relative;
  z-index: 5;
  width: 100%;
  margin: 30px auto 20px !important;
}

@media (min-width: 1100px) {
  .oferta-disclaimer {
    white-space: nowrap !important;
    font-size: 16px !important;
  }
}

.oferta-page-footer {
  position: relative;
  z-index: 5;
  margin-top: 20px;
}

/* =========================================
   UKŁAD NAGŁÓWKA: OFERTA OBOK TYTUŁU
   ========================================= */

@media (min-width: 769px) {
  .oferta-title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 12px;
  }

  .oferta-title-row .oferta-subtitle {
    margin-bottom: 0 !important;
  }

  .oferta-title-row h1 {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 768px) {
  .oferta-title-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
  }
}

/* =========================================
   DOPASOWANIE KAFELKA CENY W WARSZTATACH
   ========================================= */

.oferta-info-item.cena-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.oferta-info-item.cena-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: #1f6770;
}

/* =========================================
   USUNIĘCIE TŁA IKONY CENY W WARSZTATACH
   ========================================= */

.oferta-info-item.cena-item .oferta-block-icon {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
  margin-bottom: 8px !important;
}

.oferta-info-item.cena-item .oferta-block-icon svg {
  width: 28px !important;
  height: 28px !important;
  fill: #1f6770 !important;
}

/* =========================================
   MODYFIKACJE W SEKCJI PROGRAMU DLA RODZICÓW
   ========================================= */

/* 1. Delikatne pomniejszenie nagłówka "Mądre wsparcie / W stronę porozumienia" */
.teen-program-intro h2.mniejszy-naglowek {
  font-size: clamp(32px, 3.8vw, 48px) !important;
}

/* 2. Lekkie pomniejszenie zdjęcia i ograniczenie jego szerokości */
.teen-program-photo-wrap.mniejsze-zdjecie {
  max-width: 88% !important;
  margin-left: auto !important; /* Przesuwa zdjęcie lekko w prawo pod ładny układ */
}

/* 3. Przesunięcie i wyrównanie cytatu bardziej w prawo */
.teen-program-quote.do-prawej {
  text-align: right !important;
  max-width: 88% !important;
  margin-left: auto !important;
  margin-right: 0 !important;
}

/* =========================================
   POSZERZENIE SEKCJI PROGRAMU DLA RODZICÓW
   ========================================= */

/* 1. Zwiększenie szerokości głównego kontenera sekcji (zamiast 1080px dajemy np. 1220px) */
.teen-program-container {
  width: min(1220px, calc(100% - 48px)) !important;
}

/* 2. Zwiększenie szerokości bloku z kontekstem, aby lepiej wypełniał przestrzeń */
.teen-program-context {
  max-width: 100% !important;
  padding: 32px 40px !important;
}

/* 3. Poszerzenie paska kart (kafelków z ofertami), aby miały więcej oddechu */
.teen-program-cards {
  gap: 24px !important;
}

/* 4. Zwiększenie szerokości obszarów dekoracyjnych po bokach */
.teen-program-bg {
  width: 220px !important; /* Poszerzenie bocznych teł */
}

/* =========================================
   WYRÓWNANIE NAGŁÓWKA OFERTY DO LEWEJ (POD PRZYCISK)
   ========================================= */

.oferta-header-left {
  text-align: left !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 48px;
}

@media (min-width: 769px) {
  .oferta-header-left .oferta-header-top-row {
    display: flex;
    align-items: baseline;
    gap: 30px;
    margin-bottom: 8px;
  }

  .oferta-header-left .oferta-subtitle {
    margin-bottom: 0 !important;
    flex-shrink: 0;
  }

  .oferta-header-left h1 {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 768px) {
  .oferta-header-left .oferta-header-top-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
  }
}

/* =========================================
   NAGŁÓWEK: ETYKIETA PO LEWEJ, TYTUŁ NA ŚRODKU
   ========================================= */

.oferta-header-centered {
  position: relative;
  text-align: center !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 48px;
}

@media (min-width: 769px) {
  .oferta-header-centered .oferta-header-top-row {
    position: absolute;
    left: 0;
    top: 0;
  }

  .oferta-header-centered .oferta-subtitle {
    margin-bottom: 0 !important;
    text-align: left;
  }

  .oferta-header-centered .oferta-header-center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .oferta-header-centered .oferta-header-top-row {
    margin-bottom: 12px;
    text-align: left;
  }
}

/* =========================================
   ZABEZPIECZENIE PRZED WYCHODZENIEM POZA EKRAN NA MOBILE
   ========================================= */

@media (max-width: 800px) {
  /* Blokujemy rozjeżdżanie się elementów i wymuszamy szerokość telefonu */
  html, body {
    max-width: 100vw;
    overflow-x: hidden !important;
  }

  /* Wszystkie główne kontenery i siatki dopasowują się do ekranu */
  .container, 
  .oferta-container, 
  .teen-program-container,
  .hero, 
  .service-grid, 
  .oferta-grid-2, 
  .oferta-grid-3, 
  .oferta-grid-3cols {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Zabezpieczenie obrazków, by nigdy nie rozpychały strony */
  img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Automatyczne łamanie długich wyrazów lub linków w tekście */
  p, h1, h2, h3, h4, span, li {
    word-break: break-word;
    overflow-wrap: break-word;
  }
}

/* =========================================
   AUTOMATYCZNE DOPASOWANIE KART OFERT
   ========================================= */

.teen-program-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 24px;
  width: 100%;
  align-items: stretch;
}

.teen-program-card {
  width: 100%;
  min-width: 0;
  height: 100%;
}

/* Telefony – jedna karta pod drugą */
@media (max-width: 600px) {
  .teen-program-cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Nagłówki ofert – zawsze w jednej linii */
.teen-program-card .oferta-subtitle {
    display: block;
    width: 100%;
    white-space: nowrap;
    font-size: clamp(10px, 1.05vw, 15px);
    letter-spacing: 0.08em;
    text-align: center;
    line-height: 1.4;
}

/* Dostosowanie do mniejszych ekranów */
@media (max-width: 1100px) {
    .teen-program-card .oferta-subtitle {
        font-size: 11px;
        letter-spacing: 0.04em;
    }
}

@media (max-width: 600px) {
    .teen-program-card .oferta-subtitle {
        white-space: normal;
        font-size: 13px;
    }
}

/* =========================================
   INDEX – JEDNOLITA TYPOGRAFIA
   Playfair Display na całej stronie głównej
   ========================================= */

body,
body p,
body a,
body li,
body button,
body input,
body textarea,
body label,
body summary,
body small,
body strong,
body span,
body h1,
body h2,
body h3,
body h4 {
    font-family: "Playfair Display", Georgia, serif !important;
}

/* Zachowanie dotychczasowej czcionki dla brązowych oznaczeń */
body .eyebrow,
body .accent,
body .footer-inner strong span,
body .service-grid small,
body .steps b,
body .contact-link,
body .card-label {
    font-family: "DM Sans", Arial, sans-serif !important;
}

/* Ikony – bez ingerencji w ich fonty */
body i,
body [class^="fa-"],
body [class*=" fa-"] {
    font-family: inherit;
}

/* =========================================
   NAPRAWA MOBILE (musi być na końcu pliku)
   1) Menu hamburger: późniejszy blok ".nav {display:flex}"
      nadpisywał "display:none" z media query, przez co menu
      było zawsze otwarte i nie dało się go zamknąć.
   2) Elementy z white-space:nowrap rozpychały układ
      i wypychały zdjęcia oraz teksty poza ekran.
   ========================================= */
@media (max-width: 800px) {
  .menu-toggle {
    display: block;
  }

  .site-header .nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 18px;
    background: #f8f7f3;
    border-bottom: 1px solid rgba(24, 59, 59, 0.1);
    box-shadow: 0 15px 30px rgba(24, 59, 59, 0.08);
  }

  .site-header .nav.open {
    display: flex;
  }

  /* Koniec z wymuszaniem jednej linii (także inline w index.html) */
  .teen-program-section h2,
  .teen-program-heading p,
  .teen-program-quote,
  .teen-program-card .oferta-subtitle,
  .oferta-disclaimer,
  .oferta-motto,
  .oferta-brand {
    white-space: normal !important;
    overflow-wrap: break-word;
  }

  /* Kolumny gridu nie mogą być szersze niż ekran */
  .teen-program-hero,
  .teen-program-cards {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .teen-program-hero > *,
  .teen-program-media,
  .teen-program-intro,
  .teen-program-photo-wrap {
    min-width: 0;
    max-width: 100%;
  }

  .teen-program-photo-wrap img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .teen-program-quote {
    text-align: center !important;
    max-width: 100% !important;
  }

  .teen-program-section .eyebrow {
    flex-wrap: wrap;
    letter-spacing: 0.08em;
    line-height: 1.5;
  }

  .oferta-page-footer {
    padding-left: 8px;
    padding-right: 8px;
  }

  .oferta-motto {
    letter-spacing: 0.02em;
    line-height: 1.5;
  }
}
/* Desktop: zachowanie jednej linii jak wcześniej */
@media (min-width: 801px) {
  .teen-program-section .section-heading h2,
  .teen-program-quote,
  .teen-program-heading p {
    white-space: nowrap;
  }
}