/* ============================================
   ELAINE OLIVEIRA LEITE — Premium One Page
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Italiana&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

:root {
  --nude:   #525947;
  --bg:     #F7F7F2;
  --surface:#E7EBE4;
  --gold:   #525947;
  --dark:   #525947;
  --white:  #FBF6ED;
  --text:   #525947;
  --muted:  #525947;
  --border: rgba(82,89,71,.22);
  --serif:  'Italiana', 'Times New Roman', serif;
  --display: 'Italiana', 'Times New Roman', serif;
  --sans:   'Source Sans 3', system-ui, sans-serif;
  --shadow: 0 2px 12px rgba(82,89,71,.10);
  --shadow-md: 0 6px 28px rgba(82,89,71,.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ─── Typography ─────────────────────────── */
.label {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}
h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -.01em;
  color: var(--nude);
}
h3 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--nude);
}
p { font-size: .93rem; line-height: 1.78; color: var(--text); }

/* ─── Layout ─────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 clamp(1.5rem,5vw,4rem); }
.section-pad { padding: clamp(5rem,8vw,8rem) 0; }

/* ─── Buttons ────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .9rem 2rem;
  border-radius: 100px;
  transition: background .3s, color .3s, transform .2s;
}
.btn-primary { background: var(--nude); color: var(--white); }
.btn-primary:hover { background: var(--nude); color: var(--white); transform: translateY(-2px); filter: brightness(.92); }
.btn-outline { border: 1px solid rgba(251,246,237,.4); color: var(--white); }
.btn-outline:hover { border-color: var(--nude); background: rgba(205,164,160,.15); transform: translateY(-2px); }
.btn-outline-dark { border: 1px solid var(--border); color: var(--text); background: transparent; }
.btn-outline-dark:hover { border-color: var(--gold); color: var(--gold); }

/* ─── HEADER ─────────────────────────────── */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.2rem 0;
  background: var(--bg);
  transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
#header.scrolled {
  background: var(--bg);
  padding: .85rem 0;
  border-color: var(--border);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 2rem;
}
/* Two logos: light version (for dark/transparent header), dark version (for scrolled) */
.logo-light { height: 53px; width: auto; display: block; transition: opacity .3s; }
.logo-dark  { height: 46px; width: auto; display: none; transition: opacity .3s; }
#header.scrolled .logo-light { display: none; }
#header.scrolled .logo-dark  { display: block; }

nav.header-nav { display: flex; align-items: center; gap: 1.8rem; }
nav.header-nav a {
  font-size: .76rem; font-weight: 500;
  letter-spacing: .06em; color: var(--dark);
  transition: color .3s;
}
nav.header-nav a:hover { color: var(--nude); }
/* Prevent header CTA from wrapping */
#header .btn-primary { white-space: nowrap; }
#header.scrolled nav.header-nav a { color: var(--dark); }
#header.scrolled nav.header-nav a:hover { color: var(--gold); }
#header.scrolled .btn-primary { background: var(--gold); color: var(--white); }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 28px; padding: 4px; }
.hamburger span { display: block; height: 1.5px; background: var(--dark); transition: all .3s; transform-origin: center; }
#header.scrolled .hamburger span { background: var(--dark); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 999;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.8rem;
  opacity: 0; pointer-events: none; transition: opacity .4s;
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav a { font-family: var(--serif); font-size: clamp(2rem,5vw,2.8rem); font-weight: 300; color: var(--text); transition: color .3s; }
.mobile-nav a:hover { color: var(--text); opacity:.72; }
.mobile-nav .mobile-cta { font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; background: var(--nude); color: var(--white); padding: .8rem 2rem; border-radius: 100px; margin-top: 1rem; }

/* ─── HERO ───────────────────────────────── */
.hero-sequence { position: relative; height: 420vh; }
.hero-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Gradient: subtle vignette — dark at bottom-left, almost transparent everywhere else */
.hero-gradient {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, rgba(122,90,86,.55) 0%, rgba(122,90,86,.24) 38%, transparent 68%),
    linear-gradient(to top,   rgba(122,90,86,.40) 0%, rgba(183,131,126,.16) 35%, transparent 65%);
}

/* Text block anchored to bottom-left — video dominates upper 60% */
.hero-content {
  position: absolute;
  bottom: clamp(5rem, 10vh, 9rem);
  left: clamp(1.8rem, 5vw, 5rem);
  max-width: min(38vw, 500px);
  z-index: 10;
}

/* Label — thin uppercase track */
.hero-label {
  display: flex; align-items: center; gap: .6rem;
  font-size: .62rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--nude); margin-bottom: 1.4rem;
}
.hero-label::before {
  content: '';
  display: block; width: 24px; height: 1px;
  background: var(--nude); flex-shrink: 0;
}

/* Headline — elegant, large but controlled */
.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  font-weight: 300; line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--white); margin-bottom: 1.6rem;
}
.hero-h1 em { font-style: italic; display: block; }

/* Subtitle */
.hero-sub {
  font-size: .86rem; line-height: 1.8;
  color: rgba(251,246,237,.62); margin-bottom: 2rem;
  max-width: 340px;
}

/* CTAs — compact, not full-width */
.hero-actions {
  display: flex; align-items: center; gap: .75rem; flex-wrap: nowrap;
}
.hero-actions .btn {
  padding: .7rem 1.5rem;
  font-size: .7rem; letter-spacing: .1em;
  white-space: nowrap;
}

/* Hero CTA — square corners */
.hero-actions .btn { border-radius: 0; }

/* Scroll hint */
.hero-scroll-hint {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  color: rgba(251,246,237,.35); font-size: .58rem; letter-spacing: .18em;
  text-transform: uppercase; z-index: 10;
}
.scroll-line { width: 1px; height: 36px; background: rgba(251,246,237,.25); position: relative; overflow: hidden; }
.scroll-line::after {
  content: ''; position: absolute; top: -100%; left: 0;
  width: 100%; height: 100%; background: var(--nude);
  animation: scrollDown 1.8s ease infinite;
}
@keyframes scrollDown { 0%{top:-100%} 100%{top:100%} }

/* ─── MARQUEE ────────────────────────────── */
.marquee-section {
  background: var(--bg); padding: 1.2rem 0; overflow: hidden;
  border-top: 1px solid rgba(205,164,160,.1);
  border-bottom: 1px solid rgba(205,164,160,.1);
}
.marquee-content {
  display: inline-flex; gap: 2.5rem; padding-right: 2.5rem;
  flex-shrink: 0; animation: marqueeScroll 28s linear infinite; white-space: nowrap;
}
.marquee-content.rev { animation-direction: reverse; }
.marquee-content span { font-size: .68rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(205,164,160,.78); }
.marquee-content .dot { color: var(--nude); font-size: .45rem; }
@keyframes marqueeScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ─── PAIN SECTION ───────────────────────── */
.pain-section { background: var(--bg); }
.pain-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; align-items: center; position: relative; padding: 2rem 0;
}
.pain-img {
  border-radius: 0; overflow: hidden;
  aspect-ratio: 4/5; position: relative; z-index: 1;
}
.pain-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.pain-text {
  position: relative; z-index: 2; margin-right: -10%; padding: clamp(3rem,6vw,5.2rem) clamp(2rem,6vw,5.8rem);
  background: var(--white); box-shadow: 0 12px 28px rgba(122,90,86,.12);
}
.pain-text .label { display: block; margin-bottom: 1rem; }
.pain-text h2 { max-width: 620px; margin-bottom: 1.5rem; }
.pain-text p { max-width: 640px; }
.pain-points { display: grid; gap: .8rem; margin-top: 2rem; list-style: none; }
.pain-points li { display: flex; align-items: center; gap: .9rem; color: var(--dark); font-size: .86rem; line-height: 1.4; }
.pain-points li::before { content: '✓'; width: 25px; height: 25px; border: 1px solid var(--nude); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 25px; color: var(--gold); font-size: .75rem; }
.pain-vertical { position: absolute; top: 0; right: 0; z-index: 2; padding: 1.3rem .95rem; background: var(--gold); color: var(--white); writing-mode: vertical-rl; transform: rotate(180deg); font-size: .66rem; letter-spacing: .25em; }

/* ─── QUANDO PROCURAR ────────────────────── */
.when-section { background: var(--surface); }
.when-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.when-text .label { margin-bottom: 1rem; }
.when-text h2 { margin-bottom: 1.4rem; }
.when-text p + p { margin-top: .9rem; }
.when-bullets { margin: 2rem 0; }
.when-bullet {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: .9rem 0; border-bottom: 1px solid var(--border);
}
.when-bullet:first-child { border-top: 1px solid var(--border); }
.bullet-num { font-family: var(--serif); font-size: .9rem; color: var(--nude); flex-shrink: 0; width: 26px; padding-top: .05rem; }
.bullet-text { font-size: .88rem; color: var(--muted); }
.when-img { border-radius: 12px; overflow: hidden; aspect-ratio: 3/4; }
.when-img img { width: 100%; height: 100%; object-fit: cover; }

/* ─── TRICOLOGIA MÉDICA — ESPECIALIDADES ── */
.trichology-specialties { background: var(--nude); color: var(--white); }
.trichology-specialties .container { max-width: 1180px; }
.trichology-kicker {
  display: block; text-align: center; color: rgba(251,246,237,.72);
  font-size: .64rem; letter-spacing: .34em; margin-bottom: .8rem;
}
.trichology-specialties h2 {
  color: var(--white); text-align: center; font-family: var(--display);
  font-size: clamp(1.8rem,3vw,2.55rem);
  font-weight: 300; margin-bottom: 2rem;
}
.trichology-grid {
  position: relative; overflow: hidden; padding: 0 .5rem 1rem;
}
.trichology-track {
  display: flex; gap: 1.15rem; align-items: stretch;
  overflow-x: auto; scroll-snap-type: none; scrollbar-width: none;
  padding: 0 .5rem 1.25rem;
}
.trichology-track::-webkit-scrollbar { display: none; }
.trichology-carousel-controls {
  display: flex; justify-content: flex-end; gap: .7rem; margin: -1rem 0 1rem;
  position: relative; z-index: 2;
}
.trichology-carousel-controls button {
  width: 42px; height: 42px; border: 1px solid rgba(251,246,237,.55);
  border-radius: 50%; color: var(--white); background: transparent; cursor: pointer;
  font-size: 1.25rem; transition: background .25s, color .25s;
}
.trichology-carousel-controls button:hover { background: var(--white); color: var(--gold); }
.trichology-card {
  flex: 0 0 clamp(250px, 31vw, 360px); scroll-snap-align: center;
  min-width: 0; overflow: hidden; background: var(--bg); color: var(--muted); border-radius: 9px;
  transition: transform .3s, background .3s, color .3s;
}
.trichology-card.is-active { background: var(--bg); color: var(--dark); border: 1px solid var(--button-brown); transform: none; }
.trichology-card.is-active h3, .trichology-card.is-active p { color: var(--dark); }
.trichology-card img {
  display: block; width: 100%; aspect-ratio: 1.55 / 1; object-fit: cover;
}
.trichology-card > div { padding: 1.05rem .85rem 1.15rem; flex: 1; }
.trichology-card h3 {
  color: var(--dark); font-family: var(--display); font-size: .92rem; font-weight: 400;
  line-height: 1.35; margin-bottom: .7rem;
}
.trichology-card h3 span { display: inline; }
.trichology-card p { color: var(--muted); font-size: .72rem; line-height: 1.45; }

/* ─── PROCEDIMENTOS EM CONSULTÓRIO ──────── */
.procedures-section {
  position: relative; overflow: hidden; background-color: var(--bg);
}
.procedures-section::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  width: min(48vw, 560px); aspect-ratio: 1;
  left: 50%; top: 54%; transform: translate(-50%, -50%);
  background: url('simbolo.png') center / contain no-repeat;
  opacity: .075;
}
.procedures-section > .container { position: relative; z-index: 1; }
.procedures-section .container { max-width: 1060px; }
.procedures-kicker {
  display: block; text-align: center; color: var(--nude);
  font-size: .65rem; letter-spacing: .35em; margin-bottom: .8rem;
}
.procedures-section h2 {
  color: var(--gold); font-family: var(--display); font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.6rem); text-align: center; margin-bottom: 2.8rem;
}
.procedures-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.2rem;
}
.procedure-card {
  position: relative; display: flex; align-items: center; min-height: 118px;
  padding: 1.1rem 1.35rem 1.1rem 3rem; background: var(--gold); color: var(--white);
  border: 1px solid rgba(251,246,237,.62); border-radius: 10px;
  box-shadow: 0 2px 0 rgba(122,90,86,.16); overflow: hidden;
}
.procedure-card::before {
  content: '›'; position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; border: 1px solid rgba(251,246,237,.75);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; line-height: 1; color: var(--white);
}
.procedure-card p { color: var(--white); font-size: .86rem; line-height: 1.45; }
.procedure-card strong { font-weight: 700; }

/* ─── TRICOLOGIA ─────────────────────────── */
.trico-section { background: var(--nude); }
.trico-section .label { color: var(--nude); margin-bottom: 1rem; }
.trico-section h2 { color: var(--bg); max-width: 620px; margin-bottom: 1.4rem; }
.trico-section p { color: rgba(251,246,237,.86); }
.trico-section p + p { margin-top: .9rem; }
.trico-quote {
  font-family: var(--serif); font-size: clamp(1.1rem,1.8vw,1.5rem);
  font-style: italic; color: var(--bg);
  border-left: 2px solid rgba(251,246,237,.72); padding-left: 1.5rem;
  margin-top: 2.5rem; line-height: 1.55; max-width: 540px;
}

/* ─── CONDITIONS ─────────────────────────── */
.conditions-section { background: var(--bg); }
.conditions-section .label { margin-bottom: 1rem; }
.conditions-section h2 { max-width: 520px; margin-bottom: 1rem; }
.conditions-section > .container > p { max-width: 540px; margin-bottom: 2.5rem; }
.conditions-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr));
  gap: 1.2rem;
}
.cond-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.8rem;
  position: relative; overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.cond-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 2px; background: var(--nude);
  transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.cond-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(205,164,160,.4); }
.cond-card:hover::before { transform: scaleX(1); }
.cond-num { font-family: var(--serif); font-size: 2.2rem; font-weight: 300; color: rgba(205,164,160,.22); line-height: 1; margin-bottom: .8rem; }
.cond-card h3 { margin-bottom: .45rem; }
.cond-card p { font-size: .82rem; }

/* ─── HOW IT WORKS ───────────────────────── */
.how-section { background: var(--surface); }
.how-section .label { margin-bottom: 1rem; }
.how-section h2 { max-width: 520px; margin-bottom: 3rem; }
.timeline { position: relative; padding-left: 3rem; }
.timeline::before { content: ''; position: absolute; left: .8rem; top: .3rem; bottom: .3rem; width: 1px; background: var(--border); }
.tl-item { position: relative; margin-bottom: 2.8rem; }
.tl-item:last-child { margin-bottom: 0; }
.tl-dot {
  position: absolute; left: -2.3rem; top: .15rem;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--nude);
  display: flex; align-items: center; justify-content: center;
}
.tl-dot::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--nude); }
.tl-step { font-size: .62rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--nude); margin-bottom: .4rem; }
.tl-item h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.tl-item p { font-size: .87rem; max-width: 500px; }

/* ─── TREATMENTS ─────────────────────────── */
.treatments-section { background: var(--bg); }
.treatments-section .label { margin-bottom: 1rem; }
.treatments-section h2 { max-width: 520px; margin-bottom: 1rem; }
.treatments-section > .container > p { max-width: 560px; margin-bottom: 2.5rem; }
.treatments-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 1.1rem; }
.treat-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.8rem;
  transition: transform .3s, box-shadow .3s;
}
.treat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.treat-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(205,164,160,.14);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; margin-bottom: 1.1rem;
}
.treat-card h3 { margin-bottom: .4rem; }
.treat-card p { font-size: .82rem; }

/* ─── BENEFITS ───────────────────────────── */
.benefits-section { background: var(--nude); }
.benefits-section .label { color: var(--nude); margin-bottom: 1rem; }
.benefits-section h2 { color: var(--bg); max-width: 600px; margin-bottom: 2.5rem; }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 1.2rem; }
.ben-card { border: 1px solid rgba(205,164,160,.18); border-radius: 12px; padding: 1.8rem; transition: border-color .3s, background .3s; }
.ben-card:hover { border-color: var(--nude); background: rgba(205,164,160,.06); }
.ben-num { font-family: var(--serif); font-size: 2rem; font-weight: 300; color: rgba(205,164,160,.25); line-height: 1; margin-bottom: .8rem; }
.ben-card h3 { font-size: .95rem; color: var(--bg); margin-bottom: .4rem; }
.ben-card p { font-size: .82rem; color: rgba(251,246,237,.82); }
.ben-phrase { font-family: var(--serif); font-size: clamp(1.1rem,1.8vw,1.45rem); font-style: italic; color: var(--bg); margin-top: 3.5rem; max-width: 640px; line-height: 1.6; }

/* ─── COUNTERS ───────────────────────────── */
.counters-section { background: var(--surface); }
.counters-section .label { text-align: center; margin-bottom: 1rem; }
.counters-section h2 { text-align: center; max-width: 480px; margin: 0 auto 2.5rem; }
.counters-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px,1fr)); gap: 1.5rem; }
.counter-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 2.5rem 1.5rem; text-align: center; transition: transform .3s, box-shadow .3s; }
.counter-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.counter-val { font-family: var(--serif); font-size: clamp(2.4rem,4vw,3.2rem); font-weight: 300; color: var(--gold); line-height: 1; margin-bottom: .5rem; }
.counter-lbl { font-size: .78rem; color: var(--muted); font-weight: 500; line-height: 1.4; }

/* ─── ABOUT ──────────────────────────────── */
.about-section { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 5rem; align-items: center; }
.about-img-wrap { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 3/4; background: var(--bg); }
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.about-badge {
  position: absolute; bottom: 1.5rem; left: 1.5rem; right: auto;
  background: transparent; border: 0; padding: 0; box-shadow: none;
  max-width: calc(100% - 3rem);
}
.about-badge strong { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--white); margin-bottom: .15rem; text-shadow: 0 2px 14px rgba(0,0,0,.45); }
.about-badge span { font-size: .72rem; color: rgba(251,246,237,.88); text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.crm-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(205,164,160,.3);
  padding: .35rem .85rem; border-radius: 100px; margin-bottom: .8rem;
}
.about-text .label { margin-bottom: .5rem; }
.about-text h2 { margin-bottom: 1.4rem; }
.about-text p + p { margin-top: .9rem; }
.formation { margin-top: 2rem; }
.form-item { display: flex; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--border); }
.form-item:first-child { border-top: 1px solid var(--border); }
.form-year { font-family: var(--serif); font-size: .95rem; color: var(--nude); flex-shrink: 0; width: 38px; }
.form-text { font-size: .83rem; color: var(--muted); }
.about-cta { margin-top: 2.5rem; }

/* ─── ABOUT EDITORIAL REFERENCE ──────────── */
.about-editorial {
  position: relative; min-height: 720px; overflow: hidden;
  background: linear-gradient(90deg, var(--bg) 0%, #F4F5F0 52%, #EFF1EC 100%);
  border-top: 3px solid var(--dark);
}
.about-editorial-inner {
  position: relative; z-index: 2; min-height: 720px;
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  align-items: center; gap: 2rem;
}
.about-editorial-copy { max-width: 540px; padding: 4rem 0 4rem 4vw; }
.about-editorial-kicker {
  display: block; color: var(--gold); font-size: .68rem; letter-spacing: .28em;
  margin-bottom: 1.6rem;
}
.about-editorial-copy h2 {
  color: var(--dark); font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3.65rem);
  font-weight: 400; line-height: 1.08; margin-bottom: 1.3rem;
}
.about-editorial-copy > p:not(.about-editorial-detail) {
  color: var(--dark); font-family: var(--display); font-size: clamp(1.2rem, 1.8vw, 1.65rem);
  line-height: 1.25; margin-bottom: 1.25rem;
}
.about-editorial-detail {
  max-width: 520px; color: var(--muted); font-size: .94rem; line-height: 1.55; margin-bottom: 2rem;
}
.about-editorial-copy .btn { border-radius: 999px; background: var(--gold); color: var(--white); }
.about-editorial-copy .btn:hover { background: var(--nude); }
.about-editorial-portrait {
  align-self: stretch; position: relative; min-height: 720px; z-index: 2;
  background: transparent;
}
.about-editorial-portrait::before {
  display: none;
}
.about-editorial-portrait img {
  position: relative; z-index: 0; display: block; width: 100%; height: 100%;
  object-fit: contain; object-position: center bottom; opacity: 1;
  filter: drop-shadow(0 18px 28px rgba(112,78,71,.16));
}
.about-editorial-bg { position: absolute; z-index: 0; opacity: .13; filter: blur(1px); pointer-events: none; }
.about-editorial-bg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-editorial-bg-one { left: -4%; top: 0; bottom: 0; width: 32%; }
.about-editorial-bg-two { right: -4%; top: 0; bottom: 0; width: 30%; }
.about-editorial-bg-one::after, .about-editorial-bg-two::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 55%, #F4F5F0 100%);
}

/* ─── CREDIBILITY ────────────────────────── */
.cred-section { background: var(--surface); }
.cred-section .label { text-align: center; margin-bottom: 1rem; }
.cred-section h2 { text-align: center; max-width: 560px; margin: 0 auto 1.4rem; }
.cred-section > .container > p { text-align: center; max-width: 580px; margin: 0 auto 2.5rem; }
.cred-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: 1.2rem; }
.cred-block { background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 1.4rem 1.2rem; display: flex; align-items: flex-start; gap: .8rem; transition: border-color .3s; }
.cred-block:hover { border-color: var(--nude); }
.cred-icon { width: 32px; height: 32px; border-radius: 8px; background: rgba(205,164,160,.13); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: .9rem; }
.cred-block span { font-size: .82rem; font-weight: 600; color: var(--dark); line-height: 1.35; }

/* ─── CALENDAR ───────────────────────────── */
.calendar-section { background: var(--bg); }
.calendar-section .label { margin-bottom: 1rem; }
.calendar-section h2 { max-width: 500px; margin-bottom: 1rem; }
.calendar-section > .container > p { max-width: 500px; margin-bottom: 2.5rem; }
.cal-wrapper { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: start; }
.cal-box { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 1.8rem; }
.cal-hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.cal-month { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; color: var(--dark); }
.cal-nav { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border); background: var(--white); display: flex; align-items: center; justify-content: center; font-size: .78rem; color: var(--muted); cursor: pointer; transition: border-color .25s, color .25s; }
.cal-nav:hover { border-color: var(--nude); color: var(--gold); }
.cal-weekdays { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; margin-bottom: .3rem; }
.cal-wd { text-align: center; font-size: .62rem; font-weight: 600; letter-spacing: .08em; color: var(--muted); padding: .3rem 0; text-transform: uppercase; }
.cal-days { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; }
.cal-day { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 500; border-radius: 7px; transition: all .2s; }
.cal-day.empty { cursor: default; }
.cal-day.avail { background: var(--white); border: 1px solid var(--border); cursor: pointer; color: var(--text); }
.cal-day.avail:hover { border-color: var(--nude); background: rgba(205,164,160,.08); }
.cal-day.last { background: rgba(205,164,160,.08); border: 1px solid rgba(205,164,160,.25); color: var(--gold); cursor: pointer; font-style: italic; }
.cal-day.last:hover { border-color: var(--gold); }
.cal-day.busy { color: rgba(205,164,160,.38); cursor: not-allowed; text-decoration: line-through; }
.cal-day.sel { background: var(--gold); border-color: var(--gold); color: var(--white); transform: scale(1.06); }
.cal-legend { display: flex; gap: .8rem; margin-top: 1rem; flex-wrap: wrap; }
.cal-leg { display: flex; align-items: center; gap: .35rem; font-size: .66rem; color: var(--muted); }
.cal-dot { width: 7px; height: 7px; border-radius: 50%; }
.cal-dot.a { background: var(--nude); }
.cal-dot.l { background: var(--gold); }
.cal-dot.b { background: rgba(205,164,160,.3); }
.slots-wrap { margin-top: 1.4rem; display: none; }
.slots-wrap.vis { display: block; }
.slots-lbl { font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .7rem; }
.slots-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: .4rem; }
.slot { padding: .6rem; border-radius: 7px; font-size: .78rem; font-weight: 500; text-align: center; border: 1px solid var(--border); background: var(--white); cursor: pointer; transition: all .2s; color: var(--text); }
.slot:hover:not(.s-busy) { border-color: var(--nude); }
.slot.s-busy { color: rgba(205,164,160,.38); cursor: not-allowed; text-decoration: line-through; }
.slot.s-last { color: var(--gold); border-color: rgba(205,164,160,.25); font-style: italic; }
.slot.s-sel { background: var(--nude); border-color: var(--nude); color: var(--white); }
/* Booking form */
.book-wrap { display: flex; flex-direction: column; gap: 1rem; }
.book-wrap h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 300; margin-bottom: .2rem; }
.book-wrap > p { margin-bottom: .5rem; }
.book-summary { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 1.1rem 1.3rem; font-size: .83rem; display: none; }
.book-summary.vis { display: block; }
.book-summary strong { color: var(--gold); }
.form-field { display: flex; flex-direction: column; gap: .35rem; }
.form-field label { font-size: .68rem; font-weight: 600; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.form-field input { padding: .82rem 1rem; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); font-family: var(--sans); font-size: .88rem; color: var(--text); outline: none; transition: border-color .25s; }
.form-field input:focus { border-color: var(--nude); }
.form-field input::placeholder { color: rgba(205,164,160,.45); }
.book-btn { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 1rem 2rem; background: var(--gold); color: var(--white); border-radius: 100px; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background .3s, transform .2s; width: 100%; margin-top: .3rem; }
.book-btn:hover { background: var(--nude); transform: translateY(-2px); filter: brightness(.92); }
.book-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.book-success { background: rgba(205,164,160,.07); border: 1px solid rgba(205,164,160,.28); border-radius: 10px; padding: 1.5rem; text-align: center; display: none; }
.book-success.vis { display: block; }
.book-success-icon { font-size: 1.8rem; margin-bottom: .5rem; }
.book-success h3 { font-family: var(--serif); font-size: 1.3rem; color: var(--gold); margin-bottom: .4rem; }
.book-success p { font-size: .83rem; }
.book-success .wa-btn { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.1rem; background: var(--nude); color: var(--white); padding: .7rem 1.4rem; border-radius: 100px; font-size: .8rem; font-weight: 600; transition: background .3s; }
.book-success .wa-btn:hover { background: var(--nude); filter: brightness(.92); }

/* ─── FAQ ────────────────────────────────── */
.obj-section { background: var(--surface); }
.obj-single { max-width: 706px; margin: 0 auto; }
.obj-text { text-align: center; }
.obj-text .label { display: block; margin-bottom: 1rem; color: var(--gold); }
.obj-text h2 { color: var(--gold); font-family: var(--display); font-size: clamp(2.35rem, 4vw, 3.3rem); font-weight: 400; line-height: 1; margin-bottom: 1rem; }
.obj-subtitle { color: var(--muted); font-size: 1rem; margin-bottom: 2rem; }
.accordion { text-align: left; }
.accordion-item { margin-bottom: .55rem; border: 0; }
.acc-trigger { width: 100%; display: flex; align-items: center; justify-content: flex-start; padding: 1.18rem 1.3rem; text-align: left; font-size: .95rem; font-weight: 500; color: var(--white); cursor: pointer; gap: 1rem; background: var(--gold); border: none; font-family: var(--sans); transition: background .25s, filter .25s; }
.acc-trigger:hover { background: var(--nude); filter: brightness(.98); }
.acc-icon { width: 15px; flex: 0 0 15px; display: inline-flex; align-items: center; justify-content: center; color: var(--white); font-size: 1rem; line-height: 1; transition: transform .3s; }
.accordion-item.open .acc-icon { transform: rotate(180deg); }
.acc-body { max-height: 0; overflow: hidden; background: rgba(255,255,255,.3); transition: max-height .38s ease; }
.acc-body p { padding: .85rem 1.3rem 1rem 3rem; font-size: .86rem; color: var(--dark); }

/* ─── FAQ ────────────────────────────────── */
.faq-section { background: var(--bg); }
.faq-section .label { text-align: center; margin-bottom: 1rem; }
.faq-section h2 { text-align: center; margin-bottom: 3rem; }
.faq-inner { max-width: 700px; margin: 0 auto; }

/* ─── CTA FINAL ──────────────────────────── */
.cta-final { background: var(--nude); text-align: center; position: relative; overflow: hidden; }
.cta-final::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 120%, rgba(205,164,160,.12) 0%, transparent 65%); pointer-events: none; }
.cta-final .label { color: var(--nude); margin-bottom: 1rem; }
.cta-final h2 { color: var(--bg); max-width: 620px; margin: 0 auto 1.4rem; }
.cta-final p { color: rgba(251,246,237,.86); max-width: 460px; margin: 0 auto 2.5rem; }
.cta-microcopy {
  font-size: .68rem;
  color: rgba(205,164,160,.72);
  margin-top: .8rem;
  letter-spacing: .08em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
}
.cta-microcopy::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1px;
  background: rgba(205,164,160,.32);
}

/* ─── FOOTER ─────────────────────────────── */
footer { background: var(--bg); border-top: 1px solid var(--border); padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
.footer-logo-img { height: 58px; width: auto; margin-bottom: 1rem; opacity: 1; }
.footer-tagline { font-size: .8rem; color: var(--text); max-width: 260px; line-height: 1.7; }
.footer-wa { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.2rem; background: var(--dark); color: var(--bg); padding: .6rem 1.2rem; border-radius: 100px; font-size: .75rem; font-weight: 600; transition: background .3s; }
.footer-wa:hover { background: var(--gold); }
.footer-col h4 { font-family: var(--serif); font-size: .65rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--dark); margin-bottom: 1rem; }
.footer-col a, .footer-col address { font-size: .8rem; color: var(--text); display: block; line-height: 1.8; font-style: normal; transition: color .25s; }
.footer-col a:hover { color: var(--text); opacity:.72; }
.footer-hours { display:grid; gap:.25rem; margin-top:.9rem; color:var(--text); font-size:.76rem; line-height:1.55; }
.footer-hours strong { color:var(--dark); font-size:.68rem; letter-spacing:.08em; text-transform:uppercase; }
.footer-hours span { display:block; }
.footer-hours b { color:var(--dark); font-weight:700; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: .7rem; color: var(--muted); flex-wrap: wrap; gap: .5rem; }

/* ─── VIRTUAL ASSISTANT ──────────────────── */
.virtual-assistant { position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 600; font-family: var(--sans); }
.assistant-toggle { width: 58px; height: 58px; padding: 4px; border: 2px solid var(--white); border-radius: 50%; background: var(--gold); box-shadow: 0 5px 22px rgba(122,90,86,.25); cursor: pointer; transition: transform .2s, background .2s; }
.assistant-toggle:hover { transform: translateY(-2px); background: var(--nude); }
.assistant-toggle img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.assistant-panel { position: absolute; right: 0; bottom: 4.4rem; width: min(360px, calc(100vw - 2rem)); overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: var(--white); box-shadow: 0 14px 45px rgba(122,90,86,.2); }
.assistant-panel[hidden] { display: none; }
.assistant-header { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .9rem 1rem; background: var(--gold); color: var(--white); }
.assistant-identity { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.assistant-identity img { width: 34px; height: 34px; border-radius: 50%; background: var(--white); object-fit: cover; }
.assistant-identity strong, .assistant-identity small { display: block; }
.assistant-identity strong { font-size: .8rem; }
.assistant-identity small { margin-top: .12rem; font-size: .68rem; opacity: .82; }
.assistant-close { color: var(--white); font-size: 1.5rem; line-height: 1; padding: .2rem; }
.assistant-messages { display: flex; flex-direction: column; gap: .55rem; max-height: 230px; overflow-y: auto; padding: 1rem; background: var(--bg); }
.assistant-message { align-self: flex-start; max-width: 88%; padding: .65rem .75rem; border-radius: 11px 11px 11px 3px; background: var(--surface); color: var(--dark); font-size: .78rem; line-height: 1.45; }
.assistant-message.is-user { align-self: flex-end; border-radius: 11px 11px 3px 11px; background: var(--gold); color: var(--white); }
.assistant-quick { display: flex; flex-wrap: wrap; gap: .4rem; padding: .7rem 1rem 0; background: var(--bg); }
.assistant-quick button { padding: .42rem .6rem; border: 1px solid var(--nude); border-radius: 999px; color: var(--gold); background: var(--white); font-size: .68rem; }
.assistant-form { display: flex; gap: .5rem; padding: .7rem 1rem 1rem; background: var(--bg); }
.assistant-form input { min-width: 0; flex: 1; padding: .65rem .75rem; border: 1px solid var(--border); border-radius: 8px; outline: none; background: var(--white); color: var(--dark); font: inherit; font-size: .75rem; }
.assistant-form input:focus { border-color: var(--gold); }
.assistant-form button { padding: .65rem .75rem; border-radius: 8px; background: var(--gold); color: var(--white); font-size: .72rem; font-weight: 600; }

/* ─── RESPONSIVE ─────────────────────────── */
@media(max-width:1024px){
  .pain-grid, .when-grid, .about-grid, .cal-wrapper, .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .trichology-track { padding-left: 6vw; padding-right: 6vw; }
  .about-editorial-inner { grid-template-columns: minmax(0, .9fr) minmax(300px, 1.1fr); }
  .about-editorial-copy { padding-left: 1rem; }
  .pain-grid { grid-template-columns: 1fr; }
  .pain-text { margin-right: 0; }
  .about-badge { left: 1.25rem; right: auto; bottom: 1.25rem; }
  nav.header-nav { display: none; }
  .hamburger { display: flex; }
  /* Hero tablet — slightly expand text block */
  .hero-content { max-width: min(55vw, 480px); }
}

@media(max-width:768px){
  /* ── Hero mobile — minimal, video-first ── */
  .hero-sequence { height: 360svh; }
  .trichology-specialties { padding-left: .4rem; padding-right: .4rem; }
  .trichology-specialties .container { padding-left: .65rem; padding-right: .65rem; }
  .trichology-kicker { font-size: .55rem; letter-spacing: .22em; }
  .trichology-specialties h2 { font-size: 1.65rem; margin-bottom: 1.35rem; }
  .trichology-card > div { padding: .75rem .65rem .85rem; }
  .trichology-track {
    gap: .7rem;
    padding-left: max(.5rem, calc((100% - min(78vw, 330px)) / 2));
    padding-right: max(.5rem, calc((100% - min(78vw, 330px)) / 2));
  }
  .trichology-card { flex-basis: min(78vw, 330px); }
  .trichology-card h3 { font-size: .72rem; }
  .trichology-card p { font-size: .62rem; line-height: 1.35; }
  .about-editorial, .about-editorial-inner { min-height: 0; }
  .about-editorial-inner { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .about-editorial-copy { max-width: none; padding: 4.5rem 1.2rem 2rem; }
  .about-editorial-copy h2 { font-size: clamp(2.15rem, 10vw, 3.2rem); }
  .about-editorial-detail { font-size: .82rem; }
  .about-editorial-portrait { min-height: 520px; height: 520px; }
  .about-editorial-bg-one { width: 52%; height: 52%; bottom: auto; opacity: .1; }
  .about-editorial-bg-two { width: 50%; height: 52%; top: auto; opacity: .1; }
  .procedures-section h2 { font-size: 1.9rem; margin-bottom: 1.8rem; }
  .procedures-grid { grid-template-columns: 1fr; gap: .75rem; }
  .procedure-card { min-height: 0; padding: 1rem 1rem 1rem 2.8rem; }
  .procedure-card p { font-size: .78rem; }
  .hero-content {
    bottom: clamp(4.5rem, 8vh, 7rem);
    left: 1.5rem;
    right: 1.5rem;
    max-width: 100%;
  }
  .hero-label { font-size: .58rem; letter-spacing: .2em; margin-bottom: 1rem; }
  .hero-h1 {
    font-size: clamp(1.6rem, 5.5vw, 2.2rem);
    margin-bottom: 1.1rem;
    line-height: 1.14;
  }
  /* Keep the shortened subtitle visible on mobile */
  .hero-sub {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    max-width: 30rem;
  }
  /* Compact CTA row */
  .hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: .6rem;
  }
  .hero-actions .btn {
    padding: .65rem 1.2rem;
    font-size: .68rem;
    letter-spacing: .1em;
    width: auto; /* override any inherited width */
  }

  /* Other sections */
  .conditions-grid, .benefits-grid, .counters-grid, .treatments-grid, .cred-grid { grid-template-columns: 1fr; }
  .virtual-assistant { right: 1rem; bottom: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Section padding tighter on mobile */
  .section-pad { padding: clamp(3.5rem,7vw,5rem) 0; }

  /* h2 size on mobile */
  h2 { font-size: clamp(1.7rem, 5.5vw, 2.4rem); }
}

@media(max-width:480px){
  .slots-grid { grid-template-columns: repeat(2,1fr); }
  .hero-actions { gap: .5rem; }
  .hero-actions .btn { padding: .6rem 1rem; font-size: .65rem; }
}


/* ─── INSTAGRAM ELAINE ──────────────────── */
.ig-legacy { display:none !important; }
.ig-faithful { background:#fff; color:#4f4140; padding:48px 24px 0; font-family:Arial,Helvetica,sans-serif; }
.ig-faithful .ig-shell { max-width:1364px; margin:auto; }
.ig-faithful a { color:inherit; text-decoration:none; }
.ig-faithful .ig-profile { max-width:680px; margin:0 auto; display:grid; grid-template-columns:164px minmax(0,1fr); gap:24px; align-items:start; }
.ig-faithful .ig-avatar { display:block; width:164px; height:164px; padding:4px; border-radius:50%; background:linear-gradient(35deg,#525947,#89917E,#F7F7F2); margin-top:12px; }
.ig-faithful .ig-avatar img { display:block; width:100%; height:100%; border:3px solid #fff; border-radius:50%; object-fit:cover; }
.ig-faithful .ig-username { font-size:25px; font-weight:600; line-height:1.25; overflow-wrap:anywhere; }
.ig-faithful .ig-name { font-size:14px; margin:8px 0 14px; font-weight:600; }
.ig-faithful .ig-stats { display:flex; gap:18px; font-size:14px; white-space:nowrap; margin-bottom:20px; }
.ig-faithful .ig-bio { font-size:14px; line-height:1.4; }
.ig-faithful .ig-address { color:#b9ada1; margin-top:3px; }
.ig-faithful .ig-link { display:inline-block; color:#ecc4d0; font-weight:600; margin-top:3px; }
.ig-faithful .ig-actions { max-width:680px; margin:25px auto 0; display:grid; grid-template-columns:1.2fr 1fr 44px; gap:8px; }
.ig-faithful .ig-actions a { min-height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; background:var(--gold); color:var(--white); font-weight:600; font-size:14px; }
.ig-faithful .ig-actions .ig-follow { background:var(--gold); color:var(--white); }
.ig-faithful svg { width:24px; height:24px; }
.ig-faithful a:focus-visible { outline:3px solid #e4bd86; outline-offset:4px; }
.ig-faithful .ig-highlights { display:flex; gap:16px; max-width:680px; margin:46px auto 30px; overflow-x:auto; padding:2px 0 12px; scrollbar-width:thin; scrollbar-color:#746250 transparent; }
.ig-faithful .ig-highlight { flex:0 0 81px; text-align:center; min-width:0; }
.ig-faithful .ig-highlight img { width:81px; height:81px; display:block; border-radius:50%; border:3px solid #393a3b; padding:4px; object-fit:cover; margin:0 auto 9px; }
.ig-faithful .ig-highlight span { display:block; font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-weight:600; }
.ig-faithful .ig-tabs { display:flex; max-width:800px; margin:auto; justify-content:space-around; height:58px; }
.ig-faithful .ig-tabs a { display:flex; align-items:center; justify-content:center; width:64px; color:#93918f; border-bottom:2px solid transparent; }
.ig-faithful .ig-tabs .ig-active { color:#edc8d3; border-bottom-color:#edc8d3; }
.ig-faithful .ig-carousel-controls { display:flex; align-items:center; gap:8px; margin:0 0 14px; color:#e7c7d0; font-size:13px; }
.ig-faithful .ig-carousel-controls span { margin-right:auto; }
.ig-faithful .ig-carousel-controls button { border:1px solid var(--gold); background:var(--gold); color:var(--white); border-radius:50%; width:40px; height:40px; font-size:22px; cursor:pointer; }
.ig-faithful .ig-grid { display:flex; gap:8px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:thin; scrollbar-color:#aa8792 #1a191c; border-radius:5px; padding-bottom:12px; }
.ig-faithful .ig-post { position:relative; display:block; flex:0 0 calc((100% - 24px)/4); aspect-ratio:3/4; overflow:hidden; background:#262326; scroll-snap-align:start; }
.ig-faithful .ig-post img { display:block; width:100%; height:100%; object-fit:cover; transition:filter .2s; }
.ig-faithful .ig-post:hover img { filter:brightness(.85); }
.ig-faithful .ig-end { padding:28px 0; text-align:center; font-size:13px; color:#525947; }

@media(max-width:767px){
  .ig-faithful { padding:28px 0 0; }
  .ig-faithful .ig-profile { margin:0 16px; grid-template-columns:88px minmax(0,1fr); gap:14px; }
  .ig-faithful .ig-avatar { width:88px; height:88px; margin-top:0; padding:3px; }
  .ig-faithful .ig-avatar img { border-width:2px; }
  .ig-faithful .ig-username { font-size:19px; }
  .ig-faithful .ig-name { font-size:12px; line-height:1.4; margin:6px 0 12px; }
  .ig-faithful .ig-stats { grid-column:1/-1; justify-content:space-around; gap:8px; margin:2px 0 0; font-size:12px; }
  .ig-faithful .ig-stats span { text-align:center; }
  .ig-faithful .ig-stats strong { display:block; font-size:15px; margin-bottom:4px; }
  .ig-faithful .ig-bio { grid-column:1/-1; font-size:13px; line-height:1.5; }
  .ig-faithful .ig-actions { margin:20px 16px 0; grid-template-columns:1fr 1fr 40px; }
  .ig-faithful .ig-highlights { margin:26px 0 12px; padding:2px 16px 12px; gap:15px; }
  .ig-faithful .ig-highlight { flex-basis:70px; }
  .ig-faithful .ig-highlight img { width:70px; height:70px; padding:3px; }
  .ig-faithful .ig-highlight span { font-size:11px; }
  .ig-faithful .ig-tabs { height:52px; border-top:1px solid #303033; }
  .ig-faithful .ig-grid { padding:0 16px 12px; scroll-padding-left:16px; border-radius:0; }
  .ig-faithful .ig-post { flex-basis:calc((100% - 16px)/3); }
  .ig-faithful .ig-carousel-controls { margin:0 16px 14px; }
  .ig-faithful .ig-end { padding:24px 16px; font-size:12px; }
}

.elaine-instagram { background:#fff; color:#4f4140; overflow:hidden; font-family:Arial,Helvetica,sans-serif; }
.elaine-ig-mobile { display:none; }
.elaine-ig-desktop { padding:4rem 0 4.4rem; }
.elaine-ig-head { display:flex; align-items:center; justify-content:space-between; gap:2rem; margin-bottom:2rem; }
.elaine-ig-identity { display:flex; align-items:center; gap:1rem; color:#fff; }
.elaine-ig-identity img { width:66px; height:66px; border-radius:50%; object-fit:cover; border:3px solid #0d1014; outline:2px solid var(--nude); }
.elaine-ig-identity span { display:flex; flex-direction:column; gap:.18rem; }
.elaine-ig-identity strong { font-size:1rem; font-weight:600; letter-spacing:0; }
.elaine-ig-identity small { color:#a8a8a8; font-size:.78rem; }
.elaine-ig-open { font-size:.75rem; font-weight:600; color:#efefef; border:1px solid #3c4046; padding:.7rem 1rem; border-radius:8px; transition:.2s ease; }
.elaine-ig-open:hover { background:#25282d; border-color:#60656d; }
.elaine-ig-carousel { width:100%; overflow-x:auto; overflow-y:hidden; scrollbar-width:none; cursor:grab; }
.elaine-ig-carousel::-webkit-scrollbar { display:none; }
.elaine-ig-carousel:active { cursor:grabbing; }
.elaine-ig-track { display:flex; gap:10px; width:max-content; padding:0 max(24px,calc((100vw - 1200px)/2)); }
.elaine-ig-post { display:block; flex:0 0 clamp(230px,23vw,340px); aspect-ratio:4/5; overflow:hidden; background:#1c1f23; }
.elaine-ig-post img { width:100%; height:100%; display:block; object-fit:cover; transition:transform .35s ease,filter .35s ease; }
.elaine-ig-post:hover img { transform:scale(1.018); filter:brightness(.9); }
.elaine-ig-carousel-controls { max-width:1200px; margin:.9rem auto 0; padding:0 24px; display:flex; align-items:center; gap:.5rem; color:#d8c2bd; font-size:.78rem; }
.elaine-ig-carousel-controls span { margin-right:auto; }
.elaine-ig-carousel-controls button { width:38px; height:38px; border:1px solid #4e4242; border-radius:50%; background:#171b20; color:#f5f5f5; cursor:pointer; font-size:1.15rem; transition:background .2s ease,border-color .2s ease; }
.elaine-ig-carousel-controls button:hover { background:#2a2425; border-color:var(--nude); }

@media(max-width:767px){
  .elaine-ig-desktop { display:none; }
  .elaine-ig-mobile { display:block; background:#0d1014; color:#f5f5f5; padding:0; }
  .elaine-ig-mobile-shell { width:100%; max-width:520px; margin:0 auto; }
  .elaine-ig-mobile-bar { height:54px; display:flex; align-items:center; justify-content:space-between; padding:0 15px; border-bottom:1px solid #23262a; }
  .elaine-ig-mobile-bar a { color:#f5f5f5; font-size:1rem; font-weight:700; }
  .elaine-ig-mobile-bar span { font-size:.9rem; letter-spacing:.08em; }
  .elaine-ig-mobile-profile { display:grid; grid-template-columns:84px 1fr; gap:17px; align-items:center; padding:18px 16px 10px; }
  .elaine-ig-avatar { width:82px; height:82px; padding:3px; border-radius:50%; background:linear-gradient(35deg,#f9ce34,#ee2a7b,#6228d7); display:block; }
  .elaine-ig-avatar img { width:100%; height:100%; object-fit:cover; border-radius:50%; border:3px solid #0d1014; display:block; }
  .elaine-ig-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:5px; text-align:center; }
  .elaine-ig-stats span { min-width:0; }
  .elaine-ig-stats strong { display:block; color:#fff; font-size:.92rem; line-height:1.2; }
  .elaine-ig-stats small { display:block; color:#efefef; font-size:.68rem; margin-top:2px; white-space:nowrap; }
  .elaine-ig-bio { padding:0 16px 13px; font-size:.78rem; line-height:1.42; }
  .elaine-ig-bio > strong { display:block; margin-bottom:1px; }
  .elaine-ig-category { display:block; color:#a8a8a8; margin-bottom:3px; }
  .elaine-ig-bio p { color:#f5f5f5; font-size:.78rem; line-height:1.42; margin:0; }
  .elaine-ig-bio a { color:#d7e8ff; font-weight:600; }
  .elaine-ig-actions { display:grid; grid-template-columns:1fr 1fr; gap:7px; padding:0 16px 14px; }
  .elaine-ig-actions a { display:flex; align-items:center; justify-content:center; min-height:34px; border-radius:8px; background:#2a2d31; color:#fff; font-size:.76rem; font-weight:700; }
  .elaine-ig-actions .is-primary { background:#4b5cff; }
  .elaine-ig-tabs { display:grid; grid-template-columns:repeat(4,1fr); height:48px; border-top:1px solid #26292d; }
  .elaine-ig-tabs a { display:flex; align-items:center; justify-content:center; color:#8e9297; border-bottom:1.5px solid transparent; }
  .elaine-ig-tabs a.is-active { color:#fff; border-bottom-color:#fff; }
  .elaine-ig-tabs svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.7; }
  .elaine-ig-mobile-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:2px; }
  .elaine-ig-mobile-grid .elaine-ig-post { width:100%; aspect-ratio:4/5; min-width:0; }
  .elaine-ig-mobile-grid .elaine-ig-post img { transform:none; filter:none; }
  .elaine-ig-more { display:block; color:#d7e8ff; text-align:center; font-size:.76rem; font-weight:600; padding:18px 16px 24px; }
  .elaine-ig-carousel-controls { display:none; }
}

/* Palette balance overrides */
.trico-section .label,.benefits-section .label,.cta-final .label{color:var(--bg);opacity:.85}
.trico-section .btn-primary,.benefits-section .btn-primary,.cta-final .btn-primary{background:var(--bg);color:var(--dark)}
.trico-section .btn-primary:hover,.benefits-section .btn-primary:hover,.cta-final .btn-primary:hover{background:#E7EBE4;color:var(--dark)}
footer .footer-tagline,footer .footer-col a,footer .footer-col address,footer .footer-bottom,footer .footer-developer{color:var(--text)}
footer .footer-col h4{color:var(--dark)}
footer .footer-wa{background:var(--dark);color:var(--bg)}
footer .footer-wa:hover{background:#525947}
.elaine-instagram{display:block !important}
.elaine-instagram .ig-highlights,
.elaine-instagram .ig-tabs,
.elaine-instagram .ig-carousel-controls,
.elaine-instagram .ig-grid { display:flex !important; }
.elaine-instagram.ig-legacy { display:none !important; }
.ig-faithful { background:#0b0f10; color:#F6F7F4; }
.ig-faithful .ig-avatar { background:#F7F7F2; border:1px solid #525947; }
.ig-faithful .ig-avatar img { border:0; padding:10px; object-fit:contain; }
.ig-faithful .ig-name,
.ig-faithful .ig-bio,
.ig-faithful .ig-stats,
.ig-faithful .ig-username { color:#F6F7F4; }
.ig-faithful .ig-stats strong { color:#ffffff; }
.ig-faithful .ig-address { color:#C3CABA; }
.ig-faithful .ig-link { color:#8ec5ff; }
.ig-faithful .ig-post { background:#1c211b; }
.ig-faithful .ig-real-post { overflow:hidden; background:#111; }
.ig-faithful .ig-real-post img { width:100%; height:100%; object-fit:cover; display:block; }
.ig-faithful .ig-end { color:#C3CABA; }
.elaine-instagram .ig-highlights { display:flex !important; justify-content:center; gap:18px; }
.ig-faithful .ig-profile,
.ig-faithful .ig-actions,
.ig-faithful .ig-tabs,
.ig-faithful .ig-grid,
.ig-faithful .ig-carousel-controls,
.ig-faithful .ig-end { display:initial; }
.ig-faithful .ig-profile { display:grid; }
.ig-faithful .ig-actions { display:grid; }
.ig-faithful .ig-tabs { display:flex; }
.ig-faithful .ig-grid { display:flex !important; }
.ig-faithful .ig-carousel-controls { display:flex; }
.ig-faithful .ig-end { display:block; }
.ig-faithful .ig-highlights { max-width:1100px; margin:0 auto; padding:34px 0 22px; overflow-x:auto; }
.ig-faithful .ig-highlight { color:#F6F7F4; }
.ig-faithful .ig-highlight img,
.ig-faithful .highlight-icon { width:81px; height:81px; display:flex; align-items:center; justify-content:center; border-radius:50%; border:4px solid #242b2c; background:#F7F7F2; color:#525947; font-size:2rem; object-fit:cover; margin:0 auto 9px; }
.ig-faithful .ig-highlight img { padding:5px; }
.ig-faithful .ig-highlight span:last-child { color:#F6F7F4; }

/* ─── BOOKING SPECIALTY / SPECIALIST PICKER ─── */
.booking-choices { display:grid; gap:1.6rem; margin:2.25rem 0 2.5rem; }
.booking-step { display:grid; gap:.75rem; }
.booking-step-label { color:var(--dark); font-size:.72rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase; }
.specialty-grid, .specialist-grid { display:flex; flex-wrap:wrap; gap:.65rem; }
.specialty-option { border:1px solid var(--border); border-radius:999px; color:var(--text); background:transparent; padding:.65rem 1rem; font-size:.8rem; transition:background .2s, color .2s, border-color .2s, transform .2s; }
.specialty-option:hover, .specialty-option.is-selected { background:var(--dark); color:var(--bg); border-color:var(--dark); transform:translateY(-1px); }
.specialists-step[hidden] { display:none; }
/* CET - full professional portraits on the second step of booking. */
#agenda .specialist-grid { display:flex; flex-wrap:wrap; gap:1rem; align-items:flex-start; }
#agenda .specialist-card {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  flex:0 0 255px;
  width:255px;
  min-width:0;
  max-width:100%;
  padding:0;
  overflow:hidden;
  background:#fff;
  color:#525947;
  border:2px solid rgba(82,89,71,.2);
  border-radius:12px;
  text-align:center;
  transition:border-color .25s, box-shadow .25s, transform .25s;
}
#agenda .specialist-card:hover,
#agenda .specialist-card.is-selected {
  border-color:#987658;
  background:#fff;
  box-shadow:0 0 0 2px rgba(152,118,88,.14);
  transform:translateY(-2px);
}
#agenda .specialist-card img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1086 / 1448;
  border-radius:0;
  object-fit:contain;
  object-position:center;
  background:#fff;
}
/* Printed name and speciality are already in the supplied portrait. */
#agenda .specialist-card:has(img) > span { display:none; }
#agenda .specialist-card > span { display:block; padding:.9rem; }
#agenda .specialist-card strong,
#agenda .specialist-card small { display:block; }
#agenda .specialist-card strong { font-size:.87rem; }
#agenda .specialist-card small { color:#69715f; font-size:.75rem; margin-top:.2rem; }
@media (max-width:540px) {
  #agenda .specialist-grid { justify-content:center; gap:.75rem; }
  #agenda .specialist-card { flex:0 1 290px; width:min(100%,290px); }
}

/* Keep the mobile brand image at its intrinsic aspect ratio. */
@media(max-width:768px){
  #header .header-inner{gap:10px}
  #header .header-inner > a:first-child{flex:1 1 auto;min-width:0;max-width:170px}
  #header .logo-light,#header .logo-dark{width:100%;height:auto;object-fit:contain}
  #header .btn-primary{flex:0 0 auto;padding:12px 14px;font-size:10px;letter-spacing:.04em}
  #header .hamburger{flex:0 0 28px}
}

/* White backgrounds requested for the story, about and FAQ blocks. */
#dor.pain-section,
#sobre.about-section,
#objecoes.obj-section { background: #fff; }
/* Preserve translucent background photos over the white section. */
#sobre .about-editorial-bg-one::after,
#sobre .about-editorial-bg-two::after {
  background: linear-gradient(90deg, #fff 0%, transparent 55%, #fff 100%);
}

/* === Kore Nextus | Correccion de paleta 2026-11-10 ===
   Verde de secciones: #525947. Marron de botones: #987658.
   Mantener fondos blancos solicitados para historia, sobre, FAQ e Instagram.
*/
:root {
  --surface: #F4F3EF; /* eliminar el verde pastel residual en superficies auxiliares */
  --button-brown: #987658;
  --button-brown-hover: #806047;
}

/* Estas dos secciones estaban en el verde suave anterior. */
#procedimentos.procedures-section,
#agenda.calendar-section {
  background: #525947;
}
#procedimentos .procedures-kicker,
#procedimentos h2,
#agenda > .container > h2,
#agenda > .container > p,
#agenda .booking-step-label,
#agenda .slots-lbl {
  color: #FBF6ED;
}

/* Tarjetas sobre fondo verde oscuro: alto contraste. */
#procedimentos .procedure-card {
  background: #FBF6ED;
  color: #525947;
  border-color: rgba(82,89,71,.25);
  box-shadow: 0 3px 14px rgba(20,28,16,.12);
}
#procedimentos .procedure-card p,
#procedimentos .procedure-card::before {
  color: #525947;
}
#procedimentos .procedure-card::before {
  border-color: rgba(82,89,71,.45);
}
#agenda .book-wrap {
  background: #FBF6ED;
  color: #525947;
  border: 1px solid rgba(82,89,71,.20);
  border-radius: 14px;
  padding: clamp(1.4rem,3vw,2.2rem);
}
#agenda .cal-box,
#agenda .book-summary {
  background: #FBF6ED;
}
#agenda .specialty-option:not(.is-selected) {
  color: #FBF6ED;
  border-color: rgba(251,246,237,.60);
}
#agenda .specialty-option:hover,
#agenda .specialty-option.is-selected {
  background: var(--button-brown);
  border-color: var(--button-brown);
  color: #fff;
}
#agenda .specialist-card {
  background: #FBF6ED;
  color: #525947;
}
#agenda .specialist-card:hover,
#agenda .specialist-card.is-selected {
  background: #F4F3EF;
  border-color: var(--button-brown);
}

/* Botones, CTA, agendamiento y WhatsApp: marron de la muestra. */
.btn-primary,
#header.scrolled .btn-primary,
.about-editorial-copy .btn,
.mobile-nav .mobile-cta,
.book-btn,
.book-success .wa-btn,
.footer-wa,
footer .footer-wa,
.assistant-toggle,
.assistant-form button,
.acc-trigger,
#agenda .cal-day.sel,
#agenda .slot.s-sel {
  background: var(--button-brown);
  color: #fff;
}
.btn-primary:hover,
#header.scrolled .btn-primary:hover,
.about-editorial-copy .btn:hover,
.mobile-nav .mobile-cta:hover,
.book-btn:hover,
.book-success .wa-btn:hover,
.footer-wa:hover,
footer .footer-wa:hover,
.assistant-toggle:hover,
.assistant-form button:hover,
.acc-trigger:hover {
  background: var(--button-brown-hover);
  color: #fff;
}
#agenda .cal-day.sel,
#agenda .slot.s-sel {
  border-color: var(--button-brown);
}
.trichology-carousel-controls button:hover {
  background: var(--button-brown);
  color: #fff;
}


/* CET | Encabezado y pie de página en verde de marca. */
#header,
#header.scrolled,
.mobile-nav {
  background: #525947;
}
#header nav.header-nav a,
#header.scrolled nav.header-nav a,
.mobile-nav a {
  color: #FBF6ED;
}
#header nav.header-nav a:hover,
#header.scrolled nav.header-nav a:hover,
.mobile-nav a:hover {
  color: #E7EBE4;
}
#header .hamburger span,
#header.scrolled .hamburger span {
  background: #FBF6ED;
}
#header.scrolled {
  border-bottom-color: rgba(251,246,237,.22);
}
#header .btn-primary,
#header.scrolled .btn-primary,
.mobile-nav .mobile-cta {
  background: var(--button-brown);
  color: #fff;
}
#header .btn-primary:hover,
#header.scrolled .btn-primary:hover,
.mobile-nav .mobile-cta:hover {
  background: var(--button-brown-hover);
  color: #fff;
}
footer {
  background: #525947;
  border-top-color: rgba(251,246,237,.22);
}
footer .footer-tagline,
footer .footer-col h4,
footer .footer-col a,
footer .footer-col address,
footer .footer-hours,
footer .footer-bottom,
footer .footer-developer {
  color: #FBF6ED;
}
footer .footer-col a:hover,
footer .footer-developer a:hover {
  color: #E7EBE4;
}
footer .footer-wa,
footer .footer-wa:hover {
  color: #fff;
}
footer .footer-wa {
  background: var(--button-brown);
}
footer .footer-wa:hover {
  background: var(--button-brown-hover);
}


/* CET visual identity: visible emblem + accessible horizontal wordmark. */
#header .header-brand {
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex:0 0 auto;
  min-width:0;
  max-width:none;
  gap:11px;
  text-decoration:none;
}
#header .header-brand .logo-light,
#header .header-brand .logo-dark {
  width:auto;
  height:64px;
  max-width:none;
  flex:0 0 auto;
  object-fit:contain;
}
#header.scrolled .header-brand .logo-light,
#header.scrolled .header-brand .logo-dark { height:56px; }
#header .header-brand-wordmark {
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:2px;
  line-height:1.05;
  white-space:nowrap;
  color:#fbf6ed;
}
#header .header-brand-wordmark strong {
  font-size:1.45rem;
  font-family:var(--sans);
  font-weight:600;
  letter-spacing:.04em;
}
#header .header-brand-wordmark small {
  font-size:.60rem;
  font-weight:600;
  letter-spacing:.18em;
}
#header .assistant-toggle img,
#header .assistant-identity img { object-fit:cover; }
@media(max-width:768px) {
  #header .header-inner { gap:9px; }
  #header .header-inner > a.header-brand {
    flex:0 1 auto;
    max-width:none;
    gap:7px;
  }
  #header .header-brand .logo-light,
  #header .header-brand .logo-dark,
  #header.scrolled .header-brand .logo-light,
  #header.scrolled .header-brand .logo-dark {
    width:43px;
    height:43px;
    object-fit:contain;
  }
  #header .header-brand-wordmark strong {font-size:1.0rem;}
  #header .header-brand-wordmark small {font-size:.46rem;letter-spacing:.09em;}
}
@media(max-width:380px) {
  #header .header-brand .logo-light,
  #header .header-brand .logo-dark,
  #header.scrolled .header-brand .logo-light,
  #header.scrolled .header-brand .logo-dark {width:37px;height:37px;}
  #header .header-brand-wordmark small {display:none;}
  #header .header-brand-wordmark strong {font-size:.92rem;}
  #header .header-inner {gap:6px;}
}

/* Clínica Zimmermann: ajustes puntuales sobre la muestra original. */
[hidden] { display:none !important; }
#header,
#header.scrolled,
.mobile-nav {
  background: #fff;
}
#header.scrolled { border-bottom-color: rgba(82,89,71,.22); }
#header nav.header-nav a,
#header.scrolled nav.header-nav a,
.mobile-nav a,
#header .header-brand-wordmark {
  color: #354738;
}
#header nav.header-nav a:hover,
#header.scrolled nav.header-nav a:hover,
.mobile-nav a:hover { color: #987658; }
#header .hamburger span,
#header.scrolled .hamburger span { background: #354738; }
#header .header-brand .logo-light,
#header .header-brand .logo-dark { height:62px; width:62px; }
#header.scrolled .header-brand .logo-light,
#header.scrolled .header-brand .logo-dark { height:54px; width:54px; }
#header .header-brand-wordmark strong { font-family:var(--serif); font-size:1.4rem; letter-spacing:0; }
#header .header-brand-wordmark small { font-size:.52rem; letter-spacing:.1em; }
footer .footer-col span { display:block; color:#FBF6ED; font-size:.85rem; }

.hero-sequence { height:420vh; background:#fff; }
.hero-sticky { background:#fff; }
.hero-gradient {
  background:linear-gradient(to bottom,
    rgba(255,255,255,0) 58%,
    rgba(255,255,255,.10) 70%,
    rgba(255,255,255,.45) 84%,
    rgba(255,255,255,.84) 94%,
    #fff 100%);
}
.hero-sub { color:#525947; }

/* Naranja tomado de la muestra proporcionada: RGB 238, 156, 80. */
h1, h2, h3, h4, h5, h6 { color:#EE9C50 !important; }
#cal-prev:disabled { opacity:.35; cursor:default; }

/* Símbolos de los profesionales, sin fotos de perfil. */
#agenda .specialist-card {
  min-height:225px;
  padding:1.3rem 1rem;
  justify-content:center;
  border-color:color-mix(in srgb,var(--symbol-color) 45%,white);
}
#agenda .specialist-card:hover,
#agenda .specialist-card.is-selected {
  border-color:var(--symbol-color);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--symbol-color) 18%,transparent);
}
#agenda .specialist-card--book { --symbol-color:#9E8DB8; }
#agenda .specialist-card--photo { --symbol-color:#9E8DB8; padding:0; }
#agenda .specialist-card--speech { --symbol-color:#9AAB70; }
#agenda .specialist-card--brain { --symbol-color:#6EA5A8; }
#agenda .specialist-card--apple { --symbol-color:#E99B50; }
#agenda .specialist-card > .specialist-symbol {
  display:grid;
  place-items:center;
  width:112px;
  height:112px;
  padding:19px;
  border:2px solid var(--symbol-color);
  border-radius:50%;
  background:color-mix(in srgb,var(--symbol-color) 9%,white);
  color:var(--symbol-color);
}
#agenda .specialist-symbol svg { display:block; width:100%; height:100%; }
#agenda .specialist-card > .specialist-details { padding:.9rem .35rem 0; }
#agenda .specialist-card strong { line-height:1.35; }
#agenda .specialist-card--photo img { width:100%; aspect-ratio:4/5; object-fit:cover; object-position:center 25%; }
#agenda .specialist-card--photo > .specialist-details,
#agenda .specialist-card--photo:has(img) > .specialist-details { display:block; padding:1rem .65rem 1.2rem; }

@media(max-width:768px) {
  #header .header-brand .logo-light,
  #header .header-brand .logo-dark,
  #header.scrolled .header-brand .logo-light,
  #header.scrolled .header-brand .logo-dark { width:43px; height:43px; }
  #header .header-brand-wordmark strong { font-size:1rem; }
  #header .header-brand-wordmark small { font-size:.43rem; }
  .hero-sequence { height:360svh; }
}

/* Degradado lavanda suave de la referencia: sustituye solo fondos verde oscuro. */
:root { --zimmermann-section-gradient: linear-gradient(135deg, #CBC9D4 0%, #C7C5D1 52%, #C4C2D0 100%); }
.trichology-specialties,
#procedimentos.procedures-section,
#agenda.calendar-section,
footer {
  background:var(--zimmermann-section-gradient);
}
.trichology-kicker,
#procedimentos .procedures-kicker,
#agenda > .container > p,
#agenda .booking-step-label,
#agenda .slots-lbl,
footer .footer-tagline,
footer .footer-col a,
footer .footer-col address,
footer .footer-hours,
footer .footer-bottom,
footer .footer-developer,
footer .footer-col span { color:#354038; }
.trichology-carousel-controls button {
  color:#354038;
  border-color:rgba(53,64,56,.45);
}
#agenda .specialty-option:not(.is-selected) {
  color:#354038;
  border-color:rgba(53,64,56,.45);
  background:rgba(255,255,255,.36);
}
footer { border-top-color:rgba(53,64,56,.18); }
footer .footer-bottom { border-top-color:rgba(53,64,56,.22); }
footer .footer-col a:hover { color:#675069; }

/* Botones en lavanda de la nueva muestra y texto blanco sobre el degradado. */
:root {
  --button-brown:#A294B8;
  --button-brown-hover:#897BA4;
}
.trichology-specialties > .container > h2,
#procedimentos > .container > h2,
#agenda > .container > h2,
footer .footer-col h4 {
  color:#fff !important;
}
.trichology-kicker,
#procedimentos .procedures-kicker,
#agenda > .container > p,
#agenda .booking-step-label,
#agenda .slots-lbl,
footer .footer-tagline,
footer .footer-col a,
footer .footer-col address,
footer .footer-hours,
footer .footer-bottom,
footer .footer-developer,
footer .footer-col span,
footer .footer-hours strong {
  color:#fff;
  text-shadow:0 1px 2px rgba(48,38,63,.42);
}
.trichology-carousel-controls button {
  background:var(--button-brown);
  border-color:rgba(255,255,255,.55);
  color:#fff;
}
#agenda .cal-nav {
  background:var(--button-brown);
  border-color:var(--button-brown);
  color:#fff;
}
#agenda .cal-nav:hover:not(:disabled) {
  background:var(--button-brown-hover);
  border-color:var(--button-brown-hover);
  color:#fff;
}
#agenda .specialty-option:not(.is-selected) {
  color:#fff;
  border-color:rgba(255,255,255,.8);
  background:rgba(67,49,87,.14);
  text-shadow:0 1px 2px rgba(48,38,63,.42);
}
footer .footer-bottom { border-top-color:rgba(255,255,255,.45); }
footer .footer-col a:hover { color:#fff; opacity:.78; }

/* Preguntas frecuentes: un color de las referencias para cada tarjeta. */
#objecoes .accordion-item:nth-child(1) { --faq-color:#6EB17B; }
#objecoes .accordion-item:nth-child(2) { --faq-color:#F09F46; }
#objecoes .accordion-item:nth-child(3) { --faq-color:#AA9ACB; }
#objecoes .accordion-item:nth-child(4) { --faq-color:#00A2DB; }
#objecoes .accordion-item:nth-child(5) { --faq-color:#8B7DA4; }
#objecoes .accordion-item .acc-trigger,
#objecoes .accordion-item .acc-trigger:hover {
  background:var(--faq-color);
  color:#fff;
}
#objecoes .accordion-item .acc-trigger:hover { filter:brightness(.94); }
#objecoes .accordion-item .acc-icon { color:#fff; }
#objecoes .accordion-item .acc-body {
  background:color-mix(in srgb,var(--faq-color) 12%,white);
}

/* Flechas de los atendimientos con la paleta de las preguntas frecuentes. */
#procedimentos .procedure-card:nth-child(5n+1) { --arrow-color:#6EB17B; }
#procedimentos .procedure-card:nth-child(5n+2) { --arrow-color:#F09F46; }
#procedimentos .procedure-card:nth-child(5n+3) { --arrow-color:#AA9ACB; }
#procedimentos .procedure-card:nth-child(5n+4) { --arrow-color:#00A2DB; }
#procedimentos .procedure-card:nth-child(5n+5) { --arrow-color:#8B7DA4; }
#procedimentos .procedure-card::before {
  color:var(--arrow-color);
  border-color:var(--arrow-color);
  background:color-mix(in srgb,var(--arrow-color) 10%,white);
}

/* Assistente virtual restaurado com a identidade da clínica. */
#virtual-assistant .assistant-header,
#virtual-assistant .assistant-message.is-user { background:var(--button-brown); }
#virtual-assistant .assistant-quick button { border-color:var(--button-brown); color:#665676; }

/* Mapa y dirección ilustrativos en el pie de página. */
footer .footer-col address small { display:block; margin-top:.35rem; font-size:.68rem; line-height:1.5; }
footer .footer-map { width:min(100%,300px); margin-top:1.2rem; }
footer .footer-map iframe {
  display:block;
  width:100%;
  height:175px;
  border:2px solid rgba(255,255,255,.72);
  border-radius:12px;
  background:#f5f5f5;
}
footer .footer-map span {
  display:block;
  margin-top:.65rem;
  color:#fff;
  font-size:.7rem;
  text-shadow:0 1px 2px rgba(48,38,63,.42);
}

/* Bola flutuante exibida somente entre o hero e o rodapé. */
#virtual-assistant {
  position:fixed;
  right:2rem;
  bottom:6rem;
  z-index:1200;
  width:58px;
  height:58px;
  margin:0;
  transform:none;
}
#virtual-assistant .assistant-toggle {
  display:grid;
  place-items:center;
  width:58px;
  height:58px;
  padding:4px;
  border-radius:50%;
  border-color:#fff;
  background:var(--button-brown);
}
#virtual-assistant .assistant-toggle img {
  width:46px;
  height:46px;
  flex:none;
  object-fit:contain;
  background:#fff;
}
#virtual-assistant .assistant-panel { bottom:4.4rem; }
@media(max-width:480px) {
  #virtual-assistant { right:1rem; bottom:5rem; }
  #virtual-assistant .assistant-panel { width:min(360px,calc(100vw - 2rem)); max-height:calc(100dvh - 11rem); overflow-y:auto; }
}

/* Mantiene el texto legible sobre los fotogramas verticales del hero. */
@media(max-width:768px) {
  .hero-gradient {
    background:linear-gradient(to bottom,
      rgba(255,255,255,0) 36%,
      rgba(255,255,255,.28) 53%,
      rgba(255,255,255,.78) 72%,
      #fff 100%);
  }
  .hero-h1 { text-shadow:0 1px 2px rgba(56,47,43,.22); }
}

#inicio .hero-h1,
#inicio .hero-sub {
  color:#fff !important;
  text-shadow:0 2px 8px rgba(31,43,29,.75);
}
