﻿:root {
  --gold: #E4B12A;
  --gold-dark: #C79419;
  --red: #C1272D;
  --red-dark: #8E1B21;
  --navy: #1E3A5F;
  --navy-dark: #142842;
  --cream: #FFF8E7;
  --ink: #1A1A1A;
  --gray: #6B7280;
  --gray-light: #E5E7EB;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.18);
  --radius: 8px;
  --radius-lg: 8px;
  --trans: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ticker-h: 40px;
}

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

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

body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 {
  font-family: 'Bebas Neue', 'Poppins', sans-serif;
  letter-spacing: 0;
  line-height: 1.1;
}

h1 { font-size: 4.5rem; }
h2 { font-size: 3rem; }
h3 { font-size: 1.5rem; }

.eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.eyebrow.light { color: var(--gold); }

.section-head {
  margin-bottom: 60px;
}
.section-head.center {
  text-align: center;
}
.section-sub {
  color: var(--gray);
  font-size: 1.1rem;
  margin-top: 12px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  min-height: 48px;
  transition: var(--trans);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-secondary {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: var(--shadow-md);
}
.btn-secondary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}
.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-call {
  background: var(--gold);
  color: var(--navy-dark);
  padding: 18px 40px;
  font-size: 1.1rem;
  box-shadow: 0 10px 30px rgba(228, 177, 42, 0.4);
}
.btn-call:hover {
  background: var(--gold-dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(228, 177, 42, 0.5);
}

/* ===== TICKER / BARRA EVENTOS ===== */
.ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--ticker-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  background: linear-gradient(90deg, var(--red), var(--red-dark));
  color: var(--white);
}
.ticker__track {
  display: flex;
  flex-shrink: 0;
  will-change: transform;
  animation: ticker-scroll 30s linear infinite;
}
.ticker:hover .ticker__track {
  animation-play-state: paused;
}
.ticker__group {
  display: flex;
  flex-shrink: 0;
}
.ticker__group span {
  padding: 0 2.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
@keyframes ticker-scroll {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; }
}

/* ===== NAVBAR ===== */
.nav {
  position: fixed;
  top: var(--ticker-h);
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 248, 231, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: var(--trans);
}
.nav.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 16px 24px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  min-width: 0;
}
.nav-brand span {
  line-height: 1.15;
}
.nav-brand img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-weight: 500;
  color: var(--ink);
  position: relative;
  transition: var(--trans);
}
.nav-links a:hover {
  color: var(--red);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: var(--trans);
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang-toggle {
  background: none;
  border: 2px solid var(--navy);
  color: var(--navy);
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  gap: 6px;
  transition: var(--trans);
}
.lang-toggle:hover {
  background: var(--navy);
  color: var(--white);
}
.lang-toggle .lang-active {
  color: var(--red);
}
.lang-toggle:hover .lang-active {
  color: var(--gold);
}
.lang-sep { opacity: 0.4; }
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-burger span {
  width: 24px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--trans);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 24px 80px;
  background:
    linear-gradient(135deg, rgba(30, 58, 95, 0.85), rgba(193, 39, 45, 0.75)),
    url('../assets/img/menu/parrillada-de-mariscos.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 100%, rgba(228, 177, 42, 0.3), transparent 60%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  animation: fadeUp 1s ease-out;
}
.hero-logo {
  width: 180px;
  height: 180px;
  margin: 0 auto 24px;
  border-radius: 50%;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  animation: float 4s ease-in-out infinite;
}
.hero h1 {
  color: var(--white);
  text-shadow: 2px 4px 20px rgba(0,0,0,0.4);
  margin-bottom: 16px;
}
.hero p {
  font-size: 1.25rem;
  opacity: 0.95;
  margin-bottom: 36px;
  font-weight: 300;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero-badges {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 24px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.2);
  min-width: 130px;
}
.badge-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}
.badge-txt {
  font-size: 0.85rem;
  opacity: 0.9;
}
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: 0.8;
}
.scroll-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ===== ABOUT ===== */
.about {
  padding: 100px 0;
  background: var(--cream);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text p {
  color: var(--gray);
  margin-bottom: 20px;
  font-size: 1.05rem;
}
.about-feats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 32px;
}
.feat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
  transition: var(--trans);
}
.feat:hover {
  transform: translateX(8px);
  border-left-color: var(--red);
}
.feat-ico {
  font-size: 2rem;
  grid-row: span 2;
}
.feat h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--navy);
}
.feat p {
  font-size: 0.9rem;
  color: var(--gray);
  margin: 0;
}
.about-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}
.about-img-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  padding: 20px 28px;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-md);
}
.badge-big {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  line-height: 1;
}
.about-img-badge span:last-child {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
}

/* ===== RESERVATIONS ===== */
.reserve {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.reserve::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(228, 177, 42, 0.2), transparent 70%);
  border-radius: 50%;
}
.reserve-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.reserve h2 {
  color: var(--white);
  margin-bottom: 16px;
}
.reserve-text p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 500px;
}
.reserve-hours {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.reserve-hours h3 {
  color: var(--gold);
  margin-bottom: 20px;
  font-size: 1.8rem;
}
.reserve-hours ul {
  list-style: none;
}
.reserve-hours li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.95rem;
}
.reserve-hours li.hi {
  color: var(--gold);
  font-weight: 600;
}
.reserve-hours li:last-child {
  border: none;
}

/* ===== DELIVERY ===== */
.delivery {
  padding: 100px 0;
  background: var(--white);
}
.delivery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.delivery-card {
  padding: 40px 24px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--trans);
  border: 2px solid transparent;
  position: relative;
}
.delivery-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.delivery-card.featured {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
}
.delivery-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy-dark);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}
.delivery-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  margin-bottom: 8px;
  color: var(--navy);
  letter-spacing: 0;
}
.delivery-card.featured .delivery-name { color: var(--white); }
.delivery-cta {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red);
}
.delivery-card.featured .delivery-cta { color: var(--gold); }

/* ===== EVENTOS ===== */
.events {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  text-align: center;
}
.events h2 {
  color: var(--white);
  margin: 12px 0 16px;
}
.events p {
  font-size: 1.1rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* ===== LOCATION ===== */
.location {
  padding: 100px 0;
  background: var(--cream);
}
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: stretch;
}
.location-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.loc-block h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--red);
  margin-bottom: 6px;
  font-weight: 700;
}
.loc-block p {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 500;
}
.loc-block a { color: var(--navy); }
.loc-block a:hover { color: var(--red); }
.location-info .btn {
  align-self: flex-start;
  margin-top: 8px;
}
.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 400px;
}
.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 60px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 16px;
}
.footer-brand h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--gold);
}
.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  max-width: 300px;
}
.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 700;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  padding: 6px 0;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}
.footer-col a { transition: var(--trans); }
.footer-col a:hover { color: var(--gold); }
.footer-social-card {
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(193, 39, 45, 0.95), rgba(228, 177, 42, 0.9)),
    var(--red);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(0,0,0,0.22);
}
.social-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 10px;
  background: rgba(255,255,255,0.18);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}
.footer-social-card h4 {
  font-family: 'Bebas Neue', 'Poppins', sans-serif;
  font-size: 2rem;
  line-height: 1;
  color: var(--white);
  margin-bottom: 10px;
}
.social-note {
  color: rgba(255,255,255,0.88);
  font-size: 0.92rem;
  line-height: 1.45;
  margin-bottom: 16px;
}
.socials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.socials a {
  min-height: 50px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  transition: var(--trans);
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}
.socials svg {
  flex: 0 0 auto;
}
.socials a:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.28);
}
.socials a.instagram { color: #C13584; }
.socials a.facebook { color: #1877F2; }
.socials a.tiktok {
  grid-column: 1 / -1;
  color: #111111;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  background: rgba(0,0,0,0.2);
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.dev-credit { color: var(--gold); }

/* ===== IMAGE CREDITS ===== */
.credits-page {
  background: var(--cream);
}
.credits {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px;
}
.credits-back {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--red);
  font-weight: 700;
}
.credits h1 {
  color: var(--navy);
  margin-bottom: 16px;
}
.credits p {
  color: var(--gray);
  margin-bottom: 24px;
}
.credits ul {
  display: grid;
  gap: 16px;
  color: var(--navy);
}
.credits li {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
}
.credits a {
  color: var(--red);
  font-weight: 700;
}

/* ===== Botón flotante de llamada ===== */
.call-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(193, 39, 45, 0.4);
  transition: var(--trans);
  z-index: 99;
  animation: callPulse 2s infinite;
}
.call-float:hover {
  background: var(--red-dark);
  transform: scale(1.1);
}
@keyframes callPulse {
  0% { box-shadow: 0 10px 30px rgba(193, 39, 45, 0.4), 0 0 0 0 rgba(193, 39, 45, 0.7); }
  70% { box-shadow: 0 10px 30px rgba(193, 39, 45, 0.4), 0 0 0 20px rgba(193, 39, 45, 0); }
  100% { box-shadow: 0 10px 30px rgba(193, 39, 45, 0.4), 0 0 0 0 rgba(193, 39, 45, 0); }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid, .reserve-inner, .location-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-img img { height: 400px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .delivery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.25rem; }
  .nav-links { display: none; }
  .nav-inner { gap: 12px; padding: 14px 16px 4px; }
  .nav-brand { gap: 8px; font-size: 0.98rem; }
  .nav-brand span { max-width: 130px; }
  .nav-burger { display: flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow-md);
    gap: 16px;
  }
  .hero { background-attachment: scroll; min-height: 90vh; }
  .hero p { font-size: 1.05rem; }
  .hero-logo { width: 130px; height: 130px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-badges { gap: 12px; }
  .badge { min-width: 100px; padding: 12px 16px; }
  .badge-num { font-size: 1.5rem; }
  .about, .reserve, .delivery, .location { padding: 60px 0; }
  .section-head { margin-bottom: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .call-float { width: 55px; height: 55px; bottom: 16px; right: 16px; }
}

@media (hover: none) {
  .btn:hover,
  .feat:hover,
  .delivery-card:hover,
  .socials a:hover,
  .call-float:hover {
    transform: none;
  }
}

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