/* ==========================================================================
   Sundigital Corporation — Security Equipment Manufacturer & OEM
   style.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --c-yellow: #f5be10;
  /* Accessible gold for text/icons on light backgrounds (>= 4.9:1 on #f5f7fa) */
  --c-yellow-dark: #8a6600;
  --c-yellow-light: #ffd24d;
  --c-yellow-soft: rgba(245, 190, 16, .14);

  /* Neutrals */
  --c-ink: #0a1119;
  /* hero / deepest */
  --c-ink-2: #131a21;
  /* dark sections */
  --c-ink-3: #1c242c;
  /* dark cards */
  --c-topbar: #0d1319;
  --c-body: #4a5560;
  --c-heading: #16202b;
  --c-line: #e3e7ec;
  --c-surface: #ffffff;
  --c-surface-alt: #f5f7fa;

  /* Type */
  --f-sans: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --f-head: "Oswald", "Inter", "Segoe UI", system-ui, Arial, sans-serif;

  /* Layout */
  --wrap: 1240px;
  --gutter: 24px;
  --radius: 10px;
  --radius-lg: 16px;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(16, 24, 40, .06);
  --shadow: 0 6px 24px rgba(16, 24, 40, .10);
  --shadow-lg: 0 18px 48px rgba(16, 24, 40, .16);
  --t: .28s cubic-bezier(.4, 0, .2, 1);

  /* Chrome */
  --header-h: 84px;
  --topbar-h: 38px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* offset for the sticky header when jumping to #anchors */
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-body);
  background: var(--c-surface);
  overflow-x: hidden;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--f-head);
  color: var(--c-heading);
  margin: 0 0 .5em;
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: .2px;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.25rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

::selection {
  background: var(--c-yellow);
  color: var(--c-ink);
}

/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--c-yellow);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 999;
  background: var(--c-yellow);
  color: var(--c-ink);
  padding: 10px 18px;
  font-weight: 700;
  border-radius: 0 0 8px 8px;
  transition: top var(--t);
}

.skip-link:focus {
  top: 0;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding: clamp(52px, 7vw, 88px) 0;
}

.section--tight {
  padding: clamp(38px, 5vw, 60px) 0;
}

.section--alt {
  background: var(--c-surface-alt);
}

.section--dark {
  background: var(--c-ink-2);
  color: #b9c3cd;
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #fff;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

/* Section heading block */
.sec-head {
  text-align: center;
  margin-bottom: clamp(30px, 4vw, 48px);
}

.sec-head__eyebrow {
  display: block;
  font-family: var(--f-head);
  font-size: .82rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-yellow-dark);
  margin-bottom: 6px;
  font-weight: 600;
}

.section--dark .sec-head__eyebrow {
  color: var(--c-yellow);
}

.sec-head h2 {
  text-transform: uppercase;
  margin-bottom: 14px;
}

.sec-head__rule {
  width: 68px;
  height: 4px;
  background: var(--c-yellow);
  border-radius: 4px;
  margin: 0 auto 14px;
}

.sec-head p {
  max-width: 720px;
  margin-inline: auto;
}

.sec-head--left {
  text-align: left;
}

.sec-head--left .sec-head__rule,
.sec-head--left p {
  margin-inline: 0;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--c-yellow);
  --btn-fg: var(--c-ink);
  --btn-bd: var(--c-yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 2px solid var(--btn-bd);
  border-radius: 6px;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn:active {
  transform: translateY(0);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, .55);
}

.btn--ghost:hover {
  --btn-bg: #fff;
  --btn-fg: var(--c-ink);
  --btn-bd: #fff;
}

.btn--dark {
  --btn-bg: var(--c-ink);
  --btn-fg: #fff;
  --btn-bd: var(--c-ink);
}

.btn--dark:hover {
  --btn-bg: var(--c-yellow);
  --btn-fg: var(--c-ink);
  --btn-bd: var(--c-yellow);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--c-heading);
  --btn-bd: var(--c-line);
}

.btn--outline:hover {
  --btn-bg: var(--c-yellow);
  --btn-fg: var(--c-ink);
  --btn-bd: var(--c-yellow);
}

.btn--wa {
  --btn-bg: #0f7d42;
  --btn-fg: #fff;
  --btn-bd: #0f7d42;
}

.btn--wa:hover {
  --btn-bg: #0b6635;
  --btn-bd: #0b6635;
}

.btn--sm {
  padding: 9px 18px;
  font-size: .8rem;
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* --------------------------------------------------------------------------
   5. Top bar
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--c-topbar);
  color: #c8d0d8;
  font-size: .78rem;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--topbar-h);
  flex-wrap: wrap;
}

.topbar ul {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.topbar svg {
  width: 14px;
  height: 14px;
  color: var(--c-yellow);
  flex: none;
}

.topbar a {
  transition: color var(--t);
}

.topbar a:hover {
  color: var(--c-yellow);
}

/* --------------------------------------------------------------------------
   6. Header / navigation
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  box-shadow: 0 1px 0 var(--c-line);
  transition: box-shadow var(--t);
}

.header.is-stuck {
  box-shadow: 0 6px 22px rgba(16, 24, 40, .12);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  flex: none;
}

.brand img {
  width: 220px;
}

.nav {
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__mobile-cta {
  display: none;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  white-space: nowrap;
  font-family: var(--f-head);
  font-size: .86rem;
  font-weight: 500;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--c-heading);
  transition: color var(--t);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 3px;
  background: var(--c-yellow);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}

.nav__link:hover {
  color: var(--c-yellow-dark);
}

.nav__link:hover::after,
.nav__item.is-active>.nav__link::after {
  transform: scaleX(1);
}

.nav__item.is-active>.nav__link {
  color: var(--c-yellow-dark);
}

.nav__caret {
  width: 12px;
  height: 12px;
  transition: transform var(--t);
}

/* Dropdown */
.nav__item--has-sub {
  position: relative;
}

.nav__sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 268px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}

.nav__item--has-sub:hover>.nav__sub,
.nav__item--has-sub:focus-within>.nav__sub,
.nav__item--has-sub.is-open>.nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__item--has-sub:hover .nav__caret,
.nav__item--has-sub.is-open .nav__caret {
  transform: rotate(180deg);
}

.nav__sub a {
  display: block;
  padding: 10px 14px;
  border-radius: 7px;
  font-size: .88rem;
  color: var(--c-heading);
  transition: background var(--t), color var(--t), padding-left var(--t);
}

.nav__sub a:hover {
  background: var(--c-yellow-soft);
  color: var(--c-yellow-dark);
  padding-left: 20px;
}

.header__cta {
  flex: none;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--c-line);
  background: #fff;
  border-radius: 8px;
  padding: 0;
  place-items: center;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-heading);
  border-radius: 2px;
  position: relative;
  transition: background var(--t);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--c-heading);
  border-radius: 2px;
  transition: transform var(--t), top var(--t);
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 17, 25, .55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t), visibility var(--t);
  z-index: 190;
}

body.nav-open .nav-backdrop {
  pointer-events: auto;
}

body.nav-open .nav-backdrop {
  opacity: 1;
  visibility: visible;
}

body.nav-open {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   7. Floating action rail
   -------------------------------------------------------------------------- */
.rail {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 150;
  display: grid;
  background: var(--c-yellow);
  border-radius: 12px 0 0 12px;
  overflow: hidden;
  box-shadow: -6px 8px 24px rgba(16, 24, 40, .22);
}

.rail a {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 12px 10px;
  width: 74px;
  font-size: .66rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: var(--c-ink);
  border-bottom: 1px solid rgba(0, 0, 0, .14);
  transition: background var(--t), color var(--t);
}

.rail a:last-child {
  border-bottom: 0;
}

.rail a:hover {
  background: var(--c-ink);
  color: var(--c-yellow);
}

.rail svg {
  width: 20px;
  height: 20px;
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--c-yellow);
  color: var(--c-ink);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--t), visibility var(--t), transform var(--t), background var(--t);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--c-ink);
  color: var(--c-yellow);
}

.to-top svg {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--c-ink) url("../img/home-hero-bg.jpg") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, #050d16 0%, rgba(5, 13, 22, .94) 34%, rgba(5, 13, 22, .55) 58%, rgba(5, 13, 22, .25) 100%);
  z-index: -1;
}

.hero__media {
  position: absolute;
  right: -1%;
  bottom: 0;
  width: 58%;
  max-width: 780px;
  z-index: -1;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(48px, 6vw, 76px);
  max-width: 660px;
}

.hero h1 {
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 18px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .55);
}

.hero h1 .accent {
  color: var(--c-yellow);
  display: block;
}

.hero__lead {
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  color: #d3dbe3;
  max-width: 520px;
  margin-bottom: 26px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}

.hero__badge {
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 110px;
  text-align: center;
}

.hero__badge svg {
  width: 40px;
  height: 40px;
  color: var(--c-yellow);
}

.hero__badge span {
  font-size: .78rem;
  line-height: 1.35;
  color: #e6ebf0;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   9. Stats strip
   -------------------------------------------------------------------------- */
.stats {
  background: var(--c-ink-2);
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.stats__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 18px;
  border-left: 1px solid rgba(255, 255, 255, .09);
}

.stat:first-child {
  border-left: 0;
}

.stat svg {
  width: 34px;
  height: 34px;
  color: var(--c-yellow);
  flex: none;
}

.stat__num {
  font-family: var(--f-head);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--c-yellow);
  line-height: 1.1;
}

.stat__label {
  font-size: .82rem;
  color: #aab4be;
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   10. Product cards
   -------------------------------------------------------------------------- */
.pcard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 22px 20px 24px;
  text-align: center;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  height: 100%;
}

.pcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-yellow);
}

.pcard__media {
  height: 170px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.pcard__media img {
  max-height: 170px;
  width: auto;
  object-fit: contain;
  transition: transform var(--t);
}

.pcard:hover .pcard__media img {
  transform: scale(1.06);
}

.pcard h3 {
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: .5px;
  margin-bottom: 10px;
}

.pcard p {
  font-size: .86rem;
  margin-bottom: 18px;
}

.pcard .btn {
  margin-top: auto;
  align-self: center;
}

/* --------------------------------------------------------------------------
   11. Why choose
   -------------------------------------------------------------------------- */
.why {
  background: var(--c-ink-2);
  color: #b9c3cd;
}

.why__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr .75fr;
  gap: 40px;
  align-items: center;
}

.why h2 {
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.why h2 .accent {
  color: var(--c-yellow);
}

.why__list {
  display: grid;
  gap: 20px;
}

.why__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.why__item svg {
  width: 32px;
  height: 32px;
  color: var(--c-yellow);
  flex: none;
  margin-top: 2px;
}

.why__item strong {
  display: block;
  color: #fff;
  font-weight: 500;
  font-size: .98rem;
  line-height: 1.4;
}

.why__media {
  border: 3px solid var(--c-yellow);
  border-radius: 10px;
  overflow: hidden;
  padding: 6px;
}

.why__media img {
  border-radius: 6px;
  width: 100%;
}

.why__stats {
  display: grid;
  gap: 4px;
}

.why__stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.why__stat:last-child {
  border-bottom: 0;
}

.why__stat svg {
  width: 32px;
  height: 32px;
  color: var(--c-yellow);
  flex: none;
}

.why__stat b {
  display: block;
  font-family: var(--f-head);
  font-size: 1.45rem;
  color: var(--c-yellow);
  line-height: 1.1;
  font-weight: 600;
}

.why__stat span {
  font-size: .82rem;
  color: #aab4be;
}

/* --------------------------------------------------------------------------
   12. Logo tiles (clients / certifications)
   -------------------------------------------------------------------------- */
.logo-grid {
  display: grid;
  gap: 16px;
}

.logo-tile {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 120px;
  padding: 16px 12px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  text-align: center;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.logo-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--c-yellow);
}

.logo-tile img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
  opacity: .92;
  transition: transform var(--t), opacity var(--t);
}

.logo-tile:hover img {
  opacity: 1;
  transform: scale(1.05);
}

.logo-tile span {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--c-heading);
  line-height: 1.3;
}

.logo-tile small {
  font-size: .68rem;
  color: var(--c-body);
  display: block;
}

.split-2 {
  display: grid;
  grid-template-columns: 1.22fr 1fr;
  gap: 46px;
  align-items: start;
}

.split-2 .sec-head h2 {
  font-size: clamp(1.3rem, 2.05vw, 1.72rem);
}

/* --------------------------------------------------------------------------
   13. Quotation band
   -------------------------------------------------------------------------- */
.quote-band {
  position: relative;
  background: var(--c-ink);
  color: #cdd6df;
  overflow: hidden;
}

.quote-band__grid {
  display: grid;
  grid-template-columns: 1fr 1.28fr;
  gap: 44px;
  align-items: center;
}

.quote-band__left {
  position: relative;
  padding-right: 150px;
}

.quote-band__copy {
  min-width: 0;
}

.quote-band h2 {
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-size: clamp(1.4rem, 2.2vw, 1.95rem);
}

.quote-band__agent {
  position: absolute;
  right: -34px;
  bottom: calc(-1 * clamp(52px, 7vw, 88px));
  width: 192px;
  border-radius: 8px;
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
}

.quote-band .form input::placeholder,
.quote-band .form textarea::placeholder {
  font-size: .86rem;
}

/* --------------------------------------------------------------------------
   14. Forms
   -------------------------------------------------------------------------- */
.form {
  display: grid;
  gap: 14px;
}

.form__row {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
}

.form__row--3 {
  grid-template-columns: repeat(3, 1fr);
}

.form__row--2 {
  grid-template-columns: repeat(2, 1fr);
}

.form__row--submit {
  grid-template-columns: 1fr auto;
  align-items: start;
}

.field {
  display: grid;
  gap: 5px;
}

.field>label {
  font-size: .78rem;
  font-weight: 600;
  color: inherit;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 13px 14px;
  font: inherit;
  font-size: .92rem;
  color: var(--c-heading);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 6px;
  transition: border-color var(--t), box-shadow var(--t);
}

.form textarea {
  min-height: 108px;
  resize: vertical;
}

.form select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a5560' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 38px;
}

.form input::placeholder,
.form textarea::placeholder {
  color: #98a4b0;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--c-yellow);
  box-shadow: 0 0 0 3px var(--c-yellow-soft);
}

.form .is-invalid {
  border-color: #e04f4f;
  box-shadow: 0 0 0 3px rgba(224, 79, 79, .14);
}

.form__error {
  font-size: .74rem;
  color: #ff8b8b;
  min-height: 1em;
}

.section--alt .form__error,
.form--light .form__error {
  color: #c62828;
}

.form__note {
  font-size: .76rem;
  color: inherit;
  opacity: .8;
}

.form-status {
  display: none;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: .88rem;
  font-weight: 600;
  background: rgba(37, 211, 102, .14);
  border: 1px solid rgba(37, 211, 102, .5);
  color: #1e8e4a;
}

.form-status.is-visible {
  display: block;
}

.quote-band .form-status {
  color: #7ff0aa;
}

.form-status.is-error {
  background: rgba(214, 45, 45, .12);
  border-color: rgba(214, 45, 45, .5);
  color: #b3261e;
}

.quote-band .form-status.is-error {
  color: #ffb4ad;
}

.form-status a {
  color: inherit;
}

.form [type="submit"][disabled],
.form button[disabled] {
  opacity: .65;
  cursor: not-allowed;
}

/* --------------------------------------------------------------------------
   15. Page banner (inner pages)
   -------------------------------------------------------------------------- */
.banner {
  background: var(--c-ink) url("../img/page-banner.jpg") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: clamp(52px, 7vw, 88px) 0;
  position: relative;
  isolation: isolate;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 13, 22, .86), rgba(5, 13, 22, .92));
  z-index: -1;
}

.banner h1 {
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.banner p {
  color: #c6d0da;
  max-width: 720px;
  margin-inline: auto;
}

.crumbs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .82rem;
  color: #9dabb8;
  margin-top: 14px;
}

.crumbs a {
  transition: color var(--t);
}

.crumbs a:hover {
  color: var(--c-yellow);
}

.crumbs li::after {
  content: "/";
  margin-left: 8px;
  color: #55636f;
}

.crumbs li:last-child::after {
  content: "";
}

.crumbs li[aria-current] {
  color: var(--c-yellow);
}

/* --------------------------------------------------------------------------
   16. Content blocks
   -------------------------------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 26px 24px;
  height: 100%;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--c-yellow);
}

.card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--c-yellow-soft);
  color: var(--c-yellow-dark);
  margin-bottom: 16px;
}

.card__icon svg {
  width: 28px;
  height: 28px;
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  font-size: .9rem;
}

.section--dark .card {
  background: var(--c-ink-3);
  border-color: rgba(255, 255, 255, .08);
}

.section--dark .card:hover {
  border-color: var(--c-yellow);
}

.section--dark .card p {
  color: #aab4be;
}

.section--dark .card__icon {
  background: rgba(245, 190, 16, .14);
  color: var(--c-yellow);
}

.ticks {
  display: grid;
  gap: 10px;
}

.ticks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .92rem;
}

.ticks svg {
  width: 19px;
  height: 19px;
  color: var(--c-yellow-dark);
  flex: none;
  margin-top: 5px;
}

.section--dark .ticks svg,
.why .ticks svg {
  color: var(--c-yellow);
}

.media-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.media-split img {
  border-radius: var(--radius);
  width: 100%;
}

.media-split--rev .media-split__media {
  order: 2;
}

/* Spec table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
}

table.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  min-width: 520px;
}

table.spec caption {
  text-align: left;
  padding: 14px 16px;
  font-weight: 700;
  color: var(--c-heading);
}

table.spec th,
table.spec td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--c-line);
}

table.spec thead th {
  background: var(--c-surface-alt);
  color: var(--c-heading);
  font-weight: 700;
}

table.spec tbody tr:last-child th,
table.spec tbody tr:last-child td {
  border-bottom: 0;
}

table.spec tbody th {
  font-weight: 600;
  color: var(--c-heading);
  width: 38%;
}

/* Accordion (FAQ) */
.acc {
  display: grid;
  gap: 12px;
}

.acc__item {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--f-head);
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-heading);
}

.acc__btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform var(--t);
  color: var(--c-yellow-dark);
}

.acc__btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.acc__panel {
  display: none;
  padding: 0 20px 18px;
  font-size: .92rem;
}

.acc__panel.is-open {
  display: block;
}

/* Timeline (projects) */
.timeline {
  display: grid;
  gap: 0;
  border-left: 2px solid var(--c-line);
  padding-left: 26px;
}

.timeline li {
  position: relative;
  padding-bottom: 26px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c-yellow);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--c-yellow);
}

.timeline b {
  display: block;
  color: var(--c-heading);
  font-family: var(--f-head);
}

/* Contact info list */
.info-list {
  display: grid;
  gap: 18px;
}

.info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.info-list svg {
  width: 22px;
  height: 22px;
  color: var(--c-yellow-dark);
  flex: none;
  margin-top: 4px;
}

.info-list strong {
  display: block;
  color: var(--c-heading);
  font-size: .92rem;
}

.info-list a:hover {
  color: var(--c-yellow-dark);
}

.section--dark .info-list svg {
  color: var(--c-yellow);
}

.section--dark .info-list strong {
  color: #fff;
}

.map-frame {
  border: 0;
  width: 100%;
  height: 380px;
  border-radius: var(--radius);
  display: block;
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--c-ink-2);
  color: #9aa6b2;
  font-size: .88rem;
  padding-top: 56px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.2fr 1fr;
  gap: 34px;
  padding-bottom: 42px;
}

.footer h2 {
  color: #fff;
  font-size: .95rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer h2 .accent {
  color: var(--c-yellow);
}

.footer__logo {
  width: 190px;
  margin-bottom: 16px;
}

.footer__links {
  display: grid;
  gap: 9px;
}

.footer__links a {
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
  transition: color var(--t), padding-left var(--t);
}

.footer__links a::before {
  content: "›";
  color: var(--c-yellow);
  font-size: 1.05rem;
  line-height: 1;
}

.footer__links a:hover {
  color: var(--c-yellow);
  padding-left: 5px;
}

.footer .info-list {
  gap: 12px;
}

.footer .info-list svg {
  color: var(--c-yellow);
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
}

.socials svg {
  width: 16px;
  height: 16px;
}

.socials a:hover {
  background: var(--c-yellow);
  color: var(--c-ink);
  border-color: var(--c-yellow);
  transform: translateY(-3px);
}

.footer__qr {
  width: 132px;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
}

.footer__bar {
  background: var(--c-yellow);
  color: #2a2205;
  font-size: .8rem;
  font-weight: 600;
}

.footer__bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 11px;
}

.footer__bar nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer__bar nav a {
  transition: opacity var(--t);
}

.footer__bar nav a:hover {
  opacity: .65;
  text-decoration: underline;
}

.footer__bar nav span {
  opacity: .5;
}

/* --------------------------------------------------------------------------
   18. Reveal-on-scroll
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   19. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) {
  .brand img {
    width: 186px;
  }

  .nav__link {
    padding: 10px 7px;
    font-size: .79rem;
  }

  .header__cta .btn {
    padding: 11px 15px;
    font-size: .76rem;
  }

  .header__cta .btn svg {
    display: none;
  }

  .quote-band__agent {
    display: none;
  }
}

@media (max-width: 1080px) {
  .why__grid {
    grid-template-columns: 1fr 1fr;
  }

  .why__media {
    grid-column: 1 / -1;
    order: 3;
    max-width: 620px;
    margin-inline: auto;
  }

  .grid--5 {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (max-width: 992px) {
  :root {
    --header-h: 72px;
  }

  .nav-toggle {
    display: grid;
  }

  .header__cta {
    display: none;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(330px, 86vw);
    background: #fff;
    z-index: 195;
    padding: 22px 18px 40px;
    overflow-y: auto;
    transform: translateX(102%);
    /* visibility keeps the closed drawer out of the tab order */
    visibility: hidden;
    transition: transform var(--t), visibility var(--t);
    box-shadow: -10px 0 40px rgba(16, 24, 40, .16);
  }

  body.nav-open .nav {
    transform: translateX(0);
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav__link {
    padding: 13px 12px;
    justify-content: space-between;
    border-bottom: 1px solid var(--c-line);
  }

  .nav__link::after {
    display: none;
  }

  .nav__item.is-active>.nav__link {
    background: var(--c-yellow-soft);
  }

  .nav__sub {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-bottom: 1px solid var(--c-line);
    border-radius: 0;
    padding: 4px 0 8px 10px;
    display: none;
  }

  .nav__item--has-sub.is-open>.nav__sub {
    display: block;
  }

  .nav__item--has-sub:hover>.nav__sub {
    display: none;
  }

  .nav__item--has-sub.is-open:hover>.nav__sub {
    display: block;
  }

  .nav__mobile-cta {
    margin-top: 18px;
    display: grid !important;
    gap: 10px;
  }

  .hero__media {
    width: 74%;
    opacity: .34;
    right: -8%;
  }

  .hero__inner {
    min-height: 460px;
    max-width: none;
  }

  .hero__lead {
    max-width: none;
  }

  .stats__list {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat:nth-child(3n+1) {
    border-left: 0;
  }

  .stat:nth-child(n+4) {
    border-top: 1px solid rgba(255, 255, 255, .09);
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-grid.grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .split-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .media-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .media-split--rev .media-split__media {
    order: 0;
  }

  .quote-band__grid {
    grid-template-columns: 1fr;
  }

  .quote-band__agent {
    display: none;
  }

  .form__row,
  .form__row--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .rail a {
    width: 62px;
    font-size: .6rem;
    padding: 10px 6px;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 18px;
  }

  .topbar__inner {
    justify-content: center;
    text-align: center;
  }

  .topbar ul {
    gap: 14px;
    justify-content: center;
  }

  .topbar__inner>ul:last-child {
    display: none;
  }

  .why__grid {
    grid-template-columns: 1fr;
  }

  .why__media {
    order: 0;
  }

  .grid--3,
  .grid--4,
  .grid--5 {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-grid.grid--4 {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .09);
    padding: 18px 12px;
  }

  .stat:nth-child(-n+2) {
    border-top: 0;
  }

  .stat svg {
    width: 28px;
    height: 28px;
  }

  .stat__num {
    font-size: 1.3rem;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .footer__bar .wrap {
    justify-content: center;
    text-align: center;
  }

  /* larger tap targets on touch devices */
  .footer__links {
    gap: 2px;
  }

  .footer__links a {
    padding-block: 6px;
  }

  .footer .info-list li {
    padding-block: 4px;
  }

  .footer .info-list a {
    display: inline-block;
    padding-block: 5px;
  }

  .footer__bar nav a {
    display: inline-block;
    padding: 6px 4px;
  }

  .crumbs a {
    display: inline-block;
    padding: 4px 2px;
  }

  .rail {
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    transform: none;
    grid-auto-flow: column;
    border-radius: 0;
  }

  .rail a {
    width: auto;
    border-bottom: 0;
    border-left: 1px solid rgba(0, 0, 0, .14);
    padding: 9px 4px;
  }

  .rail a:first-child {
    border-left: 0;
  }

  .to-top {
    bottom: 78px;
    right: 16px;
  }

  body {
    padding-bottom: 62px;
  }
}

@media (max-width: 520px) {

  .grid--3,
  .grid--4,
  .grid--5 {
    grid-template-columns: 1fr;
  }

  .logo-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .form__row,
  .form__row--2,
  .form__row--3,
  .form__row--submit {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .btn-row {
    flex-direction: column;
  }

  .hero__badges {
    gap: 18px;
  }

  .hero__badge {
    width: calc(50% - 9px);
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   20. Motion & print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {

  .topbar,
  .rail,
  .to-top,
  .nav,
  .nav-toggle,
  .header__cta,
  .to-top {
    display: none !important;
  }

  .header {
    position: static;
    box-shadow: none;
  }

  body {
    color: #000;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: .8em;
  }
}