/*
Theme Name: NOIR Studio
Theme URI: https://sermarketing.es/
Author: SER Marketing
Author URI: https://sermarketing.es/
Description: Tema editorial minimalista de alto impacto para peluquerías y salones de autor.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: noir-studio
*/

:root {
  --ink: #080808;
  --paper: #f3efe9;
  --muted: #a9a39b;
  --wine: #8e1f36;
  --line: rgba(243, 239, 233, .18);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.eyebrow { margin: 0 0 18px; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.display { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; line-height: .87; }

.site-header { position: fixed; z-index: 30; inset: 0 0 auto; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(8,8,8,.9); border-color: var(--line); backdrop-filter: blur(16px); }
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { font-family: var(--serif); font-size: 1.75rem; letter-spacing: .08em; }
.brand span { color: var(--wine); }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: .73rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.nav-links a { position: relative; }
.nav-links a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--paper); transition: right .25s; }
.nav-links a:hover::after { right: 0; }
.nav-cta, .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; background: var(--paper); color: var(--ink); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; transition: .25s ease; border: 1px solid var(--paper); }
.nav-cta:hover, .btn:hover { background: var(--wine); border-color: var(--wine); color: white; transform: translateY(-2px); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 0; border: 0; background: transparent; color: white; }
.menu-toggle span { display: block; width: 25px; height: 1px; margin: 7px auto; background: currentColor; }

.hero { min-height: 100svh; position: relative; display: flex; align-items: flex-end; background: #0a0a0a center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.96) 0%, rgba(0,0,0,.68) 38%, rgba(0,0,0,.04) 73%), linear-gradient(0deg, rgba(0,0,0,.75), transparent 50%); }
.hero-inner { position: relative; z-index: 1; width: 100%; padding: 180px 0 76px; }
.hero-copy { max-width: 800px; }
.hero h1 { font-size: clamp(5rem, 11.8vw, 10.5rem); }
.hero h1 em { color: transparent; -webkit-text-stroke: 1px var(--paper); font-weight: 300; }
.hero-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; }
.hero-bottom p { max-width: 430px; margin: 0; color: #d1cdc7; }
.scroll-note { writing-mode: vertical-rl; color: var(--muted); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; }

.manifesto { padding: 150px 0; background: var(--paper); color: var(--ink); }
.manifesto-grid { display: grid; grid-template-columns: .7fr 2fr; gap: 7vw; align-items: start; }
.manifesto h2 { max-width: 990px; font-size: clamp(3.2rem, 7vw, 7rem); }
.manifesto h2 span { color: var(--wine); font-style: italic; }

.services { padding: 130px 0; }
.section-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(3.5rem, 7vw, 6.5rem); }
.section-head p { max-width: 360px; color: var(--muted); margin: 0 0 9px; }
.service-list { border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 70px 1fr auto; gap: 28px; align-items: center; padding: 29px 0; border-bottom: 1px solid var(--line); transition: padding .25s, color .25s; }
.service:hover { padding-left: 18px; color: #fff; }
.service-number { color: var(--wine); font: italic 1.1rem var(--serif); }
.service h3 { margin: 0; font: 400 clamp(2.2rem, 4vw, 4.3rem)/1 var(--serif); }
.service-meta { display: flex; align-items: center; gap: 36px; color: var(--muted); }
.service-price { min-width: 85px; color: var(--paper); font-weight: 700; text-align: right; }

.quote-band { overflow: hidden; padding: 30px 0; background: var(--wine); transform: rotate(-1deg) scale(1.02); }
.marquee { width: max-content; display: flex; gap: 44px; animation: marquee 26s linear infinite; font: 400 2.1rem var(--serif); text-transform: uppercase; }
@keyframes marquee { to { transform: translateX(-50%); } }

.about { padding: 160px 0; }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 9vw; align-items: center; }
.about-art { min-height: 640px; position: relative; overflow: hidden; background: linear-gradient(145deg, #171717, #0b0b0b); border: 1px solid var(--line); }
.about-art::before { content: "N"; position: absolute; right: -5%; bottom: -24%; color: rgba(255,255,255,.035); font: 500 41rem/1 var(--serif); }
.about-art::after { content: "BARCELONA · 2026"; position: absolute; left: 34px; bottom: 30px; color: var(--muted); font-size: .7rem; letter-spacing: .24em; }
.about-mark { position: absolute; inset: 50% auto auto 50%; translate: -50% -50%; width: 68%; aspect-ratio: 1; border: 1px solid rgba(142,31,54,.55); border-radius: 50%; display: grid; place-items: center; font: italic 9rem var(--serif); color: var(--wine); }
.about-copy h2 { font-size: clamp(3.4rem, 6.5vw, 6.2rem); margin-bottom: 34px; }
.about-copy .lead { font: 400 1.65rem/1.35 var(--serif); }
.about-copy p { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 48px; }
.stat { padding-top: 18px; border-top: 1px solid var(--line); }
.stat strong { display: block; font: 400 2.5rem var(--serif); }
.stat span { color: var(--muted); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }

.booking { padding: 140px 0; background: var(--paper); color: var(--ink); }
.booking-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 8vw; }
.booking h2 { font-size: clamp(4rem, 8.5vw, 8rem); }
.booking h2 em { color: var(--wine); font-weight: 300; }
.booking-copy > p { max-width: 580px; font-size: 1.08rem; color: #504d49; }
.booking .btn { margin-top: 25px; background: var(--ink); color: white; border-color: var(--ink); }
.details { padding-top: 15px; }
.detail { padding: 21px 0; border-bottom: 1px solid rgba(0,0,0,.15); }
.detail small { display: block; margin-bottom: 5px; color: #77716b; font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }

.site-footer { padding: 44px 0; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: .75rem; }
.footer-grid .brand { color: var(--paper); font-size: 1.4rem; }
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 800px) {
  .container { width: min(100% - 32px, 1240px); }
  .nav { min-height: 70px; }
  .menu-toggle { display: block; position: relative; z-index: 3; }
  .nav-links { position: fixed; inset: 0; background: var(--ink); flex-direction: column; justify-content: center; font-size: 1rem; transform: translateX(100%); transition: transform .35s ease; }
  .nav-links.open { transform: none; }
  .hero { min-height: 760px; background-position: 64% center; }
  .hero::before { background: linear-gradient(0deg, rgba(0,0,0,.95) 8%, rgba(0,0,0,.4) 100%), linear-gradient(90deg, rgba(0,0,0,.55), transparent); }
  .hero-inner { padding: 150px 0 42px; }
  .hero h1 { font-size: clamp(4.1rem, 22vw, 7rem); }
  .hero-bottom { display: block; }
  .hero-bottom .btn { margin-top: 25px; }
  .scroll-note { display: none; }
  .manifesto, .services, .about, .booking { padding: 90px 0; }
  .manifesto-grid, .about-grid, .booking-grid { grid-template-columns: 1fr; gap: 46px; }
  .section-head { display: block; }
  .section-head p { margin-top: 24px; }
  .service { grid-template-columns: 38px 1fr; gap: 14px; }
  .service-meta { grid-column: 2; justify-content: space-between; gap: 12px; }
  .about-art { min-height: 430px; }
  .about-mark { font-size: 6rem; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
}

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