/* Aura Eco Glamping — public site
   Palette matches reservas/admin/anfitriones (pulled from ~/aura/logo.pdf), not the
   Nomora template kit's own green/gold — see reservas/templates/base.html. */

:root {
  --teal: #2D7D79;
  --teal-dark: #123A3B;
  --cream: #F1E5BE;
  --cream-soft: #F8F1DC;
  --ink: #14302E;
  --white: #FFFFFF;
  --text-muted: #5B6B67;
  --border: #E4D9AE;
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 32px rgba(18, 58, 59, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; margin: 0 0 .5em; color: var(--teal-dark); }
p { margin: 0 0 1em; color: var(--text-muted); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  min-height: 44px;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal-dark); color: var(--white); }
.btn-primary:hover { background: var(--teal); }
.btn-outline { background: transparent; color: var(--teal-dark); border-color: var(--teal-dark); }
.btn-outline:hover { background: var(--teal-dark); color: var(--white); }
.btn-light { background: var(--white); color: var(--teal-dark); }
.btn-sm { padding: 10px 20px; font-size: 14px; min-height: 38px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 20px;
  color: var(--teal-dark);
  white-space: nowrap;
}
.brand-logo { height: 40px; width: 40px; border-radius: 50%; }
.brand-sub { font-weight: 500; font-size: 14px; color: var(--text-muted); }
.brand-light, .brand-light .brand-sub { color: var(--cream); }
.nav-main { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: center; }
.nav-main a { font-weight: 600; font-size: 15px; color: var(--ink); padding: 8px 0; border-bottom: 2px solid transparent; }
.nav-main a:hover, .nav-main a.active { color: var(--teal-dark); border-color: var(--teal); }
.header-cta { white-space: nowrap; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--teal-dark); margin: 0 auto; }

/* Hero */
.hero {
  margin: 20px auto 0;
  max-width: 1180px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,58,59,.15) 0%, rgba(18,58,59,.75) 100%);
}
.hero-inner { position: relative; padding: 48px 40px; color: var(--white); max-width: 640px; }
.hero-inner .breadcrumb { font-size: 14px; opacity: .85; margin-bottom: 8px; }
.hero-inner .breadcrumb a { text-decoration: underline; }
.hero-inner h1 { color: var(--white); font-size: clamp(32px, 5vw, 48px); margin-bottom: 8px; }
.page-hero { min-height: 260px; }
.page-hero .hero-inner { max-width: 100%; text-align: center; margin: 0 auto; padding-bottom: 40px; }

.home-hero { min-height: 560px; }
.home-hero .hero-inner { padding: 64px 48px; }
.home-hero h1 { font-size: clamp(38px, 6vw, 64px); }
.home-hero .accent { color: #F6D98A; }
.home-hero .lead { color: rgba(255,255,255,.9); max-width: 420px; margin-bottom: 24px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Section layout */
.section { padding: 72px 0; }
.section-tight { padding: 40px 0; }
.section-cream { background: var(--cream-soft); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 700; color: var(--teal); margin-bottom: 10px; display: block; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head p { margin-top: 12px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

/* Icon box cards */
.icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.icon-box { text-align: center; }
.icon-box .icon-circle {
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  background: var(--teal-dark); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin: 0 auto 16px;
}
.icon-box h4 { font-size: 17px; margin-bottom: 6px; }
.icon-box p { font-size: 14px; }

/* Feature list (activities style, icon-left) */
.feature-list { display: flex; flex-direction: column; gap: 22px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-item .icon-circle {
  width: 46px; height: 46px; min-width: 46px; border-radius: var(--radius-sm);
  background: var(--teal-dark); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.feature-item h4 { margin-bottom: 4px; font-size: 16px; }
.feature-item p { font-size: 14px; margin: 0; }
.feature-panel { background: var(--cream-soft); border-radius: var(--radius-md); padding: 32px; }
.feature-panel img { border-radius: var(--radius-md); }
.feature-media img { border-radius: var(--radius-md); width: 100%; height: 100%; object-fit: cover; }

/* CTA banner */
.cta-banner {
  border-radius: var(--radius-lg);
  background-size: cover; background-position: center;
  position: relative; overflow: hidden;
  padding: 56px 40px;
  color: var(--white);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-banner::before { content: ""; position: absolute; inset: 0; background: rgba(18,58,59,.6); }
.cta-banner > * { position: relative; }
.cta-banner h2 { color: var(--white); font-size: clamp(24px, 4vw, 34px); margin-bottom: 0; }
.cta-banner .accent { color: #F6D98A; }
.cta-banner-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Cards grid (accommodation) */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
/* Only 2 accommodation cards exist (Domos/Elements -- location-only, no per-unit picking) --
   center them instead of leaving an empty third column. Desktop-only; the existing ≤900px/
   ≤560px .card-grid breakpoints below still collapse it normally on tablet/mobile. */
@media (min-width: 901px) {
  .card-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 700px; margin-left: auto; margin-right: auto; }
}
.acc-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow); }
.acc-card img { height: 220px; width: 100%; object-fit: cover; }
.acc-card-body { padding: 20px; }
.acc-card h3 { font-size: 19px; margin-bottom: 6px; }
.acc-card p { font-size: 14px; }
.acc-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.acc-price { font-weight: 800; color: var(--teal-dark); font-size: 18px; }
.acc-price small { font-weight: 500; font-size: 13px; color: var(--text-muted); }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.testi-card { background: var(--cream-soft); border-radius: var(--radius-md); padding: 28px; }
.testi-card .stars { color: #E0A800; margin-bottom: 12px; }
.testi-person { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.gallery-grid img { border-radius: var(--radius-md); width: 100%; height: 260px; object-fit: cover; cursor: zoom-in; transition: transform .2s ease; }
.gallery-grid img:hover { transform: scale(1.02); }

/* Narrative / long-form text (Historia) */
.narrative { max-width: 760px; margin: 0 auto; }
.narrative p { margin-bottom: 1.2em; }

/* Quote block ("¿Por qué Aura?") -- like the CTA banner but text-only, taller */
.quote-block {
  border-radius: var(--radius-lg);
  background-size: cover; background-position: center;
  position: relative; overflow: hidden;
  padding: 72px 40px;
  color: var(--white);
  text-align: center;
}
.quote-block::before { content: ""; position: absolute; inset: 0; background: rgba(18,58,59,.68); }
.quote-block > * { position: relative; }
.quote-block p { color: rgba(255,255,255,.92); font-size: 18px; max-width: 640px; margin: 0 auto 1em; }
.quote-block .tagline { color: #F6D98A; font-weight: 700; font-size: 20px; margin-top: 20px; }

/* FAQ accordion */
.faq-cols { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.faq-group { margin-bottom: 36px; }
.faq-group h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: var(--teal); margin-bottom: 16px; }
.accordion-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; background: var(--white); }
.accordion-item.open { border-color: var(--teal-dark); }
.accordion-trigger {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; font-weight: 600; font-size: 15px; color: var(--ink);
}
.accordion-item.open .accordion-trigger { background: var(--teal-dark); color: var(--white); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.accordion-item.open .accordion-panel { max-height: 300px; }
.accordion-panel-inner { padding: 0 20px 18px; font-size: 14px; color: var(--text-muted); }

/* Forms */
.form-panel { background: var(--cream-soft); border-radius: var(--radius-md); padding: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border-radius: 999px; border: 1px solid var(--border);
  font-size: 16px; font-family: inherit; background: var(--white); min-height: 44px;
}
.field textarea { border-radius: var(--radius-sm); min-height: 120px; resize: vertical; }
.form-note { font-size: 12px; color: var(--text-muted); margin-top: 10px; }

/* Booking sidebar */
.booking-box { background: var(--cream-soft); border-radius: var(--radius-md); padding: 28px; position: sticky; top: 96px; }
.booking-box h3 { margin-bottom: 8px; }

/* Contact info list */
.info-list { display: flex; flex-direction: column; gap: 18px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item .icon-circle { width: 42px; height: 42px; min-width: 42px; border-radius: 50%; background: var(--teal-dark); color: var(--white); display: flex; align-items: center; justify-content: center; }
.icon-circle svg { width: 20px; height: 20px; }
.social-icons svg { width: 18px; height: 18px; }
.info-item strong { display: block; margin-bottom: 2px; }
.social-icons { display: flex; gap: 10px; margin-top: 10px; }
.social-icons a { width: 36px; height: 36px; border-radius: 50%; background: var(--teal-dark); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; margin-top: 48px; }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* 404 */
.notfound-hero { min-height: 480px; }
.notfound-hero h1 { font-size: 96px; margin-bottom: 0; }

/* Footer */
.site-footer { background: var(--teal-dark); color: var(--cream); margin-top: 80px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1.3fr 1fr; gap: 40px; padding: 56px 0 32px; }
.footer-col { min-width: 0; }
.footer-col + .footer-col { padding-left: 20px; }
.footer-col h4 { color: var(--cream); font-size: 15px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: rgba(241,229,190,.8); font-size: 14px; margin-bottom: 10px; overflow-wrap: anywhere; }
.footer-col a { display: flex; align-items: center; gap: 8px; }
.footer-col svg { flex: none; width: 16px; height: 16px; }
.footer-about p { max-width: 320px; }
.footer-bottom { border-top: 1px solid rgba(241,229,190,.15); padding: 18px 0; font-size: 13px; color: rgba(241,229,190,.65); }

/* Disponibilidad — checkout wizard. The inline month calendar reuses the same
   visual language as reservas/templates/base.html's internal date-picker
   (colors/thresholds kept identical so staff and guests read it the same
   way), the rest (progress bar, choice cards, review) is new to this page. */
.disp-wizard-wrap { max-width: 640px; }
.disp-progress { display: flex; flex-wrap: wrap; gap: 6px 4px; margin: 24px 0 32px; }
.disp-progress-step {
  flex: 1; min-width: 70px; display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 700; color: var(--text-muted); position: relative;
}
.disp-progress-step::before {
  content: attr(data-step); width: 28px; height: 28px; border-radius: 50%; background: var(--cream-soft);
  color: var(--teal-dark); display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.disp-progress-step em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--text-muted); }
.disp-progress-step.active::before { background: var(--teal-dark); color: var(--white); }
.disp-progress-step.active em { color: var(--teal-dark); }
.disp-progress-step.done::before { background: var(--teal); color: var(--white); }
.disp-step h2 { margin-top: 4px; }
.disp-selected-summary { font-size: 14px; color: var(--teal-dark); font-weight: 600; margin-bottom: 16px; }
.disp-back {
  display: inline-block; margin-top: 18px; background: none; border: none; color: var(--text-muted);
  font-size: 14px; font-weight: 600; cursor: pointer; padding: 0;
}
.disp-back:hover { color: var(--teal-dark); }
.disp-guest-options, .disp-location-cards, .disp-service-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 18px; }
.disp-choice-card {
  background: var(--white); border: 2px solid var(--border); border-radius: var(--radius-md);
  padding: 20px 16px; text-align: center; cursor: pointer; display: flex; flex-direction: column;
  align-items: center; gap: 4px; font-family: inherit;
}
.disp-choice-card:hover:not(:disabled) { border-color: var(--teal); }
.disp-choice-card strong { font-size: 16px; color: var(--teal-dark); }
.disp-choice-card span { font-size: 13px; color: var(--text-muted); }
.disp-nights-checkout { font-size: 11px !important; color: var(--teal) !important; }
.disp-choice-card:disabled, .disp-choice-card.disp-unavailable { opacity: .5; cursor: not-allowed; }
.disp-guest-custom { background: var(--cream-soft); border-radius: var(--radius-md); padding: 16px 18px; margin-bottom: 8px; }
.disp-guest-custom label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.disp-guest-custom-row { display: flex; gap: 10px; }
.disp-guest-custom-row input {
  flex: 1; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--border);
  font-size: 16px; font-family: inherit; min-height: 44px;
}
.disp-location-emoji, .disp-service-emoji { font-size: 28px; }
.disp-location-price { font-weight: 700; color: var(--teal-dark); }
.disp-card-heading { margin-top: 24px; }
.disp-review-card { background: var(--cream-soft); border-radius: var(--radius-md); padding: 20px 22px; margin-bottom: 16px; }
.disp-review-card p { margin: 0 0 8px; font-size: 14px; }
.disp-review-total { font-size: 17px; margin-top: 12px !important; }
.disp-note { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.disp-note-muted { font-style: italic; }
.disp-error { color: #b5382c; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.disp-service-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 18px 16px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center;
}
.disp-service-soon { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--teal); font-weight: 700; margin-top: 6px; }
.disp-calendar.date-picker-inline { width: 340px; max-width: 100%; }
.date-picker-inline {
  background: var(--white); border: 2px solid var(--teal); border-radius: 10px;
  padding: 14px; max-width: 100%; box-sizing: border-box;
}
.date-picker-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.date-picker-header span { font-weight: 700; color: var(--teal-dark); text-transform: capitalize; }
.date-picker-nav {
  width: 36px; height: 36px; border: none; border-radius: 8px; background: var(--cream-soft);
  color: var(--teal-dark); font-size: 18px; cursor: pointer;
}
.date-picker-weekdays, .date-picker-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.date-picker-weekdays span { text-align: center; font-size: 12px; font-weight: 700; color: var(--teal-dark); }
.dp-day {
  height: 38px; border: 2px solid transparent; border-radius: 8px; background: var(--cream-soft);
  cursor: pointer; font-size: 13px; color: var(--ink); display: flex; align-items: center; justify-content: center;
}
.dp-day.dp-empty { visibility: hidden; cursor: default; }
.dp-day.avail-green { background: #dff3e2; }
.dp-day.avail-yellow { background: #fdf1c7; }
.dp-day.avail-orange { background: #fbe0c0; }
.dp-day.avail-red { background: #f7d3cd; }
.dp-day.dp-today { border-color: var(--teal); }
.dp-day.dp-selected { border-color: var(--teal-dark); font-weight: 700; box-shadow: inset 0 0 0 1px var(--teal-dark); }
.dp-day.dp-past { opacity: .4; cursor: not-allowed; }
.dp-day:disabled { opacity: .4; cursor: not-allowed; }

/* Responsive */
@media (max-width: 900px) {
  .nav-main, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-main.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 76px; left: 0; right: 0; background: var(--white);
    padding: 16px 20px; border-bottom: 1px solid var(--border);
  }
  .two-col, .card-grid, .testi-grid, .gallery-grid, .faq-cols, .form-row { grid-template-columns: 1fr; }
  .icon-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .booking-box { position: static; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .icon-grid, .card-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 32px 24px; }
  .notfound-hero h1 { font-size: 64px; }
  .footer-inner { padding: 40px 0 24px; }
}
