/* ═══ VYROX V3 — International Engineering Design System ═══ */

:root {
  --vyrox-red: #c0392b;
  --vyrox-red-hover: #a93226;
  --vyrox-mustard: #d4a017;
  --vyrox-mustard-soft: rgb(212 160 23 / 18%);
  --vyrox-white: #ffffff;
  --vyrox-off-white: #f7f8fa;
  --vyrox-grey-light: #eef0f3;
  --vyrox-grey: #6b7280;
  --vyrox-charcoal: #2c2c2c;
  --vyrox-border: rgb(44 44 44 / 8%);
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-display: "Outfit", system-ui, sans-serif;
  --container: min(1140px, calc(100% - 2rem));
  --header-h: 4.5rem;
  --section-y: clamp(4rem, 8vw, 5.5rem);
  --radius: 14px;
  --shadow-sm: 0 4px 20px rgb(44 44 44 / 6%);
  --shadow-md: 0 12px 40px rgb(44 44 44 / 8%);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Home page — tighter vertical rhythm between bands */
.v3-body[data-page="home"] {
  --section-y: clamp(2.75rem, 5vw, 3.75rem);
}

/* Collapse double white-band gap: Solutions → Why */
.v3-body[data-page="home"] #solutions.v3-section {
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
}

.v3-body[data-page="home"] [aria-labelledby="why-title"] {
  padding-top: clamp(1.5rem, 3vw, 2rem);
}

/* Projects → CTA: keep contrast, trim excess */
.v3-body[data-page="home"] [aria-labelledby="projects-title"] {
  padding-bottom: clamp(2.25rem, 4vw, 3rem);
}

.v3-body[data-page="home"] .v3-cta {
  padding-block: clamp(2.25rem, 4vw, 3rem);
}

.v3-body[data-page="home"] .v3-section-title {
  margin-bottom: 1.35rem;
}

.v3-body[data-page="home"] .v3-timeline {
  margin-top: 0.15rem;
}

/* ─── Layout ─── */
.v3-container {
  width: var(--container);
  margin-inline: auto;
}

.v3-section {
  padding-block: var(--section-y);
}

.v3-section--alt {
  background: var(--vyrox-off-white);
}

.v3-section-title {
  text-align: center;
  max-width: none;
  margin: 0 0 2rem;
}

.v3-section-title--start {
  text-align: left;
}

.v3-section-title h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.375rem);
  color: var(--vyrox-charcoal);
  margin-bottom: 0.65rem;
}

.v3-section-title p {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--vyrox-grey);
}

.v3-section-title--start p {
  max-width: 40rem;
}

/* ─── Header (Envisage-style fixed bar) ─── */
.v3-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  height: var(--header-h);
  transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.v3-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.v3-header__logo img {
  height: 2.25rem;
  width: auto;
}

.v3-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.v3-nav a {
  display: block;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--vyrox-charcoal);
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.v3-nav a:hover,
.v3-nav a.is-active {
  color: var(--vyrox-red);
  background: rgb(192 57 43 / 6%);
}

.v3-header__cta {
  flex-shrink: 0;
}

.v3-nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 10px;
  background: var(--vyrox-charcoal);
  color: var(--vyrox-white);
  cursor: pointer;
}

.v3-nav-toggle span {
  display: block;
  width: 1.125rem;
  height: 2px;
  margin: 0.3rem auto;
  background: currentColor;
  transition: transform 0.25s ease;
}

.v3-header--transparent {
  background: transparent;
}

.v3-header--solid {
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--vyrox-border);
}

body.is-launching .v3-header {
  opacity: 0;
  pointer-events: none;
}

body.launch-complete .v3-header {
  opacity: 1;
  pointer-events: auto;
}

/* ─── Buttons ─── */
.v3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.v3-btn--primary {
  color: var(--vyrox-white);
  background: var(--vyrox-red);
}

.v3-btn--primary:hover {
  background: var(--vyrox-red-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgb(192 57 43 / 22%);
}

.v3-btn--secondary {
  color: var(--vyrox-charcoal);
  background: var(--vyrox-white);
  border-color: var(--vyrox-border);
}

.v3-btn--secondary:hover {
  border-color: rgb(44 44 44 / 18%);
  transform: translateY(-1px);
}

/* ─── Hero (split layout) ─── */
.v3-hero {
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: var(--section-y);
  background: var(--vyrox-white);
  opacity: 0;
  transition: opacity 0.8s ease 0.15s;
}

.v3-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.v3-hero__title {
  font-size: clamp(2.125rem, 5vw, 3.25rem);
  line-height: 1.08;
  color: var(--vyrox-charcoal);
  margin-bottom: 1rem;
}

.v3-hero__title em {
  font-style: normal;
  color: var(--vyrox-red);
}

.v3-hero__lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--vyrox-grey);
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

.v3-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.v3-hero__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.v3-hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.v3-hero--hidden {
  opacity: 0;
  pointer-events: none;
}

body.launch-complete .v3-hero.is-visible,
body:not(.is-launching) .v3-hero.is-visible {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.8s ease 0.15s;
}

body.is-launching .v3-main > :not(.launch-hero) {
  visibility: hidden;
}

/* ─── Industries — featured mosaic + denser secondary ─── */
.v3-industries {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.v3-industries__featured {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.85rem;
  min-height: clamp(20rem, 38vw, 26rem);
}

.v3-industry {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--vyrox-white);
  border: 1px solid var(--vyrox-border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.v3-industry:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.v3-industry__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.v3-industry__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.v3-industry:hover .v3-industry__img img {
  transform: scale(1.05);
}

.v3-industry__img::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--vyrox-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.v3-industry:hover .v3-industry__img::after {
  transform: scaleX(1);
}

.v3-industry__body {
  padding: 1.15rem 1.25rem 1.3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.v3-industry__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--vyrox-charcoal);
  margin-bottom: 0.3rem;
}

.v3-industry__desc {
  font-size: 0.875rem;
  color: var(--vyrox-grey);
  line-height: 1.5;
  flex: 1;
}

.v3-industry__link {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--vyrox-red);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.v3-industry__link span {
  transition: transform 0.25s ease;
}

.v3-industry:hover .v3-industry__link span {
  transform: translateX(4px);
}

/* Featured tiles — image-led overlay cards */
.v3-industry--feature {
  min-height: 0;
}

.v3-industry--feature .v3-industry__img {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}

.v3-industry--feature .v3-industry__img::after {
  inset: 0;
  height: auto;
  background: linear-gradient(
    180deg,
    rgb(44 44 44 / 8%) 0%,
    rgb(44 44 44 / 55%) 55%,
    rgb(44 44 44 / 82%) 100%
  );
  transform: none;
  transition: opacity 0.35s var(--ease);
}

.v3-industry--feature:hover .v3-industry__img::after {
  opacity: 0.92;
  transform: none;
}

.v3-industry--feature .v3-industry__body {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 1.35rem 1.4rem 1.45rem;
  color: var(--vyrox-white);
}

.v3-industry--feature .v3-industry__title {
  color: var(--vyrox-white);
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.v3-industry--feature .v3-industry__desc {
  color: rgb(255 255 255 / 82%);
  max-width: 22rem;
}

.v3-industry--feature .v3-industry__link {
  color: var(--vyrox-mustard);
}

.v3-industry--hero {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.v3-industry--hero .v3-industry__title {
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
}

.v3-industry--hero .v3-industry__desc {
  font-size: 0.9375rem;
}

.v3-industries__featured > .v3-industry--feature:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.v3-industries__featured > .v3-industry--feature:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}

.v3-industries__featured > .v3-industry--feature:nth-child(4) {
  grid-column: 2 / span 2;
  grid-row: 2;
}

/* Compact secondary row */
.v3-industries__more {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.v3-industry--compact {
  min-height: 0;
}

.v3-industry--compact .v3-industry__img {
  aspect-ratio: 5 / 3;
}

.v3-industry--compact .v3-industry__body {
  padding: 0.85rem 0.95rem 1rem;
}

.v3-industry--compact .v3-industry__title {
  font-size: 0.9375rem;
  margin-bottom: 0.2rem;
}

.v3-industry--compact .v3-industry__desc {
  font-size: 0.75rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.v3-industry--compact .v3-industry__link {
  margin-top: 0.55rem;
  font-size: 0.75rem;
}

@media (max-width: 1100px) {
  .v3-industries__more {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .v3-industries__featured {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }

  .v3-industry--hero {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 16rem;
  }

  .v3-industries__featured > .v3-industry--feature:nth-child(2),
  .v3-industries__featured > .v3-industry--feature:nth-child(3),
  .v3-industries__featured > .v3-industry--feature:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
    min-height: 13rem;
  }
}

@media (max-width: 640px) {
  .v3-industries__featured {
    grid-template-columns: 1fr;
  }

  .v3-industry--hero,
  .v3-industries__featured > .v3-industry--feature:nth-child(n) {
    grid-column: 1;
    min-height: 14rem;
  }

  .v3-industries__more {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .v3-industry--compact {
    flex: 0 0 min(72vw, 16.5rem);
    scroll-snap-align: start;
  }
}

/* ─── Split about ─── */
.v3-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.v3-split__photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.v3-split__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.v3-split__title {
  font-size: clamp(1.625rem, 3vw, 2.125rem);
  margin-bottom: 1rem;
}

.v3-split__text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--vyrox-grey);
  margin-bottom: 1rem;
}

/* ─── Solution / service cards (shared; e.g. technology page) ─── */
.v3-solutions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.v3-solution {
  padding: 1.5rem;
  background: var(--vyrox-white);
  border: 1px solid var(--vyrox-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.v3-solution:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.v3-solution__icon {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--vyrox-red);
  background: rgb(192 57 43 / 7%);
  border-radius: 10px;
}

.v3-solution__icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.v3-solution__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--vyrox-charcoal);
  margin-bottom: 0.4rem;
}

.v3-solution__desc {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--vyrox-grey);
}

/* ─── Home solutions — numbered editorial rail ─── */
.v3-sol-rail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 3rem;
  border-top: 1px solid var(--vyrox-border);
}

.v3-sol-rail__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.15rem;
  padding: 1.05rem 0.35rem 1.05rem 0;
  border-bottom: 1px solid var(--vyrox-border);
  text-decoration: none;
  transition: background 0.3s var(--ease), padding 0.3s var(--ease);
}

.v3-sol-rail__item:hover {
  background: linear-gradient(90deg, rgb(192 57 43 / 5%), transparent 70%);
  padding-left: 0.65rem;
}

.v3-sol-rail__num {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--vyrox-mustard);
  min-width: 1.75rem;
  transition: color 0.25s ease, transform 0.3s var(--ease);
}

.v3-sol-rail__item:hover .v3-sol-rail__num {
  color: var(--vyrox-red);
  transform: translateY(-1px);
}

.v3-sol-rail__copy {
  min-width: 0;
}

.v3-sol-rail__title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--vyrox-charcoal);
  margin: 0 0 0.25rem;
  transition: color 0.25s ease;
}

.v3-sol-rail__item:hover .v3-sol-rail__title {
  color: var(--vyrox-red);
}

.v3-sol-rail__desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--vyrox-grey);
}

.v3-sol-rail__go {
  font-size: 1.125rem;
  color: var(--vyrox-red);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease);
}

.v3-sol-rail__item:hover .v3-sol-rail__go {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 800px) {
  .v3-sol-rail {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 480px) {
  .v3-sol-rail__item {
    gap: 0.85rem;
    padding: 1.15rem 0;
  }

  .v3-sol-rail__item:hover {
    padding-left: 0.35rem;
  }

  .v3-sol-rail__go {
    display: none;
  }
}

/* ─── Engineering timeline ─── */
.v3-timeline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 0;
  position: relative;
}

.v3-timeline__step {
  flex: 1 1 140px;
  max-width: 180px;
  text-align: center;
  padding: 0 0.5rem 0.35rem;
  position: relative;
}

.v3-timeline__step:not(:last-child)::after {
  content: "↓";
  position: absolute;
  right: -0.5rem;
  top: 2.5rem;
  font-size: 0.875rem;
  color: rgb(44 44 44 / 25%);
  display: none;
}

.v3-timeline__num {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: rgb(44 44 44 / 12%);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.v3-timeline__icon {
  width: 2.25rem;
  height: 2.25rem;
  margin: 0 auto 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vyrox-red);
  background: rgb(192 57 43 / 7%);
  border-radius: 50%;
}

.v3-timeline__icon svg {
  width: 1.0625rem;
  height: 1.0625rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
}

.v3-timeline__title {
  font-size: 0.975rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.v3-timeline__text {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--vyrox-grey);
}

@media (min-width: 768px) {
  .v3-timeline {
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0;
  }

  .v3-timeline__step:not(:last-child)::after {
    display: block;
    content: "";
    right: 0;
    top: 2.85rem;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgb(44 44 44 / 15%), rgb(44 44 44 / 15%));
    transform: translateX(50%);
  }

  .v3-timeline__step:not(:last-child)::before {
    content: "↓";
    position: absolute;
    right: -0.35rem;
    top: 2.45rem;
    font-size: 0.75rem;
    color: rgb(44 44 44 / 30%);
    z-index: 1;
    display: none;
  }
}

/* ─── Projects ─── */
.v3-projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.v3-project {
  display: flex;
  flex-direction: column;
  background: var(--vyrox-white);
  border: 1px solid var(--vyrox-border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.v3-project:hover,
.v3-project:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgb(192 57 43 / 18%);
}

.v3-project__trigger {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.v3-project__trigger:focus {
  outline: none;
}

.v3-project__trigger:focus-visible {
  outline: 2px solid var(--vyrox-red);
  outline-offset: -2px;
}

.v3-project__img {
  position: relative;
  overflow: hidden;
  background: var(--vyrox-grey-light);
}

.v3-project__img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease);
}

.v3-project:hover .v3-project__img img,
.v3-project:focus-within .v3-project__img img {
  transform: scale(1.04);
}

.v3-project__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--vyrox-white);
  background: linear-gradient(to top, rgb(44 44 44 / 55%) 0%, rgb(44 44 44 / 12%) 55%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.v3-project:hover .v3-project__overlay,
.v3-project:focus-within .v3-project__overlay {
  opacity: 1;
}

.v3-project__body {
  padding: 1.1rem 1.2rem 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.v3-project__meta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--vyrox-mustard);
  margin-bottom: 0.3rem;
}

.v3-project__title {
  font-size: 1.125rem;
  margin-bottom: 0.35rem;
}

.v3-project__summary {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--vyrox-grey);
  flex: 1;
  margin-bottom: 1rem;
}

.v3-project__cta {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--vyrox-red);
  transition: transform 0.25s var(--ease), color 0.25s ease;
}

.v3-project:hover .v3-project__cta,
.v3-project:focus-within .v3-project__cta {
  color: var(--vyrox-red-hover);
  transform: translateX(3px);
}

/* ─── Partners strip ─── */
.v3-partners__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: 1.5rem 0;
}

.v3-partners__logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgb(44 44 44 / 45%);
}

/* ─── CTA band ─── */
.v3-cta {
  text-align: center;
  padding-block: clamp(2.75rem, 5vw, 3.5rem);
}

.v3-cta__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.v3-cta__sub {
  font-size: 1.0625rem;
  color: var(--vyrox-grey);
  margin-bottom: 1.25rem;
}

/* ─── Footer ─── */
.v3-footer {
  background: var(--vyrox-charcoal);
  color: rgb(255 255 255 / 75%);
}

.v3-footer__newsletter {
  padding: 3rem 0;
  border-bottom: 1px solid rgb(255 255 255 / 8%);
  text-align: center;
}

.v3-footer__newsletter h4 {
  font-size: 1.25rem;
  color: var(--vyrox-white);
  margin-bottom: 1rem;
}

.v3-footer__newsletter form {
  display: flex;
  max-width: 28rem;
  margin: 0 auto;
  gap: 0;
  border-radius: 999px;
  overflow: hidden;
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 12%);
}

.v3-footer__newsletter input[type="email"] {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.875rem 1.25rem;
  font-size: 0.875rem;
  color: var(--vyrox-white);
  outline: none;
}

.v3-footer__newsletter input[type="email"]::placeholder {
  color: rgb(255 255 255 / 45%);
}

.v3-footer__newsletter button {
  border: none;
  background: var(--vyrox-red);
  color: var(--vyrox-white);
  padding: 0.875rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.v3-footer__newsletter button:hover {
  background: var(--vyrox-red-hover);
}

.v3-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 3rem 0;
}

.v3-footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vyrox-white);
  margin-bottom: 1rem;
}

.v3-footer__list a,
.v3-footer__list li {
  display: block;
  font-size: 0.8125rem;
  line-height: 2;
  color: rgb(255 255 255 / 55%);
  transition: color 0.2s ease;
}

.v3-footer__list a:hover {
  color: var(--vyrox-white);
}

.v3-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgb(255 255 255 / 8%);
  font-size: 0.8125rem;
  color: rgb(255 255 255 / 45%);
}

.v3-footer__social {
  display: flex;
  gap: 0.5rem;
}

.v3-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgb(255 255 255 / 8%);
  color: rgb(255 255 255 / 75%);
  transition: background 0.2s ease, color 0.2s ease;
}

.v3-footer__social a:hover {
  background: var(--vyrox-mustard);
  color: var(--vyrox-charcoal);
}

.v3-footer__social svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

/* ─── Icon boxes (Envisage features pattern) ─── */
.v3-icon-box {
  padding: 1.5rem;
  background: var(--vyrox-white);
  border: 1px solid var(--vyrox-border);
  border-radius: var(--radius);
  height: 100%;
}

.v3-icon-box__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--vyrox-red);
  background: rgb(192 57 43 / 7%);
  border-radius: 10px;
}

.v3-icon-box__icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
}

.v3-icon-box h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.v3-icon-box p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--vyrox-grey);
}

/* ─── Scroll reveal ─── */
.v3-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s var(--ease);
}

.v3-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Back to top ─── */
.v3-back-top {
  position: fixed;
  right: 1.25rem;
  bottom: 5.5rem;
  z-index: 800;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--vyrox-charcoal);
  color: var(--vyrox-white);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
  text-decoration: none;
}

.v3-back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.v3-back-top:hover {
  background: var(--vyrox-red);
}

.v3-back-top svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* ─── WhatsApp + Cookie (light site) ─── */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 800;
  width: 3.25rem;
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 16px rgb(37 211 102 / 35%);
  transition: transform 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.06);
}

.whatsapp-float svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 950;
  max-width: 36rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  background: var(--vyrox-charcoal);
  color: rgb(255 255 255 / 85%);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: none;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner p {
  flex: 1;
  font-size: 0.8125rem;
  line-height: 1.5;
  min-width: 200px;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
}

/* ─── Launch intro overlay ─── */
.launch-hero--intro-only {
  position: fixed;
  inset: 0;
  z-index: 1000;
  min-height: 100svh;
}

.launch-hero--intro-only.launch-hero--done {
  display: none;
}

/* ─── Responsive ─── */
@media (max-width: 991px) {
  .v3-hero__grid,
  .v3-split {
    grid-template-columns: 1fr;
  }

  .v3-hero__media {
    order: -1;
  }

  .v3-projects {
    grid-template-columns: 1fr;
  }

  .v3-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .v3-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    background: var(--vyrox-white);
    border-bottom: 1px solid var(--vyrox-border);
    padding: 1rem;
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s var(--ease), opacity 0.35s ease, visibility 0.35s ease;
  }

  .v3-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .v3-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .v3-nav-toggle {
    display: block;
  }

  .v3-header__cta {
    display: none;
  }
}

@media (max-width: 576px) {
  .v3-footer__grid {
    grid-template-columns: 1fr;
  }

  .v3-footer__newsletter form {
    flex-direction: column;
    border-radius: var(--radius);
  }

  .v3-footer__newsletter button {
    border-radius: 0 0 var(--radius) var(--radius);
  }
}

@media (prefers-reduced-motion: reduce) {
  .v3-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .v3-industry:hover,
  .v3-project:hover,
  .v3-solution:hover,
  .v3-sol-rail__item:hover {
    transform: none;
  }

  .v3-sol-rail__item:hover {
    padding-left: 0;
  }

  .v3-sol-rail__item:hover .v3-sol-rail__num,
  .v3-sol-rail__item:hover .v3-sol-rail__go {
    transform: none;
  }
}
