/* ============================================
   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:   #CDA4A0;
  --bg:     #FBF6ED;
  --surface:#F2E4E1;
  --gold:   #B7837E;
  --dark:   #7A5A56;
  --white:  #FBF6ED;
  --text:   #7A5A56;
  --muted:  #92736F;
  --border: rgba(205,164,160,.28);
  --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(205,164,160,.10);
  --shadow-md: 0 6px 28px rgba(205,164,160,.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;
  transition: background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
#header.scrolled {
  background: rgba(251,246,237,.97);
  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: 38px; width: auto; display: block; transition: opacity .3s; }
.logo-dark  { height: 38px; 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: rgba(251,246,237,.8);
  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(--muted); }
#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(--white); 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: 200vh; }
.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 max(1rem, calc((100% - clamp(250px, 31vw, 360px)) / 2));
}
.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(--gold); color: var(--white); transform: translateY(-8px); }
.trichology-card.is-active h3, .trichology-card.is-active p { color: var(--white); }
.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 { background: var(--bg); }
.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, #fbf6ed 0%, #f7eee5 52%, #f4e9df 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, #fbf6ed 0%, transparent 55%, #f7eee5 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(--nude); border-top: 1px solid rgba(251,246,237,.24); 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; filter: brightness(0) invert(1); }
.footer-tagline { font-size: .8rem; color: rgba(205,164,160,.82); max-width: 260px; line-height: 1.7; }
.footer-wa { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.2rem; background: var(--nude); color: var(--white); padding: .6rem 1.2rem; border-radius: 100px; font-size: .75rem; font-weight: 600; transition: background .3s; }
.footer-wa:hover { background: var(--nude); filter: brightness(.92); }
.footer-col h4 { font-family: var(--serif); font-size: .65rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--nude); margin-bottom: 1rem; }
.footer-col a, .footer-col address { font-size: .8rem; color: rgba(205,164,160,.88); display: block; line-height: 1.8; font-style: normal; transition: color .25s; }
.footer-col a:hover { color: var(--text); opacity:.72; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(205,164,160,.22); font-size: .7rem; color: rgba(205,164,160,.72); 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: 160svh; }
  .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,#c4a45e,#f0d7af,#ed9db8); 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:#e5bdcb; }

@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:#F2E4E1;color:var(--dark)}
footer .footer-tagline,footer .footer-col a,footer .footer-col address,footer .footer-bottom,footer .footer-developer{color:rgba(251,246,237,.86)}
footer .footer-col h4{color:var(--bg)}
footer .footer-wa{background:var(--bg);color:var(--dark)}
footer .footer-wa:hover{background:#F2E4E1}
