/*
Theme Name: Vectornex
Version: 1.1
Author: https://helloknox.co.uk/
Author URI: https://helloknox.co.uk/
Description: Theme for Vectornex
*/

:root {
  --white: #ffffff;

  --color-accent: #25d5fd;
  --color-bg: #0b0129;
  --color-surface: rgba(255,255,255,0.05);
  --color-surface-border: rgba(255, 255, 255, 0.08);
  --color-text: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.55);
  --color-process-bg: #231b3d;

}

@font-face {
    font-family: 'JetBrainsMono';
    src: url('/wp-content/themes/vectornex/assets/fonts/JetBrainsMono-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@media (max-width: 991px) {
  .hide-mobile {
    display: none !important;
  }
}



/* ============================================================
   GLOBAL — Container & Reset basics
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.section-label {
  font-size: clamp(0.9rem, 1.1vw, 1.3rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-family: 'JetBrainsMono', monospace;
}

.text-center {
  text-align: center;
}


/* ── Eyebrow label ─────────────────────────────────────────── */

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--white);
}

/* ── Video background ──────────────────────────────────────── */
.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Dark overlay on top of video */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 40, 0.55) 0%,
    rgba(0, 0, 40, 0.55) 50%,
    rgba(7, 7, 40, 0.72) 100%
  );
}

/* ── Sticky nav ────────────────────────────────────────────── */
.hero__nav {
  position: fixed;
  top: 30px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-block: clamp(0.6rem, 1.5vw, 1rem);
  display: flex;
  justify-content: center;
}

.hero__nav .container {
  display: flex;
  justify-content: center;
}

.hero__nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(0.25rem, 2vw, 0.5rem);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 0.45rem 1rem;
}

.hero__nav-link {
  display: flex;
  align-items: center;
  gap: 0.35em;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: clamp(0.65rem, 1.2vw, 0.78rem);
  font-family: inherit; /* swap to your chosen font */
  letter-spacing: 0em;
  text-transform: uppercase;
  padding: 0.4em 0.75em;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

@media (min-width: 480px) {
  .hero__nav-link {
    letter-spacing: 0.08em;
    gap: 0.45em;
  }
}

.hero__nav-link i {
  font-size: 0.85em;
  opacity: 0.8;
}

.hero__nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

/* ── Scrollable content row (logo + top-right) ─────────────── */
.hero__content {
  position: relative;
  z-index: 1;
  flex: 1; /* push bottom block down */
  padding-block: clamp(1.25rem, 3vw, 2rem);
}

.hero__content-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding-inline: clamp(1rem, 3vw, 2rem);
}

/* Logo */
.hero__logo img {
  height: clamp(60px, 6vw, 140px);
  width: auto;
  display: block;
}

.hero__logo-icon {
  font-size: 1.2em;
  color: rgba(100, 180, 255, 0.9);
}

/* Top-right text */
.hero__top-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15em;
  font-size: clamp(0.6rem, 1vw, 0.7rem);
  letter-spacing: 0em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  font-family: inherit;
  text-align: right;
  white-space: nowrap;
  margin-top: 70px;
}

@media (min-width: 768px) {
  .hero__top-right {
    letter-spacing: 0.08em;
  }
}

.hero__logo {
  margin-top: 50px;
}

@media (min-width: 991px) {
  .hero__top-right {
    margin-top: 0px;
  }

  .hero__logo {
    margin-top: 0px;
  }
}

/* ── Bottom text block ─────────────────────────────────────── */
.hero__bottom {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(1.5rem, 4vw, 3rem);
}

.hero__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 2vw, 1.25rem);
}

.hero__headline {
  display: flex;
  flex-direction: column;
}

.hero__headline-line {
  display: block;
  opacity: 0;
  transform: translateY(24px);
  animation: heroLineIn 0.6s ease forwards;
}

.hero__headline-line--1 { animation-delay: 0.5s; }
.hero__headline-line--2 { animation-delay: 1.5s; }
.hero__headline-line--3 { animation-delay: 2.5s; }

@keyframes heroLineIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Main headline */
.hero__headline {
  font-family: 'JetBrainsMono', monospace;
  font-size: clamp(2.6rem, 4vw, 5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--white);
  text-transform: none;
  max-width: 100%;
  text-align: center;
}

/* Subtitle */
.hero__subtitle {
  font-family: 'JetBrainsMono', monospace;
  font-size: clamp(0.8rem, 1.1vw, 1rem);
  letter-spacing: 0.4em;
  line-height: 1.6;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  margin: 0 auto;
}

@media (min-width: 991px) {
  .hero__subtitle {
    width: 70%;
  }
}

/* ============================================================
   RESPONSIVE — mobile-first, scaling up
   ============================================================ */

/* Tablet and up */
@media (min-width: 600px) {
  .hero__nav-link span {
    display: inline; /* always visible, but ensures it shows */
  }
}

/* Desktop nav — slightly more padding */
@media (min-width: 1024px) {
  .hero__nav-list {
    padding: 0.5rem 1.5rem;
    gap: 0.5rem;
  }

  .hero__nav-link {
    padding: 0.45em 1em;
  }
}


/* ── Mobile adjustments ────────────────────────────────────── */
@media (max-width: 480px) {

  .hero__nav-link {
    padding: 0.5em;
  }

  .hero__nav-link i {
    font-size: 1em;
    opacity: 1;
  }
}




/* ── ABOUT ───────────────────────────────────────── *
/* ── ABOUT ───────────────────────────────────────── *

/* ── Section wrapper ───────────────────────────────────────── */
.about {
  background-color: var(--color-bg);
  color: var(--color-text);
  padding-block: clamp(2rem, 7vw, 5rem);
}

.about__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2rem);
}

/* ── Accent colour — shared utility ───────────────────────── */
.accent {
  color: var(--color-accent);
}

/* ── Main headline ─────────────────────────────────────────── */
.about__headline {
  font-family: inherit;
  font-size: clamp(1.75rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  color: var(--color-text);
}

.about__video-wrap {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-surface-border);
  margin: 25px 0;
}

.about__video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

.about__video-player {
  position: relative;
  width: 100%;
}

.about__video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.about__video-play:hover {
  background: rgba(0, 0, 0, 0.65);
  transform: scale(1.08);
}

/* Hide button once video is playing */
.about__video-play.is-hidden {
  display: none;
}

/* ── Intro paragraph ───────────────────────────────────────── */
.about__intro {
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  line-height: 1.75;
  text-align: center;
  color: var(--color-text-muted);
  max-width: 95ch;
}


/* ── Pods grid ─────────────────────────────────────────────── */
.about__pods {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  width: 100%;
  margin-top: clamp(0.5rem, 2vw, 1rem);
}

/* Each pod — mobile: full width, tablet+: 2 col */
.about__pod {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: 12px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: border-color 0.25s ease;
}

.about__pod:hover {
  border-color: rgba(58, 159, 216, 0.35);
}

/* ── Pod icon ──────────────────────────────────────────────── */
.about__pod-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(58, 159, 216, 0.12);
  border: 1px solid rgba(58, 159, 216, 0.25);
  flex-shrink: 0;
}

.about__pod-icon-wrap i {
  font-size: 1.2rem;
  color: var(--color-accent);
}

/* ── Pod title ─────────────────────────────────────────────── */
.about__pod-title {
  font-family: inherit;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}

/* ── Pod body text ─────────────────────────────────────────── */
.about__pod-text {
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  line-height: 1.7;
  color: var(--color-text-muted);
  flex: 1;
}

/* ── Stats bar ─────────────────────────────────────────────── */
.about__stats-bar {
  margin-top: clamp(1rem, 3vw, 2rem);
  width: 100%;
  display: flex;
  justify-content: center;
}

.about__stats-text {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-size: clamp(0.8rem, 1.3vw, 0.95rem);
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: 999px;
  padding: 0.75em 2em;
  text-align: center;
  line-height: 1.8;
}

.about__stats-text .accent {
  font-weight: 700;
}

/* ============================================================
   ABOUT RESPONSIVE
   ============================================================ */

/* Tablet — 2 column pods */
@media (min-width: 640px) {
  .about__pod {
    flex: 1 1 calc(50% - 0.625rem);
    max-width: calc(50% - 0.625rem);
  }
}

/* Desktop — maintain 2 col but with more breathing room */
@media (min-width: 1024px) {
  .about__pods {
    gap: 1.5rem;
  }

  .about__pod {
    flex: 1 1 calc(50% - 0.75rem);
    max-width: calc(50% - 0.75rem);
  }
}




/* ── Section wrapper ───────────────────────────────────────── */
.solutions {
  background-color: var(--color-bg);
  color: var(--color-text);
  padding-block: clamp(2rem, 7vw, 5rem);
}

.solutions .container {
  display: flex;
  flex-direction: column;
  gap: clamp(5rem, 10vw, 8rem);
}

/* ── Each solution row ─────────────────────────────────────── */
.solutions__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

/* Reverse every even row on tablet and up */
@media (min-width: 991px) {
  .solutions__row {
    flex-direction: row;
    align-items: center;
  }

  .solutions__row:nth-child(even) {
    flex-direction: row-reverse;
  }
}

/* ── Image side ────────────────────────────────────────────── */
.solutions__image-wrap {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(240px, 35vw, 480px);
}

.solutions__image {
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  display: block;
}

.solutions__image-placeholder {
  width: 100%;
  min-height: clamp(240px, 35vw, 480px);
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 3rem;
}

/* ── Content side ──────────────────────────────────────────── */
.solutions__content {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 2vw, 1.1rem);
}

/* Counter e.g. 01 / 04 */
.solutions__counter {
  color: var(--color-text-muted);
}

/* Main title */
.solutions__title {
  font-family: inherit;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-text);
}

/* Subtitle tag e.g. "AUDIENCE ONLY" */
.solutions__subtitle {
  color: var(--color-accent);
}

/* Body paragraph */
.solutions__body p {
  font-size: clamp(0.875rem, 1.3vw, 1rem);
  line-height: 1.75;
  color: var(--color-text-muted);
}

/* List label e.g. "WHAT YOU GET" */
.solutions__list-label {
  margin-top: clamp(0.25rem, 1vw, 0.5rem);
}

/* Wysiwyg list output */
.solutions__list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.solutions__list ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.65em;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Checkmark icon before each list item */
.solutions__list ul li::before {
  content: '\f00c'; /* FA check */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.75em;
  color: var(--color-accent);
  margin-top: 0.2em;
  flex-shrink: 0;
}

/* ── CTA Button ────────────────────────────────────────────── */
.solutions__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-top: clamp(0.5rem, 2vw, 1rem);
  padding: 0.75em 1.6em;
  font-size: clamp(0.8rem, 1.2vw, 0.9rem);
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-accent);
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  align-self: flex-start;
}

.solutions__cta i {
  font-size: 0.85em;
  transition: transform 0.2s ease;
}

.solutions__cta:hover {
  background: var(--color-accent);
  color: #ffffff;
}

.solutions__cta:hover i {
  transform: translateX(3px);
}




/* ============================================================
   OUR WORK — Scroll-driven sliding gallery
   ============================================================ */

.work {
  background-color: var(--color-bg);
  color: var(--color-text);
  padding-block: clamp(2rem, 7vw, 5rem);
  overflow: hidden; /* clip tracks that extend beyond viewport */
}

/* ── Header ────────────────────────────────────────────────── */
.work__header {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.work__title {
  font-family: inherit;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-text);
}

/* ── Track wrapper — full bleed ────────────────────────────── */
.work__track-wrap {
  width: 100%;
  overflow: hidden;
  margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
}

.work__track-wrap:last-child {
  margin-bottom: 0;
}

/* ── Track — the scrolling strip ───────────────────────────── */
.work__track {
  display: flex;
  flex-direction: row;
  gap: clamp(0.5rem, 1vw, 0.85rem);
  will-change: transform;
  /* Start positions set by JS, but define a base */
  transform: translateX(0);
  transition: transform 0.05s linear;
}

/* ── Individual card ───────────────────────────────────────── */
.work__card {
  position: relative;
  flex-shrink: 0;
  /* Mobile: ~half viewport width so 2+ cards visible */
  width: clamp(180px, 44vw, 320px);
  height: clamp(140px, 22vw, 300px);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

@media (min-width: 768px) {
  .work__card {
    width: clamp(260px, 22vw, 380px);
    height: clamp(200px, 18vw, 300px);
  }
}

/* ── Card image ─────────────────────────────────────────────── */
.work__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1);
  transition: transform 0.5s ease;
}

.work__card:hover .work__card-img {
  transform: scale(1.06);
}

/* ── Card placeholder (no image) ───────────────────────────── */
.work__card-placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
}

/* ── Caption overlay ────────────────────────────────────────── */
.work__card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(0.75rem, 2vw, 1.25rem) clamp(0.75rem, 2vw, 1rem);
  font-size: clamp(0.75rem, 1.2vw, 0.95rem);
  font-family: inherit;
  font-weight: 600;
  color: var(--color-text);
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  line-height: 1.3;
}


/* How we work */


/* ── Section wrapper ───────────────────────────────────────── */
.process {
  background-color: var(--color-process-bg);
  color: #0d0d0d;
  padding-block: clamp(2rem, 7vw, 5rem);
}

/* Override section-label colour for light background */
.process .section-label {
  color: var(--color-accent);
}

/* ── Inner container ───────────────────────────────────────── */
.process__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 6vw, 4rem);
}

/* ── Header ────────────────────────────────────────────────── */
.process__header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.process__title {
  font-family: inherit;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
}

/* ── Two column layout ─────────────────────────────────────── */
.process__columns {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: stretch;
}

@media (min-width: 991px) {
  .process__columns {
    flex-direction: row;
    align-items: center;
    gap: clamp(2rem, 4vw, 3.5rem);
  }
}

/* ── Left — image column ───────────────────────────────────── */
.process__image-col {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process__image-wrap {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.15);
  min-height: 220px;
}

.process__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  transition: opacity 0.3s ease;
}

/* Hide the img tag when no src is set */
.process__image[src=""] {
  display: none;
}

.process__image-placeholder {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 14px;
}

/* Hide placeholder once image loads */
.process__image-wrap.has-image .process__image-placeholder {
  display: none;
}

/* Text overlay at the bottom of the image */
.process__image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: opacity 0.3s ease;
}

/* ── Active step highlight ─────────────────────────────────── */
.process__step.is-active {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.9);
}

.process__image-text {
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  font-weight: 700;
  line-height: 1.5;
  color: #ffffff;
}

.process__image-label {
  font-size: clamp(0.65rem, 1vw, 0.75rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  font-family: inherit;
}

/* ── Right — steps column ──────────────────────────────────── */
.process__steps-col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 2vw, 1rem);
}

/* ── Individual step box ───────────────────────────────────── */
.process__step {
  display: flex;
  flex-direction: column;
  align-items: left;
  gap: clamp(1rem, 3vw, 1.75rem);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

@media (min-width: 991px) {
  .process__step {
    flex-direction: row;
    align-items: center;
  }
}

/* ── Step name + number ────────────────────────────────────── */
.process__step-name-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex-shrink: 0;
  min-width: clamp(70px, 12vw, 110px);
}

.process__step-name {
  font-family: 'JetBrainsMono', monospace;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: #0d0d0d;
  line-height: 1.2;
}

.process__step-number {
  font-size: clamp(0.65rem, 1vw, 0.75rem);
  color: rgba(0, 0, 0, 0.4);
  letter-spacing: 0.05em;
  font-family: inherit;
}

/* ── Step content (centre) ─────────────────────────────────── */
.process__step-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.process__step-label {
  display: flex;
  align-items: center;
  gap: 0.4em;
  font-size: clamp(0.9rem, 1vw, 1rem);
  font-weight: 700;
  color: #0d0d0d;
  letter-spacing: 0.02em;
}

.process__step-label i {
  color: var(--color-accent);
  font-size: 0.85em;
}

.process__step-body {
  font-size: clamp(0.8rem, 1.1vw, 0.9rem);
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.85);
}

/* ── Time indicator (right) ────────────────────────────────── */
.process__step-time {
  display: flex;
  flex-direction: row;
  align-items: start;
  gap: 0.3rem;
  flex-shrink: 0;
  font-size: clamp(0.65rem, 1vw, 0.75rem);
  color: rgba(0, 0, 0, 0.45);
  text-align: center;
  font-family: 'JetBrainsMono', monospace;
  white-space: nowrap;
}

@media (min-width: 991px) {
  .process__step-time {
      flex-direction: column;
      align-items: center;
  }
}

.process__step-time i {
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.35);
}

.process__total {
  font-size: clamp(0.65rem, 1vw, 0.75rem);
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  font-family: 'JetBrainsMono', monospace;
}




.faq {
  background-color: var(--color-bg);
  color: var(--color-text);
  padding-block: clamp(4rem, 10vw, 8rem);
}

/* ── Inner — centred column, same as about ─────────────────── */
.faq__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2rem);
}

/* ── Eyebrow ───────────────────────────────────────────────── */
.faq__label {
  text-align: center;
}

/* ── Title ─────────────────────────────────────────────────── */
.faq__title {
  font-family: inherit;
  font-size: clamp(1.75rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  color: var(--color-text);
}

/* ── Intro ─────────────────────────────────────────────────── */
.faq__intro {
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  line-height: 1.75;
  text-align: center;
  color: var(--color-text-muted);
  max-width: 65ch;
}

/* ── FAQ list ──────────────────────────────────────────────── */
.faq__list {
  width: 100%;
  max-width: 860px;
  margin-inline: auto;
  align-self: center; /* add this */
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 2vw, 1rem);
  margin-top: clamp(0.5rem, 2vw, 1rem);
}


.faq__item {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: 12px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: border-color 0.25s ease;
}

.faq__item:hover {
  border-color: rgba(58, 159, 216, 0.35);
}

/* ── Question button ───────────────────────────────────────── */
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  color: var(--color-text);
  font-family: inherit;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 700;
  line-height: 1.4;
}

/* ── Chevron icon ──────────────────────────────────────────── */
.faq__icon {
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--color-accent);
  transition: transform 0.3s ease;
}

/* Rotate chevron when open */
.faq__item.is-open .faq__icon {
  transform: rotate(180deg);
}

/* Highlight border on open */
.faq__item.is-open {
  border-color: rgba(58, 159, 216, 0.35);
}

/* ── Answer panel ──────────────────────────────────────────── */
.faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease;
}

/* Remove hidden attr via JS — height driven by transition */
.faq__answer:not([hidden]) {
  max-height: 600px; /* large enough for any answer */
}

.faq__answer-inner {
  padding-top: clamp(0.75rem, 2vw, 1rem);
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  line-height: 1.75;
  color: var(--color-text-muted);
}

/* Wysiwyg output inside answer */
.faq__answer-inner p {
  margin-bottom: 0.75em;
}

.faq__answer-inner p:last-child {
  margin-bottom: 0;
}




/* Contact */

/* ── Section wrapper ───────────────────────────────────────── */
.contact {
  background-color: var(--color-bg);
  color: var(--color-text);
  padding-block: clamp(2rem, 7vw, 5rem);
  background-image: url('/wp-content/themes/vectornex/assets/images/bg-contact.jpg');
  background-size: cover;
}

/* ── Inner — flex column, centred ─────────────────────────── */
.contact__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

/* ── Eyebrow label ─────────────────────────────────────────── */
.contact__label {
  color: var(--color-accent);
}

/* ── Title ─────────────────────────────────────────────────── */
.contact__title {
  font-family: inherit;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-text);
}

/* ── Intro paragraph ───────────────────────────────────────── */
.contact__intro {
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 60ch;
}

/* ── Form card ─────────────────────────────────────────────── */
.contact__form-card {
  width: 100%;
  max-width: 860px;
  margin-top: clamp(1rem, 3vw, 2rem);
  background: var(--color-surface);
  border: 1px solid var(--color-surface-border);
  border-radius: 16px;
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: left;
}

/* ============================================================
   CONTACT SECTION — WPForms styling
   Targets actual WPForms output classes from form ID 106
   ============================================================ */

/* ── Remove default WPForms wrapper padding/margin ─────────── */
.contact__form-body .wpforms-container {
  padding: 0 !important;
  margin: 0 !important;
}

.contact__form-body .wpforms-form {
  padding: 0 !important;
}

/* ── Field container — stack fields with gap ───────────────── */
.contact__form-body .wpforms-field-container {
  display: flex !important;
  flex-direction: column !important;
  gap: clamp(1.25rem, 3vw, 1.75rem) !important;
}

/* ── Individual field wrapper ──────────────────────────────── */
.contact__form-body .wpforms-field {
  margin: 0 !important;
  padding: 0 !important;
}

/* ── Labels ────────────────────────────────────────────────── */
.contact__form-body .wpforms-field-label {
  display: block !important;
  font-size: clamp(0.8rem, 1.2vw, 0.9rem) !important;
  font-weight: 600 !important;
  color: var(--color-text) !important;
  font-family: inherit !important;
  margin-bottom: 0.5rem !important;
}

/* Hide the required asterisk */
.contact__form-body .wpforms-required-label {
  color: var(--color-accent) !important;
  margin-left: 0.2em;
}

/* ── All text/email/number inputs ──────────────────────────── */
.contact__form-body .wpforms-field input[type="text"],
.contact__form-body .wpforms-field input[type="email"],
.contact__form-body .wpforms-field input[type="number"],
.contact__form-body .wpforms-field input[type="tel"] {
  width: 100% !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
  padding: 0.85em 1em !important;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem) !important;
  font-family: inherit !important;
  color: var(--color-text) !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, background 0.2s ease !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

/* ── Textarea ───────────────────────────────────────────────── */
.contact__form-body .wpforms-field textarea {
  width: 100% !important;
  min-height: 160px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
  padding: 0.85em 1em !important;
  font-size: clamp(0.85rem, 1.2vw, 0.95rem) !important;
  font-family: inherit !important;
  color: var(--color-text) !important;
  outline: none !important;
  box-shadow: none !important;
  resize: vertical !important;
  transition: border-color 0.2s ease, background 0.2s ease !important;
}

/* ── Placeholder text ──────────────────────────────────────── */
.contact__form-body .wpforms-field input::placeholder,
.contact__form-body .wpforms-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.25) !important;
}

/* ── Focus state ───────────────────────────────────────────── */
.contact__form-body .wpforms-field input:focus,
.contact__form-body .wpforms-field textarea:focus {
  border-color: var(--color-accent) !important;
  background: rgba(58, 159, 216, 0.06) !important;
}

/* ── WPForms field size overrides (medium/small classes) ───── */
.contact__form-body .wpforms-field-medium,
.contact__form-body .wpforms-field-small,
.contact__form-body .wpforms-field-large {
  width: 100% !important;
}

/* ── Submit container ──────────────────────────────────────── */
.contact__form-body .wpforms-submit-container {
  margin-top: clamp(1rem, 3vw, 1.75rem) !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
}

/* ── Submit button ─────────────────────────────────────────── */
.contact__form-body .wpforms-submit {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.6em !important;
  background: var(--color-accent) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 0.85em 2em !important;
  font-size: clamp(0.85rem, 1.2vw, 1rem) !important;
  font-family: inherit !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
  cursor: pointer !important;
  transition: background 0.2s ease, transform 0.15s ease !important;
  box-shadow: none !important;
}

.contact__form-body .wpforms-submit:hover {
  background: #2e8bbf !important;
  transform: translateY(-1px) !important;
}

/* ── Spinner ───────────────────────────────────────────────── */
.contact__form-body .wpforms-submit-spinner {
  filter: brightness(0) invert(1);
}

/* ── Validation errors ─────────────────────────────────────── */
.contact__form-body label.wpforms-error {
  display: block !important;
  color: #e05c5c !important;
  font-size: 0.8rem !important;
  margin-top: 0.35rem !important;
  font-family: inherit !important;
}

.contact__form-body .wpforms-field input.wpforms-error,
.contact__form-body .wpforms-field textarea.wpforms-error {
  border-color: #e05c5c !important;
}

/* ── Success / confirmation message ────────────────────────── */
.contact__form-body .wpforms-confirmation-container-full {
  background: rgba(58, 159, 216, 0.1) !important;
  border: 1px solid var(--color-accent) !important;
  border-radius: 8px !important;
  padding: 1.5rem !important;
  color: var(--color-text) !important;
  font-family: inherit !important;
  font-size: clamp(0.9rem, 1.3vw, 1rem) !important;
}



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

.footer {
  background-color: var(--color-bg);
  color: var(--color-text);
  border-top: 1px solid var(--color-surface-border);
  padding-block: clamp(3rem, 8vw, 5rem);
}

/* ── Inner — two columns ───────────────────────────────────── */
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 6vw, 4rem);
}

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

/* ── Left column ───────────────────────────────────────────── */
.footer__left {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 380px;
}

/* Logo */
.footer__logo img {
  height: clamp(60px, 4vw, 100px);
  width: auto;
  display: block;
}

.footer__logo-placeholder {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 600;
  font-family: inherit;
  color: var(--color-text);
}

.footer__logo-icon {
  font-size: 1.3em;
  color: var(--color-accent);
}

/* Description */
.footer__description {
  font-size: clamp(0.8rem, 1.2vw, 0.9rem);
  line-height: 1.75;
  color: var(--color-text-muted);
}

/* Social icons */
.footer__socials {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-surface-border);
  color: var(--color-text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.footer__social-link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.footer .link {
  color: var(--color-accent);
}

/* ── Right column ──────────────────────────────────────────── */
.footer__right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer__contact-heading {
  font-size: clamp(0.7rem, 1vw, 0.8rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-text);
  font-family: inherit;
}

/* Contact list */
.footer__contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.footer__contact-item > i {
  font-size: 1rem;
  color: var(--color-accent);
  margin-top: 0.15em;
  flex-shrink: 0;
}

.footer__contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer__contact-label {
  font-size: clamp(0.7rem, 1vw, 0.8rem);
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  font-family: inherit;
}

.footer__contact-value {
  font-size: clamp(0.85rem, 1.2vw, 0.95rem);
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  font-family: inherit;
  transition: color 0.2s ease;
}

a.footer__contact-value:hover {
  color: var(--color-accent);
}

