/* True Barbers Mx — rediseño 2026 */
:root {
  --bg: #121110;
  --bg-alt: #1C1A18;
  --bg-deep: #0C0B0A;
  --ink: #F2EBE1;
  --ink-70: rgba(242, 235, 225, 0.75);
  --ink-55: rgba(242, 235, 225, 0.6);
  --line: rgba(242, 235, 225, 0.15);
  --accent: #C98A6A;
  --accent-hover: #E0A981;
  --display: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--ink); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 0.95; }

p { margin: 0; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--line::before { content: ''; display: inline-block; flex-shrink: 0; width: 40px; height: 2px; background: var(--accent); }

.h2 { font-size: 72px; }

.lead { font-size: 17px; color: var(--ink-70); }

.section { padding: 120px 0; }
.section--alt { background: var(--bg-alt); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 30px;
  border: 0;
  border-radius: 2px;
  font-family: var(--body);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn--primary { background: var(--accent); color: var(--bg); }
.btn--primary:hover { background: var(--accent-hover); color: var(--bg); }
.btn--ghost { background: transparent; border: 1px solid rgba(242, 235, 225, 0.4); color: var(--ink); font-weight: 700; }
.btn--ghost:hover { background: rgba(242, 235, 225, 0.08); color: var(--ink); }
.btn--sm { height: 44px; padding: 0 22px; font-size: 14px; }
.btn--block { width: 100%; }

.link-accent {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.link-accent:hover { color: var(--accent-hover); }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 17, 16, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(242, 235, 225, 0.1);
}
.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo__name { font-family: var(--display); font-size: 26px; letter-spacing: 0.06em; line-height: 1; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav__right { display: flex; align-items: center; gap: 8px; }
.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(242, 235, 225, 0.25);
  border-radius: 2px;
  color: var(--ink);
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 17, 16, 0.35) 0%, rgba(18, 17, 16, 0.55) 45%, #121110 100%);
}
.hero__content {
  position: relative;
  width: 100%;
  padding-top: 160px;
  padding-bottom: 72px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero__title { font-size: 152px; line-height: 0.9; letter-spacing: 0.01em; max-width: 1000px; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__lead { max-width: 560px; font-size: 19px; line-height: 1.6; color: rgba(242, 235, 225, 0.85); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.hero__facts {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.fact { display: flex; flex-direction: column; gap: 4px; }
.fact__label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-55); }
.fact__value { font-weight: 600; }

/* Nosotros */
.about { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: center; }
.about__media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.about__media img { width: 100%; object-fit: cover; border-radius: 2px; }
.about__media img:first-child { grid-column: span 2; height: 480px; }
.about__media img:nth-child(2) { height: 220px; }
.about__year {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.about__year strong { font-family: var(--display); font-weight: 400; font-size: 64px; line-height: 1; color: var(--accent); }
.about__year span { font-size: 14px; color: var(--ink-70); }
.about__text { display: flex; flex-direction: column; gap: 24px; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.pillar { display: flex; flex-direction: column; gap: 8px; padding: 18px 0; border-top: 2px solid var(--accent); }
.pillar svg { color: var(--accent); }
.pillar strong { font-weight: 700; }
.pillar span { font-size: 14px; color: rgba(242, 235, 225, 0.65); }

/* Servicios */
.services__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.services__title { display: flex; flex-direction: column; gap: 16px; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.tab {
  height: 48px;
  padding: 0 24px;
  border: 1px solid rgba(242, 235, 225, 0.25);
  background: transparent;
  color: var(--ink-70);
  font-family: var(--body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
}
.tab:hover { border-color: var(--accent); color: var(--ink); }
.tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.services__intro { max-width: 640px; margin-top: 48px; }
.panel { display: none; }
.panel[data-active] { display: block; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  background: var(--bg);
  border: 1px solid rgba(242, 235, 225, 0.12);
  border-radius: 2px;
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--accent); }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.card__top > div { display: flex; flex-direction: column; gap: 6px; }
.card h3 { font-size: 34px; line-height: 1; }
.card__meta { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(242, 235, 225, 0.55); }
.card__price { font-family: var(--display); font-size: 40px; line-height: 1; color: var(--accent); white-space: nowrap; }
.card p { font-size: 15px; color: var(--ink-70); }
.card .link-accent { margin-top: auto; align-self: flex-start; }
.panel[hidden] { display: none; }

/* Antes / después */
.center { display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.center .lead { max-width: 560px; }
.pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.pair > div { position: relative; }
.pair img { width: 100%; height: 520px; object-fit: cover; object-position: top; }
.pair > div:first-child img { border-radius: 2px 0 0 2px; }
.pair > div:last-child img { border-radius: 0 2px 2px 0; }
.tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  background: rgba(18, 17, 16, 0.85);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tag--after { background: var(--accent); color: var(--bg); font-weight: 800; }
.changes__more { text-align: center; margin-top: 48px; }

/* TikTok */
.tiktok { background: var(--bg-alt); }
.tiktok__embed { display: flex; justify-content: center; margin-top: 48px; min-height: 480px; }
.tiktok__embed .tiktok-embed { margin: 0; max-width: 780px; width: 100%; }
.tiktok__embed .tiktok-embed section a { color: var(--accent); }

/* Equipo + reseñas */
.team { display: grid; grid-template-columns: 480px minmax(0, 1fr); gap: 80px; align-items: start; }
.barber { display: flex; flex-direction: column; gap: 20px; }
.barber img { width: 100%; height: 560px; object-fit: cover; border-radius: 2px; }
.barber__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.barber__row > div { display: flex; flex-direction: column; gap: 4px; }
.barber h2 { font-size: 56px; line-height: 1; }
.barber__role { font-size: 14px; color: rgba(242, 235, 225, 0.65); }
.barber .link-accent { text-transform: none; letter-spacing: 0; }
.reviews { display: flex; flex-direction: column; gap: 32px; }
.reviews__head { display: flex; flex-direction: column; gap: 16px; }
.reviews__list { display: flex; flex-direction: column; gap: 16px; }
.review {
  margin: 0;
  padding: 28px 32px;
  background: var(--bg);
  border-left: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stars { display: flex; gap: 3px; color: var(--accent); }
.review p { font-size: 17px; line-height: 1.6; }
.review footer { font-size: 14px; color: rgba(242, 235, 225, 0.65); }
.review footer strong { color: var(--ink); }

/* Reservar */
.book { position: relative; overflow: hidden; }
.book__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.book__shade { position: absolute; inset: 0; background: rgba(18, 17, 16, 0.8); }
.book__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 80px; align-items: center; }
.book__text { display: flex; flex-direction: column; gap: 24px; }
.book__text h2 { font-size: 96px; line-height: 0.92; }
.book__text .lead { max-width: 460px; }
.book__info { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; font-size: 15px; }
.book__info > div { display: flex; gap: 12px; align-items: center; }
.book__info svg { color: var(--accent); flex-shrink: 0; }
.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 40px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: span 2; }
.form__row { grid-column: span 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 235, 225, 0.65);
}
.field input, .field select {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  background: var(--bg-alt);
  border: 1px solid rgba(242, 235, 225, 0.18);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  border-radius: 2px;
  color-scheme: dark;
}
.field input:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form__note { grid-column: span 2; font-size: 13px; color: rgba(242, 235, 225, 0.55); text-align: center; }

/* Ubicación */
.location { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: center; }
.location__text { display: flex; flex-direction: column; gap: 24px; }
.location address { font-style: normal; font-size: 19px; line-height: 1.6; }
.hours { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 460px; }
.hours > div { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-top: 1px solid rgba(242, 235, 225, 0.2); }
.hours span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-55); }
.hours strong { font-size: 18px; }
.location__text .btn { align-self: flex-start; }
.location img { width: 100%; height: 520px; object-fit: cover; border-radius: 2px; }

/* Footer */
.footer { background: var(--bg-deep); border-top: 1px solid rgba(242, 235, 225, 0.1); padding: 64px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__brand strong { font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1; letter-spacing: 0.04em; }
.footer__brand p { max-width: 380px; font-size: 15px; color: rgba(242, 235, 225, 0.65); }
.footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer__col span { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(242, 235, 225, 0.1);
  font-size: 13px;
  color: rgba(242, 235, 225, 0.5);
}
.footer__bottom a { color: rgba(242, 235, 225, 0.5); }
.footer__bottom a:hover { color: var(--accent-hover); }

/* Responsive */
@media (max-width: 1024px) {
  .hero__title { font-size: 112px; }
  .h2 { font-size: 60px; }
  .about, .location, .team, .book__grid { grid-template-columns: 1fr; gap: 48px; }
  .book__text h2 { font-size: 80px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .nav { height: 64px; }
  .logo__name { font-size: 22px; }
  .nav__links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    background: rgba(18, 17, 16, 0.98);
    border-top: 1px solid rgba(242, 235, 225, 0.1);
    border-bottom: 1px solid rgba(242, 235, 225, 0.1);
    font-size: 15px;
  }
  .nav__links a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(242, 235, 225, 0.08); }
  .nav__links li:last-child a { border-bottom: 0; }
  .header.is-open .nav__links { display: flex; }
  .nav__burger { display: inline-flex; }
  .nav .btn--sm { height: 40px; padding: 0 14px; font-size: 12px; }
  .hero { min-height: 640px; }
  .hero__img { object-position: 30% 40%; }
  .hero__content { padding-top: 120px; padding-bottom: 48px; gap: 20px; }
  .hero__title { font-size: 72px; }
  .eyebrow { font-size: 11px; letter-spacing: 0.12em; gap: 10px; }
  .eyebrow--line::before { width: 24px; }
  .hero__lead { font-size: 16px; }
  .hero__actions { flex-direction: column; gap: 10px; }
  .hero__actions .btn { width: 100%; height: 54px; font-size: 14px; }
  .hero__facts { flex-direction: column; gap: 12px; margin-top: 16px; padding-top: 20px; }
  .fact { flex-direction: row; justify-content: space-between; font-size: 14px; }
  .h2 { font-size: 48px; }
  .about__media img:first-child { height: 300px; }
  .about__media img:nth-child(2) { height: 180px; }
  .pillars { grid-template-columns: 1fr; gap: 0; }
  .pillar { flex-direction: row; align-items: flex-start; gap: 14px; border-top-width: 1px; border-top-color: var(--line); }
  .pillar:first-child { border-top: 2px solid var(--accent); }
  .pillar svg { flex-shrink: 0; }
  .pillar > div { display: flex; flex-direction: column; gap: 2px; }
  .tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; width: 100%; }
  .tab { padding: 0; height: 46px; font-size: 13px; letter-spacing: 0.06em; }
  .services__intro { margin-top: 24px; font-size: 15px; }
  .cards { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .card { padding: 22px; gap: 12px; }
  .card h3 { font-size: 28px; }
  .card__price { font-size: 32px; }
  .card p { font-size: 14px; }
  .center { align-items: flex-start; text-align: left; }
  .pairs { grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
  .pair img { height: 240px; }
  .tag { top: 10px; left: 10px; padding: 4px 8px; font-size: 11px; }
  .changes__more { text-align: left; margin-top: 24px; }
  .tiktok__embed { margin-top: 24px; min-height: 360px; }
  .barber img { height: 400px; }
  .barber h2 { font-size: 44px; }
  .review { padding: 20px; }
  .review p { font-size: 15px; }
  .book__text h2 { font-size: 64px; }
  .form { grid-template-columns: 1fr; gap: 14px; padding: 24px; }
  .field--full { grid-column: auto; }
  .form__row { grid-column: auto; gap: 10px; }
  .form__note { grid-column: auto; }
  .location img { height: 240px; }
  .location address { font-size: 16px; }
  .location__text .btn { align-self: stretch; }
  .footer { padding: 48px 0 28px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
