/* ============================================================
   feelgood — landing (Figma: Untitled Copy, frame 1920×6711)
   ============================================================ */

:root {
  --serif: "Jeju Myeongjo", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --black: #000000;
  --white: #ffffff;
  --cream: #fdf4ec;          /* section background            */
  --beige: #f5ecdc;          /* cards / tags                  */
  --beige-deep: #f7ebd9;     /* faq fallback                  */
  --text-gray: #7a7a7a;
  --green: #00b67a;          /* trustpilot / dots             */
  --green-dark: #113400;     /* teal-green headings on glass  */

  --radius-xl: 70px;
  --radius-lg: 40px;
  --radius-md: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.4;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1760px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- shared ---------- */

/* Figma: every CTA button (Get Started / Explore Treatments / Call now)
   is a fixed 227×56 pill — not sized to its own text. Header's is the
   one exception, at 181×46 (see .header__cta below). */
.btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 227px;
  height: 56px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity .2s ease, transform .2s ease;
}
.btn:hover { opacity: .85; transform: translateY(-1px); }
.btn--dark  { background: var(--black); color: var(--white); }
.btn--light { background: var(--white); color: var(--black); }
.btn--outline { background: var(--white); color: var(--black); border: 1px solid #e3ded6; }

.section { padding: 70px 0; }

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 1.9vw, 36px);
  line-height: 1.15;
}

.tag {
  display: inline-block;
  margin-top: 18px;
  padding: 8px 22px;
  border: 1px solid var(--black);
  border-radius: 999px;
  font-size: 14px;
}

/* ---------- header ---------- */

.header { background: var(--white); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.logo span { font-size: 19px; font-weight: 800; }

.nav { display: flex; gap: 44px; font-size: 16px; }
.nav a { transition: opacity .2s; }
.nav a:hover { opacity: .6; }

/* Figma: header CTA is the one button sized differently — 181×46 */
.header__cta { width: 181px; height: 46px; }

/* ---------- hero ---------- */

.hero { padding: 0 48px 24px; }

.hero__card {
  position: relative;
  max-width: 1824px;
  margin: 0 auto;
  min-height: 680px;
  border-radius: var(--radius-xl);
  background: url("images/hero.webp") center / cover no-repeat, #f2e5d4;
  overflow: hidden;
  padding: 72px 76px;
  display: flex;
}

.hero__content {
  display: flex;
  flex-direction: column;
  max-width: 640px;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 3.4vw, 65px);
  line-height: 1.12;
}

.hero__text {
  margin-top: 28px;
  max-width: 560px;
  font-size: clamp(16px, 1.1vw, 21px);
  line-height: 1.35;
}

.hero__bottom { margin-top: auto; padding-top: 60px; }

.hero__actions { display: flex; gap: 16px; }

.hero__bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 22px;
  font-size: 13px;
}
.hero__bullets li { display: flex; align-items: center; gap: 8px; }
.hero__bullets li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
}

/* Figma: 3 pills + Trustpilot card all width 303, gap 11 between each */
.hero__badges {
  position: absolute;
  right: 66px;
  bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.hero__pill {
  box-sizing: border-box;
  width: 303px;
  height: 49px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 16px;
}
.hero__pill::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* Figma: Frame 2147225563 — 303×194.89, radius 45, fill #fff, stroke #B9B9B9 1.52 */
.trustpilot {
  box-sizing: border-box;
  width: 303px;
  background: var(--white);
  border: 1.5px solid #b9b9b9;
  border-radius: 45px;
  padding: 28px 33px;
}
/* Figma: trust-pilot-stacked-black 1 — exported as image, 237.53×110.5 */
.trustpilot__badge {
  width: 100%;
  height: auto;
  display: block;
}
.trustpilot__score {
  margin-top: 16px;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.22;
}

/* ---------- treatments ---------- */

.treatments__inner {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 2.05fr);
  gap: 40px;
}

.treatments__left { display: flex; flex-direction: column; }

.treatments__note {
  margin-top: auto;
  padding-top: 40px;
  font-size: clamp(16px, 1.1vw, 21px);
  line-height: 1.35;
}

.treatments__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.t-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--beige);
  border-radius: var(--radius-md);
  padding: 16px 56px 16px 16px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.t-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.07); }

.t-card img {
  width: 125px;
  height: 125px;
  border-radius: 18px;
  object-fit: cover;
  flex-shrink: 0;
}

.t-card__body h3 { font-size: 22px; font-weight: 400; }
.t-card__body p { margin-top: 8px; font-size: 15px; line-height: 1.4; }

/* Figma: Group 2131329318 — white circle 38.13×38.13 (stroke defined but hidden), black arrow inside */
.t-card__arrow {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.t-card__arrow svg { width: 15px; height: 15px; display: block; }

/* ---------- reviews ---------- */

/* Figma: Rectangle 1001888 — #FFF8F6, 1920×1223, radius 70 */
.reviews { background: #fff8f6; border-radius: 70px; }

.reviews__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 52px;
}

.reviews__lead { max-width: 480px; font-size: clamp(16px, 1.1vw, 21px); line-height: 1.35; }

.reviews__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}

/* Figma: Group 2131329322 / 2131329328 — round arrow buttons, 50×50, #000 */
.r-arrow-btn {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--black);
  transition: transform .2s ease;
}
.r-arrow-btn:hover { transform: scale(1.08); }
.r-arrow-btn svg { width: 15px; height: 15px; }
.r-arrow-btn--top { top: 0; left: calc((100% - 60px) / 4 - 50px); }
.r-arrow-btn--bottom { bottom: 0; left: calc(50% + 10px); }

.reviews__col { display: flex; flex-direction: column; gap: 20px; }
.reviews__col:nth-child(1) { padding-top: 96px; }
.reviews__col:nth-child(3) { padding-top: 40px; }

.r-quote {
  background: var(--beige);
  border-radius: 20px;
  padding: 24px;
}

.r-person { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }

.r-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  flex-shrink: 0;
}

.r-name { font-weight: 600; font-size: 15px; }

.r-stars {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.r-stars i {
  position: relative;
  font-style: normal;
  font-size: 15px;
  letter-spacing: 2px;
  line-height: 1;
}
.r-stars i::before { content: "★★★★★"; color: #d9cfbc; }
.r-stars i::after {
  content: "★★★★★";
  position: absolute;
  left: 0; top: 0;
  color: #f5b301;
  width: var(--rate, 100%);
  overflow: hidden;
}
.r-stars span { font-size: 13px; font-weight: 600; }

.r-text { font-size: 14.5px; line-height: 1.5; }

.r-photo {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
}
.r-photo img { width: 100%; }

.r-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
}
.r-caption--top { background: var(--beige); }
.r-caption--bottom { background: var(--beige); }
.r-caption--overlay {
  position: absolute;
  left: 12px;
  bottom: 12px;
  right: auto;
  background: var(--beige);
  border-radius: 14px;
  padding: 10px 16px;
}
.r-caption--overlay.r-caption--avatar { left: 12px; right: 12px; }
.r-caption .r-stars { margin-top: 2px; }

/* ---------- how it works ---------- */

.work__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 34px;
}

.work__card {
  border-radius: var(--radius-lg);
  background: url("images/work-bg.webp") center / cover no-repeat, #4d7a72;
  padding: 46px 54px;
  display: flex;
  justify-content: flex-end;
}

.work__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  width: min(72%, 1180px);
}

.w-step {
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 34px;
  padding: 28px 30px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  color: var(--green-dark);
}

.w-step header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.w-step__num {
  font-family: var(--serif);
  font-size: clamp(30px, 2.2vw, 44px);
  line-height: 1;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.w-step__title {
  font-family: var(--serif);
  font-size: clamp(18px, 1.25vw, 24px);
  line-height: 1.15;
  padding-top: 4px;
}

.w-step__time { font-size: 13px; color: #405c50; white-space: nowrap; padding-top: 6px; }

.w-step__text {
  margin-top: auto;
  padding-top: 36px;
  font-size: 14.5px;
  line-height: 1.5;
  color: #1e3b2f;
}

/* ---------- standards ---------- */

.standards { background: var(--cream); border-radius: 70px; }

.standards__inner {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(0, 1.1fr);
  gap: 60px;
}

.standards__left { display: flex; flex-direction: column; }

.standards__text {
  margin-top: auto;
  padding-top: 60px;
  max-width: 520px;
  font-size: 15.5px;
  line-height: 1.5;
}

.standards__tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
  max-width: 620px;
}

.s-tag {
  background: var(--beige);
  border-radius: 30px;
  padding: 24px 28px;
}
.s-tag h4 { font-size: 18px; font-weight: 500; }
.s-tag p { margin-top: 9px; font-size: 14px; color: #3d3d3d; }

.standards__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.s-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 415 / 366;
  border-radius: 55px;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  padding: 44px 33px;
}

/* Figma: Ellipse 3407 — #F7EBD9, 551.75×282.55 @ (-226, -185),
   rotate 17.6°, layer blur 100 (identical on all four cards) */
.s-card::before {
  content: "";
  position: absolute;
  left: -54.5%;
  top: -50.5%;
  width: 133%;
  height: 77.2%;
  background: #f7ebd9;
  border-radius: 50%;
  transform: rotate(17.6deg);
  filter: blur(60px);
  pointer-events: none;
}

.s-card__stat,
.s-card__label { position: relative; z-index: 1; }

.s-card__stat {
  font-family: var(--serif);
  font-size: clamp(40px, 3.7vw, 70px);
  line-height: 0.74;
}

.s-card__label {
  margin-top: 20px;
  font-size: clamp(15px, 1.1vw, 21px);
  line-height: 1.24;
  max-width: 220px;
}

/* ---------- faq ---------- */

.faq { padding-bottom: 40px; }

.faq__card {
  max-width: 1824px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  /* Keep the photo scale tied to the card width, so opening an FAQ item
     cannot re-crop or zoom the image when the card becomes taller. */
  background: url("images/faq-bg.webp") center top / 100% auto no-repeat, var(--beige-deep);
  padding: 64px 72px;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1.35fr);
  gap: 60px;
}
.faq { padding-left: 48px; padding-right: 48px; }

.faq__left { display: flex; flex-direction: column; }

.faq__contact { margin-top: auto; padding-top: 120px; }
.faq__contact p { max-width: 300px; font-size: 16px; line-height: 1.5; }
.faq__contact .btn { margin-top: 20px; }

.faq__list { display: flex; flex-direction: column; gap: 14px; }

.faq__item {
  background: rgba(255, 255, 255, .8);
  border-radius: 18px;
  padding: 0 26px;
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 16.5px;
  font-weight: 500;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
}
.faq__item[open] summary::after { content: "–"; }

.faq__item p {
  padding: 0 0 20px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #4c4c4c;
  max-width: 640px;
}

/* ---------- footer ---------- */

/* Figma: Rectangle 1001888 — footer background #FFF8F6, radius 70 */
.footer { padding: 64px 0 40px; background: #fff8f6; border-radius: 70px; }

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

.footer__brand p { margin-top: 16px; max-width: 320px; font-size: 15px; line-height: 1.5; }

.footer__actions { display: flex; gap: 14px; }

.footer__legal {
  margin-top: 110px;
  text-align: center;
  font-size: 12px;
  color: #4c4c4c;
}
.footer__legal p { max-width: 700px; margin: 0 auto; line-height: 1.6; }
.footer__copy { margin-top: 14px !important; }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1280px) {
  .treatments__inner { grid-template-columns: 1fr; }
  .treatments__note { padding-top: 24px; margin-top: 0; }

  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__col:nth-child(1),
  .reviews__col:nth-child(3) { padding-top: 0; }
  .r-arrow-btn { display: none; }
  .reviews, .standards, .footer { border-radius: 36px; }

  .work__grid { width: 100%; }
  .work__card { background-position: 18% center; }

  .standards__inner { grid-template-columns: 1fr; gap: 40px; }
  .standards__text { margin-top: 0; padding-top: 32px; }

  .faq__card { grid-template-columns: 1fr; gap: 40px; }
  .faq__contact { padding-top: 32px; }
}

@media (max-width: 900px) {
  .hero { padding: 0 16px 16px; }

  /* Mobile: photo becomes a decorative band on top instead of a full-card
     background — text would otherwise land on hair/skin with no reliable
     contrast. Everything below the band sits on solid --cream. */
  .hero__card {
    border-radius: 36px;
    padding: 0;
    min-height: 0;
    flex-direction: column;
    background-image: none;
    background-color: var(--cream);
    position: relative;
    overflow: hidden;
  }
  .hero__card::before {
    content: "";
    display: block;
    order: -1;
    width: 100%;
    height: 320px;
    flex-shrink: 0;
    background: url("images/hero.webp") center 22% / cover no-repeat;
  }
  .hero__content { padding: 28px 24px 0; }
  .hero__badges {
    position: static;
    margin-top: 28px;
    padding: 0 24px 32px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .hero__bottom { padding-top: 32px; }

  .treatments__grid { grid-template-columns: 1fr; }

  .work__head { flex-direction: column; }
  .work__grid { grid-template-columns: 1fr; }
  .work__card { padding: 28px 22px; }

  .standards__grid { grid-template-columns: 1fr 1fr; }

  .faq { padding-left: 16px; padding-right: 16px; }
  .faq__card { border-radius: 36px; padding: 40px 28px; }
  /* Mobile: faq-bg.webp is wide/short (1822×586), and background-size:cover
     crops hard into a narrow tall card — the glass-orb region can land
     anywhere behind this text, so give it a solid scrim for reliable contrast. */
  .faq__left {
    background: rgba(255, 255, 255, .78);
    border-radius: 24px;
    padding: 20px;
    margin: -8px -8px 0;
  }

  .footer__top { flex-direction: column; }
  .footer__legal { margin-top: 56px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }

  .header__inner { height: 72px; }
  .nav { display: none; }

  .hero__card::before { height: 260px; }

  /* fixed 227×56 buttons don't fit narrow phones — go fluid here */
  .btn { width: auto; height: auto; padding: 14px 28px; }
  .header__cta { width: auto; height: auto; padding: 10px 20px; }

  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }

  .hero__badges {
    flex-direction: column;
    align-items: center;
  }
  .hero__pill, .trustpilot { width: 100%; max-width: 303px; }

  .reviews__grid { grid-template-columns: 1fr; }

  .standards__tags { grid-template-columns: 1fr; }
  .standards__grid { grid-template-columns: 1fr; }
  .s-card { aspect-ratio: auto; min-height: 300px; }

  .footer__actions { flex-direction: column; align-self: stretch; }
}
