/* =========================================================
   DotBPO - Updated Main Stylesheet
   Existing visual identity preserved and refined
   ========================================================= */

/* ---------- Fonts (self-hosted, replaces Google Fonts request) ---------- */
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/anton-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Anton";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/anton-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Design tokens ---------- */
:root {
  /* Light sections (About, Stats, FAQ) */
  --bg: #fffefa;
  --bg-soft: #fffefa;

  /* Dark sections (Services, Campaigns, Blog) */
  --bg-alt: #373737;
  --bg-alt-2: #424242;

  /* Cards and borders on dark sections */
  --card: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.12);

  /* Text */
  --text: #ffffff;
  --text-dark: #373737; /* headings on light sections */
  --text-dark-soft: #666666; /* paragraphs on light sections */
  --muted: #b8b8b8; /* paragraphs on dark sections */

  /* Accents */
  --accent: #999999; /* highlight words on dark: "Handle for You" */
  --accent-2: #666666; /* highlight words on light: "Chance to Grow" */
  --accent-light: #d8d8d8;

  /* Keep - main conversion colour */
  --whatsapp: #25d366;

  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 24px 70px rgba(55, 55, 55, 0.18);
  --heading: "Anton", sans-serif;
  --body: "Inter", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

img {
  width: 100%;
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

.container-wide {
  width: min(1380px, calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 28px;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #071117;
  box-shadow: 0 12px 30px rgba(143, 180, 189, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 16px 38px rgba(143, 180, 189, 0.36);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  backdrop-filter: blur(12px);
}

.btn-outline:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #071117;
}

/* ---------- Logo ---------- */
.logo {
  font-family: var(--heading);
  font-size: 31px;
  letter-spacing: 0.8px;
  display: inline-flex;
  align-items: flex-end;
  line-height: 1;
  white-space: nowrap;
}

.logo span {
  color: var(--accent);
}

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin: 0 4px 4px;
}

/* =========================================
   TOPBAR
   ========================================= */
.topbar {
  position: relative;
  z-index: 1001; /* stays above the header */
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  font-family: var(--body);
}

.topbar__inner {
  font-style: normal; /* <address> is italic by default */
  max-width: 1200px; /* match your header container width */
  min-height: 46px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar__group {
  display: flex;
  align-items: center;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 13px 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.topbar__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent);
  transition: color 0.2s ease;
}

.topbar__text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; /* long address cuts cleanly with "..." */
}

.topbar__label {
  display: none; /* short labels only on mobile */
}

/* Thin divider between phone and email */
.topbar__group .topbar__item + .topbar__item {
  position: relative;
  margin-left: 44px;
}

.topbar__group .topbar__item + .topbar__item::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 50%;
  width: 1px;
  height: 16px;
  background: var(--border);
  transform: translateY(-50%);
}

/* Hover + keyboard focus */
.topbar__item:hover,
.topbar__item:focus-visible {
  color: #ffffff;
}

.topbar__item:hover .topbar__icon,
.topbar__item:focus-visible .topbar__icon {
  color: #ffffff;
}

.topbar__item:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .topbar__item {
    font-size: 14px;
  }

  .topbar__item--location {
    flex: 1 1 auto; /* address shrinks first, phone/email stay full */
  }
}

/* ---------- Mobile: 3 equal tap buttons ---------- */
@media (max-width: 767px) {
  .topbar__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 0;
    min-height: 50px;
  }

  .topbar__group {
    display: contents; /* lets phone/email join the 3-column grid */
  }

  .topbar__item {
    justify-content: center;
    gap: 8px;
    padding: 16px 8px;
    font-size: 14px;
    font-weight: 600;
  }

  /* Order on mobile: Call | Email | Location */
  .topbar__item--phone {
    order: 1;
  }
  .topbar__item--email {
    order: 2;
  }
  .topbar__item--location {
    order: 3;
  }

  .topbar__item--email,
  .topbar__item--location {
    border-left: 1px solid var(--border);
  }

  .topbar__group .topbar__item + .topbar__item {
    margin-left: 0;
  }

  .topbar__group .topbar__item + .topbar__item::before {
    display: none;
  }

  .topbar__text {
    display: none;
  }
  .topbar__label {
    display: inline;
  }

  .topbar__item:active {
    background: rgba(255, 255, 255, 0.06); /* tap feedback */
  }
}

@media (max-width: 360px) {
  .topbar__item {
    font-size: 13px;
    gap: 6px;
  }
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 21px 0;
  transition:
    background 0.3s ease,
    padding 0.3s ease,
    border-color 0.3s ease;
}

.header.scrolled {
  background: rgba(7, 12, 18, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 31px;
}

.nav > a,
.nav-dropdown-toggle {
  position: relative;
  color: #fff;
  font-size: 18px;
  font-weight: 850;
  font-weight: 850;
  transition: color 0.25s ease;
}

.nav > a::after,
.nav-dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav > a:hover::after,
.nav > a.active::after,
.nav-dropdown-toggle.is-active::after,
.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown:focus-within .nav-dropdown-toggle::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-dropdown-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle svg,
.nav-dropdown:focus-within .nav-dropdown-toggle svg,
.nav-dropdown.open .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  min-width: 230px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  background: rgba(9, 15, 22, 0.98);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -22px;
  height: 22px;
}

.nav-dropdown-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  color: #dce5ea;
  font-size: 13px;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.nav-dropdown-menu a:hover {
  background: rgba(143, 180, 189, 0.13);
  color: #fff;
  transform: translateX(4px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  transition: 0.3s ease;
}

/* Push header below the topbar */
.header {
  top: 46px;
}

@media (max-width: 767px) {
  .header {
    top: 50px; /* topbar is taller on mobile */
  }
}

.header.scrolled {
  top: 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  background: #071018;
}

.hero-slider,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.2s ease;
  will-change: opacity, transform;
}

/* First slide image: smaller portrait crop on phones (same visible area) */
.hero-slide--first {
  background-image: url("images/hero-1.webp");
}

@media (max-width: 768px) and (max-aspect-ratio: 2/3) {
  .hero-slide--first {
    background-image: url("images/hero-1-m.webp");
  }
}

.hero-slide.active {
  opacity: 1;
  animation: kenBurns 7s ease-out both;
}

@keyframes kenBurns {
  from {
    transform: scale(1.03);
  }
  to {
    transform: scale(1.13);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 9, 14, 0.42), rgba(5, 10, 16, 0.82)),
    linear-gradient(90deg, rgba(4, 9, 13, 0.16), rgba(4, 9, 13, 0.06));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  z-index: 1;
  background: linear-gradient(to top, #0b1118 0%, transparent 100%);
}

.hero-glow {
  position: absolute;
  z-index: 1;
  width: 340px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.22;
  pointer-events: none;
}

.hero-glow-one {
  top: 18%;
  left: 4%;
  background: var(--accent);
}

.hero-glow-two {
  right: 6%;
  bottom: 12%;
  background: #5c8299;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-top: 80px;
}

.hero-kicker {
  margin-bottom: 10px;
  font-family: var(--heading);
  text-transform: uppercase;
  letter-spacing: 7px;
  font-size: clamp(12px, 1.4vw, 17px);
  color: #d8e0e4;
}

.hero-title {
  font-family: var(--heading);
  font-size: clamp(92px, 17vw, 220px);
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  text-shadow: 0 15px 40px rgba(0, 0, 0, 0.24);
  animation: heroIn 1.15s ease-out both;
}

.hero-title span {
  color: var(--accent);
}

.hero-text {
  max-width: 670px;
  margin: 0 auto 32px;
  color: #d5dce1;
  font-size: clamp(15px, 1.6vw, 18px);
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-slider-dots {
  position: absolute;
  z-index: 4;
  right: 28px;
  top: 50%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateY(-50%);
}

.hero-slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition:
    height 0.3s ease,
    border-radius 0.3s ease,
    background 0.3s ease;
}

.hero-slider-dots button.active {
  height: 28px;
  border-radius: 10px;
  background: var(--accent);
  border-color: var(--accent);
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: scaleX(1.28);
    letter-spacing: 16px;
  }
  to {
    opacity: 1;
    transform: scaleX(1);
    letter-spacing: -0.02em;
  }
}

.scroll-down {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 4;
  width: 26px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  transform: translateX(-50%);
}

.scroll-down span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: #fff;
  animation: scrollDot 1.6s infinite;
}

@keyframes scrollDot {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ---------- Shared Sections ---------- */
.section {
  position: relative;
  padding: 118px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 58px;
}

.section-head-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  text-align: left;
}

.section-tag {
  margin-bottom: 5%;
  font-family: var(--heading);
  font-size: clamp(52px, 6vw, 78px);
  line-height: 0.95;
  text-transform: uppercase;
  color: rgb(0, 54, 107);
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
  user-select: none;
}

.section-title {
  font-family: var(--heading);
  font-weight: 400;
  font-size: clamp(38px, 4.9vw, 62px);
  line-height: 1.08;
  margin-top: -16px;
  letter-spacing: 0.01em;
}

.highlight {
  color: var(--accent);
}

.section-intro {
  max-width: 650px;
  margin: 18px auto 0;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  transition:
    gap 0.25s ease,
    color 0.25s ease;
}

.text-link:hover {
  gap: 14px;
  color: #fff;
}

/* ---------- About ---------- */
.about {
  color: var(--text-dark);
  /* background:
    radial-gradient(
      circle at 10% 10%,
      rgba(255, 255, 255, 0.72),
      transparent 24%
    ),
    linear-gradient(135deg, #d9eef1 0%, #c9e2e6 100%); */
}

.about .section-tag {
  -webkit-text-stroke: 1px rgba(23, 34, 54, 0.18);
}

.about .highlight {
  color: #587e88;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(46px, 6vw, 90px);
  align-items: center;
}

.about-image {
  position: relative;
  min-height: 580px;
}

.about-image img {
  height: 100%;
  min-height: 580px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.about-image::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 68%;
  height: 68%;
  right: -20px;
  bottom: -20px;
  border: 1px solid rgba(23, 34, 54, 0.14);
  border-radius: var(--radius-lg);
}

.about-image-badge {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 18px;
  border-radius: 14px;
  color: #fff;
  background: rgba(7, 17, 24, 0.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.18);
}

.about-image-badge strong {
  font-family: var(--heading);
  font-size: 28px;
  color: var(--accent-light);
  font-weight: 400;
}

.about-image-badge span {
  font-size: 12px;
  max-width: 70px;
  line-height: 1.3;
}

.about-text .section-title {
  margin-bottom: 24px;
}

.about-text > p:not(.section-tag) {
  max-width: 610px;
  margin-bottom: 28px;
  color: var(--text-dark-soft);
  font-size: 17px;
}

.check-list {
  margin-bottom: 30px;
}

.check-list li {
  position: relative;
  padding: 13px 0 13px 38px;
  border-bottom: 1px solid rgba(23, 34, 54, 0.12);
  color: #243142;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 13px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #6f929b;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.about .text-link:hover {
  color: #22313b;
}

/* ---------- Services ---------- */
.services {
  background: var(--bg-alt);
}

.services::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(143, 180, 189, 0.09),
      transparent 26%
    ),
    radial-gradient(
      circle at 90% 70%,
      rgba(143, 180, 189, 0.08),
      transparent 23%
    );
}

.services-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  min-height: 290px;
  padding: 34px 30px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  width: 170px;
  aspect-ratio: 1;
  right: -100px;
  top: -100px;
  border-radius: 50%;
  background: rgba(143, 180, 189, 0.16);
  filter: blur(6px);
  transition: transform 0.45s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(143, 180, 189, 0.5);
  background: linear-gradient(
    145deg,
    rgba(143, 180, 189, 0.12),
    rgba(255, 255, 255, 0.025)
  );
}

.service-card:hover::before {
  transform: scale(1.5);
}

.service-number {
  display: block;
  margin-bottom: 54px;
  font-family: var(--heading);
  font-size: 48px;
  line-height: 1;
  color: rgba(143, 180, 189, 0.72);
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
  max-width: 330px;
}

.service-arrow {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.service-card:hover .service-arrow {
  background: var(--accent);
  color: #071117;
  transform: rotate(45deg);
}

/* ---------- Stats ---------- */
.stats {
  color: var(--text-dark);
  background: #fffefa;
}

.stats .section-tag {
  -webkit-text-stroke: 1px rgba(23, 34, 54, 0.18);
}

.stats .highlight {
  color: #587e88;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat {
  min-height: 180px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  padding: 32px 18px;
  border: 1px solid rgba(23, 34, 54, 0.11);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.34);
}

.stat-number,
.stat-suffix {
  font-family: var(--heading);
  font-size: clamp(50px, 6vw, 72px);
  line-height: 1;
  font-weight: 400;
}

.stat-suffix {
  color: #628792;
}

.stat p {
  margin-top: 10px;
  color: var(--text-dark-soft);
  font-weight: 500;
}

/* ---------- Campaign Flip Cards ---------- */
.industries {
  background: var(--bg-alt);
}

.flip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.flip-card {
  height: 310px;
  perspective: 1200px;
  outline: none;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.72s cubic-bezier(0.2, 0.75, 0.25, 1);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-inner,
.flip-card:focus .flip-inner {
  transform: rotateX(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.flip-front {
  display: flex;
  align-items: flex-end;
  padding: 28px;
  background-size: cover;
  background-position: center;
}

.flip-front::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(4, 9, 14, 0.92),
    rgba(4, 9, 14, 0.18) 66%
  );
}

.flip-front h3,
.flip-back h3 {
  position: relative;
  z-index: 1;
  font-family: var(--heading);
  font-weight: 400;
  font-size: 32px;
  letter-spacing: 0.4px;
}

.flip-back {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 32px;
  text-align: center;
  color: #071117;
  background: linear-gradient(145deg, #b9d7dd, #779ba5);
  transform: rotateX(180deg);
}

.flip-back p {
  max-width: 300px;
  color: rgba(7, 17, 23, 0.78);
  font-size: 14px;
}

.campaign-marketing {
  background-image: url("images/service1.webp");
}
.campaign-qa {
  background-image: url("images/service2.webp");
}
.campaign-customer {
  background-image: url("images/service3.webp");
}
.campaign-transcription {
  background-image: url("images/service4.webp");
}
.campaign-leads {
  background-image: url("images/service5.webp");
}
.campaign-backoffice {
  background-image: url("images/service6.webp");
}

@media (max-width: 600px) {
  .campaign-marketing {
    background-image: url("images/service1-600.webp");
  }
  .campaign-qa {
    background-image: url("images/service2-600.webp");
  }
  .campaign-customer {
    background-image: url("images/service3-600.webp");
  }
  .campaign-transcription {
    background-image: url("images/service4-600.webp");
  }
  .campaign-leads {
    background-image: url("images/service5-600.webp");
  }
  .campaign-backoffice {
    background-image: url("images/service6-600.webp");
  }
}

/* Lazy background images: loaded by script.js when the card nears the viewport */
.js .lazy-bg:not(.bg-loaded) {
  background-image: none;
}

/* ---------- FAQ ---------- */
.faq {
  color: var(--text-dark);
  /* background: linear-gradient(135deg, #dbecef, #c9e3e7); */
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(50px, 7vw, 100px);
  align-items: start;
}

.faq .section-tag {
  -webkit-text-stroke: 1px rgba(23, 34, 54, 0.16);
}

.faq .highlight {
  color: #587e88;
}

.faq-intro > p:not(.section-tag) {
  max-width: 480px;
  margin: 22px 0 30px;
  color: var(--text-dark-soft);
}

.faq .btn-outline {
  color: var(--text-dark);
  border-color: rgba(23, 34, 54, 0.25);
  background: rgba(255, 255, 255, 0.22);
}

.faq .btn-outline:hover {
  color: #071117;
  background: var(--accent);
  border-color: var(--accent);
}

.faq-item {
  border-bottom: 1px solid rgba(23, 34, 54, 0.16);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border: 0;
  background: transparent;
  color: var(--text-dark);
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
}

.faq-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(23, 34, 54, 0.2);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 400;
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: rgba(255, 255, 255, 0.4);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-answer p {
  min-height: 0;
  overflow: hidden;
  color: var(--text-dark-soft);
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.active .faq-answer p {
  padding: 0 52px 24px 0;
}

/* ---------- Blog ---------- */
.blog {
  background: #0d141c;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.blog-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(143, 180, 189, 0.5);
}

.blog-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.blog-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 9, 14, 0.5), transparent 54%);
}

.blog-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.06);
}

.blog-category {
  position: absolute;
  left: 15px;
  bottom: 15px;
  z-index: 2;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(7, 17, 24, 0.76);
  backdrop-filter: blur(10px);
  color: #e5eef1;
  font-size: 11px;
  font-weight: 600;
}

.blog-content {
  padding: 24px 20px 22px;
}

.blog-content h3 {
  min-height: 84px;
  margin-bottom: 22px;
  font-size: 18px;
  line-height: 1.5;
}

.blog-content h3 a {
  transition: color 0.25s ease;
}

.blog-content h3 a:hover {
  color: var(--accent);
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}

/* ---------- Contact ---------- */
.contact {
  color: var(--text-dark);
  background: #f5f8f8;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 720px;
  overflow: hidden;
  border: 1px solid rgba(23, 34, 54, 0.1);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(27, 46, 55, 0.14);
}

.contact-visual {
  position: relative;
  min-height: 720px;
}

.contact-visual img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.contact-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 14, 20, 0.72),
    rgba(5, 14, 20, 0.04) 48%
  );
}

.contact-visual-caption {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 34px;
  color: #fff;
}

.contact-visual-caption span {
  display: block;
  margin-bottom: 8px;
  color: #dce8eb;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-visual-caption strong {
  display: block;
  max-width: 460px;
  font-size: clamp(25px, 3vw, 40px);
  line-height: 1.16;
}

.contact-form-panel {
  padding: clamp(40px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-pill {
  align-self: flex-start;
  margin-bottom: 28px;
  padding: 9px 16px;
  border: 1px solid rgba(23, 34, 54, 0.14);
  border-radius: 999px;
  color: #5f6b75;
  font-size: 13px;
}

.contact-form-panel h2 {
  max-width: 600px;
  font-size: clamp(42px, 4.7vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.contact-lead {
  max-width: 600px;
  margin-bottom: 34px;
  color: var(--text-dark-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contact-form label,
.quick-form label {
  display: block;
}

.contact-form label > span,
.quick-form label > span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.quick-form input,
.quick-form select,
.quick-form textarea {
  width: 100%;
  border: 1px solid #d7dde1;
  border-radius: 11px;
  outline: none;
  background: #fff;
  color: #1f2b38;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.contact-form input,
.contact-form select {
  height: 56px;
  padding: 0 15px;
}

.contact-form textarea {
  padding: 15px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.quick-form input:focus,
.quick-form select:focus,
.quick-form textarea:focus {
  border-color: #7ea5af;
  box-shadow: 0 0 0 3px rgba(126, 165, 175, 0.13);
}

.message-field {
  display: block;
  margin-top: 16px;
}

.contact-submit {
  margin-top: 22px;
  align-self: flex-start;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  color: var(--text);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-top: 80px;
  padding-bottom: 64px;
}

/* Brand column */
.footer-text {
  max-width: 360px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 26px;
  list-style: none;
  padding: 0;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  /* border: 1px solid var(--border); */
  border-radius: 10px;
  color: white;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

/* Base Shared Styling for smooth animations */
.facebook,
.linkedin,
.instagram {
  transition: all 0.3s ease;
  color: #ffffff; /* Ensures white icons/text stand out */
  cursor: pointer;
}

/* --- FACEBOOK --- */
.facebook {
  background-color: #0f9dfc;
}

.facebook:hover {
  background-color: #0866ff; /* Deeper professional blue accent */
  transform: translateY(-2px); /* Subtle elevate effect */
}

/* --- LINKEDIN --- */
.linkedin {
  background-color: #0a66c2; /* Official LinkedIn Blue (replaced generic blue) */
}

.linkedin:hover {
  background-color: #004182; /* Deep corporate blue accent */
  transform: translateY(-2px);
}

/* --- INSTAGRAM --- */
.instagram {
  /* Using standard brand multi-stop radial gradient placement */
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
  background-size: 100% 100%;
}

.instagram:hover {
  /* Shift angle dynamically via filter for a brilliant hover glow */
  filter: brightness(1.15) saturate(1.1);
  transform: translateY(-2px);
}

/* Column titles */
.footer-title {
  margin-bottom: 22px;
  font-family: var(--heading);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--text);
}

/* Link lists */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  position: relative;
  color: var(--muted);
  font-size: 15px;
  text-decoration: none;
  transition:
    color 0.25s ease,
    padding-left 0.25s ease;
}

.footer-links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: #ffffff;
  transition: width 0.25s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #ffffff;
  padding-left: 16px;
}

.footer-links a:hover::before,
.footer-links a:focus-visible::before {
  width: 10px;
}

/* Contact with icons */
.footer-contact {
  display: grid;
  gap: 16px;
  font-style: normal;
}

.footer-contact a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
  transition: color 0.25s ease;
}

.footer-contact a:hover,
.footer-contact a:focus-visible,
.footer-contact a:hover svg,
.footer-contact a:focus-visible svg {
  color: #ffffff;
}

/* Keyboard focus for all footer links */
.footer a:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Bottom bar ---------- */
.footer-bottom {
  background: rgba(0, 0, 0, 0.18); /* slightly darker strip than the footer */
  border-top: 1px solid var(--border);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 22px;
  color: var(--muted);
  font-size: 14px;
}

.footer-credit {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Web Technologies Pakistan credit ---------- */
.wtp-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #ffffff;
  transition: filter 0.3s ease;
}

.wtp-name {
  font-family: var(--heading);
  font-size: 21px;
  letter-spacing: 0.6px;
  line-height: 1.2;
  color: #ffffff; /* fallback for old browsers */
}

/* Silver light sweeping across the name */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .wtp-name {
    background: linear-gradient(
      110deg,
      #b8b8b8 0%,
      #b8b8b8 38%,
      #ffffff 50%,
      #b8b8b8 62%,
      #b8b8b8 100%
    );
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: wtp-shine 4.5s ease-in-out infinite;
  }
}

/* Footer social icons: solid white logos */
.footer-social a {
  color: #ffffff; /* beats the grey --muted colour */
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

/* Facebook + LinkedIn: fill the shape instead of outlining it */
.footer-social .facebook svg,
.footer-social .linkedin svg {
  fill: currentColor;
  stroke: none;
}

/* Instagram's real logo is an outline, so keep it - just make it bolder */
.footer-social .instagram svg {
  stroke-width: 2.4;
}

@keyframes wtp-shine {
  0% {
    background-position: 100% 0;
  }
  55%,
  100% {
    background-position: 0% 0;
  }
}

.wtp-arrow {
  width: 16px;
  height: 16px;
  color: var(--whatsapp);
  transition: transform 0.3s ease;
}

/* Underline that grows on hover */
.wtp-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--whatsapp);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.wtp-link:hover,
.wtp-link:focus-visible {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.35)); /* soft glow */
}

.wtp-link:hover::after,
.wtp-link:focus-visible::after {
  transform: scaleX(1);
}

.wtp-link:hover .wtp-arrow,
.wtp-link:focus-visible .wtp-arrow {
  transform: translate(3px, -3px);
}

/* Touch devices (no hover): show underline + glow by default */
@media (hover: none) {
  .wtp-link::after {
    transform: scaleX(1);
    opacity: 0.6;
  }

  .wtp-link {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
  }

  .wtp-link:active {
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.45));
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 44px 40px;
  }

  .footer-brand {
    grid-column: 1 / -1; /* brand takes full width on top */
  }
}

@media (max-width: 767px) {
  .footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .footer-contact {
    justify-content: center;
  }
  .footer-contact a {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    gap: 40px 24px;
    padding-top: 60px;
    padding-bottom: 48px;
  }

  .footer-contact-col,
  .footer-grid > .footer-col:last-child {
    grid-column: 1 / -1; /* contact full width, links stay 2 columns */
  }

  .footer-title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .footer-bottom-inner {
    flex-direction: column-reverse; /* credit on top, copyright below */
    text-align: center;
    gap: 14px;
  }

  .footer-credit {
    flex-direction: column;
    gap: 6px;
  }

  .wtp-name {
    font-size: 16px; /* even bigger on mobile */
  }
}

/* Respect users who turn off animations */
@media (prefers-reduced-motion: reduce) {
  .wtp-name {
    animation: none;
    background: none;
    color: #ffffff;
  }

  .footer-social a,
  .footer-links a,
  .wtp-link::after,
  .wtp-arrow {
    transition: none;
  }
}
/* ---------- Quick Contact Modal ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 8, 13, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.quick-modal {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100svh - 40px);
  overflow-y: auto;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(
      circle at top right,
      rgba(143, 180, 189, 0.14),
      transparent 34%
    ),
    #0b1219;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.44);
  transform: translateY(22px) scale(0.97);
  transition: transform 0.35s ease;
}

.modal-backdrop.open .quick-modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.modal-tag {
  margin-bottom: 6px;
  font-size: 48px;
}

.quick-modal h2 {
  margin-bottom: 8px;
  font-family: var(--heading);
  font-size: 40px;
  font-weight: 400;
}

.quick-modal > p:not(.section-tag) {
  margin-bottom: 24px;
  color: var(--muted);
}

.quick-form {
  display: grid;
  gap: 13px;
}

.quick-form input,
.quick-form select,
.quick-form textarea {
  min-height: 50px;
  padding: 12px 14px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
}

.quick-form select option {
  color: #111;
}

.quick-form textarea {
  resize: vertical;
}

/* ---------- Floating WhatsApp ---------- */
.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  animation: whatsappPulse 3.2s ease-out infinite;
}

.floating-whatsapp .whatsapp-icon {
  width: 30px;
  height: 30px;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.45);
}

.floating-whatsapp:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* Soft ring every few seconds - noticeable, not aggressive */
@keyframes whatsappPulse {
  0%,
  60% {
    box-shadow:
      0 12px 30px rgba(37, 211, 102, 0.35),
      0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  100% {
    box-shadow:
      0 12px 30px rgba(37, 211, 102, 0.35),
      0 0 0 14px rgba(37, 211, 102, 0);
  }
}

/* ---------- Reveal Animation ---------- */
/* Gated behind .js (added in <head>) so content is never hidden if JS fails */
.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-shell {
    min-height: 650px;
  }

  .contact-visual {
    min-height: 650px;
  }
}

@media (max-width: 1024px) {
  .header-btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 1002;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(340px, 88vw);
    height: 100svh;
    padding: 110px 28px 40px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow-y: auto;
    background: rgba(8, 14, 21, 0.985);
    border-left: 1px solid var(--border);
    transition: right 0.4s ease;
    z-index: 1001;
  }

  .nav.open {
    right: 0;
  }

  .nav > a,
  .nav-dropdown-toggle {
    width: 100%;
    padding: 15px 0;
    font-size: 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav > a::after,
  .nav-dropdown-toggle::after {
    display: none;
  }

  .nav-dropdown-toggle {
    justify-content: space-between;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    box-shadow: none;
    background: transparent;
    transition:
      max-height 0.35s ease,
      padding 0.35s ease;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    max-height: 280px;
    padding: 8px 0 8px 10px;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown-menu a {
    padding: 11px 12px;
    color: #bfcbd1;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .about-grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .about-image {
    min-height: 520px;
  }

  .about-image img {
    min-height: 520px;
  }

  .about-text {
    max-width: 760px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-layout {
    gap: 42px;
  }

  .contact-shell {
    grid-template-columns: 0.88fr 1.12fr;
  }

  .contact-form-panel {
    padding: 42px 34px;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 92px 0;
  }

  .container-wide {
    width: min(100% - 32px, 1380px);
  }

  .section-head-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-shell {
    grid-template-columns: 1fr;
  }

  .contact-visual {
    min-height: 460px;
  }

  .contact-visual-caption {
    left: 24px;
    right: 24px;
    bottom: 24px;
  }

  .hero-slider-dots {
    right: 18px;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(100% - 30px, 1200px);
  }

  .section {
    padding: 78px 0;
  }

  .section-tag {
    font-size: 48px;
  }

  .section-title {
    margin-top: -11px;
    font-size: clamp(34px, 10vw, 48px);
  }

  .hero-content {
    padding-top: 60px;
  }

  .hero-title {
    font-size: clamp(82px, 28vw, 140px);
  }

  .hero-kicker {
    letter-spacing: 4px;
  }

  .hero-text {
    max-width: 92%;
    font-size: 15px;
  }

  .hero-slider-dots {
    top: auto;
    right: auto;
    left: 50%;
    bottom: 84px;
    flex-direction: row;
    transform: translateX(-50%);
  }

  .hero-slider-dots button.active {
    width: 28px;
    height: 9px;
  }

  .about-image,
  .about-image img {
    min-height: 410px;
  }

  .about-image-badge {
    right: 14px;
    bottom: 14px;
  }

  .services-grid,
  .flip-grid,
  .stats-grid,
  .blog-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 260px;
  }

  .flip-card {
    height: 290px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-panel {
    padding: 36px 24px;
  }

  .contact-form-panel h2 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .contact-submit {
    width: 100%;
  }

  .footer-grid,
  .footer-bottom {
    text-align: center;
  }

  .footer-text {
    margin-inline: auto;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }

  .quick-modal {
    padding: 34px 22px 24px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    width: min(320px, 100%);
    margin-inline: auto;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .about-image,
  .about-image img {
    min-height: 350px;
  }

  .about-image-badge {
    left: 14px;
    right: auto;
  }

  .service-card {
    padding: 28px 24px;
  }

  .service-number {
    margin-bottom: 42px;
  }

  .faq-item.active .faq-answer p {
    padding-right: 8px;
  }

  .contact-visual {
    min-height: 360px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

.contact-submit {
  color: white !important;
  background-color: rgb(16, 173, 16) !important;
}

/* =========================================================
   SHARED ADDITIONS (all pages)
   Built only from the existing tokens, buttons and section styles.
   ========================================================= */

/* ---------- Current page in navigation ---------- */
.nav-dropdown-menu a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

@media (max-width: 1024px) {
  .nav > a.active,
  .nav-dropdown-toggle.is-active {
    padding-left: 12px;
    box-shadow: inset 3px 0 0 #fff;
  }
}

/* Light-section text links: darker gray so they pass contrast on light backgrounds */
.about .text-link {
  color: var(--accent-2);
}

/* FAQ question wrapped in a heading (inner pages) */
.faq-heading {
  margin: 0;
  font: inherit;
}

/* WhatsApp action button (white text on a darker green for readable contrast) */
.btn-whatsapp {
  background: #0f7d36;
  color: #fff;
  box-shadow: 0 12px 28px rgba(15, 125, 54, 0.28);
}

.btn-whatsapp:hover {
  background: #0b6a2d;
}

.btn-whatsapp .whatsapp-icon {
  width: 20px;
  height: 20px;
}

.btn:focus-visible {
  outline: 3px solid var(--accent-light);
  outline-offset: 3px;
}

/* ---------- Footer: labelled contact items + location strip ---------- */
.footer-contact span small,
.footer-location__text small {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.footer-grid {
  padding-bottom: 48px;
}

.footer-location {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 48px;
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  transition:
    border-color 0.25s ease,
    background 0.25s ease;
}

.footer-location__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--bg-alt);
}

.footer-location__icon svg {
  width: 20px;
  height: 20px;
}

.footer-location__text {
  flex: 1;
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
}

.footer-location__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.footer-location__cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.footer-location:hover,
.footer-location:focus-visible {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.07);
}

.footer-location:hover .footer-location__cta svg {
  transform: translate(3px, -3px);
}

@media (max-width: 767px) {
  .footer-location {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* =========================================================
   INNER PAGES
   ========================================================= */

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  min-height: clamp(480px, 74svh, 700px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 150px 0 84px;
  background: #1c1c1c;
  color: #fff;
}

.page-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 9, 14, 0.82) 0%,
      rgba(5, 9, 14, 0.5) 55%,
      rgba(5, 9, 14, 0.25) 100%
    ),
    linear-gradient(180deg, rgba(5, 9, 14, 0.35), rgba(5, 9, 14, 0.7));
}

.page-hero__content {
  position: relative;
  z-index: 2;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: #fff;
}

.page-hero__title {
  max-width: 14ch;
  margin-bottom: 20px;
  font-family: var(--heading);
  font-size: clamp(54px, 8.6vw, 116px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.005em;
}

.page-hero__title span {
  color: var(--accent);
}

.page-hero__text {
  max-width: 600px;
  color: #d5dce1;
  font-size: clamp(16px, 1.5vw, 18px);
}

.page-hero__actions {
  justify-content: flex-start;
  margin-top: 30px;
}

@media (max-width: 767px) {
  .page-hero {
    min-height: 460px;
    padding: 140px 0 60px;
  }

  .page-hero__title {
    font-size: clamp(46px, 14vw, 72px);
  }

  .page-hero__actions .btn {
    flex: 1 1 auto;
  }
}

/* ---------- Text intro on light sections ---------- */
.section-intro--dark {
  color: var(--text-dark-soft);
}

/* ---------- Split image + text (reuses About layout) ---------- */
.split-image,
.split-image img {
  min-height: 480px;
}

.about-grid--reverse {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.about-grid--reverse .split-image {
  order: 2;
}

@media (max-width: 1024px) {
  .about-grid--reverse {
    grid-template-columns: 1fr;
  }

  .about-grid--reverse .split-image {
    order: 0;
  }
}

@media (max-width: 767px) {
  .split-image,
  .split-image img {
    min-height: 320px;
  }
}

/* ---------- Static service cards (not links) ---------- */
.services-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.service-card--static {
  min-height: 0;
}

.service-card--static .service-number {
  margin-bottom: 34px;
}

.service-card--static:hover {
  transform: none;
}

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

/* ---------- Process timeline ---------- */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  list-style: none;
}

.process-step {
  position: relative;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.process-step::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: currentColor;
}

.process-step__num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--heading);
  font-size: 46px;
  line-height: 1;
  color: var(--accent);
}

.process-step h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.process-step p {
  color: var(--muted);
  font-size: 15px;
}

/* Light version */
.faq .process-step {
  border-top-color: rgba(23, 34, 54, 0.2);
  color: var(--text-dark);
}

.faq .process-step__num {
  color: var(--accent-2);
}

.faq .process-step p,
.faq .section-intro {
  color: var(--text-dark-soft);
}

@media (max-width: 1024px) {
  .process-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 44px 32px;
  }
}

@media (max-width: 600px) {
  .process-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- Channel strip ---------- */
.channel-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
}

.channel-strip--3 {
  grid-template-columns: repeat(3, 1fr);
}

.channel {
  padding: 34px 28px;
  background: var(--bg-alt);
}

.channel__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: #fff;
}

.channel__icon svg {
  width: 22px;
  height: 22px;
}

.channel h3 {
  margin: 22px 0 8px;
  font-size: 20px;
}

.channel p {
  color: var(--muted);
  font-size: 15px;
}

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

@media (max-width: 767px) {
  .channel-strip,
  .channel-strip--3 {
    grid-template-columns: 1fr;
  }

  .channel {
    padding: 28px 22px;
  }
}

/* ---------- Numbered list (values / scorecard) ---------- */
.values-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(50px, 7vw, 100px);
  align-items: start;
}

.values-intro > p:not(.section-tag) {
  max-width: 460px;
  margin-top: 22px;
  color: var(--text-dark-soft);
}

.values-list {
  list-style: none;
  border-top: 1px solid rgba(23, 34, 54, 0.16);
}

.value-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-template-areas:
    "num title"
    "num text";
  column-gap: 12px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(23, 34, 54, 0.16);
}

.value-row__num {
  grid-area: num;
  font-family: var(--heading);
  font-size: 36px;
  line-height: 1;
  color: var(--accent-2);
}

.value-row h3 {
  grid-area: title;
  margin-bottom: 4px;
  font-size: 20px;
  color: var(--text-dark);
}

.value-row p {
  grid-area: text;
  color: var(--text-dark-soft);
}

/* Dark version */
.values-dark .values-intro > p:not(.section-tag) {
  color: var(--muted);
}

.values-dark .values-list,
.values-dark .value-row {
  border-color: var(--border);
}

.values-dark .value-row__num {
  color: var(--accent);
}

.values-dark .value-row h3 {
  color: #fff;
}

.values-dark .value-row p {
  color: var(--muted);
}

@media (max-width: 1024px) {
  .values-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 480px) {
  .value-row {
    grid-template-columns: 52px 1fr;
  }

  .value-row__num {
    font-size: 30px;
  }
}

/* ---------- Reasons (About) ---------- */
.reasons-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(46px, 7vw, 100px);
  align-items: start;
}

.reasons-intro .section-intro {
  margin-left: 0;
}

.reason-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 36px;
}

.reason-list li {
  padding: 24px 0 30px;
  border-top: 1px solid var(--border);
}

.reason-list h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.reason-list p {
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 1024px) {
  .reasons-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .reason-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- Full-width image band ---------- */
.image-band {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #1c1c1c;
  color: #fff;
}

.image-band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-band__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(5, 9, 14, 0.85),
    rgba(5, 9, 14, 0.15) 70%
  );
}

.image-band__content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
}

.image-band__title {
  margin-bottom: 14px;
  font-family: var(--heading);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.05;
}

.image-band__content p:not(.hero-kicker) {
  max-width: 560px;
  margin-bottom: 20px;
  color: #d5dce1;
}

.image-band .text-link {
  color: #fff;
}

@media (max-width: 767px) {
  .image-band {
    min-height: 440px;
  }

  .image-band__content {
    padding: 56px 0;
  }
}

/* ---------- Service rows (Services page) ---------- */
.service-rows {
  display: grid;
  gap: 28px;
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  overflow: hidden;
  border: 1px solid rgba(23, 34, 54, 0.1);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 20px 50px rgba(27, 46, 55, 0.08);
}

.service-row:nth-child(even) .service-row__media {
  order: 2;
}

.service-row__media {
  display: block;
  overflow: hidden;
}

.service-row__media img {
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-row:hover .service-row__media img {
  transform: scale(1.04);
}

.service-row__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4vw, 56px);
  color: var(--text-dark);
}

.service-row .service-number {
  margin-bottom: 14px;
  color: var(--accent-2);
}

.service-row__title {
  margin-bottom: 10px;
  font-family: var(--heading);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.1;
}

.service-row__title a:hover {
  color: var(--accent-2);
}

.service-row__body > p {
  color: var(--text-dark-soft);
}

.service-row .check-list {
  margin: 16px 0 22px;
}

.service-row .check-list li {
  padding-block: 10px;
}

.service-row .check-list li::before {
  top: 10px;
}

.service-row .text-link {
  color: var(--text-dark);
}

@media (max-width: 900px) {
  .service-row {
    grid-template-columns: 1fr;
  }

  .service-row:nth-child(even) .service-row__media {
    order: 0;
  }

  .service-row__media img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

/* ---------- Related services ---------- */
.related {
  padding: 60px 0;
  background: var(--bg-alt-2);
  border-top: 1px solid var(--border);
}

.related__inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.related__title {
  flex-shrink: 0;
  font-family: var(--heading);
  font-size: 30px;
  font-weight: 400;
}

.related__list {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  transition:
    border-color 0.25s ease,
    background 0.25s ease;
}

.related-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.related-link:hover,
.related-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.related-link:hover svg {
  transform: translate(3px, -3px);
}

@media (max-width: 1024px) {
  .related__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }
}

@media (max-width: 767px) {
  .related__list {
    grid-template-columns: 1fr;
  }
}

/* ---------- CTA band ---------- */
.cta-band {
  padding: 100px 0;
  /* background: var(--bg-alt); */
  border-top: 1px solid var(--border);
  color: #fff;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-band__title {
  max-width: 16ch;
  font-family: var(--heading);
  font-size: clamp(36px, 4.4vw, 58px);
  font-weight: 400;
  line-height: 1.25;
}

.cta-band__inner p {
  max-width: 520px;
  margin-top: 14px;
  color: var(--muted);
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .cta-band {
    padding: 76px 0;
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .cta-band__actions,
  .cta-band__actions .btn {
    width: 100%;
  }
}

/* ---------- Blog page ---------- */
.blog-grid--3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.blog-card--static:hover {
  transform: none;
  border-color: var(--border);
}

.blog-card--static:hover .blog-image img {
  transform: none;
}

.blog-card--static .blog-content h3 {
  min-height: 0;
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.35;
}

.blog-excerpt {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 1180px) {
  .blog-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .blog-grid--3 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Contact page ---------- */
.contact-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: stretch;
}

.contact-info {
  padding: clamp(30px, 4vw, 52px);
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  color: #fff;
}

.contact-info__title,
.contact-card__title {
  font-family: var(--heading);
  font-size: clamp(34px, 3.6vw, 46px);
  font-weight: 400;
  line-height: 1.08;
}

.contact-info__lead {
  margin: 12px 0 26px;
  color: var(--muted);
}

.contact-info__list li {
  border-top: 1px solid var(--border);
}

.contact-info__list a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.contact-info__list small {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.contact-info__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 50%;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.contact-info__icon svg {
  width: 20px;
  height: 20px;
}

.contact-info__icon--wa {
  border-color: transparent;
  background: var(--whatsapp);
}

.contact-info__list a:hover .contact-info__icon:not(.contact-info__icon--wa),
.contact-info__list
  a:focus-visible
  .contact-info__icon:not(.contact-info__icon--wa) {
  background: #fff;
  color: var(--bg-alt);
}

.contact-card {
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(23, 34, 54, 0.1);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 30px 80px rgba(27, 46, 55, 0.1);
  color: var(--text-dark);
}

.contact-card__lead {
  margin: 10px 0 28px;
  color: var(--text-dark-soft);
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
}

.field .req {
  color: #b42318;
}

.field .opt {
  color: var(--text-dark-soft);
  font-size: 13px;
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  height: 54px;
  padding: 0 15px;
  border: 1px solid #c4c9ce;
  border-radius: 11px;
  background: #fff;
  color: #1f2b38;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.field textarea {
  height: auto;
  padding: 14px 15px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--bg-alt);
  box-shadow: 0 0 0 3px rgba(55, 55, 55, 0.18);
}

.field [aria-invalid="true"] {
  border-color: #b42318;
}

.field-error {
  margin-top: 6px;
  color: #b42318;
  font-size: 13px;
}

.field-error:empty {
  margin: 0;
}

.contact-form-v2 > .field {
  margin-top: 16px;
}

.contact-card__submit {
  margin-top: 22px;
}

@media (max-width: 1024px) {
  .contact-page__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .contact-card__submit {
    width: 100%;
  }
}

/* ---------- Location (Contact page) ---------- */
.location__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.location__address {
  max-width: 460px;
  margin: 22px 0 28px;
  color: #fff;
  font-size: 18px;
  font-style: normal;
  line-height: 1.6;
}

.location__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.map-facade {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.04) 0 1px,
      transparent 1px 44px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04) 0 1px,
      transparent 1px 44px
    ),
    var(--bg-alt-2);
}

.map-facade__inner {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  padding: 20px;
  text-align: center;
  color: #fff;
}

.map-facade__pin {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  color: var(--bg-alt);
}

.map-facade__pin svg {
  width: 26px;
  height: 26px;
}

.map-facade iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 900px) {
  .location__grid {
    grid-template-columns: 1fr;
  }

  .map-facade {
    aspect-ratio: 4 / 3;
  }
}

/* Keeps the decorative frame behind About/split images from causing sideways scroll on mobile */
.about {
  overflow: hidden;
}

.breadcrumb ol {
  list-style: none;
}

/* Mobile menu: stop the desktop centring transform shifting the Services sub-menu off-screen */
@media (max-width: 1024px) {
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu,
  .nav-dropdown.open .nav-dropdown-menu {
    transform: none;
  }

  .nav-dropdown-menu a:hover {
    transform: none;
  }

  .nav {
    background: #16181b;
  }
}

/* UPDATED CODE FOR FOOTER CONTACT INFO  */

/* =========================================================
   FOOTER CONTACT - minimal, coloured icons (all screens)
   Coloured round icon | small label | bold value
   ========================================================= */
.footer-contact {
  display: grid;
  gap: 18px;
  font-style: normal;
  text-align: left;
}

.footer-contact a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  color: #ffffff;
  text-decoration: none;
}

/* Round icon: white symbol on its own brand colour (visible without hover) */
.footer-contact svg {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  margin: 0;
  padding: 10px;
  border-radius: 50%;
  color: #ffffff;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* WhatsApp icon is a filled shape, so slightly less padding */
.footer-contact .footer-wa-icon {
  padding: 9px;
}

/* Each icon's own colour (matched by its link, no HTML change needed) */
.footer-contact a[href^="https://wa.me"] svg {
  background: #25d366; /* WhatsApp green */
}

.footer-contact a[href^="tel:"] svg {
  background: #3b82f6; /* Phone blue */
}

.footer-contact a[href^="mailto:info"] svg {
  background: #ea4335; /* Email red */
}

.footer-contact a[href^="mailto:hr"] svg {
  background: #f59e0b; /* Careers amber */
}

/* Text: small label on top, value below */
.footer-contact a > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: #ffffff;
  overflow-wrap: anywhere;
}

.footer-contact a > span small {
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.25s ease;
}

/* Laptop/desktop only: a small, subtle hover (touch screens skip this) */
@media (hover: hover) {
  .footer-contact a:hover svg {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  }

  .footer-contact a:hover > span small {
    color: rgba(255, 255, 255, 0.85);
  }
}

/* Keyboard users get the same feedback */
.footer-contact a:focus-visible svg {
  transform: translateY(-2px);
}

/* ---------- Mobile: no box, no lines - just a clean centred list ---------- */
@media (max-width: 767px) {
  .service-arrow {
    position: absolute;
    right: 11px;
    bottom: 11px;
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    transition:
      background 0.3s ease,
      color 0.3s ease,
      transform 0.3s ease;
  }

  .footer-contact {
    width: fit-content; /* list shrinks to its content... */
    max-width: 100%;
    margin-inline: auto; /* ...and sits in the centre, while rows stay left-aligned */
    justify-content: start;
    gap: 20px;
  }

  .footer-contact a {
    justify-content: flex-start; /* overrides the old centring */
  }

  .footer-contact a > span {
    font-size: 16px;
  }
}

/* =========================================================
   SERVICES MENU: "Services" text = link, arrow = dropdown button
   ========================================================= */
.nav-dropdown-head {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* "Services" link looks exactly like the other nav links */
.nav-dropdown-link {
  position: relative;
  color: #fff;
  font-size: 18px;
  font-weight: 850;
  transition: color 0.25s ease;
}

.nav-dropdown-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-link::after,
.nav-dropdown:focus-within .nav-dropdown-link::after,
.nav-dropdown-link.active::after {
  transform: scaleX(1);
}

/* Arrow button: only the arrow, no underline of its own */
.nav-dropdown-toggle {
  padding: 4px;
  line-height: 0;
}

.nav-dropdown-toggle::after {
  display: none;
}

.nav-dropdown-toggle:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- Mobile menu ---------- */
@media (max-width: 1024px) {
  .nav-dropdown-head {
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-dropdown-link {
    flex: 1;
    padding: 15px 0;
    font-size: 16px;
  }

  .nav-dropdown-link::after {
    display: none;
  }

  .nav-dropdown-link.active {
    padding-left: 12px;
    box-shadow: inset 3px 0 0 #fff;
  }

  /* Arrow becomes a separate, easy-to-tap button */
  .nav-dropdown-toggle {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    padding: 0;
    justify-content: center;
    border-bottom: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-dropdown-toggle svg {
    width: 18px;
    height: 18px;
  }

  /* Arrow points down when closed, up only when the list is open */
  .nav-dropdown:hover .nav-dropdown-toggle svg,
  .nav-dropdown:focus-within .nav-dropdown-toggle svg {
    transform: none;
  }

  .nav-dropdown.open .nav-dropdown-toggle svg {
    transform: rotate(180deg);
  }
}

/* Flip cards: remove the light edge around the images */
.flip-front,
.flip-back {
  border: 0; /* no hairline border on the photo */
  -webkit-backface-visibility: hidden; /* Safari needs the -webkit- version */
  backface-visibility: hidden;
}

.flip-front {
  transform: rotateX(0deg); /* puts the front on its own clean 3D layer */
  background-color: #1c1c1c; /* dark base so edge pixels blend into the dark section */
}

.flip-back {
  transform: rotateX(180deg); /* keeps the back fully hidden until hovered */
}
