@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;900&family=Oswald:wght@400;600;700&display=swap');

/* ─── ROOT ─── */
:root {
  --green:      #8dc63f;
  --green-dark: #6aa622;
  --pink:       #e91e8c;
  --orange:     #e8622a;
  --blue:       #00bcd4;
  --dark:       #1a1a2e;
  --white:      #ffffff;
  --max-w:      480px;
}

/* ─── RESET ─── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: #d6dbd6;
  overflow-x: hidden;
  padding-bottom: 58px;
  /* Center everything on wide screens */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ═══════════════════════════════════════
   PAGE WRAPPER — mobile standard width
   480px max, full-width on small phones
═══════════════════════════════════════ */
#page-wrap {
  width: 100%;
  max-width: var(--max-w);
  background: #f0f4f0;
  box-shadow: 0 0 32px rgba(0,0,0,.22);
  position: relative;
  /* Stretch to full viewport height */
  min-height: 100vh;
}

/* ═══════════════════════════════════════
   STICKY TOP  (header + ticker)
═══════════════════════════════════════ */
#sticky-top {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

/* ── HEADER ── */
#site-header {
  background: linear-gradient(135deg, #1a4a1a 0%, #2e7d32 40%, #8dc63f 100%);
  box-shadow: 0 3px 18px rgba(0,0,0,.32);
  width: 100%;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  width: 100%;
}
.logo-wrap {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1) drop-shadow(0 1px 4px rgba(0,0,0,.4));
  display: block;
}
.header-phone {
  text-align: right;
  color: white;
  flex-shrink: 0;
}
.ph-num {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .5px;
  white-space: nowrap;
}
.ph-label {
  font-size: 9px;
  opacity: .8;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* ── TICKER ── */
.ticker-bar {
  background: var(--green);
  overflow: hidden;
  padding: 5px 0;
  white-space: nowrap;
  width: 100%;
}
.ticker-text {
  display: inline-block;
  animation: ticker 24s linear infinite;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: white;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding-left: 100%;
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════
   HERO SLIDESHOW
═══════════════════════════════════════ */
.hero-slideshow {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 4 / 3.2;
  background: #111;
}
.hero-slideshow .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slideshow .slide.active { opacity: 1; }
.hero-slideshow .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(0,0,0,.60) 0%,
    rgba(0,0,0,.10) 50%,
    transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 16px 18px;
  pointer-events: none;
}
.slide-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(20px, 7vw, 36px);
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
  animation: pulse-scale 3s ease-in-out infinite;
  line-height: 1.15;
}
.slide-sub {
  font-size: clamp(11px, 3.5vw, 14px);
  color: rgba(255,255,255,.88);
  font-weight: 600;
  margin-top: 4px;
  text-shadow: 0 1px 5px rgba(0,0,0,.45);
  animation: pulse-scale 3s ease-in-out infinite .4s;
}
.slide-dots {
  position: absolute;
  bottom: 10px;
  right: 12px;
  display: flex;
  gap: 7px;
  z-index: 10;
}
.slide-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s;
}
.slide-dot.active {
  background: var(--green);
  border-color: white;
  transform: scale(1.3);
}

@keyframes pulse-scale {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.045); }
}

/* ═══════════════════════════════════════
   POSTER BLOCKS
═══════════════════════════════════════ */
.poster-block {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: block;
}
.poster-block img {
  width: 100%;
  display: block;
}
.poster-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 16px 16px;
  background: linear-gradient(to top,
    rgba(0,0,0,.52) 0%,
    rgba(0,0,0,.10) 45%,
    transparent 100%);
  pointer-events: none;
}
.poster-overlay.top {
  justify-content: flex-start;
  padding-top: 14px;
  background: linear-gradient(to bottom,
    rgba(0,0,0,.22) 0%,
    transparent 60%);
}
.poster-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(18px, 6vw, 32px);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
  line-height: 1.15;
  animation: pulse-scale 3s ease-in-out infinite;
}
.poster-sub {
  font-size: clamp(11px, 3vw, 13px);
  color: rgba(255,255,255,.88);
  font-weight: 600;
  margin-top: 3px;
  text-shadow: 0 1px 5px rgba(0,0,0,.4);
  animation: pulse-scale 3s ease-in-out infinite .4s;
}

/* ═══════════════════════════════════════
   CTA BUTTON BLOCK
═══════════════════════════════════════ */
.cta-block {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  transition: background .6s ease;
  width: 100%;
}
.cta-block-phone {
  padding: 12px 20px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  transition: background .6s ease;
  width: 100%;
}
.cta-phone-num {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 1px;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 320px;
  padding: 14px 28px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-family: 'Oswald', sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: white;
  background: var(--orange);
  box-shadow: 0 6px 24px rgba(232,98,42,.40);
  animation: btn-pulse 2.4s ease-in-out infinite;
  transition: transform .18s cubic-bezier(.34,1.56,.64,1);
  -webkit-tap-highlight-color: transparent;
}
.cta-btn:hover, .cta-btn:active {
  transform: scale(1.06);
  animation: none;
  background: var(--pink) !important;
  box-shadow: 0 10px 32px rgba(233,30,140,.5);
}

@keyframes btn-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 6px 24px rgba(232,98,42,.40);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 10px 36px rgba(232,98,42,.65);
  }
}

/* ═══════════════════════════════════════
   YOUTUBE BLOCK
═══════════════════════════════════════ */
.yt-block {
  background: #0f0f0f;
  padding: 16px 14px 14px;
  width: 100%;
}
.yt-block-title {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  color: white;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.yt-block-title::before {
  content: '▶';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ff0000;
  color: white;
  width: 26px; height: 18px;
  border-radius: 4px;
  font-size: 9px;
  padding-left: 2px;
  flex-shrink: 0;
}
.yt-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,.5);
}
.yt-responsive iframe {
  position: absolute;
  top:0; left:0;
  width:100%; height:100%;
  border: none;
  border-radius: 10px;
}
.yt-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}
.yt-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s;
}
.yt-dot.active {
  background: #ff0000;
  border-color: white;
  transform: scale(1.35);
}
.yt-vid-label {
  text-align: center;
  color: rgba(255,255,255,.6);
  font-size: 11px;
  margin-top: 7px;
  letter-spacing: .5px;
}

/* ═══════════════════════════════════════
   DIVIDER
═══════════════════════════════════════ */
.divider {
  height: 5px;
  background: linear-gradient(90deg,
    var(--green-dark), var(--green), #e8622a, var(--blue));
  width: 100%;
}

/* ═══════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   STICKY FOOTER
═══════════════════════════════════════ */
#site-footer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-w);
  z-index: 1000;
  background: linear-gradient(135deg, #0d1b0d 0%, #1b3a1b 100%);
  box-shadow: 0 -3px 16px rgba(0,0,0,.35);
  padding: 8px 12px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}
.footer-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: rgba(255,255,255,.9);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.footer-item a {
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
}
.footer-item a:hover { color: var(--green); }
.footer-icon { font-size: 12px; flex-shrink: 0; }

/* ═══════════════════════════════════════
   VERY SMALL PHONES  (< 360px)
═══════════════════════════════════════ */
@media (max-width: 360px) {
  .logo-img       { height: 36px; }
  .ph-num         { font-size: 13px; }
  .cta-btn        { font-size: 16px; padding: 12px 20px; }
  .footer-item    { font-size: 9px; }
  .cta-phone-num  { font-size: 17px; }
}
