/* Capitán Wings — sitio estático */

@font-face {
  font-family: 'NewGlobal';
  src: url('/assets/fonts/NewGlobal-Bold.woff2') format('woff2'),
       url('/assets/fonts/NewGlobal-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NoksaDalgont';
  src: url('/assets/fonts/Noksa-Dalgont.woff2') format('woff2'),
       url('/assets/fonts/Noksa-Dalgont.otf') format('opentype');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b0a08;
  --bg-panel: #151210;
  --orange: #f4670f;
  --orange-dark: #d4560a;
  --yellow: #ffcc00;
  --text: #ffffff;
  --text-dim: #c9c4bd;
  --font-display: 'NewGlobal', Impact, sans-serif;
  --font-accent: 'NoksaDalgont', Impact, sans-serif;
  --font-body: 'Poppins', sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  scroll-behavior: smooth;
}

body.has-bg-image {
  position: relative;
  background: none;
}

body.has-bg-image::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--page-bg) center center / cover no-repeat;
}

body.has-bg-image::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,
    rgba(11,10,8,0.35) 0%,
    rgba(11,10,8,0.55) 25%,
    rgba(11,10,8,0.88) 55%,
    rgba(11,10,8,0.96) 100%);
}

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

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

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

/* Header */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.75), transparent);
}

.logo img { height: 48px; width: auto; }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  color: var(--text);
  transition: color 0.2s;
}

nav.main-nav a:hover,
nav.main-nav a.active { color: var(--orange); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4rem);
  letter-spacing: 2px;
  margin: 0 0 36px;
  text-transform: uppercase;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-accent);
  font-weight: 500;
  letter-spacing: 0.5px;
  font-size: 1.05rem;
  padding: 16px 32px;
  border-radius: 40px;
  background: var(--orange);
  color: #fff;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover { background: var(--orange-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--orange);
}

.btn-outline:hover { background: var(--orange); }

/* Menu CTA section */
.menu-cta {
  padding: 90px 0;
  text-align: center;
  background:
    linear-gradient(rgba(11,10,8,0.82), rgba(11,10,8,0.82)),
    url('/assets/img/section-bg.jpg') center center / cover no-repeat;
}

.menu-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--yellow);
  margin-bottom: 32px;
  text-transform: uppercase;
}

.menu-cta .btn-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.badge-pide {
  width: 180px;
  margin: 40px auto 0;
  transform: rotate(-4deg);
}

/* Gallery */
.gallery {
  padding: 20px 0 100px;
}

.gallery h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--yellow);
  text-align: center;
  margin-bottom: 36px;
  text-transform: uppercase;
}

.gallery-grid {
  column-count: 3;
  column-gap: 14px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 14px;
  break-inside: avoid;
  transition: transform 0.25s ease;
}

.gallery-grid img:hover { transform: scale(1.02); }

.gallery-video {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
  break-inside: avoid;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.gallery-video:hover { transform: scale(1.02); }

.gallery-video img,
.gallery-video video {
  display: block;
  width: 100%;
  margin-bottom: 0;
  border-radius: 10px;
  background: var(--bg-panel);
}

.gallery-video .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  font-size: 1.1rem;
  padding-left: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

@media (max-width: 900px) {
  .gallery-grid { column-count: 2; }
}

@media (max-width: 520px) {
  .gallery-grid { column-count: 1; }
}

/* Video lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.lightbox.open { display: flex; }

.lightbox video {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}

/* Intro / about blurb */
.intro {
  position: relative;
  text-align: center;
  margin: 70px 0;
  padding: 120px 24px;
  background: linear-gradient(120deg, var(--orange), var(--orange-dark));
  clip-path: polygon(0 5%, 100% 0%, 100% 95%, 0% 100%);
  overflow: hidden;
}

.intro::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -5%;
  width: 320px;
  height: 320px;
  background: url('/assets/img/logo-alt.png') center / contain no-repeat;
  opacity: 0.12;
  transform: rotate(-12deg);
  pointer-events: none;
}

.intro-inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}

.intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 20px;
  text-transform: uppercase;
  color: #fff;
}

.intro p {
  color: rgba(255,255,255,0.92);
  line-height: 1.7;
  font-size: 1.05rem;
}

/* Generic page hero (for inner pages) */
.page-header {
  padding: 160px 0 50px;
  text-align: center;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  text-transform: uppercase;
  color: var(--yellow);
}

/* Nosotros */
.about-text {
  max-width: 820px;
  margin: 0 auto 60px;
  padding: 0 24px;
  line-height: 1.8;
  color: var(--text-dim);
  font-size: 1.05rem;
}

.about-text strong { color: var(--text); }

.stats-bar {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  padding: 50px 24px 10px;
  text-align: center;
}

.stat { display: flex; flex-direction: column; }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--orange);
}

.stat-label {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 4px;
}

.tagline {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--orange);
  padding: 40px 0 90px;
  text-transform: uppercase;
}

/* Menu page */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 0 24px 100px;
  max-width: 1000px;
  margin: 0 auto;
}

.menu-grid img {
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
}

/* Tu opinion */
.opinion-box {
  text-align: center;
  padding: 0 24px 120px;
}

.opinion-box p {
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* Footer */
footer.site-footer {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  padding: 70px 24px 24px;
  color: #fff;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}

.footer-brand .footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0 0 20px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 18px;
  font-family: var(--font-accent);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer-social a:hover { color: #1a1410; }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-col a:hover { color: #1a1410; }

.copyright {
  max-width: 1200px;
  margin: 24px auto 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  text-align: center;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: none; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 500;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  animation: wa-pulse 2.4s infinite;
}

.whatsapp-float:hover { background: #1ebe5a; }

@keyframes wa-pulse {
  0% { box-shadow: 0 4px 14px rgba(0,0,0,0.4), 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 4px 14px rgba(0,0,0,0.4), 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 4px 14px rgba(0,0,0,0.4), 0 0 0 0 rgba(37,211,102,0); }
}

/* Mobile */
@media (max-width: 800px) {
  nav.main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 240px;
    background: var(--bg-panel);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    padding-top: 100px;
  }

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

  nav.main-nav ul {
    flex-direction: column;
    padding: 0 32px;
    gap: 24px;
  }

  .nav-toggle { display: block; }
}
