/* Vemax Express — global styles (base, header, menu, footer, call bar) */
:root {
  --ink: #0b1219;
  --ink-2: #111b25;
  --ink-3: #1a2632;
  --steel: #2a3846;
  --paper: #f3f4f1;
  --white: #ffffff;
  --text: #0b1219;
  --text-2: #4a5560;
  --text-3: #7a848d;
  --on-dark: #ffffff;
  --on-dark-2: #a9b3bc;
  --line: #e2e4e0;
  --line-dark: rgba(255, 255, 255, 0.1);
  --yellow: #ffd400;
  --yellow-2: #f2c200;
  --orange: #f08a24;
  --r: 6px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1320px;
  --gutter: 24px;
  --header-h: 76px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (max-width: 767px) { :root { --gutter: 16px; --header-h: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 27px; -webkit-font-smoothing: antialiased; overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.icon { width: 20px; height: 20px; flex: none; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: fixed; left: 16px; top: 16px; z-index: 300; padding: 8px 12px; background: var(--yellow); color: var(--ink); font-weight: 700; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* ---------- Type ---------- */
.h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 44px; line-height: 0.95; letter-spacing: -0.005em; }
@media (min-width: 768px) { .h2 { font-size: 60px; } }
@media (min-width: 1100px) { .h2 { font-size: 76px; } }
.h2 span { color: var(--yellow-2); }
.section--dark .h2 span { color: var(--yellow); }
.kicker { font-family: var(--display); font-weight: 700; font-size: 16px; line-height: 20px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 28px; height: 3px; background: var(--yellow); }
.sub { margin-top: 18px; font-size: 19px; line-height: 29px; color: var(--text-2); max-width: 620px; }
.sub a, .faq a, .step a { font-weight: 700; color: inherit; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.section--dark .sub { color: var(--on-dark-2); }
.section--dark .kicker { color: var(--on-dark-2); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; border-radius: var(--r); border: 2px solid transparent; font-weight: 700; font-size: 16px; line-height: 22px; white-space: nowrap; transition: background-color 250ms var(--ease), color 250ms var(--ease), border-color 250ms var(--ease), transform 250ms var(--ease); }
.btn:active { transform: scale(0.98); }
.btn .icon { width: 18px; height: 18px; }
.btn--sm { padding: 9px 16px; font-size: 16px; }
.btn--lg { padding: 14px 24px; font-size: 17px; }
.btn--xl { padding: 12px 28px 12px 20px; gap: 14px; text-align: left; }
.btn--xl .icon { width: 24px; height: 24px; padding: 10px; box-sizing: content-box; background: var(--ink); color: var(--yellow); border-radius: 50%; }
.btn--xl span { display: grid; font-family: var(--display); font-size: 32px; line-height: 32px; font-weight: 800; letter-spacing: 0.01em; }
.btn--xl small { font-family: var(--font); font-size: 12px; line-height: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.btn--block { width: 100%; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #ffe14a; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background-color 300ms var(--ease), box-shadow 300ms var(--ease); }
.header.is-scrolled { background: rgba(11, 18, 25, 0.92); box-shadow: 0 1px 0 var(--line-dark); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header__bar { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #fff; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: auto; height: 46px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35)); }
.brand__name { font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 17px; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; }
.brand__name b { color: var(--yellow); font-weight: 800; }
.nav { display: none; gap: 4px; }
.nav a { padding: 8px 12px; font-weight: 600; font-size: 15px; color: rgba(255, 255, 255, 0.82); border-radius: var(--r); transition: color 200ms var(--ease), background-color 200ms var(--ease); }
.nav a:hover, .nav a.is-current { color: #fff; background: rgba(255, 255, 255, 0.08); }
.header__actions { display: flex; align-items: center; gap: 14px; }
.live { display: none; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: 0.06em; color: #fff; }
.live__dot { width: 9px; height: 9px; border-radius: 50%; background: #2ee66b; box-shadow: 0 0 0 0 rgba(46, 230, 107, 0.6); animation: live 1.8s ease-out infinite; flex: none; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(46, 230, 107, 0.6); } 100% { box-shadow: 0 0 0 10px rgba(46, 230, 107, 0); } }
.header__call span { font-family: var(--display); font-size: 21px; font-weight: 800; letter-spacing: 0.02em; }
.burger { position: relative; width: 44px; height: 44px; border-radius: var(--r); background: rgba(255, 255, 255, 0.1); }
.burger span { position: absolute; left: 12px; width: 20px; height: 2px; background: #fff; transition: transform 400ms var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (min-width: 1100px) { .nav { display: flex; } .burger { display: none; } .live { display: inline-flex; } }
@media (max-width: 767px) { .header__call { display: none; } .brand img { height: 38px; } .brand__name { font-size: 17px; line-height: 15px; } }

.menu { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--header-h) + 32px) var(--gutter) 110px; background: var(--ink); color: #fff; opacity: 0; visibility: hidden; transition: opacity 350ms var(--ease), visibility 0s linear 350ms; }
.menu.is-open { opacity: 1; visibility: visible; transition: opacity 350ms var(--ease); }
.menu nav { display: grid; }
.menu nav a { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 52px; text-transform: uppercase; border-bottom: 1px solid var(--line-dark); }
.menu__phone { display: grid; font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 46px; color: var(--yellow); }
.menu__phone small { font-family: var(--font); font-size: 13px; line-height: 18px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-2); font-weight: 700; }


/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-dark-2); padding: 72px 0 32px; border-top: 6px solid var(--yellow); }
.footer__top { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.3fr 1.5fr 1fr; align-items: start; } }
.footer__brand p { margin-top: 14px; font-weight: 600; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 24px; font-weight: 600; }
.footer__nav a:hover, .footer__contact a:hover { color: #fff; }
.footer__contact { display: grid; gap: 8px; }
.footer__phone { font-family: var(--display); font-weight: 800; font-size: 38px; line-height: 40px; color: var(--yellow); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: 14px; }
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 899px) { .footer { padding-bottom: 110px; } }

/* ---------- Mobile call bar ---------- */
.callbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 95; display: none; align-items: center; justify-content: center; gap: 12px; height: 58px; border-radius: var(--r); background: var(--yellow); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: 0.02em; text-transform: uppercase; box-shadow: 0 12px 30px rgba(11, 18, 25, 0.35); }
.callbar .icon { width: 22px; height: 22px; }
@media (max-width: 899px) { .callbar { display: flex; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.is-in, .no-js .reveal { opacity: 1; transform: none; }
@media (max-width: 767px) { .reveal { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; }
  .hero__inner > *, .reveal { opacity: 1; transform: none; }
  .tool__bar i { transform: none; }
}

/* ---------- Mobile call bar (hero-aware) ---------- */
@media (max-width: 899px) {
  .callbar { transform: translateY(160%); transition: transform 400ms var(--ease); }
  .callbar.is-visible { transform: none; }
}
.brand img { filter: none; }
.brand__name { padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, 0.2); }

/* ---------- Inner pages (page.php, 404) ---------- */
body:not(.page-template-views-vemax-home) .header { background: rgba(11, 18, 25, 0.92); box-shadow: 0 1px 0 var(--line-dark); }
.default-page { padding: calc(var(--header-h) + 64px) 0 88px; }
.default-page__box { max-width: 860px; }
.default-page__box > * + * { margin-top: 18px; }
.default-page__box h1 { margin-bottom: 32px; }
.default-page__box a { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.default-page__box ul { list-style: disc; padding-left: 22px; }
.default-page__box ol { list-style: decimal; padding-left: 22px; }

/* ---------- WP admin bar offset ---------- */
.admin-bar .header { top: 32px; }
:root:has(body.admin-bar) { scroll-padding-top: 122px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .header { top: 0; } }
