/* vote2sort modern overrides (mobile-first). Loaded after template CSS. */

:root{
  --v2s-green:#16a34a;
  --v2s-red:#dc2626;
  --v2s-ink:#0f172a;
  --v2s-muted:#475569;
  --v2s-bg:#f8fafc;
  --v2s-card:#ffffff;
}

html, body { scroll-behavior:smooth; }
body{
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--v2s-ink);
  background: var(--v2s-bg);
}

/* Header polish */
#header{
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
}
.nav-menu a{
  font-weight: 600;
  letter-spacing: 0.2px;
}
.nav-menu a:hover, .nav-menu .active a{ color: var(--v2s-green); }

/* Hero */
#hero{
  background: radial-gradient(1200px 600px at 20% 10%, rgba(22,163,74,0.14), transparent 60%),
              radial-gradient(1000px 500px at 80% 20%, rgba(220,38,38,0.10), transparent 55%),
              linear-gradient(180deg, #ffffff 0%, var(--v2s-bg) 70%);
  padding: 30px 0 44px 0;
}
#hero .hero-title{
  font-size: clamp(2.0rem, 3.8vw, 3.0rem);
  line-height: 1.15;
  margin-bottom: 0.25rem;
  font-weight: 800;
}
#hero .lead{
  color: var(--v2s-muted);
  max-width: 52rem;
}
#hero .hero-note{
  color: var(--v2s-muted);
  max-width: 52rem;
  font-size: 0.98rem;
}
.brand-accent{ color: var(--v2s-red); }
.brand-muted{ color: var(--v2s-muted); font-weight: 800; }

/* Buttons */
.btn-primary{
  background: var(--v2s-green);
  border-color: var(--v2s-green);
  box-shadow: 0 10px 22px rgba(22,163,74,0.18);
}
.btn-primary:hover{
  background: #15803d;
  border-color: #15803d;
}
.btn-outline-primary{
  color: var(--v2s-green);
  border-color: rgba(22,163,74,0.55);
}
.btn-outline-primary:hover{
  background: rgba(22,163,74,0.10);
  border-color: rgba(22,163,74,0.70);
  color: var(--v2s-green);
}
.btn-link{ color: var(--v2s-ink); font-weight: 600; }

/* Section titles */
.section-title h2{
  color: var(--v2s-green);
  letter-spacing: 0.12em;
  font-weight: 800;
}
.section-title h3{
  font-weight: 800;
}

/* Cards / boxes */
.modern-card{
  background: var(--v2s-card);
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: 0 14px 40px rgba(15,23,42,0.07);
}
.modern-card h4{ font-weight: 800; margin-bottom: 10px; }
.modern-card p{ color: var(--v2s-muted); margin-bottom: 0.75rem; }

.feature-card{
  background: var(--v2s-card);
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 16px;
  padding: 16px 16px;
  margin-bottom: 12px;
  box-shadow: 0 10px 24px rgba(15,23,42,0.06);
}
.feature-card h5{ margin-bottom: 6px; font-weight: 800; }
.feature-card p{ color: var(--v2s-muted); }

/* Reduce icon-box hover exaggeration from template */
.icon-box:hover{
  transform: translateY(-3px);
}

/* Contact list readability */
#contact .info{
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,0.08);
}

/* Footer polish */
#footer{
  background: #0b1220;
}
#footer, #footer a, #footer p, #footer h3{
  color: rgba(248,250,252,0.92);
}

/* Mobile spacing */
@media (max-width: 767.98px){
  #hero{ padding: 30px 0 44px 0; }
  .btn-lg{ padding: 0.75rem 1rem; font-size: 1rem; }
}


/* Hero video thumbnail (modal trigger) */
.video-thumb{
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: #0b1220;
  box-shadow: 0 18px 40px rgba(15,23,42,0.12);
}
.video-thumb img{
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.92;
  transform: scale(1.01);
  transition: transform 220ms ease, opacity 220ms ease;
}
.video-thumb:hover img{
  transform: scale(1.03);
  opacity: 1;
}
.video-thumb::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(135deg, rgba(15,23,42,0.0) 0%, rgba(15,23,42,0.18) 55%, rgba(15,23,42,0.35) 100%);
  pointer-events:none;
}
.play-button{
  position:absolute;
  left: 50%;
  top: 50%;
  width: 76px;
  height: 76px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 18px 34px rgba(15,23,42,0.18);
}
.play-button::before{
  content:"";
  position:absolute;
  left: 50%;
  top: 50%;
  transform: translate(-35%, -50%);
  width: 0;
  height: 0;
  border-left: 18px solid var(--v2s-green);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}
.video-thumb:hover .play-button{
  background: rgba(255,255,255,0.98);
}

/* Modal polish */
.modal-content{
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 26px 80px rgba(15,23,42,0.25);
}
.modal-header{
  border-bottom: 1px solid rgba(15,23,42,0.08);
}


/* Trust strip */
.trust-strip{
  padding: 0 0 14px 0;
  margin-top: 0px;
}
.trust-strip .trust-item{
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 16px;
  padding: 16px 16px;
  margin: 8px 8px;
  box-shadow: 0 10px 30px rgba(15,23,42,0.06);
  height: 100%;
}
.trust-strip .trust-kicker{
  font-weight: 800;
  letter-spacing: 0.2px;
  margin-bottom: 6px;
}
.trust-strip .trust-text{
  color: var(--v2s-muted);
  line-height: 1.45;
  font-size: 0.98rem;
}

/* CTA band */
.cta-band{
  padding: 36px 0 56px 0;
}
.cta-band .cta-card{
  background: radial-gradient(900px 420px at 20% 20%, rgba(22,163,74,0.14), transparent 60%),
              radial-gradient(800px 360px at 85% 10%, rgba(220,38,38,0.10), transparent 55%),
              #ffffff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 22px;
  padding: 26px 22px;
  box-shadow: 0 18px 50px rgba(15,23,42,0.08);
}
.cta-band h2{
  font-weight: 900;
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}
.cta-band p{
  color: var(--v2s-muted);
}

/* Global section spacing and headings */
section{
  scroll-margin-top: 104px;
}
.section-title h2{
  letter-spacing: 0.12em;
}
.section-title h3{
  font-weight: 900;
}
.section-title p{
  color: var(--v2s-muted);
}

/* Header/nav polish */
#header{
  border-bottom: 1px solid rgba(15,23,42,0.06);
}
.nav-menu > ul > li{
  padding: 10px 0 10px 22px;
}
.nav-menu a{
  padding: 6px 0;
}

/* Buttons: slightly rounder */
.btn{
  border-radius: 999px;
}


/* Small screens */
@media (max-width: 575px){
  #hero{ padding: 30px 0 44px 0; }
  .trust-strip .trust-item{ margin: 10px 0; }
  .cta-band .cta-card{ padding: 22px 16px; }
}

/* Layout stability for fixed topbar + header */
body{
  padding-top: 0px; /* prevents content from hiding behind fixed bars */
}

/* Ensure hero grows with content to avoid section overlap */
#hero{
  height: auto !important;
  min-height: 0 !important;
}

/* Make anchor scrolling reliable under fixed bars */
section{ scroll-margin-top: 104px; }

html, body{ scroll-behavior: auto !important; }
