@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;500;600;700&family=Inter:wght@300;400;500&display=swap');

:root {
  --azul-profundo: #0a1628;
  --azul-medio: #0e2040;
  --azul-acero: #1a3a5c;
  --azul-logo: #4a8fb5;
  --azul-claro: #6ab0d4;
  --acento: #5bc4e8;
  --acento-hover: #3db3de;
  --blanco: #f0f6fa;
  --gris-claro: #b8cdd9;
  --gris-medio: #6b8a9e;
  --texto-principal: #e8f2f8;
  --texto-secundario: #8aafc5;
  --borde: rgba(74, 143, 181, 0.2);
  --borde-hover: rgba(91, 196, 232, 0.4);
  --card-bg: rgba(14, 32, 64, 0.6);
  --card-bg-hover: rgba(26, 58, 92, 0.7);
  --nav-height: 70px;
}

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

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--azul-profundo);
  color: var(--texto-principal);
  line-height: 1.7;
  overflow-x: hidden;
}

/* FONDO ANIMADO */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(74,143,181,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(91,196,232,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 50%, rgba(10,22,40,0) 0%, var(--azul-profundo) 100%);
  pointer-events: none;
  z-index: 0;
}

/* GRID LINES SUTIL */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(74,143,181,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,143,181,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

main, nav, footer, section { position: relative; z-index: 1; }

/* TIPOGRAFÍA */
h1, h2, h3, h4 { font-family: 'Exo 2', sans-serif; font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.1rem; font-weight: 500; }

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--borde);
  z-index: 1000;
  transition: background 0.3s;
}

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

.nav-logo img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(91,196,232,0.3));
}

.nav-logo-text {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blanco);
  letter-spacing: 0.02em;
}

.nav-logo-text span { color: var(--acento); }

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

.nav-links a {
  color: var(--texto-secundario);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  text-transform: uppercase;
}

.nav-links a:hover { color: var(--acento); }

.nav-cta {
  background: var(--acento);
  color: var(--azul-profundo) !important;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.1s !important;
}

.nav-cta:hover {
  background: var(--acento-hover) !important;
  color: var(--azul-profundo) !important;
  transform: translateY(-1px);
}

/* HAMBURGUESA MOBILE */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blanco);
  transition: all 0.3s;
}

/* BOTONES */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: 'Exo 2', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  letter-spacing: 0.03em;
}

.btn-primary {
  background: var(--acento);
  color: var(--azul-profundo);
}

.btn-primary:hover {
  background: var(--acento-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(91,196,232,0.25);
}

.btn-outline {
  background: transparent;
  color: var(--acento);
  border: 1px solid var(--acento);
}

.btn-outline:hover {
  background: rgba(91,196,232,0.1);
  transform: translateY(-2px);
}

/* SECCIONES */
section {
  padding: 100px 5%;
}

.section-label {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--acento);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  color: var(--blanco);
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--texto-secundario);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 60px;
}

/* CARDS */
.card {
  background: var(--card-bg);
  border: 1px solid var(--borde);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s;
  backdrop-filter: blur(8px);
}

.card:hover {
  background: var(--card-bg-hover);
  border-color: var(--borde-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

/* BADGE */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.badge-popular {
  background: rgba(91,196,232,0.15);
  color: var(--acento);
  border: 1px solid rgba(91,196,232,0.3);
}

/* DIVIDER */
.divider {
  width: 48px;
  height: 3px;
  background: var(--acento);
  margin: 20px 0 40px;
  border-radius: 2px;
}

/* FORM */
input, select, textarea {
  width: 100%;
  background: rgba(14, 32, 64, 0.8);
  border: 1px solid var(--borde);
  border-radius: 4px;
  padding: 12px 16px;
  color: var(--texto-principal);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--acento);
  box-shadow: 0 0 0 3px rgba(91,196,232,0.1);
}

input::placeholder, textarea::placeholder {
  color: var(--gris-medio);
}

select option {
  background: var(--azul-medio);
  color: var(--texto-principal);
}

label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--texto-secundario);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group { margin-bottom: 20px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* PRECIO CARD */
.precio-card {
  background: var(--card-bg);
  border: 1px solid var(--borde);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.precio-card.destacado {
  border-color: var(--acento);
  background: rgba(26, 58, 92, 0.8);
}

.precio-card.destacado::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--acento);
}

.precio-amount {
  font-family: 'Exo 2', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--blanco);
  line-height: 1;
  margin: 16px 0 4px;
}

.precio-amount span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--texto-secundario);
}

.precio-features {
  list-style: none;
  margin: 20px 0 28px;
}

.precio-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--borde);
  font-size: 0.9rem;
  color: var(--texto-secundario);
  display: flex;
  align-items: center;
  gap: 10px;
}

.precio-features li:last-child { border-bottom: none; }

.precio-features li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acento);
  flex-shrink: 0;
}

/* ANIMACIONES */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

.animate-in {
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
}

/* FOOTER */
footer {
  background: rgba(5, 12, 24, 0.95);
  border-top: 1px solid var(--borde);
  padding: 40px 5%;
  text-align: center;
}

footer p {
  color: var(--texto-secundario);
  font-size: 0.85rem;
}

/* ========================
   LAYOUT CLASSES
   ======================== */

/* Hero */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 60px);
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
}

.stats-divider {
  width: 1px;
  align-self: stretch;
  background: var(--borde);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Sobre mí */
.sobremi-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Reservas */
.reservas-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

/* ========================
   RESPONSIVE — 1024px
   ======================== */
@media (max-width: 1024px) {
  .hero-grid  { gap: 48px; }
  .sobremi-grid { gap: 48px; }
  .reservas-grid { gap: 32px; }
}

/* ========================
   RESPONSIVE — 768px
   ======================== */
@media (max-width: 768px) {
  /* NAV */
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(10,22,40,0.98);
    padding: 24px 5%;
    border-bottom: 1px solid var(--borde);
    gap: 1.2rem;
    z-index: 999;
  }

  .nav-links.open .nav-cta {
    text-align: center;
    display: block;
    margin-top: 8px;
  }

  /* SECCIONES */
  section { padding: 64px 5%; }
  .form-row { grid-template-columns: 1fr; }
  .section-subtitle { margin-bottom: 40px; }

  /* HERO */
  .hero-section {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 60px;
    align-items: flex-start;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-visual {
    order: -1;
    min-height: 200px;
    margin-bottom: 36px;
  }

  .hero-ring { display: none; }
  .hero-chip { display: none; }

  .hero-btns {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
  }

  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats { gap: 24px; }
  .stats-divider { display: none; }

  /* SERVICIOS — precios en 1 columna en móvil */
  .precio-card + .precio-card { margin-top: 0; }

  /* SOBRE MÍ */
  .sobremi-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sobremi-visual { order: 2; }
  .sobremi-text   { order: 1; }

  /* RESERVAS */
  .reservas-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .reservas-info { order: 2; }
  .reservas-form { order: 1; }

  /* Reservas info: cards más compactas */
  .reservas-info .card {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    margin-bottom: 12px !important;
    gap: 0;
  }

  /* Tarjeta "Sin compromiso" restaurada */
  .reservas-info .reservas-sin-compromiso {
    padding: 1rem 1.25rem;
    margin-top: 4px;
  }
}

/* ========================
   RESPONSIVE — 480px
   ======================== */
@media (max-width: 480px) {
  section { padding: 52px 4%; }

  nav { padding: 0 4%; }

  .nav-logo-text { font-size: 1rem; }
  .nav-logo img  { height: 36px; }

  .hero-section  { padding-top: calc(var(--nav-height) + 28px); }
  .hero-visual   { min-height: 150px; margin-bottom: 28px; }
  .hero-visual img { width: 110px !important; }

  .hero-stats { gap: 16px; }
  .hero-stats > div > div:first-child {
    font-size: 1.4rem !important;
  }

  .hero-btns { gap: 10px; }
  .hero-btns .btn { padding: 13px 24px; font-size: 0.9rem; }

  .precio-amount { font-size: 2rem; }

  .card { padding: 1.5rem; }
  .reservas-form.card { padding: 1.5rem; }

  .sobremi-grid > .sobremi-visual .precio-amount { font-size: 1.6rem; }

  footer { padding: 32px 4%; }
}
