/* =========================================================
   Joss Álvarez · Estilista Unisex — Rosario
   Paleta de marca: azul noche + dorado (tomada de la tarjeta)
   ========================================================= */

:root {
  --navy:        #262f39;   /* azul noche de la marca */
  --navy-deep:   #1c242c;
  --navy-soft:   #313c47;
  --gold:        #e6b23c;   /* dorado de la marca */
  --gold-deep:   #c9962b;
  --gold-soft:   #f0cd7d;
  --cream:       #f8f4ee;   /* fondo claro cálido */
  --cream-2:     #efe8dd;
  --ink:         #2a2f36;   /* texto sobre claro */
  --ink-soft:    #5d6570;
  --white:       #ffffff;
  --line:        #e7ded1;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --maxw: 1200px;
  --radius: 14px;
  --shadow: 0 18px 50px -20px rgba(28, 36, 44, .35);
  --shadow-sm: 0 8px 24px -14px rgba(28, 36, 44, .45);
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-weight: 300;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; color: var(--navy); }

.ico { width: 1.15em; height: 1.15em; fill: currentColor; flex-shrink: 0; }
.stars { color: var(--gold); letter-spacing: 2px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 500; font-size: .95rem; letter-spacing: .03em;
  padding: 13px 26px; border-radius: 100px; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn--lg { padding: 16px 34px; font-size: 1rem; }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--navy-deep); box-shadow: 0 10px 28px -12px rgba(230, 178, 60, .8); }
.btn--gold:hover { background: var(--gold-soft); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--navy-deep); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(255,255,255,.16); }
.btn--ghost-dark { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost-dark:hover { background: var(--navy); color: #fff; }
.btn .ico { width: 1.1em; height: 1.1em; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(38, 47, 57, .92);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px -16px rgba(0,0,0,.6);
  padding: 10px 0;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo {
  width: 46px; height: 46px; object-fit: contain;
  mix-blend-mode: screen;            /* saca el fondo negro del logo sobre oscuro */
  transition: width .35s var(--ease), height .35s var(--ease);
}
.scrolled .brand__logo { width: 40px; height: 40px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: #fff; }
.brand__tag { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__link { color: rgba(255,255,255,.88); font-size: .92rem; letter-spacing: .03em; position: relative; padding: 4px 0; }
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after { width: 100%; }
.nav__cta { margin-left: 6px; padding: 10px 22px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; z-index: 110; }
.nav-toggle span { width: 26px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero__media {
  position: absolute; inset: 0;
  background: var(--navy-deep) url('../img/hero-estilista-rosario.jpg') center 22% / cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(28,36,44,.55) 0%, rgba(28,36,44,.35) 35%, rgba(28,36,44,.85) 100%),
    radial-gradient(120% 80% at 70% 30%, transparent 30%, rgba(28,36,44,.5) 100%);
}
.hero__content { position: relative; z-index: 2; padding: 120px 24px 90px; max-width: 760px; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: .32em; font-size: .78rem; color: var(--gold); margin-bottom: 20px; }
.hero__title { font-size: clamp(2.6rem, 7vw, 4.7rem); color: #fff; font-weight: 500; letter-spacing: .005em; }
.hero__subtitle { font-size: clamp(1.05rem, 2.2vw, 1.3rem); margin-top: 22px; max-width: 520px; color: rgba(255,255,255,.92); font-weight: 300; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__rating { display: flex; align-items: center; gap: 10px; margin-top: 30px; font-size: .9rem; color: rgba(255,255,255,.9); }
.hero__rating .stars { font-size: 1.05rem; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px; }
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; background: var(--gold); border-radius: 2px; transform: translateX(-50%); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,12px)} 100%{opacity:0} }

/* ---------- Barra de info ---------- */
.infobar { background: var(--navy); color: #fff; }
.infobar__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.infobar__item { display: flex; align-items: center; gap: 14px; padding: 22px 18px; font-size: .92rem; transition: background .25s var(--ease); border-left: 1px solid rgba(255,255,255,.07); }
.infobar__item:first-child { border-left: 0; }
.infobar__item:hover { background: var(--navy-soft); }
.infobar__item .ico { width: 26px; height: 26px; color: var(--gold); }
.infobar__item strong { color: #fff; font-weight: 500; }
.infobar__item span { color: rgba(255,255,255,.75); line-height: 1.35; }

/* ---------- Secciones genéricas ---------- */
.section { padding: 92px 0; }
.section--cream { background: var(--cream-2); }
.section__head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .28em; font-size: .76rem; color: var(--gold-deep); font-weight: 500; margin-bottom: 14px; }
.section__title { font-size: clamp(2rem, 5vw, 3rem); }
.section__title::after { content: ''; display: block; width: 54px; height: 2px; background: var(--gold); margin: 18px auto 0; }
.section__lead { margin-top: 18px; color: var(--ink-soft); font-size: 1.05rem; }
.section__cta { text-align: center; margin-top: 50px; }

/* ---------- Servicios ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 30px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.service__ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--cream); color: var(--gold-deep); font-size: 1.5rem; margin-bottom: 20px;
}
.service h3 { font-size: 1.5rem; margin-bottom: 8px; }
.service p { color: var(--ink-soft); font-size: .96rem; }
.service--wide { grid-column: span 3; display: flex; align-items: center; gap: 28px; text-align: left; background: var(--navy); border-color: var(--navy); }
.service--wide h3 { color: #fff; }
.service--wide p { color: rgba(255,255,255,.8); }
.service--wide .service__ico { background: rgba(255,255,255,.08); color: var(--gold); margin-bottom: 0; flex-shrink: 0; }

/* ---------- Galería ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery__item {
  position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer;
  aspect-ratio: 4 / 5; background: var(--navy);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item::after {
  content: attr(data-cap); position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 18px 16px; color: #fff; font-size: .9rem; letter-spacing: .02em;
  background: linear-gradient(transparent, rgba(28,36,44,.85)); opacity: 0; transition: opacity .35s var(--ease);
}
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item:hover::after { opacity: 1; }

/* ---------- Sobre Joss ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.about__photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__text .section__title { text-align: left; }
.about__text .section__title::after { margin-left: 0; }
.about__text p { color: var(--ink-soft); margin-top: 16px; font-size: 1.05rem; }
.about__badges { display: flex; gap: 30px; margin-top: 32px; flex-wrap: wrap; }
.badge { text-align: center; }
.badge__num { display: block; font-family: var(--serif); font-size: 2.2rem; font-weight: 600; color: var(--gold-deep); line-height: 1; }
.badge__lbl { font-size: .82rem; color: var(--ink-soft); letter-spacing: .04em; }

/* ---------- Opiniones ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-sm); }
.review .stars { font-size: 1.05rem; }
.review p { font-family: var(--serif); font-size: 1.28rem; font-style: italic; color: var(--navy); margin: 16px 0 18px; line-height: 1.4; }
.review cite { font-style: normal; font-size: .82rem; letter-spacing: .04em; color: var(--ink-soft); text-transform: uppercase; }

/* ---------- Ubicación ---------- */
.ubicacion__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: center; }
.ubicacion__info .section__title { text-align: left; }
.ubicacion__info .section__title::after { margin-left: 0; }
.ubicacion__list { margin: 26px 0 30px; display: grid; gap: 18px; }
.ubicacion__list li { display: flex; gap: 14px; align-items: flex-start; }
.ubicacion__list .ico { width: 24px; height: 24px; color: var(--gold-deep); margin-top: 3px; }
.ubicacion__list strong { color: var(--navy); font-weight: 600; }
.ubicacion__list a:hover { color: var(--gold-deep); }
.ubicacion__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ubicacion__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 420px; }
.ubicacion__map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- CTA final ---------- */
.cta-final {
  background:
    linear-gradient(rgba(28,36,44,.92), rgba(28,36,44,.92)),
    repeating-linear-gradient(135deg, var(--navy) 0 22px, var(--navy-deep) 22px 44px);
  color: #fff; text-align: center; padding: 86px 0;
}
.cta-final__inner { max-width: 620px; margin: 0 auto; }
.cta-final h2 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); }
.cta-final p { margin: 16px 0 32px; color: rgba(255,255,255,.85); font-size: 1.08rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.78); padding-top: 60px; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 40px; padding-bottom: 44px; }
.footer__logo { width: 64px; height: 64px; object-fit: contain; mix-blend-mode: screen; margin-bottom: 10px; }
.footer__name { font-family: var(--serif); font-size: 1.7rem; color: #fff; line-height: 1; }
.footer__tag { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
.footer__nav { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.footer__nav a:hover { color: var(--gold); }
.footer__contact { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; }
.footer__contact a:hover { color: var(--gold); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: .82rem; color: rgba(255,255,255,.55); text-align: center; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7);
  transition: transform .25s var(--ease);
  animation: waPulse 2.6s infinite;
}
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.wa-float:hover { transform: scale(1.08); }
@keyframes waPulse { 0%{box-shadow:0 0 0 0 rgba(37,211,102,.5)} 70%{box-shadow:0 0 0 16px rgba(37,211,102,0)} 100%{box-shadow:0 0 0 0 rgba(37,211,102,0)} }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20,26,32,.94); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox__fig { max-width: 90vw; max-height: 88vh; text-align: center; }
.lightbox__fig img { max-width: 100%; max-height: 80vh; border-radius: 8px; object-fit: contain; }
.lightbox__fig figcaption { color: #fff; margin-top: 14px; font-size: .95rem; letter-spacing: .03em; }
.lightbox__close { position: absolute; top: 18px; right: 24px; background: none; border: 0; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.1); border: 0; color: #fff; font-size: 2rem; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; transition: background .25s; }
.lightbox__nav:hover { background: rgba(255,255,255,.25); }
.lightbox__prev { left: 18px; }
.lightbox__next { right: 18px; }

/* ---------- Animación de aparición ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(80%, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px;
    background: var(--navy-deep); padding: 40px; transform: translateX(100%);
    transition: transform .35s var(--ease); box-shadow: -20px 0 50px -20px rgba(0,0,0,.6);
  }
  .nav.open { transform: translateX(0); }
  .nav__link { font-size: 1.15rem; color: #fff; }
  .nav__cta { margin-left: 0; }
  .nav-toggle { display: flex; }
  .site-header { background: rgba(38,47,57,.92); backdrop-filter: blur(10px); }

  .services, .reviews { grid-template-columns: repeat(2, 1fr); }
  .service--wide { grid-column: span 2; }
  .about__grid, .ubicacion__grid { grid-template-columns: 1fr; gap: 36px; }
  .about__photo { max-width: 440px; margin: 0 auto; }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .infobar__grid { grid-template-columns: 1fr; }
  .infobar__item { border-left: 0; border-top: 1px solid rgba(255,255,255,.07); }
  .infobar__item:first-child { border-top: 0; }
  .services, .reviews, .gallery { grid-template-columns: 1fr; }
  .service--wide { grid-column: span 1; flex-direction: column; text-align: center; }
  .service--wide .service__ico { margin-bottom: 16px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .brand__tag { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .footer__brand { display: flex; flex-direction: column; align-items: center; }
  .footer__nav, .footer__contact { align-items: center; }
  .about__badges { justify-content: center; }
}
