/* ── VARIABLES ── */
:root {
  --rojo: #8b0000;
  --rojo-medio: #a52020;
  --negro: #1a1a1a;
  --pergamino: #c4a882;
  --pergamino-claro: #e8d9c0;
  --fondo: #f0eee8;
  --blanco: #fafaf8;
  --texto: #1a1a1a;
  --texto-suave: #5a5a5a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: Georgia, serif;
  background: var(--fondo);
  color: var(--texto);
  overflow-x: hidden;
}

/* ── NAVBAR ── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--pergamino-claro);
}

nav {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--negro);
  text-decoration: none;
  letter-spacing: 0.05em;
}

.logo span {
  color: var(--rojo);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav ul a {
  text-decoration: none;
  color: var(--texto-suave);
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

nav ul a:hover {
  color: var(--rojo);
}

/* ── HERO ── */
#inicio {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  background:
    radial-gradient(
      ellipse 70% 50% at 50% 30%,
      rgba(139, 0, 0, 0.06) 0%,
      transparent 70%
    ),
    var(--fondo);
  position: relative;
}

#inicio::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(196, 168, 130, 0.15) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--pergamino);
  margin-bottom: 1.2rem;
}

#inicio h1 {
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--negro);
  margin-bottom: 1.5rem;
}

#inicio h1 span {
  color: var(--rojo);
}

.hero-sub {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  color: var(--texto-suave);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btn {
  display: inline-block;
  background: var(--rojo);
  color: var(--blanco);
  padding: 1rem 3rem;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition:
    background 0.25s,
    transform 0.2s;
}

.hero-btn:hover {
  background: var(--rojo-medio);
  transform: translateY(-2px);
}

/* ── INFO STRIP ── */
.info-strip {
  background: var(--negro);
  color: var(--fondo);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.info-item {
  padding: 2rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.info-item:last-child {
  border-right: none;
}
.info-icon {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  opacity: 0.6;
}

.info-item h3 {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
  color: var(--pergamino);
}

.info-item p {
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  opacity: 0.6;
  line-height: 1.6;
}

/* ── RESERVAS ── */
#reservas {
  padding: 6rem 2rem;
  background: var(--blanco);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--negro);
  margin-bottom: 0.5rem;
}

.section-header p {
  font-family: Arial, sans-serif;
  color: var(--texto-suave);
  font-size: 0.95rem;
}

/* ── FORMULARIO ── */
#form-reserva {
  max-width: 640px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  background: var(--fondo);
  border: 1px solid var(--pergamino-claro);
  padding: 2.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group.full {
  grid-column: 1 / -1;
}

label {
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--texto-suave);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="time"] {
  padding: 0.75rem 1rem;
  border: 1px solid var(--pergamino-claro);
  background: var(--blanco);
  font-size: 0.9rem;
  color: var(--texto);
  outline: none;
  font-family: Arial, sans-serif;
  transition: border-color 0.2s;
}

input:focus {
  border-color: var(--rojo);
}

.checkboxes {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: Arial, sans-serif;
  font-size: 0.88rem;
  color: var(--texto-suave);
  cursor: pointer;
}

.check-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--rojo);
  cursor: pointer;
}

button[type="submit"] {
  width: 100%;
  padding: 1rem;
  background: var(--rojo);
  color: var(--blanco);
  border: none;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

button[type="submit"]:hover {
  background: var(--rojo-medio);
}
button[type="submit"]:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ── MENSAJE ── */
#mensaje {
  font-family: Arial, sans-serif;
  font-size: 0.88rem;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
  display: none;
}

#mensaje.success {
  display: block;
  background: #f0faf4;
  color: #1e5c3a;
  border-left: 3px solid #2d7a4f;
}

#mensaje.error {
  display: block;
  background: #fdf0ef;
  color: #8b2c2c;
  border-left: 3px solid var(--rojo);
}

/* ── FOOTER ── */
footer {
  background: var(--negro);
  color: rgba(240, 238, 232, 0.6);
  text-align: center;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
}

.footer-logo {
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--blanco);
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.footer-logo span {
  color: var(--rojo);
}

footer p {
  opacity: 0.5;
  font-size: 0.82rem;
}

.footer-info {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0.5rem 0;
}

.footer-copy {
  font-size: 0.75rem;
  opacity: 0.35;
  margin-top: 0.5rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  nav ul {
    display: none;
  }
  .info-strip {
    grid-template-columns: 1fr;
  }
  .info-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .form-grid {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  .form-group.full {
    grid-column: 1;
  }
  .footer-info {
    flex-direction: column;
    gap: 0.5rem;
  }
}
