/* Camper Park Rey Lobo — hoja de estilos única, mobile-first, sin frameworks. */
:root {
  --green-deep: #3f4a34;
  --green-mid: #5c6b4a;
  --cream: #f4f1ea;
  --sand: #e7e1d4;
  --terracotta: #c1552c;
  --terracotta-dark: #a6431f;
  --ink: #2c2620;
  --muted: #756e5f;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(44, 38, 32, 0.12);
  --max-width: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.15; margin: 0 0 12px; color: var(--green-deep); }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 12px; color: var(--ink); }
.section { padding: 64px 0; }
.section--alt { background: var(--white); }
.section-head { max-width: 640px; margin: 0 auto 36px; text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.78rem; color: var(--terracotta); font-weight: 700; }
.muted { color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; letter-spacing: 0.4px;
  text-decoration: none; border: none; cursor: pointer; font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--terracotta); color: #fff; box-shadow: 0 8px 20px rgba(193, 85, 44, 0.35); }
.btn--primary:hover { background: var(--terracotta-dark); }
.btn--secondary { background: var(--white); color: var(--green-deep); border: 2px solid var(--green-deep); }
.btn--secondary:hover { background: var(--green-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--green-deep); border: 2px solid var(--sand); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40; background: rgba(244, 241, 234, 0.94);
  backdrop-filter: blur(6px); border-bottom: 1px solid var(--sand);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-family: Georgia, serif; font-weight: 700; font-size: 1.15rem; color: var(--green-deep); text-decoration: none; }
.brand__mark { width: 34px; height: 34px; border-radius: 50%; background: var(--green-deep); color: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.nav-desktop { display: none; gap: 24px; list-style: none; margin: 0; padding: 0; font-size: 0.92rem; font-weight: 600; }
.nav-desktop a { text-decoration: none; }
.nav-desktop a:hover { color: var(--terracotta); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { position: relative; }
.lang-switch__button { display: flex; align-items: center; gap: 6px; background: var(--white); border: 1px solid var(--sand); padding: 8px 12px; border-radius: 999px; font-weight: 700; font-size: 0.85rem; cursor: pointer; }
.lang-switch__menu { display: none; position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--sand); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; min-width: 160px; }
.lang-switch__menu.open { display: block; }
.lang-switch__menu a { display: block; padding: 10px 14px; text-decoration: none; font-size: 0.9rem; }
.lang-switch__menu a:hover { background: var(--cream); }
.header-book-btn { display: none; }
@media (min-width: 880px) {
  .nav-desktop { display: flex; }
  .header-book-btn { display: inline-flex; }
}

/* Hero */
.hero {
  position: relative; color: #fff; padding: 90px 0 70px;
  background: linear-gradient(180deg, rgba(44,38,32,0.55), rgba(44,38,32,0.78)), url('/img/hero-atardecer.jpg');
  background-size: cover; background-position: center 65%;
  text-align: center;
}
.hero__badge { display: inline-block; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.35); padding: 6px 16px; border-radius: 999px; font-size: 0.8rem; margin-bottom: 18px; letter-spacing: 0.4px; }
.hero h1 { color: #fff; letter-spacing: 1px; }
.hero__subtitle { color: rgba(255,255,255,0.9); max-width: 620px; margin: 0 auto 30px; font-size: 1.05rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__rating { margin-top: 26px; font-size: 0.85rem; color: rgba(255,255,255,0.85); }

/* Intro */
.intro { text-align: center; max-width: 760px; margin: 0 auto; }

/* Booking widget */
.booking-widget { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; max-width: 720px; margin: 0 auto; border: 1px solid var(--sand); }
.booking-steps { display: flex; gap: 8px; margin-bottom: 22px; font-size: 0.78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.booking-steps span.active { color: var(--terracotta); }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 620px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .form-grid--3 { grid-template-columns: 1fr 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.field label { font-size: 0.82rem; font-weight: 700; color: var(--green-deep); }
.field input, .field select, .field textarea {
  padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--sand); font-size: 0.95rem; font-family: inherit; background: var(--cream);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--terracotta); background: #fff; }
.checkbox-row { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }
.spot-type-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.spot-card { border: 2px solid var(--sand); border-radius: 12px; padding: 14px; cursor: pointer; text-align: left; background: var(--cream); }
.spot-card.selected { border-color: var(--terracotta); background: #fff; box-shadow: 0 0 0 3px rgba(193,85,44,0.15); }
.spot-card__count { font-size: 0.78rem; color: var(--green-mid); font-weight: 700; }
.price-box { background: var(--cream); border-radius: 12px; padding: 16px; margin: 18px 0; }
.price-row { display: flex; justify-content: space-between; font-size: 0.88rem; padding: 4px 0; color: var(--muted); }
.price-row--total { font-size: 1.1rem; font-weight: 800; color: var(--green-deep); border-top: 1px solid var(--sand); margin-top: 8px; padding-top: 10px; }
.booking-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.alert { border-radius: 10px; padding: 14px 16px; font-size: 0.9rem; margin: 14px 0; }
.alert--error { background: #fbe7e0; color: #8c3418; border: 1px solid #f0bda7; }
.alert--success { background: #e8efe0; color: var(--green-deep); border: 1px solid #c6d9b4; }
.alt-dates-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.alt-date-chip { background: var(--white); border: 1.5px solid var(--sand); border-radius: 999px; padding: 8px 14px; font-size: 0.85rem; font-weight: 700; cursor: pointer; }
.alt-date-chip:hover { border-color: var(--terracotta); }
.hidden { display: none !important; }

/* Services */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 620px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .services-grid { grid-template-columns: 1fr 1fr 1fr 1fr; } }
.service-card { background: var(--white); border-radius: 12px; padding: 18px; border: 1px solid var(--sand); }
.service-card h3 { font-size: 0.98rem; margin-bottom: 4px; }
.service-card p { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* Surroundings */
.highlight-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.highlight-list li { background: var(--white); border-radius: 12px; padding: 14px 18px; display: flex; justify-content: space-between; gap: 12px; border: 1px solid var(--sand); font-size: 0.92rem; }
.highlight-list li strong { color: var(--green-deep); }
.highlight-list li span { color: var(--terracotta); font-weight: 700; white-space: nowrap; font-size: 0.85rem; }

/* Experience */
.experience-note { background: var(--sand); border-radius: 12px; padding: 16px; font-size: 0.85rem; color: var(--ink); margin-top: 24px; }
.photo-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .photo-gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .photo-gallery { grid-template-columns: repeat(4, 1fr); } }
.photo-gallery figure { margin: 0; border-radius: 12px; overflow: hidden; position: relative; background: var(--sand); aspect-ratio: 4/3; }
.photo-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px;
  background: linear-gradient(0deg, rgba(44,38,32,0.75), transparent);
  color: #fff; font-size: 0.72rem; font-weight: 600;
}
.photo-gallery figure.span-2 { grid-column: span 2; }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 780px) { .reviews-grid { grid-template-columns: 1fr 1fr 1fr; } }
.review-card { background: var(--white); border-radius: 12px; padding: 20px; border: 1px solid var(--sand); }
.review-card__stars { color: var(--terracotta); font-size: 0.95rem; margin-bottom: 8px; }
.review-card__author { font-weight: 700; font-size: 0.85rem; color: var(--green-deep); margin-top: 10px; }
.review-card__date { font-size: 0.78rem; color: var(--muted); }
.reviews-cta { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }

/* Location */
.location-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
@media (min-width: 880px) { .location-grid { grid-template-columns: 1fr 1fr; } }
.location-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--sand); height: 360px; }
.location-map iframe { width: 100%; height: 100%; border: 0; }
.location-info { background: var(--white); border-radius: var(--radius); padding: 24px; border: 1px solid var(--sand); }
.location-info dl { margin: 0; }
.location-info dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--muted); font-weight: 700; margin-top: 14px; }
.location-info dd { margin: 4px 0 0; font-size: 1rem; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--sand); }
.faq-item summary { cursor: pointer; padding: 16px 4px; font-weight: 700; color: var(--green-deep); list-style: none; display: flex; justify-content: space-between; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--terracotta); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 4px 16px; color: var(--muted); }

/* Final CTA */
.final-cta { text-align: center; background: linear-gradient(135deg, #3f4a34, #2c3423); color: #fff; border-radius: var(--radius); padding: 56px 24px; margin: 0 20px; }
.final-cta h2 { color: #fff; }

/* Footer */
.site-footer { background: var(--green-deep); color: rgba(244,241,234,0.85); padding: 44px 0 24px; font-size: 0.88rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-grid h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(244,241,234,0.15); margin-top: 30px; padding-top: 18px; text-align: center; font-size: 0.78rem; color: rgba(244,241,234,0.6); }

/* WhatsApp float */
.whatsapp-float {
  position: fixed; bottom: 20px; right: 20px; z-index: 50; background: #25D366; color: #fff;
  border-radius: 999px; padding: 14px 20px; display: flex; align-items: center; gap: 10px;
  text-decoration: none; box-shadow: 0 10px 24px rgba(0,0,0,0.25); font-weight: 700; font-size: 0.85rem;
  max-width: calc(100vw - 40px);
}
.whatsapp-float__icon { width: 22px; height: 22px; flex-shrink: 0; }
@media (max-width: 480px) { .whatsapp-float span.label-text { display: none; } .whatsapp-float { padding: 14px; } }

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); color: #fff;
  padding: 18px 20px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
}
.cookie-banner p { margin: 0; font-size: 0.85rem; max-width: 640px; color: rgba(255,255,255,0.85); }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 10px 18px; font-size: 0.82rem; }

/* Legal pages */
.legal-page { max-width: 760px; margin: 0 auto; padding: 60px 20px 90px; }
.legal-page h2 { margin-top: 32px; }
.legal-page .pending { background: #fbe7e0; color: #8c3418; padding: 2px 8px; border-radius: 6px; font-size: 0.82em; font-weight: 700; }

/* Admin */
.admin-body { background: var(--cream); min-height: 100vh; }
.admin-shell { display: flex; min-height: 100vh; }
.admin-sidebar { width: 220px; background: var(--green-deep); color: #fff; padding: 24px 16px; flex-shrink: 0; }
.admin-sidebar h1 { color: #fff; font-size: 1rem; margin-bottom: 24px; }
.admin-sidebar nav { display: flex; flex-direction: column; gap: 4px; }
.admin-sidebar a, .admin-sidebar button { color: rgba(255,255,255,0.8); text-decoration: none; padding: 10px 12px; border-radius: 8px; font-size: 0.9rem; background: none; border: none; text-align: left; cursor: pointer; font-family: inherit; }
.admin-sidebar a.active, .admin-sidebar a:hover, .admin-sidebar button:hover { background: rgba(255,255,255,0.12); color: #fff; }
.admin-main { flex: 1; padding: 28px; overflow-x: auto; max-width: 100%; }
.admin-login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.admin-login-box { background: #fff; border-radius: var(--radius); padding: 36px; max-width: 380px; width: 100%; box-shadow: var(--shadow); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 28px; }
.stat-card { background: #fff; border-radius: 12px; padding: 18px; border: 1px solid var(--sand); }
.stat-card .value { font-size: 1.8rem; font-weight: 800; color: var(--green-deep); }
.stat-card .label { font-size: 0.8rem; color: var(--muted); }
table.data-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; font-size: 0.88rem; }
table.data-table th, table.data-table td { padding: 10px 12px; border-bottom: 1px solid var(--sand); text-align: left; white-space: nowrap; }
table.data-table th { background: var(--sand); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.4px; }
.badge { padding: 3px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; }
.badge--confirmada { background: #e0efe0; color: #2f6b2f; }
.badge--modificada { background: #fdf0d5; color: #966208; }
.badge--cancelada { background: #f6dede; color: #a03636; }
.toolbar { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; align-items: center; }
.toolbar input, .toolbar select { padding: 8px 12px; border-radius: 8px; border: 1px solid var(--sand); }
.calendar-legend { display: flex; gap: 16px; margin-bottom: 14px; font-size: 0.82rem; }
.legend-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.cal-table { border-collapse: collapse; font-size: 0.72rem; }
.cal-table th, .cal-table td { border: 1px solid var(--sand); padding: 3px; text-align: center; min-width: 26px; }
.cal-table th { background: var(--sand); position: sticky; top: 0; }
.cal-table td.spot-col { position: sticky; left: 0; background: #fff; font-weight: 700; text-align: left; padding-left: 8px; z-index: 2;}
.cal-cell { width: 26px; height: 22px; cursor: pointer; border-radius: 3px; }
.cal-cell--free { background: #d9ead0; }
.cal-cell--busy { background: #f0c3b8; cursor: default; }
.cal-cell--blocked { background: #f7d9a3; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(44,38,32,0.5); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.modal { background: #fff; border-radius: 12px; padding: 24px; max-width: 480px; width: 100%; max-height: 90vh; overflow-y: auto; }
.form-row { margin-bottom: 12px; display: flex; flex-direction: column; gap: 4px; }
.form-row label { font-size: 0.82rem; font-weight: 700; }
.form-row input, .form-row select { padding: 9px 10px; border-radius: 8px; border: 1px solid var(--sand); }
