:root {
  --ink: #241d1a;
  --muted: #766a64;
  --paper: #fffaf6;
  --cream: #f8eee8;
  --rose: #d8a8a4;
  --clay: #a66f63;
  --moss: #6d7b5f;
  --wine: #6f2434;
  --line: rgba(36, 29, 26, 0.13);
  --shadow: 0 22px 70px rgba(71, 42, 34, 0.16);
  --radius: 8px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

button,
input,
select {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: var(--radius);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 250, 246, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header[data-scrolled="true"] {
  border-color: var(--line);
  box-shadow: 0 12px 36px rgba(50, 30, 22, 0.08);
}

.top-strip {
  min-height: 34px;
  display: flex;
  justify-content: center;
  gap: 18px;
  align-items: center;
  padding: 7px 20px;
  font-size: 0.82rem;
  color: var(--paper);
  background: var(--wine);
}

.top-strip a {
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  width: 141px;
  min-width: 141px;
}

.brand-mark img {
  width: 141px;
  height: 45px;
  object-fit: contain;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #443832;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-panel a {
  position: relative;
  padding: 27px 0;
}

.nav-panel a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 20px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--wine);
  transition: transform 0.2s ease;
}

.nav-panel a:hover::after,
.nav-panel a:focus-visible::after {
  transform: scaleX(1);
}

.lang-switch,
.nav-toggle,
.filter-bar button,
.need-card {
  cursor: pointer;
}

.lang-switch {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: 999px;
  min-width: 84px;
  height: 40px;
  padding: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.lang-switch span,
.lang-switch b {
  width: 36px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-size: 0.78rem;
}

.lang-switch span {
  background: var(--ink);
  color: white;
}

.lang-switch b {
  color: var(--muted);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-section {
  position: relative;
  min-height: clamp(640px, 86vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.hero-section picture,
.hero-section img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-section img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.96;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(20, 15, 13, 0.84), rgba(20, 15, 13, 0.58) 36%, rgba(20, 15, 13, 0.18) 66%, rgba(20, 15, 13, 0.34)),
    linear-gradient(0deg, rgba(20, 15, 13, 0.78), rgba(20, 15, 13, 0.18) 54%, rgba(20, 15, 13, 0.08));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 clamp(86px, 14vh, 140px);
  color: white;
  text-shadow: 0 3px 22px rgba(20, 15, 13, 0.5);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--wine);
}

.hero-content .eyebrow {
  color: #f3c7bd;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 7vw, 5.8rem);
  line-height: 0.98;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.hero-content p:not(.eyebrow) {
  max-width: 720px;
  font-size: clamp(1rem, 2vw, 1.24rem);
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: white;
  background: var(--wine);
  box-shadow: 0 12px 34px rgba(111, 36, 52, 0.26);
}

.btn-ghost {
  color: white;
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.08);
}

.hero-card {
  position: absolute;
  right: max(16px, calc((100vw - 1180px) / 2));
  bottom: 34px;
  z-index: 2;
  width: min(330px, calc(100% - 32px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  color: white;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.hero-card span,
.hero-card strong {
  display: block;
}

.hero-card span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.hero-card strong {
  margin-top: 8px;
  font-size: 1.2rem;
}

.quick-links {
  width: min(1180px, calc(100% - 32px));
  margin: -36px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}

.quick-links a {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  font-weight: 900;
  border-right: 1px solid var(--line);
}

.quick-links a:last-child {
  border-right: 0;
}

.quick-links a:hover,
.quick-links a:focus-visible {
  background: var(--cream);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(74px, 10vw, 120px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading.compact {
  max-width: 920px;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  font-weight: 500;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.section-heading p:not(.eyebrow),
.diagnosis-copy p,
.salon-panel p,
.site-footer p {
  color: var(--muted);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.brand-card {
  min-height: 270px;
  padding: 28px;
  background: white;
  display: flex;
  flex-direction: column;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-card:hover,
.brand-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(71, 42, 34, 0.12);
}

.brand-grid span,
.brand-card span {
  display: inline-flex;
  margin-bottom: 56px;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--clay);
  font-size: 1.65rem;
}

.brand-grid p,
.brand-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.brand-card b {
  margin-top: auto;
  padding-top: 22px;
  color: var(--wine);
  font-size: 0.9rem;
}

.diagnosis-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: stretch;
  padding-top: 0;
  padding-bottom: clamp(88px, 9vw, 112px);
}

.diagnosis-copy {
  min-height: 100%;
  padding: 44px;
  background: var(--cream);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.need-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, minmax(160px, 1fr)) minmax(148px, 0.82fr);
  gap: 14px;
  height: 100%;
}

.need-card {
  min-height: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  text-align: left;
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(71, 42, 34, 0.07);
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.need-card:hover,
.need-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(111, 36, 52, 0.34);
}

.need-card span,
.need-card b {
  display: block;
}

.need-card span {
  color: var(--muted);
}

.need-card b {
  margin-top: 14px;
  font-size: 1.28rem;
}

.need-card small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.need-card-wide {
  grid-column: 1 / -1;
  background: #211a18;
  color: white;
}

.need-card-wide span,
.need-card-wide small {
  color: rgba(255, 255, 255, 0.72);
}

.need-card-wide b {
  color: white;
}

.treatments-section {
  width: 100%;
  padding-inline: max(16px, calc((100vw - 1180px) / 2));
  background: #f2e4dc;
}

.filter-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 0 18px;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar {
  display: none;
}

.filter-bar button {
  flex: 0 0 auto;
  border: 1px solid rgba(36, 29, 26, 0.16);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 900;
}

.filter-bar button.active {
  background: var(--ink);
  color: white;
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.treatment-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  box-shadow: 0 18px 44px rgba(71, 42, 34, 0.1);
}

.treatment-card[hidden] {
  display: none;
}

.treatment-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--cream);
}

.treatment-card div {
  padding: 22px;
}

.treatment-link-card {
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.treatment-link-card:hover,
.treatment-link-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 22px 52px rgba(71, 42, 34, 0.16);
}

.treatment-link-card b {
  display: inline-flex;
  margin-top: 16px;
  color: var(--wine);
  font-size: 0.88rem;
}

.treatment-card i,
.treatment-card em {
  font-style: normal;
}

.treatment-card span,
.product-card span,
.story-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.treatment-card p,
.product-card p,
.story-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.product-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

.product-menu {
  position: sticky;
  top: 128px;
  display: grid;
  gap: 8px;
}

.product-menu a {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--muted);
  font-weight: 800;
}

.product-menu a:hover,
.product-menu a:focus-visible {
  color: var(--ink);
  border-color: rgba(111, 36, 52, 0.34);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.product-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  min-height: 100%;
}

.product-card img {
  aspect-ratio: 1;
  object-fit: contain;
  margin-bottom: 16px;
  background: #fbf4f0;
  border-radius: var(--radius);
}

.editorial-section {
  width: 100%;
  padding-inline: max(16px, calc((100vw - 1180px) / 2));
  background: #fbf2ef;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  gap: 18px;
}

.story-card {
  min-height: 360px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  display: flex;
  align-items: end;
  background: var(--ink);
  color: white;
}

.story-card.large {
  min-height: 520px;
}

.story-card img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}

.story-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20, 15, 13, 0.82), transparent 62%);
}

.story-card div {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.story-card span {
  color: #f0c1b6;
}

.story-card p {
  color: rgba(255, 255, 255, 0.82);
}

.salon-section {
  width: 100%;
  padding-inline: max(16px, calc((100vw - 1180px) / 2));
}

.salon-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 34px;
  padding: clamp(28px, 6vw, 70px);
  background:
    linear-gradient(110deg, rgba(255, 250, 246, 0.94), rgba(255, 250, 246, 0.78)),
    url("https://www.guinot.com/media/cache/guinot_pim_simple_block/gallery/images/homepage/votre-institut.png") center / cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.booking-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.booking-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.booking-form input,
.booking-form select {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 13px;
  background: var(--paper);
  color: var(--ink);
}

.booking-form small {
  color: var(--muted);
}

.trust-section {
  padding-top: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.trust-item {
  background: white;
  min-height: 126px;
  padding: 24px;
  display: grid;
  align-content: center;
}

.trust-item strong {
  font-size: 1.1rem;
}

.trust-item span {
  color: var(--muted);
}

.site-footer {
  padding: 54px max(16px, calc((100vw - 1180px) / 2));
  background: #211a18;
  color: white;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
}

.site-footer p {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.footer-note {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: rgba(255, 255, 255, 0.58);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
}

.pillar-main {
  background: var(--paper);
}

.pillar-hero {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.pillar-hero img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.94;
}

.pillar-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(24, 17, 15, 0.9), rgba(24, 17, 15, 0.62) 38%, rgba(24, 17, 15, 0.2) 68%, rgba(24, 17, 15, 0.36)),
    linear-gradient(0deg, rgba(24, 17, 15, 0.78), rgba(24, 17, 15, 0.2) 56%, rgba(24, 17, 15, 0.08));
}

.pillar-hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 140px 0 76px;
  color: white;
  text-shadow: 0 3px 24px rgba(24, 17, 15, 0.62);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  font-weight: 800;
}

.breadcrumb a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
}

.pillar-hero h1 {
  max-width: 880px;
}

.pillar-hero p:not(.eyebrow) {
  max-width: 740px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
}

.pillar-nav {
  width: min(1180px, calc(100% - 32px));
  margin: -28px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.pillar-nav a {
  min-height: 86px;
  padding: 18px;
  background: white;
  display: grid;
  align-content: center;
  gap: 4px;
  font-weight: 900;
}

.pillar-nav a[aria-current="page"] {
  background: var(--wine);
  color: white;
}

.pillar-nav span {
  color: var(--muted);
  font-size: 0.78rem;
}

.pillar-nav a[aria-current="page"] span {
  color: rgba(255, 255, 255, 0.78);
}

.pillar-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: start;
}

.pillar-lead {
  padding: 36px;
  border-radius: var(--radius);
  background: var(--cream);
}

.pillar-lead p {
  margin-bottom: 0;
  color: var(--muted);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.proof-card,
.step-card,
.source-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.proof-card span,
.step-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--clay);
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.proof-card p,
.step-card p,
.source-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.feature-band {
  width: 100%;
  padding-inline: max(16px, calc((100vw - 1180px) / 2));
  background: #f2e4dc;
}

.feature-band-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
}

.feature-band img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-copy {
  padding: 28px 0;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.thailand-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.thailand-panel > div {
  padding: 34px;
  background: white;
}

.thailand-panel .accent {
  background: var(--wine);
  color: white;
}

.thailand-panel .accent .eyebrow,
.thailand-panel .accent p {
  color: rgba(255, 255, 255, 0.78);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding-left: 28px;
  position: relative;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--moss);
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.source-card a {
  color: var(--wine);
  font-weight: 900;
}

.page-cta {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto clamp(72px, 9vw, 110px);
  padding: clamp(28px, 6vw, 58px);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  border-radius: var(--radius);
  color: white;
  background: #211a18;
}

.page-cta p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.treatment-detail-main {
  background: var(--paper);
}

.treatment-detail-hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.treatment-detail-hero > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.88;
}

.treatment-detail-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(22, 16, 14, 0.78), rgba(22, 16, 14, 0.16) 62%),
    linear-gradient(0deg, rgba(22, 16, 14, 0.76), rgba(22, 16, 14, 0.08) 58%);
}

.treatment-detail-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 132px 0 82px;
  color: white;
}

.treatment-detail-content .eyebrow {
  color: #f3c7bd;
}

.treatment-detail-content h1 {
  max-width: 860px;
}

.treatment-detail-content p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
}

.treatment-meta-grid {
  margin-top: -42px;
  position: relative;
  z-index: 3;
  padding-top: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.treatment-meta-grid article {
  min-height: 128px;
  padding: 22px;
  display: grid;
  align-content: center;
  gap: 8px;
  background: white;
}

.treatment-meta-grid span,
.treatment-detail-panels span {
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.treatment-meta-grid strong {
  line-height: 1.32;
}

.treatment-story {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: start;
}

.treatment-story-lead {
  padding: clamp(26px, 4vw, 42px);
  border-radius: var(--radius);
  background: var(--cream);
}

.treatment-story-lead p {
  color: var(--muted);
  margin-bottom: 0;
}

.treatment-detail-panels {
  display: grid;
  gap: 14px;
}

.treatment-detail-panels article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

.treatment-detail-panels p {
  margin: 10px 0 0;
  color: var(--muted);
}

.treatment-source-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--radius);
  background: #f2e4dc;
}

.treatment-source-band h2 {
  max-width: 760px;
}

.treatment-source-band p:not(.eyebrow) {
  max-width: 740px;
  margin-bottom: 0;
  color: var(--muted);
}

.treatment-next {
  margin-top: 0;
}

@media (max-width: 980px) {
  .top-strip {
    justify-content: space-between;
  }

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

  .nav-panel {
    position: fixed;
    inset: 111px 0 auto;
    min-height: calc(100vh - 111px);
    display: grid;
    align-content: start;
    gap: 0;
    padding: 16px;
    background: var(--paper);
    transform: translateX(100%);
    transition: transform 0.22s ease;
  }

  .nav-open .nav-panel {
    transform: translateX(0);
  }

  .nav-open .nav-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-open .nav-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .nav-panel a {
    padding: 18px 8px;
    border-bottom: 1px solid var(--line);
    font-size: 1.18rem;
  }

  .nav-panel a::after {
    display: none;
  }

  .lang-switch {
    margin-top: 18px;
  }

  .quick-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-links a:nth-child(2) {
    border-right: 0;
  }

  .quick-links a:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .brand-grid,
  .treatment-grid,
  .product-grid,
  .pillar-nav,
  .step-grid,
  .source-grid,
  .treatment-meta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .diagnosis-section,
  .product-layout,
  .salon-panel,
  .site-footer,
  .pillar-intro,
  .feature-band-inner,
  .thailand-panel,
  .treatment-story {
    grid-template-columns: 1fr;
  }

  .diagnosis-section {
    align-items: start;
  }

  .need-grid {
    height: auto;
    grid-template-rows: none;
  }

  .need-card {
    min-height: 150px;
  }

  .treatment-source-band {
    align-items: stretch;
    flex-direction: column;
  }

  .product-menu {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

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

  .story-card,
  .story-card.large {
    min-height: 360px;
  }
}

@media (max-width: 680px) {
  .top-strip {
    display: none;
  }

  .nav-shell {
    min-height: 68px;
  }

  .brand-mark,
  .brand-mark img {
    width: 118px;
    min-width: 118px;
    height: auto;
  }

  .nav-panel {
    inset: 69px 0 auto;
    min-height: calc(100vh - 69px);
  }

  .hero-section {
    min-height: 720px;
    align-items: center;
  }

  .hero-section img {
    object-position: 40% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(20, 15, 13, 0.86), rgba(20, 15, 13, 0.46) 50%, rgba(20, 15, 13, 0.64)),
      linear-gradient(90deg, rgba(20, 15, 13, 0.74), rgba(20, 15, 13, 0.24));
  }

  .hero-content {
    padding: 78px 0 130px;
  }

  h1 {
    font-size: clamp(2.45rem, 15vw, 4rem);
  }

  .btn {
    width: 100%;
  }

  .hero-card {
    left: 16px;
    right: 16px;
    bottom: 18px;
    width: auto;
  }

  .quick-links {
    margin-top: 0;
    width: 100%;
    grid-template-columns: 1fr;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .quick-links a {
    min-height: 62px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    width: min(100% - 28px, 1180px);
    padding: 68px 0;
  }

  .brand-grid,
  .need-grid,
  .treatment-grid,
  .product-grid,
  .product-menu,
  .trust-section,
  .pillar-nav,
  .proof-grid,
  .step-grid,
  .source-grid,
  .treatment-meta-grid {
    grid-template-columns: 1fr;
  }

  .need-card-wide {
    grid-column: auto;
  }

  .brand-grid span,
  .brand-card span {
    margin-bottom: 34px;
  }

  .pillar-hero {
    min-height: 620px;
  }

  .pillar-hero img {
    object-position: 42% center;
  }

  .pillar-hero-content {
    padding: 96px 0 64px;
  }

  .pillar-nav {
    margin-top: 0;
    width: 100%;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .pillar-nav a {
    min-height: 66px;
  }

  .pillar-lead,
  .thailand-panel > div {
    padding: 24px;
  }

  .page-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .treatment-detail-hero {
    min-height: 660px;
  }

  .treatment-detail-content {
    padding: 92px 0 70px;
  }

  .treatment-meta-grid {
    margin-top: 0;
    width: 100%;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .treatment-meta-grid article {
    min-height: 104px;
  }

  .treatment-source-band {
    border-radius: var(--radius);
  }

  .diagnosis-copy {
    padding: 26px;
  }

  .treatments-section,
  .editorial-section,
  .salon-section {
    padding-inline: 14px;
  }

  .filter-bar {
    margin-inline: -14px;
    padding-inline: 14px;
  }

  .salon-panel {
    padding: 22px;
  }
}

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