/* Landing pública — La Hacienda Eventos */
:root {
  --forest: #18321e;
  --cream: #f7f2e9;
  --paper: #fffdf8;
  --gold: #b79852;
  --ink: #171a17;
  --muted: #646a62;
  --line: #e7e0d6;
  --success: #3fa95a;
  --warning: #d2a83f;
  --danger: #d54a4a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--ink); background: var(--cream); }
h1, h2, h3, .serif { font-family: "Cormorant Garamond", Georgia, serif; }
img { max-width: 100%; }
.container-xl { max-width: 1180px; }
:focus-visible { outline: 3px solid #e4c77d; outline-offset: 3px; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 2000; background: #fff; padding: 8px 14px; border-radius: 8px; }

/* ---------- Navegación ---------- */
.navbar { padding: 20px 0; transition: background .25s, padding .25s; }
.navbar.scrolled { background: rgba(20, 44, 25, .95); backdrop-filter: blur(16px); padding: 10px 0; box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand-logo { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; filter: invert(1) grayscale(1) contrast(1.7); mix-blend-mode: screen; }
.brand-text { font-size: 10px; line-height: 1.3; letter-spacing: 3px; font-weight: 700; }
.nav-link { color: rgba(255, 255, 255, .88) !important; font-size: 13px; }
.nav-link:hover { color: #fff !important; }
.wa-pill { display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px; border-radius: 999px; background: rgba(24, 50, 30, .92); border: 1px solid rgba(255, 255, 255, .18); color: #fff; text-decoration: none; font-weight: 700; }
.wa-pill:hover { background: #24492b; color: #fff; }

/* ---------- Portada ---------- */
.hero { min-height: min(760px, 100svh); position: relative; color: #fff; overflow: hidden; background: #132417; display: flex; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 23, 12, .9), rgba(9, 23, 12, .62) 35%, rgba(9, 23, 12, .15) 70%); }
.hero-inner { position: relative; z-index: 3; display: flex; align-items: center; padding-top: 110px; padding-bottom: 70px; }
.eyebrow { font-size: 12px; letter-spacing: 5px; text-transform: uppercase; font-weight: 700; }
.hero h1 { font-size: clamp(58px, 9vw, 118px); line-height: .8; letter-spacing: -2px; margin: 12px 0 22px; max-width: 680px; }
.hero p { max-width: 570px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .92); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.btn-cream { background: #f7efe4; color: #192019; border: 0; padding: 14px 20px; border-radius: 14px; font-weight: 800; }
.btn-cream:hover { background: #fff; color: #192019; }
.btn-cream-dark { background: var(--forest); color: #fff; }
.btn-cream-dark:hover { background: #24492b; color: #fff; }
.btn-glass { border: 1px solid rgba(255, 255, 255, .4); color: #fff; padding: 14px 20px; border-radius: 14px; background: rgba(255, 255, 255, .08); backdrop-filter: blur(8px); text-decoration: none; font-weight: 700; }
.btn-glass:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.location-chip { position: absolute; z-index: 3; right: 4%; bottom: 24px; background: rgba(20, 44, 25, .77); backdrop-filter: blur(12px); padding: 11px 15px; border-radius: 14px; display: flex; gap: 10px; align-items: center; font-size: 12px; }

/* ---------- Bienvenida y espacios ---------- */
.paper { overflow-x: clip; background: radial-gradient(circle at 0 0, rgba(30, 70, 36, .08), transparent 20%), #fbf8f2; }
.section-pad { padding: 80px 0; }
.section-title { font-size: clamp(48px, 6vw, 76px); line-height: .9; margin: 8px 0 17px; }
.gold-line { width: 86px; height: 3px; background: var(--gold); margin: 17px 0 22px; }
.lead-copy { font-size: 16px; line-height: 1.7; color: #3b403b; }
.feature-row { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 28px; }
.feature { text-align: center; font-size: 13px; }
.feature i { font-size: 33px; display: block; }
.collage { position: relative; min-height: 470px; }
.shot { position: absolute; background: #fff; padding: 9px; border: 1px solid #eee5d8; box-shadow: 0 20px 40px rgba(36, 34, 29, .16); }
.shot img { width: 100%; height: auto; aspect-ratio: 4 / 3; display: block; object-fit: cover; }
.shot.a { width: 62%; left: 2%; top: 0; transform: rotate(-2deg); }
.shot.b { width: 52%; right: 0; bottom: 0; transform: rotate(4deg); }

.venue-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 64px; }
.venue-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.venue-card > i { font-size: 28px; color: var(--gold); }
.venue-card h3 { font-size: 30px; margin: 8px 0 2px; }
.venue-cap { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; color: var(--forest); margin-bottom: 8px; }
.venue-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ---------- Galería ---------- */
.gallery-band { display: grid; grid-template-columns: 1.1fr .9fr 1fr; height: 380px; }
.gallery-band figure { margin: 0; overflow: hidden; }
.gallery-band img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-band figure:hover img { transform: scale(1.04); }

/* ---------- Tipos de evento ---------- */
.event-types { padding: 72px 0; color: #fff; background: linear-gradient(rgba(19, 38, 22, .7), rgba(19, 38, 22, .78)), url('../images/salon.jpeg') center/cover; }
.event-types h2 { font-size: clamp(42px, 6vw, 64px); }
.type-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; max-width: 920px; margin: 26px auto 0; }
.type-card { text-align: center; }
.type-card i { font-size: 36px; display: block; margin-bottom: 8px; }

/* ---------- Disponibilidad y solicitud ---------- */
.booking { padding: 75px 0; background: #f8f3eb; }
.booking h2 { font-size: clamp(44px, 5vw, 58px); line-height: .94; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: #555b54; }
.dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 5px; }
.green { background: var(--success); }
.yellow { background: var(--warning); }
.red { background: var(--danger); }
.gray { background: #c8cbc5; }
.cal-card, .request-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: 0 14px 34px rgba(33, 33, 27, .07); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-nav { width: 38px; height: 38px; border-radius: 50%; }
.cal-nav:hover:not(:disabled) { background: #f2eee8; }
.cal-nav:disabled { opacity: .25; border-color: transparent; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; text-align: center; font-size: 13px; min-height: 290px; align-content: start; transition: opacity .15s; }
.cal-grid.loading { opacity: .45; }
.cal-label { font-weight: 800; color: #5b625b; padding: 5px; font-size: 12px; }
.cal-error { grid-column: 1 / -1; padding: 30px 10px; color: var(--muted); font-size: 13px; }
.day { width: 40px; height: 40px; border: 0; background: transparent; border-radius: 50%; margin: auto; display: grid; place-items: center; position: relative; color: var(--ink); padding: 0; }
button.day { cursor: pointer; }
button.day:hover:not(:disabled) { background: #f2eee8; }
.day::after { content: ""; position: absolute; bottom: 3px; width: 5px; height: 5px; border-radius: 50%; }
.day.available::after { background: var(--success); }
.day.hold::after { background: var(--warning); }
.day.booked::after { background: var(--danger); }
.day.unavailable::after { background: #b9bcb6; }
.day.booked, .day.unavailable { color: #8b908a; }
.day.past { color: #c3c6c0; cursor: default; }
.day.is-today { box-shadow: inset 0 0 0 1.5px var(--gold); font-weight: 700; }
.day.selected, button.day.selected:hover { background: var(--forest); color: #fff; font-weight: 800; }
.day.selected::after { display: none; }
.availability-box { margin-top: 16px; padding-top: 14px; border-top: 1px solid #eee9e1; min-height: 66px; }
.request-card h3 { font-size: 31px; }
.form-control, .form-select { border-color: #e6e0d7; border-radius: 9px; padding: .72rem .8rem; font-size: 14px; }
.form-control:focus, .form-select:focus { border-color: #8fae93; box-shadow: 0 0 0 .2rem rgba(24, 50, 30, .12); }
.btn-wa { width: 100%; border: 0; background: var(--forest); color: #fff; font-weight: 800; border-radius: 9px; padding: 13px; }
.btn-wa:hover:not(:disabled) { background: #24492b; }
.btn-wa:disabled { opacity: .65; }
.form-note { font-size: 11px; color: var(--muted); margin: 10px 0 0; text-align: center; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Llamado final y pie ---------- */
.cta-photo { padding: 85px 0; background: linear-gradient(90deg, rgba(248, 240, 227, .97), rgba(248, 240, 227, .7) 48%, rgba(248, 240, 227, .05)), url('../images/jardin-lateral.jpeg') center/cover; }
.cta-photo h2 { font-size: clamp(42px, 5vw, 54px); line-height: .9; }
.footer { background: var(--forest); color: #fff; }
.footer-top { padding: 25px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.foot-item { display: flex; gap: 13px; align-items: center; color: #fff; text-decoration: none; }
a.foot-item:hover { color: #e4c77d; }
.foot-item i { font-size: 28px; }
.foot-item small { display: block; color: #cfd8cf; }
.footer-bottom { padding: 18px 0; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 12px; color: #d2dbd2; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 1000; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 28px; text-decoration: none; box-shadow: 0 10px 26px rgba(0, 0, 0, .25); transition: transform .15s; }
.wa-float:hover { color: #fff; transform: scale(1.07); }

/* ---------- Adaptación a pantallas ---------- */
@media (max-width: 991px) {
  .navbar-collapse { background: rgba(20, 44, 25, .97); margin-top: 12px; padding: 10px 18px; border-radius: 14px; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(9, 23, 12, .35), rgba(9, 23, 12, .82) 62%, rgba(9, 23, 12, .95)); }
  .hero-inner { align-items: flex-end; padding-bottom: 80px; }
  .location-chip { display: none; }
  .collage { margin-top: 35px; }
  .type-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-band { grid-template-columns: 1fr 1fr; }
  .gallery-band figure:last-child { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .brand-logo { width: 48px; height: 48px; }
  .hero p { font-size: 15px; }
  .section-pad { padding: 60px 0; }
  .collage { min-height: 0; aspect-ratio: 1 / .95; }
  .shot.a { width: 70%; }
  .shot.b { width: 58%; }
  .venue-grid { margin-top: 44px; }
  .gallery-band { height: 250px; }
  .type-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-photo { background: linear-gradient(rgba(248, 240, 227, .93), rgba(248, 240, 227, .86)), url('../images/jardin-lateral.jpeg') center/cover; }
  .footer-grid { gap: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
