/* VOTNET — votnet.com
   Palette recovered from the original Wix theme. */

:root {
  --ink:        #1a2a2e;
  --ink-soft:   #46595e;
  --deep:       #234951;
  --deep-2:     #344245;
  --accent:     #4793a3;
  --accent-dk:  #35707d;
  --mist:       #aabcbf;
  --mist-light: #e3e9ea;
  --paper:      #ffffff;
  --paper-2:    #f4f7f8;
  --line:       rgba(35, 73, 81, .14);
  --shadow:     0 1px 2px rgba(26, 42, 46, .06), 0 8px 24px rgba(26, 42, 46, .07);
  --shadow-lg:  0 2px 4px rgba(26, 42, 46, .06), 0 18px 48px rgba(26, 42, 46, .12);
  --radius:     14px;
  --max:        1140px;
  --nav-h:      72px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  font-family: Raleway, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-dk); }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--deep);
  color: #fff;
  padding: 12px 20px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

:where(a, button, input, textarea, summary):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header[data-stuck="true"] {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 12px rgba(26, 42, 46, .06);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--deep);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: .16em;
}
.brand svg { width: 28px; height: 28px; flex: none; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 9px 14px;
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  border-radius: 8px;
  transition: color .2s ease, background-color .2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav a:hover { color: var(--deep); }
.nav a:hover::after,
.nav a[aria-current="true"]::after { transform: scaleX(1); }
.nav a[aria-current="true"] { color: var(--deep); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--deep);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  background: var(--deep);
  transition: transform .22s ease, opacity .22s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top:  6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 8px 16px 16px;
    display: none;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: 14px 8px; }
  .nav a::after { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: stretch;
  min-height: min(84vh, 760px);
  background: var(--paper);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 88px clamp(24px, 6vw, 96px) 88px;
  margin-left: auto;
  width: 100%;
  max-width: calc(var(--max) / 2 + 24px);
}
.eyebrow {
  margin: 0 0 18px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero h1 {
  margin: 0;
  font-size: clamp(3.1rem, 8vw, 5.4rem);
  font-weight: 300;
  line-height: .98;
  letter-spacing: .13em;
  color: var(--deep);
}
.hero .lede {
  margin: 28px 0 0;
  font-size: clamp(1.1rem, 2.1vw, 1.42rem);
  font-weight: 300;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 24ch;
}
.hero .rule {
  width: 72px;
  height: 3px;
  background: var(--accent);
  margin: 28px 0 0;
  border: 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-media {
  position: relative;
  min-height: 340px;
  background: var(--mist-light);
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% 24%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.35) 26%, rgba(35,73,81,.12) 100%);
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { max-width: none; padding: 64px 24px 56px; order: 2; }
  .hero-media { order: 1; min-height: 46vh; }
  .hero-media::after {
    background: linear-gradient(180deg, rgba(255,255,255,.18) 0%, rgba(35,73,81,.28) 100%);
  }
  .hero .lede { max-width: none; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: .86rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .22s ease, background-color .22s ease, color .22s ease, border-color .22s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--deep);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--accent-dk); box-shadow: var(--shadow-lg); }
.btn-ghost {
  background: transparent;
  color: var(--deep);
  border-color: var(--mist);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-dk); background: rgba(71,147,163,.06); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Sections ---------- */

.section { padding: clamp(68px, 9vw, 112px) 0; }
.section-alt { background: var(--paper-2); }

.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: .02em;
  color: var(--deep);
}
.section-head p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  font-weight: 300;
}

/* ---------- Services ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .26s ease, box-shadow .26s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist-light); }
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.card:hover .card-media img { transform: scale(1.055); }
.card-body { padding: 26px 26px 30px; flex: 1 1 auto; }
.card h3 {
  margin: 0 0 10px;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--deep);
  line-height: 1.4;
}
.card p { margin: 0; color: var(--ink-soft); font-weight: 300; }

/* ---------- Contact ---------- */

.contact-block {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}
.contact-block h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--deep);
}
.contact-lede {
  margin: 16px 0 0;
  font-size: 1.08rem;
  font-weight: 300;
  color: var(--ink-soft);
}
.contact-cta { margin: 34px 0 0; }
.contact-cta .btn { text-transform: none; letter-spacing: .04em; font-size: 1rem; }

.contact-address {
  margin: 38px 0 0;
  font-style: normal;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-soft);
  font-size: .96rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--deep-2);
  color: rgba(255,255,255,.72);
  padding: 44px 0;
  font-size: .9rem;
  font-weight: 300;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.site-footer a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.site-footer a:hover { border-bottom-color: var(--accent); }

/* ---------- Reveal on scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}
