/* ============================================================
   ALINA MIHAIL — Lash Expert & Trainer
   Sistem de design. Ivoriu, cerneală, aur — culorile luate
   direct din logo și din lista de prețuri.
   ============================================================ */

/* ---------- 1. TOKENS ---------- */
:root {
  /* Hârtie */
  --ivory:      #F7F3EA;
  --ivory-2:    #F1EADC;
  --ivory-3:    #E7DECB;
  --linen:      #C9C3B6;   /* griul costumului din fotografii */

  /* Cerneală */
  --ink:        #0B0B0C;
  --ink-2:      #16161A;
  --ink-3:      #23232A;
  --ink-soft:   #3B3B42;

  /* Aur — din evantaiul logoului */
  --gold:       #C9A961;
  --gold-deep:  #9A7B3C;
  --gold-lit:   #E8D5A8;
  --gold-pale:  #F0E4C6;

  /* Semantice */
  --bg:         var(--ivory);
  --fg:         var(--ink);
  --muted:      #6A6558;
  --line:       rgba(11, 11, 12, .14);
  --line-soft:  rgba(11, 11, 12, .07);
  --gold-line:  rgba(201, 169, 97, .42);

  /* Tipografie
     Cormorant Garamond urmează wordmark-ul din logo — aceeași eleganță
     cu serife fine. Manrope duce textul curent, pentru că un Didone la
     16px devine obositor după două paragrafe. */
  --display: "Cormorant Garamond", "Didot", Georgia, serif;
  --sans:    "Manrope", "Segoe UI", system-ui, sans-serif;
  --script:  "Italianno", "Snell Roundhand", cursive;

  /* Scară fluidă 360 → 1600 */
  --t-xs:   clamp(.70rem, .66rem + .18vw, .80rem);
  --t-sm:   clamp(.82rem, .78rem + .22vw, .94rem);
  --t-base: clamp(.96rem, .92rem + .30vw, 1.10rem);
  --t-lg:   clamp(1.12rem, 1.02rem + .54vw, 1.42rem);
  --t-xl:   clamp(1.45rem, 1.15rem + 1.5vw, 2.3rem);
  --t-2xl:  clamp(2rem, 1.35rem + 3.2vw, 3.9rem);
  --t-3xl:  clamp(2.6rem, 1.5rem + 5.6vw, 6.2rem);
  --t-4xl:  clamp(3.2rem, 1.4rem + 8.6vw, 9rem);

  /* Spațiu */
  --gut:    clamp(1.15rem, .6rem + 2.6vw, 3.6rem);
  --sect:   clamp(4.5rem, 3rem + 8vw, 11rem);

  /* Mișcare */
  --ease:      cubic-bezier(.22, 1, .36, 1);
  --ease-out:  cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);

  --header-h: 82px;
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: var(--t-base);
  font-weight: 400;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.04; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--ink); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--gold-lit); }

/* ---------- 3. TIPOGRAFIE ---------- */
.display {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.012em;
}
.display--hero { font-size: var(--t-4xl); line-height: .92; letter-spacing: -.022em; }
.display--xl   { font-size: var(--t-3xl); line-height: .96; letter-spacing: -.018em; }
.display--lg   { font-size: var(--t-2xl); line-height: 1.02; letter-spacing: -.014em; }
.italic { font-style: italic; }

/* Capitale rărite — ecoul wordmark-ului din logo */
.caps {
  font-family: var(--display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .28em;
  line-height: 1.3;
}

.script {
  font-family: var(--script);
  font-weight: 400;
  line-height: .9;
  letter-spacing: .01em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .9em;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before {
  content: "";
  width: clamp(24px, 4vw, 54px);
  height: 1px;
  background: currentColor;
  opacity: .6;
  flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: clamp(24px, 4vw, 54px);
  height: 1px;
  background: currentColor;
  opacity: .6;
  flex: none;
}

.lede {
  font-size: var(--t-lg);
  font-weight: 400;
  line-height: 1.56;
  color: var(--ink-soft);
  max-width: 38ch;
}
.body-muted { color: var(--muted); max-width: 64ch; }

/* ---------- 4. LAYOUT ---------- */
.shell { width: 100%; max-width: 1640px; margin-inline: auto; padding-inline: var(--gut); }
.shell--tight { max-width: 1140px; }
.shell--text  { max-width: 780px; }
.section { padding-block: var(--sect); position: relative; }

.dark {
  position: relative;
  isolation: isolate;
  background: var(--ink);
  color: var(--ivory);
  --fg: var(--ivory);
  --muted: rgba(247, 243, 234, .58);
  --line: rgba(247, 243, 234, .16);
  --line-soft: rgba(247, 243, 234, .08);
  --ink-soft: rgba(247, 243, 234, .78);
}
/* Praf de aur, ca pe lista de prețuri: scoate negrul din plat. */
.dark::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
}
.ivory2 { background: var(--ivory-2); }

.rule { height: 1px; background: var(--line); transform-origin: left center; }
.rule--gold { background: var(--gold-line); }

/* ---------- 5. BUTOANE ---------- */
.btn {
  --btn-fg: var(--ivory);
  --btn-bg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8em;
  padding: 1.1em 2.2em;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--ease), transform .5s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(104deg, var(--gold-deep), var(--gold) 46%, var(--gold-lit));
  transform: translateY(101%);
  transition: transform .6s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover { color: var(--ink); }
.btn svg { width: 15px; height: 15px; flex: none; }

.btn--gold  { --btn-bg: var(--gold-deep); }
.btn--light { --btn-fg: var(--ink); --btn-bg: var(--ivory); }
.btn--ghost { --btn-fg: var(--fg); --btn-bg: transparent; border: 1px solid var(--line); }
.btn--ghost:hover { border-color: transparent; }
.btn--sm { padding: .85em 1.6em; }
.btn--wide { width: 100%; }

.link-u {
  position: relative;
  display: inline-block;
  padding-bottom: .2em;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.link-u::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .6s var(--ease);
}
.link-u:hover::after { transform: scaleX(1); transform-origin: left center; }

/* ---------- 6. ANTET ---------- */
.hdr {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid transparent;
  transition: transform .6s var(--ease), background .5s var(--ease-soft),
              backdrop-filter .5s var(--ease-soft), border-color .5s var(--ease-soft);
}
.hdr--solid {
  background: rgba(247, 243, 234, .86);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-bottom-color: var(--line-soft);
}
.hdr--hidden { transform: translateY(-105%); }
.hdr--on-dark { color: var(--ivory); }
.hdr--on-dark.hdr--solid {
  background: rgba(11, 11, 12, .74);
  border-bottom-color: rgba(247, 243, 234, .12);
}
.hdr__in {
  width: 100%;
  max-width: 1640px;
  margin-inline: auto;
  padding-inline: var(--gut);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}
.hdr__logo { display: flex; align-items: center; gap: .7rem; flex: none; }
.hdr__logo img { width: clamp(38px, 4vw, 48px); }
.hdr__name {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  line-height: 1;
}
.hdr__name b {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(.95rem, 1.5vw, 1.12rem);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hdr__name span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.hdr--on-dark .hdr__name span { color: var(--gold); }
.hdr--on-dark .hdr__logo img { filter: brightness(1.6); }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.1vw, 2.4rem); }
.nav__link {
  position: relative;
  display: inline-block;
  padding-block: .6em;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: color .35s var(--ease-soft);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: .25em;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .5s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left center; }

.hdr__tools { display: flex; align-items: center; gap: clamp(.5rem, 1.2vw, 1rem); flex: none; }
.icon-btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  transition: background .4s var(--ease-soft);
}
.icon-btn:hover { background: rgba(201, 169, 97, .18); }
.icon-btn svg { width: 19px; height: 19px; }

.burger { display: none; width: 46px; height: 46px; }
.burger span {
  display: block;
  width: 22px; height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .5s var(--ease), opacity .3s;
}
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 7. SERTAR MOBIL ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--ink);
  color: var(--ivory);
  padding: calc(var(--header-h) + 2rem) var(--gut) 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .1rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease);
  overflow-y: auto;
}
.drawer.is-open { clip-path: inset(0 0 0 0); }
.drawer__link {
  font-family: var(--display);
  font-size: clamp(2rem, 8.5vw, 3.2rem);
  line-height: 1.16;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.drawer.is-open .drawer__link { opacity: 1; transform: none; }
.drawer__meta {
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(247, 243, 234, .16);
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.6rem;
  font-size: var(--t-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, .62);
}

/* ---------- 8. SUBSOL ---------- */
.ftr { background: var(--ink); color: var(--ivory); padding-top: clamp(3.5rem, 7vw, 7rem); position: relative; isolation: isolate; }
.ftr a:hover { color: var(--gold-lit); }
.ftr__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: 3.5rem;
}
.ftr__head {
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.3rem;
}
.ftr__list li { padding-block: .38rem; font-size: var(--t-sm); }
.ftr__list a { display: inline-block; transition: padding-left .4s var(--ease); }
.ftr__list a:hover { padding-left: .4rem; }
.ftr__contact { margin-top: 1.4rem; display: flex; flex-direction: column; gap: .6rem; }
.ftr__contact li { display: flex; align-items: center; gap: .7rem; font-size: var(--t-sm); }
.ftr__contact svg { width: 15px; height: 15px; flex: none; color: var(--gold); }
.ftr__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .8rem 1.5rem;
  padding-block: 1.6rem;
  border-top: 1px solid rgba(247, 243, 234, .14);
  font-size: var(--t-xs);
  color: rgba(247, 243, 234, .5);
}
.ftr__by a { color: var(--ivory); border-bottom: 1px solid var(--gold-line); padding-bottom: 1px; }
.ftr__wordmark { font-size: clamp(1.05rem, 2vw, 1.3rem); }
.ftr__mark {
  display: block;
  width: clamp(54px, 7vw, 82px);
  margin: 0 auto clamp(1.5rem, 3vw, 2.5rem);
  filter: brightness(1.7);
  opacity: .9;
}

/* ---------- 9. UTILITARE ---------- */
.row { display: flex; align-items: center; }
.wrap { flex-wrap: wrap; }
.gap-sm { gap: .6rem; } .gap-md { gap: 1rem; } .gap-lg { gap: 2rem; }
.center { text-align: center; }
.sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.no-scroll { overflow: hidden; }

/* ---------- 10. ATINGERE ---------- */
@media (pointer: coarse) {
  .icon-btn, .burger { width: 46px; height: 46px; }
  .link-u { padding-block: .5em; }
  .btn { padding: 1.1em 1.9em; }
}

/* ---------- 11. RESPONSIVE ---------- */
@media (max-width: 1100px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav { display: none; }
  .burger { display: block; }
  /* Butonul de programare stă lângă antet, deci regula lui stă aici, nu în
     CSS-ul unei pagini: lăsat vizibil pe telefon, împinge burgerul în afara
     ecranului pe orice pagină care nu încarcă întâmplător acel fișier. */
  .hdr__cta { display: none; }
}
@media (max-width: 600px) {
  .ftr__grid { grid-template-columns: 1fr; gap: 2rem; }
  .lede { max-width: none; }
}
