/* =========================================================
   JARDÍN SOLÉE · estilos
   ========================================================= */
:root {
  --verde-900: #1f3328;
  --verde-800: #2f4a3a;
  --verde-600: #4d6b55;
  --verde-200: #d5e0d2;
  --crema: #f8f3ea;
  --crema-2: #f1e9db;
  --blanco: #fffdf9;
  --oro: #c9a14a;
  --oro-claro: #e8cf8f;
  --terracota: #c0714f;
  --texto: #26302a;
  --texto-suave: #5f6a62;

  --disponible: #6fa577;
  --apartado: #e0b24a;
  --reservado: #c0714f;
  --bloqueado: #9aa19c;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --shadow: 0 18px 50px -20px rgba(31, 51, 40, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--texto);
  background: var(--crema);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; }
h1 em, h2 em { font-style: italic; color: var(--oro); }
button { font: inherit; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section__head h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.section__sub { color: var(--texto-suave); margin-top: 12px; }
.eyebrow {
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--oro); font-weight: 500; margin: 0 0 12px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  background: var(--oro); color: var(--verde-900);
  font-weight: 500; letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s;
}
.btn:hover { background: var(--oro-claro); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(201,161,74,.7); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible, .tool:focus-visible, .cal__day:focus-visible, a:focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; }
.btn--small { padding: 9px 18px; font-size: .9rem; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.12); box-shadow: none; }
.btn--ghost-dark { background: transparent; color: var(--verde-800); border-color: var(--verde-200); }
.btn--ghost-dark:hover { background: var(--verde-200); box-shadow: none; }
.btn--block { width: 100%; }
.link-btn { background: none; border: 0; color: inherit; opacity: .6; cursor: pointer; text-decoration: underline; padding: 0; }
.link-btn:hover { opacity: 1; }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px max(16px, calc((100% - 1180px) / 2));
  color: #fff; transition: background .3s, padding .3s, color .3s, box-shadow .3s;
}
.nav.is-scrolled {
  background: rgba(248, 243, 234, .92); backdrop-filter: blur(12px);
  color: var(--verde-900); padding-block: 10px; box-shadow: 0 6px 24px -18px rgba(0,0,0,.4);
}
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.6rem; }
.nav__logo svg { width: 30px; height: 30px; color: var(--oro); }
.nav__logo em { font-style: italic; color: var(--oro); }
.nav__logo--light { color: var(--crema); }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) { text-decoration: none; font-size: .95rem; position: relative; }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
}
.nav__links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: inherit; position: relative; z-index: 2; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px auto; transition: transform .3s, opacity .3s; }

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 28px;
    background: var(--verde-900); color: var(--crema); font-size: 1.3rem;
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav__links a:not(.btn) { font-family: var(--serif); font-size: 1.8rem; }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; }
  .nav.is-open { color: var(--crema); }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  text-align: center; color: #fff; overflow: hidden; padding: 120px 16px 80px;
  background: var(--verde-900);
}
.hero__bg {
  position: absolute; inset: 0;
  background-color: var(--verde-900); background-size: cover; background-position: center;
  animation: heroZoom 18s ease-out forwards;
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,33,26,.55) 0%, rgba(20,33,26,.25) 45%, rgba(20,33,26,.75) 100%);
}
.hero__edit {
  display: none; position: absolute; top: 90px; right: 16px; z-index: 2;
  background: var(--oro); color: var(--verde-900); border: 0; border-radius: 999px;
  padding: 10px 18px; font-weight: 500; cursor: pointer; box-shadow: var(--shadow);
}
body.is-admin .hero__edit { display: block; }

/* Fotos editables en modo dueños */
body.is-admin [data-foto]:not([data-foto-fondo]) { outline: 3px dashed var(--oro); outline-offset: -3px; cursor: pointer; }
body.is-admin [data-foto]:not([data-foto-fondo]):hover { filter: brightness(.8); }
body.is-admin .evento__body { pointer-events: none; }
.photo-preview { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; background: var(--verde-200); }
.modal label.btn { cursor: pointer; }
.admin-pill {
  position: fixed; left: 50%; bottom: 18px; translate: -50% 0; z-index: 45;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  background: var(--verde-900); color: var(--crema); padding: 8px 8px 8px 18px; border-radius: 999px;
  box-shadow: var(--shadow); font-size: .88rem; max-width: calc(100% - 110px);
}
@media (max-width: 760px) {
  .admin-pill { left: 16px; translate: none; max-width: calc(100% - 100px); border-radius: 18px; padding: 10px 12px; }
  .admin-pill span { flex-basis: 100%; }
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__content { position: relative; max-width: 820px; animation: rise 1s .2s var(--ease) both; }
.hero .eyebrow { color: var(--oro-claro); }
.hero h1 { font-size: clamp(2.8rem, 8vw, 5.6rem); font-weight: 400; }
.hero h1 em { color: var(--oro-claro); }
.hero__lead { font-size: clamp(1rem, 2.2vw, 1.2rem); font-weight: 300; max-width: 560px; margin: 22px auto 34px; opacity: .92; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero__scroll { position: absolute; bottom: 28px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.7); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ---------- El espacio ---------- */
.espacio__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.espacio__text h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 20px; }
.espacio__text p { color: var(--texto-suave); }
.stats { list-style: none; padding: 0; margin: 32px 0 0; display: flex; gap: clamp(20px, 4vw, 44px); }
.stats strong { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 500; color: var(--verde-800); line-height: 1; }
.stats span { font-size: .85rem; color: var(--texto-suave); text-transform: uppercase; letter-spacing: .12em; }
.espacio__imgs { position: relative; min-height: 460px; }
.espacio__imgs img { position: absolute; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); background: var(--verde-200); }
.espacio__imgs img:first-child { inset: 0 18% 14% 0; width: 82%; height: 86%; }
.espacio__imgs img:last-child { right: 0; bottom: 0; width: 46%; height: 50%; border: 6px solid var(--crema); }
.amenidades { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: clamp(56px, 8vw, 96px); }
.amenidad { background: var(--blanco); padding: 26px 22px; border-radius: var(--radius); border: 1px solid var(--crema-2); transition: transform .3s var(--ease), box-shadow .3s; }
.amenidad:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.amenidad span { font-size: 1.7rem; }
.amenidad h3 { font-size: 1.45rem; margin: 10px 0 6px; color: var(--verde-800); }
.amenidad p { margin: 0; font-size: .92rem; color: var(--texto-suave); }

/* ---------- Eventos ---------- */
.eventos { background: var(--verde-900); color: var(--crema); }
.eventos .section__head h2 { color: var(--crema); }
.eventos__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.evento { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4.2; background: var(--verde-800); }
.evento img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.evento::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 40%, rgba(15,25,20,.88)); }
.evento:hover img { transform: scale(1.07); }
.evento__body { position: absolute; inset: auto 0 0; padding: 22px; z-index: 1; }
.evento h3 { font-size: 1.7rem; color: #fff; }
.evento p { margin: 6px 0 0; font-size: .92rem; opacity: .85; }

/* ---------- Galería ---------- */
.galeria__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 14px; }
.galeria__grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; background: var(--verde-200); transition: transform .5s var(--ease), filter .5s; }
.galeria__grid img:hover { transform: scale(1.02); filter: brightness(1.05); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* ---------- Calendario ---------- */
.calendario { background: linear-gradient(180deg, var(--crema-2), var(--crema)); }
.cal { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.cal__main { background: var(--blanco); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.cal__hero { position: relative; height: clamp(190px, 26vw, 270px); overflow: hidden; }
.cal__hero-img {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: opacity .5s, transform 1.2s var(--ease);
}
.cal__hero-img.is-changing { opacity: 0; transform: scale(1.06); }
.cal__hero-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(10px, 3vw, 24px); color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.5));
}
.cal__title { text-align: center; text-shadow: 0 2px 18px rgba(0,0,0,.4); }
.cal__title h3 { font-size: clamp(2.6rem, 7vw, 4.4rem); font-weight: 500; font-style: italic; }
.cal__year { letter-spacing: .4em; font-size: .85rem; opacity: .9; }
.cal__tagline { display: block; font-size: .95rem; opacity: .9; margin-top: 4px; font-weight: 300; }
.cal__nav {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.14); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer;
  backdrop-filter: blur(6px); transition: background .2s, transform .2s; flex-shrink: 0;
}
.cal__nav:hover { background: rgba(255,255,255,.3); transform: scale(1.06); }
.cal__nav:disabled { opacity: .3; cursor: default; transform: none; }
.cal__months { position: relative; display: flex; gap: 6px; overflow-x: auto; padding: 14px 18px 4px; scrollbar-width: none; }
.cal__months::-webkit-scrollbar { display: none; }
.cal__months button {
  flex-shrink: 0; border: 1px solid var(--crema-2); background: transparent; border-radius: 999px;
  padding: 5px 12px; font-size: .8rem; cursor: pointer; color: var(--texto-suave); transition: all .2s;
}
.cal__months button:hover { border-color: var(--oro); color: var(--verde-900); }
.cal__months button.is-active { background: var(--verde-800); color: var(--crema); border-color: var(--verde-800); }
.cal__week, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; padding: 0 18px; }
.cal__week { padding-top: 14px; padding-bottom: 8px; }
.cal__week span { text-align: center; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--texto-suave); }
.cal__week span:nth-child(n+6) { color: var(--terracota); }
.cal__grid { padding-bottom: 8px; }
.cal__day {
  position: relative; aspect-ratio: 1 / .92; border-radius: 12px; border: 1px solid transparent;
  background: var(--crema); cursor: pointer; padding: 6px 7px; text-align: left;
  display: flex; flex-direction: column; justify-content: space-between; min-width: 0;
  transition: transform .15s var(--ease), box-shadow .2s, border-color .2s, background .2s;
  color: var(--texto);
}
.cal__day:hover:not(:disabled):not(.is-empty) { transform: translateY(-2px); box-shadow: 0 8px 18px -10px rgba(0,0,0,.35); border-color: var(--oro); }
.cal__day .num { font-family: var(--serif); font-size: clamp(1.05rem, 2.2vw, 1.45rem); font-weight: 600; line-height: 1; }
.cal__day .label { font-size: .64rem; line-height: 1.15; color: var(--texto-suave); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cal__day .star { position: absolute; top: 5px; right: 7px; color: var(--oro); font-size: .8rem; }
.cal__day .bar { position: absolute; left: 7px; right: 7px; bottom: 5px; height: 4px; border-radius: 4px; }
.cal__day.is-empty { background: transparent; cursor: default; }
.cal__day.is-past { opacity: .38; cursor: default; }
.cal__day.is-today { border-color: var(--verde-800); }
.cal__day.is-today .num::after { content: "hoy"; font-family: var(--sans); font-size: .58rem; font-weight: 500; margin-left: 4px; color: var(--verde-600); letter-spacing: .08em; vertical-align: middle; }
.cal__day.is-selected { border-color: var(--oro); box-shadow: 0 0 0 2px var(--oro); }
.cal__day.is-official .num { color: var(--terracota); }
.cal__day.st-disponible .bar { background: var(--disponible); }
.cal__day.st-apartado { background: #fbf0d4; }
.cal__day.st-apartado .bar { background: var(--apartado); }
.cal__day.st-reservado { background: #f4ddd2; }
.cal__day.st-reservado .bar { background: var(--reservado); }
.cal__day.st-bloqueado { background: repeating-linear-gradient(135deg, #ecebe6 0 6px, #e2e1db 6px 12px); }
.cal__day.st-bloqueado .bar { background: var(--bloqueado); }
.cal__day.pop { animation: pop .35s var(--ease); }
@keyframes pop { 50% { transform: scale(.9); } }

.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 14px 18px 20px; margin: 0; font-size: .85rem; color: var(--texto-suave); border-top: 1px solid var(--crema-2); }
.legend li { display: flex; align-items: center; gap: 7px; }
.legend .star { color: var(--oro); font-style: normal; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dot--disponible { background: var(--disponible); }
.dot--apartado { background: var(--apartado); }
.dot--reservado { background: var(--reservado); }
.dot--bloqueado { background: var(--bloqueado); }

.cal__side { background: var(--verde-900); color: var(--crema); border-radius: 24px; padding: 28px 24px; position: sticky; top: 90px; min-height: 380px; }
.cal__side h4 { font-size: 2.1rem; margin-bottom: 6px; }
.cal__side h5 { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--oro-claro); margin: 24px 0 10px; font-weight: 500; }
.side__count { opacity: .85; margin: 0; }
.side__count strong { font-family: var(--serif); font-size: 1.7rem; color: var(--oro-claro); }
.side__holidays { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.side__holidays li { display: flex; gap: 12px; align-items: baseline; font-size: .93rem; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.1); }
.side__holidays li b { font-family: var(--serif); font-size: 1.3rem; color: var(--oro-claro); min-width: 26px; }
.side__holidays li small { display: block; opacity: .6; font-size: .75rem; }
.side__holidays .empty { opacity: .6; border: 0; }
.side__day { position: relative; animation: rise .4s var(--ease); }
.side__close { position: absolute; top: -10px; right: -6px; background: none; border: 0; color: var(--crema); font-size: 1.8rem; cursor: pointer; opacity: .7; width: 40px; height: 40px; }
.side__close:hover { opacity: 1; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: .85rem; margin: 8px 0 18px; background: rgba(255,255,255,.1); }
.status-pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--disponible); }
.status-pill.st-apartado::before { background: var(--apartado); }
.status-pill.st-reservado::before { background: var(--reservado); }
.status-pill.st-bloqueado::before { background: var(--bloqueado); }
.status-pill.st-pasado::before { background: var(--bloqueado); }
.day__note { background: rgba(255,255,255,.08); border-left: 3px solid var(--oro); padding: 10px 14px; border-radius: 0 10px 10px 0; font-size: .92rem; }
#dayPublic { display: grid; gap: 10px; margin-top: 22px; }
#dayPublic .btn--ghost-dark { color: var(--crema); border-color: rgba(255,255,255,.3); }
#dayPublic .btn--ghost-dark:hover { background: rgba(255,255,255,.1); }

/* Edición del día (dueños) */
.day-edit { margin-top: 18px; display: grid; gap: 16px; }
.day-edit fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.day-edit legend { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--oro-claro); margin-bottom: 8px; }
.day-edit label:not(.field) { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.06); cursor: pointer; border: 1px solid transparent; }
.day-edit label:not(.field):has(input:checked) { border-color: var(--oro); background: rgba(255,255,255,.12); }
.day-edit input[type="radio"] { accent-color: var(--oro); margin: 0; }
.day-edit .field span { color: var(--crema); opacity: .8; }
.day-edit .field input { background: rgba(255,255,255,.08); color: var(--crema); border-color: rgba(255,255,255,.2); }

/* Barra de dueños */
.admin-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-bottom: 20px;
  background: var(--blanco); border: 1.5px dashed var(--oro); border-radius: 18px; padding: 16px 20px;
}
.admin-bar[hidden] { display: none; }
.admin-bar__title { display: grid; flex: 1 1 200px; }
.admin-bar__title strong { font-family: var(--serif); font-size: 1.4rem; color: var(--verde-800); }
.admin-bar__title span { font-size: .85rem; color: var(--texto-suave); }
.admin-bar__tools, .admin-bar__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tool { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--crema-2); background: var(--crema); border-radius: 999px; padding: 8px 14px; font-size: .85rem; cursor: pointer; transition: all .2s; }
.tool:hover { border-color: var(--oro); }
.tool.is-active { background: var(--verde-800); color: var(--crema); border-color: var(--verde-800); }
body.is-admin .cal__day.is-past { opacity: .55; cursor: pointer; }

/* ---------- Ubicación ---------- */
.ubicacion__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.ubicacion h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 18px; }
.address { font-size: 1.15rem; color: var(--verde-800); }
.info-list { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.info-list li { color: var(--texto-suave); }
.info-list span { display: block; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--oro); }
.map { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--verde-200); border: 6px solid var(--blanco); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Contacto ---------- */
.contacto { background: var(--verde-800); color: var(--crema); position: relative; overflow: hidden; }
.contacto::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(201,161,74,.25), transparent 70%); top: -180px; right: -160px; }
.contacto__grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.contacto h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); color: var(--crema); margin-bottom: 16px; }
.contacto__text > p { opacity: .85; }
.contact-direct { display: grid; gap: 12px; margin-top: 28px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 16px; background: rgba(255,255,255,.07); text-decoration: none; border: 1px solid rgba(255,255,255,.1); transition: background .2s, transform .2s; }
.contact-card:hover { background: rgba(255,255,255,.13); transform: translateX(4px); }
.contact-card strong { display: block; font-weight: 500; }
.contact-card small { opacity: .7; word-break: break-word; }
.contact-card__icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--oro); color: var(--verde-900); flex-shrink: 0; }
.contact-card__icon--wa { background: #25d366; color: #fff; }
.contact-card__icon svg { width: 22px; height: 22px; }

.form { background: var(--blanco); color: var(--texto); padding: clamp(22px, 4vw, 36px); border-radius: 24px; display: grid; gap: 16px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--texto-suave); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--texto); padding: 12px 14px; border-radius: 12px;
  border: 1px solid #ddd5c6; background: var(--crema); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--oro); box-shadow: 0 0 0 3px rgba(201,161,74,.2); }
.field textarea { resize: vertical; }
.form__error { color: var(--terracota); margin: 0; font-size: .9rem; }

/* ---------- Footer ---------- */
.footer { background: var(--verde-900); color: var(--crema); padding: 56px 0 28px; }
.footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__tag { opacity: .65; margin: 8px 0 0; }
.social { display: flex; gap: 12px; }
.social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); transition: background .2s, color .2s, transform .2s; }
.social a:hover { background: var(--oro); color: var(--verde-900); border-color: var(--oro); transform: translateY(-3px); }
.social svg { width: 20px; height: 20px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; font-size: .85rem; }
.footer__bottom p { margin: 0; opacity: .6; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff; text-decoration: none; border-radius: 999px; padding: 12px;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); transition: transform .25s var(--ease);
  animation: rise .6s 1.2s var(--ease) both;
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .4s var(--ease), padding .4s; font-weight: 500; }
.wa-float:hover { transform: translateY(-3px); }
.wa-float:hover span { max-width: 200px; padding-right: 8px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366; animation: ping 2.4s infinite; }
@keyframes ping { 0% { opacity: .8; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(1.35); } }

/* ---------- Modal y toast ---------- */
.modal { border: 0; border-radius: 22px; padding: 0; width: min(380px, calc(100% - 32px)); box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(20,33,26,.6); backdrop-filter: blur(4px); }
.modal__box { padding: 28px; display: grid; gap: 14px; background: var(--blanco); }
.modal h3 { font-size: 1.9rem; color: var(--verde-800); }
.modal p { margin: 0; color: var(--texto-suave); }
.modal__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.toast {
  position: fixed; left: 50%; bottom: 24px; translate: -50% 0; z-index: 60; background: var(--verde-900); color: var(--crema);
  padding: 12px 22px; border-radius: 999px; font-size: .92rem; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
  max-width: calc(100% - 32px); text-align: center;
}
.toast.is-visible { opacity: 1; transform: none; }

/* ---------- Aparición al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .eventos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .evento { aspect-ratio: 4 / 3.6; }
  .amenidades { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cal { grid-template-columns: 1fr; }
  .cal__side { position: static; min-height: 0; }
}
@media (max-width: 760px) {
  .espacio__grid, .ubicacion__grid, .contacto__grid { grid-template-columns: 1fr; }
  .espacio__imgs { min-height: 340px; }
  .galeria__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; }
  .g-wide { grid-column: span 2; }
  .form__row { grid-template-columns: 1fr; }
  .stats strong { font-size: 2.1rem; }
  .cal__week, .cal__grid { gap: 4px; padding-inline: 10px; }
  .cal__months { padding-inline: 10px; }
  .cal__day { padding: 5px; border-radius: 9px; aspect-ratio: 1 / 1; }
  .cal__day .label { display: none; }
  .cal__day.is-today .num::after { display: none; }
  .cal__week span { font-size: .66rem; letter-spacing: .04em; }
  .legend { padding-inline: 12px; font-size: .8rem; }
  .map { aspect-ratio: 1 / 1; }
  .wa-float { padding: 10px; }
  .wa-float svg { width: 28px; height: 28px; }
}
@media (max-width: 480px) {
  .eventos__grid, .amenidades { grid-template-columns: 1fr; }
  .stats { gap: 18px; }
  .hero__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
body.is-admin .toast { bottom: 96px; }
