/*
Theme Name: Percepire Homepage
Theme URI: https://www.percepire.com/
Author: Codex
Description: WordPress theme version of the Percepire homepage from src/main.ts and src/style.css.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: percepire-homepage
*/

@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;500;700&family=Poppins:wght@200;300;400;500;600&display=swap');

:root {
  --color_cyan: 128, 157, 153;
  --color_darkcyan: 80, 105, 102;
  --color_beidge: 200, 178, 144;
  --bg: #fffefc;
  --surface: #f5f1ea;
  --surface-strong: #ece5dc;
  --text: rgb(var(--color_cyan));
  --muted: #506966;
  --line: rgba(var(--color_cyan), 0.14);
  --brown: rgb(var(--color_cyan));
  --brown-soft: rgb(var(--color_cyan));
  --cream: #fffefc;
  --sage: #506966;
  --shadow: 0 18px 40px rgba(var(--color_cyan), 0.08);
  --radius: 28px;
  --radius-small: 18px;
  --shell: 980px;
  color: var(--text);
  background: var(--bg);
  font: 300 16px/1.75 'Poppins', sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

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

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(200, 178, 144, 0.12), transparent 30%),
    linear-gradient(180deg, #fffcf8 0%, var(--bg) 28%, #f9f5ef 100%);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  color: var(--cream);
  background: var(--brown);
  border-radius: 999px;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-frame {
  min-height: 100vh;
}

.shell {
  width: min(var(--shell), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(var(--color_beidge), 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 254, 252, 0.08);
}

.site-header .shell {
  width: calc(100% - 48px);
  max-width: none;
}

.site-header__inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  min-height: 114px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--cream);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle__line {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  border-radius: 999px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--cream);
}

.brand__mark {
  display: inline-flex;
  width: 54px;
  height: 56px;
}

.brand__mark svg {
  width: 100%;
  height: 100%;
}

.brand__wordmark {
  font-family: 'Comfortaa', sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.08em;
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-left: auto;
}

.site-nav__list {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
  flex-wrap: wrap;
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 0.95rem;
  color: var(--cream);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: #bdced4;
  transform: translateY(-1px);
}

.language-switcher {
  position: relative;
}

.language-switcher[open] .language-switcher__summary {
  border-color: rgba(255, 254, 252, 0.4);
}

.language-switcher__summary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 36px;
  padding: 0 0.9rem;
  color: var(--cream);
  border: 1px solid rgba(255, 254, 252, 0.75);
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.language-switcher__summary::-webkit-details-marker {
  display: none;
}

.language-switcher__chevron {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

.language-switcher__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  display: grid;
  min-width: 100%;
  padding: 0.35rem;
  background: var(--brown);
  border: 1px solid rgba(255, 254, 252, 0.08);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.language-switcher__item {
  padding: 0.45rem 0.7rem;
  color: var(--cream);
  border-radius: 12px;
  font-size: 0.72rem;
  text-align: center;
}

.language-switcher__item:hover,
.language-switcher__item:focus-visible,
.language-switcher__item--active {
  background: rgba(255, 254, 252, 0.08);
}

.hero {
  position: relative;
  width: 100%;
  min-height: 499px;
  margin-top: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero__background,
.hero__background picture,
.hero__background img,
.hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__background img {
  object-fit: cover;
}

.hero__overlay {
  background: transparent;
}

.hero__content {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 499px;
  padding: 2rem 1rem;
}

.hero__quote {
  max-width: 100%;
  margin: 0;
  color: var(--cream);
  text-align: center;
}

.hero__quote p {
  margin: 0;
  font-family: 'Comfortaa', sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.2rem);
  line-height: 1.45;
}

.hero__quote-break {
  display: none;
}

.hero__quote footer {
  width: fit-content;
  margin: 2rem auto 0;
  padding-top: 1.1rem;
  color: rgba(255, 254, 252, 0.9);
  border-top: 3px solid rgba(255, 254, 252, 0.5);
  font-size: 1.25rem;
}

@media (min-width: 1100px) {
  .hero__quote-break {
    display: block;
  }
}

.welcome-mobile {
  display: none;
}

.welcome {
  display: grid;
  width: min(1180px, calc(100% - 32px));
  grid-template-columns: 235px 1fr;
  grid-template-areas:
    'image title'
    'image content';
  column-gap: 16rem;
  row-gap: 0.75rem;
  align-items: start;
  padding: 3.4rem 0 4.3rem;
}

.welcome__title {
  grid-area: title;
  align-self: start;
}

.welcome__image-panel {
  grid-area: image;
  display: grid;
  gap: 1rem;
  justify-self: center;
}

.welcome__image-picture {
  display: block;
}

.welcome__image {
  width: 235px;
  height: 341px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: var(--shadow);
}

.welcome__title h2,
.section-heading h2,
.therapy__inner h2 {
  margin: 0;
  font-family: 'Comfortaa', sans-serif;
  font-size: clamp(1.8rem, 2.8vw, 2.05rem);
  color: var(--sage);
}

.welcome__content p,
.therapy__inner p,
.support p,
.footer-card__copy p,
.footer-tagline,
.legal-links__item,
.footer-links__item,
.contact-form__status {
  margin: 0;
}

.welcome__content {
  grid-area: content;
  display: grid;
  gap: 0.8rem;
  color: var(--sage);
  align-self: start;
  width: 100%;
}

.welcome__content strong {
  font-weight: 500;
}

.welcome__cta--mobile {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  padding: 0 1.45rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(var(--color_cyan), 0.12);
}

.button--dark {
  color: var(--cream);
  background: var(--brown);
  border-color: var(--brown);
}

.button--dark:hover,
.button--dark:focus-visible {
  color: var(--cream);
  background: var(--muted);
  border-color: var(--muted);
}

.button--light {
  color: var(--cream);
  background: transparent;
}

.button--light:hover,
.button--light:focus-visible {
  color: var(--brown);
  background: var(--cream);
}

.therapy {
  background: var(--brown);
}

.therapy-mobile {
  display: none;
}

.therapy__inner {
  display: grid;
  justify-items: center;
  gap: 1.4rem;
  padding: 4.4rem 0;
  color: var(--cream);
  text-align: center;
}

.therapy__inner h2 {
  color: var(--cream);
}

.therapy__inner p {
  max-width: 920px;
  margin: 0 auto;
}

.topics {
  padding: 4.2rem 0 2.25rem;
  margin: 0 12rem;
}

.section-heading {
  display: grid;
  justify-items: center;
  gap: 1.15rem;
  margin-bottom: 2.3rem;
  text-align: center;
}

.topics .section-heading {
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.topics .section-heading__line {
  width: 80%;
  height: 3px;
  background: rgba(80, 105, 102, 0.55);
  border-radius: 999px;
}

.topics__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  gap: 3.5rem;
  align-items: start;
  justify-content: center;
  justify-items: center;
}

.topic-card {
  display: grid;
  justify-items: center;
  gap: 1rem;
  min-height: 100%;
  padding: 1.9rem 1.4rem 1.25rem;
  transition: opacity 0.18s linear;
  will-change: opacity;
}

.topic-card__image-wrap {
  display: grid;
  place-items: center;
  min-height: 196px;
}

.topic-card__image {
  max-height: 196px;
  object-fit: contain;
}

.topic-card__title {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: rgb(42, 30, 22);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  text-align: center;
}

.support {
  background: rgb(var(--color_darkcyan));
  color: var(--cream);
}

.support__inner {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 4.5rem 16px;
  text-align: center;
}

.support__inner p {
  max-width: 760px;
}

.support__button {
  color: rgb(var(--color_darkcyan));
  background: var(--cream);
  border-color: var(--cream);
}

.support__button:hover,
.support__button:focus-visible {
  color: rgb(var(--color_darkcyan));
  background: rgba(255, 254, 252, 0.92);
  border-color: rgba(255, 254, 252, 0.92);
}

.booking-cta {
  position: relative;
  width: 100%;
  min-height: 412px;
  margin: 0;
  margin-bottom: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.booking-cta__background,
.booking-cta__background img,
.booking-cta__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.booking-cta__background img {
  object-fit: cover;
}

.booking-cta__overlay {
  background:
    linear-gradient(
      180deg,
      rgba(var(--color_cyan), 0.2),
      rgba(var(--color_cyan), 0.3)
    ),
    radial-gradient(circle at center, rgba(255, 254, 252, 0.12), transparent 46%);
}

.booking-cta__badge {
  position: relative;
  top: 129px;
  margin: 0 auto;
}

.site-footer {
  padding: 4.8rem 0 2rem;
  color: var(--cream);
  background: rgb(var(--color_darkcyan));
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(260px, 384px) minmax(320px, 538px);
  justify-content: space-between;
  gap: 2.5rem;
  align-items: start;
}

.footer-card {
  display: grid;
  gap: 1.25rem;
}

.footer-card--brand .brand {
  width: fit-content;
}

.footer-card__copy {
  display: grid;
  gap: 0.15rem;
  color: rgba(255, 254, 252, 0.9);
  font-size: 0.9rem;
}

.footer-card__copy a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.social-links {
  display: flex;
  gap: 0.7rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.social-link {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 254, 252, 0.24);
  border-radius: 999px;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 254, 252, 0.08);
}

.footer-tagline {
  color: rgba(255, 254, 252, 0.7);
  font-size: 0.88rem;
}

.contact-form {
  display: grid;
  gap: 1.2rem;
  padding: 2.8rem 2rem 1.2rem;
  background: rgba(255, 254, 252, 0.04);
  border: 1px solid rgba(255, 254, 252, 0.22);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(255, 254, 252, 0.08);
}

.contact-form__row {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 2.5rem;
}

.contact-form__stack {
  display: grid;
  gap: 1.1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.2rem 1.15rem 0.75rem;
  color: var(--cream);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 254, 252, 0.72);
  border-radius: 0;
  outline: 0;
}

.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 254, 252, 0.76);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: #c8b290;
}

.contact-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.button--submit {
  cursor: pointer;
}

.contact-form__status {
  color: var(--cream);
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-links {
  justify-content: flex-end;
}

.footer-links__item {
  color: var(--cream);
  font-size: 0.9rem;
}

.footer-links__item:hover,
.footer-links__item:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 254, 252, 0.1);
}

@media (max-width: 980px) {
  .site-header {
    position: relative;
  }

  .site-header__inner {
    min-height: 88px;
  }

  .site-header__actions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    margin-left: 0;
    padding: 0 24px 24px;
    background: rgba(var(--color_beidge), 0.98);
    border-bottom: 1px solid rgba(255, 254, 252, 0.08);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .site-header--menu-open .site-header__actions {
    display: flex;
  }

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

  .site-header--menu-open .menu-toggle__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header--menu-open .menu-toggle__line:nth-child(2) {
    opacity: 0;
  }

  .site-header--menu-open .menu-toggle__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .site-nav__link {
    min-height: 38px;
    padding: 0;
  }

  .language-switcher {
    align-self: flex-start;
  }

  .hero,
  .hero__content {
    min-height: 420px;
  }

  .welcome {
    grid-template-columns: 1fr;
    grid-template-areas:
      'title'
      'image'
      'content';
    gap: 2rem;
    justify-items: center;
    text-align: center;
  }

  .welcome__content {
    justify-items: center;
  }

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

  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .footer-links,
  .legal-links {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(var(--shell), calc(100% - 24px));
  }

  .hero {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    min-height: 0;
    overflow: visible;
  }

  .hero__background {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    overflow: hidden;
  }

  .hero__background picture {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
  }

  .hero__background img {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
    transform: none;
  }

  .hero__overlay {
    display: none;
  }

  .brand {
    gap: 0.8rem;
  }

  .brand__mark {
    width: 42px;
    height: 44px;
  }

  .brand__wordmark {
    font-size: 1.28rem;
  }

  .hero__content {
    display: none;
  }

  .welcome {
    gap: 1.25rem;
    padding: 2.4rem 0 3.2rem;
    align-items: start;
    justify-items: stretch;
    text-align: left;
  }

  .welcome-mobile {
    display: block;
    width: 100vw;
    max-width: none;
    margin: 0 calc(50% - 50vw);
    padding: 0;
    background: rgb(255, 254, 252);
  }

  .welcome-mobile__inner {
    width: 100%;
    margin: 0 auto;
    padding: 2.7rem 0 0;
    color: rgb(42, 30, 22);
  }

  .welcome-mobile__text {
    width: auto;
    max-width: none;
    min-width: 0;
    margin: 0 24px;
    padding: 0 0 3.4rem;
  }

  .welcome-mobile__title h2 {
    margin: 0 0 1.4rem;
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.2;
    color: rgb(42, 30, 22);
    letter-spacing: normal;
  }

  .welcome-mobile__media {
    width: 100vw;
    margin: 0 calc(50% - 50vw) 0;
  }

  .welcome-mobile__image-wrap {
    width: 100%;
  }

  .welcome-mobile__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 320 / 197;
    object-fit: cover;
    box-shadow: none;
  }

  .welcome-mobile__button-wrap {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
    margin: -1.25rem auto -1.25rem;
  }

  .welcome-mobile__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 149px;
    min-height: 40px;
    padding: 0 1.2rem;
    color: rgb(255, 254, 252);
    background: rgba(var(--color_cyan), 0.88);
    border: 1px solid var(--brown);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 300;
    line-height: 1;
    transition:
      background-color 0.2s ease,
      color 0.2s ease,
      border-color 0.2s ease;
  }

  .welcome-mobile__button:hover,
  .welcome-mobile__button:focus-visible {
    color: rgb(255, 254, 252);
    background: rgba(42, 30, 22, 0.92);
    border-color: rgb(42, 30, 22);
  }

  .welcome-mobile__copy p {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 200;
    line-height: 1.5;
    color: rgb(42, 30, 22);
  }

  .welcome-mobile__copy strong {
    font-weight: 500;
  }

  .welcome {
    display: none;
  }

  .welcome__title h2 {
    font-size: 19px;
  }

  .welcome__image-panel {
    justify-self: center;
    width: min(100%, 320px);
  }

  .welcome__image-picture {
    width: 100%;
  }

  .welcome__image {
    width: 100%;
    height: auto;
    aspect-ratio: 320 / 197;
  }

  .welcome__content {
    gap: 0.9rem;
    justify-items: start;
  }

  .welcome__content p {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(42, 30, 22, 1);
  }

  .welcome__cta--mobile {
    display: inline-flex;
    justify-self: center;
  }

  .welcome__cta--desktop {
    display: none;
  }

  .therapy__inner,
  .topics,
  .support,
  .site-footer {
    padding-left: 0;
    padding-right: 0;
  }

  .therapy-mobile {
    display: block;
    width: 100%;
  }

  .therapy-mobile__inner {
    display: grid;
    gap: 1.35rem;
    padding: 2.7rem 0 3rem;
    color: rgb(255, 254, 252);
  }

  .therapy-mobile__inner h2 {
    margin: 0 24px;
    color: rgb(255, 254, 252);
    font-family: 'Comfortaa', sans-serif;
    font-size: 26px;
    line-height: 1.2;
    text-align: left;
  }

  .therapy-mobile__copy {
    width: auto;
    margin: 0 24px;
  }

  .therapy-mobile__copy p {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 200;
    line-height: 1.5;
    color: rgb(255, 255, 255);
    text-align: left;
  }

  .therapy-mobile__copy strong {
    font-weight: 500;
  }

  .therapy-mobile__button {
    justify-self: center;
    color: var(--brown);
    background: var(--cream);
    border-color: var(--cream);
  }

  .therapy-mobile__button:hover,
  .therapy-mobile__button:focus-visible {
    color: var(--brown);
    background: rgba(255, 254, 252, 0.9);
    border-color: rgba(255, 254, 252, 0.9);
  }

  .therapy__inner {
    display: none;
  }

  .topics {
    margin: 0 24px;
  }

  .topics__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .section-heading h2 {
    font-size: 26px;
    line-height: 1.2;
  }

  .section-heading {
    margin: 0 0 2.3rem;
    justify-items: start;
    text-align: left;
  }

  .topics .section-heading {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .topics .section-heading__line {
    width: min(80%, 220px);
  }

  .topic-card {
    position: relative;
    grid-template-columns: 88px 1fr;
    align-items: center;
    justify-items: start;
    gap: 1.1rem;
    padding: 1.5rem 0;
    opacity: 0.06;
  }

  .topic-card::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: rgba(var(--color_cyan), 0.45);
  }

  .topic-card:last-child::after {
    display: none;
  }

  .topic-card__image-wrap {
    min-height: 88px;
    width: 88px;
  }

  .topic-card__image {
    max-height: 88px;
  }

  .topic-card__title {
    font-size: 17px;
    font-weight: 200;
    line-height: 1.5;
    text-align: left;
  }

  .contact-form {
    padding: 1.8rem 1rem 1rem;
  }

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

  .contact-form__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .booking-cta {
    min-height: 280px;
  }

  .booking-cta__badge {
    top: 66px;
    width: 118px;
    height: auto;
  }
}

@media (max-width: 520px) {
  .topics__grid {
    gap: 0;
  }

  .topic-card__image-wrap {
    min-height: 80px;
    width: 80px;
  }

  .topic-card__image {
    max-height: 80px;
  }
}
