/* ═══ ERmakeup · Salón de Belleza ═══ */

:root {
  --ink:        #120b13;
  --ink-2:      #1a1019;
  --surface:    #21141f;
  --line:       rgba(224, 185, 115, .22);
  --gold:       #e0b973;
  --gold-soft:  #f0d9a8;
  --rose:       #ff5b9e;
  --rose-deep:  #c9346f;
  --cream:      #f6efe6;
  --muted:      #bda9b6;
  --wa:         #25d366;

  --shell:      min(1140px, 100% - 2.5rem);
  --r:          18px;
  --ease:       cubic-bezier(.22, .8, .3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 16px/1.65 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  letter-spacing: .01em;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: var(--shell); margin-inline: auto; }
.ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold); color: #1a1019; padding: .7rem 1.1rem; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ── NAV ───────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(18, 11, 19, .72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.nav.is-stuck { background: rgba(18, 11, 19, .93); border-bottom-color: var(--line); }

.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }

.brand { text-decoration: none; display: grid; gap: 1px; }
.brand__name { font-family: 'Cormorant Garamond', serif; font-size: 1.65rem; line-height: 1; margin: 0; }
.brand__er { color: var(--gold); font-weight: 700; letter-spacing: .02em; }
.brand__mk { color: var(--cream); font-style: italic; }
.brand__sub {
  font-size: .6rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--muted); font-weight: 400;
}

.menu { display: flex; align-items: center; gap: 1.9rem; }
.menu a { text-decoration: none; font-size: .93rem; color: var(--cream); opacity: .85; transition: opacity .2s, color .2s; }
.menu a:hover { opacity: 1; color: var(--gold-soft); }
.menu__cta {
  background: linear-gradient(135deg, var(--rose), var(--rose-deep));
  padding: .6rem 1.15rem; border-radius: 100px; opacity: 1 !important;
  font-weight: 500; box-shadow: 0 6px 22px -8px var(--rose);
}
.menu__cta:hover { color: #fff !important; filter: brightness(1.08); }

.burger { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span + span { margin-top: 6px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── HERO ──────────────────────────── */
.hero { position: relative; overflow: hidden; padding: clamp(4.5rem, 13vw, 9rem) 0 clamp(3.5rem, 8vw, 6rem); }
.hero__glow { position: absolute; inset: -30% -10% auto; height: 130%; pointer-events: none;
  background:
    radial-gradient(50% 42% at 22% 18%, rgba(255, 91, 158, .30), transparent 68%),
    radial-gradient(46% 40% at 82% 32%, rgba(224, 185, 115, .22), transparent 70%),
    radial-gradient(60% 50% at 50% 100%, rgba(201, 52, 111, .16), transparent 70%);
  filter: blur(6px);
}
.hero__in { position: relative; text-align: center; }

.eyebrow {
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.1rem;
}
.hero h1 {
  font-size: clamp(2.9rem, 9.5vw, 5.6rem);
  margin-bottom: 1.3rem;
}
.hero h1 em {
  font-style: italic; font-weight: 400;
  background: linear-gradient(100deg, var(--gold-soft), var(--gold) 40%, var(--rose) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { max-width: 40ch; margin: 0 auto 2.2rem; color: var(--muted); font-size: 1.08rem; }
.hero__lead strong { color: var(--cream); font-weight: 500; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; }
.hero__note { margin-top: 1.9rem; font-size: .85rem; color: var(--muted); letter-spacing: .04em; }
.hero__note strong { color: var(--gold-soft); font-weight: 500; }

/* ── BOTONES ───────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .95rem 1.7rem; border-radius: 100px;
  font-size: .97rem; font-weight: 500; text-decoration: none;
  transition: transform .22s var(--ease), box-shadow .22s, background .22s, color .22s;
}
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: .78rem 1.4rem; font-size: .9rem; }
.btn--wa {
  background: linear-gradient(135deg, #2ee06f, #17a04a);
  color: #05240f; box-shadow: 0 12px 30px -12px rgba(37, 211, 102, .85);
}
.btn--wa:hover { box-shadow: 0 16px 38px -12px rgba(37, 211, 102, .95); }
.btn--ghost { border: 1px solid var(--line); color: var(--cream); background: rgba(255, 255, 255, .03); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-soft); }

/* ── TIRA ──────────────────────────── */
.strip {
  overflow: hidden; padding: .9rem 0;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 91, 158, .07), rgba(224, 185, 115, .07));
}
.strip__track {
  display: flex; align-items: center; gap: 1.6rem; width: max-content;
  animation: slide 46s linear infinite;
  font-family: 'Cormorant Garamond', serif; font-size: 1.15rem;
  color: var(--gold-soft); white-space: nowrap;
}
.strip__track i { color: var(--rose); font-style: normal; font-size: .7rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ── SECCIONES ─────────────────────── */
.sec { padding: clamp(3.8rem, 9vw, 6.5rem) 0; }
.sec--alt { background: linear-gradient(180deg, var(--ink-2), var(--ink)); }

.sec__head { max-width: 60ch; margin-bottom: 3rem; }
.sec__head h2, .dom h2 { font-size: clamp(2.1rem, 5.6vw, 3.2rem); margin-bottom: .8rem; }
.dom h2 em, .sec__head h2 em { font-style: italic; color: var(--gold); font-weight: 400; }
.sec__lead { color: var(--muted); font-size: 1.02rem; max-width: 52ch; }

.sub {
  font-size: 1.5rem; color: var(--gold-soft); margin: 2.8rem 0 1.2rem;
  display: flex; align-items: center; gap: .9rem;
}
.sub::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }

.grid { display: grid; gap: 1.1rem; }
.grid--svc { grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.grid--price { grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); }

/* ── CARDS SERVICIOS ───────────────── */
.card {
  background: linear-gradient(160deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.7rem 1.5rem;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.card:hover { transform: translateY(-5px); border-color: rgba(224, 185, 115, .5); }
.card__ico { font-size: 1.6rem; display: block; margin-bottom: .9rem; }
.card h3 { font-size: 1.4rem; margin-bottom: .5rem; color: var(--gold-soft); }
.card p { color: var(--muted); font-size: .93rem; }
.card--hl {
  background: linear-gradient(160deg, rgba(255, 91, 158, .14), rgba(224, 185, 115, .05));
  border-color: rgba(255, 91, 158, .38);
}
.card--hl h3 { color: #ffd7e6; }

/* ── PROMO DESTACADA ───────────────── */
.feat {
  position: relative; overflow: hidden;
  border: 1px solid rgba(224, 185, 115, .38); border-radius: 22px;
  padding: clamp(1.8rem, 5vw, 3rem);
  background:
    radial-gradient(90% 130% at 88% 0%, rgba(255, 91, 158, .20), transparent 60%),
    linear-gradient(150deg, rgba(224, 185, 115, .13), rgba(255, 255, 255, .02));
}
.tag {
  display: inline-block; font-size: .66rem; letter-spacing: .22em; text-transform: uppercase;
  padding: .38rem .85rem; border-radius: 100px; margin-bottom: 1rem;
  border: 1px solid var(--line); color: var(--gold-soft);
}
.tag--hot { background: var(--rose-deep); border-color: transparent; color: #fff; }
.feat h3 { font-size: clamp(1.8rem, 5vw, 2.7rem); margin-bottom: .9rem; }
.feat h3 em { font-style: italic; font-weight: 400; color: var(--gold); font-size: .68em; }
.feat__desc { color: var(--muted); max-width: 62ch; margin-bottom: 1.6rem; }
.feat__desc strong { color: var(--cream); font-weight: 500; }
.feat__price {
  font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; color: var(--cream);
  margin-bottom: 1.6rem;
}
.feat__price span {
  font-size: 2.9rem; font-weight: 700; color: var(--gold);
  display: inline-block; margin-right: .2rem;
}
.feat__price small { display: block; font-family: 'Jost', sans-serif; font-size: .72rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: .2rem; }

/* ── PRECIOS ───────────────────────── */
.price {
  display: flex; flex-direction: column; gap: .45rem;
  background: rgba(255, 255, 255, .028);
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.6rem 1.45rem;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.price:hover { transform: translateY(-4px); border-color: rgba(224, 185, 115, .55); background: rgba(255, 255, 255, .05); }
.price h4 { font-size: 1.32rem; color: var(--cream); }
.price h4 i { font-style: italic; font-weight: 400; color: var(--muted); }
.price > p { color: var(--muted); font-size: .88rem; }
.price > p i { color: var(--gold); font-style: italic; }
.price b {
  font-family: 'Cormorant Garamond', serif; font-size: 2.15rem; font-weight: 700;
  color: var(--gold); margin-top: auto; padding-top: .7rem; line-height: 1;
}
.price b span { font-family: 'Jost', sans-serif; font-size: .78rem; font-weight: 400; color: var(--muted); letter-spacing: .1em; }
.price a {
  text-decoration: none; font-size: .86rem; color: var(--rose);
  letter-spacing: .06em; margin-top: .75rem; transition: color .2s, transform .2s;
  align-self: start;
}
.price a:hover { color: var(--gold); transform: translateX(3px); }
.price--best { border-color: rgba(255, 91, 158, .5); background: linear-gradient(160deg, rgba(255, 91, 158, .12), rgba(255, 255, 255, .02)); }
.price--best .tag { margin-bottom: .3rem; background: rgba(255, 91, 158, .18); border-color: rgba(255, 91, 158, .4); color: #ffd7e6; }
.price--ask b { font-size: 1.6rem; color: var(--gold-soft); }
.price--ask b span { display: block; font-size: .7rem; text-transform: uppercase; }

.fineprint { margin-top: 2rem; font-size: .82rem; color: var(--muted); opacity: .8; max-width: 62ch; }

/* ── A DOMICILIO ───────────────────── */
.dom { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.8rem, 5vw, 4rem); align-items: center; }
.dom__txt .sec__lead { margin-bottom: 1.8rem; }
.dom__list {
  border: 1px solid var(--line); border-radius: 22px; padding: 1.6rem;
  background: radial-gradient(120% 100% at 100% 0%, rgba(255, 91, 158, .12), rgba(255, 255, 255, .02));
  display: grid; gap: .2rem;
}
.dom__list li {
  padding: .82rem .2rem .82rem 2.1rem; position: relative;
  border-bottom: 1px dashed rgba(224, 185, 115, .18); font-size: .96rem;
}
.dom__list li:last-child { border-bottom: 0; }
.dom__list li::before {
  content: "✦"; position: absolute; left: .35rem; top: .78rem; color: var(--gold); font-size: .8rem;
}
.dom__list li i { color: var(--muted); font-size: .86rem; font-style: italic; }

/* ── UBICACIÓN ─────────────────────── */
.loc { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.loc__info { display: grid; gap: 1.1rem; }
.info {
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.4rem 1.4rem; background: rgba(255, 255, 255, .028);
}
.info h3 { font-size: 1.25rem; color: var(--gold-soft); margin-bottom: .55rem; }
.info p { color: var(--muted); font-size: .95rem; }
.info p + p { margin-top: .35rem; }
.info strong { color: var(--cream); font-weight: 500; }
.lnk { color: var(--rose); text-decoration: none; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.lnk:hover { color: var(--gold); border-bottom-color: var(--gold); }

.loc__map {
  border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  min-height: 420px; height: 100%; background: var(--surface);
}
.loc__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: grayscale(.35) contrast(1.05); }

/* ── CTA FINAL ─────────────────────── */
.cta {
  padding: clamp(3.5rem, 9vw, 6rem) 0; text-align: center;
  background:
    radial-gradient(60% 100% at 50% 0%, rgba(255, 91, 158, .18), transparent 70%),
    linear-gradient(180deg, var(--ink), var(--ink-2));
  border-top: 1px solid var(--line);
}
.cta h2 { font-size: clamp(2rem, 5.5vw, 3rem); margin-bottom: .7rem; }
.cta p { color: var(--muted); margin-bottom: 2rem; }

/* ── FOOTER ────────────────────────── */
.foot { background: #0d070e; padding: 2.6rem 0 1.6rem; border-top: 1px solid var(--line); }
.foot__in { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.brand__name--foot { font-size: 1.5rem; }
.foot__sub { color: var(--muted); font-size: .84rem; margin-top: .25rem; }
.foot__soc { display: flex; gap: .7rem; }
.foot__soc a {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; color: var(--gold-soft);
  transition: background .25s, color .25s, transform .25s, border-color .25s;
}
.foot__soc a:hover { background: var(--gold); color: #1a1019; transform: translateY(-3px); border-color: var(--gold); }
.foot__soc .ico { width: 18px; height: 18px; }
.foot__legal {
  width: var(--shell); margin: 1.8rem auto 0; padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, .06);
  font-size: .76rem; color: var(--muted); opacity: .7; text-align: center;
}

/* ── FAB ───────────────────────────── */
.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 70;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #2ee06f, #17a04a);
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .8);
  transition: transform .25s var(--ease);
}
.fab:hover { transform: scale(1.08); }
.fab .ico { width: 28px; height: 28px; }
.fab::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa); animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(1);   opacity: .7; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ── REVEAL ────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ── RESPONSIVE ────────────────────── */
@media (max-width: 900px) {
  .dom, .loc { grid-template-columns: 1fr; }
  .loc__map, .loc__map iframe { min-height: 320px; }
}

@media (max-width: 760px) {
  :root { --shell: min(1140px, 100% - 2rem); }
  .burger { display: block; }
  .menu {
    position: fixed; inset: 72px 0 auto; flex-direction: column; gap: 0;
    background: rgba(13, 7, 14, .98); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: .5rem 1rem 1.6rem;
    clip-path: inset(0 0 100% 0); transition: clip-path .38s var(--ease);
  }
  .menu.is-open { clip-path: inset(0 0 0 0); }
  .menu a { width: 100%; padding: 1rem .3rem; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 1.02rem; }
  .menu__cta { text-align: center; margin-top: 1.1rem; border-bottom: 0; padding: .9rem; }
  .feat__price span { font-size: 2.4rem; }
  .foot__in { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
