/* Pontavia sample sites: shared "flash" layer (all four package levels). Loaded last, so it can override the base look. */

/* ---- demo bar with the "what is included" panel ---- */
.demo-bar .wrap { position: relative; }
.demo-bar .demo-links { display: flex; gap: 18px; flex-wrap: wrap; }
.demo-bar .demo-links a:last-child { background: var(--gold-2, #F2C14E); color: #14261B; padding: 2px 12px; border-radius: 999px; }
.demo-incl { flex-basis: 100%; }
.demo-incl summary { cursor: pointer; font-weight: 700; color: var(--gold-2, #F2C14E); list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.demo-incl summary::-webkit-details-marker { display: none; }
.demo-incl summary::before { content: "+"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--gold-2, #F2C14E); color: #14261B; font-weight: 800; line-height: 1; }
.demo-incl[open] summary::before { content: "\2212"; }
.demo-incl-body { margin-top: 10px; padding: 14px 18px; background: rgba(255,255,255,.07); border-radius: 12px; max-width: 760px; font-size: 13.5px; line-height: 1.55; }
.demo-incl-body ul { margin: 0 0 10px; padding-left: 20px; columns: 2; column-gap: 28px; }
.demo-incl-body li { break-inside: avoid; margin: 2px 0; }
.demo-incl-body p { margin: 6px 0 0; color: #CFDACB; }
.demo-incl-body a { text-decoration: underline; }
@media (max-width: 640px) { .demo-incl-body ul { columns: 1; } }

/* ---- photos ---- */
.fx-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-art.has-photo { background: #1F3D2C center / cover no-repeat; min-height: 440px; padding: 0; position: relative; overflow: hidden; box-shadow: 0 30px 70px -20px rgba(15,31,22,.55); }
.hero-art.has-photo > * { display: none !important; }
.hero-art.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15,31,22,.35)); }
.packet-hero.has-photo { background-image: linear-gradient(100deg, rgba(10,22,15,.90) 0%, rgba(10,22,15,.58) 44%, rgba(10,22,15,.10) 100%), var(--hero-photo); background-size: cover; background-position: center 40%; }
.packet-hero.has-photo::before { opacity: .25; }

/* ---- photo band after the hero (Multi-Page and up) ---- */
.fx-band { padding: 8px 0 48px; }
.fx-band .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.fx-band figure { margin: 0; position: relative; border-radius: 22px; overflow: hidden; min-height: 240px; box-shadow: 0 18px 40px -22px rgba(15,31,22,.6); }
.fx-band figure:first-child { min-height: 300px; }
.fx-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.fx-band figure:hover img { transform: scale(1.06); }
.fx-band figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 38px 18px 14px; color: #fff; font-weight: 700; background: linear-gradient(transparent, rgba(10,22,15,.82)); }
@media (max-width: 760px) { .fx-band .wrap { grid-template-columns: 1fr; } .fx-band figure, .fx-band figure:first-child { min-height: 220px; } }

/* ---- buttons that ask to be pressed ---- */
.btn:not(.ghost):not(.small) { box-shadow: 0 10px 26px -10px rgba(232,178,28,.75); transition: transform .2s ease, box-shadow .2s ease; }
.btn:not(.ghost):not(.small):hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 34px -12px rgba(232,178,28,.9); }
.fx-pulse { animation: fxPulse 2.4s ease-in-out infinite; }
@keyframes fxPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(242,193,78,.55); } 50% { box-shadow: 0 0 0 14px rgba(242,193,78,0); } }

/* ---- scroll reveal ---- */
.fx-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.fx-reveal.fx-in { opacity: 1; transform: none; }
.fx-reveal[data-fx="left"] { transform: translateX(-40px); }
.fx-reveal[data-fx="right"] { transform: translateX(40px); }
.fx-reveal[data-fx="left"].fx-in, .fx-reveal[data-fx="right"].fx-in { transform: none; }
@media (prefers-reduced-motion: reduce) { .fx-reveal { opacity: 1; transform: none; transition: none; } .fx-pulse { animation: none; } .fx-band img { transition: none; } }

/* ---- sticky call and quote bar on phones ---- */
.fx-stick { display: none; }
@media (max-width: 760px) {
  .fx-stick { position: fixed; z-index: 60; left: 10px; right: 10px; bottom: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .fx-stick a { text-align: center; padding: 14px 10px; border-radius: 14px; font-weight: 800; text-decoration: none; box-shadow: 0 10px 28px rgba(0,0,0,.35); }
  .fx-stick a:first-child { background: #F2C14E; color: #14261B; }
  .fx-stick a:last-child { background: #1F3D2C; color: #fff; border: 1px solid rgba(255,255,255,.25); }
  body { padding-bottom: 76px; }
}

/* ---- count-up proof strip ---- */
.fx-proof { background: #1F3D2C; color: #EEF3E8; padding: 26px 0; }
.fx-proof .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.fx-proof b { display: block; font-size: clamp(28px, 4vw, 44px); line-height: 1.05; color: #F2C14E; font-variant-numeric: tabular-nums; }
.fx-proof span { font-size: 14px; opacity: .88; }
@media (max-width: 640px) { .fx-proof .wrap { grid-template-columns: repeat(2, 1fr); } }

/* ---- hero video (Custom Build) ---- */
.fx-herovideo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: .5; }
.fx-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(100deg, rgba(10,22,15,.88) 0%, rgba(10,22,15,.58) 46%, rgba(10,22,15,.12) 100%); }
@media (prefers-reduced-motion: reduce) { .fx-herovideo { display: none; } .fx-shade { display: none; } }
