/* ============================================================
   ZENITHIUM — Premium Barbershop
   styles.css
   ============================================================ */

/* ─── RESET & BASE ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold:         #C9A84C;
  --gold-light:   #E8C97A;
  --gold-dim:     rgba(201, 168, 76, 0.18);
  --white:        #FFFFFF;
  --off-white:    #F0EDE8;
  --gray:         #888880;
  --dark:         #0A0A0A;
  --glass-bg:     rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.10);
  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Outfit', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background:    #000;
  color:         var(--white);
  font-family:   var(--font-body);
  overflow-x:    hidden;
  min-height:    100vh;
}

/* ─── KEYFRAMES ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0);    }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes marquee {
  from { transform: translateX(0);    }
  to   { transform: translateX(-50%); }
}

/* ─── STAGGERED ANIMATIONS ─── */
.anim-1 { animation: fadeUp 0.8s cubic-bezier(.22, 1, .36, 1) 0.10s both; }
.anim-2 { animation: fadeUp 0.8s cubic-bezier(.22, 1, .36, 1) 0.28s both; }
.anim-3 { animation: fadeUp 0.8s cubic-bezier(.22, 1, .36, 1) 0.44s both; }
.anim-4 { animation: fadeUp 0.8s cubic-bezier(.22, 1, .36, 1) 0.60s both; }
.anim-5 { animation: fadeUp 0.8s cubic-bezier(.22, 1, .36, 1) 0.76s both; }

/* ============================================================
   NAVBAR
   ============================================================ */
nav {
  position:        fixed;
  top:             0;
  left:            0;
  right:           0;
  z-index:         100;
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  padding:         0 2.5rem;
  height:          64px;
  background:      rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom:   0.5px solid var(--glass-border);
}

/* Logo */
.nav-logo {
  font-family:     var(--font-display);
  font-weight:     500;
  font-size:       1.55rem;
  letter-spacing:  -0.03em;
  color:           var(--white);
  text-decoration: none;
  display:         flex;
  align-items:     center;
  gap:             10px;
}

.nav-logo-img {
  height: 36px;
  width: auto;
}

.nav-logo-icon {
  width:           28px;
  height:          28px;
  border:          1px solid var(--gold);
  border-radius:   50%;
  display:         flex;
  align-items:     center;
  justify-content: center;
  flex-shrink:     0;
}

.nav-logo-icon svg {
  width:  14px;
  height: 14px;
}

/* Nav links */
.nav-links {
  display:     flex;
  align-items: center;
  gap:         0.25rem;
  list-style:  none;
}

.nav-links a {
  font-size:       0.8rem;
  font-weight:     400;
  letter-spacing:  0.08em;
  text-transform:  uppercase;
  color:           rgba(255, 255, 255, 0.65);
  text-decoration: none;
  padding:         6px 14px;
  border-radius:   6px;
  transition:      color 0.2s;
  position:        relative;
}

.nav-links a::after {
  content:          '';
  position:         absolute;
  bottom:           -1px;
  left:             14px;
  right:            14px;
  height:           1.5px;
  background:       linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  border-radius:    2px;
  transform:        scaleX(0);
  transition:       transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* Active link */
.nav-links a.active {
  color: var(--white);
}

.nav-links a.active::after {
  transform: scaleX(1);
}

/* Strikethrough link */
.nav-links a.strike {
  text-decoration: line-through;
  opacity: 0.30;
}

/* Nav CTA button */
.nav-cta {
  font-family:     var(--font-body);
  font-size:       0.78rem;
  font-weight:     500;
  letter-spacing:  0.06em;
  text-transform:  uppercase;
  color:           #000;
  background:      linear-gradient(135deg, var(--white) 0%, #d0cec8 100%);
  border:          none;
  padding:         9px 20px;
  border-radius:   6px;
  cursor:          pointer;
  transition:      opacity 0.2s, transform 0.15s;
}

.nav-cta:hover {
  opacity:   0.9;
  transform: translateY(-1px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position:        relative;
  min-height:      100vh;
  display:         flex;
  flex-direction:  column;
  align-items:     center;
  justify-content: center;
  overflow:        hidden;
  padding-top:     64px;
}

/* ─── Background Video ─── */
.video-wrap {
  position:  absolute;
  bottom:    35vh;
  left:      50%;
  transform: translateX(-50%);
  width:     100%;
  height:    80vh;
  z-index:   0;
}

.video-wrap video {
  width:       100%;
  height:      100%;
  object-fit:  cover;
  opacity:     1;
}

/* Side vignette — no dark overlay on the video itself */
.video-wrap::before {
  content:        '';
  position:       absolute;
  inset:          0;
  background:     radial-gradient(ellipse 60% 100% at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.72) 100%);
  z-index:        1;
  pointer-events: none;
}

/* ─── Hero Content ─── */
.hero-content {
  position:        relative;
  z-index:         10;
  display:         flex;
  flex-direction:  column;
  align-items:     center;
  text-align:      center;
  max-width:       860px;
  padding:         0 1.5rem;
  gap:             2rem;
}

/* ─── Badges ─── */
.badges {
  display:         flex;
  gap:             10px;
  flex-wrap:       wrap;
  justify-content: center;
}

.badge {
  display:         flex;
  align-items:     center;
  gap:             8px;
  font-size:       0.72rem;
  font-weight:     400;
  letter-spacing:  0.07em;
  text-transform:  uppercase;
  color:           rgba(255, 255, 255, 0.70);
  background:      var(--glass-bg);
  border:          0.5px solid var(--glass-border);
  padding:         7px 14px;
  border-radius:   40px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.badge-icon {
  width:      18px;
  height:     18px;
  color:      var(--gold);
  flex-shrink: 0;
}

.badge-label {
  color:        rgba(255, 255, 255, 0.40);
  margin-right: 2px;
}

/* ─── Headline ─── */
.headline {
  font-family:    var(--font-display);
  font-weight:    300;
  font-size:      clamp(3rem, 7vw, 5.2rem);
  line-height:    1.02;
  letter-spacing: -0.03em;
  color:          var(--white);
}

.headline em {
  font-style:               italic;
  background:               linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, #a87928 100%);
  -webkit-background-clip:  text;
  -webkit-text-fill-color:  transparent;
  background-clip:          text;
}

/* ─── Subtext ─── */
.subtext {
  font-size:      0.95rem;
  font-weight:    300;
  line-height:    1.75;
  color:          rgba(255, 255, 255, 0.55);
  max-width:      480px;
  letter-spacing: 0.01em;
}

/* ─── CTA Buttons ─── */
.btn-row {
  display:         flex;
  gap:             12px;
  flex-wrap:       wrap;
  justify-content: center;
}

.btn-primary {
  font-family:     var(--font-body);
  font-size:       0.8rem;
  font-weight:     500;
  letter-spacing:  0.08em;
  text-transform:  uppercase;
  color:           var(--white);
  background:      #000;
  border:          1px solid rgba(255, 255, 255, 0.70);
  padding:         13px 28px;
  border-radius:   6px;
  cursor:          pointer;
  text-decoration: none;
  display:         inline-block;
  transition:      background 0.25s, border-color 0.25s, transform 0.15s;
}

.btn-primary:hover {
  background:    rgba(255, 255, 255, 0.06);
  border-color:  var(--white);
  transform:     translateY(-2px);
}

.btn-glass {
  font-family:             var(--font-body);
  font-size:               0.8rem;
  font-weight:             400;
  letter-spacing:          0.08em;
  text-transform:          uppercase;
  color:                   rgba(255, 255, 255, 0.70);
  background:              var(--glass-bg);
  border:                  0.5px solid var(--glass-border);
  padding:                 13px 28px;
  border-radius:           6px;
  cursor:                  pointer;
  backdrop-filter:         blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-decoration:         none;
  display:                 inline-block;
  transition:              background 0.25s, color 0.2s, transform 0.15s;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  color:      var(--white);
  transform:  translateY(-2px);
}

/* ─── Scroll Hint ─── */
.scroll-hint {
  position:        absolute;
  bottom:          2rem;
  left:            50%;
  transform:       translateX(-50%);
  z-index:         10;
  display:         flex;
  flex-direction:  column;
  align-items:     center;
  gap:             8px;
  animation:       fadeIn 1s 1.5s both;
}

.scroll-hint span {
  font-size:      0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color:          rgba(255, 255, 255, 0.30);
}

.scroll-line {
  width:      1px;
  height:     40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.35), transparent);
}

/* ============================================================
   LOGO MARQUEE
   ============================================================ */
.marquee-section {
  position:        absolute;
  bottom:          0;
  left:            0;
  right:           0;
  z-index:         10;
  padding:         1.5rem 0;
  border-top:      0.5px solid rgba(255, 255, 255, 0.06);
  overflow:        hidden;
  background:      rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}

.marquee-label {
  text-align:     center;
  font-size:      0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color:          rgba(255, 255, 255, 0.25);
  margin-bottom:  1.2rem;
}

.marquee-track {
  display:   flex;
  width:     max-content;
  animation: marquee 22s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display:     flex;
  align-items: center;
  gap:         10px;
  margin:      0 2.5rem;
  opacity:     0.35;
  filter:      grayscale(1);
}

.marquee-item svg {
  width:  24px;
  height: 24px;
  fill:   #fff;
}

.marquee-item span {
  font-family:    var(--font-display);
  font-size:      1rem;
  font-weight:    500;
  letter-spacing: 0.05em;
  color:          var(--white);
  white-space:    nowrap;
}

/* ============================================================
   MOBILE MENU TOGGLE
   ============================================================ */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 200;
  position: relative;
}

.hamburger {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--white);
  position: relative;
  transition: all 0.3s;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s;
}

.hamburger::before { top: -5px; }
.hamburger::after  { bottom: -5px; }

.nav-toggle.active .hamburger {
  background: transparent;
}
.nav-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle.active .hamburger::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* ============================================================
   RESPONSIVE — TABLET (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
  nav {
    padding: 0 1.25rem;
  }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #0A0A0A;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 30px 0 50px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
  }

  nav.nav-open .nav-links {
    transform: translateX(0);
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    font-family:    var(--font-display);
    font-size:      1.3rem;
    font-weight:     300;
    letter-spacing:  0.05em;
    color:           rgba(255, 255, 255, 0.8);
    padding:         12px 30px;
    display:         inline-block;
    transition:      color 0.25s;
  }

  .nav-links a:hover {
    color: var(--gold);
  }

  .nav-links a.active {
    color: var(--gold);
  }

  .nav-links a.active::after {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  body.menu-open {
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .nav-toggle {
    display: block;
  }

  body.menu-open::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 98;
  }
}

  .hero-content {
    padding: 0 1.25rem;
    gap: 1.5rem;
  }

  .headline {
    font-size: clamp(2.2rem, 9vw, 3.5rem);
  }

  .subtext {
    font-size: 0.9rem;
    max-width: 400px;
  }

  .video-wrap {
    bottom: 30vh;
    height: 75vh;
  }

  .badges {
    gap: 8px;
  }

  .badge {
    font-size: 0.68rem;
    padding: 6px 12px;
  }

  .scroll-hint {
    bottom: 1.5rem;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {
  nav {
    padding: 0 1rem;
  }

  .nav-logo {
    font-size: 1.3rem;
  }

  .nav-logo-icon {
    width: 26px;
    height: 26px;
  }

  .nav-logo-icon svg {
    width: 12px;
    height: 12px;
  }

  .hero-content {
    padding: 0 1rem;
    gap: 1.25rem;
  }

  .badges {
    gap: 6px;
  }

  .badge {
    font-size: 0.62rem;
    padding: 5px 10px;
  }

  .badge-icon {
    width: 14px;
    height: 14px;
  }

  .headline {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .subtext {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  .btn-row {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
  }

  .btn-primary,
  .btn-glass {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    font-size: 0.75rem;
  }

  .video-wrap {
    bottom: 28vh;
    height: 70vh;
  }

  .marquee-section {
    padding: 1rem 0;
  }

  .marquee-label {
    font-size: 0.6rem;
    margin-bottom: 0.8rem;
  }

  .marquee-item {
    margin: 0 1.5rem;
  }

  .marquee-item span {
    font-size: 0.85rem;
  }

  .scroll-hint {
    bottom: 1rem;
  }

  .scroll-line {
    height: 30px;
  }
}

/* ============================================================
   RESPONSIVE — VERY SMALL SCREENS (max-width: 360px)
   ============================================================ */
@media (max-width: 360px) {
  .nav-logo {
    font-size: 1.15rem;
  }

  .headline {
    font-size: 1.8rem;
  }

  .badge {
    font-size: 0.58rem;
    padding: 4px 8px;
  }

  .badge-icon {
    width: 12px;
    height: 12px;
  }
}

/* ============================================================
   GRAIN OVERLAY
   ============================================================ */
.grain {
  position:         fixed;
  inset:            0;
  z-index:          200;
  pointer-events:   none;
  opacity:          0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size:  200px;
}

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  position:        relative;
  min-height:      45vh;
  display:         flex;
  align-items:     center;
  justify-content: center;
  text-align:      center;
  padding:         100px 2rem 60px;
  overflow:       hidden;
  z-index:         1;
}

.page-header-content {
  position: relative;
  z-index: 1;
  animation: fadeUp 0.8s cubic-bezier(.22, 1, .36, 1) 0.2s both;
}

.page-title {
  font-family:    var(--font-display);
  font-weight:    300;
  font-size:      clamp(3rem, 8vw, 5rem);
  line-height:    1.05;
  letter-spacing: -0.02em;
  color:          var(--white);
  margin-bottom:  1rem;
}

.page-subtitle {
  font-size:      0.95rem;
  font-weight:    300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color:          var(--gold);
}

.page-video-wrap {
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
}

.page-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.page-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.95) 100%);
}

/* ============================================================
   SERVICIOS SECTION
   ============================================================ */
.servicios-section {
  padding: 80px 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.servicio-card {
  background: rgba(0, 0, 0, 0.6);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.servicio-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.servicio-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.5rem;
  color: var(--gold);
}

.servicio-icon svg {
  width: 100%;
  height: 100%;
}

.servicio-nombre {
  font-family:    var(--font-display);
  font-size:      1.5rem;
  font-weight:    400;
  letter-spacing: -0.02em;
  color:          var(--white);
  margin-bottom:  0.75rem;
}

.servicio-descripcion {
  font-size:     0.9rem;
  font-weight:    300;
  line-height:    1.6;
  color:          rgba(255, 255, 255, 0.6);
  margin-bottom:  0.75rem;
}

.servicio-duracion {
  font-size:     0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color:          rgba(255, 255, 255, 0.4);
  margin-bottom:  0.5rem;
}

.servicio-precio {
  font-family:    var(--font-display);
  font-size:      2rem;
  font-weight:    400;
  color:          var(--gold);
  letter-spacing: -0.02em;
  margin-bottom:  1rem;
}

.servicio-restriccion {
  font-size:     0.75rem;
  color:          rgba(255, 100, 100, 0.7);
  margin-bottom:  0.75rem;
  padding:       0.5rem 0.75rem;
  background:    rgba(255, 100, 100, 0.1);
  border-radius: 4px;
  border-left:   2px solid rgba(255, 100, 100, 0.5);
}

.servicio-politica {
  font-size:     0.72rem;
  color:          rgba(255, 255, 255, 0.4);
  line-height:    1.5;
  padding-top:    0.75rem;
  border-top:     0.5px solid rgba(255, 255, 255, 0.08);
}

.servicio-politica strong {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.servicios-cta {
  text-align: center;
  padding-top: 2rem;
  border-top: 0.5px solid rgba(255, 255, 255, 0.08);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 60px 2rem;
  border-top: 0.5px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
}

.footer-logo {
  display:         inline-flex;
  align-items:     center;
  gap:             10px;
  font-family:     var(--font-display);
  font-size:       1.4rem;
  font-weight:     500;
  color:           var(--white);
  text-decoration: none;
  margin-bottom:   1rem;
}

.footer-logo-img {
  height: 32px;
  width: auto;
}

.footer-tagline {
  font-size:      0.9rem;
  font-weight:    300;
  font-style:     italic;
  color:          rgba(255, 255, 255, 0.5);
  margin-bottom:  1.5rem;
}

.footer-copy {
  font-size:  0.75rem;
  color:     rgba(255, 255, 255, 0.3);
}

/* ============================================================
   RESPONSIVE — SERVICIOS (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
  .page-header {
    min-height: 35vh;
    padding: 80px 1.5rem 40px;
  }

  .servicios-section {
    padding: 50px 1.5rem;
  }

  .servicios-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .servicio-card {
    padding: 2rem 1.5rem;
  }

  .servicio-icon {
    width: 40px;
    height: 40px;
  }

  .servicio-nombre {
    font-size: 1.3rem;
  }

  .servicio-precio {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .page-header {
    min-height: 30vh;
    padding: 70px 1rem 30px;
  }

  .servicios-section {
    padding: 40px 1rem;
  }

  .servicios-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .servicio-card {
    padding: 1.25rem 1rem;
  }

  .servicio-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto 0.75rem;
  }

  .servicio-icon svg {
    width: 100%;
    height: 100%;
  }

  .servicio-nombre {
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }

  .servicio-descripcion {
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .servicio-duracion {
    font-size: 0.65rem;
  }

  .servicio-precio {
    font-size: 1.3rem;
    margin-bottom: 0;
  }

  .servicio-politica {
    font-size: 0.65rem;
    display: none;
  }

  .servicio-restriccion {
    font-size: 0.65rem;
    padding: 0.35rem 0.5rem;
  }
}