/* ===== Variables ===== */
:root {
  --brown-950: #2b1a12;
  --brown-900: #3d2418;
  --brown-800: #4e2f1f;
  --brown-700: #6b4226;
  --brown-500: #8a5a34;
  --gold-400: #c69749;
  --gold-300: #d9b073;
  --cream-100: #f7f1e8;
  --cream-50: #fbf7f1;
  --text-dark: #2c2118;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(43, 26, 18, 0.15);
  --font-title: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream-50);
  line-height: 1.6;
}

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: var(--font-title); color: var(--brown-900); margin: 0 0 12px; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-400);
  margin-bottom: 8px;
}

.section { padding: 72px 0; }
.section-alt { background: var(--cream-100); }
.section-lead { max-width: 640px; color: #5a4a3c; }

/* ===== Botones ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--brown-700); color: #fff; }
.btn-primary:hover { background: var(--brown-800); }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1eb958; }
.btn-outline { background: transparent; border-color: var(--brown-700); color: var(--brown-700); }
.btn-block { width: 100%; justify-content: center; margin-bottom: 12px; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream-50);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--brown-900);
}
.brand-logo { height: 48px; width: auto; border-radius: 8px; }
.brand-name { font-family: var(--font-title); font-weight: 700; line-height: 1.1; }
.brand-name small { font-weight: 500; font-size: 0.7em; color: var(--brown-700); }

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  text-decoration: none;
  color: var(--brown-900);
  font-weight: 500;
  font-size: 0.95rem;
}
.main-nav a:hover { color: var(--gold-400); }

.nav-cta { flex-shrink: 0; padding: 10px 20px; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--brown-900); border-radius: 2px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-color: var(--brown-900);
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(43,26,18,0.75) 0%, rgba(43,26,18,0.88) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 720px;
  padding-top: 60px;
  padding-bottom: 60px;
}
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 16px; }
.hero-subtitle { font-size: 1.25rem; font-weight: 500; margin-bottom: 14px; color: var(--gold-300); }
.hero-text { font-size: 1.05rem; color: #f1e6d8; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; }
.hero-note { font-size: 0.9rem; color: #d8c6b3; font-style: italic; }

/* ===== Nosotros ===== */
.about-text p { color: #4a3a2c; }
.about-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.badge {
  background: var(--cream-100);
  border: 1px solid var(--gold-300);
  color: var(--brown-800);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== Servicios ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  text-align: center;
}
.service-icon { font-size: 2.2rem; margin-bottom: 12px; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.service-card p { font-size: 0.92rem; color: #5a4a3c; margin: 0; }

/* ===== Galería ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 36px 0;
}
.gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
}
.gallery-item img { height: 240px; width: 100%; object-fit: cover; }
.gallery-item figcaption {
  padding: 12px 16px;
  font-weight: 500;
  color: var(--brown-800);
}
.cta-inline { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; }

/* ===== Reservas ===== */
.reservas-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.reserva-form { margin-top: 24px; background: #fff; padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 0.92rem; color: var(--brown-800); }
.form-row input, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #d9cabb;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--cream-50);
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--gold-400); }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.82rem; color: #7a6a5c; margin-top: -4px; }

.reservas-alt {
  background: var(--brown-900);
  color: #fff;
  padding: 32px;
  border-radius: var(--radius);
  margin-top: 24px;
}
.reservas-alt h3 { color: #fff; }
.reservas-alt p { color: #e6d8c8; margin-bottom: 20px; }

/* ===== Contacto ===== */
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}
.contact-list { list-style: none; padding: 0; margin: 20px 0 0; }
.contact-list li { margin-bottom: 14px; font-size: 1.02rem; }
.contact-list a { color: var(--brown-700); font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 320px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ===== Footer ===== */
.site-footer {
  background: var(--brown-950);
  color: #d8c6b3;
  padding: 28px 0;
  text-align: center;
  font-size: 0.9rem;
}
.footer-wrap p { margin: 4px 0; }
.site-footer a { color: var(--gold-300); text-decoration: none; }

/* ===== Botón flotante WhatsApp ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25d366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 60;
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .reservas-grid, .contacto-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream-50);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 18px;
    box-shadow: 0 12px 20px rgba(0,0,0,0.08);
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .form-row-split { grid-template-columns: 1fr; }
}
