/* ============================================
   Micheladas y Refresqueria Airline — Styles
   Palette: Teal (#0d9488) + Slate (#1e293b)
   ============================================ */

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

:root {
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 8px 32px rgba(15, 23, 42, 0.14);
  --shadow-xl: 0 16px 48px rgba(15, 23, 42, 0.18);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  color: var(--slate-800);
  background: var(--slate-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--teal-600);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--teal-700);
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(15, 23, 42, 0.97);
  box-shadow: var(--shadow-lg);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.nav-logo-icon {
  color: var(--teal-400);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: var(--slate-300);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-links a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  background: var(--teal-600) !important;
  color: white !important;
  padding: 8px 20px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--teal-500) !important;
  color: white !important;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--slate-900);
  padding: 100px 32px 40px;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu-link {
  color: var(--slate-200);
  font-size: 1.25rem;
  font-weight: 500;
  padding: 16px 0;
  border-bottom: 1px solid var(--slate-700);
  display: block;
}

.mobile-menu-link:hover {
  color: var(--teal-400);
}

.mobile-menu-cta {
  margin-top: 24px;
  display: block;
  text-align: center;
  background: var(--teal-600);
  color: white;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1.1rem;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--slate-900);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.92) 0%,
    rgba(15, 23, 42, 0.75) 50%,
    rgba(13, 148, 136, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding: 120px 24px 80px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(13, 148, 136, 0.2);
  border: 1px solid rgba(13, 148, 136, 0.4);
  color: var(--teal-200);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-headline em {
  font-style: normal;
  color: var(--teal-400);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--slate-300);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--slate-400);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--teal-500), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--teal-600);
  color: white;
  border-color: var(--teal-600);
}

.btn-primary:hover {
  background: var(--teal-500);
  border-color: var(--teal-500);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.35);
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

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

.btn-outline-light {
  background: transparent;
  color: var(--slate-800);
  border-color: var(--slate-300);
}

.btn-outline-light:hover {
  border-color: var(--teal-600);
  color: var(--teal-700);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--slate-800);
  border-bottom: 1px solid var(--slate-700);
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 20px 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--slate-300);
  font-size: 0.9rem;
}

.trust-item a {
  color: var(--teal-400);
  font-weight: 600;
}

.trust-item a:hover {
  color: var(--teal-300);
}

.trust-icon {
  color: var(--teal-500);
  flex-shrink: 0;
}

/* ============================================
   SECTION LABELS & TITLES
   ============================================ */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-title.light {
  color: white;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--slate-500);
  line-height: 1.7;
  max-width: 560px;
}

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

.section-header.light {
  margin-bottom: 56px;
}

.section-header .section-sub {
  margin: 0 auto;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 120px 0;
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text .section-label {
  margin-bottom: 16px;
}

.about-text .section-title {
  margin-bottom: 24px;
}

.about-text p {
  color: var(--slate-600);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--slate-200);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal-600);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--slate-500);
  font-weight: 500;
}

/* ============================================
   PRODUCTS
   ============================================ */
.products {
  padding: 120px 0;
  background: var(--slate-50);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.product-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-100);
  transition: all var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card-img {
  height: 200px;
  overflow: hidden;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card-img img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 28px;
}

.product-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 10px;
}

.product-card-body > p {
  color: var(--slate-500);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--slate-700);
  font-weight: 500;
}

.product-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--teal-500);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   WHY SECTION
   ============================================ */
.why {
  padding: 120px 0;
  background: var(--slate-800);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(13, 148, 136, 0.4);
  transform: translateY(-4px);
}

.why-icon {
  width: 56px;
  height: 56px;
  background: rgba(13, 148, 136, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-400);
  margin-bottom: 24px;
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.why-card p {
  color: var(--slate-400);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ============================================
   HOURS & MAP
   ============================================ */
.hours {
  padding: 120px 0;
  background: white;
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.hours-info .section-label {
  margin-bottom: 16px;
}

.hours-info .section-title {
  margin-bottom: 16px;
}

.hours-info > p {
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 40px;
}

.hours-table {
  background: var(--slate-50);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  margin-bottom: 40px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid var(--slate-100);
  transition: background var(--transition);
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-row:hover {
  background: var(--teal-50);
}

.hours-row.today {
  background: var(--teal-50);
  border-left: 3px solid var(--teal-600);
}

.hours-day {
  font-weight: 600;
  color: var(--slate-700);
  font-size: 0.95rem;
}

.hours-time {
  color: var(--slate-500);
  font-size: 0.95rem;
}

.hours-contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-600);
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  color: var(--slate-800);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.contact-item span,
.contact-item a {
  color: var(--slate-600);
  font-size: 1rem;
}

.contact-item a:hover {
  color: var(--teal-600);
}

.hours-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 480px;
  border: 1px solid var(--slate-200);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 480px;
}

/* ============================================
   CTA
   ============================================ */
.cta {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--teal-800) 0%, var(--teal-900) 50%, var(--slate-900) 100%);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-inner {
  position: relative;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-inner .section-label {
  color: var(--teal-300);
  margin-bottom: 16px;
}

.cta-inner .section-title {
  margin-bottom: 20px;
}

.cta-text {
  color: var(--slate-300);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--slate-800);
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links strong {
  color: var(--slate-200);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.footer-links a {
  color: var(--slate-400);
  font-size: 0.92rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--teal-400);
}

.footer-contact strong {
  color: var(--slate-200);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 12px;
}

.footer-contact p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-contact a {
  color: var(--teal-400);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--slate-600);
}

/* ============================================
   REVEAL ANIMATIONS (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Default: always visible (no JS) */
.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-headline {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    order: -1;
  }

  .about-stats {
    gap: 24px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .hours-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hours-map {
    min-height: 320px;
  }

  .map-placeholder {
    min-height: 320px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .trust-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .nav-inner {
    padding: 0 16px;
  }

  .about,
  .products,
  .why,
  .hours,
  .cta {
    padding: 80px 0;
  }

  .about-stats {
    flex-direction: column;
    gap: 20px;
  }
}
