/* Áve shared components for avewater.org: review carousel + playlist pop-up.
   Self-contained so any page can include it. Parchment, gold, light type. */
.ave-reviews { --g: #8B7355; --ink: #1A1A1A; --muted: #5C554D; position: relative; max-width: 760px; margin: 0 auto; text-align: center; }
.ave-reviews[hidden] { display: none; }
.ave-reviews .rv-eyebrow { font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase; color: var(--g); margin-bottom: 18px; }
.ave-reviews .rv-viewport { overflow: hidden; touch-action: pan-y; }
.ave-reviews .rv-track { display: flex; transition: transform 600ms ease; }
.ave-reviews .rv-slide { flex: 0 0 100%; padding: 4px 8px; }
.ave-reviews blockquote { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300; font-size: clamp(21px, 3.4vw, 30px); line-height: 1.4; color: var(--ink); margin: 0 0 14px; }
.ave-reviews .rv-attr { font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ave-reviews .rv-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; }
.ave-reviews .rv-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(139,115,85,0.45); background: transparent; color: var(--g); font-size: 18px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.ave-reviews .rv-btn:hover { background: rgba(139,115,85,0.08); }
.ave-reviews .rv-btn:focus-visible, .ave-reviews .rv-dot:focus-visible { outline: 2px solid var(--g); outline-offset: 2px; }
.ave-reviews .rv-dots { display: flex; gap: 2px; }
.ave-reviews .rv-dot { width: 24px; height: 44px; border: 0; background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.ave-reviews .rv-dot::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: rgba(139,115,85,0.3); }
.ave-reviews .rv-dot[aria-current="true"]::after { background: var(--g); }
.ave-reviews .rv-pos { font-family: 'Montserrat', sans-serif; font-size: 11px; color: var(--muted); min-width: 44px; }
@media (prefers-reduced-motion: reduce) { .ave-reviews .rv-track { transition: none; } }

/* Playlist pop-up */
.ave-pp-backdrop { position: fixed; inset: 0; z-index: 1000; background: rgba(26,26,26,0.38); display: flex; align-items: flex-end; justify-content: center; padding: 0; opacity: 0; transition: opacity 220ms ease; }
.ave-pp-backdrop.open { opacity: 1; }
@media (min-width: 640px) { .ave-pp-backdrop { align-items: center; padding: 24px; } }
.ave-pp { position: relative; width: 100%; max-width: 440px; background: #F5F0E8; color: #1A1A1A; border-top: 2px solid #C9A96E; padding: 34px 26px calc(26px + env(safe-area-inset-bottom)); box-shadow: 0 30px 80px -30px rgba(26,26,26,0.45); transform: translateY(16px); transition: transform 260ms ease; font-family: 'Montserrat', sans-serif; }
@media (min-width: 640px) { .ave-pp { border-radius: 2px; padding: 40px 36px 34px; } }
.ave-pp-backdrop.open .ave-pp { transform: none; }
@media (prefers-reduced-motion: reduce) { .ave-pp-backdrop, .ave-pp { transition: none; } }
.ave-pp .pp-close { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; border: 0; background: transparent; font-size: 24px; color: #5C554D; cursor: pointer; }
.ave-pp .pp-eyebrow { font-size: 10px; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase; color: #8B7355; margin-bottom: 10px; }
.ave-pp h2 { font-family: 'Cormorant SC', serif; font-weight: 400; font-size: 30px; letter-spacing: 0.02em; line-height: 1.1; margin: 0 0 12px; color: #1A1A1A; }
.ave-pp p { font-size: 14px; font-weight: 300; line-height: 1.7; color: #4A4540; margin: 0 0 8px; }
.ave-pp .pp-note { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 16px; color: #6B6258; margin-bottom: 20px; }
.ave-pp .pp-actions { display: flex; flex-direction: column; gap: 10px; }
.ave-pp .pp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 2px; font: inherit; font-size: 11px; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; text-decoration: none; border: 0; }
.ave-pp .pp-primary { background: #8B7355; color: #FFFFFF; }
.ave-pp .pp-primary:hover { background: #7A6449; }
.ave-pp .pp-secondary { background: transparent; color: #1A1A1A; border: 1px solid rgba(139,115,85,0.45); }
.ave-pp .pp-btn:focus-visible, .ave-pp .pp-close:focus-visible, .ave-pp input:focus-visible { outline: 2px solid #8B7355; outline-offset: 2px; }
.ave-pp .pp-text { margin-top: 14px; display: grid; gap: 10px; }
.ave-pp .pp-text[hidden] { display: none; }
.ave-pp label { font-size: 12px; color: #4A4540; }
.ave-pp input[type=tel] { width: 100%; min-height: 48px; padding: 0 14px; font: inherit; font-size: 16px; border: 1px solid rgba(139,115,85,0.4); background: #FFFFFF; border-radius: 2px; color: #1A1A1A; }
.ave-pp .pp-consent { font-size: 11px; line-height: 1.6; color: #5C554D; margin: 0; }
.ave-pp .pp-status { font-size: 13px; color: #3F6B3A; min-height: 1em; }
.ave-pp .pp-status.err { color: #9E2B25; }

/* ── Proof media: real activation clips and photos placed in context ──
   <figure class="proof"><video data-src="…mp4" poster="…jpg" muted loop playsinline preload="none"></video><figcaption>…</figcaption></figure>
   site.js loads and plays a clip only while it is on screen. */
.proof { margin: 0; position: relative; }
.proof video, .proof img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 2px; background: #EDE6DA; }
.proof .proof-frame { position: relative; overflow: hidden; border-radius: 2px; aspect-ratio: 4 / 5; }
.proof.wide .proof-frame { aspect-ratio: 16 / 9; }
.proof.tall .proof-frame { aspect-ratio: 9 / 16; }
.proof figcaption { font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 400; letter-spacing: 0.16em; text-transform: uppercase; color: #5C554D; margin-top: 10px; line-height: 1.6; }
.proof figcaption strong { color: #8B7355; font-weight: 500; }
.proof .proof-note { display: block; letter-spacing: 0.08em; text-transform: none; font-size: 11px; color: #8A8178; margin-top: 2px; }
.proof-row { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 18px; margin: 36px 0; }
.proof-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: 40px; align-items: center; margin: 40px 0; }
.proof-split.flip { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr); }
.proof-split .proof { max-width: 420px; justify-self: center; width: 100%; }
@media (max-width: 760px) {
  .proof-split, .proof-split.flip { grid-template-columns: 1fr; gap: 22px; }
  .proof-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .proof-row > .proof { scroll-snap-align: start; }
}
.proof-solo { max-width: 380px; margin: 44px auto 8px; }
.proof-side { max-width: 320px; margin-top: 28px; }
.proof-row .proof .proof-frame { aspect-ratio: 4 / 5; }
.proof video[data-src*="folklorico"] { object-position: 50% 55%; }
