/* Terapia par — style odseparowane od zatwierdzonych stron motywu. */

body.odns-couples .odns-couples-main {
  --couples-navy: #173b63;
  --couples-sage: #71947f;
  --couples-green: #4f7563;
  --couples-pencil: #eaf1e7;
  --couples-paper: #fbf8f1;
  --couples-card: #fffdfa;
  --couples-gold: #d6a652;
  --couples-text: #33485a;
  overflow: clip;
  color: var(--couples-text);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
}

body.odns-couples .odns-couples-main *,
body.odns-couples .odns-couples-main *::before,
body.odns-couples .odns-couples-main *::after {
  box-sizing: border-box;
}

body.odns-couples .odns-couples-main h1,
body.odns-couples .odns-couples-main h2,
body.odns-couples .odns-couples-main h3,
body.odns-couples .odns-couples-main p,
body.odns-couples .odns-couples-main figure {
  margin-top: 0;
}

body.odns-couples .odns-couples-main h1,
body.odns-couples .odns-couples-main h2,
body.odns-couples .odns-couples-main h3 {
  color: var(--couples-navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
}

body.odns-couples .odns-couples-main h3 {
  overflow-wrap: anywhere;
  hyphens: auto;
}

.odns-couples-wrap {
  position: relative;
  z-index: 3;
  width: min(1280px, calc(100% - 128px));
  margin-inline: auto;
}

.odns-couples-section {
  position: relative;
  padding-block: 68px;
}

.odns-couples-sage,
.odns-couples-paper {
  position: relative;
  isolation: isolate;
}

.odns-couples-sage {
  background-color: var(--couples-pencil);
  background-image: url("../textures/sage-paper-seamless.webp");
  background-position: center;
  background-size: 2508px auto;
}

.odns-couples-paper {
  background-color: var(--couples-paper);
  background-image: url("../textures/cream-paper-seamless.webp");
  background-position: center;
  background-size: 2508px auto;
}

.odns-couples-sage::after,
.odns-couples-paper::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: url("../textures/paper-overlay-seamless.webp") center / 2508px auto repeat;
  content: "";
  opacity: 0.22;
  pointer-events: none;
}

.odns-couples-decor {
  position: absolute;
  z-index: 2;
  display: block;
  height: auto;
  object-fit: contain;
  pointer-events: none;
}

.odns-couples-corner-left,
.odns-couples-corner-right {
  bottom: 0;
  width: min(260px, 18vw);
  opacity: 0.48;
}

.odns-couples-corner-left {
  left: -40px;
}

.odns-couples-corner-right {
  right: -40px;
}

.odns-couples-heading {
  text-align: center;
}

body.odns-couples .odns-couples-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 3vw, 2.75rem);
  line-height: 1.04;
}

.odns-couples-separator {
  display: block;
  width: clamp(170px, 18vw, 290px);
  height: 34px;
  margin: 3px auto 18px;
  object-fit: contain;
}

.odns-couples-button {
  display: inline-flex;
  min-height: 46px;
  padding: 11px 24px;
  border: 0;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--couples-green);
  box-shadow: 0 7px 17px rgba(56, 89, 74, 0.15);
  color: var(--couples-card) !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.odns-couples-button:hover,
.odns-couples-button:focus-visible {
  background: #426653;
  transform: translateY(-1px);
}

.odns-couples-button:focus-visible,
.odns-couples-main summary:focus-visible,
.odns-couples-main a:focus-visible {
  outline: 3px solid rgba(214, 166, 82, 0.65);
  outline-offset: 3px;
}

.odns-couples-card {
  border: 1px solid rgba(214, 166, 82, 0.45);
  border-radius: 18px;
  background: rgba(255, 253, 250, 0.82);
  box-shadow: 0 7px 19px rgba(73, 91, 77, 0.055);
}

/* Hero */
.odns-couples-hero {
  position: relative;
  min-height: 480px;
  padding: 22px 0 34px;
}

.odns-couples-breadcrumbs {
  display: flex;
  min-height: 24px;
  margin-bottom: 8px;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--couples-green);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.odns-couples-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.odns-couples-breadcrumbs span[aria-hidden="true"] {
  color: var(--couples-gold);
}

.odns-couples-hero-grid {
  display: grid;
  min-height: 405px;
  align-items: center;
  grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1.42fr);
  gap: 20px;
}

.odns-couples-hero-copy {
  position: relative;
  z-index: 3;
  padding-left: 30px;
}

body.odns-couples .odns-couples-hero-copy h1 {
  margin-bottom: 12px;
  font-size: clamp(4rem, 5vw, 4.65rem);
  line-height: 0.98;
  white-space: nowrap;
}

.odns-couples-hero-subtitle {
  margin-bottom: 18px;
  color: var(--couples-navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.28;
}

.odns-couples-hero-copy > p:not(.odns-couples-hero-subtitle) {
  max-width: 450px;
  margin-bottom: 22px;
  font-size: 15px;
  line-height: 1.68;
}

.odns-couples-hero-art {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
}

.odns-couples-hero-art img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 455px;
  object-fit: contain;
}

/* Responsywne panele sekcji */
.odns-couples-panel {
  min-width: 0;
  border: 0;
}

.odns-couples-panel > summary {
  display: none;
}

.odns-couples-panel-content {
  min-width: 0;
}

.odns-couples-support-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 2.15fr) minmax(300px, 0.85fr);
  gap: 24px;
}

.odns-couples-concerns-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.odns-couples-concern-card {
  min-width: 0;
  padding: 10px 10px 14px;
  text-align: center;
}

.odns-couples-concern-card > img {
  display: block;
  width: 100%;
  height: 126px;
  margin-bottom: 8px;
  object-fit: contain;
}

body.odns-couples .odns-couples-concern-card h3 {
  min-height: 45px;
  margin-bottom: 7px;
  font-size: 19px;
  line-height: 1.12;
}

.odns-couples-concern-card p {
  margin-bottom: 0;
  font-size: 11px;
  line-height: 1.55;
}

.odns-couples-principles {
  border-radius: 18px;
  background: rgba(255, 253, 250, 0.48);
}

.odns-couples-principles .odns-couples-panel-content {
  padding: 0 18px 18px;
}

.odns-couples-principles-list {
  display: grid;
  gap: 10px;
}

.odns-couples-principles-list article {
  display: grid;
  min-width: 0;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(214, 166, 82, 0.24);
  align-items: center;
  grid-template-columns: 58px 1fr;
  gap: 9px;
}

.odns-couples-principles-list article:last-child {
  border-bottom: 0;
}

.odns-couples-principles-list img {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

body.odns-couples .odns-couples-principles-list h3 {
  margin-bottom: 2px;
  font-size: 17px;
  line-height: 1.15;
}

.odns-couples-principles-list p {
  margin-bottom: 0;
  font-size: 10px;
  line-height: 1.45;
}

/* Przebieg i korzyści */
.odns-couples-work-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
}

.odns-couples-process-grid,
.odns-couples-outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.odns-couples-process-grid article {
  position: relative;
  min-width: 0;
  text-align: center;
}

.odns-couples-process-grid article:not(:last-child)::after {
  position: absolute;
  top: 40px;
  right: -11px;
  width: 17px;
  border-top: 2px dotted rgba(214, 166, 82, 0.7);
  content: "";
}

.odns-couples-process-icon {
  display: flex;
  width: 84px;
  height: 84px;
  margin: 0 auto 10px;
  align-items: center;
  justify-content: center;
}

.odns-couples-process-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.odns-couples .odns-couples-process-grid h3 {
  min-height: 41px;
  margin-bottom: 6px;
  font-family: "Montserrat", Arial, sans-serif !important;
  font-size: 12px;
  line-height: 1.35;
}

body.odns-couples .odns-couples-process-grid h3 span {
  color: var(--couples-green);
}

.odns-couples-process-grid p {
  margin-bottom: 0;
  font-size: 9px;
  line-height: 1.48;
}

.odns-couples-outcomes-grid .odns-couples-card {
  min-width: 0;
  padding: 9px 9px 12px;
  text-align: center;
}

.odns-couples-outcomes-grid img {
  display: block;
  width: 100%;
  height: 102px;
  margin-bottom: 5px;
  object-fit: contain;
}

body.odns-couples .odns-couples-outcomes-grid h3 {
  min-height: 37px;
  margin-bottom: 4px;
  font-size: 15px;
  line-height: 1.12;
}

.odns-couples-outcomes-grid p {
  margin-bottom: 0;
  font-size: 9px;
  line-height: 1.45;
}

/* Podejście, specjaliści i FAQ */
.odns-couples-closing {
  padding-block: 58px;
}

.odns-couples-closing-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.95fr) minmax(330px, 1.15fr);
  gap: 18px;
}

.odns-couples-reassurance {
  padding: 18px 20px 12px;
  text-align: center;
}

.odns-couples-reassurance > p {
  max-width: 570px;
  margin: 0 auto 5px;
  font-size: 12px;
}

.odns-couples-reassurance-art {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: contain;
}

.odns-couples-specialists,
.odns-couples-faq {
  min-width: 0;
}

.odns-couples-specialists-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.odns-couples-specialists-grid article {
  min-width: 0;
  padding: 10px 8px 11px;
  text-align: center;
}

.odns-couples-specialists-grid article > img {
  display: block;
  width: 100%;
  height: 165px;
  margin: 0 auto 7px;
  border-radius: 13px;
  object-fit: contain;
  object-position: center;
}

body.odns-couples .odns-couples-specialists-grid h3 {
  margin-bottom: 2px;
  font-size: 16px;
  line-height: 1.15;
}

.odns-couples-specialists-grid p {
  min-height: 36px;
  margin-bottom: 7px;
  font-size: 9px;
  line-height: 1.4;
}

.odns-couples-specialists-grid a {
  color: var(--couples-green);
  font-size: 9px;
  font-weight: 600;
  text-decoration: none;
}

.odns-couples-faq-list {
  display: grid;
  gap: 7px;
}

.odns-couples-faq-list details {
  border: 1px solid rgba(214, 166, 82, 0.42);
  border-radius: 11px;
  background: rgba(255, 253, 250, 0.8);
}

.odns-couples-faq-list summary {
  display: flex;
  min-height: 36px;
  padding: 8px 11px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--couples-navy);
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
}

.odns-couples-faq-list summary::-webkit-details-marker {
  display: none;
}

.odns-couples-faq-list summary span {
  flex: 0 0 auto;
  color: var(--couples-green);
  font-size: 15px;
  transition: transform 160ms ease;
}

.odns-couples-faq-list details[open] summary span {
  transform: rotate(45deg);
}

.odns-couples-faq-list details p {
  margin: 0;
  padding: 0 11px 11px;
  font-size: 10px;
  line-height: 1.55;
}

/* Końcowe CTA */
.odns-couples-cta {
  position: relative;
  min-height: 158px;
  padding: 28px 0 30px;
  text-align: center;
}

.odns-couples-cta .odns-couples-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "title button" "copy button";
  align-items: center;
  column-gap: 36px;
  text-align: left;
}

body.odns-couples .odns-couples-cta h2 {
  grid-area: title;
  margin-bottom: 2px;
  font-size: 36px;
  line-height: 1.05;
}

.odns-couples-cta p {
  grid-area: copy;
  margin-bottom: 0;
  font-size: 13px;
}

.odns-couples-cta .odns-couples-button {
  grid-area: button;
}

.odns-couples-cta-left,
.odns-couples-cta-right {
  bottom: 0;
  width: min(280px, 20vw);
  opacity: 0.67;
}

.odns-couples-cta-left {
  left: 0;
}

.odns-couples-cta-right {
  right: 0;
}

@media (max-width: 1180px) {
  .odns-couples-wrap {
    width: min(100% - 80px, 1080px);
  }

  .odns-couples-hero-copy {
    padding-left: 10px;
  }

  .odns-couples-support-grid {
    grid-template-columns: minmax(0, 1.85fr) minmax(280px, 0.8fr);
  }

  .odns-couples-concern-card > img {
    height: 108px;
  }

  body.odns-couples .odns-couples-concern-card h3 {
    min-height: 42px;
    font-size: 17px;
  }

  .odns-couples-closing-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.85fr) minmax(285px, 1fr);
  }
}

@media (max-width: 900px) {
  .odns-couples-wrap {
    width: min(100% - 64px, 820px);
  }

  .odns-couples-section {
    padding-block: 58px;
  }

  .odns-couples-hero {
    min-height: 0;
    padding-bottom: 38px;
  }

  .odns-couples-hero-grid {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .odns-couples-hero-copy {
    padding-left: 0;
    text-align: center;
  }

  body.odns-couples .odns-couples-hero-copy h1 {
    font-size: 54px;
  }

  .odns-couples-hero-copy > p:not(.odns-couples-hero-subtitle) {
    max-width: 560px;
    margin-right: auto;
    margin-left: auto;
  }

  .odns-couples-hero-art {
    width: min(100%, 720px);
    margin: 0 auto;
    order: 2;
  }

  .odns-couples-hero-art img {
    max-height: 380px;
  }

  .odns-couples-support-grid,
  .odns-couples-work-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .odns-couples-concerns-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .odns-couples-concern-card > img {
    height: 150px;
  }

  body.odns-couples .odns-couples-concern-card h3 {
    min-height: 0;
    font-size: 20px;
  }

  .odns-couples-principles .odns-couples-panel-content {
    padding: 0;
  }

  .odns-couples-principles-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .odns-couples-principles-list article {
    border: 1px solid rgba(214, 166, 82, 0.38);
    border-radius: 15px;
    background: rgba(255, 253, 250, 0.65);
  }

  .odns-couples-process-grid p,
  .odns-couples-outcomes-grid p {
    font-size: 10px;
  }

  .odns-couples-closing-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  }

  .odns-couples-faq {
    grid-column: 1 / -1;
  }

  .odns-couples-faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .odns-couples-faq-list details:last-child {
    grid-column: 1 / -1;
  }

  .odns-couples-cta .odns-couples-wrap {
    padding-inline: 115px;
  }
}

@media (max-width: 700px) {
  .odns-couples-wrap {
    width: min(100% - 36px, 620px);
  }

  .odns-couples-section {
    padding-block: 18px;
  }

  .odns-couples-breadcrumbs {
    margin-bottom: 12px;
    justify-content: center;
    font-size: 8px;
  }

  .odns-couples-hero {
    padding: 12px 0 18px;
  }

  body.odns-couples .odns-couples-hero-copy h1 {
    margin-bottom: 7px;
    font-size: clamp(40px, 11vw, 46px);
    white-space: normal;
  }

  .odns-couples-hero-subtitle {
    margin-bottom: 12px;
    font-size: 19px;
    line-height: 1.25;
  }

  .odns-couples-hero-copy > p:not(.odns-couples-hero-subtitle) {
    margin-bottom: 13px;
    font-size: 14px;
    line-height: 1.55;
  }

  .odns-couples-button {
    min-height: 44px;
    padding: 10px 20px;
    font-size: 13px;
  }

  .odns-couples-hero-art {
    margin-top: 4px;
  }

  .odns-couples-hero-art img {
    max-height: 265px;
  }

  .odns-couples-decor {
    opacity: 0.26;
  }

  .odns-couples-support-grid,
  .odns-couples-work-grid {
    gap: 9px;
  }

  .odns-couples-panel {
    overflow: hidden;
    border: 1px solid rgba(214, 166, 82, 0.42);
    border-radius: 13px;
    background: rgba(255, 253, 250, 0.82);
    box-shadow: 0 4px 13px rgba(73, 91, 77, 0.04);
  }

  .odns-couples-panel > summary {
    display: grid;
    min-height: 66px;
    padding: 7px 11px 7px 8px;
    align-items: center;
    grid-template-columns: 70px 1fr auto;
    gap: 10px;
    color: var(--couples-navy);
    cursor: pointer;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.16;
    list-style: none;
  }

  .odns-couples-panel > summary::-webkit-details-marker {
    display: none;
  }

  .odns-couples-panel > summary img {
    display: block;
    width: 70px;
    height: 50px;
    object-fit: contain;
  }

  .odns-couples-panel > summary i {
    color: var(--couples-green);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 17px;
    font-style: normal;
    transition: transform 160ms ease;
  }

  .odns-couples-panel[open] > summary i {
    transform: rotate(45deg);
  }

  .odns-couples-panel-content {
    padding: 12px 12px 15px;
    border-top: 1px solid rgba(214, 166, 82, 0.24);
  }

  .odns-couples-panel .odns-couples-heading {
    display: none;
  }

  .odns-couples-concerns-grid,
  .odns-couples-principles-list,
  .odns-couples-process-grid,
  .odns-couples-outcomes-grid {
    grid-template-columns: 1fr;
  }

  .odns-couples-concern-card {
    display: grid;
    padding: 8px;
    align-items: center;
    grid-template-columns: 92px 1fr;
    column-gap: 10px;
    text-align: left;
  }

  .odns-couples-concern-card > img {
    width: 92px;
    height: 72px;
    margin: 0;
    grid-row: 1 / 3;
  }

  body.odns-couples .odns-couples-concern-card h3 {
    margin-bottom: 1px;
    font-size: 18px;
  }

  .odns-couples-concern-card p {
    font-size: 10px;
  }

  .odns-couples-principles-list article {
    grid-template-columns: 54px 1fr;
  }

  .odns-couples-principles-list img {
    width: 54px;
    height: 54px;
  }

  .odns-couples-process-grid article {
    display: grid;
    padding: 7px 4px;
    align-items: center;
    grid-template-columns: 64px 1fr;
    text-align: left;
  }

  .odns-couples-process-grid article:not(:last-child)::after {
    display: none;
  }

  .odns-couples-process-icon {
    width: 58px;
    height: 58px;
    margin: 0;
    grid-row: 1 / 3;
  }

  body.odns-couples .odns-couples-process-grid h3 {
    min-height: 0;
    margin-bottom: 2px;
    font-size: 12px;
  }

  .odns-couples-outcomes-grid .odns-couples-card {
    display: grid;
    padding: 8px;
    align-items: center;
    grid-template-columns: 92px 1fr;
    text-align: left;
  }

  .odns-couples-outcomes-grid img {
    width: 92px;
    height: 72px;
    margin: 0;
    grid-row: 1 / 3;
  }

  body.odns-couples .odns-couples-outcomes-grid h3 {
    min-height: 0;
    margin-bottom: 2px;
    font-size: 17px;
  }

  .odns-couples-closing {
    padding-block: 18px;
  }

  .odns-couples-closing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  body.odns-couples .odns-couples-heading h2 {
    font-size: 29px;
  }

  .odns-couples-separator {
    width: 155px;
    height: 25px;
    margin-bottom: 10px;
  }

  .odns-couples-reassurance {
    padding: 14px 13px 8px;
  }

  .odns-couples-reassurance > p {
    font-size: 11px;
  }

  .odns-couples-reassurance-art {
    height: 150px;
  }

  .odns-couples-specialists-grid {
    gap: 8px;
  }

  .odns-couples-specialists-grid article {
    padding: 7px;
  }

  .odns-couples-specialists-grid article > img {
    height: 125px;
  }

  body.odns-couples .odns-couples-specialists-grid h3 {
    font-size: 15px;
  }

  .odns-couples-faq {
    grid-column: auto;
  }

  .odns-couples-faq-list {
    grid-template-columns: 1fr;
  }

  .odns-couples-faq-list details:last-child {
    grid-column: auto;
  }

  .odns-couples-faq-list summary {
    min-height: 42px;
    font-size: 11px;
  }

  .odns-couples-cta {
    min-height: 0;
    padding: 23px 0 27px;
  }

  .odns-couples-cta .odns-couples-wrap {
    display: block;
    padding-inline: 38px;
    text-align: center;
  }

  body.odns-couples .odns-couples-cta h2 {
    margin-bottom: 5px;
    font-size: 31px;
  }

  .odns-couples-cta p {
    margin-bottom: 13px;
    font-size: 12px;
  }

  .odns-couples-cta-left,
  .odns-couples-cta-right {
    width: 150px;
  }
}

@media (max-width: 430px) {
  .odns-couples-wrap {
    width: calc(100% - 32px);
  }

  .odns-couples-hero-copy > p:not(.odns-couples-hero-subtitle) {
    font-size: 13px;
  }

  .odns-couples-hero-art img {
    max-height: 230px;
  }

  .odns-couples-specialists-grid article > img {
    height: 112px;
  }
}

@media (max-width: 375px) {
  .odns-couples-wrap {
    width: calc(100% - 28px);
  }

  .odns-couples-panel > summary {
    grid-template-columns: 62px 1fr auto;
    font-size: 17px;
  }

  .odns-couples-panel > summary img {
    width: 62px;
    height: 46px;
  }

  body.odns-couples .odns-couples-specialists-grid h3 {
    font-size: 14px;
  }

  .odns-couples-specialists-grid p {
    font-size: 8px;
  }
}
