/* styles.css — Connect Auto */

/* ── Fonts ── */
@font-face {
  font-family: 'NeoSansStd';
  src: url('../assets/fonts/Neo Sans Std Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NeoSansStd';
  src: url('../assets/fonts/Neo Sans Std Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NeoSansStd';
  src: url('../assets/fonts/Neo Sans Std Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NeoSansStd';
  src: url('../assets/fonts/Neo Sans Std Bold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ── Custom Properties ── */
:root {
  --color-dark: #1b1b1b;
  --color-dark-alt: #171717;
  --color-dark-rgb: 27, 27, 27;
  --color-grey-bg: #333333;
  --color-accent: #0a6cb4;
  --color-accent-rgb: 10, 108, 180;
  --color-red: #f53855;
  --color-white: #ffffff;
  --color-grey: #999999;
  --color-grey-light: #cccccc;
  --color-text: #333333;
  --color-text-light: rgba(255, 255, 255, 0.85);
  --color-dove-grey: #696868;

  --max-width: 1200px;
  --gutter: 50px;

  --font-main: 'NeoSansStd', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --speed: 0.35s;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  font-weight: var(--font-weight-light);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.4;
  overflow-x: hidden;
}

body.page-dark {
  background: var(--color-dark);
}

body.no-scroll {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Shared Typography ── */
.type-title {
  font-size: 40px;
  font-weight: var(--font-weight-normal);
  line-height: 1.35;
}
.type-body {
  font-size: 20px;
  font-weight: var(--font-weight-light);
  line-height: 1.4;
}
.type-strapline {
  font-size: 28px;
  font-weight: var(--font-weight-light);
  line-height: 1.4;
}
.type-sup-title {
  font-size: 20px;
  font-weight: var(--font-weight-medium);
  line-height: 1.4;
}

@media (max-width: 1024px) {
  :root {
    --gutter: 30px;
  }
  .type-title {
    font-size: 32px;
  }
}
@media (max-width: 640px) {
  .type-title {
    font-size: 24px;
  }
  .type-strapline {
    font-size: 20px;
  }
  .type-body {
    font-size: 16px;
  }
  .type-sup-title {
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  :root {
    --gutter: 16px;
  }
  .type-title {
    font-size: 22px;
  }
  .type-strapline {
    font-size: 18px;
  }
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  font: 20px/1 'NeoSansStd', sans-serif;
  padding: 10px 60px;
  border: 4px solid;
  border-radius: 40px;
  cursor: pointer;
  transition:
    background-position 0.3s cubic-bezier(0.19, 1, 0.22, 1) 0.1s,
    color 0.5s ease 0s,
    background-color 0.5s ease;
  text-align: center;
  text-decoration: none;
  background-size: 200% 100%;
}

.btn-outline-light {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
  background-color: transparent;
  background-image: linear-gradient(
    to right,
    transparent 50%,
    rgba(255, 255, 255, 0) 50%
  );
}
.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 1);
  background-position: -100% 100%;
  color: var(--color-grey-bg);
}

.btn-outline-accent {
  color: var(--color-text);
  border-color: var(--color-red);
  background-image: linear-gradient(
    to right,
    transparent 50%,
    rgb(245, 56, 85) 50%
  );
}
.btn-outline-accent:hover {
  background-color: rgb(245, 56, 85);
  background-position: -100% 100%;
  color: var(--color-white);
}

.btn-outline-dark {
  border-color: rgba(0, 0, 0, 0.2);
  color: var(--color-text);
}
.btn-outline-dark:hover {
  border-color: var(--color-text);
}

/* ── Header / Navbar ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(var(--color-dark-rgb), 0);
  transition:
    background-color 0.6s ease,
    height 0.6s ease;
}

.header-scrolled {
  background-color: rgba(var(--color-dark-rgb), 1);
}
.header-scrolled .header-inner {
  height: 60px;
}
.header-scrolled .header-contact-btn {
  opacity: 0;
  pointer-events: none;
}

.header-inner {
  padding: 0 50px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  transition: height 0.6s ease;
}

.logo {
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.logo-img {
  height: 40px;
  max-width: 200px;
  width: auto;
  transition: width 0.6s ease;
}
.logo-bold {
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
}
.logo-light {
  font-weight: var(--font-weight-light);
  color: var(--color-white);
  opacity: 0.85;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 48px;
}

.header-contact-btn {
  font-size: 20px;
  padding: 10px 60px;
  min-width: 250px;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1100;
  width: 30px;
}
.hamburger-line {
  display: block;
  width: 30px;
  height: 2px;
  background: var(--color-white);
  transition: opacity var(--speed) var(--ease);
}
.hamburger.is-active {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .header-inner {
    padding: 0 var(--gutter);
  }
  .header-contact-btn {
    padding: 10px 40px;
    min-width: 200px;
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  .logo-img {
    height: 28px;
    max-width: 120px;
  }
  .header-contact-btn {
    display: none;
  }
  .hamburger {
    width: 22px;
    padding: 8px;
    gap: 6px;
  }
  .hamburger-line {
    width: 22px;
  }
  .header-inner {
    height: 70px;
    padding: 0 30px;
  }
}
@media (max-width: 480px) {
  .header-inner {
    padding: 0 24px;
  }
}

/* ── Offcanvas Menu ── */
.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  z-index: 1050;
}
.menu-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}

.menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 470px;
  height: 100%;
  background: var(--color-grey-bg);
  z-index: 1100;
  padding: 100px 80px 0;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100px);
  transition:
    opacity 0.4s ease,
    transform 0.3s cubic-bezier(0.76, -0.35, 0.42, 1.22);
  box-shadow: 0 -3px 10px 0 rgba(0, 0, 0, 0.3);
}
.menu-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.menu-close {
  position: absolute;
  top: 36px;
  right: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-white);
  padding: 0;
  line-height: 0;
  z-index: 10;
}
.menu-close svg {
  display: block;
  width: 28px;
  height: 28px;
}

.menu-list {
  margin: 0 auto;
  max-width: 380px;
  padding: 0;
}
.menu-item {
  border-bottom: 1px solid var(--color-dove-grey);
}
.menu-link {
  display: block;
  padding: 20px 10px 18px 0;
  color: var(--color-white);
  font-size: 26px;
  font-weight: var(--font-weight-light);
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: opacity var(--speed);
}
.menu-link:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .menu-close {
    position: fixed;
    top: 16px;
    right: 22px;
    padding: 8px;
  }
  .menu-close svg {
    width: 22px;
    height: 22px;
  }
  .menu-panel {
    width: 100%;
    padding: 60px 20px 0;
  }
}
@media (max-width: 480px) {
  .menu-close {
    right: 16px;
  }
}

/* ── Hero ── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--color-dark-alt);
}
.hero-bg-img,
.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1000px;
  padding: 0 var(--gutter);
  animation: heroFadeIn 1.2s var(--ease) both;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: var(--font-weight-light);
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 3rem);
  color: var(--color-white);
  font-weight: var(--font-weight-light);
  line-height: 1.3;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: scrollBounce 2s ease-in-out infinite;
  opacity: 0.7;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes scrollBounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

@media (max-width: 1024px) {
  .hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
  }
  .hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 2rem);
  }
}
@media (max-width: 768px) {
  .hero {
    height: 90vh;
  }
}
@media (max-width: 480px) {
  .hero {
    height: 85vh;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
}

/* ── Text Block (home) ── */
.text-block {
  background: var(--color-white);
  padding: 70px 0;
}

.text-block-inner,
.intro-block-inner {
  max-width: 950px;
  margin: 0 auto;
  padding: 0 14px;
}

.text-block-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.text-block-paragraph {
  text-align: center;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .text-block {
    padding: 30px 0;
  }
}

/* ── Intro Block (Products/Approach) ── */
.intro-block {
  background: var(--color-white);
  padding: 70px 0;
  text-align: center;
}
.intro-label {
  margin-bottom: 24px;
}

/* ── Stat Bar (home) ── */
.stats {
  background: var(--color-grey-bg);
  padding: 70px 0;
}
.stats-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 80px auto;
  padding: 0 10px;
  gap: 0;
}
.stat-card {
  text-align: center;
  width: 25%;
  margin: 0;
}
.stat-value {
  display: block;
  font-size: 52px;
  font-weight: var(--font-weight-normal);
  color: var(--color-white);
  line-height: 1.1;
}
.stat-suffix {
  font-size: 28px;
  vertical-align: super;
}
.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  font-weight: var(--font-weight-normal);
  color: var(--color-white);
}

@media (max-width: 1024px) {
  .stat-value {
    font-size: 40px;
  }
}
@media (max-width: 768px) {
  .stats {
    padding: 30px 0;
  }
  .stats-grid {
    margin: 30px auto;
  }
  .stat-card {
    width: 50%;
    margin: 30px 0;
  }
  .stat-value {
    font-size: 32px;
  }
  .stat-label {
    font-size: 18px;
  }
}
@media (max-width: 480px) {
  .stat-value {
    font-size: 2.4rem;
  }
  .stat-label {
    font-size: 1rem;
  }
}

/* ── Icon Bar (Products/Approach) ── */
.icon-bar {
  background: var(--color-white);
  padding: 0;
}
.icon-bar-inner {
  max-width: var(--max-width);
  margin: 120px auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
}
.icon-bar-card {
  text-align: center;
  min-width: 140px;
}
.icon-bar-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  color: var(--color-accent);
}
.icon-bar-icon svg,
.icon-bar-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.icon-bar-label {
  font-size: 26px;
  font-weight: var(--font-weight-normal);
  color: var(--color-text);
}
.icon-bar-plus {
  font-size: 50px;
  font-weight: var(--font-weight-light);
  color: #00aeef;
}

@media (max-width: 1024px) {
  .icon-bar-label {
    font-size: 18px;
  }
  .icon-bar-plus {
    font-size: 28px;
  }
}
@media (max-width: 768px) {
  .icon-bar-inner {
    gap: 30px;
    flex-wrap: wrap;
  }
}
@media (max-width: 640px) {
  .icon-bar-label {
    font-size: 16px;
  }
}
@media (max-width: 480px) {
  .icon-bar-inner {
    gap: 20px;
  }
  .icon-bar-plus {
    display: none;
  }
}

/* ── Ethos Carousel (home) ── */
.ethos {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 170px var(--gutter);
  overflow: hidden;
}
.ethos-bg {
  position: absolute;
  inset: 0;
  background: var(--color-dark);
}
.ethos-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ethos-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.ethos-slides-wrapper {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}
.ethos-slide {
  display: none;
}
.ethos-slide--active {
  display: block;
}
.ethos-heading {
  color: var(--color-white);
  margin-bottom: 24px;
}
.ethos-quote {
  font-size: 28px;
  font-weight: var(--font-weight-light);
  color: var(--color-white);
  margin-bottom: 48px;
  line-height: 1.4;
}
.ethos-description {
  color: var(--color-white);
  margin-bottom: 48px;
}
.ethos-dots {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}
.ethos-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  cursor: pointer;
  transition: background var(--speed);
}
.ethos-dot--active {
  background: var(--color-white);
  border-color: var(--color-white);
}

@media (max-width: 1024px) {
  .ethos {
    padding: 100px var(--gutter);
  }
  .ethos-quote {
    font-size: 20px;
  }
}

/* ── Solutions (home) ── */
.solutions {
  background: var(--color-accent);
  padding: 175px 0;
  text-align: center;
}
.solutions-inner {
  max-width: 950px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.solutions-heading {
  font-size: 28px;
  font-weight: var(--font-weight-normal);
  color: var(--color-white);
  line-height: 1.4;
}
.solutions-description {
  color: var(--color-white);
}
.solutions-subtext {
  color: var(--color-white);
  font-style: italic;
}

@media (max-width: 1024px) {
  .solutions {
    padding: 100px 0;
  }
}
@media (max-width: 768px) {
  .solutions {
    padding: 60px 0;
  }
}
@media (max-width: 640px) {
  .solutions-heading {
    font-size: 20px;
  }
}

/* ── CTA Section (home) ── */
.cta-section {
  background: var(--color-grey-bg);
  padding: 175px 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cta-deco {
  position: absolute;
  left: 0;
  bottom: 0;
  transform: translate(-13%, 13%);
  width: 40vw;
  max-width: 370px;
}
.cta-deco .deco-logo {
  width: 100%;
  height: 100%;
}
.cta-logo-dark {
  fill: #0a6cb4;
}
.cta-logo-light,
.cta-logo-wave {
  fill: #00aeef;
}
.cta-content {
  position: relative;
  z-index: 2;
}
.cta-title {
  color: var(--color-white);
  margin-bottom: 5px;
}
.cta-subtitle {
  font-size: 18px;
  font-weight: var(--font-weight-normal);
  color: var(--color-grey-light);
}

@media (min-width: 640px) {
  .cta-deco {
    width: 24vw;
  }
}
@media (max-width: 1024px) {
  .cta-section {
    padding: 100px 0;
  }
}
@media (max-width: 768px) {
  .cta-section {
    padding: 60px 0;
  }
  .cta-deco {
    display: none;
  }
}

/* ── 50/50 Sections (Products) ── */
.fifty-fifty {
  background: #eceaea;
}
.fifty-fifty-inner {
  display: flex;
  flex-direction: column;
  min-height: 500px;
}
.fifty-fifty-images {
  flex: 0 0 50%;
  min-height: 300px;
  position: relative;
  overflow: hidden;
  background-color: var(--color-dark);
}
.fifty-fifty-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fifty-fifty-text {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 30px;
}
.fifty-fifty-title {
  margin: 0 0 16px;
}
.fifty-fifty-subtitle {
  font-size: 28px;
  font-weight: var(--font-weight-light);
  color: var(--color-text);
  margin: 0 0 16px;
  line-height: 1.4;
}
.fifty-fifty-paragraph {
  margin: 0 0 16px;
}
.fifty-fifty .btn {
  align-self: flex-start;
  margin-top: 20px;
}

@media (min-width: 640px) {
  .fifty-fifty-text {
    padding: 80px 60px;
  }
}
@media (min-width: 1025px) {
  .fifty-fifty-inner {
    flex-direction: row;
  }
  .fifty-fifty--flip .fifty-fifty-inner {
    flex-direction: row-reverse;
  }
  .fifty-fifty-text {
    padding: 80px 80px;
  }
}
@media (max-width: 1024px) {
  .fifty-fifty-subtitle {
    font-size: 20px;
  }
}

/* ── Driven By Data (Products) ── */
.driven-data {
  background: var(--color-dark);
  padding: 80px 0;
  text-align: center;
}
.driven-data-inner,
.trusted-tech-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.driven-data-heading {
  color: var(--color-white);
  margin-bottom: 24px;
}
.driven-data-description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
}
.driven-data-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.driven-data-tag {
  display: inline-block;
  padding: 10px 24px;
  font-size: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  color: rgba(255, 255, 255, 0.65);
  transition: all var(--speed) var(--ease);
}
.driven-data-tag:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ── Services (Approach) ── */
.services {
  background: #f4f4f4;
  padding: 60px 0;
}
.services-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.services-heading {
  text-align: center;
  margin-bottom: 40px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.services-col-title {
  font-size: 18px;
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  margin-bottom: 16px;
}
.services-list {
  list-style: none;
}
.services-item {
  font-size: 16px;
  color: var(--color-text);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.services-check {
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Two Column (Approach) ── */
.two-column {
  background: var(--color-white);
  padding: 100px 0;
}
.two-column-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
.two-column-title {
  margin-bottom: 24px;
}

@media (max-width: 1024px) {
  .two-column-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ── Trusted Technology (Approach) ── */
.trusted-tech {
  background: #f0f0f0;
  padding: 60px 0;
  text-align: center;
}
.trusted-tech-heading {
  margin-bottom: 16px;
}

/* ── Collaboration / Partners (Approach) ── */
.collaboration {
  background: var(--color-white);
  padding: 80px 0;
  text-align: center;
}
.collaboration-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.collaboration-heading {
  margin-bottom: 12px;
}
.collaboration-desc {
  margin-bottom: 40px;
}
.partner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  margin-bottom: 40px;
}
.partner-item {
  width: 20%;
  padding: 15px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  transition: opacity var(--speed);
}
.partner-item:hover {
  opacity: 1;
}
.partner-logo {
  max-width: 120px;
  width: 100%;
  filter: grayscale(100%);
  transition: filter var(--speed);
}
.partner-item:hover .partner-logo {
  filter: grayscale(0);
}
.partner-grid--hidden {
  display: none;
}
.partner-grid--visible {
  display: flex;
}

@media (max-width: 1024px) {
  .partner-item {
    width: 25%;
  }
}
@media (max-width: 480px) {
  .partner-item {
    width: 33.333%;
  }
}

/* ── Contact Overlay ── */
.contact-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.contact-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-overlay-inner {
  max-width: var(--max-width);
  width: 100%;
  padding: 0 var(--gutter);
  display: flex;
  gap: 80px;
  align-items: flex-start;
  position: relative;
}

.contact-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 0 8px 8px;
  transition: opacity var(--speed);
}
.contact-close:hover {
  opacity: 0.7;
}
.contact-close svg {
  stroke-width: 2;
  width: 32px;
}

.contact-info {
  flex-shrink: 0;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contact-call,
.contact-find {
  display: flex;
  flex-direction: column;
}
.contact-info-heading {
  color: var(--color-white);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}
.contact-info-phone {
  color: var(--color-white);
  margin-bottom: 24px;
  text-decoration: none;
}
.contact-info-phone:hover {
  text-decoration: underline;
}
.contact-linkedin {
  display: inline-block;
  width: 40px;
}
.contact-linkedin-img {
  width: 40px;
  height: auto;
}

.contact-form-wrap {
  flex: 1;
}
.contact-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.contact-form-heading {
  color: var(--color-white);
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.contact-form-row {
  display: flex;
  gap: 25px;
}
.contact-form-group {
  flex: 1;
}
.contact-form-group--full {
  width: 100%;
}

.contact-input {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  font-family: var(--font-main);
  font-weight: var(--font-weight-light);
  background: var(--color-white);
  border: none;
  border-radius: 5px;
  color: var(--color-dove-grey);
  transition: border-color var(--speed);
}
.contact-input::placeholder {
  color: var(--color-dove-grey);
}
.contact-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}
textarea.contact-input {
  resize: vertical;
  min-height: 180px;
}
select.contact-input {
  appearance: none;
  cursor: pointer;
}

.contact-button-area {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 5px;
}
.contact-submit {
  flex-shrink: 0;
}
.contact-status {
  font-size: 16px;
  font-weight: var(--font-weight-light);
  color: #fff;
}
.contact-form.disabled {
  opacity: 0.6;
  pointer-events: none;
}

@media (max-width: 768px) {
  .contact-overlay {
    align-items: flex-start;
    overflow-y: auto;
  }
  .contact-overlay-inner {
    flex-direction: column;
    padding: 120px var(--gutter) 40px;
    gap: 32px;
  }
  .contact-close {
    position: absolute;
    top: 24px;
    right: var(--gutter);
  }
  .contact-form-header {
    display: block;
  }
  .contact-info {
    flex-direction: row;
    gap: 24px;
    width: 100%;
  }
  .contact-call,
  .contact-find {
    flex: 1;
  }
  .contact-form-wrap {
    width: 100%;
  }
  .contact-form-row {
    flex-direction: column;
    gap: 16px;
  }
  .contact-form {
    gap: 16px;
  }
  .contact-submit {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .contact-overlay-inner {
    padding: 32px var(--gutter);
  }
}

/* ── Privacy Page ── */
.privacy-page {
  background: var(--color-dark);
  padding: 140px 0 100px;
  min-height: 100vh;
}
.privacy-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.privacy-header {
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.privacy-title {
  margin-bottom: 12px;
  color: var(--color-white);
}
.privacy-meta {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 24px;
}
.privacy-intro {
  color: rgba(255, 255, 255, 0.75);
  max-width: 760px;
}
.privacy-section {
  margin-bottom: 40px;
}
.privacy-section-heading {
  font-weight: var(--font-weight-medium);
  color: var(--color-white);
  margin-bottom: 10px;
}
.privacy-section-body {
  color: rgba(255, 255, 255, 0.65);
  max-width: 760px;
  line-height: 1.7;
}

/* ── Footer ── */
.site-footer {
  background: var(--color-dark);
  padding: 80px var(--gutter) 50px;
  position: relative;
  z-index: 5;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #333;
}
.footer-copy,
.footer-privacy {
  font-size: 16px;
  font-weight: var(--font-weight-normal);
  color: var(--color-grey);
}
.footer-privacy {
  transition: color 500ms ease;
}
.footer-privacy:hover {
  color: var(--color-white);
}

@media (max-width: 768px) {
  .site-footer {
    padding-top: 40px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .site-footer {
    padding-top: 30px;
  }
}

/* ── Scroll Animations ── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
