/* KernelSphere - CAD Gulf style theme */
:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f5f7fa;
  --color-bg-dark: #1a2332;
  --color-text: #1a2332;
  --color-text-muted: #5a6c7d;
  --color-accent: #168b5e;
  --color-accent-hover: #0a724a;
  --color-border: #e1e6eb;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --font-sans: var(--sans);
  --font-heading: var(--sans);
  --max-width: 1200px;
  --section-pad: 4rem 1.5rem;
  --header-h: 72px;
  --transition: 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

/* Scroll offset for fixed header (anchor links) */
[id] {
  scroll-margin-top: var(--header-h);
}

/* Header – overlays hero, transparent at top; black gradient when scrolled */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 1.5rem;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  height: 110px;
}

.header--scrolled {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0%, rgba(15, 15, 20, 0.88) 100%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--transition);
}

.logo:hover {
  opacity: 0.9;
}

.logo-img {
  display: block;
  height: 50px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0;
}

/* Over hero / dark: light nav; when scrolled same */
.header .nav > a,
.header .nav-item-link {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}

.header .nav > a:hover,
.header .nav-item-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.nav-item {
  position: relative;
}

.nav-item-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: color var(--transition), background var(--transition);
}

.nav-item-trigger:hover,
.nav-item.open .nav-item-trigger {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.nav-item-trigger::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 2px;
  transition: transform var(--transition);
}

.nav-item.open .nav-item-trigger::after {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  margin-top: 4px;
}

.nav-item:hover .dropdown,
.nav-item.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: background var(--transition), color var(--transition);
}

.dropdown a:hover {
  background: rgba(0, 102, 204, 0.08);
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.nav-toggle__bar::before { top: -6px; }
.nav-toggle__bar::after { top: 6px; }

@media (max-width: 980px) {
  .header {
    height: auto;
    min-height: var(--header-h);
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
  }

  .header-inner {
    align-items: center;
    gap: 0.5rem;
  }

  .logo-img {
    height: 38px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    margin-top: 0.5rem;
    padding: 0.75rem;
    border-radius: 10px;
    background: rgba(8, 12, 20, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .header.header--menu-open .nav {
    display: flex;
  }

  .header .nav > a,
  .nav-item-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 0.7rem 0.8rem;
  }

  .nav-item {
    width: 100%;
  }

  .dropdown {
    position: static;
    min-width: 0;
    margin-top: 0;
    box-shadow: none;
    border-radius: 8px;
    border-color: rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    transform: none;
    background: rgba(255, 255, 255, 0.98);
  }

  .nav-item.open .dropdown {
    opacity: 1;
    visibility: visible;
    max-height: 600px;
    padding: 0.5rem 0;
    margin-top: 0.25rem;
  }

  /* Mobile hero: avoid squeezed first fold */
  .hero {
    height: auto;
    min-height: 100svh;
    padding-top: calc(var(--header-h) + 2rem);
    padding-bottom: 2.5rem;
    align-items: flex-start;
  }

  .hero__copy {
    max-width: 100%;
  }

  .hero__title {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
    line-height: 1.22;
  }

  .hero__sub {
    font-size: 0.95rem;
  }

  .hero__cta {
    margin-bottom: 1.25rem;
  }

  .hero__meta {
    gap: 0.5rem;
  }

  .pill {
    font-size: 0.78rem;
    padding: 0.35rem 0.6rem;
  }
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  background: var(--color-accent);
  color: #fff !important;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform 0.2s ease;
}

.btn:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent) !important;
}

.btn-outline:hover {
  background: rgba(0, 102, 204, 0.08);
}

/* Hero with carousel – full first fold, no gap; content left-aligned, vertically centered */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: 4rem 1.5rem;
  overflow: hidden;
}

/* Fade carousel – 1.5s transition, 3s per slide */
.hero__carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #030b18;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero__slide--active {
  opacity: 1;
  z-index: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgb(0 19 41) 0%, rgb(1 9 22 / 30%) 50%, rgb(1 49 34) 100%);
  pointer-events: none;
}

/* Same horizontal layout as .header-inner so banner content aligns with logo left edge */
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding-left: 0;
  align-self: center;
}

.hero__copy {
  max-width: 720px;
}

.hero__copy.reveal.is-in .eyebrow,
.hero__copy.reveal.is-in .hero__title,
.hero__copy.reveal.is-in .hero__sub,
.hero__copy.reveal.is-in .hero__cta,
.hero__copy.reveal.is-in .hero__meta {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero__title {
  font-size: clamp(1.85rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 1rem;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease 0.08s, transform 0.6s ease 0.08s;
}

.hero__title .grad {
  background: linear-gradient(120deg, #6ee7b7, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__title .grad2 {
  background: linear-gradient(120deg, #93c5fd, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__title .grad3 {
  background: linear-gradient(120deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 1.75rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease 0.16s, transform 0.6s ease 0.16s;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease 0.24s, transform 0.6s ease 0.24s;
}

.hero__cta .btn {
  min-width: 140px;
  text-align: center;
}

.btn--ghost {
  background: transparent !important;
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: #fff !important;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: #fff;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease 0.32s, transform 0.6s ease 0.32s;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.4rem 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

.pill .dot2 {
  background: #60a5fa;
  animation-delay: 0.3s;
}

.pill .dot3 {
  background: #f59e0b;
  animation-delay: 0.6s;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section common */
.section {
  padding: var(--section-pad);
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  text-align: center;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  text-align: center;
  margin: 0 0 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.section-alt {
  background: var(--color-bg-alt);
}

/* Cards section – overlaps hero with -80px, dark patterned background */
.section-cards {
  margin-top: -80px;
  padding: 0 1.5rem 4rem;
  position: relative;
  z-index: 2;
  /* background: linear-gradient(180deg, #1a2332 0%, #0f1419 100%);
  background-image:
    linear-gradient(180deg, #1a2332 0%, #0f1419 100%),
    url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02' fill-rule='evenodd'%3E%3Cpath d='M0 20h40v20H0V20zm20 0h20V0H20v20z'/%3E%3C/g%3E%3C/svg%3E"); */
}

.section-cards .cards {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}

.card:hover {
  background: linear-gradient(135deg, #4aa3ff 0%, #2ee59d 50%, #b56dff 100%);
  border-color: transparent;
  box-shadow: 0 20px 50px rgba(74, 163, 255, 0.35), 0 12px 28px rgba(0, 0, 0, 0.2);
  transform: translateY(-6px);
}

.card:hover .card__icon,
.card:hover h3,
.card:hover p,
.card:hover a {
  color: #fff;
}

.card:hover a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  color: var(--color-accent);
  transition: color 0.35s ease;
}

.card__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  transition: color 0.35s ease;
}

.card p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  transition: color 0.35s ease;
}

.card a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap var(--transition), color 0.35s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.card a:hover {
  gap: 0.6rem;
}

.card a::after {
  content: '→';
}

/* Solutions at a glance – card style on light background with visible border and shadow */
.section-solutions .cards {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-solutions .card {
  border-color: var(--color-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.section-solutions .card:hover {
  box-shadow: 0 16px 40px rgba(74, 163, 255, 0.2), 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Intro block – white background, two columns: left image + badge, right content; then side-by-side highlights */
.intro {
  padding: var(--section-pad);
  background: var(--color-bg);
  color: var(--color-text);
}

.intro__grid {
  max-width: var(--max-width);
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .intro__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  .intro__media {
    order: 1;
  }
  .intro__content {
    order: 2;
  }
}

.intro__media {
  position: relative;
}

/* Image addons: frame, shadow, accent border */
.intro__img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  
}

.intro__img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  opacity: 0.9;
  border-radius: 0 0 12px 12px;
}

.intro__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  vertical-align: middle;
}

/* Badge on intro image */
.intro__badge {
  position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #1a2332, #2d3f5f);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    /* border-radius: 8px; */
    box-shadow: 0 4px 19px 2px rgb(0 0 0 / 35%);
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
}

.intro__content {
  text-align: left;
}

.intro__content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--color-text);
}

.intro__content p {
  color: var(--color-text-muted);
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Side-by-side blocks inside intro (Trusted reseller, Security & surveillance) */
.intro__highlights {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

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

.intro__highlight {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.intro__highlight:hover {
  border-color: var(--color-accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.intro__highlight h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
}

.intro__highlight p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Highlights */
.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: var(--section-pad);
  max-width: var(--max-width);
  margin: 0 auto;
}

.highlight {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1.75rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.highlight:hover {
  border-color: var(--color-accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.highlight h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
}

.highlight p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* Stats – full width, professional background, animated counters */
.stats {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 1.5rem;
  text-align: center;
  overflow: hidden;
}

span.stat-num-value {
  font-size: 4rem;
}
span.stat-num-suffix {
  font-size: 3rem;
  position: absolute;
  top: 8px;
  right: 142px;
  color: #3ca4ee;
}

span.label-text {
  font-size: 1.5rem;
  max-width: 180px;
  word-wrap: break-word;
  display: block;
  line-height: 30px;
  padding-left: 30px;
}
.stats__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, #1a233294 0%, #0f1923e1 50%, #1a2f3d 100%),
    url("../assets/images/build.jpg");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed, fixed;
}

.stats__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 640px) {
  .stats__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.stat {
  padding: 0 1rem;
}

.stat-num {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.stat-num-value {
  display: inline-block;
  min-width: 1.2em;
}

.stat-num-suffix {
  color: rgba(255, 255, 255, 0.9);
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Technology Blogs – after counter */
.blogs {
  padding: 4rem 1.5rem;
  background: var(--color-bg);
}

.blogs__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.blogs__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.blogs__sub {
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.blogs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

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

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

.blog-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--transition), transform var(--transition);
}

.blog-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.blog-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.blog-card__img-wrap {
  position: relative;
  aspect-ratio: 400 / 240;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}

.blog-card:hover .blog-card__img {
  transform: scale(1.04);
}

.blog-card__content {
  padding: 1.35rem 1.25rem;
}

.blog-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  line-height: 1.35;
  transition: color var(--transition);
}

.blog-card__link:hover .blog-card__title {
  color: var(--color-accent);
}

.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.blog-card__read {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-card__read::after {
  content: '→';
  font-weight: 400;
}

.blogs__cta {
  margin-top: 2.5rem;
  text-align: center;
}

/* Free Consultation CTA – footer.jpg background, left content + right button */
.cta-consultation {
  position: relative;
  padding: 4rem 1.5rem;
  overflow: hidden;
}

.cta-consultation__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(26, 35, 50, 0.88) 0%, rgba(15, 25, 40, 0.9) 100%),
    url("../assets/images/footer.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cta-consultation__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.02) 2px,
    rgba(255, 255, 255, 0.02) 4px
  );
  pointer-events: none;
}

.cta-consultation__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-consultation__content {
  flex: 1 1  min(100%, 520px);
}

.cta-consultation__content h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: #fff;
  line-height: 1.35;
}

.cta-consultation__highlight {
  color: #f97316;
}

.cta-consultation__content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
}

.cta-consultation__action {
  flex-shrink: 0;
}

.btn--cta {
  background: #f97316 !important;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
}

.btn--cta:hover {
  background: #ea580c !important;
  box-shadow: 0 6px 24px rgba(249, 115, 22, 0.45);
}

/* Clients / partners section */
.clients {
  padding: 4rem 1.5rem;
  background: var(--color-bg-alt);
}

.clients__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.clients__title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.clients__sub {
  margin: 0 0 2.5rem;
  color: var(--color-text-muted);
  font-size: 1rem;
}

.clients__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  justify-items: stretch;
  border: 1px solid #f2f2f2;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

@media (max-width: 720px) {
  .clients__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .client:nth-child(5n) {
    border-right: 1px solid #f2f2f2;
  }
  .client:nth-child(2n) {
    border-right: none;
  }
  .client:nth-child(n+9) {
    border-bottom: none;
  }
}

.client {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  padding: 20px 15px;
  border-right: 1px solid #f2f2f2;
  border-bottom: 1px solid #f2f2f2;
  transition: background var(--transition);
}

.client:nth-child(5n) {
  border-right: none;
}

.client:nth-child(n+6) {
  border-bottom: none;
}


.client img {
  display: block;
  width: auto;
  height: auto;
  max-height: 52px;
  max-width: 120px;
  object-fit: contain;
  object-position: center;
}

/* CTA block (generic) */
.cta-block {
  padding: 4rem 1.5rem;
  text-align: center;
  background: var(--color-bg);
}

.cta-block h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--color-text);
}

.cta-block p {
  max-width: 560px;
  margin: 0 auto 1.5rem;
  color: var(--color-text-muted);
  font-size: 1rem;
}

/* Page hero (inner pages) */
/* Breadcrumb (internal pages) */
.breadcrumb-wrapper {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  overflow: hidden;
}

.breadcrumb-wrapper.bg-cover {
  background-size: cover;
}

.breadcrumb-wrapper::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  content: "";
  background-image: linear-gradient(270.07deg, #198754 0.07%, #00060C 99.95%);
  opacity: 0.75;
}

.breadcrumb-wrapper .container {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.breadcrumb-wrapper .page-heading {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.breadcrumb-wrapper .page-heading h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
}

.breadcrumb-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}

.breadcrumb-items li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb-items a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color var(--transition);
}

.breadcrumb-items a:hover {
  color: #fff;
}

.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
  pointer-events: none;
}

.breadcrumb-wrapper .border-shape,
.breadcrumb-wrapper .line-shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.breadcrumb-wrapper .border-shape {
  top: 0;
  left: 0;
}

.breadcrumb-wrapper .line-shape {
  bottom: 0;
  right: 0;
}

.breadcrumb-wrapper .border-shape img,
.breadcrumb-wrapper .line-shape img {
  display: block;
  max-width: 100%;
  height: auto;
  opacity: 0.4;
}

.page-hero {
  background: linear-gradient(135deg, #1a2332 0%, #2d3f5f 100%);
  padding: 3rem 1.5rem;
  text-align: center;
  color: #fff;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
}

.page-hero p {
  margin: 0.5rem 0 0;
  opacity: 0.9;
  font-size: 1rem;
}

/* Content sections (inner pages) */
.content-section {
  padding: 3rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.content-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--color-text);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-accent);
}

.content-section p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.content-section ul {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
  color: var(--color-text-muted);
}

/* About page: alternating left-right rows with scroll reveal */
.about-row {
  padding: 4rem 1.5rem;
  overflow: hidden;
}

.about-row.section-alt {
  background: var(--color-bg-alt);
}

.about-row__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}


.about-row__content {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.about-row__media {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.about-row--reveal .about-row__content {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}

.about-row--reveal .about-row__media {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}

.about-row__kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

.about-row__content h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--color-text);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-accent);
}

.about-row__content p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.about-row__content p:last-of-type {
  margin-bottom: 0;
}

.about-row__list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.about-row__list li {
  margin-bottom: 0.35rem;
}

.about-row__img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.about-row__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 280px;
}

.about-row__deco {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  pointer-events: none;
}

.about-row__deco--right {
  left: auto;
  right: 0;
  background: linear-gradient(270deg, var(--color-accent), transparent);
}

@media (max-width: 900px) {
  .about-row__inner,
  .about-row__inner--reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }
  .about-row__media {
    order: -1;
  }
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.service-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.service-item:hover {
  border-color: var(--color-accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.service-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
}

.service-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Contact page: main two-column (left card + right form) */
.contact-main {
  padding: 3rem 1.5rem 4rem;
  background: var(--color-bg);
}

.contact-main__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

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

/* Left: contact card (accent top + image) */
.contact-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--color-border);
}

.contact-card__top {
  background: var(--color-accent);
  padding: 1.75rem 1.5rem;
  color: #fff;
}

.contact-card__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 20px;
  border-bottom: 1px dashed #ffffff45;
}

.contact-card__row:last-child {
  margin-bottom: 0;
}

.contact-card__icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  margin-top: 0.15rem;
  border-radius: 50%;
  border: 1px dashed;
  padding: 15px;
}

.contact-card__icon svg {
  width: 100%;
  height: 100%;
  stroke: #fff;
}

.contact-card__label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.95;
  margin-bottom: 0.2rem;
}

.contact-card__value {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  word-break: break-word;
  transition: opacity var(--transition);
}

a.contact-card__value:hover {
  opacity: 0.9;
}

.contact-card__img {
  display: block;
  line-height: 0;
  background: var(--color-bg-alt);
}

.contact-card__img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 280px;
}

/* Right: form */
.contact-form-wrap {
  padding: 0;
}

.contact-main-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-text);
}

.contact-intro {
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form h3 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.form label em {
  color: var(--color-accent);
  font-style: normal;
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.95rem;
}

.form label span {
  font-weight: 500;
  color: var(--color-text);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form textarea {
  resize: vertical;
  min-height: 100px;
}

.form input[type="file"] {
  padding: 0.5rem 0;
}

.form-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.careers-form-section .form {
  max-width: 520px;
}

.careers-form-intro {
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
}

#careersFormStatus.success { color: var(--color-accent); }
#careersFormStatus.error { color: #c00; }

.btn--block {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.btn__shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn--block:hover .btn__shine {
  left: 100%;
}

.btn--submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn__arrow {
  font-size: 1.1em;
  opacity: 0.9;
}

.tiny {
  font-size: 0.8rem;
  margin: 0.5rem 0 0;
}

.tiny.muted {
  color: var(--color-text-muted);
}

#formStatus.success { color: var(--color-accent); }
#formStatus.error { color: #c00; }

/* Contact page: Google Map section */
.map-section {
  padding: 3rem 1.5rem 4rem;
  background: var(--color-bg-alt);
}

.map-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.map-section__title {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}

.map-section__sub {
  margin: 0 0 1.5rem;
  color: var(--color-text-muted);
  font-size: 1rem;
}

.map-wrap {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
}

.map-wrap::before {
  content: '';
  display: block;
  padding-bottom: 56.25%;
}

.map-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 350px;
}

.map-section__link {
  margin: 1.25rem 0 0;
  text-align: center;
}

/* Contact page: bottom strip (accent bg, 3 cards) */
.contact-bottom-strip {
  background: var(--color-accent);
  padding: 3rem 1.5rem;
  color: #fff;
}

.contact-bottom-strip__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

@media (max-width: 720px) {
  .contact-bottom-strip__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.contact-bottom-card {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background var(--transition);
}

.contact-bottom-card:hover {
  background: rgba(255, 255, 255, 0.18);
}

.contact-bottom-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
}

.contact-bottom-card__icon svg {
  width: 28px;
  height: 28px;
  stroke: #fff;
}

.contact-bottom-card h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.contact-bottom-card p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
}

.contact-bottom-card a {
  color: #fff;
  text-decoration: none;
  transition: opacity var(--transition);
}

.contact-bottom-card a:hover {
  opacity: 0.9;
}

/* Overlap section (above footer, all pages) */
.overlap-section {
  /* margin-top: -120px; */
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.overlap-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 2.5rem 3.5rem;
  background: var(--color-accent);
  background-image: url("../assets/images/footer.jpg");
  background-size: cover;
  background-position: left bottom;
  background-repeat: no-repeat;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
}

/* Footer background / layout */
.footer {
  position: relative;
  background: radial-gradient(circle at top left, #1f314c 0%, #0a101b 40%, #05060a 100%);
  color: #fff;
  padding: 3rem 1.5rem 2rem;
  margin-top: -4rem;
  padding-top: 8rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-bg {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.footer-bg--left {
  left: -80px;
  top: 40px;
}

.footer-bg--lines {
  right: 0;
  top: 0;
  opacity: 0.35;
}

.footer-bg img {
  max-width: 220px;
  height: auto;
}

/* Top grid */
.footer-grid--top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col--brand .footer-logo img {
  width: 130px;
  height: auto;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  line-height: 1.6;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li {
  margin-bottom: 0.4rem;
}

.footer-list a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-list a:hover {
  color: #fff;
}

.footer-highlight {
  margin: 0.1rem 0;
}

.footer-highlight a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: opacity var(--transition);
}

.footer-highlight a:hover {
  opacity: 0.9;
}

/* Nav row */
.footer-nav-row {
  position: relative;
  z-index: 1;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: #fff;
}

/* Bottom row */
.footer-bottom {
  position: relative;
  z-index: 1;
  padding-top: 0;
  border-top: none;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 720px) {
  .footer {
    padding-top: 6rem;
  }
  .footer-nav-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

.overlap-section__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(22, 139, 94, 0.92) 0%, rgba(10, 114, 74, 0.95) 100%);
  border-radius: 10px;
  pointer-events: none;
}

.overlap-section__heading {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.45;
  flex: 1 1 280px;
  max-width: 560px;
}

.overlap-section__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.btn--overlap {
  background: #074c33;
  color: var(--color-accent);
  border: none;
}

.btn--overlap:hover {
  background: var(--color-bg-alt);
  color: var(--color-accent-hover);
}

.overlap-section__phone {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
}

.overlap-section__phone a {
  color: #fff;
  text-decoration: none;
  transition: opacity var(--transition);
}

.overlap-section__phone a:hover {
  opacity: 0.9;
  text-decoration: underline;
}

@media (max-width: 720px) {
  .overlap-section__inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

/* Footer */
.footer {
  background: var(--color-bg-dark);
  color: #fff;
  padding: 3rem 1.5rem 2rem;
  margin-top: -4rem;
  padding-top: 8rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h4,
.footer__h {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer div > a {
  display: block;
  margin-bottom: 0.35rem;
}

.footer div > a:last-child {
  margin-bottom: 0;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin-bottom: 0.5rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer a:hover {
  color: #fff;
}

.footer p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal a {
  font-size: 0.85rem;
}

/* Partner strip (home) */
.partners-strip {
  padding: 2rem 1.5rem;
  background: var(--color-bg-alt);
  text-align: center;
}

.partners-strip .section-title {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

/* Utility */
.text-center {
  text-align: center;
}

.mb-0 { margin-bottom: 0; }
