/* =========================================================
   Ático da Ponte — design system
   ========================================================= */
:root {
  --olive: #5C6B4A;
  --olive-dark: #46523A;
  --olive-tint: #E9ECE3;
  --granite: #A8A29E;
  --terracotta: #C17B5A;
  --terracotta-dark: #A5603F;
  --cream: #F7F3EE;
  --charcoal: #2C2C2C;
  --blue-gray: #7A9BA8;
  --grey-blue: var(--blue-gray);

  --primary: var(--olive);
  --accent: var(--terracotta);
  --secondary: var(--grey-blue);
  --bg: var(--cream);
  --text: var(--charcoal);
  --text-muted: #57534E;

  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-sm: clamp(.85rem, .82rem + .15vw, .95rem);
  --fs-base: clamp(1rem, .96rem + .2vw, 1.1rem);
  --fs-lg: clamp(1.15rem, 1.05rem + .45vw, 1.35rem);
  --fs-h3: clamp(1.4rem, 1.2rem + .8vw, 1.8rem);
  --fs-h2: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem);
  --fs-h1: clamp(2.4rem, 1.6rem + 3.6vw, 4.6rem);

  --space-section: clamp(3.5rem, 2rem + 6vw, 7rem);
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(44,44,44,.04), 0 4px 14px rgba(44,44,44,.05);
  --shadow-md: 0 10px 30px rgba(44,44,44,.10);
  --ease: cubic-bezier(.22,.61,.36,1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-sans); font-size: var(--fs-base); line-height: 1.7; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive); text-underline-offset: 3px; }
a:hover { color: var(--olive-dark); }
:focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; color: var(--olive-dark); letter-spacing: -.01em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h3); margin-bottom: .6rem; }
p, li { max-width: 68ch; }
ul, ol { padding-left: 1.2rem; }
li { margin-bottom: .35rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; padding: 0 clamp(1rem, 4vw, 2.5rem); background: rgba(247,243,238,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(168,162,158,.25); transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.site-header.scrolled { background: rgba(255,255,255,.96); box-shadow: 0 6px 24px rgba(44,44,44,.08); }
nav { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 1200px; margin: 0 auto; position: relative; }
.logo { font-family: var(--font-serif); font-weight: 700; font-size: 1.55rem; color: var(--olive-dark); text-decoration: none; letter-spacing: .01em; }
nav ul { display: flex; gap: clamp(.9rem, 1.6vw, 1.8rem); list-style: none; padding: 0; }
nav ul li { margin: 0; }
nav ul a { font-size: .92rem; font-weight: 500; letter-spacing: .02em; color: var(--charcoal); text-decoration: none; padding: .35rem 0; border-bottom: 1.5px solid transparent; transition: border-color .25s, color .25s; }
nav ul a:hover, nav ul a[aria-current="page"] { color: var(--olive-dark); border-bottom-color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--olive-dark); padding: .4rem; }

/* Home: header transparent over hero */
.home .site-header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.home .site-header:not(.scrolled) .logo,
.home .site-header:not(.scrolled) nav ul a,
.home .site-header:not(.scrolled) .nav-toggle { color: #fff; }
.home .site-header.scrolled { background: rgba(255,255,255,.96); border-color: rgba(168,162,158,.25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .85rem 1.7rem; border-radius: 999px; border: 1.5px solid transparent; font: 600 .95rem/1 var(--font-sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; background: var(--accent); color: var(--charcoal); box-shadow: 0 6px 18px rgba(193,123,90,.28); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(193,123,90,.36); color: var(--charcoal); background: #CB8866; }
.btn-secondary { background: var(--olive); color: #fff; box-shadow: 0 6px 18px rgba(92,107,74,.25); }
.btn-secondary:hover { background: var(--olive-dark); color: #fff; box-shadow: 0 10px 26px rgba(92,107,74,.32); }
.btn-ghost { background: transparent; color: var(--olive-dark); border-color: currentColor; box-shadow: none; }
.btn-ghost:hover { background: rgba(92,107,74,.08); color: var(--olive-dark); box-shadow: none; }
.hero .btn-ghost, .card-dark .btn-ghost, .band-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.75); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.cta { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 2rem; }

/* ---------- Eyebrow / badge / divider ---------- */
.eyebrow { display: inline-block; font: 600 .75rem/1.2 var(--font-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--terracotta-dark); margin-bottom: 1rem; }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-right: .7rem; }
.badge { display: inline-block; padding: .3rem .8rem; border-radius: 999px; background: var(--olive-tint); color: var(--olive-dark); font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
.divider { width: 64px; height: 2px; background: var(--accent); border: 0; margin: 1.5rem auto; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; color: #fff; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(20,22,18,.55) 0%, rgba(20,22,18,.2) 70%), linear-gradient(180deg, rgba(20,22,18,.55) 0%, rgba(20,22,18,.35) 45%, rgba(20,22,18,.7) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 900px; padding: calc(var(--header-h) + 2rem) 1.25rem 5rem; }
.hero .eyebrow { color: #F3D9C9; }
.hero h1 { color: #fff; font-weight: 500; text-shadow: 0 2px 24px rgba(0,0,0,.35); margin-bottom: 1.2rem; }
.hero p { font-size: var(--fs-lg); max-width: 60ch; margin: 0 auto; color: rgba(255,255,255,.92); }
.scroll-cue { position: absolute; z-index: 1; bottom: 2rem; left: 50%; transform: translateX(-50%); width: 28px; height: 46px; border: 1.5px solid rgba(255,255,255,.75); border-radius: 20px; }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 2s var(--ease) infinite; }
.page-hero.has-cue { padding-bottom: calc(clamp(3rem, 2rem + 4vw, 5rem) + 2.5rem); }
.scroll-cue-page { bottom: 1.25rem; transition: opacity .4s var(--ease), visibility .4s; }
.scroll-cue-page:hover { border-color: #fff; }
.scroll-cue.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
#disponibilidad { scroll-margin-top: calc(var(--header-h) + 1rem); }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes heroZoom { to { transform: scale(1); } }
/* Home hero video: plays once over the still, then crossfades to it */
.hero-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; opacity: 0; visibility: hidden; transition: opacity .9s cubic-bezier(.4,0,.2,1), visibility 0s linear .9s; }
.hero-anim .hero-vid { opacity: 1; visibility: visible; transition: opacity .9s cubic-bezier(.4,0,.2,1); }
.hero-anim .hero-video.is-done .hero-vid { opacity: 0; visibility: hidden; transition: opacity .9s cubic-bezier(.4,0,.2,1), visibility 0s linear .9s; }
.hero-anim .hero-video .hero-still { animation: none; transform: none; }
.hero-video .hero-still, .hero-video .hero-vid { object-position: 50% 55%; } /* identical framing: last video frame == still */
.hero-video { align-items: flex-start; }
.hero-video .hero-content { padding-top: calc(var(--header-h) + clamp(2rem, 9vh, 6rem)); }
.hero-video::after { background: linear-gradient(180deg, rgba(20,22,18,.6) 0%, rgba(20,22,18,.45) 40%, rgba(20,22,18,.22) 65%, rgba(20,22,18,.55) 100%); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: clamp(4rem, 3rem + 6vw, 8rem) 1.25rem clamp(3rem, 2rem + 4vw, 5rem); text-align: center; background: linear-gradient(135deg, rgba(70,82,58,.92), rgba(92,107,74,.82)), url("../assets/exterior-jardin-noche-800.jpg") center/cover; color: #fff; }
.page-hero-inner { max-width: 820px; margin: 0 auto; }
.page-hero .eyebrow { color: #F3D9C9; }
.page-hero h1 { color: #fff; font-weight: 500; }
.page-hero .lead { color: rgba(255,255,255,.9); margin: 1rem auto 0; }

/* ---------- Layout ---------- */
.page { max-width: 1140px; margin: 0 auto; padding: var(--space-section) clamp(1.1rem, 4vw, 2rem); }
.section { padding: var(--space-section) 0; }
.section-white { background: #fff; }
.section-tint { background: var(--olive-tint); }
.band-dark { background: var(--charcoal); color: #EDEAE5; }
.lead { font-size: var(--fs-lg); color: var(--text-muted); margin-bottom: 1.5rem; }
.note { font-size: var(--fs-sm); color: var(--text-muted); margin-top: 1rem; }
.page > p { margin-bottom: 1rem; }
.page > ul { margin: 1rem 0 0; padding: 0; list-style: none; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: .5rem 1.75rem; }
.page > ul li { padding: .9rem 0; border-bottom: 1px solid rgba(168,162,158,.3); max-width: none; margin: 0; }
.page > ul li:last-child { border-bottom: 0; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(1rem, 2vw, 1.75rem); margin: 2rem 0; }
.grid .card { margin: 0; }
.split { display: grid; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } .split.reverse > :first-child { order: 2; } }

/* ---------- Cards ---------- */
.card, .booking-flow { position: relative; background: #fff; border-radius: var(--radius); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); margin: clamp(1.5rem, 3vw, 2.5rem) 0; box-shadow: var(--shadow-sm); border: 1px solid rgba(168,162,158,.18); transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .8s var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card ul, .card ol { margin: .6rem 0 0 1.1rem; padding: 0; }
.features-grid .card { border-top: 3px solid var(--accent); }
.card-dark { background: linear-gradient(135deg, #2C2C2C, #3a3d34); color: #EDEAE5; border-color: transparent; }
.card-dark h2 { color: #fff; }
.card-dark .eyebrow { color: #E2B49B; }
.card-dark .cta { justify-content: flex-start; }
.booking-flow { background: var(--olive-tint); border: 0; }
.booking-flow h2 { text-align: center; margin-bottom: 1.5rem; }
.booking-flow ol, .steps { list-style: none; counter-reset: step; margin: .6rem 0 0 !important; padding: 0; display: grid; gap: 1rem; }
.booking-flow ol li, .steps li { counter-increment: step; position: relative; padding: .25rem 0 .25rem 3.4rem; max-width: none; margin: 0; }
.booking-flow ol li::before, .steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; font: 600 1.15rem var(--font-serif); background: var(--olive); color: #fff; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(.8rem, 2vw, 1.4rem); margin: 2rem 0; }
.gallery figure { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { padding: .8rem 1.1rem; font: 600 1.15rem var(--font-serif); color: var(--olive-dark); }
.features { columns: 2; column-gap: 2rem; }
.features li { break-inside: avoid; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); margin: 1.5rem 0; }
table { width: 100%; border-collapse: collapse; background: #fff; font-size: .98rem; }
th, td { padding: 1rem 1.25rem; text-align: left; }
th { background: var(--olive); color: #fff; font-weight: 600; letter-spacing: .06em; font-size: .8rem; text-transform: uppercase; }
tbody tr { border-bottom: 1px solid #EEE9E2; transition: background .2s; }
tbody tr:nth-child(even) { background: #FBF9F6; }
tbody tr:hover { background: var(--olive-tint); }
td:last-child { font-weight: 600; color: var(--terracotta-dark); }

/* ---------- Forms ---------- */
.contact-list { list-style: none; margin: 0 !important; }
.contact-form { display: grid; gap: 1.2rem; max-width: 640px; }
.contact-form label { display: grid; gap: .4rem; font-weight: 600; font-size: .9rem; }
.contact-form input, .contact-form textarea, .contact-form select { font: inherit; font-weight: 400; padding: .85rem 1rem; border: 1px solid #CFC9C3; border-radius: 10px; background: #FDFCFA; transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 4px rgba(92,107,74,.15); }
.contact-form button { justify-self: start; }

/* ---------- Footer ---------- */
footer { background: var(--charcoal); color: #CFCAC4; text-align: center; padding: clamp(3rem, 6vw, 4.5rem) 1.25rem; font-size: var(--fs-sm); }
footer p { max-width: none; margin: .35rem auto; }
footer p:last-child { margin-top: 1.2rem; font-family: var(--font-serif); font-size: 1.2rem; color: #fff; }
footer a { color: #E9E4DE; }
footer a:hover { color: #F3D9C9; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal:not(.card) { transition: opacity .8s var(--ease), transform .8s var(--ease); }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  nav ul { display: none; position: absolute; top: calc(100% + 12px); left: -1rem; right: -1rem; flex-direction: column; gap: 0; background: #fff; padding: .5rem 1.5rem 1.2rem; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-md); }
  nav ul.open { display: flex; }
  nav ul li a { display: block; padding: .85rem 0; border-bottom: 1px solid #F0ECE6; }
  .home .site-header:not(.scrolled) nav ul a { color: var(--charcoal); }
  .features { columns: 1; }
  .cta .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-bg { transform: none; }
}

/* ---------- Lightbox (alojamiento) ---------- */
.lb-trigger { cursor: zoom-in; }
.lb-lock, .lb-lock body { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: rgba(28,30,24,.92); opacity: 0; transition: opacity .25s var(--ease); padding: 4rem 4.5rem; }
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lb-figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; }
.lb-img { max-width: 100%; max-height: calc(100vh - 10rem); width: auto; height: auto; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-caption { margin-top: 1rem; color: #EDEAE5; font-family: var(--font-serif); font-size: 1.2rem; text-align: center; max-width: 60ch; }
.lb-count { position: absolute; top: 1.4rem; left: 1.5rem; color: #CFCAC4; font-size: .85rem; letter-spacing: .1em; }
.lb-btn { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; width: 48px; height: 48px; font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.lb-btn:hover { background: var(--terracotta); color: var(--charcoal); border-color: var(--terracotta); }
.lb-btn:focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) { .lightbox { padding: 4rem .75rem; } .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; } }

/* ---------- Heading rhythm: space above headings that follow content ---------- */
:is(p, ul, ol, table, .table-wrap, figure, form, blockquote, .gallery, .cta) + h2 { margin-top: 3.5rem; }
:is(p, ul, ol, table, .table-wrap, figure, form, blockquote, .gallery, .cta) + h3 { margin-top: 2.5rem; }
h2:first-child, h3:first-child { margin-top: 0; }
h2 { margin-bottom: .6rem; }
h3 { margin-bottom: .5rem; }

/* ---------- Booking calendar (Reservar) ---------- */
.booking { display: grid; gap: 2rem; }
@media (min-width: 900px) { .booking { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.bk-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
.bk-month { font: 600 1.4rem var(--font-serif); color: var(--olive-dark); }
.bk-nav { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--olive); background: #fff; color: var(--olive-dark); font-size: 1.4rem; cursor: pointer; }
.bk-nav:disabled { opacity: .35; cursor: default; }
.bk-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.bk-dow { text-align: center; font-size: .75rem; font-weight: 600; color: var(--text-muted); padding-bottom: .25rem; }
.bk-day { aspect-ratio: 1; border: 1px solid #EEE7E0; background: #fff; border-radius: 8px; font: 500 .95rem var(--font-sans); color: var(--charcoal); cursor: pointer; transition: background .15s; }
.bk-day:hover:not(:disabled) { background: var(--olive-tint); }
.bk-day.is-past { color: #C5BFB9; background: #FAF8F5; cursor: default; }
.bk-day.is-busy { background: repeating-linear-gradient(135deg, #E7E2DC 0 6px, #F1EDE8 6px 12px); color: #8F8984; text-decoration: line-through; }
.bk-day.is-start, .bk-day.is-end { background: var(--olive); color: #fff; border-color: var(--olive); }
.bk-day.is-in { background: var(--olive-tint); border-color: #D5DBCB; }
.bk-legend { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .75rem; font-size: .8rem; color: var(--text-muted); }
.bk-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: .35rem; vertical-align: middle; border: 1px solid #DDD6CF; }
.lg-free { background: #fff; } .lg-busy { background: repeating-linear-gradient(135deg, #E7E2DC 0 3px, #F1EDE8 3px 6px); } .lg-sel { background: var(--olive); border-color: var(--olive) !important; }
.bk-summary { font-size: 1.05rem; color: var(--olive-dark); }
.bk-error { color: #8A3B25; font-weight: 600; min-height: 1.2em; }
.contact-form .check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.contact-form .check input { width: auto; margin-top: .3rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bk-done h3 { color: var(--olive-dark); font-size: var(--fs-h3); }
.booking [hidden] { display: none !important; }
.contact-form label.check { display: block; font-weight: 400; }
.contact-form label.check input { width: auto; margin: 0 .5rem 0 0; vertical-align: middle; }

.bk-hint{font-size:.85rem;opacity:.8;margin:-.25rem 0 .75rem}
.bk-count{white-space:nowrap;font-weight:600}

/* ---------- Guía: álbum de lugares ---------- */
.drone-section { margin: var(--space-section) 0 2rem; }
.drone-section .section-intro { max-width: 62ch; color: var(--text-muted); }
.drone-gallery { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.drone-gallery figure { display: flex; flex-direction: column; border-top: 3px solid var(--accent); }
.drone-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--olive-tint); }
.drone-gallery .drone-media img, .drone-video { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.drone-video { opacity: 0; transition: opacity .9s var(--ease), transform .8s var(--ease); }
.drone-video.is-playing { opacity: 1; }
.drone-gallery figure:hover .drone-video { transform: scale(1.04); }
.drone-badge { position: absolute; left: .8rem; bottom: .8rem; z-index: 1; padding: .25rem .7rem; border-radius: 999px; background: rgba(247,243,238,.9); color: var(--olive-dark); font: 600 .72rem/1.4 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.drone-gallery figcaption { padding: 1.1rem 1.3rem 1.4rem; }
.drone-gallery figcaption h2, .drone-gallery figcaption h3 { font-size: 1.35rem; margin: 0 0 .35rem; }
.drone-gallery figcaption p { font: 400 var(--fs-sm)/1.6 var(--font-sans); color: var(--text-muted); margin: 0; }
@media (prefers-reduced-motion: reduce) { .drone-video { display: none; } .drone-gallery figure:hover img { transform: none; } }
.guia-album { margin-top: 1.25rem; }
.guia-album figure[hidden] { display: none; }
.guia-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .7rem; color: var(--olive-dark); background: radial-gradient(120% 90% at 30% 20%, var(--cream) 0%, var(--olive-tint) 55%, #d9dfcf 100%); }
.guia-ph svg { width: 54px; height: 54px; opacity: .75; transition: transform .8s var(--ease); }
.drone-gallery figure:hover .guia-ph svg { transform: translateY(-3px) scale(1.04); }
.guia-ph span { font: 500 .72rem/1 var(--font-sans); letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); opacity: .8; }
.guia-filtros { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0 0; }
.chip { min-height: 40px; padding: .45rem 1.1rem; border-radius: 999px; border: 1.5px solid rgba(92,107,74,.35); background: transparent; color: var(--olive-dark); font: 500 .88rem/1 var(--font-sans); letter-spacing: .02em; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.chip:hover { border-color: var(--olive); }
.chip[aria-pressed="true"] { background: var(--olive); border-color: var(--olive); color: #fff; }
.lb-title { display: block; font-size: 1.5rem; font-weight: 600; color: #fff; }
.lb-text { display: block; font-family: var(--font-sans); font-size: .98rem; line-height: 1.6; margin-top: .35rem; }
.lb-links { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; margin-top: .8rem; font: 500 .9rem var(--font-sans); }
.lb-links a { color: #E2B49B; }
.lb-links a:hover { color: #fff; }
.lb-noimg .lb-img { display: none; }
.lb-noimg .lb-caption { background: rgba(247,243,238,.06); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 2rem 2.2rem; }
.lb-rich .lb-img { max-height: calc(100vh - 17rem); }
@media (max-width: 640px) { .lb-rich .lb-img { max-height: calc(100vh - 20rem); } .lb-title { font-size: 1.25rem; } .lb-text { font-size: .9rem; } }
