/* Peluquería Susana — propuesta de diseño. Mobile first. */
:root {
  --blush: #FBF1F1;
  --blush-2: #F3DEE1;
  --white: #FFFFFF;
  --rose: #C88E99;      /* solo decorativo / fondos */
  --rose-deep: #8A4F62; /* texto de acento (AA sobre rubor y blanco) */
  --plum: #5B3550;
  --plum-2: #47283E;
  --text: #3A2633;
  --muted: #6E5465;
  --line: #EBD3D8;
  --serif: "Marcellus", "Times New Roman", Georgia, serif;
  --sans: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 22px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--blush);
  color: var(--text);
  font: 400 1rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 76px; /* espacio para la barra móvil */
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--plum); text-underline-offset: 3px; }
a:hover { color: var(--rose-deep); }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; margin: 0 0 .5em; color: var(--plum); }
h2 { font-size: clamp(1.8rem, 6vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-top: 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--plum); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 8px; color: #fff; }
.ico { width: 20px; height: 20px; flex: none; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font: 700 1rem/1 var(--sans); letter-spacing: .02em; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s, background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn--plum { background: var(--plum); color: #fff; }
.btn--plum:hover { background: var(--plum-2); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(91,53,80,.6); }
.btn--outline { border-color: var(--plum); color: var(--plum); background: transparent; }
.btn--outline:hover { background: var(--plum); color: #fff; transform: translateY(-2px); }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 1.05rem; }
.btn--sm { min-height: 40px; padding: 8px 20px; font-size: .95rem; }

.eyebrow {
  font: 700 .78rem/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  color: var(--rose-deep); margin-bottom: 12px;
}

/* Cabecera */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,241,241,.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(91,53,80,.5); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; color: var(--plum); text-decoration: none; }
.logo:hover { color: var(--plum); }
.logo__mark { width: 34px; height: 34px; color: var(--rose-deep); }
.logo__text { font: 400 1.5rem/1 var(--serif); display: flex; flex-direction: column; }
.logo__text small { font: 700 .62rem/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--rose-deep); margin-bottom: 4px; }

.menu-btn {
  width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%;
  background: var(--white); display: grid; place-content: center; gap: 5px; cursor: pointer;
}
.menu-btn span { display: block; width: 20px; height: 1.5px; background: var(--plum); transition: transform .25s, opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav {
  position: absolute; left: 0; right: 0; top: var(--header-h);
  display: flex; flex-direction: column; gap: 4px; padding: 16px 20px 24px;
  background: var(--blush); border-bottom: 1px solid var(--line);
  box-shadow: 0 20px 30px -20px rgba(91,53,80,.35);
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .25s, transform .25s, visibility .25s;
}
.nav.open { visibility: visible; opacity: 1; transform: none; }
.nav a { padding: 12px 4px; color: var(--text); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.nav a:hover { color: var(--rose-deep); }
.nav a.btn { margin-top: 12px; border: 0; color: #fff; padding: 12px 20px; }
.no-js .nav { position: static; visibility: visible; opacity: 1; transform: none; flex-direction: row; flex-wrap: wrap; box-shadow: none; }
.no-js .menu-btn { display: none; }
.no-js .header__inner { height: auto; flex-wrap: wrap; padding-block: 10px; }

/* Portada */
.hero { position: relative; padding: 36px 0 80px; overflow: hidden; }
.hero__grid { display: grid; gap: 28px; align-items: center; }
.hero__title { font-size: clamp(2.5rem, 11vw, 4.4rem); line-height: 1.08; margin-bottom: 18px; }
.hero__title em { font-style: normal; color: var(--rose-deep); display: block; }
.hero__lead { font-size: 1.1rem; color: var(--muted); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__actions .btn { flex: 1 1 220px; }
.hero__art { max-width: 340px; margin: 0 auto; width: 100%; }
.hero__divider { position: absolute; left: 0; bottom: -1px; width: 100%; height: 50px; }

/* Secciones */
.section { padding: 72px 0; }
.section--white { background: var(--white); }
.section__head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.section__sub { color: var(--muted); font-size: 1.05rem; }
.flourish { width: 40px; height: 40px; margin: 0 auto 10px; color: var(--rose); }

/* Servicios */
.cards { display: grid; gap: 18px; }
.card {
  background: var(--blush); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; text-align: center; transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -24px rgba(91,53,80,.55); }
.card__ico {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px;
  border-radius: 50%; background: var(--white); border: 1px solid var(--rose); color: var(--plum);
}
.card__ico svg { width: 30px; height: 30px; }
.card p { color: var(--muted); margin: 0; }
.note {
  text-align: center; margin: 32px auto 0; padding: 16px 22px; max-width: 560px;
  border: 1px dashed var(--rose); border-radius: 999px; color: var(--text);
}
.note a { font-weight: 700; white-space: nowrap; }

/* Sobre nosotros */
.about { display: grid; gap: 32px; align-items: center; }
.about__art { max-width: 260px; margin: 0 auto; width: 100%; }
.perks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.perks li { display: flex; gap: 14px; align-items: flex-start; }
.perks .ico { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--blush-2); color: var(--plum); }
.perks strong { display: block; color: var(--plum); }
.perks span { color: var(--muted); }

/* Horario */
.hours {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  background: var(--blush); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 24px;
}
.hours__ico { width: 54px; height: 54px; color: var(--rose-deep); }
.hours h2 { font-size: clamp(1.5rem, 5.4vw, 2.2rem); }
.hours p:not(.eyebrow) { color: var(--muted); }

/* Reservas */
.booking {
  text-align: center; background: var(--white); border-radius: var(--radius);
  padding: 40px 24px; border: 1px solid var(--line);
  box-shadow: 0 24px 50px -36px rgba(91,53,80,.6);
}
.booking__ico { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 16px; border-radius: 50%; background: var(--blush-2); color: var(--plum); }
.booking__ico svg { width: 32px; height: 32px; }
.booking__title { font: 400 1.5rem/1.2 var(--serif); color: var(--plum); margin-bottom: 8px; }
.booking__text { color: var(--muted); max-width: 30em; margin: 0 auto 24px; }

/* Mapa */
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; max-width: 100%; background: var(--blush-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Contacto */
.contact { display: grid; gap: 14px; max-width: 900px; margin: 0 auto; }
.contact__item {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text); text-decoration: none; transition: transform .2s, border-color .2s;
}
a.contact__item:hover { transform: translateY(-3px); border-color: var(--rose); color: var(--text); }
.contact__ico { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--plum); color: #fff; }
.contact__ico svg { width: 22px; height: 22px; }
.contact__item strong { display: block; color: var(--plum); font-family: var(--serif); font-weight: 400; font-size: 1.15rem; }

/* Pie */
.footer { background: var(--plum); color: #F6E6EA; padding: 44px 0 36px; text-align: center; }
.footer a { color: #fff; }
.footer__inner p { margin: 0 0 8px; }
.footer__flower { width: 40px; height: 40px; margin: 0 auto 10px; color: #E7C3CB; }
.footer__brand { font: 400 1.6rem/1.2 var(--serif); color: #fff; }
.footer__demo { display: inline-block; margin-top: 10px !important; padding: 6px 16px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; font-size: .85rem; letter-spacing: .08em; }

/* Barra fija móvil */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251,241,241,.96); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.mobile-cta__btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px;
  border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 1.5px solid var(--plum); color: var(--plum); background: var(--white);
}
.mobile-cta__btn--plum { background: var(--plum); color: #fff; }
.mobile-cta__btn--plum:hover { color: #fff; }

/* Animaciones */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Tablet */
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: repeat(3, 1fr); }
  .contact__item { flex-direction: column; text-align: center; padding: 28px 18px; }
  .map { aspect-ratio: 16 / 8; }
  .hours { flex-direction: row; text-align: left; align-items: flex-start; gap: 24px; padding: 40px; }
}

/* Escritorio */
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .mobile-cta { display: none; }
  .menu-btn { display: none; }
  .nav {
    position: static; visibility: visible; opacity: 1; transform: none;
    flex-direction: row; align-items: center; gap: 26px; padding: 0;
    background: none; border: 0; box-shadow: none;
  }
  .nav a { border: 0; padding: 6px 0; }
  .nav a.btn { margin: 0 0 0 6px; padding: 8px 22px; }
  .hero { padding: 64px 0 110px; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 48px; }
  .hero__actions .btn { flex: 0 0 auto; }
  .hero__art { max-width: 420px; }
  .section { padding: 100px 0; }
  .cards { grid-template-columns: repeat(4, 1fr); }
  .about { grid-template-columns: .8fr 1.2fr; gap: 64px; }
  .about__art { max-width: 340px; }
}
