/*
Theme Name: REDVIS Custom
Author: REDVIS
Description: Custom bilingual LT/EN WordPress theme.
Version: 6.8.13
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: redvis
*/

:root {
  --navy: #0b1f33;
  --navy-2: #123d66;
  --blue: #145ea8;
  --blue-dark: #0f4f8e;
  --accent: #e6a532;
  --light: #f5f7fa;
  --white: #ffffff;
  --text: #17212b;
  --muted: #627181;
  --border: #dfe6ed;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 14px 38px rgba(11, 31, 51, .08);
  --shadow-lg: 0 24px 64px rgba(11, 31, 51, .15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
p { margin-top: 0; }
.container {
  width: min(var(--container-max, 1160px), calc(100% - 48px));
  margin-inline: auto;
}

/* Top bar */
.topbar {
  background: #071a2b;
  color: #d8e3ed;
  font-size: 13px;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 38px;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar-sep { margin: 0 10px; color: #748699; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(223,230,237,.9);
  backdrop-filter: blur(12px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 78px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.redvis-header-logo { display: block; width: 172px; max-height: 54px; object-fit: contain; }
.menu { display: flex; align-items: center; gap: 5px; }
.menu > a {
  position: relative;
  padding: 10px 12px;
  border-radius: 9px;
  color: #283747;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}
.menu > a:not(.nav-cta):hover { color: var(--blue); background: #f4f7fa; }
.nav-cta {
  margin-left: 8px;
  padding: 11px 17px !important;
  background: var(--blue);
  color: #fff !important;
}
.nav-cta:hover { background: var(--blue-dark) !important; }
.lang {
  display: flex;
  gap: 4px;
  margin-left: 5px;
  padding-left: 10px;
  border-left: 1px solid var(--border);
}
.lang a {
  min-width: 35px;
  padding: 7px 8px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}
.lang a:hover { background: #f2f5f8; }
.lang .active { background: var(--navy); color: #fff; }
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
  border-radius: 99px;
}

/* Shared typography */
.eyebrow {
  display: inline-block;
  color: #afd0ef;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .15em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow.dark { color: var(--blue); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head h2,
.split h2,
.contact-info h2,
.form-panel > h2,
.service-content > h2 {
  margin: 11px 0 16px;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 47px);
  line-height: 1.12;
  letter-spacing: -.025em;
}
.section-head p,
.split p { color: var(--muted); font-size: 16px; }
.section-actions { margin-top: 26px; }

.row-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  max-width: none;
}
.row-head > div { max-width: 760px; }

/* Buttons / links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(20,94,168,.2); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); color: #fff; }
.btn-ghost:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.12); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #f4f7fa; }
.btn-block { width: 100%; }
.text-link,
.card-link {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}
.text-link:hover,
.service-card:hover .card-link { text-decoration: underline; }

/* Home hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(84px, 10vw, 126px) 0 clamp(88px, 10vw, 122px);
  background:
    radial-gradient(circle at 82% 18%, rgba(74,149,219,.23), transparent 32%),
    radial-gradient(circle at 18% 100%, rgba(230,165,50,.1), transparent 30%),
    linear-gradient(135deg, #071a2b 0%, #0d3153 52%, #145a98 100%);
  color: #fff;
}
.hero::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -260px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.018);
  pointer-events: none;
}
.hero.has-hero-image { background-size: cover !important; background-position: center !important; }
.hero-layout { position: relative; z-index: 1; display: block; }
.hero-layout > div:first-child { max-width: 850px; }
.hero h1 {
  max-width: 900px;
  margin: 18px 0 22px;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.045;
  letter-spacing: -.04em;
}
.hero p {
  max-width: 730px;
  margin: 0;
  color: #dce8f3;
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.68;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Inner page hero */
.page-hero {
  padding: clamp(68px, 8vw, 94px) 0;
  background:
    radial-gradient(circle at 88% 10%, rgba(67,145,219,.2), transparent 31%),
    linear-gradient(135deg, #081c2f, #123d66);
  color: #fff;
}
.page-hero .container { max-width: var(--container-max, 1160px); }
.page-hero h1 {
  max-width: 880px;
  margin: 15px 0 19px;
  font-size: clamp(38px, 5.5vw, 61px);
  line-height: 1.07;
  letter-spacing: -.035em;
}
.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #d9e7f2;
  font-size: 17px;
  line-height: 1.7;
}
.service-hero .btn { margin-top: 26px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 23px; color: #c2d5e5; font-size: 13px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }

/* Sections */
.section { padding: clamp(70px, 8vw, 94px) 0; }
.section-alt {
  background:
    radial-gradient(circle at 8% 0%, rgba(230,165,50,.055), transparent 28%),
    var(--light);
}

/* Grids / cards */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 236px;
  padding: 29px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 7px 24px rgba(11,31,51,.045);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue), var(--accent));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .22s ease;
}
.card:hover { transform: translateY(-5px); border-color: #cbd6e0; box-shadow: var(--shadow); }
.card:hover::before { transform: scaleY(1); }
.card h3 { margin: 0 0 12px; color: var(--navy); font-size: 20px; line-height: 1.3; }
.card p { margin: 0 0 20px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.number { display: inline-flex; margin-bottom: 20px; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .09em; }
.service-card { color: inherit; text-decoration: none; }
.service-card .card-link { margin-top: auto; padding-top: 5px; font-size: 13px; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step {
  min-height: 205px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.88);
}
.step > span { display: inline-block; margin-bottom: 29px; color: var(--blue); font-size: 13px; font-weight: 900; letter-spacing: .08em; }
.step h3 { margin: 0 0 10px; color: var(--navy); font-size: 19px; line-height: 1.35; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.steps.compact .step { min-height: 145px; }
.steps.compact .step > span { margin-bottom: 20px; }

/* Split / values */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(42px, 6vw, 72px); align-items: center; }
.split > * { min-width: 0; }
.checks {
  margin: 0;
  padding: 21px 27px;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.checks li { position: relative; padding: 16px 0 16px 34px; border-bottom: 1px solid var(--border); color: #293746; font-weight: 700; }
.checks li:last-child { border-bottom: 0; }
.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 16px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fcebcf;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}
.value-cards { display: grid; gap: 14px; }
.mini-card,
.audience-card {
  padding: 24px 25px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: 0 8px 24px rgba(11,31,51,.04);
}
.mini-card strong { display: block; margin-bottom: 6px; color: var(--navy); font-size: 18px; }
.mini-card p,
.audience-card p { margin: 0; color: var(--muted); }
.audience-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.audience-card h3 { margin: 0 0 10px; color: var(--navy); font-size: 20px; }

/* CTA */
.cta-section { padding-top: 0; }
.cta-box,
.cta-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: clamp(32px, 5vw, 52px);
  border-radius: 22px;
}
.cta-box {
  background: linear-gradient(135deg, #0b1f33, #14558e);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta-box h2 { max-width: 760px; margin: 11px 0 0; font-size: clamp(28px, 4vw, 43px); line-height: 1.15; letter-spacing: -.025em; }
.cta-inline { border: 1px solid var(--border); background: #f7f9fb; }
.cta-inline h2 { margin: 0 0 8px; color: var(--navy); font-size: clamp(27px,3vw,38px); line-height: 1.2; }
.cta-inline p { margin: 0; color: var(--muted); }

/* Contact */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px,6vw,72px); align-items: start; }
.contact-info { padding-top: 8px; }
.contact-item { padding: 18px 0; border-bottom: 1px solid var(--border); }
.contact-item:first-of-type { margin-top: 15px; border-top: 1px solid var(--border); }
.contact-item span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.contact-item strong { color: var(--navy); font-size: 16px; }
.contact-item a { text-decoration: none; }
.contact-item a:hover { color: var(--blue); }
.form-panel { padding: 31px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.form-panel > h2 { margin-top: 0; font-size: 31px; }
.form-panel > p { margin-bottom: 23px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { color: #29323c; font-size: 13px; font-weight: 750; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #c7d1da;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(20,94,168,.12); }
.field textarea { min-height: 145px; resize: vertical; }
.field button { width: 100%; }
.consent { color: var(--muted); font-size: 12px; }
.consent label { display: flex; flex-direction: row; align-items: flex-start; gap: 9px; font-weight: 500; }
.consent input { width: auto; margin-top: 4px; }
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.notice { margin-bottom: 20px; padding: 14px 16px; border: 1px solid #c9e5cf; border-radius: 10px; background: #eef8f0; color: #1c5c2a; }

/* Service detail */
.service-detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 340px; gap: clamp(40px,6vw,72px); align-items: start; }
.service-content { max-width: 770px; }
.service-content .lead { margin-bottom: 18px; color: #334353; font-size: 19px; line-height: 1.65; }
.service-content p { color: var(--muted); }
.service-content h3 { margin: 36px 0 14px; color: var(--navy); font-size: 23px; }
.detail-list { margin: 0; padding-left: 21px; }
.detail-list li { margin: 9px 0; padding-left: 4px; color: #4d5a66; }
.service-sidebar { position: sticky; top: 110px; }
.sidebar-card { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: #f8fafc; }
.sidebar-card h3 { margin: 0 0 10px; color: var(--navy); font-size: 22px; }
.sidebar-card p { margin-bottom: 21px; color: var(--muted); font-size: 14px; }
.sidebar-contact { display: grid; gap: 6px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.sidebar-contact a { color: var(--blue); font-weight: 750; text-decoration: none; }
.service-process { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.service-process > div { display: flex; align-items: center; gap: 13px; padding: 16px; border: 1px solid var(--border); border-radius: 11px; background: #fff; }
.service-process b { display: grid; place-items: center; flex: 0 0 31px; width: 31px; height: 31px; border-radius: 50%; background: #edf4fa; color: var(--blue); }
.service-process span { color: #334250; font-weight: 700; font-size: 14px; }

/* Footer */
.footer {
  background: radial-gradient(circle at 82% 0%, rgba(230,165,50,.16), transparent 30%), #081827;
  color: #c7d3de;
  padding: 66px 0 26px;
}
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr 1fr .8fr; gap: 42px; }
.footer-grid > div { min-width: 0; }
.footer-brand { display: inline-flex; margin-bottom: 14px; }
.redvis-footer-logo { display: block; width: 205px; max-height: 70px; object-fit: contain; }
.footer p { max-width: 390px; margin: 7px 0; color: #b7c3cf; font-size: 14px; }
.footer h3 { margin: 0 0 15px; color: #fff; font-size: 15px; }
.footer a { color: #dbe6ef; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-links { display: grid; gap: 8px; }
.copyright { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #92a1ad; font-size: 12px; }

/* Generic content */
.prose { max-width: 850px; }
.prose p,
.prose li { color: #4a5561; }
.quote { margin-top: 26px; padding: 29px 31px; border-radius: var(--radius); background: linear-gradient(135deg,var(--navy),var(--navy-2)); color: #fff; box-shadow: var(--shadow-lg); }
.quote p { margin: 0; color: #dbe6ef; font-size: 19px; line-height: 1.6; }

/* Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible { outline: 3px solid rgba(20,94,168,.24); outline-offset: 2px; }

/* Tablet */
@media (max-width: 1000px) {
  .container { width: min(100% - 36px, 920px); }
  .menu > a { padding-inline: 9px; font-size: 13px; }
  .nav-cta { padding-inline: 13px !important; }
  .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* Mobile nav + layout */
@media (max-width: 860px) {
  .topbar .container { justify-content: center; flex-wrap: wrap; gap: 2px 16px; padding: 7px 0; text-align: center; }
  .nav { min-height: 72px; }
  .mobile-toggle { display: block; }
  .menu {
    position: fixed;
    z-index: 110;
    top: 72px;
    left: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    max-height: calc(100vh - 88px);
    padding: 12px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255,255,255,.99);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  body.menu-open .menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
  .menu > a { padding: 13px 14px; font-size: 15px; }
  .nav-cta { margin-left: 0; text-align: center; }
  .lang { justify-content: center; margin: 6px 0 0; padding: 10px 0 2px; border-top: 1px solid var(--border); border-left: 0; }
  .lang a { min-width: 50px; }
  .row-head { align-items: flex-start; flex-direction: column; gap: 6px; }
  .split,
  .contact-layout,
  .service-detail-layout { grid-template-columns: 1fr; gap: 36px; }
  .service-sidebar { position: static; }
  .steps,
  .audience-grid { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .cta-box,
  .cta-inline { align-items: flex-start; flex-direction: column; gap: 24px; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 34px; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 560px); }
  .topbar { font-size: 11px; }
  .topbar-sep { margin: 0 6px; }
  .redvis-header-logo { width: 150px; }
  .hero { padding: 67px 0 72px; }
  .hero h1 { margin-top: 15px; font-size: clamp(38px,11vw,53px); }
  .hero p { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; margin-top: 28px; }
  .hero-actions .btn { width: 100%; }
  .page-hero { padding: 58px 0 62px; }
  .page-hero h1 { font-size: clamp(34px,10vw,48px); }
  .page-hero p { font-size: 16px; }
  .section { padding: 58px 0; }
  .section-head { margin-bottom: 30px; }
  .grid { grid-template-columns: 1fr; gap: 14px; }
  .card { min-height: 0; padding: 24px; }
  .form-panel { padding: 23px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .service-process { grid-template-columns: 1fr; }
  .checks { padding: 13px 20px; }
  .footer { padding-top: 52px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .copyright { margin-top: 34px; }
}

/* Homepage process & CTA refinements */
.process-head { max-width: 820px; margin-bottom: 46px; }
.process-head p { max-width: 700px; margin-top: 16px; }
.process-steps { position: relative; gap: 22px; counter-reset: process; }
.process-steps .step { position: relative; min-height: 245px; padding: 32px 30px 30px; overflow: hidden; box-shadow: 0 10px 30px rgba(11,31,51,.035); }
.process-steps .step::after { content: ""; position: absolute; left: 30px; right: 30px; top: 72px; height: 1px; background: var(--border); }
.process-steps .step > span { position: relative; z-index: 1; margin-bottom: 45px; padding: 7px 10px; border-radius: 999px; background: #edf5fb; font-size: 12px; }
.process-steps .step h3 { margin-bottom: 12px; font-size: 20px; }
.process-steps .step p { font-size: 15px; line-height: 1.7; }

.cta-box-enhanced { position: relative; overflow: hidden; padding: clamp(38px,5vw,58px); }
.cta-box-enhanced::after { content: ""; position: absolute; width: 280px; height: 280px; right: -100px; top: -125px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 45px rgba(255,255,255,.025), 0 0 0 90px rgba(255,255,255,.018); pointer-events: none; }
.cta-copy { position: relative; z-index: 1; max-width: 790px; }
.cta-box-enhanced h2 { max-width: 700px; }
.cta-box-enhanced p { max-width: 720px; margin: 16px 0 0; color: rgba(255,255,255,.78); font-size: 16px; line-height: 1.7; }
.cta-button { position: relative; z-index: 1; flex: 0 0 auto; white-space: nowrap; }
.cta-button span { display: inline-block; margin-left: 8px; transition: transform .2s ease; }
.cta-button:hover span { transform: translateX(4px); }

@media (max-width: 900px) {
  .process-steps .step { min-height: 0; }
  .cta-box-enhanced { gap: 28px; }
}
@media (max-width: 620px) {
  .process-head { margin-bottom: 32px; }
  .process-steps { gap: 14px; }
  .process-steps .step { padding: 25px 23px; }
  .process-steps .step::after { left: 23px; right: 23px; top: 64px; }
  .process-steps .step > span { margin-bottom: 36px; }
  .cta-box-enhanced { padding: 30px 25px; }
  .cta-box-enhanced p { font-size: 15px; }
  .cta-button { width: 100%; text-align: center; }
}

/* Homepage process flow v2.6 */
.process-section { overflow: hidden; }
.process-section .process-head { max-width: 850px; margin-bottom: 48px; }
.process-section .process-head h2 { max-width: 760px; }
.process-section .process-head p { max-width: 760px; margin: 17px 0 0; font-size: 17px; line-height: 1.75; }
.process-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
}
.process-flow::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 39px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, rgba(230,165,50,.18), rgba(230,165,50,.72), rgba(230,165,50,.18));
}
.process-card {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 260px;
  padding: 30px;
  border: 1px solid #dfe6ec;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 12px 34px rgba(11,31,51,.055);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.process-card:hover {
  transform: translateY(-5px);
  border-color: #cbd7e1;
  box-shadow: 0 18px 42px rgba(11,31,51,.09);
}
.process-number {
  position: relative;
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin-bottom: 28px;
  border: 7px solid #f5f7f9;
  border-radius: 50%;
  background: #fff4df;
  color: #b87810;
  box-shadow: 0 0 0 1px rgba(230,165,50,.32);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .05em;
}
.process-copy { padding-top: 2px; }
.process-copy h3 { margin: 0 0 12px; color: var(--navy); font-size: 21px; line-height: 1.3; }
.process-copy p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }

@media (max-width: 860px) {
  .process-flow { grid-template-columns: 1fr; gap: 16px; }
  .process-flow::before {
    top: 34px;
    bottom: 34px;
    left: 38px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, rgba(230,165,50,.18), rgba(230,165,50,.72), rgba(230,165,50,.18));
  }
  .process-card { min-height: 0; padding: 26px 26px 26px 102px; }
  .process-number { position: absolute; top: 24px; left: 22px; width: 58px; height: 58px; margin: 0; border-width: 5px; font-size: 14px; }
}
@media (max-width: 540px) {
  .process-section .process-head { margin-bottom: 30px; }
  .process-section .process-head p { font-size: 15px; }
  .process-flow::before { left: 31px; }
  .process-card { padding: 23px 20px 23px 82px; border-radius: 15px; }
  .process-number { top: 21px; left: 18px; width: 46px; height: 46px; border-width: 4px; font-size: 12px; }
  .process-copy h3 { font-size: 18px; }
  .process-copy p { font-size: 14px; }
}


/* Homepage process route v2.7 — timeline, intentionally not cards */
.process-section {
  position: relative;
  overflow: hidden;
}
.process-section::after {
  content: "1 — 2 — 3";
  position: absolute;
  right: -24px;
  bottom: -34px;
  color: rgba(11,31,51,.025);
  font-size: clamp(70px,10vw,150px);
  font-weight: 900;
  letter-spacing: -.06em;
  white-space: nowrap;
  pointer-events: none;
}
.process-section .process-head {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin-bottom: 72px;
}
.process-section .process-head h2 { max-width: 760px; }
.process-section .process-head p {
  max-width: 760px;
  margin: 17px 0 0;
  font-size: 17px;
  line-height: 1.75;
}

.process-route {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  column-gap: clamp(34px,5vw,82px);
  padding-top: 1px;
}
.process-rail {
  position: absolute;
  top: 25px;
  left: 25px;
  right: 25px;
  height: 2px;
  background: #d7dee5;
}
.process-rail::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  background: linear-gradient(90deg,#e5a431 0%,#e5a431 50%,#c7d2dc 100%);
}
.process-stop {
  position: relative;
  min-width: 0;
}
.process-marker {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 30px;
  border: 2px solid #e5a431;
  border-radius: 50%;
  background: #f6f7f8;
  box-shadow: 0 0 0 9px #f6f7f8;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.process-marker::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e5a431;
}
.process-marker span {
  position: absolute;
  top: -31px;
  left: 0;
  color: #7b8792;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}
.process-stop:hover .process-marker {
  transform: scale(1.08);
  background: #fff7e8;
}
.process-stop-copy {
  position: relative;
  padding: 0 4px 0 0;
}
.process-kicker {
  display: block;
  margin-bottom: 10px;
  color: #b87810;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
}
.process-stop h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: clamp(19px,1.6vw,23px);
  line-height: 1.3;
}
.process-stop p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

@media (max-width: 760px) {
  .process-section .process-head { margin-bottom: 52px; }
  .process-route {
    display: block;
    padding-left: 76px;
  }
  .process-rail {
    top: 25px;
    bottom: 25px;
    left: 25px;
    right: auto;
    width: 2px;
    height: auto;
  }
  .process-rail::after {
    inset: 0 0 auto;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg,#e5a431 0%,#e5a431 50%,#c7d2dc 100%);
  }
  .process-stop {
    min-height: 150px;
    padding-bottom: 34px;
  }
  .process-stop:last-child { min-height: 0; padding-bottom: 0; }
  .process-marker {
    position: absolute;
    left: -76px;
    top: 0;
    margin: 0;
  }
  .process-marker span {
    top: 17px;
    left: -37px;
    width: 30px;
    text-align: right;
  }
  .process-stop p { max-width: 520px; }
}
@media (max-width: 520px) {
  .process-section .process-head { margin-bottom: 44px; }
  .process-section .process-head p { font-size: 15px; }
  .process-route { padding-left: 62px; }
  .process-rail { left: 20px; }
  .process-marker {
    left: -62px;
    width: 42px;
    height: 42px;
    box-shadow: 0 0 0 7px #f6f7f8;
  }
  .process-marker span { display: none; }
  .process-stop { min-height: 145px; }
  .process-kicker { font-size: 10px; }
  .process-stop h3 { font-size: 19px; }
  .process-stop p { font-size: 14px; }
}


/* Current page indicator v2.8 */
.menu > a:not(.nav-cta) { position: relative; }
.menu > a:not(.nav-cta)::after {
  content:""; position:absolute; left:0; right:100%; bottom:-9px;
  height:2px; border-radius:3px; background:var(--accent);
  transition:right .2s ease;
}
.menu > a:not(.nav-cta):hover::after,
.menu > a.is-current:not(.nav-cta)::after { right:0; }
.menu > a.is-current:not(.nav-cta) { color:var(--navy); font-weight:800; }
.menu > a.is-current:not(.nav-cta)::before {
  content:""; position:absolute; left:50%; bottom:-13px;
  width:5px; height:5px; border-radius:50%;
  background:var(--accent); transform:translateX(-50%);
}
@media(max-width:900px){
  .menu > a:not(.nav-cta)::after {
    left:0; right:auto; top:50%; bottom:auto; width:3px; height:0;
    transform:translateY(-50%); transition:height .2s ease;
  }
  .menu > a.is-current:not(.nav-cta)::after { height:65%; }
  .menu > a.is-current:not(.nav-cta)::before { display:none; }
}


/* Process section v2.9 — editorial numbered rows, no cards */
.process-section .process-route{
  display:block !important;
  position:relative;
  padding:0 !important;
  max-width:1120px;
  border-top:1px solid rgba(11,31,51,.18);
}
.process-section .process-rail{display:none !important;}
.process-section .process-stop{
  display:grid !important;
  grid-template-columns:120px minmax(0,1fr) !important;
  gap:34px !important;
  align-items:center !important;
  min-height:150px !important;
  padding:28px 0 !important;
  border-bottom:1px solid rgba(11,31,51,.14);
  background:transparent !important;
  box-shadow:none !important;
  border-radius:0 !important;
}
.process-section .process-marker{
  position:relative !important;
  inset:auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  width:auto !important;
  height:auto !important;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  transform:none !important;
}
.process-section .process-marker::after{
  content:"" !important;
  position:absolute !important;
  left:72px !important;
  top:50% !important;
  width:34px !important;
  height:2px !important;
  border-radius:0 !important;
  background:var(--accent) !important;
  transform:translateY(-50%) !important;
}
.process-section .process-marker span{
  position:static !important;
  display:block !important;
  color:var(--navy) !important;
  font-size:42px !important;
  line-height:1 !important;
  font-weight:800 !important;
  letter-spacing:-.05em !important;
}
.process-section .process-stop-copy{
  padding:0 !important;
  display:grid;
  grid-template-columns:minmax(230px,.8fr) minmax(320px,1.4fr);
  column-gap:42px;
  align-items:center;
}
.process-section .process-kicker{
  grid-column:1;
  margin:0 0 7px !important;
  color:#b87810 !important;
  font-size:10px !important;
  font-weight:900 !important;
  letter-spacing:.14em !important;
}
.process-section .process-stop h3{
  grid-column:1;
  margin:0 !important;
  font-size:22px !important;
  line-height:1.25 !important;
}
.process-section .process-stop p{
  grid-column:2;
  grid-row:1 / span 2;
  max-width:560px !important;
  margin:0 !important;
  padding-left:30px;
  border-left:1px solid rgba(11,31,51,.14);
  color:var(--muted) !important;
  font-size:15px !important;
  line-height:1.7 !important;
}
.process-section .process-stop:hover .process-marker{
  transform:none !important;
}
.process-section .process-stop:hover .process-marker span{
  color:#b87810 !important;
}
.process-section .process-stop:hover h3{
  transform:translateX(4px);
}
.process-section .process-stop h3{
  transition:transform .2s ease;
}

@media(max-width:850px){
  .process-section .process-stop{
    grid-template-columns:86px minmax(0,1fr) !important;
    gap:22px !important;
  }
  .process-section .process-marker span{font-size:34px !important;}
  .process-section .process-marker::after{
    left:56px !important; width:24px !important;
  }
  .process-section .process-stop-copy{
    display:block;
  }
  .process-section .process-kicker{margin-bottom:7px !important;}
  .process-section .process-stop h3{margin-bottom:10px !important;}
  .process-section .process-stop p{
    padding-left:0;
    border-left:0;
  }
}
@media(max-width:520px){
  .process-section .process-stop{
    grid-template-columns:58px minmax(0,1fr) !important;
    gap:16px !important;
    min-height:0 !important;
    padding:24px 0 !important;
  }
  .process-section .process-marker span{font-size:27px !important;}
  .process-section .process-marker::after{display:none !important;}
  .process-section .process-stop h3{font-size:19px !important;}
  .process-section .process-stop p{font-size:14px !important;}
}


/* =========================================================
   v3.0 — PROCESS STEP CARDS (different from service cards)
   ========================================================= */
.process-section .process-head {
  max-width: 820px;
  margin-bottom: 54px !important;
}
.process-section .process-route {
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  gap: 22px !important;
  max-width: none !important;
  padding: 0 !important;
  border: 0 !important;
}
.process-section .process-rail { display:none !important; }

.process-section .process-stop {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  min-height: 300px !important;
  padding: 30px 28px 28px !important;
  gap: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(11,31,51,.11) !important;
  border-radius: 18px !important;
  background: linear-gradient(180deg,rgba(255,255,255,.98),rgba(255,255,255,.78)) !important;
  box-shadow: 0 16px 45px rgba(11,31,51,.055) !important;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}
.process-section .process-stop::before {
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:5px;
  background:var(--accent);
}
.process-section .process-stop:nth-of-type(3)::before { opacity:.72; }
.process-section .process-stop:nth-of-type(4)::before { opacity:.45; }

.process-section .process-stop::after {
  content:"";
  position:absolute;
  right:-54px;
  top:-54px;
  width:135px;
  height:135px;
  border-radius:50%;
  border:1px solid rgba(229,164,49,.22);
  box-shadow:
    0 0 0 18px rgba(229,164,49,.038),
    0 0 0 38px rgba(229,164,49,.018);
  pointer-events:none;
}
.process-section .process-stop:hover {
  transform:translateY(-7px) !important;
  border-color:rgba(229,164,49,.5) !important;
  box-shadow:0 24px 56px rgba(11,31,51,.10) !important;
}

.process-section .process-marker {
  position:static !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  width:100% !important;
  height:auto !important;
  margin:0 0 44px !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  transform:none !important;
}
.process-section .process-marker::after {
  content:"";
  position:static !important;
  display:block !important;
  width:44px !important;
  height:1px !important;
  background:rgba(11,31,51,.16) !important;
  transform:none !important;
}
.process-section .process-marker span {
  position:static !important;
  display:block !important;
  color:var(--accent) !important;
  font-size:48px !important;
  line-height:.9 !important;
  font-weight:800 !important;
  letter-spacing:-.06em !important;
}
.process-section .process-stop-copy {
  display:block !important;
  padding:0 !important;
}
.process-section .process-kicker {
  display:block !important;
  margin:0 0 9px !important;
  color:#9b6b16 !important;
  font-size:10px !important;
  line-height:1.2 !important;
  font-weight:900 !important;
  letter-spacing:.14em !important;
}
.process-section .process-stop h3 {
  margin:0 0 15px !important;
  color:var(--navy) !important;
  font-size:22px !important;
  line-height:1.25 !important;
  transform:none !important;
}
.process-section .process-stop p {
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  color:var(--muted) !important;
  font-size:15px !important;
  line-height:1.7 !important;
}

/* Stepped composition makes these clearly different from service cards */
.process-section .process-stop:nth-child(3) { margin-top:26px !important; }
.process-section .process-stop:nth-child(4) { margin-top:52px !important; }

/* =========================================================
   v3.0 — CLEAR CURRENT PAGE STATE IN MENU
   ========================================================= */
.menu > a:not(.nav-cta) {
  position:relative;
  padding:9px 12px;
  border-radius:9px;
  transition:background .18s ease,color .18s ease;
}
.menu > a:not(.nav-cta)::before,
.menu > a:not(.nav-cta)::after {
  display:none !important;
}
.menu > a:not(.nav-cta):hover {
  background:rgba(11,31,51,.045);
}
.menu > a.is-current:not(.nav-cta) {
  color:var(--navy) !important;
  font-weight:800 !important;
  background:rgba(229,164,49,.14) !important;
  box-shadow:inset 0 -2px 0 var(--accent);
}
.menu > a.is-current:not(.nav-cta)::after {
  display:block !important;
  content:"";
  position:absolute;
  left:50%;
  bottom:-5px;
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--accent);
  transform:translateX(-50%);
}

@media(max-width:900px) {
  .process-section .process-route {
    grid-template-columns:1fr !important;
    gap:16px !important;
  }
  .process-section .process-stop,
  .process-section .process-stop:nth-child(3),
  .process-section .process-stop:nth-child(4) {
    margin-top:0 !important;
    min-height:0 !important;
    padding:24px !important;
  }
  .process-section .process-marker { margin-bottom:28px !important; }
  .process-section .process-marker span { font-size:40px !important; }

  .menu > a.is-current:not(.nav-cta) {
    box-shadow:inset 3px 0 0 var(--accent);
  }
  .menu > a.is-current:not(.nav-cta)::after { display:none !important; }
}

@media(max-width:520px) {
  .process-section .process-stop {
    border-radius:14px !important;
    padding:22px 20px !important;
  }
  .process-section .process-marker span { font-size:35px !important; }
  .process-section .process-stop h3 { font-size:19px !important; }
}


/* =========================================================
   v3.1 FINAL — process cards + current page
   This block intentionally wins over all older process experiments.
   ========================================================= */
.process-section .process-route{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:24px !important;
  padding:0 !important;
  border:0 !important;
  max-width:1180px !important;
}
.process-section .process-rail{display:none !important;}

.process-section .process-stop,
.process-section .process-stop:nth-child(2),
.process-section .process-stop:nth-child(3),
.process-section .process-stop:nth-child(4){
  position:relative !important;
  display:block !important;
  min-height:300px !important;
  margin:0 !important;
  padding:30px 28px 30px !important;
  overflow:hidden !important;
  border:1px solid rgba(11,31,51,.11) !important;
  border-radius:20px !important;
  background:#fff !important;
  box-shadow:0 18px 48px rgba(11,31,51,.07) !important;
  transform:none !important;
}
.process-section .process-stop:nth-child(3){transform:translateY(20px) !important;}
.process-section .process-stop:nth-child(4){transform:translateY(40px) !important;}

.process-section .process-stop::before{
  content:"" !important;
  position:absolute !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  height:5px !important;
  background:var(--accent) !important;
}
.process-section .process-stop::after{
  content:"" !important;
  position:absolute !important;
  right:-58px !important;
  top:-58px !important;
  width:150px !important;
  height:150px !important;
  border-radius:50% !important;
  border:1px solid rgba(230,165,50,.25) !important;
  box-shadow:
    0 0 0 20px rgba(230,165,50,.04),
    0 0 0 42px rgba(230,165,50,.02) !important;
  pointer-events:none !important;
}

.process-section .process-marker{
  position:relative !important;
  inset:auto !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  width:100% !important;
  height:auto !important;
  margin:0 0 50px !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  transform:none !important;
}
.process-section .process-marker::after{
  content:"" !important;
  position:static !important;
  width:52px !important;
  height:1px !important;
  border-radius:0 !important;
  background:rgba(11,31,51,.16) !important;
  transform:none !important;
}
.process-section .process-marker span{
  position:static !important;
  display:block !important;
  color:var(--accent) !important;
  font-size:52px !important;
  line-height:1 !important;
  font-weight:850 !important;
  letter-spacing:-.07em !important;
}

.process-section .process-stop-copy{display:block !important;padding:0 !important;}
.process-section .process-kicker{
  display:block !important;
  margin:0 0 9px !important;
  color:#a67219 !important;
  font-size:10px !important;
  line-height:1.2 !important;
  font-weight:900 !important;
  letter-spacing:.15em !important;
}
.process-section .process-stop h3{
  margin:0 0 15px !important;
  color:var(--navy) !important;
  font-size:22px !important;
  line-height:1.28 !important;
  transform:none !important;
}
.process-section .process-stop p{
  margin:0 !important;
  padding:0 !important;
  max-width:none !important;
  border:0 !important;
  color:var(--muted) !important;
  font-size:15px !important;
  line-height:1.72 !important;
}
.process-section .process-stop:hover{
  border-color:rgba(230,165,50,.45) !important;
  box-shadow:0 24px 60px rgba(11,31,51,.11) !important;
}
.process-section .process-stop:nth-child(2):hover{transform:translateY(-6px) !important;}
.process-section .process-stop:nth-child(3):hover{transform:translateY(14px) !important;}
.process-section .process-stop:nth-child(4):hover{transform:translateY(34px) !important;}

/* Current page: unmistakable but still clean */
.menu > a:not(.nav-cta){
  position:relative !important;
  padding:9px 12px !important;
  border-radius:10px !important;
}
.menu > a.is-current:not(.nav-cta){
  color:var(--navy) !important;
  font-weight:800 !important;
  background:rgba(230,165,50,.15) !important;
  box-shadow:inset 0 -2px 0 var(--accent) !important;
}
.menu > a.is-current:not(.nav-cta)::before{
  content:"" !important;
  display:block !important;
  position:absolute !important;
  left:50% !important;
  bottom:-7px !important;
  width:6px !important;
  height:6px !important;
  border-radius:50% !important;
  background:var(--accent) !important;
  transform:translateX(-50%) !important;
}
.menu > a.is-current:not(.nav-cta)::after{display:none !important;}

@media(max-width:900px){
  .process-section .process-route{grid-template-columns:1fr !important;}
  .process-section .process-stop,
  .process-section .process-stop:nth-child(2),
  .process-section .process-stop:nth-child(3),
  .process-section .process-stop:nth-child(4){
    min-height:0 !important;
    transform:none !important;
  }
  .process-section .process-stop:hover,
  .process-section .process-stop:nth-child(2):hover,
  .process-section .process-stop:nth-child(3):hover,
  .process-section .process-stop:nth-child(4):hover{
    transform:translateY(-4px) !important;
  }
  .menu > a.is-current:not(.nav-cta){
    box-shadow:inset 3px 0 0 var(--accent) !important;
  }
  .menu > a.is-current:not(.nav-cta)::before{display:none !important;}
}


/* =========================================================
   v3.2 — warmer REDVIS palette, footer intentionally unchanged
   ========================================================= */

/* Main site palette */
body {
  --accent: #e7a12a;
  --accent-strong: #d98b12;
  --accent-soft: #fff3dc;
  --accent-soft-2: #fff8eb;
  --warm-border: rgba(217,139,18,.22);
}

/* Header */
.site-header,
.header-wrap {
  background: rgba(255,252,246,.96) !important;
}
.menu > a:not(.nav-cta) {
  color: #25313c !important;
}
.menu > a:not(.nav-cta):hover {
  background: rgba(231,161,42,.10) !important;
  color: #a86809 !important;
}

/* Active page: cleaner, no dot underneath */
.menu > a.is-current:not(.nav-cta) {
  color: #9f6305 !important;
  background: rgba(231,161,42,.14) !important;
  box-shadow: inset 0 -3px 0 var(--accent) !important;
}
.menu > a.is-current:not(.nav-cta)::before,
.menu > a.is-current:not(.nav-cta)::after {
  display: none !important;
}

/* Primary buttons */
.btn-primary,
.nav-cta,
button[type="submit"],
input[type="submit"] {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #1b1b1b !important;
}
.btn-primary:hover,
.nav-cta:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  background: var(--accent-strong) !important;
  border-color: var(--accent-strong) !important;
}

/* Secondary buttons */
.btn-secondary {
  border-color: rgba(217,139,18,.48) !important;
  color: #9f6305 !important;
  background: #fff !important;
}
.btn-secondary:hover {
  background: var(--accent-soft) !important;
}

/* Section labels and decorative accents */
main .eyebrow,
main .section-label,
main .process-kicker {
  color: #c17b10 !important;
}

/* Warm up light sections without touching footer */
main .section-alt,
main .process-section {
  background:
    radial-gradient(circle at 8% 12%, rgba(231,161,42,.09), transparent 30%),
    #f8f8f6 !important;
}

/* Process cards */
.process-section .process-stop {
  border-color: rgba(217,139,18,.17) !important;
  box-shadow: 0 18px 48px rgba(93,61,13,.07) !important;
}
.process-section .process-stop:hover {
  border-color: rgba(217,139,18,.48) !important;
  box-shadow: 0 24px 60px rgba(93,61,13,.11) !important;
}
.process-section .process-stop::before {
  background: linear-gradient(90deg,#e9ab38,#d98b12) !important;
}
.process-section .process-marker span {
  color: #d98b12 !important;
}

/* Service cards: keep structure, shift accents warmer */
main .service-card:hover,
main .service-item:hover,
main .card:hover {
  border-color: rgba(217,139,18,.36) !important;
}
main a:not(.btn):not(.menu a):hover {
  color: #b36d08;
}

/* Forms */
main input:focus,
main textarea:focus,
main select:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(231,161,42,.12) !important;
}

/* Small accents */
main .badge,
main .tag,
main .pill {
  background: var(--accent-soft) !important;
  color: #9f6305 !important;
  border-color: var(--warm-border) !important;
}

/* Mobile active state */
@media (max-width: 900px) {
  .menu > a.is-current:not(.nav-cta) {
    box-shadow: inset 4px 0 0 var(--accent) !important;
    background: rgba(231,161,42,.12) !important;
  }
}


/* =========================================================
   v3.3 — significantly less blue, warmer orange/amber identity
   Footer intentionally excluded.
   ========================================================= */

/* Hero: replace dominant blue with charcoal + warm amber glow */
main .hero {
  background:
    radial-gradient(circle at 88% 46%, rgba(232,161,42,.26) 0 18%, transparent 18.2%),
    radial-gradient(circle at 88% 46%, transparent 0 27%, rgba(232,161,42,.12) 27.2% 33%, transparent 33.2%),
    linear-gradient(118deg,#171c20 0%,#242a2d 54%,#6b4718 100%) !important;
}
main .hero::before {
  background: radial-gradient(circle,rgba(240,174,55,.18),transparent 66%) !important;
}
main .hero .eyebrow,
main .hero .section-label {
  color:#f0b64f !important;
}
main .hero h1 { color:#fffdf8 !important; }
main .hero p { color:rgba(255,255,255,.82) !important; }

/* Hero secondary button loses blue tint */
main .hero .btn-secondary {
  color:#fff7e8 !important;
  border-color:rgba(240,174,55,.48) !important;
  background:rgba(255,255,255,.04) !important;
}
main .hero .btn-secondary:hover {
  color:#1b1b1b !important;
  background:#f0b64f !important;
  border-color:#f0b64f !important;
}

/* Main headings: neutral charcoal rather than blue/navy */
main h1:not(.hero h1),
main h2,
main h3,
main h4 {
  color:#20262b !important;
}

/* Section labels and ordinary links become amber */
main .eyebrow,
main .section-label {
  color:#c47a0d !important;
}
main .section-head > a,
main .services-link,
main .service-card a,
main .service-item a {
  color:#b86f08 !important;
}

/* Service cards: warm numbering and borders */
main .service-card,
main .service-item {
  border-color:rgba(112,86,48,.16) !important;
}
main .service-card .num,
main .service-card .number,
main .service-item .num,
main .service-item .number,
main .services-grid article > span:first-child {
  color:#d88913 !important;
}
main .service-card:hover,
main .service-item:hover {
  border-color:rgba(216,137,19,.45) !important;
  box-shadow:0 18px 42px rgba(91,62,22,.09) !important;
}

/* Generic arrows / text links */
main a:not(.btn):not(.nav-cta) {
  text-decoration-color:rgba(216,137,19,.35);
}
main a:not(.btn):not(.nav-cta):hover {
  color:#a85f00 !important;
}

/* Warm neutral alternate backgrounds */
main .section-alt,
main .process-section {
  background:
    radial-gradient(circle at 7% 8%,rgba(232,161,42,.10),transparent 29%),
    #f8f6f1 !important;
}

/* Contact/CTA areas where old navy was visually dominant */
main .cta,
main .cta-block,
main .contact-cta {
  border-color:rgba(216,137,19,.20) !important;
}

/* Keep text readable but less blue */
main p,
main li {
  --muted:#62615d;
}

/* Active nav stays warm and has no dot */
.menu > a.is-current:not(.nav-cta) {
  color:#9d5d05 !important;
  background:rgba(232,161,42,.16) !important;
  box-shadow:inset 0 -3px 0 #e8a12a !important;
}
.menu > a.is-current:not(.nav-cta)::before,
.menu > a.is-current:not(.nav-cta)::after {
  display:none !important;
}


/* =========================================================
   v3.4 — actual hero selectors (hero is not inside <main>)
   ========================================================= */
.hero {
  background:
    radial-gradient(circle at 90% 52%, rgba(237,166,42,.24) 0 18%, transparent 18.2%),
    radial-gradient(circle at 90% 52%, transparent 0 27%, rgba(237,166,42,.11) 27.2% 33%, transparent 33.2%),
    linear-gradient(118deg,#171b1e 0%,#292923 58%,#78501b 100%) !important;
}
.hero.has-hero-image {
  background-image:
    linear-gradient(118deg,rgba(23,27,30,.95),rgba(62,49,27,.88)),
    var(--hero-image) !important;
  background-size:cover !important;
  background-position:center !important;
}
.hero .eyebrow { color:#efb24a !important; }
.hero h1 { color:#fffdf8 !important; }
.hero p { color:rgba(255,255,255,.82) !important; }
.hero .btn-ghost {
  color:#fff7e8 !important;
  border-color:rgba(239,178,74,.55) !important;
  background:rgba(255,255,255,.035) !important;
}
.hero .btn-ghost:hover {
  color:#171b1e !important;
  background:#efb24a !important;
  border-color:#efb24a !important;
}

/* Exact homepage service selectors */
.service-grid .service-card .number { color:#d98912 !important; }
.service-grid .service-card > h3 { color:#262626 !important; }
.service-grid .service-card > p { color:#66625c !important; }
.service-grid .service-card {
  border-color:rgba(113,85,44,.18) !important;
}
.service-grid .service-card:hover {
  border-color:rgba(217,137,18,.48) !important;
  box-shadow:0 18px 42px rgba(92,61,18,.10) !important;
}
.service-grid .service-card::after {
  background:#e3a02d !important;
}
.service-grid .service-card,
.service-grid .service-card:visited {
  color:#b66d07 !important;
}
.row-head .eyebrow.dark { color:#c1780d !important; }
.row-head > a { color:#b66d07 !important; }


/* =========================================================
   v3.5 — final warm palette cleanup
   Footer intentionally untouched.
   ========================================================= */

/* Remove the old giant 01—02—03 background decoration */
.process-section::after{
  content:none !important;
  display:none !important;
}

/* Warm process-section background */
.process-section{
  background:
    radial-gradient(circle at 8% 8%, rgba(232,163,43,.13), transparent 30%),
    linear-gradient(180deg,#fffaf1 0%,#f7f3ea 100%) !important;
}

/* All homepage eyebrow labels: no blue */
.eyebrow.dark,
.section .eyebrow.dark,
.process-section .eyebrow.dark,
.cta-inline .eyebrow.dark,
.split .eyebrow.dark,
.row-head .eyebrow.dark{
  color:#c7790b !important;
}

/* All service-card action links: no blue */
.service-card .card-link,
.service-card .card-link:visited,
.service-grid .service-card .card-link,
.service-grid .service-card .card-link:visited{
  color:#b76a05 !important;
}
.service-card:hover .card-link,
.service-grid .service-card:hover .card-link{
  color:#d4860f !important;
}

/* Homepage top/right text links */
.text-link,
.text-link:visited,
.row-head .text-link,
.row-head > a,
.row-head > a:visited{
  color:#b76a05 !important;
}
.text-link:hover,
.row-head > a:hover{
  color:#d4860f !important;
}

/* CTA and "Why Redvis" buttons/links */
.cta-inline .btn,
.split .btn,
.cta-box .btn,
.cta-box-enhanced .btn{
  border-color:#e1a02e !important;
}
.cta-inline .btn-primary,
.split .btn-primary,
.cta-box .btn-primary,
.cta-box-enhanced .btn-primary{
  background:#e6a12b !important;
  color:#1d1a14 !important;
}
.cta-inline .btn-primary:hover,
.split .btn-primary:hover,
.cta-box .btn-primary:hover,
.cta-box-enhanced .btn-primary:hover{
  background:#cf8210 !important;
}

/* Remove remaining blue from numbers / small accents */
.service-card .number,
.service-grid .service-card .number,
.process-marker span{
  color:#d88912 !important;
}

/* Neutralize remaining navy in homepage section headings */
.section h2,
.section h3,
.process-section h2,
.process-section h3,
.cta-inline h2,
.split h2{
  color:#242321 !important;
}

/* Hero — warmer, less corporate-blue: deep brown / bronze / amber */
.hero{
  background:
    radial-gradient(circle at 88% 50%, rgba(240,174,55,.25) 0 19%, transparent 19.3%),
    radial-gradient(circle at 88% 50%, transparent 0 28%, rgba(240,174,55,.10) 28.3% 34%, transparent 34.3%),
    linear-gradient(118deg,#211c17 0%,#3b2d20 52%,#9a651d 100%) !important;
}
.hero.has-hero-image{
  background-image:
    linear-gradient(118deg,rgba(33,28,23,.95),rgba(103,69,28,.87)),
    var(--hero-image) !important;
}
.hero::after{
  border-color:rgba(242,179,67,.12) !important;
}
.hero .eyebrow{
  color:#f1b54a !important;
}
.hero h1{
  color:#fffaf2 !important;
}
.hero p{
  color:rgba(255,250,242,.82) !important;
}
.hero .btn-primary{
  background:#edae3b !important;
  border-color:#edae3b !important;
  color:#211c17 !important;
}
.hero .btn-primary:hover{
  background:#d78b14 !important;
  border-color:#d78b14 !important;
}
.hero .btn-ghost{
  color:#fff4df !important;
  border-color:rgba(241,181,74,.52) !important;
  background:rgba(255,255,255,.035) !important;
}
.hero .btn-ghost:hover{
  color:#211c17 !important;
  background:#f1b54a !important;
  border-color:#f1b54a !important;
}

/* Process cards warmer and cleaner */
.process-section .process-stop{
  background:rgba(255,255,255,.90) !important;
  border-color:rgba(199,121,11,.16) !important;
  box-shadow:0 16px 44px rgba(94,63,25,.07) !important;
}
.process-section .process-stop::before{
  background:linear-gradient(90deg,#efb243,#cf8210) !important;
}
.process-section .process-stop:hover{
  border-color:rgba(207,130,16,.45) !important;
  box-shadow:0 22px 54px rgba(94,63,25,.11) !important;
}

/* Explicitly keep footer styling inherited from older rules */

/* v3.6 — warm inner-page heroes; footer untouched */
.page-hero,.service-hero{
 position:relative!important;overflow:hidden!important;border:0!important;
 background:
 radial-gradient(circle at 89% 48%,rgba(240,174,55,.22) 0 17%,transparent 17.3%),
 radial-gradient(circle at 89% 48%,transparent 0 26%,rgba(240,174,55,.09) 26.3% 32%,transparent 32.3%),
 linear-gradient(118deg,#211c17 0%,#3b2d20 54%,#95601b 100%)!important;
}
.page-hero::before,.service-hero::before{
 content:""!important;position:absolute!important;width:420px!important;height:420px!important;
 right:-180px!important;top:-190px!important;border-radius:50%!important;
 border:1px solid rgba(241,181,74,.12)!important;
 box-shadow:0 0 0 70px rgba(241,181,74,.025),0 0 0 140px rgba(241,181,74,.014)!important;
 pointer-events:none!important;
}
.page-hero .container,.service-hero .container{position:relative!important;z-index:1!important}
.page-hero .eyebrow,.page-hero .eyebrow.dark,.service-hero .eyebrow,.service-hero .eyebrow.dark{color:#f1b54a!important}
.page-hero h1,.service-hero h1{color:#fffaf2!important}
.page-hero p,.service-hero p,.page-hero .lead,.service-hero .lead{color:rgba(255,250,242,.80)!important}
.page-hero a:not(.btn),.service-hero a:not(.btn){color:#f1b54a!important}
.page-hero .btn-primary,.service-hero .btn-primary{background:#edae3b!important;border-color:#edae3b!important;color:#211c17!important}
.page-hero .btn-primary:hover,.service-hero .btn-primary:hover{background:#d78b14!important;border-color:#d78b14!important}
.page-hero .btn-ghost,.page-hero .btn-secondary,.service-hero .btn-ghost,.service-hero .btn-secondary{
 color:#fff4df!important;border-color:rgba(241,181,74,.52)!important;background:rgba(255,255,255,.035)!important
}
.page-hero .btn-ghost:hover,.page-hero .btn-secondary:hover,.service-hero .btn-ghost:hover,.service-hero .btn-secondary:hover{
 color:#211c17!important;background:#f1b54a!important;border-color:#f1b54a!important
}
@media(max-width:700px){
 .page-hero::before,.service-hero::before{width:300px!important;height:300px!important;right:-170px!important;top:-130px!important}
}


/* =========================================================
   v3.8 — modern motion layer (content/CMS structure untouched)
   ========================================================= */
:root{
  --motion-ease:cubic-bezier(.2,.7,.2,1);
  --motion-ease-out:cubic-bezier(.16,1,.3,1);
}

/* More polished surfaces without changing the existing palette/content. */
.site-header{
  transition:background-color .28s ease,box-shadow .28s ease,border-color .28s ease,transform .28s ease;
}
.site-header.is-scrolled{
  background:rgba(255,252,246,.91)!important;
  border-bottom-color:rgba(145,103,39,.14);
  box-shadow:0 12px 34px rgba(45,32,15,.07);
}
.site-header .brand img{
  transition:transform .45s var(--motion-ease-out),filter .3s ease;
}
.site-header .brand:hover img{transform:scale(1.025)}

.menu > a:not(.nav-cta){overflow:hidden}
.menu > a:not(.nav-cta)::after{
  content:"";
  position:absolute;
  left:12px;right:12px;bottom:7px;
  height:1px;
  background:currentColor;
  transform:scaleX(0);
  transform-origin:right;
  transition:transform .32s var(--motion-ease);
  opacity:.45;
}
.menu > a:not(.nav-cta):hover::after{
  transform:scaleX(1);
  transform-origin:left;
}
.menu > a.is-current:not(.nav-cta)::after{display:none!important}

.btn{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  transition:transform .25s var(--motion-ease),background .2s ease,border-color .2s ease,box-shadow .25s ease!important;
}
.btn::after{
  content:"";
  position:absolute;
  inset:-80% -30%;
  z-index:-1;
  background:linear-gradient(105deg,transparent 37%,rgba(255,255,255,.22) 48%,transparent 59%);
  transform:translateX(-65%) rotate(8deg);
  transition:transform .7s var(--motion-ease-out);
  pointer-events:none;
}
.btn:hover::after{transform:translateX(65%) rotate(8deg)}
.btn:hover{transform:translateY(-2px)!important}
.btn:active{transform:translateY(0) scale(.985)!important}

.hero,.page-hero,.service-hero{isolation:isolate}
.hero::before{
  content:"";
  position:absolute;
  inset:-30%;
  z-index:0;
  background:radial-gradient(circle at var(--hero-x,72%) var(--hero-y,42%),rgba(255,194,89,.12),transparent 23%);
  pointer-events:none;
  transition:background-position .18s linear;
}
.hero-layout,.page-hero .container,.service-hero .container{z-index:2!important}
.hero h1,.page-hero h1,.service-hero h1{text-wrap:balance}

/* JS reveal states. Elements remain fully visible if JS is unavailable. */
.motion-ready [data-motion]{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .72s var(--motion-ease-out),transform .72s var(--motion-ease-out);
  transition-delay:var(--motion-delay,0ms);
  will-change:opacity,transform;
}
.motion-ready [data-motion="left"]{transform:translateX(-28px)}
.motion-ready [data-motion="right"]{transform:translateX(28px)}
.motion-ready [data-motion="scale"]{transform:scale(.96) translateY(12px)}
.motion-ready [data-motion].is-visible{
  opacity:1;
  transform:none;
  will-change:auto;
}

.service-card,.process-stop,.checks,.form-panel,.contact-item,.cta-inline,.sidebar-card,.detail-card{
  transform:translateZ(0);
}
.service-card{
  transition:transform .38s var(--motion-ease-out),border-color .25s ease,box-shadow .38s var(--motion-ease-out)!important;
}
.service-card:hover{transform:translateY(-8px)!important}
.service-card .number,.service-card h3,.service-card p,.service-card .card-link{
  transition:transform .35s var(--motion-ease-out),color .2s ease;
}
.service-card:hover .number{transform:translateY(-2px)}
.service-card:hover h3{transform:translateX(3px)}
.service-card .card-link{display:inline-flex;align-items:center;gap:5px}
.service-card:hover .card-link{transform:translateX(4px)}

.process-stop{
  transition:transform .4s var(--motion-ease-out),box-shadow .35s ease,border-color .25s ease!important;
}
.process-marker{transition:transform .45s var(--motion-ease-out)}
.process-stop:hover .process-marker{transform:translateY(-4px) rotate(-2deg)}

.checks li::before{transition:transform .3s var(--motion-ease-out),background .2s ease}
.checks li:hover::before{transform:scale(1.12) rotate(-6deg)}
.contact-item{transition:transform .28s var(--motion-ease-out),background .25s ease,padding .28s var(--motion-ease-out)}
.contact-item:hover{transform:translateX(5px)}

.cta-inline{
  position:relative;
  overflow:hidden;
}
.cta-inline::after{
  content:"";
  position:absolute;
  width:220px;height:220px;
  right:-110px;top:-125px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(231,161,42,.13),transparent 68%);
  pointer-events:none;
  transition:transform .7s var(--motion-ease-out);
}
.cta-inline:hover::after{transform:scale(1.28) translate(-12px,10px)}

/* Accessible keyboard focus. */
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{
  outline:3px solid rgba(231,161,42,.34)!important;
  outline-offset:3px;
}

@media (hover:hover) and (pointer:fine){
  .hero[data-motion-parallax="1"] .hero-layout>div{transform:translate3d(var(--hero-shift-x,0),var(--hero-shift-y,0),0);transition:transform .18s linear}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important}
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
  .motion-ready [data-motion]{opacity:1!important;transform:none!important}
  .hero[data-motion-parallax="1"] .hero-layout>div{transform:none!important}
}

/* =========================================================
   v4.0 — enhanced motion design layer
   Stronger motion, still CMS-safe and performance-aware
   ========================================================= */
.redvis-scroll-progress{
  position:fixed;z-index:99999;left:0;top:0;width:100%;height:3px;
  transform:scaleX(0);transform-origin:left center;
  background:linear-gradient(90deg,#c97b0c,#f1b54a,#fff0bc);
  box-shadow:0 0 16px rgba(237,174,59,.4);
  pointer-events:none;will-change:transform;
}

.motion-page-enter main,.motion-page-enter .site-footer{
  opacity:.001;transform:translateY(8px);
}
.motion-page-ready main,.motion-page-ready .site-footer{
  opacity:1;transform:none;
  transition:opacity .58s var(--motion-ease-out),transform .58s var(--motion-ease-out);
}

.site-header.is-condensed .nav{min-height:68px}
.site-header.is-hidden-motion{transform:translateY(-105%)}
.site-header .nav{transition:min-height .35s var(--motion-ease-out)}

.motion-ready .motion-nav-item{
  opacity:0;transform:translateY(-8px);
  animation:redvisNavIn .48s var(--motion-ease-out) forwards;
  animation-delay:var(--nav-delay,80ms);
}
@keyframes redvisNavIn{to{opacity:1;transform:none}}

/* richer hero depth */
.hero,.page-hero,.service-hero{perspective:1000px}
.hero::before,.page-hero::after,.service-hero::after{
  transition:opacity .25s ease,transform .65s var(--motion-ease-out);
}
.hero::before{
  background:
    radial-gradient(circle at var(--hero-x,72%) var(--hero-y,42%),rgba(255,198,97,.20),transparent 22%),
    radial-gradient(circle at 16% 82%,rgba(213,130,17,.10),transparent 24%)!important;
}
.hero::after,.page-hero::after,.service-hero::after{
  animation:redvisHeroFloat 9s ease-in-out infinite alternate;
}
@keyframes redvisHeroFloat{
  0%{transform:translate3d(0,0,0) scale(1)}
  100%{transform:translate3d(-22px,16px,0) scale(1.045)}
}
@media (hover:hover) and (pointer:fine){
  [data-motion-parallax="1"] .hero-layout>div,
  [data-motion-parallax="1"] .container>div:first-child{
    transform:translate3d(var(--hero-shift-x,0),var(--hero-shift-y,0),0) rotateX(var(--hero-rotate-x,0deg)) rotateY(var(--hero-rotate-y,0deg));
    transition:transform .16s linear;
    transform-style:preserve-3d;
  }
}

/* headline wipe / lift */
.motion-ready [data-motion="headline"]{
  opacity:0;transform:translateY(28px) scale(.985);
  clip-path:inset(0 0 100% 0);
  transition:opacity .82s var(--motion-ease-out),transform .82s var(--motion-ease-out),clip-path .9s var(--motion-ease-out);
  transition-delay:var(--motion-delay,0ms);
}
.motion-ready [data-motion="headline"].is-visible{
  opacity:1;transform:none;clip-path:inset(0 0 0 0);
}

/* animated section atmosphere */
.section,.process-section{position:relative}
.section::before,.process-section::after{
  content:"";position:absolute;pointer-events:none;z-index:0;border-radius:50%;
  width:240px;height:240px;filter:blur(2px);opacity:.20;
  background:radial-gradient(circle,rgba(225,151,34,.13),rgba(225,151,34,0) 68%);
  transform:translate3d(0,var(--section-shift,0),0);
  transition:transform .12s linear;
}
.section::before{left:-150px;top:18%}
.process-section::after{right:-130px;bottom:8%}
.section>.container,.process-section>.container{position:relative;z-index:1}

/* stronger card interaction: lift + subtle 3D + pointer spotlight */
.motion-tilt{
  position:relative;overflow:hidden;transform-style:preserve-3d;
  transform:perspective(900px) rotateX(var(--tilt-rx,0deg)) rotateY(var(--tilt-ry,0deg)) translateY(0);
  transition:transform .22s ease-out,box-shadow .35s var(--motion-ease-out),border-color .25s ease!important;
  will-change:transform;
}
.motion-tilt::after{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:0;
  background:radial-gradient(circle at var(--spot-x,50%) var(--spot-y,50%),rgba(255,192,79,.13),transparent 37%);
  opacity:0;transition:opacity .28s ease;
}
.motion-tilt:hover::after{opacity:1}
.motion-tilt>*{position:relative;z-index:1}
.motion-tilt:hover{
  transform:perspective(900px) rotateX(var(--tilt-rx,0deg)) rotateY(var(--tilt-ry,0deg)) translateY(-9px)!important;
}
.service-card.motion-tilt:hover,.process-stop.motion-tilt:hover{
  box-shadow:0 26px 64px rgba(84,54,17,.13)!important;
}

/* number and marker movement */
.motion-number{
  display:inline-block;
  transform-origin:center;
  transition:transform .38s var(--motion-ease-out),text-shadow .35s ease,color .25s ease!important;
}
.service-card:hover .motion-number,.process-stop:hover .motion-number{
  transform:translateY(-4px) scale(1.07) rotate(-2deg);
  text-shadow:0 8px 22px rgba(216,137,18,.18);
}

/* CTA ambient pulse */
.cta-inline::before{
  content:"";position:absolute;inset:-2px;pointer-events:none;border-radius:inherit;
  border:1px solid rgba(237,174,59,.10);
  box-shadow:inset 0 0 0 0 rgba(237,174,59,0);
  animation:redvisCtaPulse 4.5s ease-in-out infinite;
}
@keyframes redvisCtaPulse{
  0%,100%{box-shadow:inset 0 0 0 0 rgba(237,174,59,0)}
  50%{box-shadow:inset 0 0 38px 0 rgba(237,174,59,.055)}
}

/* magnetic control uses variables, avoiding JS overwrite clashes */
.is-magnetic{
  transform:translate3d(var(--mag-x,0),var(--mag-y,0),0)!important;
  transition:transform .18s ease-out,background .2s ease,border-color .2s ease,box-shadow .25s ease!important;
}
.is-magnetic:hover{
  transform:translate3d(var(--mag-x,0),calc(var(--mag-y,0) - 2px),0)!important;
}

/* links get a more tactile motion without altering CMS text */
.text-link,.card-link,.footer-links a{
  position:relative;
  transition:transform .28s var(--motion-ease-out),color .22s ease;
}
.text-link:hover,.card-link:hover{transform:translateX(5px)}

/* form feedback */
.form-panel input,.form-panel textarea,.form-panel select{
  transition:border-color .22s ease,box-shadow .28s ease,transform .25s var(--motion-ease-out)!important;
}
.form-panel input:focus,.form-panel textarea:focus,.form-panel select:focus{
  transform:translateY(-1px);
  box-shadow:0 10px 28px rgba(116,75,20,.07)!important;
}

/* Mobile: retain movement but remove costly 3D/pointer effects. */
@media(max-width:900px){
  .site-header.is-hidden-motion{transform:none}
  .motion-tilt,.motion-tilt:hover{transform:translateY(0)!important;will-change:auto}
  .motion-tilt::after{display:none}
  .section::before,.process-section::after{opacity:.12}
}

@media(prefers-reduced-motion:reduce){
  .redvis-scroll-progress{display:none!important}
  .hero::after,.page-hero::after,.service-hero::after,.cta-inline::before,.motion-nav-item{animation:none!important}
  .motion-page-enter main,.motion-page-enter .site-footer{opacity:1!important;transform:none!important}
  .motion-tilt,.motion-tilt:hover{transform:none!important}
}

/* v4.1 hotfix — titles/headings always remain visible */
.motion-ready [data-motion="headline"],
.motion-ready [data-motion="headline"].is-visible{
  opacity:1 !important;
  visibility:visible !important;
  clip-path:none !important;
  -webkit-clip-path:none !important;
}
.motion-ready [data-motion="headline"]{transform:none !important;}
.motion-ready [data-motion="headline"].is-visible{
  animation:redvisHeadlineSafeIn .72s var(--motion-ease-out) both;
  animation-delay:var(--motion-delay,0ms);
}
@keyframes redvisHeadlineSafeIn{
  from{transform:translateY(18px);filter:blur(2px)}
  to{transform:translateY(0);filter:blur(0)}
}
.motion-ready .motion-nav-item{visibility:visible !important;}


/* v5.0 GDPR / legal pages / cookie consent */
.legal-main{padding:88px 0 110px;background:#f7f8fa}
.legal-wrap{max-width:900px}
.legal-wrap>h1{font-size:clamp(2.5rem,6vw,5rem);line-height:.95;margin:12px 0 18px}
.legal-updated{opacity:.62;margin-bottom:54px}
.legal-wrap section{padding:30px 0;border-top:1px solid rgba(15,31,45,.12)}
.legal-wrap section h2{font-size:1.35rem;margin:0 0 14px}
.legal-wrap section p{max-width:820px;line-height:1.75}
.cookie-table{border:1px solid rgba(15,31,45,.12);border-radius:18px;overflow:hidden;background:#fff}
.cookie-table>div{display:grid;grid-template-columns:180px 1fr;gap:24px;padding:22px 24px;border-bottom:1px solid rgba(15,31,45,.1)}
.cookie-table>div:last-child{border-bottom:0}.cookie-table span{line-height:1.6}
.copyright{display:flex;justify-content:space-between;gap:24px;align-items:center;flex-wrap:wrap}
.legal-links{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.footer-cookie-button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
.cookie-consent[hidden]{display:none!important}
.cookie-consent{position:fixed;inset:0;z-index:999999;background:rgba(6,14,20,.54);backdrop-filter:blur(9px);display:flex;align-items:flex-end;justify-content:center;padding:24px}
.cookie-consent__panel{position:relative;width:min(900px,100%);background:#fff;color:#10202c;border-radius:24px;padding:30px;box-shadow:0 30px 100px rgba(0,0,0,.28);animation:cookiePanelIn .45s cubic-bezier(.2,.8,.2,1)}
.cookie-consent__panel h2{font-size:clamp(1.7rem,4vw,2.7rem);margin:5px 0 10px}
.cookie-consent__panel>p{max-width:760px;line-height:1.6}
.cookie-consent__close{position:absolute;right:18px;top:15px;width:40px;height:40px;border-radius:50%;border:1px solid rgba(0,0,0,.13);background:#fff;font-size:25px;cursor:pointer}
.cookie-categories{margin:22px 0;border-top:1px solid rgba(0,0,0,.1)}
.cookie-categories label{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 2px;border-bottom:1px solid rgba(0,0,0,.1)}
.cookie-categories label span{display:flex;flex-direction:column;gap:3px}.cookie-categories small{opacity:.65}
.cookie-categories input{width:21px;height:21px;accent-color:#e7a51b}
.cookie-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:24px}
.cookie-btn{min-height:50px;border:1px solid #172b38;background:#fff;color:#172b38;border-radius:12px;font-weight:750;cursor:pointer;padding:10px 14px;transition:.2s transform,.2s background}
.cookie-btn:hover{transform:translateY(-2px);background:#f4f5f6}
.cookie-save{grid-column:1/-1;background:#172b38;color:#fff}
@keyframes cookiePanelIn{from{opacity:0;transform:translateY(24px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:700px){.cookie-actions{grid-template-columns:1fr}.cookie-save{grid-column:auto}.cookie-consent{padding:10px}.cookie-consent__panel{padding:24px 18px;border-radius:20px}.cookie-table>div{grid-template-columns:1fr;gap:7px}.legal-main{padding-top:56px}}
@media(prefers-reduced-motion:reduce){.cookie-consent__panel{animation:none}}

/* v5.1 */
.contact-form .field.full.consent{display:block}
.contact-form .field.full.consent>label{
 display:grid!important;grid-template-columns:20px minmax(0,1fr);
 align-items:start;column-gap:11px;width:100%;line-height:1.5;cursor:pointer
}
.contact-form .field.full.consent input[type="checkbox"]{
 width:18px!important;height:18px!important;min-width:18px;margin:2px 0 0!important;
 padding:0!important;align-self:start
}
.contact-form .field.full.consent a{display:inline;text-decoration:underline;text-underline-offset:3px}
.redvis-hp{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}

/* Non-modal cookie banner: website stays usable and unblurred */
.cookie-consent{
 position:fixed!important;inset:auto 18px 18px 18px!important;z-index:99999;
 display:flex;justify-content:flex-end;align-items:flex-end;padding:0!important;
 background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
 pointer-events:none
}
.cookie-consent__panel{
 width:min(620px,100%)!important;max-height:min(76vh,680px);overflow:auto;
 pointer-events:auto;border:1px solid rgba(15,31,45,.12);border-radius:20px;
 padding:24px;box-shadow:0 18px 55px rgba(0,0,0,.18)
}
body.cookie-consent-open{overflow:auto!important;padding-right:0!important}
@media(max-width:700px){
 .cookie-consent{inset:auto 10px 10px 10px!important}
 .cookie-consent__panel{max-height:72vh;padding:20px 16px}
}


/* v5.2 — privacy checkbox definitive alignment fix */
.contact-form .field.full.consent .privacy-consent-label{
    display:flex !important;
    flex-direction:row !important;
    align-items:flex-start !important;
    justify-content:flex-start !important;
    gap:10px !important;
    width:100% !important;
    max-width:none !important;
    grid-template-columns:none !important;
    white-space:normal !important;
}
.contact-form .field.full.consent .privacy-consent-label > input[type="checkbox"]{
    display:block !important;
    flex:0 0 18px !important;
    width:18px !important;
    height:18px !important;
    min-width:18px !important;
    max-width:18px !important;
    margin:2px 0 0 0 !important;
}
.contact-form .field.full.consent .privacy-consent-text{
    display:inline !important;
    flex:1 1 auto !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
    line-height:1.5 !important;
    white-space:normal !important;
}
.contact-form .field.full.consent .privacy-consent-text a{
    display:inline !important;
    width:auto !important;
    margin:0 !important;
    padding:0 !important;
    white-space:normal !important;
}

/* REDVIS 5.7 — heritage illustrations, modern composition */
.legacy-visual-section{overflow:hidden;padding-top:34px;padding-bottom:34px}
.legacy-visual-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.9fr);align-items:center;gap:70px;min-height:420px}
.legacy-visual-copy{max-width:650px}
.legacy-visual-copy h2{margin-bottom:18px}
.legacy-visual-copy p{max-width:620px;font-size:1.05rem;line-height:1.8;color:var(--muted,#5e6774)}
.legacy-visual-scene{position:relative;min-height:360px;border-radius:38px;background:linear-gradient(145deg,rgba(247,174,54,.13),rgba(255,255,255,.95) 48%,rgba(244,126,32,.08));border:1px solid rgba(29,39,52,.08);box-shadow:0 28px 70px rgba(24,34,47,.09);isolation:isolate}
.legacy-visual-scene:before{content:"";position:absolute;inset:9% 10%;border-radius:50%;background:radial-gradient(circle,rgba(248,169,47,.16),rgba(248,169,47,0) 68%);z-index:-1}
.legacy-orbit{position:absolute;border:1px dashed rgba(232,143,28,.26);border-radius:999px;transform:rotate(-11deg)}
.orbit-a{width:76%;height:44%;left:12%;top:28%}.orbit-b{width:52%;height:70%;left:25%;top:14%;transform:rotate(26deg)}
.legacy-img{position:absolute;display:block;object-fit:contain;filter:drop-shadow(0 15px 15px rgba(34,43,56,.12));transition:transform .35s ease}
.legacy-visual-scene:hover .legacy-car{transform:translateY(-5px) rotate(-2deg)}
.legacy-visual-scene:hover .legacy-person-a{transform:translateY(-7px)}
.legacy-car{width:42%;left:27%;bottom:11%}.legacy-boxes{width:22%;right:7%;bottom:17%}.legacy-person-a{height:48%;left:7%;top:12%}.legacy-person-b{height:51%;right:8%;top:6%}
.service-content>.lead{font-size:1.14rem;line-height:1.85}.service-content>h3{margin-top:34px}
@media(max-width:900px){.legacy-visual-wrap{grid-template-columns:1fr;gap:28px}.legacy-visual-scene{min-height:330px}.legacy-visual-section{padding-top:10px}}
@media(max-width:560px){.legacy-visual-scene{min-height:280px;border-radius:26px}.legacy-person-a{height:44%;left:3%}.legacy-person-b{height:46%;right:3%}.legacy-car{width:45%;left:27%}.legacy-boxes{width:23%;right:4%}}

/* v5.8 — legacy artwork at native-friendly scale */
.legacy-visual-section{padding-top:64px;padding-bottom:72px;overflow:hidden}
.legacy-compact-head{display:grid;grid-template-columns:minmax(0,.9fr) minmax(360px,1.1fr);gap:70px;align-items:end;margin-bottom:34px}
.legacy-compact-head h2{margin-bottom:0}.legacy-compact-head>p{margin:0;color:var(--muted,#5e6774);line-height:1.75}
.legacy-mini-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.legacy-mini-card{min-height:210px;display:grid;grid-template-columns:132px 1fr;align-items:center;gap:20px;padding:24px;border:1px solid rgba(29,39,52,.08);border-radius:24px;background:linear-gradient(145deg,#fff,rgba(247,174,54,.07));box-shadow:0 16px 45px rgba(24,34,47,.07);overflow:hidden}
.legacy-mini-art{height:150px;display:flex;align-items:flex-end;justify-content:center;position:relative}
.legacy-mini-art:before{content:"";position:absolute;width:105px;height:105px;border-radius:50%;background:rgba(247,174,54,.12);z-index:0}
.legacy-mini-art img{position:relative;z-index:1;display:block;width:auto;height:auto;max-height:145px;max-width:120px;object-fit:contain;image-rendering:auto;filter:drop-shadow(0 10px 10px rgba(24,34,47,.08))}
.legacy-mini-art.wide img{max-width:132px;max-height:115px}
.legacy-mini-card span{font-size:.76rem;font-weight:800;letter-spacing:.14em;color:#d77b00}.legacy-mini-card h3{margin:6px 0 8px;font-size:1.08rem}.legacy-mini-card p{margin:0;color:var(--muted,#5e6774);font-size:.92rem;line-height:1.55}
.service-subtopics{display:grid;gap:14px;margin:28px 0 34px}.service-subtopic{display:grid;grid-template-columns:42px 1fr;gap:16px;padding:22px 24px;border-radius:20px;border:1px solid rgba(29,39,52,.08);background:linear-gradient(135deg,rgba(247,174,54,.09),#fff 42%)}.service-subtopic-mark{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#f6a91a;color:#18222f;font-weight:900}.service-subtopic h3{margin:2px 0 9px}.service-subtopic p{margin:0;line-height:1.75;color:var(--muted,#5e6774)}
@media(max-width:1000px){.legacy-mini-grid{grid-template-columns:1fr}.legacy-mini-card{grid-template-columns:120px 1fr}.legacy-compact-head{grid-template-columns:1fr;gap:16px}}
@media(max-width:560px){.legacy-mini-card{grid-template-columns:92px 1fr;padding:18px}.legacy-mini-art{height:120px}.legacy-mini-art img{max-width:90px;max-height:116px}.legacy-mini-art.wide img{max-width:94px}.service-subtopic{grid-template-columns:1fr}.service-subtopic-mark{width:34px;height:34px}}

/* v5.9 — corrected heritage map layout + richer interactions */
.legacy-mini-card{position:relative;isolation:isolate;transition:transform .32s cubic-bezier(.2,.75,.25,1),box-shadow .32s ease,border-color .32s ease;background:linear-gradient(145deg,#fff 12%,rgba(247,174,54,.055) 100%)}
.legacy-mini-card:after{content:"";position:absolute;inset:0;z-index:-1;opacity:0;background:radial-gradient(420px circle at var(--card-x,50%) var(--card-y,50%),rgba(247,174,54,.15),transparent 45%);transition:opacity .28s ease}
.legacy-mini-card:hover{transform:translateY(-7px);border-color:rgba(221,129,0,.22);box-shadow:0 24px 58px rgba(24,34,47,.11)}
.legacy-mini-card:hover:after{opacity:1}
.legacy-mini-card>div:last-child{position:relative;z-index:2}
.legacy-mini-art{align-items:center;overflow:visible;transition:transform .4s cubic-bezier(.2,.8,.2,1)}
.legacy-mini-art:before{transition:transform .4s ease,background .35s ease;box-shadow:inset 0 0 0 1px rgba(247,174,54,.05)}
.legacy-mini-card:hover .legacy-mini-art{transform:translateY(-3px) scale(1.025)}
.legacy-mini-card:hover .legacy-mini-art:before{transform:scale(1.08);background:rgba(247,174,54,.17)}
.legacy-mini-art img{transition:transform .45s cubic-bezier(.2,.8,.2,1),filter .35s ease}
.legacy-mini-card:hover .legacy-mini-art img{transform:translateY(-2px) scale(1.035);filter:drop-shadow(0 14px 12px rgba(24,34,47,.12))}
/* Wide legacy graphics (especially the red world map) must stay fully inside their art column. */
.legacy-mini-art.wide{width:132px;justify-self:center;align-items:center;justify-content:center}
.legacy-mini-art.wide:before{width:112px;height:112px}
.legacy-mini-art.wide img{width:128px!important;height:108px!important;max-width:128px!important;max-height:108px!important;object-fit:contain!important;object-position:center!important;transform-origin:center center}
.legacy-mini-card:hover .legacy-mini-art.wide img{transform:scale(1.045)}
.legacy-mini-card span{display:inline-block;transition:transform .3s ease,color .3s ease}
.legacy-mini-card:hover span{transform:translateY(-2px);color:#b96500}
.legacy-mini-card h3{transition:transform .3s ease}
.legacy-mini-card:hover h3{transform:translateX(3px)}
.service-card,.process-stop,.service-subtopic{transition:transform .3s cubic-bezier(.2,.75,.25,1),box-shadow .3s ease,border-color .3s ease}
.service-card:hover,.process-stop:hover,.service-subtopic:hover{transform:translateY(-5px);box-shadow:0 20px 48px rgba(24,34,47,.10);border-color:rgba(221,129,0,.20)}
@media(max-width:560px){.legacy-mini-art.wide{width:92px}.legacy-mini-art.wide:before{width:82px;height:82px}.legacy-mini-art.wide img{width:90px!important;height:78px!important;max-width:90px!important;max-height:78px!important}}
@media(prefers-reduced-motion:reduce){.legacy-mini-card,.legacy-mini-art,.legacy-mini-art img,.legacy-mini-art:before,.service-card,.process-stop,.service-subtopic{transition:none!important;transform:none!important}}

/* ============================================================
   v6.0 — REDVIS FULL EXPERIENCE (Package F)
   Modern UI + logistics + customs/document motion system
   ============================================================ */
.redvis-full-experience{--fx-orange:#e68a00;--fx-gold:#f5ad22;--fx-ink:#18222f}
.redvis-pointer-aura{position:fixed;left:0;top:0;width:180px;height:180px;border-radius:50%;pointer-events:none;z-index:40;opacity:0;background:radial-gradient(circle,rgba(244,166,35,.095),rgba(244,166,35,.025) 42%,transparent 70%);transition:opacity .25s ease;mix-blend-mode:multiply}
.redvis-pointer-aura.is-on{opacity:1}

/* Premium section-heading sweep */
.motion-heading-accent{position:relative;display:inline-block}
.motion-heading-accent:after{content:"";position:absolute;left:0;bottom:-10px;width:min(92px,34%);height:3px;border-radius:99px;background:linear-gradient(90deg,var(--fx-orange),#ffd36a,var(--fx-orange));background-size:220% 100%;transform:scaleX(0);transform-origin:left;transition:transform .65s cubic-bezier(.16,1,.3,1)}
.is-visible .motion-heading-accent:after,.motion-heading-accent.is-visible:after,.section-head.is-visible .motion-heading-accent:after,.legacy-compact-head.is-visible .motion-heading-accent:after{transform:scaleX(1);animation:redvisAccentTravel 3.8s 1s ease-in-out infinite}
@keyframes redvisAccentTravel{50%{background-position:100% 0}}

/* Focus relationship between service cards */
.service-grid.has-focus .service-card{opacity:.72;transform:scale(.985);filter:saturate(.85)}
.service-grid.has-focus .service-card.is-focused{opacity:1;filter:none;transform:translateY(-9px) scale(1.015)!important;z-index:4;box-shadow:0 26px 60px rgba(24,34,47,.13)}
.service-grid .service-card{overflow:hidden;isolation:isolate;transition:opacity .28s ease,filter .28s ease,transform .36s cubic-bezier(.16,1,.3,1),box-shadow .36s ease!important}
.service-grid .service-card:before{content:"";position:absolute;left:-30%;bottom:-80px;width:160%;height:100px;background:linear-gradient(90deg,transparent,rgba(247,174,54,.16),transparent);transform:rotate(-5deg) translateX(-55%);transition:transform .7s cubic-bezier(.16,1,.3,1);z-index:-1}
.service-grid .service-card:hover:before{transform:rotate(-5deg) translateX(35%)}

/* Button ripple */
.btn,.nav-cta,.card-link{position:relative;overflow:hidden}
.redvis-ripple{position:absolute;width:12px;height:12px;border-radius:50%;background:rgba(255,255,255,.5);pointer-events:none;transform:translate(-50%,-50%) scale(0);animation:redvisRipple .62s ease-out forwards;z-index:5}
.card-link .redvis-ripple{background:rgba(230,138,0,.22)}
@keyframes redvisRipple{to{transform:translate(-50%,-50%) scale(18);opacity:0}}

/* Logistics story: connect the three heritage cards without enlarging low-res art */
.logistics-route-grid{position:relative;isolation:isolate}
.logistics-route-grid .legacy-mini-card{z-index:2}
.logistics-route-line{position:absolute;left:8%;right:8%;top:50%;height:2px;z-index:0;background:repeating-linear-gradient(90deg,rgba(223,133,0,.38) 0 8px,transparent 8px 16px);transform:scaleX(0);transform-origin:left;opacity:.72;transition:transform 1.25s cubic-bezier(.16,1,.3,1) .15s}
.logistics-route-grid.route-active .logistics-route-line{transform:scaleX(1)}
.logistics-cargo-dot{position:absolute;left:0;top:50%;width:11px;height:11px;border-radius:50%;background:#e68a00;box-shadow:0 0 0 7px rgba(230,138,0,.12);transform:translate(-50%,-50%);opacity:0}
.route-active .logistics-cargo-dot{animation:redvisCargoTravel 5.8s 1.15s cubic-bezier(.45,.05,.3,1) infinite}
@keyframes redvisCargoTravel{0%{left:0;opacity:0}7%{opacity:1}47%{left:50%;opacity:1}93%{left:100%;opacity:1}100%{left:100%;opacity:0}}
.legacy-mini-card:nth-of-type(1){--legacy-float-delay:0s}.legacy-mini-card:nth-of-type(2){--legacy-float-delay:.18s}.legacy-mini-card:nth-of-type(3){--legacy-float-delay:.36s}
.route-active .legacy-mini-art img{animation:redvisLegacyBreathe 5.2s var(--legacy-float-delay,0s) ease-in-out infinite}
@keyframes redvisLegacyBreathe{0%,100%{translate:0 0}50%{translate:0 -3px}}
.legacy-mini-card:hover .legacy-mini-art img{animation-play-state:paused}

/* Scroll-driven process line and active checkpoints */
.process-rail{overflow:visible!important}
.process-rail-fill{position:absolute;inset:0 auto auto 0;width:var(--process-progress,0%);height:100%;border-radius:inherit;background:linear-gradient(90deg,#e68a00,#ffc34c);box-shadow:0 0 18px rgba(230,138,0,.24);transition:width .12s linear}
.process-stop .process-marker{position:relative}
.process-stop .process-marker:after{content:"";position:absolute;inset:-7px;border:1px solid rgba(230,138,0,.34);border-radius:50%;opacity:0;transform:scale(.72)}
.process-stop.is-process-active .process-marker:after{animation:redvisCheckpoint .7s cubic-bezier(.16,1,.3,1) forwards}
.process-stop.is-process-active .process-marker{filter:drop-shadow(0 8px 16px rgba(230,138,0,.17))}
@keyframes redvisCheckpoint{60%{opacity:1}100%{opacity:0;transform:scale(1.35)}}

/* Document / certificate stack */
.document-stack{perspective:1000px}
.document-stack .service-subtopic{position:relative;overflow:hidden;transform-origin:center top}
.document-stack .service-subtopic:after{content:"✓";position:absolute;right:18px;top:18px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:rgba(230,138,0,.10);color:#c87000;font-weight:900;opacity:0;transform:scale(.6) rotate(-12deg);transition:.35s cubic-bezier(.16,1,.3,1)}
.document-stack .service-subtopic:hover:after{opacity:1;transform:scale(1) rotate(0)}
.document-stack.has-document-focus .service-subtopic:not(.is-document-focus){opacity:.7;transform:scale(.985)}
.document-stack .service-subtopic.is-document-focus{transform:translateX(7px) rotateY(-.7deg);box-shadow:0 22px 48px rgba(24,34,47,.10)}
.document-stack .service-subtopic-mark{transition:transform .4s cubic-bezier(.16,1,.3,1),box-shadow .3s ease}
.document-stack .service-subtopic:hover .service-subtopic-mark{transform:rotate(-5deg) scale(1.08);box-shadow:0 8px 18px rgba(230,138,0,.20)}

/* Progressive approval list */
.checks li{--check-delay:0ms}
.checks li:nth-child(2){--check-delay:100ms}.checks li:nth-child(3){--check-delay:200ms}.checks li:nth-child(4){--check-delay:300ms}.checks li:nth-child(5){--check-delay:400ms}
.checks.checks-approved li:before{animation:redvisApprove .55s var(--check-delay) cubic-bezier(.16,1,.3,1) both}
@keyframes redvisApprove{0%{transform:scale(.25) rotate(-18deg);opacity:.2}70%{transform:scale(1.16) rotate(3deg)}100%{transform:scale(1);opacity:1}}

/* Forms feel like a live workflow */
.form-panel input,.form-panel textarea,.form-panel select{transition:border-color .25s ease,box-shadow .25s ease,background .25s ease,transform .25s ease!important}
.form-panel input:focus,.form-panel textarea:focus,.form-panel select:focus{transform:translateY(-1px);box-shadow:0 0 0 4px rgba(230,138,0,.10)!important}
.form-panel input.has-value,.form-panel textarea.has-value,.form-panel select.has-value{border-color:rgba(230,138,0,.42)!important;background-image:linear-gradient(90deg,rgba(247,174,54,.035),transparent)}

/* Subtle page depth: no extra artwork required */
.redvis-full-experience .section{position:relative}
.redvis-full-experience .section:where(:not(.section-alt)):before{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:-180px;top:18%;background:radial-gradient(circle,rgba(247,174,54,.07),transparent 68%);pointer-events:none;transform:translateY(var(--section-shift,0))}

@media(max-width:1000px){
 .logistics-route-line{left:62px;right:auto;top:9%;bottom:9%;width:2px;height:auto;transform:scaleY(0);transform-origin:top;background:repeating-linear-gradient(180deg,rgba(223,133,0,.34) 0 8px,transparent 8px 16px)}
 .logistics-route-grid.route-active .logistics-route-line{transform:scaleY(1)}
 .logistics-cargo-dot{left:50%!important;top:0}
 .route-active .logistics-cargo-dot{animation:redvisCargoTravelMobile 5.8s 1.15s ease-in-out infinite}
 @keyframes redvisCargoTravelMobile{0%{top:0;opacity:0}7%{opacity:1}47%{top:50%;opacity:1}93%{top:100%;opacity:1}100%{top:100%;opacity:0}}
}
@media(max-width:700px){.redvis-pointer-aura{display:none}.service-grid.has-focus .service-card{opacity:1;filter:none;transform:none}.document-stack.has-document-focus .service-subtopic:not(.is-document-focus){opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){
 .redvis-pointer-aura,.logistics-route-line,.logistics-cargo-dot{display:none!important}
 .route-active .legacy-mini-art img,.checks.checks-approved li:before,.process-stop.is-process-active .process-marker:after,.motion-heading-accent:after{animation:none!important}
 .service-grid.has-focus .service-card,.service-grid.has-focus .service-card.is-focused,.document-stack .service-subtopic,.document-stack .service-subtopic.is-document-focus{transform:none!important;opacity:1!important;filter:none!important}
}


/* v6.5 — smaller direct hero spotlight */
.hero,.page-hero,.service-hero{position:relative!important;isolation:isolate!important;}
.hero-direct-spotlight{
  position:absolute!important;
  width:320px!important;height:320px!important;
  margin-left:-160px!important;margin-top:-160px!important;
  border-radius:50%!important;
  z-index:1!important;
  pointer-events:none!important;
  opacity:0;
  transform:none!important;
  transition:opacity .05s linear!important;
  will-change:left,top,opacity;
  background:radial-gradient(circle at center,rgba(255,229,165,.48) 0%,rgba(255,190,69,.30) 24%,rgba(247,174,54,.15) 43%,rgba(247,174,54,.055) 59%,transparent 73%)!important;
}
.hero-layout,.page-hero .container,.service-hero .container{position:relative!important;z-index:2!important;}
@media(pointer:coarse),(max-width:700px){.hero-direct-spotlight{display:none!important}}
\n\n/* v6.6 — full-width photographic homepage hero */\n.hero.has-hero-image{\n  min-height:clamp(560px,72vh,760px);\n  display:flex;\n  align-items:center;\n  background-image:\n    linear-gradient(90deg,rgba(15,18,20,.90) 0%,rgba(20,22,22,.78) 43%,rgba(25,24,20,.48) 72%,rgba(22,20,16,.38) 100%),\n    linear-gradient(0deg,rgba(12,15,17,.42),transparent 42%),\n    var(--hero-image)!important;\n  background-size:cover!important;\n  background-position:center 58%!important;\n  background-repeat:no-repeat!important;\n}\n.hero.has-hero-image::after{\n  background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.16));\n  inset:0;right:0;bottom:0;width:auto;height:auto;border:0;border-radius:0;box-shadow:none;\n}\n.hero.has-hero-image .hero-layout{width:100%;}\n.hero.has-hero-image .hero-layout>div:first-child{max-width:850px;}\n.hero.has-hero-image h1{text-shadow:0 3px 24px rgba(0,0,0,.30);}\n.hero.has-hero-image p{text-shadow:0 2px 14px rgba(0,0,0,.28);}\n@media(max-width:700px){\n .hero.has-hero-image{min-height:auto;background-position:center center!important;background-image:linear-gradient(90deg,rgba(15,18,20,.90),rgba(20,20,18,.67)),var(--hero-image)!important;}\n}\n
/* v6.8 — higher-quality hero rendering from the original REDVIS photograph */
.hero.has-hero-image{
  background-position:center 56%!important;
  image-rendering:auto;
}
@media(min-width:1600px){
  .hero.has-hero-image{background-position:center 54%!important;}
}
@media(max-width:700px){
  .hero.has-hero-image{background-position:center 54%!important;}
}

/* v6.8.1 — service page related-services heading only */
.single-service .section-alt .section-head,
body.single-service .section-alt .section-head{
  max-width:none;
  margin:0 0 30px;
  padding:0 0 20px;
  border-bottom:1px solid rgba(24,43,61,.10);
}
.single-service .section-alt .section-head .eyebrow,
body.single-service .section-alt .section-head .eyebrow{
  display:block;
  margin:0 0 8px;
  color:#c1780d !important;
  font-size:11px;
  line-height:1.2;
  letter-spacing:.18em;
}
.single-service .section-alt .section-head h2,
body.single-service .section-alt .section-head h2{
  margin:0;
  max-width:720px;
  font-size:clamp(28px,3.2vw,42px);
  line-height:1.08;
  letter-spacing:-.025em;
}
@media (max-width:640px){
 .single-service .section-alt .section-head,
 body.single-service .section-alt .section-head{margin-bottom:24px;padding-bottom:16px}
 .single-service .section-alt .section-head h2,
 body.single-service .section-alt .section-head h2{font-size:30px}
}

/* v6.8.2 — related-services heading line break + photographic inner heroes */
.single-service .section-alt .section-head .eyebrow,
body.single-service .section-alt .section-head .eyebrow{
  display:block!important;
  width:100%!important;
  flex:0 0 100%!important;
  float:none!important;
}
.single-service .section-alt .section-head h2,
body.single-service .section-alt .section-head h2{
  display:block!important;
  width:100%!important;
  clear:both!important;
  margin-top:0!important;
}

/* Use the REDVIS logistics photograph underneath the text on all inner-page heroes. */
.page-hero,
.service-hero{
  min-height:clamp(360px,46vh,520px);
  display:flex;
  align-items:center;
  overflow:hidden;
  background-image:
    linear-gradient(90deg,rgba(12,18,22,.91) 0%,rgba(16,22,24,.78) 46%,rgba(20,22,20,.49) 76%,rgba(18,18,15,.34) 100%),
    linear-gradient(0deg,rgba(8,12,15,.38),transparent 48%),
    url('assets/hero-logistics-hq.jpg')!important;
  background-size:cover!important;
  background-position:center 48%!important;
  background-repeat:no-repeat!important;
}
.page-hero::before,
.service-hero::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  width:auto!important;
  height:auto!important;
  border-radius:0!important;
  background:linear-gradient(180deg,rgba(0,0,0,.03),rgba(0,0,0,.16))!important;
  pointer-events:none!important;
  z-index:0!important;
}
.page-hero .container,
.service-hero .container{
  position:relative!important;
  z-index:2!important;
}
.page-hero h1,.service-hero h1{
  text-shadow:0 3px 24px rgba(0,0,0,.32);
}
.page-hero p,.service-hero p,.page-hero .breadcrumbs,.service-hero .breadcrumbs{
  text-shadow:0 2px 14px rgba(0,0,0,.30);
}
@media(max-width:700px){
  .page-hero,.service-hero{
    min-height:auto;
    background-position:center 52%!important;
    background-image:
      linear-gradient(90deg,rgba(12,18,22,.92),rgba(18,20,18,.67)),
      url('assets/hero-logistics-hq.jpg')!important;
  }
}

/* v6.8.3 — bring homepage hero up to the cleaner inner-page photo treatment */
.hero.has-hero-image{
  min-height:clamp(560px,68vh,720px)!important;
  background-image:
    linear-gradient(90deg,rgba(12,18,22,.86) 0%,rgba(16,22,24,.70) 45%,rgba(20,22,20,.40) 74%,rgba(18,18,15,.24) 100%),
    linear-gradient(0deg,rgba(8,12,15,.28),transparent 50%),
    var(--hero-image)!important;
  background-size:cover!important;
  background-position:center 48%!important;
  background-repeat:no-repeat!important;
}
.hero.has-hero-image::after{
  background:linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.11))!important;
}
.hero.has-hero-image .hero-layout>div:first-child{max-width:820px!important;}
.hero.has-hero-image h1{
  text-shadow:0 3px 22px rgba(0,0,0,.34)!important;
}
.hero.has-hero-image p{
  color:rgba(255,255,255,.88)!important;
  text-shadow:0 2px 12px rgba(0,0,0,.34)!important;
}
@media(min-width:1600px){
  .hero.has-hero-image{background-position:center 46%!important;}
}
@media(max-width:700px){
  .hero.has-hero-image{
    min-height:auto!important;
    background-image:
      linear-gradient(90deg,rgba(12,18,22,.88),rgba(16,20,20,.58)),
      var(--hero-image)!important;
    background-position:center 48%!important;
  }
}
\n\n/* v6.8.4 — related services section title layout */
.related-services-section .related-services-head{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:0!important;
  max-width:760px!important;
  margin:0 0 38px!important;
  padding:0!important;
  border:0!important;
}
.related-services-section .related-services-head .eyebrow{
  display:block!important;
  width:auto!important;
  flex:none!important;
  margin:0 0 12px!important;
  padding:0!important;
  font-size:12px!important;
  line-height:1.2!important;
  letter-spacing:.18em!important;
  color:#c1780d!important;
}
.related-services-section .related-services-head h2{
  display:block!important;
  width:100%!important;
  clear:both!important;
  margin:0!important;
  padding:0 0 15px!important;
  font-size:clamp(34px,4vw,52px)!important;
  line-height:1.04!important;
  letter-spacing:-.035em!important;
  position:relative!important;
}
.related-services-section .related-services-head h2:after{
  content:"";
  display:block;
  width:72px;
  height:3px;
  margin-top:15px;
  border-radius:999px;
  background:linear-gradient(90deg,#f2a21b,#c87400);
}
@media(max-width:640px){
  .related-services-section .related-services-head{margin-bottom:28px!important}
  .related-services-section .related-services-head .eyebrow{margin-bottom:10px!important}
  .related-services-section .related-services-head h2{font-size:32px!important}
}


/* v6.8.6 — clean process markers + persistent navigation */
.site-header.is-hidden-motion{transform:none!important;}
.process-section .process-marker{
  width:14px!important;
  height:14px!important;
  min-width:14px!important;
  min-height:14px!important;
  border:3px solid #fff!important;
  border-radius:50%!important;
  background:var(--orange,#e87522)!important;
  box-shadow:0 0 0 1px rgba(232,117,34,.24),0 4px 12px rgba(38,45,54,.12)!important;
}
.process-section .process-marker::after{display:none!important;}
.process-section .process-marker span{display:none!important;}
@media (max-width:700px){
  .process-section .process-marker{width:12px!important;height:12px!important;min-width:12px!important;min-height:12px!important;}
}


/* v6.8.7 — process without any markers + homepage services heading line fix */
.process-section .process-marker,
.process-section .process-marker::after,
.process-section .process-marker span{
  display:none!important;
}
.process-section .process-stop{
  grid-template-columns:minmax(0,1fr)!important;
  gap:0!important;
}
.process-section .process-stop-copy{
  width:100%!important;
}

/* Keep OUR SERVICES / MŪSŲ PASLAUGOS above the main heading in every language. */
.section-head.row-head > div{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
}
.section-head.row-head > div > .eyebrow{
  display:block!important;
  width:100%!important;
  flex:none!important;
  margin-bottom:11px!important;
}
.section-head.row-head > div > h2{
  display:block!important;
  width:100%!important;
  clear:both!important;
  margin-top:0!important;
}

/* v6.8.8 — subtle current-page marker restored */
.menu > a.is-current:not(.nav-cta),
.menu > a[aria-current="page"]:not(.nav-cta) {
  color:#e8a12a !important;
  background:transparent !important;
  border-radius:0 !important;
  box-shadow:none !important;
  font-weight:700 !important;
}
.menu > a.is-current:not(.nav-cta)::before,
.menu > a[aria-current="page"]:not(.nav-cta)::before {
  content:"" !important;
  display:block !important;
  position:absolute !important;
  left:50% !important;
  bottom:-5px !important;
  width:18px !important;
  height:2px !important;
  border-radius:999px !important;
  background:#e8a12a !important;
  transform:translateX(-50%) !important;
}
.menu > a.is-current:not(.nav-cta)::after,
.menu > a[aria-current="page"]:not(.nav-cta)::after {
  display:none !important;
}


/* v6.8.9 — KAIP DIRBAME scroll story, no icons / no step-number decoration */
.process-section{
  --process-progress:0%;
  overflow:visible;
}
.process-section::after{content:none!important;display:none!important;}
.process-scroll-layout{
  display:grid;
  grid-template-columns:minmax(0,.86fr) minmax(420px,1.14fr);
  gap:clamp(64px,9vw,138px);
  align-items:start;
}
.process-section .process-head{
  position:sticky;
  top:128px;
  z-index:3;
  max-width:620px;
  margin:0;
  padding:8px 0 36px;
}
.process-section .process-head h2{max-width:590px;}
.process-section .process-head p{max-width:590px;}
.process-route{
  position:relative;
  z-index:2;
  display:block;
  padding:0 0 0 48px;
}
.process-rail{
  position:absolute;
  top:18px;
  bottom:18px;
  left:8px;
  right:auto;
  width:2px;
  height:auto;
  overflow:hidden!important;
  border-radius:999px;
  background:rgba(24,43,61,.12);
}
.process-rail::after{display:none!important;content:none!important;}
.process-rail-fill{
  position:absolute;
  inset:0 0 auto 0;
  width:100%!important;
  height:var(--process-progress,0%);
  border-radius:999px;
  background:linear-gradient(180deg,#e68a00,#f5b33e);
  box-shadow:0 0 14px rgba(230,138,0,.20);
  transition:height .10s linear;
}
.process-stop{
  position:relative;
  min-height:clamp(280px,38vh,410px);
  display:flex;
  align-items:center;
  padding:30px 0;
  opacity:.34;
  transform:translate3d(22px,18px,0) scale(.985);
  filter:saturate(.72);
  transition:opacity .5s ease,transform .62s cubic-bezier(.16,1,.3,1),filter .5s ease;
}
.process-stop:first-of-type{padding-top:0;}
.process-stop:last-child{min-height:clamp(230px,32vh,340px);padding-bottom:0;}
.process-stop::before{
  content:"";
  position:absolute;
  left:-40px;
  top:50%;
  width:17px;
  height:2px;
  border-radius:99px;
  background:rgba(24,43,61,.18);
  transform:translateY(-50%) scaleX(.55);
  transform-origin:left center;
  transition:background .4s ease,transform .5s cubic-bezier(.16,1,.3,1),box-shadow .4s ease;
}
.process-stop.is-process-active{
  opacity:1;
  transform:translate3d(0,0,0) scale(1);
  filter:none;
}
.process-stop.is-process-active::before{
  background:#e68a00;
  transform:translateY(-50%) scaleX(1);
  box-shadow:0 0 12px rgba(230,138,0,.22);
}
.process-stop-copy{
  width:100%;
  max-width:620px;
  padding:28px 0;
  border-top:1px solid rgba(24,43,61,.11);
}
.process-stop:first-of-type .process-stop-copy{border-top:0;}
.process-kicker{
  margin-bottom:11px;
  color:#7b8792;
  transition:color .35s ease;
}
.process-stop.is-process-active .process-kicker{color:#b87810;}
.process-stop h3{
  margin-bottom:13px;
  font-size:clamp(22px,2vw,30px);
  letter-spacing:-.02em;
}
.process-stop p{
  max-width:540px;
  font-size:16px;
  line-height:1.75;
}

@media(max-width:900px){
  .process-scroll-layout{grid-template-columns:1fr;gap:42px;}
  .process-section .process-head{position:relative;top:auto;max-width:760px;padding:0;margin:0;}
  .process-route{padding-left:42px;}
  .process-rail{left:7px;top:12px;bottom:12px;}
  .process-stop{min-height:220px;padding:24px 0;opacity:.44;transform:translate3d(14px,12px,0);}
  .process-stop:last-child{min-height:190px;}
  .process-stop::before{left:-34px;width:15px;}
  .process-stop-copy{padding:24px 0;}
}
@media(max-width:560px){
  .process-scroll-layout{gap:30px;}
  .process-section .process-head p{font-size:15px;}
  .process-route{padding-left:30px;}
  .process-rail{left:4px;}
  .process-stop{min-height:190px;padding:18px 0;transform:translate3d(8px,10px,0);}
  .process-stop:last-child{min-height:165px;}
  .process-stop::before{left:-26px;width:12px;}
  .process-stop h3{font-size:21px;}
  .process-stop p{font-size:15px;}
}
@media(prefers-reduced-motion:reduce){
  .process-stop{opacity:1!important;transform:none!important;filter:none!important;transition:none!important;}
  .process-rail-fill{transition:none!important;}
}

/* v6.8.10 — longer, slower KAIP DIRBAME scroll pacing */
@media(min-width:901px){
  .process-section .process-stop{
    min-height:clamp(420px,56vh,610px)!important;
    padding:42px 0!important;
  }
  .process-section .process-stop:last-child{
    min-height:clamp(420px,56vh,610px)!important;
    padding-bottom:42px!important;
  }
  .process-section .process-stop-copy{
    padding:34px 0!important;
  }
}
@media(min-width:561px) and (max-width:900px){
  .process-section .process-stop{
    min-height:300px!important;
  }
  .process-section .process-stop:last-child{
    min-height:280px!important;
  }
}


/* v6.8.11 — wider, more compact KAIP DIRBAME steps while preserving slow scroll */
@media(min-width:901px){
  .process-scroll-layout{
    grid-template-columns:minmax(0,.72fr) minmax(520px,1.28fr)!important;
    gap:clamp(48px,6vw,92px)!important;
  }
  .process-section .process-head{
    max-width:560px!important;
  }
  .process-section .process-head h2,
  .process-section .process-head p{
    max-width:540px!important;
  }
  .process-route{
    padding-left:44px!important;
    padding-bottom:clamp(300px,34vh,430px)!important;
  }
  .process-section .process-stop{
    min-height:clamp(300px,34vh,370px)!important;
    padding:22px 0!important;
  }
  .process-section .process-stop:last-child{
    min-height:clamp(300px,34vh,370px)!important;
    padding-bottom:22px!important;
  }
  .process-section .process-stop-copy{
    width:100%!important;
    max-width:740px!important;
    padding:24px 0!important;
  }
  .process-section .process-stop p{
    max-width:680px!important;
    line-height:1.68!important;
  }
}

@media(min-width:561px) and (max-width:900px){
  .process-section .process-stop{
    min-height:240px!important;
    padding:20px 0!important;
  }
  .process-section .process-stop:last-child{
    min-height:240px!important;
  }
  .process-route{
    padding-bottom:140px!important;
  }
  .process-section .process-stop-copy{
    max-width:720px!important;
    padding:20px 0!important;
  }
}

/* v6.8.12 — responsive section headings: keep eyebrow and title on separate rows */
@media (max-width: 900px) {
  .section-head:not(.row-head) {
    min-width: 0;
  }

  .section-head:not(.row-head) > .eyebrow {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 11px !important;
    white-space: normal !important;
  }

  .section-head:not(.row-head) > h1,
  .section-head:not(.row-head) > h2,
  .section-head:not(.row-head) > h3,
  .section-head:not(.row-head) > .motion-heading-accent {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-top: 0 !important;
    white-space: normal !important;
    overflow-wrap: normal;
    word-break: normal;
  }
}

@media (max-width: 620px) {
  .section-head:not(.row-head) > .eyebrow {
    margin-bottom: 9px !important;
  }
}

/* Pointer spotlight setting: keep tilt/motion, remove only mouse-following glow effects. */
.redvis-pointer-spotlight-disabled .motion-tilt::after,
.redvis-pointer-spotlight-disabled .legacy-mini-card::after,
.redvis-pointer-spotlight-disabled .hero-direct-spotlight,
.redvis-pointer-spotlight-disabled .redvis-pointer-aura{
  display:none!important;
  opacity:0!important;
}

