/*
Theme Name: Pasaje Vía Viva
Theme URI: https://pasajeviaviva.com
Author: pasajeviaviva.com
Description: Tema personalizado para Pasaje Vía Viva - Guía gastronómica del Barrio Chino de Belgrano, Buenos Aires.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: viaviva
*/

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

:root {
  --red:     #C1272D;
  --red-dk:  #8B1A1E;
  --gold:    #D4A017;
  --ink:     #1A1208;
  --paper:   #F7F2EB;
  --mist:    #EDE8E0;
  --white:   #FFFFFF;
  --serif:   'Noto Serif Display', Georgia, serif;
  --sans:    'Inter', system-ui, sans-serif;
  --shadow:  0 4px 24px rgba(0,0,0,.10);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5 { font-family: var(--serif); line-height: 1.15; }

.section-label {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .6rem;
  display: block;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--ink);
  margin-bottom: 1rem;
}
.section-intro {
  font-size: 1.05rem;
  color: #4A3F30;
  max-width: 640px;
  line-height: 1.8;
}

/* ── LAYOUT ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 5vw; }
section { padding: 80px 5vw; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--red);
  color: #fff;
  padding: .85rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .04em;
  transition: background .2s, transform .15s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--red-dk); transform: translateY(-2px); color:#fff; }
.btn-outline {
  display: inline-block;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.4);
  color: rgba(255,255,255,.9);
  padding: .85rem 2rem;
  border-radius: 4px;
  font-weight: 500;
  font-size: .9rem;
  transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ── NAVIGATION ── */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(26,18,8,.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height: 62px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.nav-brand {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: .04em;
}
.nav-menu { display: flex; gap: 2rem; list-style: none; }
.nav-menu a {
  color: rgba(255,255,255,.7);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .2s;
}
.nav-menu a:hover { color: var(--gold); }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

@media(max-width:768px){
  .nav-menu { display: none; flex-direction: column; position: absolute; top:62px; left:0; right:0; background: rgba(26,18,8,.97); padding:1.5rem 5vw; gap:1.25rem; }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: block; }
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 100px 5vw 80px;
  overflow: hidden;
}
#hero .hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #1a0a05 0%, #2c1010 55%, #0a1a10 100%);
  z-index: 0;
}
#hero .hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: url('https://assets.zyrosite.com/cdn-cgi/image/format=auto,w=1920,fit=crop/YrD6EPvXWrF8xEpD/barrio_chino-_belgrano_c-_buenos_aires-meP1ZNgM9JTeB7M4.webp') center/cover no-repeat;
  opacity: .2;
}
#hero .hero-content { position: relative; z-index: 1; max-width: 860px; }
#hero .hero-tag {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(212,160,23,.35);
  padding: .35rem 1rem; border-radius: 30px;
  margin-bottom: 1.5rem;
}
#hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  color: var(--white);
  line-height: 1.06;
  margin-bottom: 1.25rem;
}
#hero h1 span { color: var(--gold); }
#hero .hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.62);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero-stats {
  display: flex; gap: 3rem; justify-content: center;
  margin-top: 4rem;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-number { font-family: var(--serif); font-size: 2.2rem; color: var(--white); font-weight: 600; }
.stat-label { font-size: .78rem; color: rgba(255,255,255,.45); letter-spacing: .08em; text-transform: uppercase; margin-top: .25rem; }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.3); font-size: .7rem;
  letter-spacing: .12em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.hero-scroll::after {
  content: ''; width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.3), transparent);
  animation: scrolldrop 1.8s ease-in-out infinite;
}
@keyframes scrolldrop { 0%,100%{opacity:.3;transform:scaleY(1)} 50%{opacity:.9;transform:scaleY(1.3)} }

/* ── COMO LLEGAR ── */
#como-llegar { background: var(--white); }
.transport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.transport-card {
  background: var(--mist);
  border-radius: 8px;
  padding: 1.5rem;
  border-left: 3px solid var(--red);
  transition: box-shadow .2s;
}
.transport-card:hover { box-shadow: var(--shadow); }
.transport-card .t-icon { font-size: 2rem; margin-bottom: .75rem; }
.transport-card h3 { font-size: 1rem; margin-bottom: .4rem; color: var(--ink); }
.transport-card p { font-size: .88rem; color: #5A4E3C; line-height: 1.65; }
.transport-card strong { color: var(--red-dk); }
.map-wrap {
  margin-top: 2.5rem;
  border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow);
}
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ── LOCALES DESTACADOS ── */
#locales { background: var(--paper); }
.locales-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px,1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.local-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  transition: transform .2s, box-shadow .2s;
}
.local-card:hover { transform: translateY(-5px); box-shadow: 0 10px 32px rgba(0,0,0,.13); }
.local-card-img {
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}
.local-card-img.bg1 { background: linear-gradient(135deg,#1a1208,#2d1f0a); }
.local-card-img.bg2 { background: linear-gradient(135deg,#0a1520,#1a2d1a); }
.local-card-img.bg3 { background: linear-gradient(135deg,#20080a,#1a0a20); }
.local-card-img.bg4 { background: linear-gradient(135deg,#081520,#080f20); }
.local-card-img.bg5 { background: linear-gradient(135deg,#1a1208,#0a1a10); }
.local-card-img.bg6 { background: linear-gradient(135deg,#200a08,#1a1208); }
.local-badge {
  position: absolute; top: .75rem; right: .75rem;
  background: var(--gold); color: var(--ink);
  font-size: .65rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .25rem .65rem; border-radius: 20px;
}
.local-card-body { padding: 1.25rem; }
.local-card-body h3 { font-size: 1.1rem; margin-bottom: .35rem; color: var(--ink); }
.local-tag {
  display: inline-block;
  font-size: .7rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--red); background: rgba(193,39,45,.08);
  padding: .2rem .6rem; border-radius: 20px;
  margin-bottom: .6rem;
}
.local-card-body p { font-size: .88rem; color: #5A4E3C; line-height: 1.6; margin-bottom: .75rem; }
.local-must { font-size: .82rem; color: var(--ink); }
.local-must strong { color: var(--red-dk); }

/* ── QUE ENCONTRAS ── */
#que-encontras { background: var(--mist); }
.food-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.food-card {
  background: var(--white);
  border-radius: 8px;
  text-align: center;
  padding: 2rem 1.25rem;
  transition: transform .2s, box-shadow .2s;
  border-top: 3px solid transparent;
}
.food-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-top-color: var(--gold); }
.food-card .food-icon { font-size: 2.8rem; margin-bottom: .75rem; }
.food-card h3 { font-size: .98rem; margin-bottom: .4rem; }
.food-card p { font-size: .84rem; color: #5A4E3C; }

/* ── RESEÑAS ── */
#resenas { background: var(--ink); }
#resenas .section-label { color: var(--gold); }
#resenas .section-title { color: var(--white); }
#resenas .section-intro { color: rgba(255,255,255,.55); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.review-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 1.75rem;
  transition: background .2s;
}
.review-card:hover { background: rgba(255,255,255,.07); }
.review-stars { color: var(--gold); font-size: 1rem; margin-bottom: .85rem; letter-spacing: .1em; }
.review-text {
  color: rgba(255,255,255,.75);
  font-size: .92rem;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.1rem;
}
.reviewer { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.reviewer span { color: rgba(255,255,255,.35); font-weight: 400; text-transform: none; }
.review-source { font-size: .72rem; color: rgba(255,255,255,.25); margin-top: .25rem; }

/* ── TIPS ── */
#tips { background: var(--white); }
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.tip-card {
  display: flex; gap: 1rem;
  background: var(--mist);
  border-radius: 8px;
  padding: 1.25rem;
  align-items: flex-start;
}
.tip-icon { font-size: 1.7rem; flex-shrink: 0; line-height: 1; }
.tip-card h4 { font-family: var(--sans); font-weight: 700; font-size: .95rem; margin-bottom: .3rem; }
.tip-card p { font-size: .85rem; color: #5A4E3C; }

/* ── HORARIOS ── */
#horarios {
  background: linear-gradient(135deg, #1a0a05 0%, #0a1a10 100%);
  color: var(--white);
}
#horarios .section-label { color: var(--gold); }
#horarios .section-title { color: var(--white); }
.horarios-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
  align-items: start;
}
@media(max-width:640px){ .horarios-wrap { grid-template-columns: 1fr; } }
.horarios-table {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  overflow: hidden;
}
.h-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .9rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  font-size: .92rem;
}
.h-row:last-child { border-bottom: none; }
.h-row.peak { background: rgba(212,160,23,.08); }
.h-row .dia { color: rgba(255,255,255,.75); }
.h-row .hora { color: var(--gold); font-weight: 700; font-family: var(--serif); font-size: 1rem; }
.horarios-info h3 { font-size: 1.3rem; color: var(--white); margin-bottom: 1rem; }
.horarios-info p { color: rgba(255,255,255,.55); font-size: .9rem; line-height: 1.75; margin-bottom: 1rem; }
.horarios-info .info-chip {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  padding: .6rem 1rem;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  margin-bottom: .5rem;
}

/* ── FOOTER ── */
#site-footer {
  background: #0a0604;
  color: rgba(255,255,255,.38);
  padding: 3rem 5vw 2rem;
}
.footer-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 2rem;
  justify-content: space-between;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-brand .brand-name { font-family: var(--serif); font-size: 1.4rem; color: var(--white); margin-bottom: .4rem; }
.footer-brand p { font-size: .82rem; max-width: 260px; line-height: 1.7; }
.footer-links h4 { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: .85rem; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { font-size: .85rem; color: rgba(255,255,255,.4); transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { max-width: 1160px; margin: 1.5rem auto 0; font-size: .78rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }

/* ── RESPONSIVE ── */
@media(max-width:640px){
  section { padding: 60px 5vw; }
  .hero-stats { gap: 2rem; }
}
