/* === variables.css === */
:root {
  /* Brand / theme */
  --brand:        #001f3f;   /* Theme color 1 */
  --brand-700:    #001f3f;   /* Hover/darker */
  --brand-50:     #e7f4f4;   /* Subtle tint / hovers */
  --accent:       #004D00;   /* Theme color 2 / CTAs */
  --header-bg:    #ffffff;   /* Header background */
  --topbar-bg:    #001f3f;   /* Your new top bar */

  /* Neutrals / text */
  --bg:           #ffffff;   /* Page background */
  --surface:      #ffffff;   /* Cards, panels */
  --text:         #111111;   /* Primary text */
  --muted:        #666666;   /* Secondary text */
  --border:       #e6e6e6;   /* Hairlines */
  --surface-alt:  #fafafa;   /* Subtle section bg */

  /* Feedback (optional but handy) */
  --success:      #1b8c3b;
  --warning:      #b15e00;
  --error:        #b00020;

  /* Motion */
  --ease:         cubic-bezier(.2,.7,.2,1);
  --speed:        250ms;
  --speed-fast:   150ms;
}

@media (min-width: 992px) {
  :root { --header-h: 80px; }
}



/* === base.css === */
/* ==== FONTS ==== */
/* Poppins Headings */
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Inter Body */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap; /* critical */
}
@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap; /* critical */
}

/* ==== RESET & BASE ==== */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--brand);
  text-decoration: none;
}
a:hover,
a:focus {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 2.5vw + 1rem, 3rem); }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em 1.25em; }

/* Container */

main {
  display: block;        /* default but explicit */
  width: 100%;
  background: #fff;      /* or site background */
}

.container {
  width: min(100% - 2rem, 1200px);
  margin-inline: auto;
}

.auto-container {
  max-width: 1200px;   /* or whatever your .container uses */
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: fixed; left: 1rem; top: 1rem; width: auto; height: auto;
  background: var(--text); color: var(--bg); padding: .5rem .75rem; z-index: 9999;
}

/* Utilities */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

.btn {
  display: inline-block;
  background: var(--brand);
  color: var(--bg);
  padding: .75rem 1rem;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  transition: transform 150ms cubic-bezier(.2,.7,.2,1), background 250ms cubic-bezier(.2,.7,.2,1);
}
.btn:hover {
  transform: translateY(-1px);
  background: var(--brand-700);
}
.btn--outline {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--brand);
}

/* === site.css === */

/* ===== TOP BAR ===== */
.topbar {
  background: var(--topbar-bg);
  color: var(--bg);
  font-size: 0.9375rem;
  line-height: 1;
}
.topbar a { color: var(--bg); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
}

.topbar-contact,
.topbar-social {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topbar-contact li,
.topbar-social li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-50); /* subtle contrast on dark bg */
}

.topbar .icon { width: 1rem; height: 1rem; color: currentColor; }

/* Force all topbar SVG icons to use currentColor */
.topbar .icon {
  width: 1rem;
  height: 1rem;
  display: inline-block;
  fill: currentColor;
  stroke: none;
  flex-shrink: 0;
}

/* Ensure paths inside <use> inherit color */
.topbar .icon path,
.topbar .icon use {
  fill: currentColor !important;
}

/* Topbar text & links */
.topbar,
.topbar a,
.topbar-contact li {
  color: #fff; /* or var(--bg) if that's your intended white */
}


/* Social buttons */
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  transition: transform var(--speed, 250ms) var(--ease, cubic-bezier(.2,.7,.2,1)),
              background var(--speed, 250ms) var(--ease, cubic-bezier(.2,.7,.2,1));
}
.social-btn:hover { transform: translateY(-1px); background: rgba(255,255,255,0.15); }

/* Hide topbar on mobile */
@media (max-width: 767.98px) {
  .topbar { display: none; }
}

/* ===== HEADER & NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  height: 120px;
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo img { display: block; }

/* Mobile nav toggle */
.nav-toggle {
  background: transparent;
  border: 0;
  padding: .5rem;
  cursor: pointer;
  border-radius: 8px;
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.nav-toggle .bars {
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--text);
  position: relative;
}
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 26px;
  height: 2px;
  background: var(--text);
}
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after  { top: 7px; }

/* Mobile nav menu */
.site-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 120px;
  width: 100%;
  background: var(--bg);
  display: none;
  border-bottom: 1px solid var(--border);
  z-index: 1200; /* ensure above content */
}
.menu {
  list-style: none;
  padding: .5rem 1rem;
  margin: 0;
}
.menu > li { position: relative; }

.menu a,
.dropdown-toggle {
  display: block;
  padding: .75rem;
  color: var(--text);
  text-decoration: none;
  border-radius: 8px;
}
.menu a:hover,
.dropdown-toggle:hover { background: var(--brand-50); }

/* Show when JS adds .is-open */
#site-nav.is-open { display: block; }

/* Lock scroll when menu open */
html.nav-open,
html.nav-open body { overflow: hidden; }

/* Mobile dropdown */
.has-dropdown > .dropdown-toggle {
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.has-dropdown .dropdown {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0 .5rem .5rem .5rem;
  border-left: 2px solid var(--border);
}
.has-dropdown .dropdown li a {
  padding: .5rem .75rem .5rem 1rem;
  font-size: 0.9375rem;
  color: var(--muted);
}
.has-dropdown > .dropdown-toggle[aria-expanded="true"] + .dropdown { display: block; }

/* Desktop nav */
@media (min-width: 992px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    display: block;
    border: 0;
    background: transparent;
  }
  .menu {
    display: flex;
    align-items: center;
    gap: .25rem;
    padding: 0;
  }
  .menu > li > a,
  .menu > li > .dropdown-toggle { padding: .75rem .9rem; }

  .has-dropdown { position: relative; }
  .has-dropdown .dropdown {
    position: absolute;
    top: 100%;            /* Fix: no gap so hover doesn’t break */
    left: 0;
    min-width: 220px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
    padding: .35rem;
    display: none;
    z-index: 1100;        /* Fix: ensure submenu stays above header */
  }
  /* Keep submenu open while hovering parent or submenu */
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown,
  .has-dropdown .dropdown:hover { display: block; }

  .has-dropdown > .dropdown-toggle { padding-right: 1.6rem; }
}

/* Dropdown toggle: visual + typography normalization */
.dropdown-toggle {
  /* inline text + chevron */
  display: inline-flex;
  align-items: center;
  gap: 0.4em;

  /* make button look like link */
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: .75rem;
  cursor: pointer;
}

/* ===== SVG ICON HELPERS ===== */
.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em; /* baseline tweak */
  color: currentColor;      /* inherits text color */
}
.icon--sm { width: 0.9em; height: 0.9em; }
.icon--lg { width: 1.25em; height: 1.25em; }

/* Chevron in dropdowns (from sprite) */
.icon-chevron { transition: transform var(--speed) var(--ease); }
.dropdown-toggle[aria-expanded="true"] .icon-chevron { transform: rotate(180deg); }


/* ===== HERO SECTION ===== */
.hero--image {
  position: relative;
  min-height: 600px;
  height: 90vh;
  color: #fff;
  display: flex;
  align-items: center; /* vertical centering */
  isolation: isolate;
}

.hero--image .hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero--image .hero__media img,
.hero--image .hero__media source {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero--image .hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,31,63,.65) 0%,
    rgba(0,31,63,.55) 40%,
    rgba(0,31,63,.45) 100%
  );
}

.hero__inner { max-width: 900px; position: relative; z-index: 1; }

.hero--image .eyebrow {
  display: inline-block;
  font-weight: 600;
  letter-spacing: .02em;
  margin: 0 0 .5rem;
  padding: .35rem .6rem;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  font-size: var(--fs-300);
}

.hero--image h1 {
  margin: 0 0 .5rem;
  font-weight: 700;
  font-size: clamp(2rem, 2.2vw + 1.25rem, 3rem);
  line-height: 1.15;
}

.hero--image .accent-underline {
  position: relative;
}
.hero--image .accent-underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .08em;
  height: .18em;
  background: var(--accent);
  opacity: .95;
  z-index: -1;
}

.hero--image .lead {
  color: rgba(255,255,255,.86);
  margin: 0 0 1.25rem;
  font-size: clamp(1rem, .4vw + 1rem, 1.125rem);
  max-width: 65ch;
}

.hero__cta { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero__cta .btn { background: var(--accent); border: 1px solid transparent; }
.hero__cta .btn:hover { filter: brightness(0.95); }
.hero__cta .btn--outline { color: #fff; border-color: rgba(255,255,255,.65); }
.hero__cta .btn--outline:hover { background: rgba(255,255,255,.12); }

/* Mobile tweaks */
@media (max-width: 767.98px) {
  .hero--image { min-height: 500px; height: auto; padding: 2.25rem 0 2.75rem; }
  .hero__cta { gap: .5rem; }
}

/* Dark mode (overlay stronger) */



/* Mobile tweaks */
@media (max-width: 767.98px) {
  .hero--image {
    min-height: 500px;
    height: auto;
    padding: 2.25rem 0 2.75rem;

    /* New: fallback background for mobile */
    background: linear-gradient(
      180deg,
      #001F3F 0%,
      #003366 100%
    );
  }

  /* Hide the <picture> on mobile so only color shows */
  .hero--image .hero__media {
    display: none;
  }

  .hero__cta { gap: .5rem; }
}













/* ===== 3 COLUMN SECTION ===== */
.three-column-section {
  background: #f7fcfa; /* light background */
  padding: 60px 20px;
}

.three-column-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.column-item {
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform .3s ease, box-shadow .3s ease;
  text-decoration: none;
  color: inherit;
}

.column-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.column-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 15px 0 10px;
}

.column-item p {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

.icon-box {
  background: #f1fdf7;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}





/* ===== 2 COLUMN SECTION ===== */

.two-col-section {
  padding: clamp(120px, 15vh, 200px) 0;
}

/* grid layout */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}

/* overlap images */
.overlap-wrap {
  position: relative;
  width: min(620px, 100%);
  margin-inline: auto;
  padding: clamp(.5rem, 1vw, 1rem); /* room for corner lines */
}

/* shared */
.overlap-wrap .img {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  background: #fff;
}
.overlap-wrap .img img {
  display: block;
  width: 100%;      /* fill the card */
  height: auto;
  max-width: 100%;
}

/* back image (smaller, softer shadow) */
.overlap-wrap .img-back {
  width: 340px;     /* match HTML attribute */
  transform: translateY(-6%) translateX(6%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* front image (larger, crisper shadow) */
.overlap-wrap .img-front {
  width: 390px;     /* match HTML attribute */
  position: absolute;
  right: 0;
  bottom: 0;
  transform: translateY(10%) translateX(-6%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* decorative corner lines (use theme color, not red) */
.overlap-wrap .corner {
  position: absolute;
  width: 80px; height: 80px;
  pointer-events: none;
}
.overlap-wrap .corner::before,
.overlap-wrap .corner::after {
  content: "";
  position: absolute;
  background: var(--accent-color, #0a7d7d);
}
.overlap-wrap .corner.tl { top: -12px; right: 18%; }
.overlap-wrap .corner.br { bottom: -12px; left: 18%; }
.overlap-wrap .corner.tl::before { width: 4px; height: 100%; left: 0; top: 0; }
.overlap-wrap .corner.tl::after  { height: 4px; width: 100%; left: 0; top: 0; }
.overlap-wrap .corner.br::before { width: 4px; height: 100%; right: 0; bottom: 0; }
.overlap-wrap .corner.br::after  { height: 4px; width: 100%; right: 0; bottom: 0; }

/* right column */
.col-right {
  padding: 2rem; /* add internal spacing all around */
}

.col-right h2 {
  margin: 0 0 .75rem;
  color: var(--heading-color, #001f3f);
}

.col-right p {
  margin: 0 0 1.25rem;
  color: var(--text-color, #333);
}

.feature-list {
  list-style: none;
  padding: 1rem 1.25rem; /* consistent inner spacing */
  margin: 0 0 1.25rem;
}
.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .6rem;
}
.feature-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-color, #0a7d7d);
}

/* responsive tweaks */
@media (max-width: 990px) {
  .col-right {
    margin-top: 2rem; /* adds spacing below the images */
    padding: 1.5rem;  /* optional: slightly tighter padding on small screens */
  }
}

/* theme button */
.btn-theme {
  display: inline-block;
  background: var(--accent-color, #0a7d7d);
  color: #fff; text-decoration: none;
  padding: .8rem 1.4rem; border-radius: 8px;
  font-weight: 600; transition: opacity .25s ease;
}
.btn-theme:hover { opacity: .9; }

/* responsive */
@media (max-width: 990px) {
  .two-col-grid { grid-template-columns: 1fr; }
  .overlap-wrap .img-back { width: 75vw; max-width: 360px; transform: translateY(-3%) translateX(3%); }
  .overlap-wrap .img-front { width: 65vw; max-width: 320px; transform: translateY(8%) translateX(-4%); }
  .overlap-wrap .corner { display: none; } /* optional on mobile */
}
















/* ===== CONTENT BLOCKS ===== */
.content-block { padding: clamp(1.5rem, 4vw, 3rem) 0; }
.content-block h2 { margin-bottom: .5rem; }
.content-block p  { color: var(--muted); }

/* ===== FOOTER ===== */


/* ================== Quickstep Footer ================== */
.main-footer {
  color: #0f0f10;
  background: #f7f8fb; /* subtle neutral */
  border-top: 1px solid rgba(0,0,0,.06);
}

.main-footer .widgets-section {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(2rem, 4vw, 3rem) 0;
}

@media (max-width: 980px) {
  .main-footer .widgets-section {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 680px) {
  .main-footer .widgets-section {
    grid-template-columns: 1fr;
  }
}

/* Widgets */
.footer-widget h6 {
  font-size: 1rem;
  letter-spacing: .02em;
  margin: 0 0 .75rem;
}

.footer-widget .text {
  color: var(--text-muted, #4a4a4a);
  line-height: 1.6;
  margin: .5rem 0 1rem;
  max-width: 50ch;
}

/* Logo */
.logo-widget .logo img {
  display: block;
  height: auto;
}
.logo-widget .social-links {
  display: flex;
  gap: .5rem;
  margin-top: .5rem;
}
.social-link {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 10px;
  background: #fff;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.social-link .icon { width: 18px; height: 18px; }
.social-link:hover { 
  transform: translateY(-1px);
  border-color: rgba(0,0,0,.2);
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
}

.social-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: .5rem;
}
.social-links li {
  margin: 0;
  padding: 0;
}


/* Links */
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem 1.25rem;
}
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links a {
  display: inline-block;
  color: #0f0f10;
  text-decoration: none;
  padding: .2rem 0;
  border-bottom: 1px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.footer-links a:hover {
  color: #0a2240; /* navy */
  border-color: rgba(10,34,64,.2);
}

/* Contact info */
.info-widget .contact-info {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .4rem;
}
.info-widget .icon { width: 18px; height: 18px; margin-right: .4rem; vertical-align: -3px; }
.info-widget .contact-info a { color: #0a2240; text-decoration: none; }
.info-widget .contact-info a:hover { text-decoration: underline; }
.credit { margin-top: .75rem; color: var(--text-muted, #4a4a4a); }

/* Bottom strip */
.footer-bottom {
  border-top: 1px solid rgba(0,0,0,.06);
  background: #fff;
}
.footer-bottom .inner {
  padding: .9rem 0;
  display: flex; align-items: center; justify-content: space-between;
}
@media (max-width: 680px) {
  .footer-bottom .inner {
    flex-direction: column; gap: .5rem; text-align: center;
  }
}





/* ===== UTILITIES ===== */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.grid { display: grid; gap: 1rem; }
@media (min-width: 768px) { .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

















/* ================== Two-Column Video: Overlay ================== */
.two-col-video {
  padding: clamp(2rem, 4vw, 4rem) 0;
  background-color: #f7fcfa;
}

.two-col-video .two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

@media (max-width: 900px){
  .two-col-video .two-col-grid {
    grid-template-columns: 1fr;
  }
}

.two-col-video .col-left,
.two-col-video .col-right {
  align-self: center;
}

/* ——— Video Overlay ——— */
.two-col-video .video-overlay {
  position: relative;
  display: block;
  width: 100%;
  max-width: 800px;         /* optional max width */
  aspect-ratio: 16 / 9;     /* enforce 16:9 ratio */
  overflow: hidden;
  cursor: pointer;
}

.two-col-video .video-overlay picture,
.two-col-video .video-overlay img,
.two-col-video .video-overlay iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

/* Gradient + Play button chrome */
.two-col-video .video-overlay::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.35) 100%);
  z-index: 1;
  pointer-events: none;
  transition: opacity .25s ease;
}

.two-col-video .video-overlay::after {
  content: "";
  position: absolute; inset: 0; margin: auto;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  z-index: 2;
  pointer-events: none;
  transition: transform .2s ease, opacity .2s ease;
}

.two-col-video .video-overlay .play {
  position: absolute; inset: 0; margin: auto; z-index: 3;
  width: 0; height: 0;
  border-left: 20px solid #111;    /* triangle */
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  transform: translateX(6px);
  transition: opacity .2s ease;
  pointer-events: none;
}

/* Hover/focus flair */
.two-col-video .video-overlay:hover::before { opacity: .15; }
.two-col-video .video-overlay:hover::after  { transform: scale(1.05); }

.two-col-video .video-overlay:focus,
.two-col-video .video-overlay:focus-visible {
  outline: 3px solid #ffbb46;
  outline-offset: 4px;
}

/* Playing state: hide overlay chrome */
.two-col-video .video-overlay.playing::before,
.two-col-video .video-overlay.playing::after,
.two-col-video .video-overlay.playing .play {
  opacity: 0;
  pointer-events: none;
}

/* Mobile safety (if a global dim is applied elsewhere) */
@media (max-width: 767px){
  .two-col-video .video-overlay {
    opacity: 1;
    filter: none;
  }
}


/* Do not show focus outline while playing */
.two-col-video .video-overlay.playing { outline: none !important; }

/* Also ensure the iframe itself has no default focus ring */
.two-col-video .video-overlay iframe { outline: none; }

/* show outline only for keyboard users */
.two-col-video .video-overlay:focus { outline: none; }
.two-col-video .video-overlay:focus-visible {
  outline: 3px solid #ffbb46;
  outline-offset: 4px;
}





/* ================== Quickstep: CTA – Audit Your Current Website ================== */
.cta-audit {
  position: relative;
  padding: clamp(2.25rem, 4vw, 4rem) 0;
  color: #0f0f10;
  overflow: hidden;
}

/* Subtle brandable background (editable) */
.cta-audit::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 1200px at 110% -10%, rgba(253,143,20,0.12) 0%, rgba(253,143,20,0) 60%),
    linear-gradient(180deg, #fff 0%, #fff 100%);
  pointer-events: none;
}

/* Optional patterned overlay (replace with your asset if you like) */
.cta-audit::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(0,0,0,.045) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .35;
  pointer-events: none;
}

/* Inner container */
.cta-audit__inner {
  position: relative;
  z-index: 1;
  width: min(1100px, 92vw);
  margin-inline: auto;
}

/* Content block */
.cta-audit__content {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  border-radius: 18px;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.cta-audit h2 {
  margin: 0 0 .5rem;
  line-height: 1.15;
}

.cta-audit p {
  margin: 0 0 1rem;
  color: var(--text-muted, #444);
  max-width: 70ch;
}

/* Actions */
.cta-audit__actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: .5rem;
  margin-bottom: .25rem;
}

.cta-audit .btn,
.cta-audit .btn--outline {
  padding-inline: 1.1rem;
  height: 46px;
  line-height: 46px;
  border-radius: 10px;
  font-weight: 600;
}

/* Small supporting note */
.cta-audit__note {
  font-size: .95rem;
  margin-top: .25rem;
  opacity: .9;
}
.cta-audit__link { text-decoration: underline; }

/* Dark theme variant (optional) */
/*
.cta-audit {
  color: #fff;
}
.cta-audit__content {
  background: #15151a;
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 14px 36px rgba(0,0,0,.35);
}
.cta-audit p { color: rgba(255,255,255,.9); }
*/

/* Responsive tweaks */
@media (max-width: 720px) {
  .cta-audit .btn,
  .cta-audit .btn--outline {
    width: 100%;
    text-align: center;
    line-height: 44px;
    height: 44px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cta-audit__content { transition: none; }
}




/* Base button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.2rem;
  height: 46px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

/* Solid button (primary) */
.btn {
  background: #0a2240;   /* your navy */
  color: #fff;
  border: 2px solid #0a2240;
}

.btn:hover,
.btn:focus {
  background: #08306d;   /* darker navy */
  border-color: #08306d;
  color: #fff;
}

/* Outline button */
.btn--outline {
  background: transparent;
  color: #0a2240;
  border: 2px solid #0a2240;
}

.btn--outline:hover,
.btn--outline:focus {
  background: #0a2240;
  color: #fff;            /* stays visible on dark bg */
  border-color: #0a2240;
}


/* Container */
.qs-cookie {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 9999;
  background: #101114; color: #fff; padding: 16px;
  box-shadow: 0 -6px 24px rgba(0,0,0,.25);
  font: 14px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}
.qs-cookie.is-hidden { display: none; }
.qs-cookie__inner { max-width: 960px; margin: 0 auto; }
.qs-cookie__title { margin: 0 0 6px; font-size: 18px; }
.qs-cookie__text a { color: #9ecbff; text-decoration: underline; }
.qs-cookie__actions { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }

/* Buttons */
.qs-btn { border: 0; padding: 10px 14px; border-radius: 10px; cursor: pointer; }
.qs-btn--primary { background: #FD8F14; color: #111; font-weight: 600; }
.qs-btn--muted { background: #2a2d34; color: #fff; }
.qs-btn--ghost { background: transparent; color: #fff; outline: 1px solid #3a3f46; }

/* Modal */
.qs-modal { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; background: rgba(0,0,0,.5); }
.qs-modal.is-hidden { display: none; }
.qs-modal__dialog { width: min(680px, 92vw); background: #fff; color: #111; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.qs-modal__header, .qs-modal__footer { padding: 14px 16px; background: #f6f7f8; }
.qs-modal__body { padding: 16px; }
.qs-modal__close { background: none; border: none; font-size: 24px; line-height: 1; cursor: pointer; }

.qs-pref__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.qs-pref hr { border: 0; border-top: 1px solid #e5e7eb; margin: 10px 0; }
.qs-note { color: #666; font-size: 12px; }

/* Toggle switch */
.qs-switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.qs-switch input { opacity: 0; width: 0; height: 0; }
.qs-slider { position: absolute; cursor: pointer; inset: 0; background: #d1d5db; transition: .2s; border-radius: 999px; }
.qs-slider:before { content: ""; position: absolute; height: 18px; width: 18px; left: 3px; top: 3px; background: #fff; transition: .2s; border-radius: 50%; }
.qs-switch input:checked + .qs-slider { background: #34d399; }
.qs-switch input:checked + .qs-slider:before { transform: translateX(20px); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .qs-slider, .qs-slider:before { transition: none; }
}


:where(article,aside,nav,section) h1{font-size:clamp(2rem,2.5vw+1rem,3rem);line-height:1.2;font-weight:700}


/* ===== MOBILE RESCUE PATCH (remove after