/* Guirguis Facial Plastic Surgery — site styles
   Type: Bodoni Moda (display) + Jost (text). Palette sampled from the logo. */

:root {
  --ink: #0D0D0D;
  --ink-2: #171614;
  --ink-line: #2C2A27;
  --champagne: #C8B08A;
  --bronze: #7A6440;          /* champagne deepened for text on light grounds (AA) */
  --ivory: #F4F2EE;
  --paper: #FAF9F6;
  --stone: #B9B4AA;
  --graphite: #4A4640;
  --line: #DCD7CE;

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --step-3: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);
  --step-4: clamp(2.75rem, 1.6rem + 4.6vw, 5.5rem);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --section: clamp(80px, 11vw, 160px);
  --header-h: 96px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 72px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.1em; max-width: 64ch; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); line-height: 1.2; }

::selection { background: var(--champagne); color: var(--ink); }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; }
.on-light :focus-visible, .light :focus-visible { outline-color: var(--bronze); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--champagne); color: var(--ink); padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.dark { background: var(--ink); color: var(--ivory); }
.dark p { color: #D9D5CD; }
.ivory { background: var(--ivory); }
.lede { font-size: var(--step-1); line-height: 1.6; color: var(--graphite); }
.dark .lede { color: #D9D5CD; }

/* The champagne hairline from the logo is the site's one structural device. */
.hairline { display: block; width: 1px; background: var(--champagne); }
.rule { border: 0; height: 1px; background: var(--line); margin: 0; }
.dark .rule { background: var(--ink-line); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 0 28px;
  font: 500 0.8125rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border: 1px solid var(--champagne); background: var(--champagne); color: var(--ink);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  touch-action: manipulation;
}
.btn:hover { background: transparent; color: var(--champagne); }
.btn--ghost { background: transparent; color: var(--ivory); border-color: rgba(244, 242, 238, .45); }
.btn--ghost:hover { border-color: var(--champagne); color: var(--champagne); }
.btn--ink { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.btn--ink:hover { background: transparent; color: var(--ink); }
.btn[disabled] { opacity: .5; cursor: progress; }

.text-link {
  font-weight: 500; text-decoration: none; letter-spacing: .02em;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 3px; transition: background-size .3s var(--ease);
}
.text-link:hover { background-size: 40% 1px; }
.dark .text-link { color: var(--champagne); }
.light .text-link, .ivory .text-link { color: var(--bronze); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  background: rgba(13, 13, 13, .96);
  border-bottom: 1px solid var(--ink-line);
  color: var(--ivory);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(13, 13, 13, .86); backdrop-filter: blur(10px); }
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1440px; }
.brand { display: block; flex: none; }
.brand img { height: 62px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav a {
  font-size: 0.8125rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  color: #D9D5CD; padding: 12px 0; position: relative; white-space: nowrap; transition: color .2s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--champagne); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: .2em; bottom: 4px; height: 1px; background: var(--champagne);
}
.nav .btn { color: var(--ink); padding: 0 22px; min-height: 44px; }
.nav .btn:hover { color: var(--champagne); }
.nav .btn::after { display: none; }

.menu-toggle {
  display: none; width: 48px; height: 48px; margin-right: -12px;
  background: none; border: 0; color: var(--ivory); cursor: pointer;
}
.menu-toggle span { display: block; width: 26px; height: 1px; background: currentColor; margin: 7px auto; transition: transform .3s var(--ease), opacity .2s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1260px) {
  :root { --header-h: 72px; }
  .site-header { background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; } /* a backdrop-filter would trap the fixed menu panel */
  .brand img { height: 46px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; z-index: 49;
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0;
    padding: 24px var(--gutter) 48px; background: var(--ink);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
    overflow-y: auto;
  }
  .menu-open .nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav a { font: 400 1.875rem/1.2 var(--serif); letter-spacing: 0; text-transform: none; padding: 14px 0; width: 100%; border-bottom: 1px solid var(--ink-line); color: var(--ivory); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin-top: 32px; width: 100%; font: 500 0.8125rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; border-bottom: 1px solid var(--champagne); min-height: 52px; }
  body.menu-open { overflow: hidden; }
}

main { display: block; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  background: var(--ink); color: var(--ivory); overflow: hidden;
}
.hero__text {
  position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 64px) var(--gutter) 96px max(var(--gutter), calc((100vw - 1440px) / 2 + var(--gutter)));
}
.hero__status { display: flex; align-items: center; gap: 18px; margin-bottom: 40px; color: var(--stone); font-size: var(--step--1); letter-spacing: .08em; }
.hero__status .hairline { height: 1px; width: 56px; }
.hero h1 { max-width: 17ch; margin-bottom: 32px; font-size: clamp(2.5rem, 1.4rem + 3.4vw, 4.5rem); }
.hero__lede { font-size: var(--step-1); line-height: 1.6; color: #D9D5CD; max-width: 38ch; margin-bottom: 44px; }
.hero__lede strong { font-weight: 500; color: var(--champagne); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__media { position: relative; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--ink) 0%, rgba(13,13,13,.55) 22%, rgba(13,13,13,0) 55%),
              linear-gradient(0deg, rgba(13,13,13,.5) 0%, rgba(13,13,13,0) 30%);
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__media { order: -1; height: 62svh; min-height: 380px; }
  .hero__media::before { background: linear-gradient(0deg, var(--ink) 2%, rgba(13,13,13,.2) 45%, rgba(13,13,13,.35) 100%); }
  .hero__text { padding: 0 var(--gutter) 72px; margin-top: -120px; }
  }

/* One orchestrated load moment: hairline draws, then the headline settles. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__status .hairline { transform-origin: left; animation: draw 1.1s var(--ease) .2s both; }
  .js .hero__status span:last-child, .js .hero h1, .js .hero__lede, .js .hero__actions { animation: settle 1.1s var(--ease) both; }
  .js .hero__status span:last-child { animation-delay: .5s; }
  .js .hero h1 { animation-delay: .65s; }
  .js .hero__lede { animation-delay: .85s; }
  .js .hero__actions { animation-delay: 1s; }
  .js .hero__media img { animation: unveil 2.2s var(--ease) both; }
}
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes settle { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes unveil { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--ink); color: var(--ivory); padding: calc(var(--header-h) + clamp(72px, 10vw, 140px)) 0 clamp(64px, 8vw, 112px); }
.page-hero .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); }
.page-hero .hairline { height: 100%; min-height: 120px; }
.page-hero h1 { font-size: var(--step-4); max-width: 14ch; }
.page-hero p { font-size: var(--step-1); line-height: 1.6; color: #D9D5CD; max-width: 46ch; margin: 0; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.split--wide-text { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split__media figcaption { margin-top: 14px; font-size: var(--step--1); color: var(--graphite); }
.dark .split__media figcaption { color: var(--stone); }
.split__body h2 { margin-bottom: 28px; }
@media (max-width: 860px) {
  .split, .split--wide-text { grid-template-columns: 1fr; }
  .split--media-last .split__media { order: 2; }
}

/* ---------- Training ---------- */
.training { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink-line); }
.training > div { padding: 36px 32px 8px 0; }
.training > div + div { padding-left: 32px; border-left: 1px solid var(--ink-line); }
.training dt { font-family: var(--serif); font-size: var(--step-2); line-height: 1.2; color: var(--ivory); margin-bottom: 12px; }
.training dd { margin: 0; color: var(--stone); font-size: 0.9375rem; line-height: 1.6; }
@media (max-width: 860px) {
  .training { grid-template-columns: 1fr; }
  .training > div, .training > div + div { padding: 28px 0; border-left: 0; }
  .training > div + div { border-top: 1px solid var(--ink-line); }
}

/* ---------- Procedure index (editorial list) ---------- */
.proc-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px, 5vw, 72px); }
.proc-head h2 { margin: 0; max-width: 14ch; }
.proc-head p { margin: 0; color: var(--graphite); max-width: 40ch; }
.proc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.proc-list a {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 40px; align-items: center; gap: 32px;
  padding: clamp(28px, 3.4vw, 44px) 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
}
.proc-list h3 { margin: 0; font-size: clamp(1.875rem, 1.2rem + 2.4vw, 3.25rem); transition: color .3s var(--ease), transform .4s var(--ease); }
.proc-list p { margin: 0; color: var(--graphite); font-size: 0.9875rem; }
.proc-list .arrow { justify-self: end; width: 40px; height: 40px; color: var(--bronze); transition: transform .4s var(--ease); }
.proc-list a:hover h3, .proc-list a:focus-visible h3 { color: var(--bronze); transform: translateX(8px); }
.proc-list a:hover .arrow { transform: translateX(6px); }
@media (max-width: 760px) {
  .proc-list a { grid-template-columns: 1fr 32px; gap: 10px 16px; }
  .proc-list p { grid-column: 1; }
  .proc-list .arrow { grid-row: 1 / span 2; grid-column: 2; width: 28px; }
}

/* ---------- Statement ---------- */
.statement { text-align: center; margin: 0; }
.statement .hairline { height: 72px; margin: 0 auto 40px; }
.statement blockquote { margin: 0 auto; max-width: 22ch; text-wrap: balance; font-family: var(--serif); font-size: var(--step-3); line-height: 1.18; }
.statement figcaption { margin-top: 28px; color: var(--graphite); font-size: var(--step--1); letter-spacing: .06em; }
.dark.statement figcaption { color: var(--stone); }

/* ---------- Placeholders (sections waiting on content) ---------- */
.pending {
  border: 1px dashed var(--stone); padding: clamp(32px, 5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center;
}
.pending h2, .pending h3 { font-size: var(--step-2); line-height: 1.2; margin-bottom: 10px; }
.pending p { margin: 0; color: var(--graphite); }
.dark .pending { border-color: #4A4640; }
.dark .pending p { color: var(--stone); }
@media (max-width: 760px) { .pending { grid-template-columns: 1fr; } }

.tbd { color: var(--graphite); font-style: normal; }
.dark .tbd { color: var(--stone); }

/* ---------- Gallery: coming soon ---------- */
.coming-soon { text-align: center; }
.coming-soon .hairline { height: 72px; margin: 0 auto 40px; }
.coming-soon h2 { font-size: var(--step-4); margin-bottom: 24px; }
.coming-soon .lede { margin: 0 auto 48px; max-width: 46ch; }
.coming-soon__list { list-style: none; margin: 0 auto 56px; padding: 22px 0; max-width: 1080px; display: flex; flex-wrap: wrap; justify-content: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.coming-soon__list li { font-family: var(--serif); font-size: 1.25rem; padding: 6px 24px; }
.coming-soon__list li + li { border-left: 1px solid var(--champagne); }
@media (max-width: 760px) {
  .coming-soon__list { flex-direction: column; padding: 8px 0; }
  .coming-soon__list li { padding: 12px 0; }
  .coming-soon__list li + li { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Procedures page ---------- */
.proc-nav { position: sticky; top: var(--header-h); z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.proc-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(20px, 3vw, 44px); overflow-x: auto; scrollbar-width: none; }
.proc-nav ul::-webkit-scrollbar { display: none; }
.proc-nav a { display: block; padding: 18px 0; white-space: nowrap; text-decoration: none; font-size: 0.9375rem; color: var(--graphite); border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.proc-nav a:hover, .proc-nav a.is-active { color: var(--ink); border-bottom-color: var(--bronze); }

.proc-section { padding-block: clamp(72px, 9vw, 128px); border-bottom: 1px solid var(--line); }
.proc-section:last-of-type { border-bottom: 0; }
.proc-section .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); }
.proc-section h2 { margin-bottom: 20px; }
.proc-section .intro { color: var(--graphite); }
.treatments { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.treatments li { padding: 26px 0; border-bottom: 1px solid var(--line); }
.treatments h3 { font-size: 1.5rem; margin-bottom: 8px; }
.treatments p { margin: 0; color: var(--graphite); font-size: 0.9875rem; }
@media (max-width: 860px) { .proc-section .wrap { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 1px; background: var(--champagne); }
.timeline li { position: relative; padding: 0 0 40px 40px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -4px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1px solid var(--bronze); }
.timeline time { display: block; font-size: var(--step--1); color: var(--bronze); letter-spacing: .06em; margin-bottom: 4px; }
.timeline h3 { font-size: 1.5rem; margin-bottom: 4px; }
.timeline p { margin: 0; color: var(--graphite); }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); }
.facts h3 { font-size: 1.5rem; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.facts ul { list-style: none; margin: 0; padding: 0; }
.facts li { padding: 8px 0; color: var(--graphite); line-height: 1.55; }
.facts li strong { display: block; color: var(--ink); font-weight: 500; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Waitlist / forms ---------- */
.waitlist { position: relative; overflow: hidden; }
.waitlist__mark { position: absolute; right: -6%; top: 50%; width: min(620px, 60vw); transform: translateY(-50%); opacity: .07; pointer-events: none; }
.waitlist .wrap { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
@media (max-width: 860px) { .waitlist .wrap { grid-template-columns: 1fr; } }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.9375rem; font-weight: 500; }
.field label .opt { font-weight: 400; color: var(--stone); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  font: 400 1rem/1.4 var(--sans); color: inherit;
  background: transparent; border: 1px solid var(--line); border-radius: 0;
  transition: border-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 17px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bronze); box-shadow: 0 0 0 1px var(--bronze); }
.field .error { display: none; font-size: 0.875rem; color: #A1361E; }
.field.has-error input, .field.has-error select { border-color: #A1361E; }
.field.has-error .error { display: block; }
.dark .field label { color: var(--ivory); }
.dark .field input, .dark .field select, .dark .field textarea { border-color: #3A3733; color: var(--ivory); background: rgba(255,255,255,.02); }
.dark .field select option { color: var(--ink); }
.dark .field input:focus, .dark .field select:focus, .dark .field textarea:focus { border-color: var(--champagne); box-shadow: 0 0 0 1px var(--champagne); }
.dark .field .error { color: #E8A48F; }
.dark .field.has-error input, .dark .field.has-error select { border-color: #E8A48F; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 6px; }
.form__note { margin: 0; font-size: 0.875rem; color: var(--graphite); max-width: 46ch; }
.dark .form__note { color: var(--stone); }
.form__status { grid-column: 1 / -1; margin: 0; font-size: 0.9375rem; }
.form__status:empty { display: none; }
.form__status.is-success { color: var(--champagne); }
.light .form__status.is-success { color: var(--bronze); }
.form__status.is-error { color: #E8A48F; }
.light .form__status.is-error { color: #A1361E; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(40px, 7vw, 112px); }
.info-block { padding: 28px 0; border-top: 1px solid var(--line); }
.info-block:last-child { border-bottom: 1px solid var(--line); }
.info-block h2 { font-size: 1.5rem; margin-bottom: 8px; }
.info-block p { margin: 0; color: var(--graphite); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--stone); padding: clamp(64px, 8vw, 104px) 0 40px; font-size: 0.9375rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--ink-line); }
.footer-top img { height: 56px; width: auto; margin-bottom: 24px; }
.footer-top h2 { font: 500 0.8125rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ivory); margin-bottom: 20px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top li { padding: 4px 0; }
.footer-top a { text-decoration: none; transition: color .2s; }
.footer-top a:hover { color: var(--champagne); }
.footer-top p { margin: 0 0 6px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; font-size: 0.8125rem; color: #8C877E; }
.footer-bottom p { margin: 0; max-width: 80ch; }
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
}

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

/* ---------- Patient experience (a real sequence, so it is numbered) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); counter-reset: step; }
.steps li { counter-increment: step; padding-top: 28px; border-top: 1px solid var(--champagne); }
.steps li::before { content: counter(step); display: block; font-family: var(--serif); font-size: 1rem; color: var(--bronze); margin-bottom: 18px; }
.steps h3 { font-size: 1.625rem; margin-bottom: 12px; }
.steps p { margin: 0; color: var(--graphite); font-size: 0.9875rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; row-gap: 36px; } }

/* ---------- Deep plane page: aging vs. lift comparison ---------- */
.compare { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.compare li { padding: clamp(36px, 4vw, 56px) clamp(20px, 3vw, 44px) 8px 0; }
.compare li + li { padding-left: clamp(20px, 3vw, 44px); border-left: 1px solid var(--line); }
.compare__word { font: 400 clamp(2.5rem, 1.6rem + 3vw, 4.25rem)/1 var(--serif); letter-spacing: -0.01em; color: #8F897E; margin-bottom: 28px; } /* lighter than ink, still 3:1 on ivory */
.compare .is-key .compare__word { color: var(--ink); }
.compare .is-key { position: relative; }
.compare .is-key::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: var(--champagne); }
.compare h3 { font-size: 1.5rem; margin-bottom: 10px; }
.compare li > p:last-child { margin: 0; color: var(--graphite); }
@media (max-width: 860px) {
  .compare { grid-template-columns: 1fr; border-top: 0; }
  .compare li, .compare li + li { padding: 32px 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Deep plane page: benefits & questions ---------- */
.benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 64px); }
.benefits li { padding: 32px 0 40px; border-top: 1px solid var(--line); }
.benefits h3 { font-size: 1.625rem; margin-bottom: 12px; }
.benefits p { margin: 0; color: var(--graphite); }
@media (max-width: 960px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .benefits { grid-template-columns: 1fr; } }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; min-height: 48px; font: 400 1.375rem/1.3 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 1px solid var(--bronze); border-bottom: 1px solid var(--bronze); transform: rotate(45deg) translateY(-4px); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq summary:hover { color: var(--bronze); }
.faq details p { margin: 0 0 28px; color: var(--graphite); }
.treatments .more { margin-top: 14px; }
.treatments .text-link { color: var(--bronze); }

/* ---------- Instagram link in the menu ---------- */
.nav .nav__social { display: inline-flex; align-items: center; gap: 12px; padding: 10px 4px; }
.nav__social svg { width: 20px; height: 20px; flex: none; }
.nav__social-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1260px) {
  .nav .nav__social { padding: 14px 0; }
  .nav__social svg { width: 26px; height: 26px; }
  .nav__social-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}
.split__media--landscape img { aspect-ratio: 3 / 2; }
.split__media--square img { aspect-ratio: 1 / 1; object-position: 50% 82%; }

/* ---------- Professional memberships (home, inside the training band) ---------- */
.affiliations { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 32px 64px; margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--ink-line); }
.affiliations p { margin: 0; color: var(--stone); max-width: 52ch; }
.affiliations__logos { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(32px, 5vw, 64px); }
.affiliations__logos li:first-child img { height: 88px; width: auto; }
.affiliations__logos li:last-child img { height: 62px; width: auto; }
@media (max-width: 860px) {
  .affiliations { grid-template-columns: 1fr; }
  .affiliations__logos { flex-wrap: wrap; }
  .affiliations__logos li:first-child img { height: 60px; }
  .affiliations__logos li:last-child img { height: 44px; }
}

/* ---------- Membership logos in the footer ---------- */
.footer-affiliations { display: flex; align-items: center; gap: 28px; margin-top: 4px; opacity: .8; }
.footer-top .footer-affiliations li { padding: 0; }
.footer-top .footer-affiliations img { margin: 0; width: auto; }
.footer-affiliations li:first-child img { height: 52px; }
.footer-affiliations li:last-child img { height: 36px; }
.info-block .text-link { color: var(--bronze); }
