/* ==========================================================================
   VCA — Global Styles
   Loaded on every page. Shared layer behind the page-level Tailwind classes.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Base
   -------------------------------------------------------------------------- */
* {
  font-family:
    "Helvetica Neue LT Std", "Helvetica Neue", HelveticaNeue, Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: #c8c9c5;
  color: #171717;
}

/* Skip-to-content link — visible only on keyboard focus */
.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 400;
  padding: 10px 16px;
  background: #171717;
  color: #c8c9c5;
  font-size: 13px;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 12px;
}

/* Visible focus indicator for form controls (WCAG 2.4.7) */
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #5391ce;
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   2. Layout
   -------------------------------------------------------------------------- */
.grid-swiss {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

/* --------------------------------------------------------------------------
   3. Brand logos (responsive heights)
   -------------------------------------------------------------------------- */
.nav-logo {
  display: block;
  width: auto;
  height: 7px;
}
@media (min-width: 640px) {
  .nav-logo {
    height: 11px;
  }
}
@media (min-width: 1280px) {
  .nav-logo {
    height: 15px;
  }
}

.footer-stacked-logo {
  display: block;
  width: auto;
  height: 56px;
}
@media (min-width: 640px) {
  .footer-stacked-logo {
    height: 64px;
  }
}
@media (min-width: 1280px) {
  .footer-stacked-logo {
    height: 72px;
  }
}

/* --------------------------------------------------------------------------
   4. Navigation
   -------------------------------------------------------------------------- */
.nav-link {
  opacity: 0.7;
  transition:
    color 0.2s,
    opacity 0.2s;
}
.nav-link:hover {
  opacity: 1;
  color: #5391ce;
}
.nav-link-active {
  opacity: 1;
  color: #5391ce !important;
}

.vca-breadcrumb {
  padding: 20px 0;
  border-bottom: 1px solid rgba(23, 23, 23, 0.5);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #171717;
  opacity: 0.5;
}
.vca-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}
.vca-breadcrumb a:hover {
  opacity: 1;
}
.vca-breadcrumb .sep {
  margin: 0 8px;
}

/* --------------------------------------------------------------------------
   5. Hero (dark gradient-bar section)
   -------------------------------------------------------------------------- */
.hero-dark {
  background-color: #171717;
}
.hero-dark-sub {
  background-color: #171717;
  min-height: 40vh;
}
.hero-dark-home {
  background-color: #171717;
  min-height: calc(100vh - 75px);
}

.hero-fade-x {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(23, 23, 23, 0.5) 0%,
    transparent 35%,
    rgba(23, 23, 23, 0.85) 100%
  );
}
.hero-fade-y {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(23, 23, 23, 0.5) 0%, transparent 40%);
}
.hero-z {
  position: relative;
  z-index: 2;
}

/* Animated chart bars */
.bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(
    to top,
    rgba(83, 145, 206, 1) 0%,
    rgba(83, 145, 206, 0.85) 35%,
    rgba(83, 145, 206, 0.4) 65%,
    transparent 100%
  );
  opacity: 0;
  transform: scaleY(0);
  transform-origin: bottom;
}
/* Per-bar heights (one value per bar, left to right) */
.bar:nth-child(1) {
  --h: 8%;
}
.bar:nth-child(2) {
  --h: 14%;
}
.bar:nth-child(3) {
  --h: 18%;
}
.bar:nth-child(4) {
  --h: 15%;
}
.bar:nth-child(5) {
  --h: 25%;
}
.bar:nth-child(6) {
  --h: 32%;
}
.bar:nth-child(7) {
  --h: 38%;
}
.bar:nth-child(8) {
  --h: 34%;
}
.bar:nth-child(9) {
  --h: 48%;
}
.bar:nth-child(10) {
  --h: 56%;
}
.bar:nth-child(11) {
  --h: 62%;
}
.bar:nth-child(12) {
  --h: 70%;
}
.bar:nth-child(13) {
  --h: 78%;
}
.bar:nth-child(14) {
  --h: 85%;
}
.bar:nth-child(15) {
  --h: 90%;
}
.bar:nth-child(16) {
  --h: 96%;
}
.bar:nth-child(17) {
  --h: 100%;
}

/* --------------------------------------------------------------------------
   6. Type scale
   -------------------------------------------------------------------------- */
.t-h1 {
  font-size: clamp(36px, 6vw, 80px);
  letter-spacing: -0.025em;
}
.t-h1-xl {
  font-size: clamp(40px, 8.5vw, 120px);
  letter-spacing: -0.025em;
}
.t-h2 {
  font-size: clamp(24px, 3.5vw, 48px);
  letter-spacing: -0.03em;
}
.t-h2-b {
  font-size: clamp(26px, 4vw, 56px);
  letter-spacing: -0.03em;
}
.t-h2-c {
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.03em;
  max-width: 560px;
}
.t-h2-d {
  font-size: clamp(28px, 3.5vw, 48px);
  letter-spacing: -0.03em;
  max-width: 600px;
}
.t-lead-a {
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.02em;
}
.t-lead-b {
  font-size: clamp(17px, 1.6vw, 22px);
  letter-spacing: -0.02em;
}
.t-lead-c {
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.02em;
}
.t-lead-d {
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.02em;
}
.fs-64 {
  font-size: 64px;
}

/* --------------------------------------------------------------------------
   7. Utilities
   -------------------------------------------------------------------------- */
/* Letter-spacing */
.ls-1 {
  letter-spacing: -0.01em;
}
.ls-2 {
  letter-spacing: -0.02em;
}
.ls-25 {
  letter-spacing: -0.025em;
}

/* Opacity */
.op-45 {
  opacity: 0.45;
}
.op-55 {
  opacity: 0.55;
}
.op-65 {
  opacity: 0.65;
}
.op-75 {
  opacity: 0.75;
}
.op-9 {
  opacity: 0.9;
}

/* Color & surface */
.bg-accent {
  background-color: #5391ce;
}
.bg-green {
  background: #4ade80;
}
.text-accent {
  color: #5391ce;
}
.text-ink {
  color: #111;
}
.price-fig {
  letter-spacing: -0.03em;
  color: #111;
}
.border-t-dark {
  border-top: 1px solid #171717;
}
.bd-b-faint {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.bdc-accent {
  border-color: rgba(83, 145, 206, 0.3);
}
.radius-0 {
  border-radius: 0;
}

/* Sizing */
.img-square {
  width: 100%;
  aspect-ratio: 1;
  background: #c8c9c5;
}
.ar-43 {
  aspect-ratio: 4/3;
}
.h-320 {
  height: 320px;
}

/* Form fields */
.field {
  height: 52px;
  border-radius: 0;
}
.field-48 {
  height: 48px;
  border-radius: 0;
}

/* Team avatars — initials fallback with optional headshot overlay */
.team-initials {
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -0.04em;
  color: #171717;
  opacity: 0.25;
}
.team-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.portrait {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
}

/* Service-tier pills */
.pill-standard {
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.35);
}
.pill-custom {
  border: 1px solid rgba(83, 145, 206, 0.4);
  color: #5391ce;
}

/* Image card fades */
.card-fade {
  background: linear-gradient(
    to top,
    rgba(23, 23, 23, 0.88) 0%,
    rgba(23, 23, 23, 0.3) 45%,
    transparent 100%
  );
}
.card-fade-50 {
  background: linear-gradient(
    to top,
    rgba(23, 23, 23, 0.88) 0%,
    rgba(23, 23, 23, 0.3) 50%,
    transparent 100%
  );
}

/* Offers table column widths */
.cw-20 {
  width: 20%;
}
.cw-22 {
  width: 22%;
}
.cw-23 {
  width: 23%;
}
.cw-31 {
  width: 31%;
}
.cw-34 {
  width: 34%;
}

/* --------------------------------------------------------------------------
   8. Components — offers comparison-table marks
   -------------------------------------------------------------------------- */
.tick {
  display: inline-block;
  width: 17px;
  height: 17px;
  vertical-align: middle;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='7.5' stroke='%235391ce' stroke-width='1.4'/%3E%3Cpath d='M5 8l2 2 4-4' stroke='%235391ce' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.dash {
  display: inline-block;
  width: 14px;
  height: 1px;
  vertical-align: middle;
  background: #171717;
  opacity: 0.25;
}
