/* ==========================================================
   K-Beauty Xperience MN — Landing Page
   Desktop values are taken 1:1 from the Figma frame (1600px).
   ========================================================== */

/* Display font from the Figma file */
@font-face {
  font-family: "CS Castle";
  src: url("../fonts/cs-castle-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold: linear-gradient(60deg, #A47A3A 27.815%, #C09141 45.902%, #553309 128.17%, #A67A31 194.4%);
  --gold-solid: #A47A3A;
  --gold-light: #C09141;
  --cream: #F8F5F0;
  --text: #707070;
  --dark: #333333;
  --black: #000000;

  --font-display: "CS Castle", Georgia, serif;
  --font-body: "Poppins", Arial, sans-serif;
  --font-inter: "Inter", Arial, sans-serif;
  --font-btn: "Montserrat", Arial, sans-serif;

  --container: 1476px;
  --gutter: clamp(16px, 3.875vw, 62px);

  --fs-h1: 61.022px;
  --fs-h2: 50px;
  --fs-h3: 39px;
  --fs-body: 17.07px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 32px;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }

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

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.text {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 32px;
  letter-spacing: -0.1707px;
  color: var(--text);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: 1.108;
  letter-spacing: -0.5px;
  color: var(--black);
}

.gold-text {
  background: var(--gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-solid);
}

/* ---------- Pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12.216px 30.539px;
  border: 1.222px solid var(--gold-solid);
  border-radius: 37.868px;
  background: rgba(255, 255, 255, 0.16);
  white-space: nowrap;
}

.pill--label {
  font-family: var(--font-inter);
  font-weight: 700;
  font-size: 14.659px;
  line-height: 18px;
  letter-spacing: 0;
}

.pill--display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32.66px;
  line-height: 23px;
  letter-spacing: 0;
}
.pill--display .gold-text { display: block; padding-top: 4px; margin-bottom: -4px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 318px;
  max-width: 100%;
  height: 54.383px;
  padding: 0 16px;
  border: 0.922px solid #fff;
  background: linear-gradient(58.72deg, #A47A3A 27.815%, #C09141 45.902%, #553309 128.17%, #A67A31 194.4%);
  font-family: var(--font-btn);
  font-weight: 400;
  font-size: 21.274px;
  line-height: 1.108;
  letter-spacing: -1.0637px;
  color: #fff;
  white-space: nowrap;
  cursor: pointer;
  transition: filter .3s ease, transform .3s ease, box-shadow .3s ease;
}
.btn img { width: 23.965px; height: 23.965px; flex: none; transition: transform .3s ease; }
.btn:hover { filter: brightness(1.08); box-shadow: 0 10px 24px rgba(164, 122, 58, .28); }
.btn:hover img { transform: rotate(45deg); }
.btn:focus-visible { outline: 2px solid var(--gold-solid); outline-offset: 3px; }

/* ---------- Contact line (header + footer) ---------- */
.contact-line {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.contact-line__label {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 32px;
  letter-spacing: -0.1707px;
  color: var(--text);
}
.contact-line__icon { width: 41.396px; height: 41.837px; margin-left: 20px; flex: none; }
.contact-line__number {
  margin-left: 6.17px;
  min-width: 181px;
  font-family: var(--font-inter);
  font-weight: 700;
  font-size: 23.244px;
  line-height: 28px;
  letter-spacing: -0.32px;
  color: var(--dark);
  transition: color .3s ease;
}
.contact-line__phone { display: inline-flex; align-items: center; }
.contact-line__phone:hover .contact-line__number { color: var(--gold-solid); }
a.contact-line__label { transition: color .3s ease; }
a.contact-line__label:hover { color: var(--gold-solid); }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: #E8E1D8;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(56.7deg, #fff 1.02%, #fff 6.93%, rgba(255, 255, 255, .763) 25.697%, rgba(255, 255, 255, 0) 51.142%),
    url("../images/hero.webp") center / cover no-repeat;
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 43px;
  padding-bottom: 90px;
}

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.site-header__logo { display: block; margin-left: 3px; flex: none; }
.site-header__logo img { width: 172px; height: 130px; object-fit: contain; }
.site-header .contact-line { margin-top: 13px; }

.hero__grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.hero__content {
  max-width: 499px;
  padding-top: 58px;
}
.hero__content .pill { margin-left: 3px; }
.hero__title {
  max-width: 496px;
  margin: 30.97px 0 0 3px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h1);
  line-height: 1.108;
  letter-spacing: -1.8307px;
  color: var(--black);
}
.hero__text {
  max-width: 495px;
  margin: 19.8px 0 0 3px;
  font-size: var(--fs-body);
  line-height: 32px;
  letter-spacing: -0.1707px;
  color: var(--text);
}
.hero__content .btn { margin-top: 37px; }

/* ---------- Form ---------- */
.hero-form {
  flex: none;
  width: 374px;
  padding: 34px 26px 24px 27px;
  background: rgba(217, 217, 217, 0.54);
}
.hero-form__fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.field {
  display: block;
  width: 100%;
  height: 49px;
  padding: 14px 16px;
  border: 1px solid #D1E6E8;
  border-radius: 8px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 21px;
  letter-spacing: 0;
  color: #333;
  outline: none;
  transition: border-color .25s ease, box-shadow .25s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field::placeholder { color: #6E8285; opacity: 1; }
.field:focus { border-color: var(--gold-light); box-shadow: 0 0 0 3px rgba(192, 145, 65, .15); }
.field.is-invalid { border-color: #C0504D; box-shadow: 0 0 0 3px rgba(192, 80, 77, .12); }

.field-select { position: relative; }
.field--select { padding-right: 44px; color: var(--gold-solid); cursor: pointer; }
.field--select option { color: #333; }
.field-select img {
  position: absolute;
  top: 17.5px;
  right: 15px;
  width: 14px;
  height: 14px;
  pointer-events: none;
}
.field--textarea { height: 176px; resize: vertical; min-height: 120px; }

.btn--submit {
  display: flex;
  width: 308px;
  height: 59px;
  margin: 31px auto 0;
  gap: 12px;
  border-width: 1px;
  background: linear-gradient(61.53deg, #A47A3A 27.815%, #C09141 45.902%, #553309 128.17%, #A67A31 194.4%);
  font-size: 23.08px;
  letter-spacing: -1.154px;
}
.btn--submit img { width: 26px; height: 26px; }
.btn--submit[disabled] { opacity: .7; cursor: wait; }

.hero-form__status {
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  color: #333;
}
.hero-form__status:not(:empty) { margin-top: 12px; }
.hero-form__status.is-error { color: #B03A37; }

/* ==========================================================
   ABOUT — A New Standard
   ========================================================== */
.about {
  display: grid;
  grid-template-columns: 44.625% 1fr;
  min-height: 573px;
  background: #fff;
}
.about__media { position: relative; min-height: 100%; }
.about__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__content {
  padding: 74px clamp(24px, 5.75vw, 92px) 72px 47px;
}
.about__title { max-width: 430px; }
.about__text { max-width: 643px; margin-top: 18px; }

.features {
  display: grid;
  grid-template-columns: 292fr 296fr 160fr;
  margin-top: 55px;
  margin-left: -2px;
  padding-top: 39px;
  border-top: 1px solid rgba(0, 0, 0, .28);
}
.feature {
  display: flex;
  align-items: center;
  gap: 17px;
  padding-left: 2px;
  font-size: 17.047px;
  line-height: 23.968px;
  letter-spacing: -0.1705px;
  color: var(--text);
  white-space: nowrap;
}
.feature img { width: 74.892px; height: 74.892px; flex: none; }

/* ==========================================================
   TREATMENTS
   ========================================================== */
.treatments {
  background: var(--cream);
  padding: 69px 0 66px;
}
.treatments__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 67px;
}
.t-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 17px 17px 38px;
  background: #fff;
  text-align: center;
  transition: box-shadow .35s ease, transform .35s ease;
}
.t-card:hover { box-shadow: 0 18px 40px rgba(85, 51, 9, .08); transform: translateY(-4px); }
.t-card__media {
  width: 100%;
  aspect-ratio: 445 / 315;
  overflow: hidden;
}
.t-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.t-card__media--top img { object-position: top; }
.t-card:hover .t-card__media img { transform: scale(1.04); }
.t-card__title {
  margin-top: 39px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h3);
  line-height: 1.108;
  letter-spacing: -0.39px;
  color: var(--black);
}
.t-card__text { max-width: 366px; margin-top: 12px; margin-bottom: 22px; }
.t-card__text--wide { max-width: 414px; }
.t-card__link {
  display: block;
  width: 72px;
  height: 72px;
  margin-top: auto;
  border-radius: 50%;
  transition: transform .3s ease, background-color .3s ease;
}
.t-card__link img { width: 72px; height: 72px; }
.t-card__link:hover { transform: rotate(45deg); background: var(--cream); }

/* ==========================================================
   STRUCTURED METHOD
   ========================================================== */
.method {
  padding: 39px 0;
  background: url("../images/method-bg.webp") center bottom / cover no-repeat;
}
.method__panel {
  position: relative;
  width: 577px;
  max-width: 100%;
  min-height: 668px;
  border-bottom-right-radius: 69px;
  background: rgba(247, 245, 240, .80);
  -webkit-backdrop-filter: blur(28px) saturate(115%);
  backdrop-filter: blur(28px) saturate(115%);
}
.method__title {
  padding: 27px 24px 16.6px 45px;
  border-bottom: 1px solid #C4A267;
  white-space: nowrap;
}
.step {
  position: relative;
  padding: 0 24px 0 45px;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-top: 1px solid rgba(164, 122, 58, .22);
}
.step:nth-child(1) { padding-top: 33px; padding-bottom: 18px; }
.step:nth-child(2) { padding-top: 25px; padding-bottom: 27px; }
.step:nth-child(3) { padding-top: 23px; padding-bottom: 39px; }
.step:nth-child(1) .step__text { margin-top: 14px; }
.step:nth-child(2) .step__text { margin-top: 15px; }
.step:nth-child(3) .step__text { margin-top: 8px; }

.step__title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 23.07px;
  line-height: 32px;
  letter-spacing: -0.1707px;
}
.step__title img { width: 32px; height: 29px; flex: none; }
.step__title .gold-text { background-image: linear-gradient(41deg, #B3873F 0%, #C09141 60%, #A87C35 100%); }
.step__text { max-width: 349px; line-height: 30px; }

.method__badge {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: url("../images/method-panel.webp") -437px -528px / 584px 748px no-repeat;
  box-shadow: 0 22px 34px rgba(30, 20, 14, .28);
}

/* ==========================================================
   K-BEAUTY, MEDICALLY REFINED
   ========================================================== */
.refined {
  padding: 83px 0 96px;
  background: #fff;
  text-align: center;
}
.refined__text { max-width: 1057px; margin: 16px auto 0; }
.refined__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 66px;
}
.r-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px 49px;
  border-radius: 2px;
  background: var(--cream);
}
.r-card > img { width: 131px; height: 131px; transition: transform .5s ease; }
.r-card:hover > img { transform: scale(1.05); }
.r-card .pill { margin-top: 43px; height: 49.874px; }
.r-card .text { margin-top: 28px; }
.refined__cta { margin-top: 63px; }

/* ==========================================================
   TESTIMONIALS
   ========================================================== */
.testimonials {
  padding: 80px 0 66px;
  background: #FBF3E2 url("../images/testimonials-bg.webp") center / cover no-repeat;
}
.testimonials__inner { max-width: 1422px; }
.testimonials__head { text-align: center; }
.testimonials__head .section-title { margin-top: 20px; }

.slider { margin-top: 50.6px; }
.slider__viewport { overflow: hidden; }
.slider__track {
  display: flex;
  gap: 20px;
  will-change: transform;
}
.review {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 20px) / 2);
  min-height: 337px;
  border: 1px solid var(--gold-solid);
  border-radius: 6px;
  background: rgba(255, 255, 255, .41);
}
.review__text {
  flex: 1;
  padding: 43px 61px 33px 62px;
  quotes: none;
}
.review__footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 53px 18px 52px;
  border-top: 1px solid rgba(0, 0, 0, .21);
}
.review__name {
  display: flex;
  align-items: center;
  gap: 10.4px;
  padding-left: 2px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 34.14px;
  line-height: 64px;
  letter-spacing: -0.3414px;
}
.review__name::before {
  content: "";
  width: 30.8px;
  height: 1.6px;
  margin-top: 1px;
  background: linear-gradient(90deg, #A47A3A, #C09141);
  flex: none;
}
.review__footer img { width: 79.992px; height: 58.597px; margin-top: 2px; flex: none; }

.slider__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26.667px;
  margin-top: 54px;
}
.slider__btn {
  width: 53.333px;
  height: 53.333px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  transition: transform .25s ease, filter .25s ease;
}
.slider__btn img { width: 53.333px; height: 53.333px; }
.slider__btn:hover { transform: scale(1.06); filter: brightness(1.05); }
.slider__btn:focus-visible, .slider__dot:focus-visible { outline: 2px solid var(--gold-solid); outline-offset: 3px; }
.slider__dots { display: flex; align-items: center; gap: 8.889px; }
.slider__dot {
  width: 8.889px;
  height: 8.889px;
  padding: 0;
  border: 0;
  border-radius: 4.444px;
  background: #F1F1F1;
  cursor: pointer;
  transition: width .35s ease, background .35s ease;
}
.slider__dot.is-active { width: 26.667px; background: var(--gold); }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer { background: linear-gradient(180deg, rgba(248, 245, 240, 0) 0%, #F8F5F0 100%); }
.footer__grid {
  display: grid;
  grid-template-columns: 632fr 401fr 443fr;
  padding: 58px 0 67px;
}
.footer__brand img { width: 172px; height: 130px; object-fit: contain; }
.footer__brand .text { max-width: 560px; margin: 18px 0 0 4px; }

.footer__location { width: 299px; margin-top: 14px; }
.footer__place {
  display: flex;
  align-items: center;
  gap: 13.4px;
  padding: 0 0 12px 20.4px;
  border-bottom: 1.3px solid rgba(44, 44, 46, .07);
  width: 286px;
}
.footer__place img { width: 41.6px; height: 41.6px; flex: none; }
.footer__place h3 {
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 27.2px;
  line-height: 29px;
  letter-spacing: 0;
  color: var(--black);
}
.footer__address {
  position: relative;
  width: 286px;
  padding: 17px 0 3px 52px;
  border-bottom: 1.3px solid rgba(44, 44, 46, .07);
}
.footer__address img { position: absolute; left: 20.8px; top: 27px; width: 18.2px; height: 18.2px; }
.footer__address address {
  width: 247px;
  font-size: 15.6px;
  line-height: 23.4px;
  letter-spacing: 0;
  color: var(--text);
}
.footer__directions {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 10.4px;
  margin: 17px 0 0 20.7px;
  font-family: var(--font-inter);
  font-weight: 700;
  font-size: 16.9px;
  line-height: 20px;
  letter-spacing: 0.39px;
  color: var(--gold-light);
  transition: color .3s ease;
}
.footer__directions img { width: 19.5px; height: 19.5px; }
.footer__directions:hover { color: #553309; }

.footer__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: end;
  margin-top: 14px;
}
.footer__chat {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: linear-gradient(84.07deg, #A47A3A 27.815%, #C09141 45.902%, #553309 128.17%, #A67A31 194.4%);
  transition: transform .3s ease, box-shadow .3s ease;
}
.footer__chat img { width: 45px; height: 45px; }
.footer__chat:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(164, 122, 58, .35); }
.footer__contact .contact-line { margin-top: 45px; }

.footer__bar {
  background: linear-gradient(12.55deg, #A47A3A 27.815%, #C09141 45.902%, #553309 128.17%, #A67A31 194.4%);
}
.footer__bar p {
  padding-left: 4px;
  font-size: var(--fs-body);
  line-height: 37px;
  letter-spacing: -0.1707px;
  color: #FDFCFA;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

.br-desktop { display: inline; }

/* Structured Method panel — desktop uses the exact Figma glass export (Frame 3) */
@media (min-width: 1200px) {
  .method__panel {
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .method__panel::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 584px;
    height: 748px;
    background: url("../images/method-panel.webp") 0 0 / 584px 748px no-repeat;
    pointer-events: none;
  }
  .method__title, .steps { position: relative; z-index: 1; }
  .method__badge { display: none; }
}

/* ---- Large laptops (1200 – 1439) ---- */
@media (max-width: 1439px) {
  :root {
    --fs-h1: clamp(46px, 3.814vw, 61.022px);
    --fs-h2: clamp(40px, 3.125vw, 50px);
    --fs-h3: clamp(30px, 2.4375vw, 39px);
  }
  .feature { gap: 12px; font-size: 16px; }
  .feature img { width: 64px; height: 64px; }
  .pill--display { font-size: clamp(26px, 2.27vw, 32.66px); }
  .review__text { padding: 40px 44px 30px; }
  .review__footer { padding-left: 40px; padding-right: 40px; }
}

/* ---- Small laptops (992 – 1199) ---- */
@media (max-width: 1199px) {
  :root { --fs-body: 16px; }
  body, .text { line-height: 29px; }
  .hero__text { line-height: 30px; }

  .about { grid-template-columns: 42% 1fr; }
  .about__content { padding: 60px var(--gutter) 60px 40px; }
  .features { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 20px 28px; margin-top: 40px; padding-top: 32px; }

  .t-card__title { margin-top: 30px; }
  .refined__grid { gap: 16px; }
  .r-card .pill { padding-inline: 22px; }
  .pill--display { font-size: clamp(24px, 2.4vw, 32.66px); }
  .review__text { padding: 34px 32px 26px; }
  .review__footer { padding-left: 32px; padding-right: 32px; }
}

/* ---- Tablet (768 – 991) ---- */
@media (max-width: 991px) {
  .br-desktop { display: none; }
  :root {
    --fs-h1: clamp(36px, 6vw, 52px);
    --fs-h2: clamp(32px, 5vw, 44px);
    --fs-h3: 32px;
  }

  /* hero */
  .hero__bg {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .86) 38%, rgba(255, 255, 255, .25) 72%, rgba(255, 255, 255, 0) 100%),
      url("../images/hero.webp") 68% center / cover no-repeat;
  }
  .hero__inner { padding-top: 28px; padding-bottom: 56px; }
  .site-header { align-items: center; }
  .site-header .contact-line { margin-top: 0; }
  .site-header__logo img { width: 136px; height: auto; }
  .hero__grid { flex-direction: column; align-items: stretch; gap: 48px; }
  .hero__content { max-width: 620px; padding-top: 40px; }
  .hero__title, .hero__text { max-width: 600px; }
  .hero-form { width: 100%; max-width: 560px; margin-inline: auto; padding: 28px 24px 24px; background: rgba(232, 228, 224, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

  /* about */
  .about { grid-template-columns: 1fr; }
  .about__media { width: 100%; min-height: 0; height: clamp(260px, 56vw, 460px); justify-self: stretch; }
  .about__media img { object-position: center 40%; }
  .about__content { padding: 56px var(--gutter) 64px; }
  .about__title { max-width: 520px; }
  .about__text { max-width: none; }
  .features { justify-content: space-between; }

  /* treatments + refined */
  .treatments { padding: 64px 0; }
  .treatments__grid, .refined__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 44px; }
  .treatments__grid > :last-child:nth-child(odd),
  .refined__grid > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 10px);
    justify-self: center;
  }
  .refined { padding: 64px 0 72px; }
  .refined__cta { margin-top: 48px; }
  .pill--display { font-size: 28px; }

  /* method */
  .method { padding: 48px 0; background-position: 70% bottom; }
  .method__panel { width: 577px; margin-inline: auto; }

  /* testimonials */
  .testimonials { padding: 64px 0 56px; }
  .review { flex-basis: 100%; min-height: 0; }
  .slider { margin-top: 40px; }
  .slider__nav { margin-top: 40px; }

  /* footer */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; padding: 48px 0 52px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__brand .text { max-width: 560px; margin-left: 0; }
  .footer__location, .footer__contact { margin-top: 0; }
  .footer__contact { justify-self: start; align-items: flex-start; }
  .footer__contact .contact-line { flex-wrap: wrap; row-gap: 8px; }
  .footer__contact .contact-line__label { flex-basis: 100%; }
  .footer__contact .contact-line__icon { margin-left: 0; }
}

/* ---- Mobile (≤ 767) ---- */
@media (max-width: 767px) {
  :root { --fs-body: 15.5px; --fs-h3: 30px; }
  body, .text { line-height: 27px; }

  .site-header__logo img { width: 112px; }
  .site-header .contact-line__label { display: none; }
  .site-header .contact-line__icon { width: 36px; height: 36px; margin-left: 0; }
  .site-header .contact-line__number { min-width: 0; font-size: 18px; letter-spacing: -0.3px; margin-left: 6px; }

  .hero__content { padding-top: 32px; }
  .pill--label { font-size: 12.5px; padding: 10px 20px; white-space: normal; text-align: center; }
  .hero__content .pill { margin-left: 0; }
  .hero__title, .hero__text { margin-left: 0; }
  .hero__title { margin-top: 24px; letter-spacing: -1px; }
  .hero__text { margin-top: 16px; line-height: 27px; }
  .hero__content .btn { margin-top: 28px; }
  .btn { font-size: 19px; height: 52px; width: 300px; letter-spacing: -0.9px; }
  .hero-form { padding: 22px 16px 20px; }
  .btn--submit { width: 100%; font-size: 21px; height: 56px; margin-top: 24px; }

  .feature img { width: 60px; height: 60px; }

  .treatments__grid, .refined__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .treatments__grid > :last-child:nth-child(odd),
  .refined__grid > :last-child:nth-child(odd) { width: 100%; }
  .t-card { padding: 14px 14px 32px; }
  .t-card__title { margin-top: 26px; }

  .method { padding: 0; background: none; }
  .method .container { width: 100%; }
  .method__panel {
    width: 100%;
    min-height: 0;
    padding-bottom: 96px;
    border-radius: 0;
    background: rgba(243, 240, 233, .80) ;
  }
  .method::before {
    content: "";
    display: block;
    aspect-ratio: 1600 / 746;
    background: url("../images/method-bg.webp") 75% bottom / cover no-repeat;
  }
  .method__title { padding: 28px var(--gutter) 18px; white-space: normal; }
  .step { padding-left: var(--gutter); padding-right: var(--gutter); }
  .step:nth-child(n) { padding-top: 24px; padding-bottom: 24px; }
  .step:nth-child(n) .step__text { margin-top: 10px; max-width: none; }
  .step__title { font-size: 21px; }
  .method__badge { width: 100px; height: 100px; right: var(--gutter); bottom: 20px; background-size: 417px 534px; background-position: -312px -377px; }
  .method__panel { background: var(--cream); }

  .refined__text { margin-top: 14px; }
  .r-card { padding: 28px 16px 36px; }
  .r-card > img { width: 112px; height: 112px; }
  .r-card .pill { margin-top: 28px; height: 46px; }
  .pill--display { font-size: 26px; }
  .r-card .text { margin-top: 20px; }

  .review__text { padding: 28px 22px 22px; }
  .review__footer { padding: 10px 22px 14px; align-items: center; }
  .review__name { font-size: 30px; line-height: 48px; }
  .review__footer img { width: 60px; height: auto; }

  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__place, .footer__address { width: 100%; max-width: 320px; }
  .footer__address address { width: auto; }
  .footer__brand img { width: 140px; height: auto; }
  .footer__chat { width: 84px; height: 84px; }
  .footer__chat img { width: 38px; height: 38px; }
  .footer__contact .contact-line { margin-top: 24px; }
  .footer__bar p { font-size: 14px; line-height: 22px; padding: 8px 0; text-align: center; }
}

/* ---- Small phones (≤ 389) ---- */
@media (max-width: 389px) {
  .pill--display { font-size: 22px; }
  .feature { font-size: 12.5px; line-height: 18px; }
  .r-card .pill { padding-inline: 18px; }
  .site-header__logo img { width: 96px; }
  .site-header .contact-line__icon { width: 32px; height: 32px; }
  .site-header .contact-line__number { font-size: 16px; }
  .btn { width: 100%; font-size: 18px; }
  .footer__place, .footer__address { width: 100%; }
  .footer__address address { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* honeypot (spam trap) */
.hp-field { display: none !important; }

/* ==========================================================
   SIMPLE PAGES (thank-you / 404)
   ========================================================== */
.simple-page {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #E8E1D8;
}
.simple-page .hero__bg { position: fixed; }
.simple-page__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding-top: 43px;
  padding-bottom: 56px;
}
.simple-page__content {
  max-width: 620px;
  margin: auto 0;
  padding: 64px 0 24px;
}
.simple-page__code {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(90px, 12vw, 160px);
  line-height: 1;
  letter-spacing: -2px;
}
.simple-page__content .hero__title { max-width: 560px; margin-left: 0; }
.simple-page__content .hero__text { max-width: 540px; margin-left: 0; }
.simple-page__content .pill { margin-left: 0; }
.simple-page__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 32px;
  margin-top: 37px;
}
.simple-page__actions .btn { margin-top: 0; }
.simple-page__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 105px;
  height: 105px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: linear-gradient(84.07deg, #A47A3A 27.815%, #C09141 45.902%, #553309 128.17%, #A67A31 194.4%);
}
.simple-page__check svg { width: 46px; height: 46px; }
.simple-page .footer__bar { position: relative; z-index: 1; }

@media (max-width: 991px) {
  .simple-page .hero__bg {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .88) 55%, rgba(255, 255, 255, .55) 100%),
      url("../images/hero.webp") 68% center / cover no-repeat;
  }
}
@media (max-width: 767px) {
  .simple-page__inner { padding-top: 28px; }
  .simple-page__content { padding-top: 48px; }
  .simple-page__check { width: 84px; height: 84px; }
  .simple-page__actions .contact-line__icon { margin-left: 0; }
}

/* ==========================================================
   CENTERED LAYOUT — tablet & mobile
   ========================================================== */
@media (max-width: 991px) {
  .section-title, .hero__title, .t-card__title { text-wrap: balance; }

  /* hero */
  .hero__content { margin-inline: auto; text-align: center; }
  .hero__content .pill { margin-inline: auto; }
  .hero__title, .hero__text { margin-left: auto; margin-right: auto; }

  /* about */
  .about__content { text-align: center; }
  .about__title, .about__text { margin-left: auto; margin-right: auto; }
  .about__text { max-width: 680px; }
  .features { justify-content: center; margin-left: 0; }

  /* section headings */
  .treatments__title { text-align: center; }
  .method__title { text-align: center; padding-left: 24px; }

  /* footer */
  .footer__grid { text-align: center; }
  .footer__brand img { margin-inline: auto; }
  .footer__brand .text { margin-inline: auto; }
  .footer__location { justify-self: center; text-align: left; }
  .footer__contact { justify-self: center; align-items: center; }
  .footer__contact .contact-line { justify-content: center; }

  /* thank-you / 404 */
  .simple-page__content { margin-inline: auto; text-align: center; }
  .simple-page__check { margin-inline: auto; }
  .simple-page__content .pill { margin-inline: auto; }
  .simple-page__content .hero__title, .simple-page__content .hero__text { margin-left: auto; margin-right: auto; }
  .simple-page__actions { justify-content: center; }
}

@media (max-width: 767px) {
  /* features: icon on top, text below, three centered columns */
  .features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .feature {
    flex-direction: column;
    gap: 10px;
    padding-left: 0;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    white-space: normal;
  }
  .feature img { width: 60px; height: 60px; }

  .footer__grid { justify-items: center; }
  .footer__location { width: 100%; max-width: 320px; }
}

.footer__logo { display: inline-block; vertical-align: top; }
@media (max-width: 991px) { .footer__logo { display: block; width: fit-content; margin-inline: auto; } }
