/* =========================================================
   VOTE.SMS — inner-page components (loads after styles.css)
   ========================================================= */

/* ---- Nav dropdowns ---- */
.nav-links { align-items: center; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-trigger { background: none; border: 0; font: inherit; color: #475569; font-weight: 500; font-size: .93rem; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 24px 0; }
.nav-item:hover .nav-trigger { color: var(--navy); }
.caret { font-size: .62rem; opacity: .7; }
.nav-item::after { content: ""; position: absolute; top: 100%; left: -20px; right: -20px; height: 16px; }
.dropdown { position: absolute; top: calc(100% + 4px); left: -16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); padding: 8px; min-width: 250px; display: none; flex-direction: column; z-index: 60; }
.nav-item:hover .dropdown { display: flex; }
.dropdown a { padding: 11px 14px; border-radius: 9px; font-size: .92rem; color: #334155; font-weight: 500; }
.dropdown a:hover { background: var(--surface); color: var(--navy); }
.dropdown a small { display: block; color: var(--slate); font-weight: 400; font-size: .8rem; margin-top: 2px; }

/* ---- Brand / logo ---- */
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand-mark { width: 28px; height: 28px; flex: none; display: block; }
.brand-dot { color: var(--accent); }

/* ---- Inner page hero ---- */
.page-hero { background: radial-gradient(800px 460px at 82% -10%, rgba(239,63,8,.2), transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-700)); color: #fff; padding: 80px 0; }
.page-hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.page-hero.center .page-hero-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.page-hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.2rem); font-weight: 800; margin-bottom: 18px; }
.page-hero .lead { color: rgba(255,255,255,.78); font-size: 1.12rem; max-width: 560px; margin: 0 0 26px; }
.page-hero.center .lead { margin: 0 auto 26px; }
.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,.5); }
.breadcrumb .cur { color: var(--accent-soft); font-weight: 600; }
.page-hero-visual { border-radius: 20px; background: linear-gradient(150deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.12); min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.page-hero-visual img { width: 84px; height: 84px; filter: brightness(0) invert(1); opacity: .92; }
.page-hero-visual span { color: rgba(255,255,255,.7); font-weight: 500; font-size: .95rem; }

/* ---- Steps ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 14px; }
.step h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 6px; }
.step p { color: var(--slate); font-size: .95rem; margin: 0; }

/* ---- Pricing ---- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.tier { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 34px 32px; display: flex; flex-direction: column; gap: 10px; }
.tier-featured { background: var(--navy); border: 2px solid var(--navy); box-shadow: var(--shadow); }
.tier-featured, .tier-featured .tier-price, .tier-featured .tier-feats li { color: #fff; }
.tier-badge { align-self: flex-start; background: var(--accent); color: #fff; font-size: .68rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; letter-spacing: .08em; }
.tier-name { font-size: 1.1rem; font-weight: 600; color: var(--navy); }
.tier-featured .tier-name { color: #fff; }
.tier-price { font-size: 2.6rem; font-weight: 800; color: var(--navy); }
.tier-price span { font-size: 1rem; font-weight: 500; color: var(--slate); }
.tier-featured .tier-price span { color: rgba(255,255,255,.7); }
.tier-desc { color: var(--slate); font-size: .95rem; margin-bottom: 8px; }
.tier-featured .tier-desc { color: rgba(255,255,255,.75); }
.tier-feats { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 11px; }
.tier-feats li { font-size: .93rem; color: var(--ink); }
.tier-feats li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 9px; }
.tier-featured .tier-feats li::before { color: var(--accent-soft); }
.tier .btn { margin-top: auto; }

/* ---- FAQ ---- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 26px; }
.faq-item h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.faq-item p { color: var(--slate); margin: 0; font-size: .95rem; }

/* ---- Support ---- */
.searchbar { display: flex; max-width: 560px; margin: 8px auto 0; background: #fff; border-radius: 10px; padding: 7px; align-items: center; }
.searchbar input { flex: 1; border: 0; background: none; font: inherit; padding: 0 14px; color: var(--ink); outline: none; }
.cat-card { display: flex; flex-direction: column; align-items: flex-start; }
.cat-card .cat-link { margin-top: 14px; color: var(--accent); font-weight: 600; font-size: .85rem; }

/* ---- Blog / Video grids ---- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.video-thumb { position: relative; height: 220px; border-radius: 16px; display: grid; place-items: center; }
.video-thumb .play { width: 58px; height: 58px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--accent); font-size: 1.1rem; padding-left: 4px; }
.video-card h3 { font-size: 1.06rem; font-weight: 600; margin: 13px 0 5px; color: var(--navy); }
.video-meta { display: flex; gap: 8px; color: var(--slate); font-size: .85rem; }

/* ---- Contact form extras ---- */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form select { width: 100%; padding: 14px 16px; border: 1.5px solid #E2E8F0; border-radius: 10px; font: inherit; background: #F7F9FC; color: var(--ink); cursor: pointer; }
.contact-form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(239,63,8,.15); background: #fff; }
.cf-turnstile { margin: 2px 0; }
.form-note { margin: 4px 0 0; font-size: .9rem; text-align: center; min-height: 1.2em; }
.form-note.success { color: #1f9d6b; font-weight: 600; }
.form-note.error { color: #c0392b; font-weight: 600; }

/* ---- Blog article ---- */
.article { max-width: 760px; margin: 0 auto; }
.article h2 { font-size: 1.55rem; margin: 38px 0 12px; color: var(--navy); }
.article h3 { font-size: 1.25rem; margin: 30px 0 10px; color: var(--navy); }
.article h4 { font-size: 1.08rem; margin: 24px 0 8px; color: var(--navy); }
.article p, .article ul { color: var(--slate); margin: 0 0 16px; line-height: 1.75; font-size: 1.02rem; }
.article ul { padding-left: 22px; }
.article li { margin-bottom: 8px; }
.article-back { margin-top: 36px; }
.cat-card { text-decoration: none; color: inherit; }

/* ---- Video thumbnails + lightbox ---- */
.video-card { display: block; width: 100%; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.video-thumb { background-size: cover; background-position: center; background-color: var(--navy); }
.video-card:hover .play { transform: scale(1.08); }
.play { transition: transform .15s ease; }
.vid-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.vid-modal[hidden] { display: none; }
.vid-backdrop { position: absolute; inset: 0; background: rgba(8,18,30,.82); }
.vid-box { position: relative; width: min(900px, 100%); }
.vid-frame { position: relative; padding-top: 56.25%; border-radius: 14px; overflow: hidden; background: #000; box-shadow: var(--shadow); }
.vid-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-close { position: absolute; top: -44px; right: 0; background: none; border: 0; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .page-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .page-hero-visual { order: 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .blog-grid, .video-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-links.open .nav-item { flex-direction: column; align-items: stretch; }
  .nav-links.open .nav-trigger { padding: 12px 0; justify-content: space-between; }
  .nav-links.open .dropdown { position: static; display: flex; border: 0; box-shadow: none; padding: 0 0 8px 12px; min-width: 0; }
  .steps { grid-template-columns: 1fr; }
  .blog-grid, .video-grid { grid-template-columns: 1fr; }
}
