/* ===================================================================
   Barbería ROYAL — estilos
   Paleta: negro + dorado + blanco
   =================================================================== */

:root {
  --black: #0c0c0c;
  --black-2: #141414;
  --black-3: #1c1c1c;
  --gold: #e6a817;        /* dorado del cartel */
  --gold-soft: #f2c25b;
  --gold-dim: #b9871a;
  --white: #f6f4ef;
  --grey: #b8b3a8;
  --line: rgba(230, 168, 23, 0.25);

  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --display: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --body: 'Montserrat', system-ui, sans-serif;

  --maxw: 1140px;
  --radius: 4px;
}

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

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

body {
  font-family: var(--body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

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

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; letter-spacing: .04em; text-transform: uppercase; }

.gold { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--body); font-weight: 600; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 13px 26px; border-radius: var(--radius);
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  background: var(--gold); color: #1a1206;
  box-shadow: 0 6px 20px rgba(230, 168, 23, 0.25);
}
.btn-gold:hover { background: var(--gold-soft); box-shadow: 0 8px 26px rgba(230, 168, 23, 0.4); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(246,244,239,.4); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-lg { padding: 16px 34px; font-size: .85rem; }
.btn-xl { padding: 19px 46px; font-size: .95rem; }

/* ---------- Brand mark ---------- */
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 72px; width: auto; display: block; transition: height .3s ease; }
.site-header.scrolled .brand-logo { height: 52px; }
.footer-logo { height: 80px; width: auto; display: block; margin-bottom: 8px; }
.footer-tag { color: var(--grey); font-size: .85rem; font-style: italic; }
.brand-name {
  font-family: var(--display); font-size: 1.5rem; letter-spacing: .18em;
  color: var(--white);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: linear-gradient(180deg, rgba(12,12,12,.78) 0%, rgba(12,12,12,.35) 70%, rgba(12,12,12,0) 100%);
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 14px 0;
}
.site-header.scrolled {
  background: rgba(12, 12, 12, .96);
  box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(0,0,0,.5);
  padding: 8px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--white); transition: color .2s ease; position: relative;
}
.nav a:not(.nav-cta):hover { color: var(--gold); }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px;
  background: var(--gold); transition: width .25s ease;
}
.nav a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta { color: #1a1206 !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--white); transition: .3s; }
.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: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: url("https://images.unsplash.com/photo-1599351431202-1e0f0137899a?auto=format&fit=crop&w=1600&q=70") center/cover no-repeat;
  filter: grayscale(.4) contrast(1.05);
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(230,168,23,.12), transparent 55%),
    linear-gradient(180deg, rgba(12,12,12,.78) 0%, rgba(12,12,12,.7) 40%, rgba(12,12,12,.95) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 120px 22px 80px; max-width: 760px; }
.hero-eyebrow {
  font-size: .8rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.hero-title { font-size: clamp(2.4rem, 7vw, 4.6rem); margin-bottom: 22px; font-weight: 700; letter-spacing: .06em; }
.hero-lead { font-size: 1.08rem; color: var(--grey); max-width: 560px; margin-bottom: 34px; font-weight: 300; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; }
.hero-badges {
  list-style: none; display: flex; gap: 40px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 26px;
}
.hero-badges li { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.hero-badges strong { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--gold); }
.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: var(--gold); z-index: 2; font-size: .9rem; animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-dark { background: var(--black-2); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.kicker {
  display: inline-block; font-size: .75rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px; position: relative;
}
.kicker::before, .kicker::after {
  content: ""; position: absolute; top: 50%; width: 28px; height: 1px; background: var(--gold-dim);
}
.kicker::before { right: calc(100% + 12px); }
.kicker::after { left: calc(100% + 12px); }
.section-head h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 14px; }
.section-sub { color: var(--grey); font-weight: 300; }
.section-cta { text-align: center; margin-top: 46px; }

/* ---------- Price list (estilo cartel) ---------- */
.pricelist {
  max-width: 720px; margin: 0 auto;
  background: linear-gradient(160deg, #161616, #0e0e0e);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px clamp(18px, 4vw, 40px) 28px;
  position: relative;
}
.pricelist::before {
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(246,244,239,.14);
  border-radius: 3px; pointer-events: none;
}
.pricelist-head, .pricelist-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 14px 26px;
  align-items: center; padding: 16px 4px;
}
.pricelist-head {
  border-bottom: 1px solid var(--line);
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold);
}
.pricelist-head .pl-service { color: transparent; }
.pricelist-row { border-bottom: 1px dashed rgba(246,244,239,.1); }
.pricelist-row:last-of-type { border-bottom: 0; }
.pl-service { font-family: var(--body); }
.pl-service strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--white); }
.pl-service small { display: block; font-size: .72rem; color: var(--grey); margin-top: 2px; }
.pl-col { font-family: var(--display); font-size: 1.4rem; letter-spacing: .03em; color: var(--grey); text-align: right; min-width: 96px; }
.pl-cash { color: var(--gold); }
.pl-single { grid-column: 2 / 4; text-align: right; color: var(--gold); }
.pricelist-foot {
  text-align: center; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey);
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.pricelist-foot strong { color: var(--gold); }
/* poste de barbero */
.pole {
  width: 8px; height: 30px; border-radius: 4px; display: inline-block;
  background: repeating-linear-gradient(45deg, var(--gold) 0 5px, #0c0c0c 5px 10px);
  border: 1px solid var(--gold-dim);
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 14px;
}
.gallery-item { overflow: hidden; border-radius: var(--radius); position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .5s ease; filter: grayscale(.25); }
.gallery-item:hover img { transform: scale(1.07); filter: grayscale(0); }
.gallery-tall { grid-row: span 2; }
.gallery-wide { grid-column: span 2; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; }
.team-photo {
  aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); margin-bottom: 16px;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.5); transition: filter .4s ease, transform .5s ease; }
.team-card:hover .team-photo img { filter: grayscale(0); transform: scale(1.05); }
.team-card h3 { font-size: 1.4rem; }
.team-role { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.team-bio { margin-top: 10px; color: var(--grey); font-size: .92rem; line-height: 1.55; }

/* Trio layout: tres barberos centrados con mayor presencia */
.team-grid-trio {
  grid-template-columns: repeat(3, minmax(0, 320px));
  justify-content: center;
  gap: 36px;
}
.team-grid-trio .team-photo { aspect-ratio: 4/5; }
@media (max-width: 900px) {
  .team-grid-trio { grid-template-columns: repeat(2, minmax(0, 320px)); }
}
@media (max-width: 560px) {
  .team-grid-trio { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  background: var(--black-3); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; position: relative;
}
.testimonial .stars { color: var(--gold); letter-spacing: .15em; margin-bottom: 14px; }
.testimonial p { font-style: italic; color: var(--white); font-family: var(--serif); font-size: 1.05rem; }
.testimonial footer { margin-top: 18px; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.testimonial .t-meta { color: var(--grey); letter-spacing: .06em; font-weight: 400; text-transform: none; font-size: .72rem; display: inline-block; margin-left: 6px; }
.testimonials-cta { text-align: center; margin-top: 36px; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Location ---------- */
.location-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: stretch; }
.location-info { display: grid; gap: 30px; align-content: start; }
.info-block h3 { font-size: 1.3rem; margin-bottom: 8px; color: var(--gold); }
.info-block p, .hours { color: var(--grey); }
.link-gold { color: var(--gold); border-bottom: 1px solid transparent; transition: border-color .2s; }
.link-gold:hover { border-color: var(--gold); }
.hours { list-style: none; }
.hours li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed rgba(246,244,239,.1); max-width: 360px; }
.hours li span:last-child { color: var(--white); }
.location-map { min-height: 360px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.location-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(.6) invert(.92) contrast(.9); }

/* ---------- Booking ---------- */
.section-book {
  background:
    linear-gradient(rgba(12,12,12,.9), rgba(12,12,12,.96)),
    url("https://images.unsplash.com/photo-1521590832167-7bcbfaa6381f?auto=format&fit=crop&w=1600&q=70") center/cover fixed;
  text-align: center;
}
.book-card { display: inline-flex; flex-direction: column; align-items: center; gap: 16px; }
.book-note { font-size: .82rem; letter-spacing: .08em; color: var(--grey); text-transform: uppercase; }
.book-embed { max-width: 880px; margin: 40px auto 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.book-embed iframe { width: 100%; height: 720px; border: 0; background: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: #080808; padding-top: 56px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: center; padding-bottom: 36px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); transition: color .2s; }
.footer-nav a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 18px; }
.footer-social a { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(246,244,239,.08); padding-top: 22px; padding-bottom: 26px; }
.footer-bottom p { font-size: .78rem; color: var(--grey); text-align: center; }

/* ---------- Floating CTA (mobile) ---------- */
.floating-cta {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: #1a1206; font-weight: 700;
  padding: 14px 30px; border-radius: 50px; z-index: 90;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 8px 30px rgba(0,0,0,.5); display: none;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 880px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    background: rgba(10,10,10,.98); flex-direction: column; justify-content: center;
    gap: 28px; transform: translateX(100%); transition: transform .35s ease;
    box-shadow: -20px 0 60px rgba(0,0,0,.6); z-index: 105;
  }
  .nav.open { transform: translateX(0); }
  .nav a { font-size: 1rem; }
  .nav-cta { margin-top: 10px; }
  .nav-toggle { display: flex; z-index: 110; }

  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-wide { grid-column: span 2; }
  .gallery-tall { grid-row: span 1; }

  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .section-book { background-attachment: scroll; }
  .floating-cta { display: inline-block; }
  .nav-cta { display: none; }
}

@media (max-width: 520px) {
  .section { padding: 70px 0; }
  .hero-badges { gap: 26px; }
  .hero-badges strong { font-size: 1.5rem; }
  .pricelist-head, .pricelist-row { grid-template-columns: 1fr auto auto; gap: 6px 14px; }
  .pl-col { font-size: 1.15rem; min-width: 74px; }
  .pl-service strong { font-size: 1.05rem; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-wide { grid-column: span 1; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .brand-logo { height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
