/* ============================================================
   BASE.CSS — Variables, reset, tipografía, nav, hero, botones
   Transportes Fénix Tomé
   ============================================================ */

/* ── Variables globales ── */
:root {
  --navy:         #0A1628;
  --navy-mid:     #112240;
  --orange:       #FF6B1A;
  --orange-dark:  #E55A0A;
  --gold:         #FFC140;
  --white:        #FFFFFF;
  --light:        #F5F7FA;
  --gray:         #8892A4;
  --text:         #1A2332;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* ── Botones globales ── */
.btn-primary {
  background: var(--orange);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.25);
  transition: border-color 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

/* ── Secciones generales ── */
section {
  padding: 96px 5%;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--navy);
  line-height: 1.05;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.7;
  max-width: 560px;
}

.section-header {
  margin-bottom: 64px;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 72px;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,107,26,0.2);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-icon { width: 42px; height: 42px; }

.nav-logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 1px;
  line-height: 1.1;
}
.nav-logo-text span { color: var(--orange); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--orange); }

.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover {
  background: var(--orange-dark) !important;
  color: var(--white) !important;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 72px 5% 0;
}

.hero-bg-lines {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,107,26,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,107,26,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,107,26,0.18) 0%, transparent 70%);
  right: -100px; top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,107,26,0.12);
  border: 1px solid rgba(255,107,26,0.3);
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 7vw, 6rem);
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: 1px;
}
.hero-title .accent { color: var(--orange); }
.hero-title .gold   { color: var(--gold); }

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem;
  color: var(--orange);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Fénix imagen real — hero */
.hero-phoenix-wrap {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  width: min(500px, 44vw);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}

.hero-phoenix-img {
  width: 100%;
  height: auto;
  display: block;
  /* Realzar los tonos naranjas/rojos propios de la imagen */
  filter:
    drop-shadow(0 0 40px rgba(255, 107, 26, 0.7))
    drop-shadow(0 0 80px rgba(255, 80, 0, 0.45))
    drop-shadow(0 0 160px rgba(255, 60, 0, 0.25))
    saturate(1.25)
    contrast(1.1)
    brightness(1.08);
}

/* Anillo de resplandor detrás de la imagen */
.phoenix-glow-ring {
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 107, 26, 0.22) 0%,
    rgba(255, 60,  0,  0.12) 40%,
    transparent 70%
  );
  animation: glowPulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translateY(-50%) translateX(0) rotate(0deg); }
  33%       { transform: translateY(-53%) translateX(6px) rotate(0.5deg); }
  66%       { transform: translateY(-48%) translateX(-4px) rotate(-0.5deg); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50%       { opacity: 1.0; transform: scale(1.08); }
}


/* ── ROUTE BAR ── */
.route-bar {
  background: var(--orange);
  padding: 20px 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.route-bar-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: 1px;
}
.route-cities {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(0,0,0,0.15);
  padding: 8px 20px;
  border-radius: 40px;
}
.city-tag {
  font-weight: 700;
  color: var(--white);
  font-size: 0.95rem;
}
.route-arrow {
  color: var(--gold);
  font-size: 1.2rem;
}

/* ── FOOTER ── */
footer {
  background: #060D1A;
  padding: 48px 5% 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 32px;
}
.footer-brand { max-width: 280px; }
.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  margin-top: 14px;
}
.footer-links h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy  { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-region {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  gap: 6px;
}
