/* ================================================
   Varmers Investors — Optimized Styles (mobile-first)
   ================================================ */

/* ---- Tokens ---- */
:root{
  --pink:#E4137B;
  --green:#91D18B;
  --ink:#14171a;
  --muted:#667085;
  --edge:#e6e8eb;
  --bg:#fff;
  --bg-sub:#f7f8fb;
  --shadow:0 10px 30px rgba(16,24,40,.08);
  --r:18px;
  --r-lg:22px;

  /* Mobile rhythm */
  --vr-space-1: 6px;
  --vr-space-2: 10px;
  --vr-space-3: 14px;
  --vr-space-4: 18px;
  --vr-radius: 12px;

  /* Touch targets */
  --tap-min:44px;
}

.one-container .site-content {
	padding: 0px !important;
}
	

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; }
}

/* ---- Base ---- */
.vr-wrap, .vr-wrap *{ box-sizing:border-box; }
.vr-wrap{ color:var(--ink); line-height:1.55; font-size:16px; }
.vr-wrap h1,.vr-wrap h2,.vr-wrap h3,.vr-wrap h4{ margin:0 0 8px; letter-spacing:-0.01em; }
.vr-wrap h1{ font-weight:800; font-size:clamp(28px,3vw+12px,46px); }
.vr-wrap h2{ font-weight:700; font-size:clamp(22px,1.5vw+10px,30px); color:var(--green); }
.vr-wrap h3{ font-weight:700; font-size:22px; }
.vr-wrap h4{ font-weight:700; font-size:18px; }
.vr-wrap .muted, .vr-disclaimer{ color:var(--muted); }
.center{text-align:center;} .small{font-size:13px}

/* Layout containers */
.vr-section{ max-width:1100px; margin:36px auto; padding:var(--vr-space-4) var(--vr-space-3); }
.vr-card{ background:#fff; border:1px solid var(--edge); border-radius:var(--r-lg); padding:20px; box-shadow:var(--shadow); }

/* Buttons */
.vr-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 18px; min-height:var(--tap-min);
  border-radius:999px; font-weight:700; text-decoration:none;
  border:1px solid var(--pink); background:var(--pink); color:#fff;
  box-shadow:0 6px 22px rgba(228,19,123,.25);
  transition:transform .12s ease;
}
.vr-btn:hover{ transform:translateY(-1px); }
.vr-btn.ghost{ background:#fff; color:var(--pink); }
.vr-btn.subtle{ background:#fff; color:var(--ink); border-color:var(--edge); }
.vr-btn.small{ padding:10px 14px; font-size:14px; }
.vr-btn.full{ width:100%; }

/* Focus visibility (accessibility) */
.vr-wrap a:focus, .vr-wrap button:focus, .vr-wrap input:focus, .vr-wrap select:focus, .vr-wrap textarea:focus{
  outline:2px solid #0f9d58; outline-offset:2px;
}

/* ---- Sticky Nav ---- */
.vr-nav{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.9); backdrop-filter:blur(8px);
  border-bottom:1px solid var(--edge);
  overflow-x:auto; -webkit-overflow-scrolling:touch;
}
.vr-nav-inner{ max-width:1100px; margin:0 auto; padding:8px 18px; display:flex; gap:10px; }
.vr-nav a{
  display:inline-block; padding:8px 12px; font-size:14px; line-height:1;
  border:1px solid transparent; border-radius:999px; color:var(--ink); text-decoration:none; white-space:nowrap; font-weight:600;
}
.vr-nav a:focus, .vr-nav a:hover{ background:#0f9d5820; border-color:#0f9d58; }
.vr-nav a.active,.vr-nav a.is-active{ background:#fff; border-color:var(--edge); box-shadow:0 2px 10px rgba(0,0,0,.06); }

/* ---- Hero ---- */
.hero .vr-hero-grid{
  display:grid; grid-template-columns:1.35fr 1fr; gap:18px;
  background:linear-gradient(180deg,#fff 0,#fff 65%,#fbf5f9 100%);
}
.hero-left .eyebrow{ color:var(--pink); text-transform:uppercase; letter-spacing:.12em; font-size:12px; font-weight:800; }
.hero-left .accent{ color:var(--pink); }
.hero-ctas{ display:flex; gap:10px; flex-wrap:wrap; margin:14px 0 8px; }
.hero-kpis{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:10px; }
.hero-kpis .kpi{ border:1px dashed var(--edge); border-radius:var(--r); padding:10px 12px; background:#fff; }
.hero-kpis .kpi strong{ display:block; font-size:18px; }

.hero-right .media-card{ position:relative; border-radius:16px; overflow:hidden; border:1px solid var(--edge); background:#fff; box-shadow:var(--shadow); }
.media-card img{ width:100%; height:auto; display:block; }
.media-card .badge{ position:absolute; top:10px; right:10px; background:#e8fff2; color:#0a8f4e; border:1px solid #c9f3db; border-radius:999px; padding:6px 10px; font-size:12px; font-weight:700; }
.media-card figcaption{ display:flex; gap:8px; padding:10px; }
.chip{ display:inline-flex; align-items:center; padding:6px 10px; background:#fff; border:1px solid var(--edge); border-radius:999px; font-size:12px; }
.chip.ghost{ background:#fafafa; }

/* ---- Trustbar ---- */
.trustbar{ display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-top:14px; }
.trustbar .trust-item{ background:#fff; border:1px solid var(--edge); border-radius:12px; padding:10px; text-align:center; box-shadow:var(--shadow); }
.trustbar .trust-item strong{ display:block; color:var(--pink); }

/* ---- Calculator / Forms ---- */
.calc-wrap{ display:grid; grid-template-columns:1.1fr .9fr; gap:14px; }
.calc-form{ display:grid; gap:12px; margin-top:8px; }
.vr-field{ display:grid; gap:6px; }
.vr-field > span{ font-size:13px; color:var(--muted); font-weight:600; }
.vr-field input[type="number"], .vr-field select, .vr-field textarea{
  padding:12px 14px; border:1px solid var(--edge); border-radius:12px; background:#fff; font:inherit;
}
.vr-field input[type="range"]{ width:100%; }
.range-meta{ font-size:12px; color:var(--muted); }

.vr-table{ width:100%; border-collapse:separate; border-spacing:0; }
.vr-table th, .vr-table td{ padding:10px 12px; border-bottom:1px solid var(--edge); text-align:left; }
.vr-table.tiny th, .vr-table.tiny td{ padding:8px 10px; font-size:14px; }
.vr-table .total td, .vr-table .total th{ border-bottom:0; }
.vr-table-wrapper{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
.vr-table-wrapper .vr-table{ min-width:520px; }
.note{ font-size:12px; color:var(--muted); margin-top:8px; }

/* ---- Steps / Cards / Lists ---- */
.steps{ display:grid; grid-template-columns:repeat(5,1fr); gap:12px; }
.step{ text-align:left; }
.bubble{ display:inline-grid; place-items:center; width:28px; height:28px; border-radius:999px; background:var(--pink); color:#fff; font-weight:800; margin-bottom:6px; }

.cards-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.kv{ list-style:none; margin:8px 0 12px; padding:0; }
.kv li{ margin:3px 0; }

.why-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:14px; }
.why-media img{ width:100%; height:auto; border-radius:12px; }
.ticks{ list-style:none; padding-left:0; margin:8px 0; }
.ticks li{ position:relative; padding-left:24px; margin:6px 0; }
.ticks li::before{
  content:""; position:absolute; left:0; top:6px; width:14px; height:14px; border-radius:50%;
  background:linear-gradient(135deg,var(--green),#b8e6b2); box-shadow:inset 0 0 0 2px #fff;
}
.minikpis{ display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-top:10px; }
.mini{ text-align:center; }

.two-cards{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.kv.compact li{ display:flex; gap:10px; }
.kv.compact b{ min-width:210px; }

/* Testimonials */
.testimonials .tcard .row{ display:flex; align-items:center; gap:10px; }
.tcard .avatar{ width:36px; height:36px; border-radius:50%; background:#e9eef3; }
/* simple stars fallback */
.stars{ position:relative; height:18px; color:#f5c34b; letter-spacing:2px; }
.stars::before{ content:"★★★★★"; }
.stars[data-stars="4"]::before{ content:"★★★★☆"; }
.stars[data-stars="5"]::before{ content:"★★★★★"; }
.stars[data-stars="3"]::before{ content:"★★★☆☆"; }
.stars[data-stars="2"]::before{ content:"★★☆☆☆"; }
.stars[data-stars="1"]::before{ content:"★☆☆☆☆"; }

/* Journey */
.journey .timeline{ list-style:none; margin:0; padding:0; }
.timeline li{ display:grid; grid-template-columns:22px 1fr; gap:10px; padding:8px 0; border-bottom:1px dashed var(--edge); }
.timeline li:last-child{ border-bottom:0; }
.timeline .dot{ width:12px; height:12px; border-radius:50%; margin:5px 0 0 4px; background:var(--pink); box-shadow:0 0 0 3px #ffe0ef; }

/* Actions / Form */
.action-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:12px; }
.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.vr-check{ display:flex; align-items:flex-start; gap:10px; margin-top:6px; }
.vr-check input{ transform:translateY(3px); }

/* FAQ */
.faq .faq-item{ border-bottom:1px solid var(--edge); padding:10px 0; }
.faq .faq-item:last-child{ border-bottom:0; }
.faq summary{ cursor:pointer; font-weight:700; }
.faq summary::-webkit-details-marker{ display:none; }

/* CTA band */
.cta-band{ background:linear-gradient(180deg,#ff4aa7 0%,#E4137B 100%); color:#fff; padding:38px 0; margin-top:40px; }
.cta-band .cta-inner{ max-width:1100px; margin:0 auto; padding:0 18px; }
.cta-band .muted{ color:#ffe7f3; }
.cta-actions{ display:flex; gap:10px; flex-wrap:wrap; margin:12px 0; }
.cta-stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.cta-stats .stat{ background:rgba(255,255,255,.11); border:1px solid rgba(255,255,255,.22); border-radius:12px; padding:10px; text-align:center; }

/* ---- ROI block ---- */
.roi-controls{
  display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:10px 0 8px;
}
.roi-controls .vr-field{ gap:8px; }
.roi-controls .vr-field > span{ font-size:13px; color:var(--muted); font-weight:600; }
.roi-meta{ font-size:13px; color:var(--ink); font-weight:700; }

.roi-bar-wrap{ margin:10px 0 12px; }
.roi-bar{
  height:14px; border-radius:10px; background:#f1f3f5; position:relative; overflow:hidden;
}
.roi-seg{ height:100%; }
.roi-seg.roi-profit{ background:linear-gradient(90deg,#81d69f,#4fb072); }
.roi-seg.roi-opex{ background:linear-gradient(90deg,#ffd4e9,#E4137B); opacity:.65; }

.roi-legend{ display:flex; align-items:center; gap:16px; margin-top:6px; color:var(--muted); font-size:13px; }
.roi-dot{ display:inline-block; width:10px; height:10px; border-radius:50%; margin-right:6px; transform:translateY(1px); }
.roi-dot.roi-profit{ background:#4fb072; }
.roi-dot.roi-opex{ background:#E4137B; }

/* ROI KPIs */
.roi-kpis{ display:grid; grid-template-columns:repeat(5,1fr); gap:8px; margin-top:14px; }
.roi-kpi{ background:#fff; border:1px solid var(--edge); border-radius:12px; padding:12px 14px; box-shadow:var(--shadow); }
.roi-kpi > strong{
  display:block; font-size:12px; color:var(--muted); text-transform:uppercase; letter-spacing:.06em; margin-bottom:3px;
}
.roi-kpi > div{ font-weight:800; font-size:18px; }

.calc-kpis.under-coupon{ margin-top:10px; }

/* ---- Floating Calendly button ---- */
.vr-float-call{
  position:fixed; left:16px; bottom:16px; z-index:1000;
  display:inline-flex; align-items:center; gap:8px; padding:12px 16px;
  border-radius:999px; box-shadow:0 10px 30px rgba(228,19,123,.25);
  background:#fff; border:1px solid var(--edge); color:#0a8f4e; font-weight:700;
}
.vr-float-call .vr-float-ic{ font-size:18px; line-height:1; transform:translateY(1px); }

/* Safe-area support */
@supports (padding: max(0px)){
  .vr-float-call{
    left:max(16px, env(safe-area-inset-left));
    bottom:max(16px, env(safe-area-inset-bottom));
  }
}

/* PDF mode: never show floating call */
.pdf-mode .vr-float-call{ display:none !important; }

/* ---- Honeypot (for bots) ---- */
.hp-field{
  position:absolute !important; left:-10000px !important; top:auto !important;
  width:1px !important; height:1px !important; overflow:hidden !important;
}

/* ---- Sticky bottom CTA ---- */
.vr-sticky-cta{
  position:sticky; bottom:10px; justify-content:center;
  pointer-events:none; padding:0 12px; z-index:40;
  display:none;

}
.vr-sticky-cta .vr-btn{
  pointer-events:auto; box-shadow:0 6px 16px rgba(0,0,0,.18);
  width:100%; max-width:520px; text-align:center;
}
@supports (padding: max(env(safe-area-inset-bottom), 0px)){
  .vr-sticky-cta{ padding-bottom:max(env(safe-area-inset-bottom), 10px); }
}

/* =========================
   RESPONSIVE ADJUSTMENTS
   ========================= */

/* ≤ 1100px (tablet landscape-ish) */
@media (max-width:1100px){
  .hero .vr-hero-grid{ grid-template-columns:1fr; }
  .why-grid{ grid-template-columns:1fr; }
  .action-grid{ grid-template-columns:1fr; }
  .calc-wrap{ grid-template-columns:1fr; }
}

/* ≤ 768px (phones/tablets portrait) */
@media (max-width:768px){
  /* Hero */
  .vr-hero-grid{ display:grid; grid-template-columns:1fr; gap:16px; }
  .hero-left h1{ font-size:26px; line-height:1.2; }
  .hero-left .lead{ font-size:16px; }
  .hero-ctas .vr-btn{ flex:1 1 48%; text-align:center; }
  .hero-kpis{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .media-card img{ width:100%; height:auto; display:block; }
  .trustbar{ grid-template-columns:repeat(2, minmax(0,1fr)); }

  /* Generic 2-col areas -> 1-col */
  .action-grid, .calc-wrap, .why-grid, .two-cards{ grid-template-columns:1fr; gap:16px; }

  /* ROI controls + KPIs */
  .roi-controls{ grid-template-columns:1fr; gap:14px; }
  .roi-bar-wrap{ padding:10px; }
  .roi-legend{ font-size:13px; }
  .roi-kpis{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .roi-kpi{ padding:10px; }

  /* Calculator results table */
  .calc-right .vr-table.tiny th,
  .calc-right .vr-table.tiny td{ padding:8px; font-size:14px; }
  .calc-kpis.under-coupon{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:10px; }

  /* Lists & cards */
  .ticks.two-col{ columns:1; }
  .cards-3, .minikpis{ grid-template-columns:1fr; gap:12px; }

  /* Testimonials */
  .cards-3.testimonials{ grid-template-columns:1fr; gap:12px; }

  /* CTA band */
  .cta-inner{ text-align:center; }
  .cta-actions{ display:grid; grid-template-columns:1fr; gap:10px; }
  .cta-stats{ grid-template-columns:repeat(3,1fr); gap:8px; }

  /* Forms */
  .vr-form .grid-2{ grid-template-columns:1fr; gap:12px; }
  .vr-check{ font-size:14px; }

  /* Calendly height */
  .calendly-inline-widget{ height:560px !important; }
}

/* ≤ 640px (small phones) */
@media (max-width:640px){
  .vr-btn{ padding:12px 14px; border-radius:10px; font-weight:600; }
  .vr-btn.full{ width:100%; }
}

/* ≤ 520px (very small phones) */
@media (max-width:520px){
  .vr-float-call{ padding:10px 12px; font-size:14px; }
  .vr-float-call span:last-child{
    max-width:210px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  }
}

/* Defensive: avoid fixed heights that crop on small screens */
img[style*="height:"], .media-card[style*="height:"]{ height:auto !important; }


/***** Varmers investors – mobile hot-fixes (append) *****/

/* 1) Prevent pink site header from crushing the hero on small phones */
@media (max-width: 768px){
  /* if theme header is sticky, give our first section breathing room */
  .vr-nav { scroll-margin-top: 72px; }
  .hero .vr-hero-grid { margin-top: 8px; }
}

/* 2) Tighten hero card + chips; avoid image overflow */
@media (max-width: 480px){
  .media-card { border-radius: 14px; }
  .media-card figcaption { flex-wrap: wrap; gap: 6px; padding: 8px; }
  .chip { padding: 4px 8px; font-size: 11px; }
}

/* 3) KPI tiles: switch to 1-col on very small screens to avoid squish */
@media (max-width: 420px){
  .hero-kpis { grid-template-columns: 1fr; }
}

/* 4) ROI: make sliders readable, keep numbers on their own line */
@media (max-width: 768px){
  .roi-controls .vr-field { gap: 6px; }
  .roi-controls .vr-field > span { font-size: 12px; }
  .roi-meta { font-size: 12px; }
  .roi-bar-wrap { padding: 8px 10px; }
}
@media (max-width: 420px){
  .roi-kpis { grid-template-columns: 1fr; }
  .roi-kpi > div { font-size: 17px; }
}

/* 5) Calculator: prevent long selects/inputs from pushing layout */
@media (max-width: 480px){
  .calc-wrap .vr-card { padding: 16px; }
  .calc-kpis.under-coupon { grid-template-columns: 1fr; }
  .calc-right .vr-table.tiny th,
  .calc-right .vr-table.tiny td { padding: 7px 8px; font-size: 13px; }
}

/* 6) Action section: make the form feel native and grabbable */
@media (max-width: 768px){
  .vr-form input, .vr-form select, .vr-form textarea { min-height: 44px; }
  .vr-form textarea { min-height: 96px; }
  .vr-form .grid-2 { grid-template-columns: 1fr; gap: 10px; }
}

/* 7) Calendly iframe: reduce min height & add rounded container */
@media (max-width: 768px){
  #schedule .calendly-inline-widget { height: 520px !important; }
  #schedule .vr-card { overflow: hidden; }
}

/* 8) “How it works” steps: avoid horizontal connectors clipping */
@media (max-width: 768px){
  .steps { grid-template-columns: 1fr; }
}

/* 9) Logos row in Risk section: keep brand images neat */
@media (max-width: 768px){
  #risk .roi-kpis { grid-template-columns: repeat(3,1fr); gap: 8px; }
}
@media (max-width: 420px){
  #risk .roi-kpis { grid-template-columns: repeat(2,1fr); }
}

/* 10) Testimonials: ensure avatars + stars don’t wrap awkwardly */
@media (max-width: 480px){
  .testimonials .tcard .row { align-items: flex-start; }
  .tcard .avatar { flex: 0 0 32px; width: 32px; height: 32px; }
  .stars { font-size: 14px; height: 16px; }
}

/* 11) FAQ: bigger tap targets & spacing */
@media (max-width: 768px){
  .faq .faq-item { padding: 12px 0; }
  .faq summary { font-size: 16px; }
}

/* 12) CTA band: stack stats more tightly on phones */
@media (max-width: 480px){
  .cta-stats { grid-template-columns: 1fr; }
}

/* 13) Safe sticky CTA: keep clear of browser chrome + floating button */
.vr-sticky-cta { bottom: 12px; }
@supports (padding: max(env(safe-area-inset-bottom), 0px)){
  .vr-sticky-cta { padding-bottom: max(env(safe-area-inset-bottom), 12px); }
}
/* never overlap our floating call button on tiny screens */
@media (max-width: 420px){
  .vr-float-call { bottom: 74px; }
  .vr-sticky-cta { display:flex; } 
}

/* 14) Prevent any fixed heights from cropping images/cards (defense) */
img, video { max-width: 100%; height: auto; }
.media-card[style*="height:"], img[style*="height:"] { height: auto !important; }

/* 15) Admin bar compatibility (WordPress) */
@media screen and (max-width: 782px){
  body.admin-bar .vr-nav{ top: 46px; }
}

/* 16) Subtle polish: lighten mobile shadows for less “heavy” look */
@media (max-width: 768px){
  .vr-card { box-shadow: 0 6px 18px rgba(16,24,40,.06); }
}

/* 17) Hide any empty image placeholders (e.g., when logos not loaded) */
.vr-card img[src=""], .vr-card img:not([src]) { display: none; }
