/* =========================================================
   Nacho Martín Peluqueros — Propuesta de rediseño
   Estética de peluquería unisex moderna y elegante: negro,
   dorado envejecido y crudo cálido. Tipografía editorial
   (Bodoni Moda) + sans geométrica limpia (Jost). Sin animaciones
   infantiles, sin emoji decorativos en títulos.
   ========================================================= */

:root {
  /* Marca */
  --ink: #17130f;
  --ink-soft: #5c5349;
  --gold: #a97c3f;
  --gold-light: #d3ac6e;
  --gold-dark: #7c5a2c;

  --line: #e6dcc9;
  --bg: #faf6ef;
  --bg-soft: #f2e9d8;
  --bg-dark: #14100c;
  --white: #ffffff;

  --radius: 4px;
  --radius-lg: 10px;
  --radius-pill: 999px;
  --shadow-sm: 0 4px 16px rgba(20, 16, 12, .08);
  --shadow: 0 16px 40px rgba(20, 16, 12, .16);
  --shadow-lg: 0 26px 64px rgba(20, 16, 12, .3);

  --maxw: 1160px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font-body: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Bodoni Moda', 'Georgia', serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.14; font-weight: 600; letter-spacing: -.01em; }

.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-weight: 600; font-size: .78rem;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-dark);
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--gold); }

.section { padding: clamp(60px, 8vw, 110px) 0; }
.section-head { max-width: 640px; margin-bottom: 50px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .eyebrow::after { content: ''; width: 26px; height: 1px; background: var(--gold); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 16px 0 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: .92rem;
  padding: 14px 30px; border-radius: var(--radius-pill);
  cursor: pointer; border: 1.5px solid transparent; transition: background .25s var(--ease), color .25s, border-color .25s;
  white-space: nowrap; letter-spacing: .03em; text-transform: uppercase;
}
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-light); }
.btn-wa { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-wa:hover { border-color: #25D366; color: #4ee08a; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-dark); }
.btn svg { width: 17px; height: 17px; }

/* ---------- Header ---------- */
/* La cabecera es SIEMPRE oscura y sólida (no transparente sobre el hero):
   evita el problema de un logo que se vuelve ilegible al pasar de fondo
   transparente a fondo sólido tras el scroll. El logo blanco funciona igual
   arriba del todo que tras hacer scroll. */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: var(--ink);
  padding: 16px 0; transition: padding .35s var(--ease), box-shadow .35s;
  box-shadow: 0 2px 18px rgba(0,0,0,.18);
}
.header.scrolled { padding: 10px 0; box-shadow: 0 6px 24px rgba(0,0,0,.3); }

.header .nav { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 30px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 28px; font-weight: 500; font-size: .84rem; letter-spacing: .05em; text-transform: uppercase; }
.nav-links > a { color: rgba(255,255,255,.82); transition: color .2s; }
.nav-links > a:hover { color: var(--gold-light); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.header .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.header .btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }

.burger { display: none; position: relative; background: none; border: 0; width: 26px; height: 26px; cursor: pointer; color: #fff; }
.burger svg { position: absolute; inset: 0; margin: auto; width: 100%; height: 100%; transition: opacity .2s; }
.burger .icon-close { opacity: 0; }
.header.menu-open .burger .icon-menu { opacity: 0; }
.header.menu-open .burger .icon-close { opacity: 1; }

/* El panel exterior anima max-height y NO lleva padding propio (el padding no
   se comprime por debajo de max-height y dejaría una barra visible tapando la
   cabecera incluso "cerrado"). El padding real vive en .mobile-menu-inner.
   z-index por debajo de .header .nav (5) para que marca + hamburguesa
   (que cierra el menú) queden siempre visibles y pulsables encima. */
.mobile-menu {
  display: none;
  position: fixed; left: 0; right: 0; top: 0; z-index: 2;
  background: var(--ink); box-shadow: var(--shadow-lg);
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease);
}
.mobile-menu.open { max-height: 100vh; overflow-y: auto; }
.mobile-menu-inner { display: flex; flex-direction: column; gap: 2px; padding: 84px 24px 24px; }
.mm-link { padding: 14px 6px; border-bottom: 1px solid rgba(255,255,255,.1); font-weight: 500; color: rgba(255,255,255,.88); text-transform: uppercase; font-size: .86rem; letter-spacing: .04em; }
.mm-cta { justify-content: center; margin-top: 16px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .burger { display: block; }
  .mobile-menu { display: flex; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 150px 0 80px;
  background:
    radial-gradient(ellipse 900px 500px at 82% -10%, rgba(169,124,63,.14), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg) 100%);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px);
  background-size: 100% 3px; opacity: .35; mix-blend-mode: multiply;
  display: none;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.hero-text .eyebrow { margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: 20px; font-weight: 500; }
.hero h1 em { font-style: italic; color: var(--gold-dark); font-weight: 600; }
.hero .lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 52ch; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-item .stars { color: var(--gold); letter-spacing: 2px; font-size: .95rem; }
.trust-item small { display: block; color: var(--ink-soft); font-size: .78rem; }
.trust-item b { font-family: var(--font-display); font-size: 1rem; }
.trust-div { width: 1px; height: 30px; background: var(--line); }

.hero-portrait { position: relative; justify-self: center; }
.hero-portrait-frame {
  width: min(340px, 80vw); aspect-ratio: 1/1.08; border-radius: 50% 50% 46% 46% / 55% 55% 45% 45%;
  overflow: hidden; border: 3px solid var(--gold); box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-portrait-ring {
  position: absolute; inset: -16px; border: 1px solid var(--gold-light); border-radius: 50% 50% 46% 46% / 55% 55% 45% 45%;
  opacity: .6; pointer-events: none;
}
.hero-portrait-tag {
  position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: 10px 22px; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-size: .84rem; white-space: nowrap; box-shadow: var(--shadow);
  border: 1px solid var(--gold);
}
.hero-portrait-tag b { color: var(--gold-light); }

@media (max-width: 900px) {
  .hero { padding: 116px 0 60px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text .eyebrow { justify-content: center; }
  .hero-text .eyebrow::before { display: none; }
  .hero .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-portrait { order: -1; margin-bottom: 10px; }
}

/* ---------- Franja de servicios (marquee estático, sobrio) ---------- */
.strip { background: var(--ink); padding: 16px 0; overflow: hidden; }
.strip-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 0; }
.strip-row span {
  color: rgba(255,255,255,.7); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 0 22px; border-right: 1px solid rgba(255,255,255,.18);
}
.strip-row span:last-child { border-right: 0; }
.strip-row span b { color: var(--gold-light); font-weight: 600; }

/* ---------- Historia ---------- */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 60px; align-items: center; }
.about-photo { position: relative; }
.about-photo-frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5;
  border: 1px solid var(--line);
}
.about-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-badge {
  position: absolute; right: -18px; bottom: -18px; background: var(--gold); color: var(--ink);
  border-radius: 50%; width: 108px; height: 108px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; box-shadow: var(--shadow);
  font-family: var(--font-display);
}
.about-photo-badge strong { font-size: 1.5rem; line-height: 1; }
.about-photo-badge span { font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; margin-top: 2px; }

.about-text .section-head { margin-bottom: 26px; }
.about-text > p { color: var(--ink-soft); margin-bottom: 22px; font-size: 1.02rem; }
.trait-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.trait { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.trait .num { font-family: var(--font-display); font-size: 1.05rem; color: var(--gold); font-weight: 600; flex-shrink: 0; width: 26px; }
.trait h4 { font-size: .98rem; margin-bottom: 3px; }
.trait p { color: var(--ink-soft); font-size: .88rem; }
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; gap: 34px; } .about-photo-badge { width: 92px; height: 92px; right: 10px; } }

.zones { background: var(--bg-soft); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }

/* ---------- Servicios ---------- */
.serv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.serv {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; transition: border-color .25s, transform .25s, box-shadow .25s;
}
.serv:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.serv-ico { width: 46px; height: 46px; display: grid; place-items: center; color: var(--gold-dark); margin-bottom: 16px; }
.serv-ico svg { width: 100%; height: 100%; }
.serv h3 { font-size: 1.06rem; margin-bottom: 8px; }
.serv p { color: var(--ink-soft); font-size: .9rem; }

/* ---------- Tarifas: carta de precios real ---------- */
.menu-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 60px; }
.menu-category { margin-bottom: 40px; break-inside: avoid; }
.menu-category h3 {
  font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600;
  color: var(--gold-dark); padding-bottom: 10px; border-bottom: 2px solid var(--gold); margin-bottom: 6px;
}
.menu-list { list-style: none; }
.menu-item { display: flex; align-items: baseline; gap: 8px; padding: 12px 0; border-bottom: 1px dotted var(--line); }
.menu-item .name { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: .96rem; }
.menu-item .name small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--ink-soft); font-size: .8rem; margin-top: 2px; letter-spacing: 0; text-transform: none; }
.menu-item .leader { flex: 1; border-bottom: 1px dotted var(--line); margin-bottom: 5px; min-width: 16px; }
.menu-item .price { font-family: var(--font-display); font-weight: 700; color: var(--gold-dark); white-space: nowrap; font-size: .94rem; }
@media (max-width: 820px) { .menu-cols { grid-template-columns: 1fr; } }

.menu-note {
  background: var(--white); border-left: 3px solid var(--gold);
  padding: 18px 24px; margin-top: 10px; color: var(--ink-soft); font-size: .9rem;
}
.menu-note b { color: var(--gold-dark); }

/* ---------- Stats ---------- */
.stats { background: var(--bg-dark); border-radius: var(--radius-lg); padding: 46px 30px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat { border-right: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border-right: 0; }
.stats .num { font-family: var(--font-display); font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 700; color: var(--gold-light); }
.stats .lbl { color: rgba(255,255,255,.62); font-size: .84rem; margin-top: 8px; }
@media (max-width: 720px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 18px; } }

/* ---------- Equipo ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; max-width: 720px; margin-inline: auto; }
.team-card { text-align: center; }
.team-photo {
  width: 176px; height: 176px; border-radius: 50%; overflow: hidden; margin: 0 auto 18px;
  border: 3px solid var(--gold); box-shadow: var(--shadow-sm);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1.12rem; margin-bottom: 4px; }
.team-card .role { color: var(--gold-dark); font-size: .84rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin-bottom: 8px; }
.team-card p { color: var(--ink-soft); font-size: .9rem; }

/* ---------- Reputación ---------- */
.reput-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.reput-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; text-align: center;
}
.reput-card .stars { color: var(--gold); font-size: 1.2rem; letter-spacing: 3px; margin-bottom: 12px; }
.reput-card .score { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--ink); }
.reput-card .platform { font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--gold-dark); margin: 6px 0 4px; }
.reput-card .count { color: var(--ink-soft); font-size: .86rem; }

/* ---------- Instagram / síguenos (sustituye a la galería de interior) ---------- */
.insta-band {
  background: linear-gradient(135deg, var(--ink) 0%, #2a2119 100%);
  border-radius: var(--radius-lg); padding: 52px 40px; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.insta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(211,172,110,.18), transparent 55%);
}
.insta-band > * { position: relative; z-index: 1; }
.insta-band .eyebrow { color: var(--gold-light); justify-content: center; }
.insta-band .eyebrow::after { content: ''; width: 26px; height: 1px; background: var(--gold-light); }
.insta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 14px 0 12px; }
.insta-band p { color: rgba(255,255,255,.72); max-width: 56ch; margin: 0 auto 26px; }
.insta-band .btn-primary { color: var(--ink); }

/* ---------- Info práctica ---------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.info-item { padding: 26px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.info-item h4 { font-size: .98rem; margin-bottom: 8px; }
.info-item p { color: var(--ink-soft); font-size: .88rem; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: stretch; }
.contact-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 46px);
}
.contact-card .eyebrow { margin-bottom: 16px; }
.contact-card h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 14px; }
.contact-card > p { color: var(--ink-soft); margin-bottom: 26px; }
.contact-line { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-line .ico { color: var(--gold-dark); width: 20px; flex-shrink: 0; }
.contact-line svg { width: 20px; height: 20px; }
.contact-line small { display: block; color: var(--ink-soft); font-size: .8rem; }
.contact-line b { font-size: 1rem; font-weight: 600; }
.contact-actions { display: flex; gap: 12px; margin: 26px 0 22px; flex-wrap: wrap; }
.contact-actions .btn-wa { background: var(--ink); color: #fff; border-color: var(--ink); }
.contact-actions .btn-wa:hover { background: #1f1a14; border-color: #25D366; color: #4ee08a; }
.socials { display: flex; gap: 12px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--gold-dark); transition: background .2s, color .2s, border-color .2s; }
.socials a:hover { background: var(--ink); color: var(--gold-light); border-color: var(--ink); }
.socials svg { width: 17px; height: 17px; }

.map-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 320px; filter: grayscale(.25) sepia(.08); }
.map-card iframe { width: 100%; height: 100%; border: 0; min-height: 320px; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- CTA final ---------- */
.cta-final { background: var(--bg-dark); }
.cta-box { text-align: center; color: #fff; }
.cta-box .eyebrow { justify-content: center; color: var(--gold-light); }
.cta-box .eyebrow::after { content: ''; width: 26px; height: 1px; background: var(--gold-light); }
.cta-box h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 14px 0; font-weight: 500; }
.cta-box p { color: rgba(255,255,255,.7); max-width: 520px; margin: 0 auto 28px; }
.cta-box .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.cta-box .btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.68); padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h5 { color: #fff; font-family: var(--font-display); font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; font-weight: 600; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul, .footer p { font-size: .88rem; }
.footer a:hover { color: var(--gold-light); }
.footer .brand { margin-bottom: 14px; }
.footer .brand img { height: 26px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flotante ---------- */
/* El negocio SÍ tiene WhatsApp Business real (+34 636 78 02 69, confirmado en
   su propia web mediante el plugin de chat instalado) -> el flotante es de
   WhatsApp, no de llamada. */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
  border: 1.5px solid rgba(255,255,255,.25); transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }

/* ---------- Lightbox (equipo / futura galería) ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(20,16,12,.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(92vw, 700px); max-height: 86vh; border-radius: 4px; }
.lb-close {
  position: absolute; top: 22px; right: 22px; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 50%;
  width: 44px; height: 44px; font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.lb-close:hover { background: rgba(255,255,255,.2); }
