/* ================== VARIABLES ================== */
:root {
  --beige-claro: #ebe4d6;
  --beige-medio: #ddd2bf;
  --beige-oscuro: #c4b49a;
  --crema: #fff8ee;
  --marron-suave: #9a6b45;
  --marron-medio: #6e4a32;
  --marron-oscuro: #3a271c;
  --dorado: #b8894a;
  --dorado-hover: #9a7138;
  --dorado-claro: #d4b483;
  --sierra: #4f6b52;
  --sierra-claro: #e4eee5;
  --texto-principal: #2c241c;
  --texto-secundario: #5c4d3f;
  --texto-suave: #7a6a58;
  --borde: #d6c8b4;
  --borde-hover: #b89f7d;
  --peligro: #a65d5d;
  --transicion-rapida: 0.2s ease;
  --transicion-media: 0.3s ease;
  --sombra-suave: 0 2px 10px rgba(58, 39, 28, 0.08);
  --sombra-media: 0 6px 20px rgba(58, 39, 28, 0.12);
  --sombra-elevada: 0 12px 36px rgba(58, 39, 28, 0.16);
}

/* ================== RESET ================== */
* { box-sizing: border-box; font-family: 'Outfit', 'Quicksand', 'Segoe UI', system-ui, sans-serif; }

html { scroll-behavior: smooth; }

#hero-home, #nuestros-servicios, #fotos, #donde-encontrarnos, #reservar {
  scroll-margin-top: 96px;
}

body { margin: 0; min-height: 100vh; color: var(--texto-principal); }

/* ================== HOME BODY ================== */
.home-body {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(79, 107, 82, 0.16), transparent 42%),
    radial-gradient(ellipse at 90% 20%, rgba(184, 137, 74, 0.18), transparent 38%),
    linear-gradient(180deg, #e9e3d7 0%, #ddd4c3 50%, #d2c7b4 100%) !important;
  -webkit-font-smoothing: antialiased;
}

.home-main {
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  overflow-x: hidden;
}

/* ================== TOPBAR ================== */
.topbar-home {
  position: sticky;
  top: 0;
  z-index: 100;
  margin: 0;
  border-radius: 0;
  padding: 0;
  background: rgba(255, 248, 238, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(184, 137, 74, 0.28);
  box-shadow: 0 4px 18px rgba(58, 39, 28, 0.06);
}

.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #3a271c;
  font-weight: 700;
}

.brand-mark { font-size: 1.05rem; color: #3a271c; }

.topbar-home .menu {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  background: transparent;
  padding: 0;
  margin: 0;
}

.topbar-home .menu a {
  color: #3a271c;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease;
}

.topbar-home .menu a:hover {
  background: rgba(184, 137, 74, 0.14);
}

.btn-reservar-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #b8894a 0%, #9a7138 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(154, 113, 56, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn-reservar-top:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(154, 113, 56, 0.4);
}

@media (max-width: 880px) {
  .topbar-home .menu { display: none; }
  .topbar-inner { padding: 12px 16px; }
}

/* ================== HERO ================== */
.hero-airbnb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-banner {
  position: relative;
  width: 100%;
  min-height: clamp(360px, 52vh, 520px);
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 14px 40px rgba(58, 39, 28, 0.2);
  display: flex;
  align-items: flex-end;
}

.hero-banner-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://lce.tres-erres.com.ar/img/motoposada%20de%20frente.jpeg');
  background-size: cover;
  background-position: center 55%;
  transform: scale(1.02);
  z-index: 0;
  transition: transform 1.2s ease;
}

.hero-banner:hover .hero-banner-bg { transform: scale(1.05); }

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(30,22,16,0.15) 0%, rgba(30,22,16,0.35) 45%, rgba(30,22,16,0.78) 100%);
}

.hero-banner-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: clamp(22px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #fff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 248, 238, 0.14);
  border: 1px solid rgba(212, 180, 131, 0.45);
  backdrop-filter: blur(8px);
  color: #fff8ee;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-badge i { color: #d4b483; font-size: 0.8rem; }

.hero-banner-title {
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero-banner-lead {
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  max-width: 580px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.btn-hero-reservar {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: 6px;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #b8894a 0%, #9a7138 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-hero-reservar:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: rgba(255, 248, 238, 0.88);
  border: 1px solid rgba(184, 137, 74, 0.28);
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(58, 39, 28, 0.08);
}

.hero-features li i { font-size: 1.15rem; color: #4f6b52; margin-top: 2px; flex-shrink: 0; }
.hero-features li strong { display: block; font-size: 0.95rem; font-weight: 600; color: #3a271c; }
.hero-features li span { display: block; font-size: 0.84rem; color: #5c4d3f; margin-top: 4px; }

@media (max-width: 880px) {
  .hero-features { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 640px) {
  .hero-airbnb { padding: 14px 12px 0; gap: 14px; }
  .hero-banner { border-radius: 18px; min-height: 280px; max-height: 58vh; }
  .hero-banner-content { padding: 20px 16px 22px; gap: 10px; }
  .hero-banner-title { font-size: 1.55rem; }
  .btn-hero-reservar { width: 100%; justify-content: center; }
}

/* ================== CONTENT LAYOUT ================== */
.content-wrapper {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
}

.content-main { min-width: 0; }

.content-main > section {
  padding: 36px 0;
  border-top: 1px solid rgba(184, 137, 74, 0.22);
}

.content-main > section:first-child { border-top: none; padding-top: 8px; }

.section-title {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #3a271c;
  margin: 0 0 12px;
}

.section-lead {
  font-size: 1rem;
  line-height: 1.55;
  color: #5c4d3f;
  margin: 0 0 20px;
}

/* ================== HOST ================== */
.host-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border: 1px solid rgba(184, 137, 74, 0.28);
  border-radius: 16px;
  background: rgba(255, 248, 238, 0.9);
  box-shadow: 0 4px 16px rgba(58, 39, 28, 0.06);
}

.host-avatar-wrap {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  background: #eee;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.host-avatar { width: 100%; height: 100%; object-fit: cover; display: block; }

.host-bio {
  color: #5c4d3f;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 520px) {
  .host-card { flex-direction: column; align-items: flex-start; }
}

/* ================== SERVICIOS ================== */
.servicios-lista {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
}

.servicios-lista li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  font-size: 0.98rem;
  color: #222;
  border-bottom: 1px solid #f0f0f0;
}

.servicios-lista li i {
  flex-shrink: 0;
  width: 28px;
  text-align: center;
  color: #4f6b52 !important;
  font-size: 1.15rem !important;
}

@media (max-width: 640px) {
  .servicios-lista { grid-template-columns: 1fr; }
}

/* ================== CARRUSELES ================== */
.carruseles-wrapper { display: flex; flex-direction: column; gap: 28px; min-width: 0; }

.carrusel-bloque { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

.carrusel-subtitle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: #3a271c;
  margin: 0;
}

.carrusel-subtitle i { color: #4f6b52 !important; font-size: 1rem !important; }

.abanico-container {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  min-width: 0;
  padding: 0 2px;
}

.abanico-track {
  display: flex;
  gap: 10px;
  padding: 4px 2px 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.abanico-track::-webkit-scrollbar { display: none; }

.abanico-track img {
  flex: 0 0 auto;
  width: 220px;
  height: 155px;
  object-fit: cover;
  border-radius: 12px;
  scroll-snap-align: start;
  box-shadow: 0 3px 12px rgba(58, 39, 28, 0.12);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.abanico-track img:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(58, 39, 28, 0.16);
}

.carrusel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(184, 137, 74, 0.35);
  background: #fff8ee;
  color: #3a271c;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(58, 39, 28, 0.14);
  transition: transform 0.15s ease, opacity 0.2s ease;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}

.abanico-container:hover .carrusel-nav,
.carrusel-nav:focus-visible { opacity: 1; pointer-events: auto; }

.carrusel-nav:hover { transform: translateY(-50%) scale(1.06); }

.carrusel-nav[disabled] { opacity: 0 !important; pointer-events: none; }

.carrusel-nav.prev { left: 8px; }
.carrusel-nav.next { right: 8px; }

@media (max-width: 640px) {
  .abanico-track img { width: min(82vw, 300px); height: 200px; }
  .carrusel-nav {
    top: auto; bottom: 14px; transform: none;
    opacity: 1; pointer-events: auto; width: 40px; height: 40px;
  }
  .carrusel-nav.prev { left: 12px; }
  .carrusel-nav.next { right: 12px; }
}

@media (hover: none) and (min-width: 641px) {
  .carrusel-nav { opacity: 1; pointer-events: auto; }
}

/* ================== MAPA ================== */
.mapa-container {
  position: relative;
  width: 100%;
  height: 340px;
  max-height: 50vh;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(184, 137, 74, 0.28);
  box-shadow: 0 4px 16px rgba(58, 39, 28, 0.08);
}

.mapa-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 640px) {
  .mapa-container { height: 280px; }
}

/* ================== RESERVAS ASIDE ================== */
.reservas-aside {
  position: sticky;
  top: 96px;
  align-self: start;
}

.reservas-card {
  background: #fff8ee;
  border: 1px solid rgba(184, 137, 74, 0.35);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(58, 39, 28, 0.1);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.reservas-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.reservas-precio {
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
}

.reservas-card-texto {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* ================== FORMULARIO WHATSAPP ================== */
.reserva-form-wa {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--marron-medio);
}

.form-row input {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--borde);
  font-size: 0.95rem;
  background: var(--crema);
  color: var(--texto-principal);
  transition: border-color var(--transicion-rapida);
}

.form-row input:focus {
  outline: none;
  border-color: var(--dorado);
  box-shadow: 0 0 0 3px rgba(184, 151, 108, 0.15);
}

.form-row input::placeholder {
  color: var(--texto-suave);
}

.form-error {
  min-height: 20px;
  color: var(--peligro);
  font-weight: 600;
  font-size: 0.88rem;
}

.btn-reservar-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  background: linear-gradient(135deg, var(--dorado) 0%, var(--dorado-hover) 100%);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 18px;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(184, 151, 108, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-reservar-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(184, 151, 108, 0.4);
}

.reservas-card-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid #ebebeb;
  color: #717171;
  font-size: 0.85rem;
}

.reservas-card-footer i { color: #25d366 !important; font-size: 1.1rem !important; }

@media (max-width: 1024px) {
  .content-grid { grid-template-columns: 1fr; gap: 32px; }
  .reservas-aside { position: static; }
  .reservas-card { max-width: 480px; margin: 0 auto; }
}

@media (max-width: 520px) {
  .content-wrapper { padding: 20px 14px 56px; }
  .content-main > section { padding: 28px 0; }
  .host-card { padding: 16px; }
}

/* ================== FOOTER ================== */
.site-footer {
  background: linear-gradient(180deg, #3a271c 0%, #2a1b14 100%);
  padding: 32px 24px;
}

.site-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.footer-text { color: rgba(255, 248, 238, 0.78); font-size: 0.9rem; margin: 0; }
.footer-copy { color: rgba(255, 248, 238, 0.5); font-size: 0.8rem; margin: 0; }

/* ================== LIGHTBOX ================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.activo { display: flex; }

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}

.lightbox-img {
  position: relative;
  z-index: 2;
  max-width: 95vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.lightbox-cerrar {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox-cerrar:hover { background: rgba(255, 255, 255, 0.35); }
