@charset "UTF-8";
@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-VariableFont_wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Italic-VariableFont_wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/SourceSerif4-VariableFont_opsz,wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/SourceSerif4-Italic-VariableFont_opsz,wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
:root {
  --error: #ff383b;
  --success: #13eb3e;
  --pampas-950: #2b221f;
  --pampas-900: #52433c;
  --muddy-waters-400: #bc8b4b;
  --muddy-waters-200: #eed2ab;
  /* accent gradient (used for gradient text) */
  --accent-gradient: linear-gradient(180deg, #c5975b, #925607);
  --muddy-waters-50: #f8f5ee;
  --flint-950: #1c1917;
  --flint-500: #6f6863;
  --flint-200: #f0e9e0;
  --white: #fff;
  --pearl-bush-200: #e1d6ca;
  --pampas-400: #af9b88;
  --pampas-200: #f0e9e0;
  /* body, html */
  --heading-color: var(--flint-950);
  --heading-line-height: 1.3;
  --heading-font-family: 'Source Serif 4', serif;
  --heading-font-weight: 600;
  /* post text (WYSIWYG content) */
  --post-text-quote-border: var(--muddy-waters-400); /* blockquote — акцент */
  --post-text-table-border: var(--pampas-400); /* th, td */
  --post-text-table-head-bg: var(--flint-200); /* th */
  --transition-color: color 300ms ease-in;
  --transition-bg: background-color 300ms ease-in;
  --transition-opacity: opacity 300ms ease-in;
  --cubic: ease-in;
}

pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

ul,
ol {
  padding-left: 0;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl {
  margin-block: 0;
}

figure {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font-family);
  font-weight: var(--heading-font-weight);
}

h2,
h3,
h4,
h5,
h6 {
  line-height: var(--heading-line-height);
  color: var(--heading-color);
}

dd {
  margin-left: 0;
}

fieldset {
  margin-left: 0;
  padding: 0;
  border: none;
}

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

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

@media (pointer: fine) {
  button {
    cursor: pointer;
  }
}
img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

button {
  padding: 0;
}

section {
  padding: 40px 0;
}
@media screen and (min-width: 768px) {
  section {
    padding: 80px 0;
  }
}
@media screen and (min-width: 1280px) {
  section {
    padding: 96px 0;
  }
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}
@media screen and (max-width: 767px) {
  .container {
    max-width: 480px;
  }
}
@media screen and (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}
@media screen and (min-width: 1280px) {
  .container {
    max-width: 1280px;
    padding: 0 16px;
  }
}

.title {
  font-family: var(--heading-font-family);
  font-weight: var(--heading-font-weight);
  font-size: 24px;
  line-height: var(--heading-line-height);
  color: var(--heading-color);
}
.title span {
  color: var(--muddy-waters-400);
  background-image: var(--accent-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  font-style: italic;
  text-transform: uppercase;
}
@media screen and (min-width: 768px) {
  .title {
    font-size: 32px;
  }
  .title span {
    font-size: 28px;
  }
}
@media screen and (min-width: 1280px) {
  .title {
    font-size: 48px;
  }
  .title span {
    font-size: 44px;
  }
}

/* Gradient-filled text */
.accent-gradient-text {
  color: var(--muddy-waters-400);
  background-image: var(--accent-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
}

.section-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
@media screen and (min-width: 1280px) {
  .section-header {
    margin-bottom: 40px;
  }
}

.section-header--centered {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
}
.section-header--centered p {
  text-align: left;
  max-width: 900px;
}
@media screen and (min-width: 768px) {
  .section-header--centered p {
    text-align: center;
  }
}

.section-text {
  margin: 0;
}
@media screen and (min-width: 1280px) {
  .section-text {
    font-size: 18px;
  }
}

.rich-text p {
  margin: 0;
}
.rich-text p + p {
  margin-top: 16px;
}

/* Form submit loader — translucent overlay + accent spinner, shared by the
   consultation wizard and the home contact form. The host element the overlay
   should cover must be `position: relative`. Reuses the global `rotation`
   keyframe from components/loader. */
.form-loader {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: rgba(248, 245, 238, 0.75);
  backdrop-filter: blur(2px);
  border-radius: 16px;
}
.form-loader[hidden] {
  display: none;
}

.form-spinner {
  width: 56px;
  height: 56px;
  border: 5px solid var(--muddy-waters-200);
  border-top-color: var(--muddy-waters-400);
  border-radius: 50%;
  -webkit-animation: rotation 0.9s linear infinite;
          animation: rotation 0.9s linear infinite;
}

.form-error {
  margin-top: 8px;
  color: var(--error);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

/* Eyebrow badge with a leading dot (added via ::before) */
.badge {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  font-family: var(--heading-font-family);
  font-size: 14px;
  letter-spacing: 0.56px;
  text-transform: uppercase;
  color: var(--flint-500);
}
.badge::before {
  content: "";
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: currentColor;
}

.badge--light {
  color: var(--white);
}

/*-------------- utility helpers -------------*/
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.skip-link {
  display: none;
}

/*-------------- post / WYSIWYG content -------------*/
.post-text ul {
  padding-left: 20px;
  list-style: disc;
}
.post-text ol {
  padding-left: 20px;
  list-style: decimal;
}
.post-text h1,
.post-text h2,
.post-text h3,
.post-text h4,
.post-text h5,
.post-text h6 {
  margin-block: 1em;
}
.post-text p {
  margin-block: 1em;
}
.post-text ul,
.post-text ol {
  margin-block: 1em;
}
.post-text li {
  margin-bottom: 0.5em;
}
.post-text dl {
  margin-block: 1em;
}
.post-text dd {
  margin-left: 20px;
}
.post-text {
  /* Заголовки блогу */
}
.post-text h1 {
  font-size: 2rem;
  line-height: 1.2;
}
.post-text h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75em;
}
.post-text h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75em;
}
.post-text h4,
.post-text h5,
.post-text h6 {
  font-size: 1rem;
  margin-bottom: 0.5em;
}
.post-text blockquote {
  margin-block: 1.5em;
  padding: 1em;
  border-left: 4px solid var(--post-text-quote-border);
  background-color: transparent;
  font-style: italic;
}
.post-text a {
  text-decoration: underline;
  -webkit-transition: var(--transition-opacity);
  transition: var(--transition-opacity);
  opacity: 1;
}
.post-text a:hover {
  opacity: 0.8;
}
.post-text table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 1.5em;
}
.post-text th,
.post-text td {
  border: 1px solid var(--post-text-table-border);
  padding: 8px;
  text-align: left;
}
.post-text th {
  background-color: var(--post-text-table-head-bg);
}
.post-text img {
  display: block;
}
.post-text b,
.post-text strong {
  font-weight: 700;
}

.alignright {
  float: right;
  margin: 0 0 1em 2em;
}

.alignleft {
  float: left;
  margin: 0 2em 1em 0;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1em;
}

.loader-backdrop {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  z-index: 10000;
  -webkit-animation: loader-hide 0.3s linear 0.4s forwards;
          animation: loader-hide 0.3s linear 0.4s forwards;
}

@-webkit-keyframes loader-hide {
  99% {
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes loader-hide {
  99% {
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}
.preloader {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-block;
  border-top: 4px solid var(--muddy-waters-400);
  border-right: 4px solid transparent;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-animation: rotation 1s linear infinite;
          animation: rotation 1s linear infinite;
}

.preloader::after {
  content: "";
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border-left: 4px solid var(--muddy-waters-200);
  border-bottom: 4px solid transparent;
  animation: rotation 0.5s linear infinite reverse;
}

@-webkit-keyframes rotation {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes rotation {
  0% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
.main-btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 8px;
  height: 54px;
  padding: 12px 16px 12px 24px;
  border: 2px solid var(--muddy-waters-200);
  border-radius: 90px;
  background-image: linear-gradient(175deg, var(--muddy-waters-200) 6%, var(--muddy-waters-400) 84%);
  -webkit-box-shadow: inset 0 0 20px 0 #b6874c;
          box-shadow: inset 0 0 20px 0 #b6874c;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
  text-decoration: none;
  -webkit-transition: -webkit-filter 300ms var(--cubic);
  transition: -webkit-filter 300ms var(--cubic);
  transition: filter 300ms var(--cubic);
  transition: filter 300ms var(--cubic), -webkit-filter 300ms var(--cubic);
  min-width: 220px;
}
@media (pointer: fine) {
  .main-btn {
    cursor: pointer;
  }
}
.main-btn svg {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 16px;
  height: 16px;
}
@media (hover: hover) and (pointer: fine) {
  .main-btn:hover {
    -webkit-filter: brightness(1.06);
            filter: brightness(1.06);
  }
}

.main-btn:disabled,
.main-btn.is-disabled {
  -webkit-filter: grayscale(100%);
          filter: grayscale(100%);
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Secondary (outlined) button */
.secondary-btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 8px;
  height: 54px;
  padding: 12px 32px;
  border: 2px solid var(--muddy-waters-400);
  border-radius: 100px;
  background-color: var(--white);
  color: var(--flint-950);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
  text-decoration: none;
  -webkit-transition: var(--transition-color), background-color 300ms var(--cubic);
  transition: var(--transition-color), background-color 300ms var(--cubic);
  min-width: 220px;
}
@media (pointer: fine) {
  .secondary-btn {
    cursor: pointer;
  }
}
@media (hover: hover) and (pointer: fine) {
  .secondary-btn:hover {
    background-color: var(--muddy-waters-50);
    color: var(--muddy-waters-400);
  }
}

/* ============================================================
   Reusable slider control styles (Swiper).
   Each slider wires its own prev/next/pagination in js/main.js (Sliders section);
   these classes only provide the shared look (button + dots).
   ============================================================ */
/* Prev / next buttons — the SVG icon is a self-contained button (circle + border). */
.slider-btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: none;
  -webkit-transition: opacity 300ms var(--cubic);
  transition: opacity 300ms var(--cubic);
}
@media (pointer: fine) {
  .slider-btn {
    cursor: pointer;
  }
}
.slider-btn img {
  width: 100%;
  height: 100%;
}
@media (hover: hover) and (pointer: fine) {
  .slider-btn:hover {
    opacity: 0.8;
  }
}
.slider-btn.swiper-button-disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* Pagination dots */
.swiper-pagination-bullets {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 8px;
}
.swiper-pagination-bullets .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  border-radius: 999px;
  background-color: var(--pampas-200);
  opacity: 1;
  -webkit-transition: width 300ms var(--cubic), background-color 300ms var(--cubic);
  transition: width 300ms var(--cubic), background-color 300ms var(--cubic);
}
.swiper-pagination-bullets .swiper-pagination-bullet-active {
  background-color: var(--muddy-waters-400);
}

/* ============================================================
   Video modal (MicroModal)
   ============================================================ */
.video-modal {
  display: none;
}
.video-modal.is-open {
  display: block;
}

.video-modal__overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 64px 16px;
  background-color: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(7.2px);
  isolation: isolate;
  -webkit-backdrop-filter: blur(7.2px);
}

.video-modal__container {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-width: 100%;
  max-height: 100%;
}

.video-modal__video {
  display: block;
  max-width: 100%;
  max-height: calc(100dvh - 128px);
  width: auto;
  border-radius: 12px;
  background-color: #000;
}

/* Close button — pinned to the top-right corner of the viewport */
.video-modal__close {
  position: fixed;
  top: 24px;
  right: 24px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background-color: transparent;
  color: var(--white);
  -webkit-transition: var(--transition-opacity);
  transition: var(--transition-opacity);
}
@media (pointer: fine) {
  .video-modal__close {
    cursor: pointer;
  }
}
@media (hover: hover) and (pointer: fine) {
  .video-modal__close:hover {
    opacity: 0.7;
  }
}
.video-modal__close svg {
  pointer-events: none;
}

/* ============================================================
   Reusable video thumbnail (modal trigger).
   A full-bleed poster with a centred play button that opens the
   video modal. The host section sets the size / aspect-ratio and
   may override the radius via its own `--media` block; these styles
   cover the look shared across every section (Clinic Tour, Process…).
   ============================================================ */
.video-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 12px;
  background-color: #000;
  overflow: hidden;
}
@media (pointer: fine) {
  .video-thumb {
    cursor: pointer;
  }
}
@media (hover: hover) and (pointer: fine) {
  .video-thumb:hover .video-thumb__play {
    -webkit-transform: translate(-50%, -50%) scale(1.06);
            transform: translate(-50%, -50%) scale(1.06);
  }
}

.video-thumb__poster {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* Play button overlay — translucent ring + solid white inner circle */
.video-thumb__play {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  padding: 12px;
  border: 1.5px solid var(--white);
  border-radius: 90px;
  background-color: rgba(252, 248, 244, 0.16);
  -webkit-transition: -webkit-transform 300ms var(--cubic);
  transition: -webkit-transform 300ms var(--cubic);
  transition: transform 300ms var(--cubic);
  transition: transform 300ms var(--cubic), -webkit-transform 300ms var(--cubic);
  backdrop-filter: blur(2px);
  isolation: isolate;
  -webkit-backdrop-filter: blur(2px);
}

.video-thumb__play-inner {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 15px;
  border-radius: 50%;
  background-color: var(--white);
  color: var(--muddy-waters-400);
}

/* ============================================================
   FAQ accordion (reusable component)
   ============================================================ */
.faq {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
  width: 100%;
}
@media screen and (min-width: 768px) {
  .faq {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
}

.faq__col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
}
@media screen and (min-width: 768px) {
  .faq__col {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 0px;
            flex: 1 0 0;
    min-width: 0;
  }
}

.faq__item {
  border: 1px solid var(--flint-200);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(15px);
  isolation: isolate;
  -webkit-backdrop-filter: blur(15px);
}
@media screen and (min-width: 768px) {
  .faq__item {
    padding: 32px 24px;
  }
}

.faq__trigger {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 16px;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: inherit;
}

.faq__question {
  font-family: var(--heading-font-family);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.4px;
  color: var(--flint-950);
}
@media screen and (min-width: 768px) {
  .faq__question {
    font-size: 20px;
  }
}

.faq__icon {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 24px;
  height: 24px;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.faq__item.is-open .faq__icon {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

/* ---- Answer: animated open/close via grid-template-rows ---- */
.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  -webkit-transition: grid-template-rows 0.3s ease;
  transition: grid-template-rows 0.3s ease;
  transition: grid-template-rows 0.3s ease, -ms-grid-rows 0.3s ease;
}

.faq__item.is-open .faq__answer {
  grid-template-rows: 1fr;
}

.faq__answer-inner {
  overflow: hidden;
  min-height: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
}

.faq__divider {
  margin-top: 16px;
  width: 240px;
  max-width: 100%;
  height: 1px;
  background-image: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(var(--muddy-waters-200)), to(transparent));
  background-image: linear-gradient(90deg, transparent, var(--muddy-waters-200), transparent);
}

.faq__text {
  letter-spacing: -0.5px;
}

/* ============================================================
   Header
   ============================================================ */
.header {
  position: relative;
  z-index: 50;
}

/* Full-width header container — no max-width caps, so the logo and the burger
   always sit close to the screen edges at every breakpoint. */
.header-container {
  width: 100%;
  padding: 0 16px;
  max-width: 1280px;
  margin: 0 auto;
}

/* ---- Top utility bar (data from Site Data) ---- */
.header__topbar {
  display: none;
  background-color: var(--white);
}
@media screen and (min-width: 1280px) {
  .header__topbar {
    display: block;
  }
}

.header__topbar-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 24px;
  padding-block: 8px;
}

.header__stats {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 24px;
}

.header__stat {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 16px;
  line-height: 1.56;
  letter-spacing: -0.5px;
  color: var(--pampas-950);
}
.header__stat b {
  font-weight: 600;
}

.header__stat-icon {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--muddy-waters-400);
}

.header__contacts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 24px;
}

.header__contact {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 1.56;
  letter-spacing: -0.5px;
  color: var(--pampas-950);
  text-decoration: none;
  -webkit-transition: var(--transition-color);
  transition: var(--transition-color);
}
.header__contact svg {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 20px;
  height: 20px;
}
@media (hover: hover) and (pointer: fine) {
  .header__contact:hover {
    color: var(--muddy-waters-400);
  }
}

/* ---- Main bar ---- */
.header__bar {
  background-color: var(--muddy-waters-50);
}

.header__bar-inner {
  min-height: 64px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 16px;
}

/* ---- Logo ---- */
.header__logo {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  display: block;
}
.header__logo img {
  display: block;
  width: auto;
  height: 44px;
}
@media screen and (min-width: 1280px) {
  .header__logo img {
    height: 60px;
  }
}

/* ---- Navigation ---- */
.header__nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 55;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: min(360px, 86vw);
  height: 100dvh;
  padding: 96px 24px 32px;
  background-color: var(--white);
  -webkit-box-shadow: -10px 0 40px rgba(28, 25, 23, 0.12);
          box-shadow: -10px 0 40px rgba(28, 25, 23, 0.12);
  overflow-y: auto;
  -webkit-transform: translateX(100%);
          transform: translateX(100%);
  -webkit-transition: -webkit-transform 350ms var(--cubic);
  transition: -webkit-transform 350ms var(--cubic);
  transition: transform 350ms var(--cubic);
  transition: transform 350ms var(--cubic), -webkit-transform 350ms var(--cubic);
}
@media screen and (min-width: 1280px) {
  .header__nav {
    position: static;
    z-index: auto;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: auto;
    height: auto;
    padding: 0;
    background-color: transparent;
    -webkit-box-shadow: none;
            box-shadow: none;
    overflow: visible;
    -webkit-transform: none;
            transform: none;
  }
}

body.menu-is-open .header__nav {
  -webkit-transform: translateX(0);
          transform: translateX(0);
}

.header__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 4px;
}
@media screen and (min-width: 1280px) {
  .header__nav-list {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 32px;
  }
}

.header__nav-link {
  position: relative;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  padding: 12px 4px;
  font-size: 18px;
  line-height: 1.56;
  letter-spacing: -0.5px;
  color: var(--flint-950);
  text-decoration: none;
  -webkit-transition: var(--transition-color);
  transition: var(--transition-color);
}
@media screen and (min-width: 1280px) {
  .header__nav-link {
    width: auto;
    padding: 4px;
    font-size: 16px;
  }
}
.header__nav-link::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 1px;
  height: 2px;
  background-color: var(--muddy-waters-400);
  -webkit-transform: scaleX(0);
          transform: scaleX(0);
  -webkit-transform-origin: left;
          transform-origin: left;
  -webkit-transition: -webkit-transform 300ms var(--cubic);
  transition: -webkit-transform 300ms var(--cubic);
  transition: transform 300ms var(--cubic);
  transition: transform 300ms var(--cubic), -webkit-transform 300ms var(--cubic);
}
@media (hover: hover) and (pointer: fine) {
  .header__nav-link:hover {
    color: var(--muddy-waters-400);
  }
  .header__nav-link:hover::after {
    -webkit-transform: scaleX(1);
            transform: scaleX(1);
  }
}
.header__nav-link.is-current {
  color: var(--muddy-waters-400);
}
.header__nav-link.is-current::after {
  -webkit-transform: scaleX(1);
          transform: scaleX(1);
}

/* Panel footer — mobile only (contacts + CTA inside the off-canvas menu) */
.header__nav-footer {
  margin-top: auto;
  padding-top: 24px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 20px;
}
@media screen and (min-width: 1280px) {
  .header__nav-footer {
    display: none;
  }
}

.header__nav-contacts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 12px;
}

/* ---- Actions (desktop CTA + burger) ---- */
.header__actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

/* ---- CTA button (visual styles live in .main-btn — buttons component) ---- */
.header__cta--bar {
  display: none;
  height: 42px !important;
  min-width: auto;
}
@media screen and (min-width: 1280px) {
  .header__cta--bar {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
  }
}

.header__cta--panel {
  width: 100%;
}

/* ---- Burger ---- */
.header__burger {
  position: relative;
  z-index: 60;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: none;
  background-color: transparent;
}
@media (pointer: fine) {
  .header__burger {
    cursor: pointer;
  }
}
@media screen and (min-width: 1280px) {
  .header__burger {
    display: none;
  }
}

.header__burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--flint-950);
  -webkit-transition: opacity 200ms var(--cubic), -webkit-transform 300ms var(--cubic);
  transition: opacity 200ms var(--cubic), -webkit-transform 300ms var(--cubic);
  transition: transform 300ms var(--cubic), opacity 200ms var(--cubic);
  transition: transform 300ms var(--cubic), opacity 200ms var(--cubic), -webkit-transform 300ms var(--cubic);
}
.header__burger-line + .header__burger-line {
  margin-top: 6px;
}

.header__burger.is-active .header__burger-line:nth-child(1) {
  -webkit-transform: translateY(4px) rotate(45deg);
          transform: translateY(4px) rotate(45deg);
}
.header__burger.is-active .header__burger-line:nth-child(2) {
  -webkit-transform: translateY(-4px) rotate(-45deg);
          transform: translateY(-4px) rotate(-45deg);
}

/* ---- Overlay ---- */
.header__overlay {
  position: fixed;
  inset: 0;
  z-index: 45;
  background-color: rgba(28, 25, 23, 0.5);
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 300ms var(--cubic), visibility 300ms var(--cubic);
  transition: opacity 300ms var(--cubic), visibility 300ms var(--cubic);
}
@media screen and (min-width: 1280px) {
  .header__overlay {
    display: none;
  }
}

body.menu-is-open .header__overlay {
  opacity: 1;
  visibility: visible;
}

/* ============================================================
   Home hero
   ============================================================ */
.home-hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  background-color: var(--muddy-waters-50);
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(168deg, rgba(226, 215, 205, 0) 27.14%, #e2d7cd 53.18%, #e2d7cd 96.05%);
}
@media screen and (min-width: 1023px) {
  .home-hero::after {
    display: none;
  }
}

/* ---- Background ---- */
.home-hero__bg {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: bottom center;
     object-position: bottom center;
  z-index: 0;
}
@media screen and (min-width: 320px) {
  .home-hero__bg {
    -o-object-position: center -70px;
       object-position: center -70px;
  }
}
@media screen and (min-width: 420px) {
  .home-hero__bg {
    -o-object-position: center -100px;
       object-position: center -100px;
  }
}
@media screen and (min-width: 768px) {
  .home-hero__bg {
    -o-object-position: center -250px;
       object-position: center -250px;
  }
}
@media screen and (min-width: 1023px) {
  .home-hero__bg {
    -o-object-position: center;
       object-position: center;
  }
}

/* ---- Layout ---- */
.home-hero__container {
  position: relative;
  z-index: 2;
}

.home-hero__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 32px;
  padding-block: 32px 48px;
}
@media screen and (min-width: 1023px) {
  .home-hero__inner {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 32px;
    padding-block: 80px;
  }
}

.home-hero__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 32px;
  text-align: center;
  padding-top: 297px;
}
@media screen and (min-width: 1023px) {
  .home-hero__content {
    padding-top: 0;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 64px;
    max-width: 470px;
    text-align: left;
  }
}
@media screen and (min-width: 1280px) {
  .home-hero__content {
    max-width: 612px;
  }
}

/* ---- Text ---- */
.home-hero__text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
}

.home-hero__eyebrow {
  margin: 0;
  font-family: var(--heading-font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.48;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--pampas-900);
}
@media screen and (min-width: 1280px) {
  .home-hero__eyebrow {
    font-size: 18px;
    letter-spacing: 1.8px;
  }
}

.home-hero__title {
  margin: 0;
  font-family: var(--heading-font-family);
  font-weight: 600;
}

.home-hero__title-main {
  display: block;
  font-size: 36px;
  line-height: 1.21;
  letter-spacing: -1px;
  color: var(--flint-950);
}
@media screen and (min-width: 768px) {
  .home-hero__title-main {
    font-size: 48px;
  }
}
@media screen and (min-width: 1280px) {
  .home-hero__title-main {
    font-size: 64px;
  }
}

.home-hero__title-accent {
  display: block;
  font-style: italic;
  text-transform: uppercase;
  font-size: 30px;
  line-height: 1.3;
}
@media screen and (min-width: 768px) {
  .home-hero__title-accent {
    font-size: 40px;
  }
}
@media screen and (min-width: 1280px) {
  .home-hero__title-accent {
    font-size: 55px;
  }
}

/* ---- Actions ---- */
.home-hero__actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
  width: 100%;
}
@media screen and (min-width: 768px) {
  .home-hero__actions {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    width: auto;
    gap: 24px;
  }
}

.home-hero__btn {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .home-hero__btn {
    width: auto;
  }
}

/* ---- Features ---- */
.home-hero__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 16px 24px;
}
@media screen and (min-width: 1280px) {
  .home-hero__features {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    gap: 32px;
  }
}

.home-hero__feature {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 4px;
}
@media screen and (min-width: 1280px) {
  .home-hero__feature {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    gap: 8px;
  }
}

.home-hero__feature-icon {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 32px;
  height: 32px;
}
.home-hero__feature-icon img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
@media screen and (min-width: 1280px) {
  .home-hero__feature-icon {
    width: 40px;
    height: 40px;
  }
}

.home-hero__feature-text {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
  color: var(--flint-950);
}
.home-hero__feature-text b {
  font-weight: 600;
}
@media screen and (min-width: 1023px) {
  .home-hero__feature-text {
    font-size: 14px;
  }
}
@media screen and (min-width: 1280px) {
  .home-hero__feature-text {
    text-align: left;
  }
}

/* ---- Badge ---- */
.home-hero__badge--mobile {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 80px;
  height: auto;
}

.home-hero__badge--desktop {
  position: absolute;
  top: 20px;
  right: 16px;
  width: 82px;
  height: auto;
}
@media screen and (min-width: 1023px) {
  .home-hero__badge--desktop {
    top: 80px;
    right: -120px;
    width: 125px;
  }
}
@media screen and (min-width: 1280px) {
  .home-hero__badge--desktop {
    position: static;
    -ms-flex-negative: 0;
        flex-shrink: 0;
  }
}

/* ============================================================
   Home stats / metrics
   ============================================================ */
.stats {
  background-color: var(--muddy-waters-50);
  padding-block: 40px;
}

.stats__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
}
@media screen and (min-width: 1280px) {
  .stats__inner {
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    gap: 16px;
  }
}

.stats__item {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 0px;
          flex: 1 1 0;
  min-width: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  text-align: center;
}
@media screen and (min-width: 1280px) {
  .stats__item {
    min-width: 240px;
    gap: 16px;
  }
}

.stats__item--featured {
  -ms-flex-preferred-size: 100%;
      flex-basis: 100%;
}
@media screen and (min-width: 1280px) {
  .stats__item--featured {
    -ms-flex-preferred-size: 0;
        flex-basis: 0;
  }
}

/* ---- Dividers ---- */
.stats__divider {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 1px;
  height: 66px;
  -ms-flex-item-align: center;
      align-self: center;
  background-color: var(--flint-200);
}
@media screen and (min-width: 1280px) {
  .stats__divider {
    height: auto;
    -ms-flex-item-align: stretch;
        align-self: stretch;
  }
}

.stats__divider--break {
  -ms-flex-preferred-size: 100%;
      flex-basis: 100%;
  width: 100%;
  height: 1px;
}
@media screen and (min-width: 1280px) {
  .stats__divider--break {
    -ms-flex-preferred-size: auto;
        flex-basis: auto;
    width: 1px;
    height: auto;
  }
}

/* ---- Number (gradient text) — see .accent-gradient-text ---- */
.stats__value {
  margin: 0;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 4px;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.64px;
}
@media screen and (min-width: 1280px) {
  .stats__value {
    font-size: 56px;
    letter-spacing: -1.12px;
  }
}

.stats__star {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--muddy-waters-400);
}
.stats__star svg {
  width: 100%;
  height: 100%;
}
@media screen and (min-width: 1280px) {
  .stats__star {
    width: 24px;
    height: 24px;
  }
}

.stats__label {
  margin: 0;
  font-family: var(--heading-font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--flint-500);
}
@media screen and (min-width: 1280px) {
  .stats__label {
    font-weight: 600;
    font-size: 18px;
  }
}

/* ============================================================
   Home "Before & After" gallery
   ============================================================ */
.gallery {
  background-color: var(--white);
}

/* Grid is more stable than flex for splitting the section into blocks */
.gallery__grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 40px;
  max-width: 882px;
}

/* ---- Text ---- */
.gallery__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
@media screen and (min-width: 1280px) {
  .gallery__header {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

@media screen and (min-width: 1280px) {
  .gallery__title {
    text-align: center;
  }
}

.gallery__title span {
  font-style: italic;
}

.gallery__description {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  color: var(--flint-500);
}
@media screen and (min-width: 1280px) {
  .gallery__description {
    font-size: 20px;
    text-align: center;
  }
}

/* ---- Slider ---- */
.gallery__slider-wrap {
  width: 100%;
  padding: 0 16px;
}
@media screen and (min-width: 1280px) {
  .gallery__slider-wrap {
    padding: 0;
  }
}

.gallery__slider {
  position: relative;
}

.gallery__pair {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 2px;
}

.gallery__photo {
  position: relative;
  min-width: 0;
  aspect-ratio: 329/305;
  overflow: hidden;
}

.gallery__photo--before {
  border-radius: 24px 0 0 24px;
}

.gallery__photo--after {
  border-radius: 0 24px 24px 0;
}

.gallery__tag {
  position: absolute;
  bottom: 16px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 4px 8px;
  border-radius: 24px;
  background-color: rgba(255, 255, 255, 0.07);
  color: var(--white);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 3px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  isolation: isolate;
  -webkit-backdrop-filter: blur(4px);
}

.gallery__tag--before {
  left: 16px;
}

.gallery__tag--after {
  right: 16px;
}

/* ---- Slide meta (treatment info under the photos) ---- */
.gallery__meta {
  margin: 16px 0 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 4px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
}

.gallery__meta-row {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 6px;
}

.gallery__meta-label {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--flint-500);
}
@media screen and (min-width: 1280px) {
  .gallery__meta-label {
    font-size: 16px;
  }
}

.gallery__meta-value {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--flint-950);
}
@media screen and (min-width: 1280px) {
  .gallery__meta-value {
    font-size: 16px;
  }
}

/* Nav buttons — positioning only (visual styles live in .slider-btn) */
.gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  -webkit-transform: translateY(-115%);
          transform: translateY(-115%);
}

.gallery__nav--prev {
  left: -16px;
}
.gallery__nav--prev img {
  -webkit-transform: scaleX(-1);
          transform: scaleX(-1);
}

.gallery__nav--next {
  right: -16px;
}

.gallery__dots {
  margin-top: 24px;
}

.gallery__description--bottom {
  text-align: center;
}

/* ============================================================
   Home "Smile in 48 hours" promo
   ============================================================ */
.home-fast {
  background-image: -webkit-gradient(linear, left top, right top, from(#130f0e), to(#44382c));
  background-image: linear-gradient(90deg, #130f0e, #44382c);
  color: var(--white);
}

.home-fast__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 40px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media screen and (min-width: 1280px) {
  .home-fast__inner {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
}

/* ---- Media ---- */
.home-fast__media {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1;
}
@media screen and (min-width: 768px) {
  .home-fast__media {
    border-radius: 16px;
  }
}
@media screen and (min-width: 1280px) {
  .home-fast__media {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 0px;
            flex: 1 1 0;
    -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
            order: 0;
  }
}

.home-fast__image {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 606/398;
  -o-object-fit: cover;
     object-fit: cover;
}

/* ---- Content ---- */
.home-fast__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 24px;
  text-align: center;
}
@media screen and (min-width: 1280px) {
  .home-fast__content {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 0px;
            flex: 1 1 0;
    gap: 16px;
  }
}

.home-fast__title {
  font-family: var(--heading-font-family);
  font-weight: 500;
  color: var(--white);
  font-size: 32px;
  line-height: 1.21;
  letter-spacing: -1px;
}
@media screen and (min-width: 768px) {
  .home-fast__title {
    font-size: 48px;
  }
}
@media screen and (min-width: 1280px) {
  .home-fast__title {
    font-size: 64px;
  }
}

.home-fast__description {
  color: var(--flint-200);
}

/* ---- Actions ---- */
.home-fast__actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 24px;
}
@media screen and (min-width: 1280px) {
  .home-fast__actions {
    margin-top: 24px;
  }
}

/* ============================================================
   Home "Clinic Tour" card
   ============================================================ */
.home-tour__card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 32px;
  padding: 24px;
  border-radius: 16px;
  background-color: #ece1d6;
  overflow: hidden;
}
@media screen and (min-width: 1280px) {
  .home-tour__card {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 24px;
    padding: 58px 64px;
  }
}

/* ---- Content ---- */
.home-tour__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  gap: 16px;
}
@media screen and (min-width: 1280px) {
  .home-tour__content {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 416px;
            flex: 0 0 416px;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    text-align: left;
    gap: 16px;
  }
}

.home-tour__title {
  font-family: var(--heading-font-family);
  font-weight: 600;
  font-size: 36px;
  line-height: 1.3;
  letter-spacing: -1px;
  color: var(--pampas-950);
}
@media screen and (min-width: 1280px) {
  .home-tour__title {
    font-size: 48px;
  }
}
.home-tour__title span {
  color: var(--muddy-waters-400);
  background-image: var(--accent-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  font-style: italic;
}
@media screen and (min-width: 1280px) {
  .home-tour__title span {
    font-size: 44px;
  }
}

/* group title + description tighter than the badge/button gaps */
/* ---- Media (modal trigger) ----
   Shared look (poster + play button) comes from `.video-thumb`
   (partials/components/video-thumb); here we only set size / layout. ---- */
.home-tour__media {
  aspect-ratio: 744/489;
}
@media screen and (min-width: 1280px) {
  .home-tour__media {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 0px;
            flex: 1 1 0;
    -ms-flex-item-align: stretch;
        align-self: stretch;
    aspect-ratio: auto;
  }
}

.home-tour__btn {
  margin-top: 8px;
}
@media screen and (min-width: 1280px) {
  .home-tour__btn {
    margin-top: 24px;
  }
}

/* ============================================================
   Home "Why Choose Us"
   ============================================================ */
.home-why {
  position: relative;
  isolation: isolate;
  color: var(--white);
  overflow: hidden;
}

.home-why__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 1;
  pointer-events: none;
}

.home-why__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 40px;
}

/* ---- Header ---- */
.home-why__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 846px;
  margin-inline: auto;
  text-align: center;
}

.home-why__title {
  font-family: var(--heading-font-family);
  font-weight: 500;
  color: var(--white);
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: -1px;
}
.home-why__title span {
  font-style: italic;
}
@media screen and (min-width: 768px) {
  .home-why__title {
    font-size: 40px;
  }
}
@media screen and (min-width: 1280px) {
  .home-why__title {
    font-size: 44px;
  }
}

.home-why__text {
  max-width: 700px;
  color: var(--white);
}

/* ---- Cards ---- */
.home-why__cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 16px;
}
@media screen and (min-width: 1280px) {
  .home-why__cards {
    gap: 24px;
  }
}

.home-why__card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 8px;
  min-height: 104px;
  padding: 16px;
  border: 1px solid var(--flint-200);
  border-radius: 16px;
  background-color: rgba(171, 159, 144, 0.04);
  backdrop-filter: blur(7.5px);
  isolation: isolate;
  -webkit-backdrop-filter: blur(7.5px);
}
.home-why__card::before, .home-why__card::after {
  content: "";
  width: 200px;
  max-width: 100%;
  height: 1px;
  background-image: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(var(--muddy-waters-200)), to(transparent));
  background-image: linear-gradient(90deg, transparent, var(--muddy-waters-200), transparent);
}
.home-why__card::before {
  margin-bottom: auto;
}
.home-why__card::after {
  margin-top: auto;
}
.home-why__card {
  width: 100%;
}
@media screen and (min-width: 768px) {
  .home-why__card {
    width: calc((100% - 16px) / 2);
    padding: 24px;
    gap: 32px;
    min-height: 156px;
  }
}
@media screen and (min-width: 1280px) {
  .home-why__card {
    width: calc((100% - 48px) / 3);
    min-height: 196px;
  }
}

.home-why__card-title {
  font-family: var(--heading-font-family);
  font-weight: 500;
  color: var(--white);
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -1px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .home-why__card-title {
    font-size: 24px;
  }
}
@media screen and (min-width: 1280px) {
  .home-why__card-title {
    font-size: 32px;
  }
}

/* ============================================================
   Home "Meet Dr Matthew El-Azzi"
   ============================================================ */
.home-doctor {
  position: relative;
  overflow: hidden;
  padding: 0;
  background-color: #ece1d6;
}

/* ---- Media ----
   Mobile only: top banner. Tablet & up (like the Figma desktop): photo bleeds
   off the right, its left edge masked to fade into the beige background. */
.home-doctor__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 375/320;
}
.home-doctor__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(55%, rgba(236, 225, 214, 0)), to(#ece1d6));
  background: linear-gradient(180deg, rgba(236, 225, 214, 0) 55%, #ece1d6 100%);
}
@media screen and (min-width: 768px) {
  .home-doctor__media {
    position: absolute;
    top: 0;
    right: -250px;
    bottom: 0;
    width: 90%;
    aspect-ratio: auto;
  }
  .home-doctor__media::after {
    display: none;
  }
}
@media screen and (min-width: 1280px) {
  .home-doctor__media {
    right: 0;
    width: 58%;
  }
}

.home-doctor__photo {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top center;
     object-position: top center;
}
@media screen and (min-width: 768px) {
  .home-doctor__photo {
    -o-object-position: center right;
       object-position: center right;
    -webkit-mask-image: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(35%, #000));
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
    mask-image: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(35%, #000));
    mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
  }
}

/* ---- Layout ---- */
.home-doctor__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  gap: 24px;
  padding-block: 40px 48px;
}
@media screen and (min-width: 768px) {
  .home-doctor__inner {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    text-align: left;
    padding-block: 80px;
    min-height: 640px;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

.home-doctor__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 16px;
}
@media screen and (min-width: 768px) {
  .home-doctor__content {
    position: relative;
    z-index: 1;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    max-width: 500px;
  }
}
@media screen and (min-width: 1280px) {
  .home-doctor__content {
    max-width: 620px;
  }
}

/* ---- Title (standalone heading, not the global `.title`) ---- */
.home-doctor__title {
  font-family: var(--heading-font-family);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.21;
  letter-spacing: -1px;
  color: var(--flint-950);
}
@media screen and (min-width: 768px) {
  .home-doctor__title {
    font-size: 48px;
  }
}
.home-doctor__title span {
  color: var(--muddy-waters-400);
  background-image: var(--accent-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  font-style: italic;
  text-transform: uppercase;
}
@media screen and (min-width: 768px) {
  .home-doctor__title span {
    font-size: 44px;
  }
}

/* ---- Checklist ---- */
.home-doctor__features {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
}

.home-doctor__feature {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  text-align: left;
}
@media screen and (min-width: 768px) {
  .home-doctor__feature {
    gap: 16px;
  }
}

.home-doctor__check {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 16px;
  height: 16px;
}
@media screen and (min-width: 768px) {
  .home-doctor__check {
    width: 24px;
    height: 24px;
  }
}

.home-doctor__feature-text {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  color: #222;
}
@media screen and (min-width: 768px) {
  .home-doctor__feature-text {
    font-size: 20px;
  }
}

/* ---- Actions ---- */
.home-doctor__actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 8px;
}
@media screen and (min-width: 768px) {
  .home-doctor__actions {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    margin-top: 24px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    gap: 24px;
  }
}

/* ============================================================
   Home "Treatment Process"
   Skeleton only — styles to be written.
   ============================================================ */
.home-process__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media screen and (min-width: 1280px) {
  .home-process__inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---- Left column: badge / title / text / video ---- */
.home-process__header {
  margin-bottom: 32px;
}
@media screen and (min-width: 1280px) {
  .home-process__header {
    margin-bottom: 40px;
  }
}

/* ---- Video thumbnail: shared look comes from `.video-thumb`
   (partials/components/video-thumb); here we only set size + radius. ---- */
.home-process__media {
  border-radius: 16px;
  aspect-ratio: 604/368;
}

/* ---- Right column: step cards ---- */
.home-process__steps {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 24px;
}
@media screen and (min-width: 768px) {
  .home-process__steps {
    -ms-flex-item-align: end;
        align-self: end;
  }
}

.home-process__card {
  border: 1px solid var(--Flint-200, #f0e9e0);
  border-radius: 16px;
  padding: 0 16px 16px;
}
@media screen and (min-width: 1280px) {
  .home-process__card {
    padding: 0 32px 32px;
  }
}

.home-process__day {
  border-radius: 0 0 4px 4px;
  background: var(--Pampas-400, #af9b88);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100px;
  height: 28px;
  padding: 2px 8px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: -1px;
  color: #fff;
  text-align: center;
  font-variant-numeric: lining-nums proportional-nums;
  font-family: Geist;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.32px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.home-process__card-title {
  color: var(--Flint-950, #1c1917);
  font-size: 20px;
  font-weight: 500;
  line-height: 140%; /* 28px */
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}

.home-process__card-text {
  font-size: 16px;
}
@media screen and (min-width: 1280px) {
  .home-process__card-text {
    font-size: 20px;
  }
}

/* ============================================================
   Home "Testimonials" slider
   Header uses the global `.section-header--centered`; nav buttons and
   pagination reuse the shared `.slider-btn` / `.swiper-pagination-bullets`.
   ============================================================ */
.home-testimonials {
  background-color: var(--muddy-waters-50);
}

.home-testimonials__slider {
  position: relative;
}

/* Equal-height cards: let slides stretch, card fills the slide. */
.home-testimonials__swiper .swiper-slide {
  height: auto;
}

.home-testimonials__card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 24px;
  height: 100%;
  padding: 24px;
  border-radius: 24px;
  background-color: var(--white);
}
@media screen and (min-width: 1280px) {
  .home-testimonials__card {
    padding: 32px;
  }
}

.home-testimonials__rating {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 136px;
  height: 24px;
}

.home-testimonials__quote {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  color: var(--flint-500);
}
@media screen and (min-width: 1280px) {
  .home-testimonials__quote {
    font-size: 18px;
  }
}

/* ---- Controls: prev / dots / next in one row below the slider ---- */
.home-testimonials__controls {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-top: 40px;
}

.home-testimonials__nav--prev img {
  -webkit-transform: scaleX(-1);
          transform: scaleX(-1);
}

/* ============================================================
   Home "Patient Video Stories" slider
   Header uses the global `.section-header--centered`; the video reuses the
   shared `.video-thumb` component; nav/pagination reuse `.slider-btn` /
   `.swiper-pagination-bullets`. One story per view on every breakpoint.
   ============================================================ */
.home-stories__slider {
  position: relative;
}

/* Each slide: video on top (mobile) / left (desktop), content below / right. */
.home-stories__story {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 24px;
}
@media screen and (min-width: 1280px) {
  .home-stories__story {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 40px;
  }
}

.home-stories__media {
  border-radius: 16px;
  aspect-ratio: 588/360;
}
@media screen and (min-width: 1280px) {
  .home-stories__media {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 588px;
            flex: 0 0 588px;
    max-width: 588px;
  }
}

.home-stories__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 24px;
}
@media screen and (min-width: 1280px) {
  .home-stories__content {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 0px;
            flex: 1 1 0;
    min-width: 0;
  }
}

.home-stories__quote-title {
  margin: 0;
  font-family: var(--heading-font-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -1px;
  color: var(--flint-950);
}
@media screen and (min-width: 1280px) {
  .home-stories__quote-title {
    font-size: 32px;
  }
}

.home-stories__quote-text {
  color: var(--flint-500);
  font-size: 16px;
  line-height: 1.56;
  letter-spacing: -0.5px;
}

/* Decorative rule (the <hr> between the story and the meta) —
   gold in the middle, fading out to transparent on both ends. */
.home-stories__rule {
  width: 100%;
  height: 1px;
  border: 0;
  background: -webkit-gradient(linear, left top, right top, from(rgba(188, 139, 75, 0)), color-stop(50%, var(--muddy-waters-400)), to(rgba(188, 139, 75, 0)));
  background: linear-gradient(90deg, rgba(188, 139, 75, 0) 0%, var(--muddy-waters-400) 50%, rgba(188, 139, 75, 0) 100%);
}
@media screen and (min-width: 768px) {
  .home-stories__rule {
    margin: 0;
    width: 320px;
  }
}

/* ---- Treatment meta ---- */
.home-stories__meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
}
@media screen and (min-width: 1280px) {
  .home-stories__meta {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    gap: 40px;
  }
}

.home-stories__treatment {
  margin: 0;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
  color: var(--pampas-950);
}
@media screen and (min-width: 1280px) {
  .home-stories__treatment {
    width: 200px;
  }
}

.home-stories__duration {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: baseline;
      -ms-flex-align: baseline;
          align-items: baseline;
  gap: 4px 8px;
}
@media screen and (min-width: 1280px) {
  .home-stories__duration {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 4px;
    width: 200px;
  }
}

.home-stories__duration-label {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.32px;
  color: #5e5d75;
}

.home-stories__duration-value {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
  color: var(--pampas-950);
}

/* ---- Controls: prev / dots / next in one row below the slider ---- */
.home-stories__controls {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-top: 40px;
}

.home-stories__nav--prev img {
  -webkit-transform: scaleX(-1);
          transform: scaleX(-1);
}

/* ============================================================
   Home "Payment Plans" / pricing
   ============================================================ */
.home-pricing {
  background-color: var(--muddy-waters-50);
}

.home-pricing__panel {
  background-color: var(--white);
  border-radius: 16px;
  padding: 16px;
}
@media screen and (min-width: 768px) {
  .home-pricing__panel {
    padding: 24px;
  }
}
@media screen and (min-width: 1280px) {
  .home-pricing__panel {
    padding: 40px;
  }
}

.home-pricing__header {
  max-width: 846px;
  margin-inline: auto;
}

.home-pricing__text {
  max-width: 700px;
}

/* ---- Cards grid ---- */
.home-pricing__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media screen and (min-width: 768px) {
  .home-pricing__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.home-pricing__card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--flint-200);
  border-radius: 16px;
  background-color: var(--white);
}
@media screen and (min-width: 1280px) {
  .home-pricing__card {
    padding: 32px 64px;
  }
}

.home-pricing__card-top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
}

.home-pricing__card-title {
  font-family: var(--heading-font-family);
  font-weight: 500;
  color: var(--flint-950);
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -1px;
  text-align: center;
}
@media screen and (min-width: 1280px) {
  .home-pricing__card-title {
    font-size: 32px;
  }
}

.home-pricing__divider {
  width: 100%;
  height: 1px;
  background-image: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(var(--muddy-waters-200)), to(transparent));
  background-image: linear-gradient(90deg, transparent, var(--muddy-waters-200), transparent);
}

.home-pricing__price-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-height: 72px;
}
@media screen and (min-width: 1280px) {
  .home-pricing__price-wrap {
    min-height: 83px;
  }
}

.home-pricing__from {
  margin: 0;
  letter-spacing: -0.5px;
}

.home-pricing__price {
  margin: 0;
  font-family: var(--heading-font-family);
  font-weight: 600;
  color: var(--muddy-waters-400);
  font-size: 32px;
  line-height: 1.21;
  letter-spacing: -1px;
  text-align: center;
  text-wrap: balance;
}
.home-pricing__price i {
  font-size: 20px;
  font-style: normal;
}
@media screen and (min-width: 1280px) {
  .home-pricing__price {
    font-size: 48px;
  }
  .home-pricing__price i {
    font-size: 32px;
    font-style: normal;
  }
}
.home-pricing__price span {
  font-size: 16px;
  letter-spacing: -0.5px;
  color: var(--flint-950);
}

.home-pricing__card-text {
  text-align: center;
  letter-spacing: -0.5px;
}

/* ---- Disclaimer ---- */
.home-pricing__note {
  max-width: 846px;
  margin-block: 24px 0;
  margin-inline: auto;
  text-align: center;
}
@media screen and (min-width: 1280px) {
  .home-pricing__note {
    margin-top: 40px;
  }
}
.home-pricing__note b,
.home-pricing__note strong {
  color: var(--flint-950);
  font-weight: 500;
}

/* ============================================================
   Home "Know Your Exact Treatment Cost"
   ============================================================ */
.home-cost {
  background-color: var(--white);
}

.home-cost__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 24px;
  background-color: #ece1d6;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
  padding-bottom: 16px;
}
@media screen and (min-width: 768px) {
  .home-cost__card {
    gap: 24px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    gap: 0;
    min-height: 473px;
    padding: 40px 64px;
  }
}

/* ---- Media ---- */
.home-cost__media {
  position: relative;
  width: 100%;
  aspect-ratio: 375/300;
}
@media screen and (min-width: 768px) {
  .home-cost__media {
    position: absolute;
    inset: 0 auto 0 0;
    width: 60%;
    height: 100%;
    aspect-ratio: auto;
  }
}

.home-cost__photo {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center top;
     object-position: center top;
  max-height: 350px;
}
@media screen and (min-width: 768px) {
  .home-cost__photo {
    max-height: none;
    -o-object-position: center;
       object-position: center;
    -webkit-mask-image: -webkit-gradient(linear, left top, right top, color-stop(55%, #000), to(transparent));
    -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 100%);
    mask-image: -webkit-gradient(linear, left top, right top, color-stop(55%, #000), to(transparent));
    mask-image: linear-gradient(90deg, #000 55%, transparent 100%);
  }
}

.home-cost__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(60%, rgba(236, 225, 214, 0)), to(#ece1d6));
  background: linear-gradient(180deg, rgba(236, 225, 214, 0) 60%, #ece1d6 100%);
}
@media screen and (min-width: 768px) {
  .home-cost__media::after {
    display: none;
  }
}

/* ---- Floating "5000+" glass badge ---- */
.home-cost__badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  background-color: rgba(255, 255, 255, 0.6);
  border: 3px solid rgba(255, 255, 255, 0.7);
  -webkit-box-shadow: 0 0 16.7px rgba(137, 110, 88, 0.4);
          box-shadow: 0 0 16.7px rgba(137, 110, 88, 0.4);
  backdrop-filter: blur(8px);
  isolation: isolate;
  -webkit-backdrop-filter: blur(8px);
}
@media screen and (min-width: 1280px) {
  .home-cost__badge {
    left: 24px;
    bottom: 24px;
    padding: 16px;
  }
}

.home-cost__badge-image {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: auto;
  height: 44px;
  -o-object-fit: contain;
     object-fit: contain;
}
@media screen and (min-width: 768px) {
  .home-cost__badge-image {
    height: 50px;
  }
}

.home-cost__badge-text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 2px;
  color: #2e2316;
}

.home-cost__badge-number {
  font-family: var(--heading-font-family);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.6px;
}

.home-cost__badge-label {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.28px;
}

/* ---- Content ---- */
.home-cost__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  gap: 24px;
  padding-inline: 16px;
}
@media screen and (min-width: 768px) {
  .home-cost__content {
    position: relative;
    z-index: 1;
    width: 54%;
    margin-left: auto;
    padding-inline: 0;
  }
}
@media screen and (min-width: 1280px) {
  .home-cost__content {
    width: 48%;
  }
}

.home-cost__title {
  font-family: var(--heading-font-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -1px;
  color: var(--flint-950);
  text-align: center;
  margin: 0 auto;
}
@media screen and (min-width: 768px) {
  .home-cost__title {
    margin: 0;
    text-align: left;
    font-size: 40px;
  }
}
.home-cost__title span {
  color: var(--muddy-waters-400);
  background-image: var(--accent-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  font-style: italic;
  text-transform: uppercase;
}

/* ---- Checklist ---- */
.home-cost__features {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
}

.home-cost__feature {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: left;
}
@media screen and (min-width: 768px) {
  .home-cost__feature {
    gap: 16px;
  }
}

.home-cost__check {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 20px;
  height: 20px;
}
@media screen and (min-width: 768px) {
  .home-cost__check {
    width: 24px;
    height: 24px;
  }
}

.home-cost__feature-text {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  color: #222;
}
@media screen and (min-width: 768px) {
  .home-cost__feature-text {
    font-size: 20px;
  }
}

@media screen and (max-width: 767px) {
  .home-cost__btn {
    width: 100%;
  }
}

/* ============================================================
   Home "FAQ"
   ============================================================ */
.home-faq {
  background-color: var(--muddy-waters-50);
}

.home-faq__panel {
  background-color: var(--white);
  border-radius: 16px;
  padding: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 24px;
}
@media screen and (min-width: 768px) {
  .home-faq__panel {
    padding: 24px;
    gap: 40px;
  }
}
@media screen and (min-width: 1280px) {
  .home-faq__panel {
    padding: 40px;
  }
}

.home-faq__header {
  max-width: 846px;
  margin-inline: auto;
  margin-bottom: 0;
}

.home-faq__text {
  max-width: 700px;
}

/* ---- Footer ---- */
.home-faq__footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 24px;
  max-width: 846px;
  margin-inline: auto;
  text-align: center;
}
@media screen and (min-width: 1280px) {
  .home-faq__footer {
    gap: 40px;
  }
}

.home-faq__footer-text {
  font-weight: 600;
  color: var(--pampas-950);
}

/* ============================================================
   Home final CTA — "Ready to Take the First Step"
   ============================================================ */
.home-cta {
  color: var(--white);
  background-image: linear-gradient(110deg, #130f0e 0%, #44382c 100%);
}

.home-cta__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 40px;
}
@media screen and (min-width: 768px) {
  .home-cta__inner {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
}

.home-cta__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
}
@media screen and (min-width: 768px) {
  .home-cta__content {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 0px;
            flex: 1 0 0;
    min-width: 0;
  }
}

.home-cta__header {
  max-width: 630px;
  margin-inline: auto;
}

.home-cta__title {
  font-family: var(--heading-font-family);
  font-weight: 600;
  color: var(--white);
  font-size: 32px;
  line-height: 1.21;
  letter-spacing: -1px;
}
@media screen and (min-width: 768px) {
  .home-cta__title {
    font-size: 48px;
  }
}
@media screen and (min-width: 1280px) {
  .home-cta__title {
    font-size: 64px;
  }
}
.home-cta__title span {
  font-weight: 500;
  font-style: italic;
  text-transform: uppercase;
}

.home-cta__text {
  max-width: 590px;
  color: var(--flint-200);
  text-align: center;
}

/* ---- Actions ---- */
.home-cta__actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 16px;
  width: 100%;
}
@media screen and (min-width: 1280px) {
  .home-cta__actions {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 24px;
    width: auto;
  }
}

/* ---- Media ---- */
.home-cta__media {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 343/240;
}
@media screen and (min-width: 768px) {
  .home-cta__media {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 0px;
            flex: 1 0 0;
    min-width: 0;
    aspect-ratio: auto;
    height: 368px;
  }
}

.home-cta__photo {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* ============================================================
   Home "Inside Iconic Smiles" (case studies) video slider
   Header uses the global `.section-header--centered`; each card reuses the
   shared `.video-thumb` look; nav/pagination reuse `.slider-btn` /
   `.swiper-pagination-bullets`. 4 cards per view → 2 tablet → 1 mobile.
   ============================================================ */
.home-cases__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 40px;
}

.home-cases__slider {
  position: relative;
}

.home-cases__card {
  display: block;
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 294/385;
}

/* ---- Controls: prev / dots / next in one row below the slider ---- */
.home-cases__controls {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin-top: 24px;
}
@media screen and (min-width: 1280px) {
  .home-cases__controls {
    margin-top: 40px;
  }
}

.home-cases__nav--prev img {
  -webkit-transform: scaleX(-1);
          transform: scaleX(-1);
}

/* ============================================================
   Home "Contact Us" section
   ============================================================ */
.home-contact {
  background-color: var(--muddy-waters-50);
}

.home-contact__card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 40px;
  padding: 16px;
  border-radius: 16px;
  background-color: var(--white);
}
@media screen and (min-width: 768px) {
  .home-contact__card {
    padding: 32px;
  }
}
@media screen and (min-width: 1280px) {
  .home-contact__card {
    padding: 40px;
  }
}

/* ---- Header ---- */
.home-contact__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.home-contact__title {
  margin: 0;
  text-align: center;
}
.home-contact__title span {
  font-style: italic;
}

.home-contact__text {
  max-width: 700px;
  margin: 0 auto;
}

.home-contact__rule {
  display: block;
  width: 100%;
  height: 1px;
  background-image: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(var(--muddy-waters-200)), to(transparent));
  background-image: linear-gradient(90deg, transparent, var(--muddy-waters-200), transparent);
}

.home-contact__rule--wide {
  max-width: 320px;
}

/* ---- Trust cards ---- */
.home-contact__benefits {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media screen and (min-width: 768px) {
  .home-contact__benefits {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

.home-contact__benefit {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 16px;
  padding: 32px 24px;
  text-align: center;
  background-color: var(--white);
  border: 1px solid var(--flint-200);
  border-radius: 16px;
}

.home-contact__benefit-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  width: 100%;
}

.home-contact__benefit-title {
  font-family: var(--heading-font-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
  color: var(--flint-950);
}
@media screen and (min-width: 768px) {
  .home-contact__benefit-title {
    font-size: 28px;
  }
}
@media screen and (min-width: 1280px) {
  .home-contact__benefit-title {
    font-size: 32px;
    letter-spacing: -1px;
  }
}

.home-contact__benefit-subtitle {
  font-weight: 500;
  font-size: 18px;
  color: var(--flint-500);
}
@media screen and (min-width: 1280px) {
  .home-contact__benefit-subtitle {
    font-size: 20px;
  }
}

/* ---- Form panel ---- */
.home-contact__form-panel {
  position: relative;
  padding: 16px;
  border-radius: 16px;
  background-color: var(--muddy-waters-50);
}
@media screen and (min-width: 768px) {
  .home-contact__form-panel {
    padding: 32px;
  }
}
@media screen and (min-width: 1280px) {
  .home-contact__form-panel {
    padding: 40px;
  }
}

.home-contact__form-head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}

.home-contact__form-title {
  font-family: var(--heading-font-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.24px;
  text-align: center;
  color: var(--pampas-950);
}
@media screen and (min-width: 768px) {
  .home-contact__form-title {
    font-size: 24px;
  }
}

/* ---- Form ---- */
.home-contact__form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 24px;
}

.home-contact__form[hidden] {
  display: none;
}

.home-contact__grid {
  display: grid;
  gap: 16px;
}
@media screen and (min-width: 768px) {
  .home-contact__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.home-contact__field {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
}

@media screen and (min-width: 768px) {
  .home-contact__field--full {
    grid-column: 1/-1;
  }
}

.home-contact__label {
  color: var(--pampas-950);
  font-size: 16px;
  letter-spacing: -0.5px;
}

.home-contact__field:has(:required) .home-contact__label::after {
  content: " *";
  color: var(--error);
}

.home-contact__input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background-color: var(--white);
  border: 1px solid transparent;
  border-radius: 8px;
  outline: none;
  color: var(--flint-950);
  font-family: inherit;
  font-size: 16px;
  -webkit-transition: border-color 200ms var(--cubic);
  transition: border-color 200ms var(--cubic);
}
.home-contact__input::-webkit-input-placeholder {
  color: var(--flint-500);
}
.home-contact__input::-moz-placeholder {
  color: var(--flint-500);
}
.home-contact__input:-ms-input-placeholder {
  color: var(--flint-500);
}
.home-contact__input::-ms-input-placeholder {
  color: var(--flint-500);
}
.home-contact__input::placeholder {
  color: var(--flint-500);
}
.home-contact__input:focus-visible {
  border-color: var(--muddy-waters-400);
}

.home-contact__input.is-invalid {
  border-color: var(--error);
}

.home-contact__textarea {
  height: auto;
  min-height: 96px;
  padding: 16px;
  line-height: 1.5;
  resize: vertical;
}

/* ---- Consent ---- */
.home-contact__consent {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  color: var(--pampas-950);
  font-size: 16px;
  line-height: 1.56;
}
@media (pointer: fine) {
  .home-contact__consent {
    cursor: pointer;
  }
}

.home-contact__consent-input {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--muddy-waters-400);
}
@media (pointer: fine) {
  .home-contact__consent-input {
    cursor: pointer;
  }
}

/* ---- Submit ---- */
.home-contact__submit {
  -ms-flex-item-align: center;
      align-self: center;
  margin-top: 8px;
}

/* ---- Honeypot ---- */
.home-contact__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---- Success ---- */
.home-contact__success {
  text-align: center;
}

.home-contact__success-title {
  margin-bottom: 12px;
  font-family: var(--heading-font-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.3;
  color: var(--flint-950);
}

.home-contact__success-text {
  max-width: 600px;
  margin-inline: auto;
}

.home-contact__success-btn {
  margin-top: 24px;
}

.consultation {
  position: relative;
}

.consultation__wizard {
  position: relative;
}

.consultation__back-home {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 6px;
  margin-bottom: 32px;
  color: var(--flint-500);
  font-size: 14px;
  font-weight: 500;
  -webkit-transition: var(--transition-color);
  transition: var(--transition-color);
}
@media (hover: hover) and (pointer: fine) {
  .consultation__back-home:hover {
    color: var(--muddy-waters-400);
  }
}

/* ---- Shared header (steps 1–11) and success header ---- */
.consultation__head,
.consultation__success {
  max-width: 846px;
  margin: 0 auto;
  text-align: center;
}

.consultation__badge {
  margin-bottom: 16px;
}

.consultation__title {
  margin-bottom: 16px;
}

.consultation__subtitle {
  color: var(--flint-500);
  font-size: 16px;
  line-height: 1.5;
}

/* ---- Card ---- */
.consultation__form {
  margin-top: 40px;
}

.consultation__card {
  max-width: 600px;
  margin: 0 auto;
  padding: 32px 24px;
  background-color: var(--muddy-waters-50);
  border-radius: 16px;
}
@media screen and (min-width: 768px) {
  .consultation__card {
    padding: 40px;
  }
}

.consultation__step[hidden] {
  display: none;
}

.consultation__question {
  text-align: center;
  color: var(--flint-950);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.consultation__question--statement {
  text-align: left;
  font-weight: 600;
}

.consultation__divider {
  display: block;
  width: 100%;
  height: 1px;
  margin: 16px 0 24px;
  background: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(50%, var(--muddy-waters-400)), to(transparent));
  background: linear-gradient(90deg, transparent, var(--muddy-waters-400) 50%, transparent);
}

/* ---- Radio options ---- */
.consultation__options {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.consultation__option {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
}
@media (pointer: fine) {
  .consultation__option {
    cursor: pointer;
  }
}

.consultation__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.consultation__option-mark {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1px solid var(--pampas-400);
  border-radius: 50%;
  background-color: var(--white);
  -webkit-transition: border-color 200ms var(--cubic);
  transition: border-color 200ms var(--cubic);
}

.consultation__option input:checked ~ .consultation__option-mark {
  border-color: var(--muddy-waters-400);
  -webkit-box-shadow: inset 0 0 0 4px var(--muddy-waters-400);
          box-shadow: inset 0 0 0 4px var(--muddy-waters-400);
}

.consultation__option input:focus-visible ~ .consultation__option-mark {
  outline: 2px solid var(--muddy-waters-400);
  outline-offset: 2px;
}

.consultation__option-text {
  color: var(--flint-950);
  font-size: 16px;
  line-height: 1.4;
}

/* ---- Text inputs ---- */
.consultation__field {
  margin-bottom: 24px;
}

.consultation__label {
  display: block;
  margin-bottom: 8px;
  color: var(--flint-500);
  font-size: 14px;
}

.consultation__input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background-color: var(--white);
  border: 1px solid var(--pearl-bush-200);
  border-radius: 8px;
  outline: none;
  color: var(--flint-950);
  font-family: inherit;
  font-size: 16px;
  -webkit-transition: border-color 200ms var(--cubic);
  transition: border-color 200ms var(--cubic);
}
.consultation__input::-webkit-input-placeholder {
  color: var(--pampas-400);
}
.consultation__input::-moz-placeholder {
  color: var(--pampas-400);
}
.consultation__input:-ms-input-placeholder {
  color: var(--pampas-400);
}
.consultation__input::-ms-input-placeholder {
  color: var(--pampas-400);
}
.consultation__input::placeholder {
  color: var(--pampas-400);
}
.consultation__input:focus-visible {
  border-color: var(--muddy-waters-400);
}

.consultation__input.is-invalid {
  border-color: var(--error);
}

/* ---- Footer: nav + consent ---- */
.consultation__nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.consultation__btn {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  height: 54px;
}

.consultation__consent {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  max-width: 600px;
  margin: 24px auto 0;
  color: var(--flint-500);
  font-size: 13px;
  line-height: 1.3;
}
@media (pointer: fine) {
  .consultation__consent {
    cursor: pointer;
  }
}

.consultation__consent-input {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--muddy-waters-400);
}

.consultation__consent a {
  text-decoration: underline;
}

/* ---- Embed (ClaireAI chat / Calendly iframe / any widget) ---- */
.consultation__embed {
  margin-bottom: 24px;
}
.consultation__embed iframe {
  width: 100%;
  min-height: 600px;
  border: 0;
}

/* ---- Honeypot ---- */
.consultation__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---- Success screen ---- */
.consultation__success .consultation__subtitle {
  margin-bottom: 32px;
}

.consultation__success .consultation__btn {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}

.legal {
  padding-top: 200px;
}

.legal-hero__title {
  margin-bottom: 60px;
  color: var(--neutral-white, #fffffe);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.58);
  font-size: 44px;
  font-weight: 600;
  line-height: 127%;
  text-transform: uppercase;
}
@media screen and (min-width: 768px) {
  .legal-hero__title::after {
    bottom: 11px !important;
  }
}
@media screen and (min-width: 1280px) {
  .legal-hero__title {
    margin-bottom: 80px;
    font-size: 56px;
  }
  .legal-hero__title::after {
    bottom: 14px !important;
  }
}

.legal-layout {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 60px;
}
@media screen and (min-width: 768px) {
  .legal-layout {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    gap: 32px;
  }
}

.legal-sidebar {
  width: 100%;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
@media screen and (min-width: 768px) {
  .legal-sidebar {
    max-width: 405px;
  }
}

.legal-ptoc__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 4px;
}

.legal-ptoc__item {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  border-bottom: 1px solid transparent;
  -webkit-transition: border-bottom 300ms linear;
  transition: border-bottom 300ms linear;
}
@media (hover: hover) and (pointer: fine) {
  .legal-ptoc__item:hover {
    border-bottom: 1px solid var(--accent-yellow);
  }
  .legal-ptoc__item:hover .legal-ptoc__link {
    opacity: 1;
  }
}

.legal-ptoc__link {
  display: block;
  padding: 8px 0;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  color: var(--neutral-white);
  opacity: 0.7;
  -webkit-transition: var(--transition-opacity);
  transition: var(--transition-opacity);
}

.legal-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 32px;
}

.legal-article {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
}
@media screen and (min-width: 768px) {
  .legal-article {
    gap: 24px;
  }
}

.legal-article__title {
  color: var(--neutral-white);
  font-size: 18px;
  font-weight: 500;
  line-height: 120%;
}
@media screen and (min-width: 1280px) {
  .legal-article__title {
    font-size: 20px;
  }
}

.cookie-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.cookie-content h2,
.cookie-content h3,
.cookie-content h4,
.cookie-content h5,
.cookie-content h6 {
  font-weight: 500;
}
.cookie-content .cookies-per-purpose div {
  background-color: #3c3c3c !important;
}
.cookie-content input {
  margin: 0;
  padding: 4px;
  height: 18px;
  width: 18px;
  min-width: 18px;
  accent-color: var(--accent-yellow);
}

.screen-reader-text {
  display: none !important;
}

.cmplz-always-active {
  color: var(--accent-yellow) !important;
}

button.cmplz-btn.cmplz-manage-consent.manage-consent-1 {
  display: none;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background-color: var(--muddy-waters-50);
  border-top: 1px solid var(--flint-200);
  padding-block: 56px;
}
@media screen and (min-width: 768px) {
  .footer {
    padding-block: 72px;
  }
}
@media screen and (min-width: 1280px) {
  .footer {
    padding-block: 80px;
  }
}

.footer__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 32px;
}

/* ---- Top: brand + navigation ---- */
.footer__top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 40px;
}
@media screen and (min-width: 768px) {
  .footer__top {
    gap: 48px;
  }
}
@media screen and (min-width: 1280px) {
  .footer__top {
    display: grid;
    grid-template-columns: 342px 1fr;
    gap: 64px;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: start;
  }
}

.footer__brand {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 24px;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .footer__brand {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    text-align: left;
  }
}
@media screen and (min-width: 1280px) {
  .footer__brand {
    max-width: 342px;
  }
}

.footer__logo {
  display: block;
}
.footer__logo img {
  display: block;
  width: 180px;
  height: auto;
}
@media screen and (min-width: 1280px) {
  .footer__logo img {
    width: 220px;
  }
}

.footer__description {
  margin: 0;
  font-size: 16px;
  line-height: 1.56;
  letter-spacing: -0.5px;
  color: var(--flint-500);
}

/* ---- Navigation columns ---- */
.footer__nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 32px;
}
@media screen and (min-width: 768px) {
  .footer__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
@media screen and (min-width: 1280px) {
  .footer__nav {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.footer__col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
}

.footer__col-title {
  font-family: Geist;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.56;
  text-transform: uppercase;
  color: var(--flint-950);
}

.footer__col-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 8px;
}

.footer__link {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  padding: 4px;
  font-size: 16px;
  line-height: 1.56;
  letter-spacing: -0.5px;
  color: var(--flint-500);
  text-decoration: none;
  -webkit-transition: var(--transition-color);
  transition: var(--transition-color);
}
@media (hover: hover) and (pointer: fine) {
  .footer__link:hover {
    color: var(--muddy-waters-400);
  }
}

/* ---- Get In Touch column ---- */
.footer__contacts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
}

.footer__contact {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 16px;
  color: var(--flint-500);
  font-size: 16px;
  line-height: 1.56;
  letter-spacing: -0.5px;
  text-decoration: none;
}

a.footer__contact {
  -webkit-transition: var(--transition-color);
  transition: var(--transition-color);
}
@media (hover: hover) and (pointer: fine) {
  a.footer__contact:hover {
    color: var(--muddy-waters-400);
  }
}

.footer__contact-icon {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 24px;
  height: 24px;
}

/* ---- Bottom: follow + copyright ---- */
.footer__bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 24px;
  border-top: 1px solid var(--flint-200);
  border-bottom: 1px solid var(--flint-200);
  padding-block: 24px;
}
@media screen and (min-width: 768px) {
  .footer__bottom {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

.footer__follow {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 16px;
}

.footer__follow-label {
  font-family: Geist;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.56;
  text-transform: uppercase;
  color: var(--flint-950);
}

.footer__socials {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__social {
  display: block;
  width: 32px;
  height: 32px;
  -webkit-transition: opacity 300ms var(--cubic);
  transition: opacity 300ms var(--cubic);
}
.footer__social img {
  display: block;
  width: 32px;
  height: 32px;
  -o-object-fit: contain;
     object-fit: contain;
}
@media (hover: hover) and (pointer: fine) {
  .footer__social:hover {
    opacity: 0.75;
  }
}

.footer__copyright {
  margin: 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.56;
  letter-spacing: -0.5px;
  color: var(--flint-950);
}

.form__fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media screen and (min-width: 768px) {
  .form__fields {
    grid-template-columns: 1fr 1fr;
  }
}

.form__group {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.wpcf7-not-valid-tip {
  position: absolute;
  left: 0;
  bottom: -20px;
  font-size: 14px;
  color: var(--error);
}

.form__group input,
.form__group textarea {
  width: 100%;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--transparent-white-200);
  outline: none;
  height: 28px;
  color: rgba(255, 255, 255, 0.8);
  font-family: Montserrat;
  font-size: 16px;
  font-weight: 400;
  line-height: 148%;
}
.form__group input:focus-visible,
.form__group textarea:focus-visible {
  border-bottom: 1px solid #ffffff;
}

.form__group textarea {
  resize: vertical;
  height: 54px;
  min-height: 54px;
}

@media screen and (min-width: 768px) {
  .form__group:has(textarea) {
    grid-column: 1/3;
  }
}

.form__label {
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
  font-weight: 400;
}

.form__label:has(+ .wpcf7-form-control-wrap [aria-required=true])::after {
  content: " *";
  color: var(--accent-yellow);
}

.form__upload-field {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  height: 28px;
  color: rgba(255, 255, 255, 0.8);
  font-family: Montserrat;
  font-size: 16px;
  font-weight: 400;
  line-height: 148%;
  border-bottom: 1px solid var(--transparent-white-200);
}
@media (pointer: fine) {
  .form__upload-field {
    cursor: pointer;
  }
}

.form__upload-filename {
  width: 320px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding-right: 8px;
}

.form__consent-label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
  font-size: 14px;
  line-height: 126%;
}

.form__consent-label input {
  margin: 0;
  padding: 4px;
  height: 18px;
  width: 18px;
  min-width: 18px;
  accent-color: var(--accent-yellow);
}

.form__consent-link {
  text-decoration: underline;
}

.form__submit {
  display: grid;
  gap: 32px;
  margin-top: 32px;
  grid-template-columns: 1fr;
}
@media screen and (min-width: 768px) {
  .form__submit {
    grid-template-columns: 1fr auto;
  }
}

.form__btn_wrap {
  position: relative;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.wpcf7-spinner {
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  z-index: 1;
  background-color: var(--neutral-black-950);
  opacity: 1;
}

.wpcf7-form-control-wrap[data-name=file-43] {
  display: block;
}

.wpcf7-form-control-wrap[data-name=file-43] input[type=file] {
  display: none;
}