html {
  font-size: 14px;
}

/* Portfolio */
.portfolio-grid {
  padding-bottom: 1rem;
}

.portfolio-card {
  border: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  transform: translateZ(0);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.portfolio-card:hover,
.portfolio-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.portfolio-card-img {
  height: 210px;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
  transform: scale(1.01);
  transition: transform 320ms ease, filter 320ms ease;
}

.portfolio-card:hover .portfolio-card-img,
.portfolio-card:focus-within .portfolio-card-img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.06);
}

.portfolio-card-title {
  font-weight: 800;
  letter-spacing: 0.01em;
}

.portfolio-card-title::after {
  content: "";
  display: block;
  width: clamp(56px, 28%, 92px);
  height: 4px;
  margin-top: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(13, 110, 253, 0.95), rgba(99, 208, 255, 0.85), rgba(220, 53, 69, 0.85));
}

.portfolio-view-btn {
  border-radius: 999px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.65rem 1rem;
}

.portfolio-modal .modal-content {
  border: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.portfolio-modal .modal-header {
  background: linear-gradient(120deg, rgba(13, 110, 253, 0.08), rgba(99, 208, 255, 0.08));
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.portfolio-modal-img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-card,
  .portfolio-card-img {
    transition: none;
  }

  .portfolio-card:hover,
  .portfolio-card:focus-within {
    transform: none;
  }

  .portfolio-card:hover .portfolio-card-img,
  .portfolio-card:focus-within .portfolio-card-img {
    transform: none;
  }
}

/* Insights */
.insights-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: start;
}

/* Home - Insights marquee */
.home-insights-marquee {
  --home-insights-set-gap: 6rem;
  --home-insights-card-gap: 1.5rem;
  --home-insights-speed: 42s;
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-bottom: 0.25rem;
}

.home-insights-marquee::before,
.home-insights-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 28px;
  z-index: 3;
  pointer-events: none;
}

.home-insights-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(12, 16, 25, 0.96), rgba(12, 16, 25, 0));
}

.home-insights-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(12, 16, 25, 0.96), rgba(12, 16, 25, 0));
}

.home-insights-track {
  display: flex;
  gap: var(--home-insights-set-gap);
  width: max-content;
  will-change: transform;
  animation: home-insights-scroll var(--home-insights-speed) linear infinite;
}

.home-insights-marquee:hover .home-insights-track,
.home-insights-marquee:focus-within .home-insights-track {
  animation-play-state: paused;
}

.home-insights-set {
  display: flex;
  align-items: stretch;
  gap: var(--home-insights-card-gap);
  padding: 0.35rem 1rem 1rem;
  flex: 0 0 auto;
}

.home-insights-set .insight-card {
  flex: 0 0 auto;
  width: min(360px, 85vw);
}

@keyframes home-insights-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - (var(--home-insights-set-gap) / 2)));
  }
}

@media (min-width: 992px) {
  .home-insights-marquee {
    overflow: visible;
    padding-bottom: 0;
  }

  .home-insights-marquee::before,
  .home-insights-marquee::after {
    display: none;
  }

  .home-insights-track {
    animation: none;
    width: 100%;
    display: block;
  }

  .home-insights-set {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    padding: 0;
  }

  .home-insights-set[aria-hidden="true"] {
    display: none;
  }

  .home-insights-set .insight-card {
    width: auto;
  }
}

@media (min-width: 992px) {
  .insights-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .insight-card--wide {
    grid-column: span 2;
  }
}

.insight-card {
  border-radius: 1rem;
  overflow: hidden;
  transform: translateZ(0);
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  animation: insight-fade-up 520ms ease both;
  animation-delay: calc(var(--insight-index, 0) * 70ms);
  position: relative;
  background: #fff;
}

.insights-grid > .insight-card {
  --insight-accent-1: rgba(13, 110, 253, 0.14);
  --insight-accent-2: rgba(99, 208, 255, 0.14);
}

.insights-grid > .insight-card:nth-child(3n + 2) {
  --insight-accent-1: rgba(124, 58, 237, 0.14);
  --insight-accent-2: rgba(236, 72, 153, 0.14);
}

.insights-grid > .insight-card:nth-child(3n) {
  --insight-accent-1: rgba(220, 53, 69, 0.14);
  --insight-accent-2: rgba(13, 110, 253, 0.14);
}

.insight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 12%, var(--insight-accent-1), transparent 55%),
    radial-gradient(circle at 88% 18%, var(--insight-accent-2), transparent 58%);
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
}

.insight-card > * {
  position: relative;
  z-index: 1;
}

.insight-thumbnail-wrapper {
  overflow: hidden;
}

.insight-thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
  transition: transform 360ms ease, filter 360ms ease;
}

@media (min-width: 768px) {
  .insight-card--wide {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    grid-template-rows: auto 1fr auto;
  }

  .insight-card--wide .insight-thumbnail-wrapper {
    grid-column: 1;
    grid-row: 1 / -1;
    height: 100%;
  }

  .insight-card--wide .insight-thumbnail {
    height: 100%;
    width: 100%;
    aspect-ratio: auto;
  }

  .insight-card--wide .card-body,
  .insight-card--wide .card-footer {
    grid-column: 2;
  }
}

.insight-card--tall .insight-thumbnail {
  aspect-ratio: 4 / 3;
}

.insight-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

.insight-card--wide .insight-excerpt {
  -webkit-line-clamp: 9;
}

.insight-card--tall .insight-excerpt {
  -webkit-line-clamp: 12;
}

.insight-card:hover,
.insight-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
  border-color: rgba(13, 110, 253, 0.20);
}

.insight-card:hover::before,
.insight-card:focus-within::before {
  opacity: 1;
}

.insight-card:hover .insight-thumbnail,
.insight-card:focus-within .insight-thumbnail {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.05);
}

@keyframes insight-fade-up {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .insight-card,
  .insight-thumbnail {
    transition: none;
    animation: none;
  }

  .home-insights-track {
    animation: none;
  }

  .insight-card::before {
    transition: none;
  }

  .insight-card:hover,
  .insight-card:focus-within {
    transform: none;
  }

  .insight-card:hover .insight-thumbnail,
  .insight-card:focus-within .insight-thumbnail {
    transform: none;
  }
}

.home-why-choose {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
  padding: 2.5rem calc(50vw - 50% + 1.5rem);
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Home - Why choose us (color cards) */
.why-choose-grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;

  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 85%);
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.why-choose-grid > .why-card {
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .why-choose-grid {
    grid-auto-flow: initial;
    grid-auto-columns: initial;
    overflow-x: visible;
    padding-bottom: 0;
    scroll-snap-type: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.why-card {
  --why-color: #4f46e5;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #fff;
  border: 4px solid var(--why-color);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  min-height: 320px;
  transform: translateZ(0);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.why-card:hover,
.why-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.why-card-top {
  background: var(--why-color);
  color: #fff;
  padding: 1.25rem 1.25rem 3.25rem;
  position: relative;
  flex: 1 1 auto;
}

.why-card-number {
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  opacity: 0.95;
}

.why-card-title {
  margin: 0.55rem 0 0;
  font-weight: 900;
  line-height: 1.05;
  font-size: 1.35rem;
  max-width: 14ch;
}

.why-card-arrow {
  position: absolute;
  left: 1.25rem;
  bottom: 1.1rem;
  font-size: 2.25rem;
  line-height: 1;
  opacity: 0.92;
}

.why-card-bottom {
  background: #fff;
  padding: 1rem 1.2rem 1.25rem;
}

.why-card-bottom p {
  margin: 0;
  color: rgba(15, 23, 42, 0.72);
  font-style: italic;
  line-height: 1.55;
}

.why-card--indigo {
  --why-color: #4f46e5;
}

.why-card--magenta {
  --why-color: #d946ef;
}

.why-card--orange {
  --why-color: #f04b2a;
}

@media (prefers-reduced-motion: reduce) {
  .why-card {
    transition: none;
  }

  .why-card:hover,
  .why-card:focus-within {
    transform: none;
  }
}

.home-partners {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
  padding: 1.1rem 0;
}

.partners-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none;
}

.partners-marquee::before,
.partners-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 24px;
  z-index: 3;
  pointer-events: none;
}

.partners-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.partners-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.partners-track {
  --partners-set-gap: 8rem;
  --partners-logo-gap: 3.5rem;
  --partners-speed: 55s;
  --partners-speed-mobile: 40s;
  display: flex;
  gap: var(--partners-set-gap);
  width: max-content;
  will-change: transform;
  animation: partners-marquee-scroll var(--partners-speed) linear infinite;
}

.partners-marquee:hover .partners-track,
.partners-marquee:focus-within .partners-track {
  animation-play-state: paused;
}

@media (max-width: 575.98px) {
  .partners-track {
    animation: partners-marquee-scroll var(--partners-speed-mobile, var(--partners-speed)) linear infinite;
  }
}

.partners-set {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--partners-logo-gap);
  padding: 0.35rem 1rem;
  flex: 0 0 auto;
}

.partners-logo {
  height: 70px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: none;
  transition: filter 180ms ease, transform 180ms ease;
}

.partners-logo--zues {
  height: 102px;
  max-width: 320px;
}

.partners-logo:hover,
.partners-logo:focus-visible {
  transform: translateY(-2px) scale(1.03);
}

.contact-page {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 3rem calc(50vw - 50% + 1.5rem);
  position: relative;
  overflow: hidden;
}

.contact-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../Images/Banner/banner2.png") center / cover no-repeat;
  filter: blur(14px) brightness(0.85);
  transform: scale(1.06);
  pointer-events: none;
}

.contact-page::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  pointer-events: none;
}

.contact-page > * {
  position: relative;
  z-index: 1;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(360px, 1.25fr);
  gap: 2rem;
  align-items: stretch;
}

.contact-shell--quote {
  grid-template-areas:
    "form rep"
    "form map";
  grid-template-rows: auto 1fr;
}

.contact-shell--quote .contact-panel--form {
  grid-area: form;
}

.contact-shell--quote .contact-panel--rep {
  grid-area: rep;
}

.contact-shell--quote .contact-panel--map {
  grid-area: map;
}

.contact-panel-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-panel--rep {
  padding: 0;
  overflow: hidden;
  background: rgba(2, 6, 23, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.rep-hero {
  position: relative;
  min-height: 360px;
  padding: 2rem 2rem 0;
  padding-right: clamp(12rem, 42%, 20rem);
  display: flex;
  align-items: center;
}

.rep-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(2, 6, 23, 0.98) 0%,
    rgba(2, 6, 23, 0.98) 62%,
    rgba(2, 6, 23, 0.0) 88%
  );
  z-index: 1;
  pointer-events: none;
}

.rep-hero-content {
  position: relative;
  z-index: 3;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 1.05rem;
}

.rep-hero-title {
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.rep-hero-note {
  margin-bottom: 1rem;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

.rep-hero-line {
  display: grid;
  grid-template-columns: 1.15rem 1fr;
  align-items: center;
  gap: 0.7rem;
  line-height: 1.5;
}

.rep-hero-line a {
  display: inline-block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.rep-hero-label {
  font-weight: 750;
  color: rgba(255, 255, 255, 0.78);
}

.rep-hero-icon {
  display: inline-flex;
  width: 1.1rem;
  height: 1.1rem;
  color: rgba(99, 208, 255, 0.95);
  flex: 0 0 auto;
}

.rep-hero-icon svg {
  width: 100%;
  height: 100%;
}

.rep-hero-content a {
  font-weight: 750;
  color: rgba(99, 208, 255, 0.95);
  text-decoration: none;
}

.rep-hero-content a:hover,
.rep-hero-content a:focus-visible {
  text-decoration: underline;
}

.rep-hero-photo {
  position: absolute;
  right: 0.85rem;
  bottom: 0;
  height: 110%;
  max-height: none;
  width: auto;
  object-fit: contain;
  pointer-events: none;
  z-index: 2;
  filter:
    drop-shadow(0 18px 38px rgba(0, 0, 0, 0.35))
    drop-shadow(0 0 22px rgba(255, 255, 255, 0.35));
}

.contact-panel {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1.25rem;
  padding: 2.25rem;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.contact-panel-header {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.9);
}

.contact-divider {
  margin: 0.9rem 0 1.5rem;
  opacity: 0.18;
}

.contact-panel-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: rgba(15, 23, 42, 0.92);
}

.contact-form .form-label {
  font-weight: 600;
  color: rgba(15, 23, 42, 0.78);
}

.contact-form .form-control {
  border-radius: 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.14);
  padding: 0.85rem 1rem;
}

.contact-submit {
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  font-weight: 700;
}

.contact-panel--map {
  display: flex;
  flex-direction: column;
}

.contact-rep {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.contact-rep-photo {
  width: 92px;
  height: 92px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
  flex: 0 0 auto;
}

.contact-rep-title {
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.92);
  margin-bottom: 0.35rem;
}

.contact-rep-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  line-height: 1.35;
}

.contact-rep-label {
  font-weight: 750;
  color: rgba(15, 23, 42, 0.78);
}

.contact-rep-details a {
  font-weight: 750;
  color: rgba(13, 110, 253, 0.95);
  text-decoration: none;
}

.contact-rep-details a:hover,
.contact-rep-details a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 575.98px) {
  .rep-hero {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.25rem 1.1rem;
    padding-right: 1.25rem;
  }

  .rep-hero::before {
    background: rgba(2, 6, 23, 0.98);
  }

  .rep-hero-content {
    max-width: 100%;
    font-size: 0.98rem;
    order: 2;
  }

  .rep-hero-title {
    font-size: 1rem;
    margin-bottom: 0.65rem;
  }

  .rep-hero-note {
    margin-bottom: 0.85rem;
  }

  .rep-hero-photo {
    position: static;
    order: 1;
    height: auto;
    max-width: 260px;
    width: 100%;
    align-self: center;
    margin: 0px;
  }

  .rep-hero-icon {
    width: 1rem;
    height: 1rem;
  }

  .rep-hero-line a {
    font-size: 0.9rem;
  }

  .rep-hero-line a[href^="mailto:"] {
    font-size: clamp(0.66rem, 3.1vw, 0.82rem);
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
  }

  .rep-hero-line {
    grid-template-columns: 1rem 1fr;
    gap: 0.55rem;
  }
}

.contact-map {
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  flex: 1 1 auto;
}

.contact-map-embed {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

.contact-map-button {
  margin-top: 1.25rem;
  width: 100%;
  border-radius: 999px;
  padding: 0.9rem 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #b02a37;
  border: 1px solid rgba(176, 42, 55, 0.35);
  background: rgba(255, 255, 255, 0.85);
}

.contact-map-button:hover,
.contact-map-button:focus-visible {
  background: #fff;
  border-color: rgba(176, 42, 55, 0.55);
  color: #b02a37;
}

.admin-login {
  padding: 3.5rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

.admin-login-card {
  width: min(520px, 100%);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 1.25rem;
  padding: 2.25rem;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.admin-login-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-login-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.admin-login-title {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.92);
}

.admin-login-subtitle {
  color: rgba(15, 23, 42, 0.68);
  margin-top: 0.25rem;
}

.admin-login-divider {
  margin: 1.25rem 0 1.5rem;
  opacity: 0.16;
}

.admin-login-form .form-label {
  font-weight: 650;
  color: rgba(15, 23, 42, 0.78);
}

.admin-login-form .form-control {
  border-radius: 0.85rem;
  border: 1px solid rgba(15, 23, 42, 0.14);
}

.admin-login-form .form-control:focus {
  border-color: rgba(13, 110, 253, 0.45);
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.16);
}

/* Admin topbar (shown only on /Admin via layout) */
.admin-mode {
  --admin-topbar-height: 56px;
}

body.admin-mode {
  padding-top: 0;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 1100;
  height: var(--admin-topbar-height);
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.admin-topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.85rem;
}

.admin-topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.92);
}

.admin-topbar-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.admin-topbar-spacer {
  flex: 1 1 auto;
}

.admin-topbar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.9);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.admin-topbar-btn:hover,
.admin-topbar-btn:focus-visible {
  background: rgba(13, 110, 253, 0.08);
  border-color: rgba(13, 110, 253, 0.22);
  transform: translateY(-1px);
}

.admin-topbar-toggle {
  width: 42px;
  padding: 0;
  font-size: 1.1rem;
}

.admin-topbar-user {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.16), rgba(99, 208, 255, 0.16));
  border: 1px solid rgba(13, 110, 253, 0.18);
  color: rgba(13, 110, 253, 0.95);
}

.admin-dashboard {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 1.05rem calc(50vw - 50% + 1.25rem);
  background: linear-gradient(180deg, rgba(246, 248, 252, 1), rgba(240, 244, 249, 1));
}

.admin-shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 1.25rem;
  align-items: start;
  transition: grid-template-columns 180ms ease;
}

.admin-shell.is-sidebar-hidden {
  grid-template-columns: 0px 1fr;
  gap: 0;
}

.admin-sidebar {
  position: sticky;
  top: calc(var(--admin-topbar-height, var(--site-navbar-height)) + 1rem);
  height: calc(100vh - var(--admin-topbar-height, var(--site-navbar-height)) - 2.25rem);
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(9, 30, 66, 1), rgba(12, 42, 92, 1));
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transition: transform 180ms ease, opacity 180ms ease, visibility 180ms ease;
}

.admin-shell.is-sidebar-hidden .admin-sidebar {
  transform: translateX(-110%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.admin-sidebar-header {
  padding: 1.25rem 1.25rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.admin-sidebar-title {
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.admin-sidebar-subtitle {
  margin-top: 0.35rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
}

.admin-nav {
  display: grid;
  padding: 0.85rem;
  gap: 0.35rem;
  flex: 1 1 auto;
  overflow-y: auto;
  align-content: start;
  grid-auto-rows: max-content;
}

.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.9rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 650;
  transition: background 180ms ease, transform 180ms ease, color 180ms ease;
}

.admin-nav-link:hover,
.admin-nav-link:focus-visible {
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.96);
}

.admin-nav-link.is-active {
  background: rgba(0, 0, 0, 0.20);
  color: rgba(255, 255, 255, 0.98);
}

.admin-nav-link.is-disabled {
  opacity: 0.55;
}

.admin-nav-group-toggle {
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
}

.admin-subnav {
  padding: 0.35rem 0.25rem 0.65rem 1.1rem;
  display: grid;
  gap: 0.25rem;
}

.admin-subnav-link {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: 0.85rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.80);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.06);
  transition: background 180ms ease, transform 180ms ease, color 180ms ease, border-color 180ms ease;
}

.admin-subnav-link:hover,
.admin-subnav-link:focus-visible {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.96);
}

.admin-subnav-link.is-active {
  background: rgba(0, 0, 0, 0.20);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.98);
}

.admin-subnav-link.is-disabled {
  opacity: 0.55;
}

.admin-nav-sep {
  display: none;
}

.admin-nav-section-title {
  padding: 0.4rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.admin-sidebar-footer {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.admin-sidebar-footer .btn-outline-secondary {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.35);
}

.admin-sidebar-footer .btn-outline-secondary:hover,
.admin-sidebar-footer .btn-outline-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
  color: rgba(255, 255, 255, 0.96);
}

.admin-main {
  min-width: 0;
}

.admin-main-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.admin-flash {
  position: sticky;
  top: calc(var(--admin-topbar-height, var(--site-navbar-height)) + 0.75rem);
  z-index: 30;
  margin-bottom: 1rem;
}

.admin-main-title {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: rgba(15, 23, 42, 0.92);
}

.admin-main-subtitle {
  color: rgba(15, 23, 42, 0.65);
}

.admin-main-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.admin-card {
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 159, 10, 1), rgba(255, 122, 0, 1));
  border-radius: 1.25rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 18px 46px rgba(255, 122, 0, 0.22);
  position: relative;
  overflow: hidden;
}

.admin-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 12%, rgba(13, 110, 253, 0.12), transparent 55%);
  opacity: 0.65;
  pointer-events: none;
}

.admin-card--accent::before {
  background: radial-gradient(circle at 12% 12%, rgba(99, 208, 255, 0.18), transparent 55%);
}

.admin-card--danger::before {
  background: radial-gradient(circle at 12% 12%, rgba(220, 53, 69, 0.16), transparent 55%);
}

.admin-card > * {
  position: relative;
  z-index: 1;
}

.admin-card-kicker {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.admin-card-title {
  margin: 0.45rem 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.98);
}

@media (max-width: 575.98px) {
  .admin-metrics {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
  }

  .admin-metrics .admin-card {
    padding: 0.9rem 0.95rem;
    border-radius: 1rem;
  }

  .admin-metrics .admin-card-kicker {
    font-size: 0.6rem;
    letter-spacing: 0.14em;
  }

  .admin-metrics .admin-card-title {
    font-size: 0.85rem;
    margin: 0.35rem 0 0.35rem;
  }

  .admin-metrics .admin-card .fs-3 {
    font-size: 1.3rem !important;
  }
}

.admin-card-text {
  color: rgba(15, 23, 42, 0.68);
  line-height: 1.6;
}

.admin-panel {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 1.25rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.admin-panel-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: linear-gradient(120deg, rgba(13, 110, 253, 0.06), rgba(99, 208, 255, 0.06));
}

.admin-panel-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
  color: rgba(15, 23, 42, 0.92);
}

.admin-panel-subtitle {
  color: rgba(15, 23, 42, 0.65);
}

.admin-panel-body {
  padding: 1.25rem 1.5rem;
}

.admin-inbox-message {
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-inbox-toolbar {
  display: flex;
  justify-content: flex-end;
  padding-top: 0.9rem;
}

.admin-inbox-search {
  position: relative;
  display: block;
  width: min(320px, 100%);
}

.admin-inbox-search .form-control {
  border-radius: 0.6rem;
  padding-left: 2.35rem;
}

.admin-inbox-search-icon {
  position: absolute;
  top: 50%;
  left: 0.75rem;
  transform: translateY(-50%);
  width: 1.05rem;
  height: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(15, 23, 42, 0.55);
  pointer-events: none;
}

.admin-inbox-search-icon svg {
  width: 100%;
  height: 100%;
}

.admin-inbox-table {
  border-collapse: separate;
  border-spacing: 0;
}

.admin-inbox-table thead th {
  background: rgba(15, 23, 42, 0.82);
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 0;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.8rem 1rem;
  white-space: nowrap;
}

.admin-inbox-table thead th:first-child {
  border-top-left-radius: 0.65rem;
}

.admin-inbox-table thead th:last-child {
  border-top-right-radius: 0.65rem;
}

.admin-inbox-table thead th::after {
  content: "▾";
  display: inline-block;
  margin-left: 0.45rem;
  font-size: 0.9em;
  opacity: 0.7;
}

.admin-inbox-table thead th.text-end::after,
.admin-inbox-table thead th.d-none::after {
  content: "";
}

.admin-inbox-table tbody td {
  padding: 0.85rem 1rem;
  border-top: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.admin-inbox-table tbody tr:nth-child(even) td {
  background: rgba(15, 23, 42, 0.02);
}

.admin-inbox-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  padding-top: 1rem;
}

.admin-inbox-page-btn {
  width: 34px;
  height: 30px;
  border-radius: 0.55rem;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.9);
  color: rgba(15, 23, 42, 0.8);
  font-weight: 900;
  line-height: 1;
}

.admin-inbox-page-btn:disabled {
  opacity: 0.45;
}

.admin-inbox-page-label {
  min-width: 78px;
  text-align: center;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.78);
}

.admin-panel-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
}

.admin-panel-toggle::after {
  content: "▾";
  display: inline-block;
  transition: transform 180ms ease;
}

.admin-panel-toggle[aria-expanded="false"]::after {
  transform: rotate(-90deg);
}



.admin-banners-table .form-control[type="file"] {
  min-width: 220px;
}

.admin-banner-actions {
  width: 86px;
  margin-left: auto;
}

.admin-banner-btn {
  width: 86px;
  text-align: center;
}

@media (max-width: 575.98px) {
  .admin-banners-table {
    min-width: 0;
  }

  .admin-banners-table thead {
    display: none;
  }

  .admin-banners-table tbody tr {
    display: block;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1rem;
    padding: 0.75rem;
    margin-bottom: 0.85rem;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
  }

  .admin-banners-table tbody td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.5rem 0;
    border: 0;
  }

  .admin-banners-table tbody td::before {
    content: attr(data-label);
    font-weight: 800;
    font-size: 0.85rem;
    color: rgba(15, 23, 42, 0.72);
    flex: 0 0 92px;
  }

  .admin-banners-table tbody td[data-label="Preview"] {
    justify-content: flex-start;
    padding-top: 0;
  }

  .admin-banners-table tbody td[data-label="Preview"]::before {
    display: none;
  }

  .admin-banners-table tbody td[data-label="Preview"] img {
    width: 100% !important;
    max-height: 150px !important;
  }

  .admin-banners-table tbody td[data-label="Replace image"],
  .admin-banners-table tbody td[data-label="Actions"] {
    align-items: stretch;
  }

  .admin-banners-table tbody td[data-label="Actions"] {
    flex-direction: column;
    justify-content: flex-start;
  }

  .admin-banners-table tbody td[data-label="Actions"]::before {
    display: none;
  }

  .admin-banners-table tbody td[data-label="Replace image"] {
    flex-direction: column;
  }

  .admin-banners-table tbody td[data-label="Replace image"]::before {
    flex: 0 0 auto;
  }

  .admin-banners-table tbody td[data-label="Replace image"] form {
    flex-direction: column;
    align-items: stretch !important;
  }

  .admin-banners-table .form-control[type="file"] {
    min-width: 0;
    width: 100%;
  }

  .admin-banner-actions {
    width: 100%;
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: column;
    margin-left: 0;
  }

  .admin-banner-btn {
    width: 100%;
  }
}

.admin-steps {
  margin: 0;
  padding-left: 1.25rem;
  color: rgba(15, 23, 42, 0.75);
  display: grid;
  gap: 0.5rem;
}

@media (max-width: 991.98px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }
}

@media (max-width: 991.98px) {
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .contact-shell--quote {
    grid-template-areas:
      "rep"
      "form"
      "map";
    grid-template-rows: auto auto auto;
  }

  .contact-map-embed {
    min-height: 360px;
  }
}

@media (max-width: 575.98px) {
  .home-partners {
    padding: 0.35rem 0;
    margin-top: 1.25rem !important;
    margin-bottom: 0.25rem;
  }

  .home-featured-services {
    margin-top: 1.25rem !important;
  }

  .partners-set {
    padding: 0.1rem 0.4rem;
  }

  .partners-marquee::before,
  .partners-marquee::after {
    width: 16px;
  }

  .partners-track {
    animation: partners-marquee-scroll var(--partners-speed-mobile, var(--partners-speed)) linear infinite;
  }

  .partners-logo {
    height: 44px;
    max-width: 160px;
  }

  .partners-logo--zues {
    height: 64px;
    max-width: 220px;
  }
}

@keyframes partners-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - (var(--partners-set-gap) / 2)));
  }
}

.home-core-values {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
  padding: 2.5rem calc(50vw - 50% + 1.5rem);
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(12, 16, 25, 0.96) 0%,
    rgba(28, 38, 56, 0.94) 50%,
    rgba(12, 16, 25, 0.96) 100%
  );
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
}

.home-latest-insights {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
  padding: 2.5rem calc(50vw - 50% + 1.5rem);
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(12, 16, 25, 0.96) 0%,
    rgba(28, 38, 56, 0.94) 50%,
    rgba(12, 16, 25, 0.96) 100%
  );
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
}

.home-quote-cta {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: -1rem;
  border-radius: 0;
  padding: 1.9rem calc(50vw - 50% + 1.5rem);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
}

.home-quote-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
  border-radius: 1.25rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.home-quote-cta-content p {
  color: rgba(255, 255, 255, 0.78);
}

.home-quote-cta-actions {
  flex: 0 0 auto;
}

@media (max-width: 575.98px) {
  .home-quote-cta {
    padding: 1.75rem calc(50vw - 50% + 1rem);
  }

  .home-quote-cta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
  }

  .home-quote-cta-actions {
    width: 100%;
  }

  .home-quote-cta-actions .btn {
    width: 100%;
  }
}

.home-latest-insights::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 14% 24%, rgba(99, 208, 255, 0.42), transparent 56%),
    radial-gradient(circle at 78% 22%, rgba(13, 110, 253, 0.50), transparent 58%),
    radial-gradient(circle at 52% 92%, rgba(236, 72, 153, 0.35), transparent 62%);
  opacity: 0.92;
  transform: translate3d(0, 0, 0) scale(1.06);
  animation: site-section-glow-drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

.home-latest-insights > * {
  position: relative;
  z-index: 1;
}

.home-core-values::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 18% 18%, rgba(13, 110, 253, 0.55), transparent 55%),
    radial-gradient(circle at 82% 22%, rgba(220, 53, 69, 0.45), transparent 58%),
    radial-gradient(circle at 50% 90%, rgba(99, 208, 255, 0.35), transparent 60%);
  opacity: 0.95;
  transform: translate3d(0, 0, 0) scale(1.06);
  animation: site-section-glow-drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

.home-core-values > * {
  position: relative;
  z-index: 1;
}

@keyframes home-section-glow-drift {
  0% {
    transform: translate3d(-3%, -2%, 0) scale(1.06);
  }
  50% {
    transform: translate3d(3%, 2%, 0) scale(1.12);
  }
  100% {
    transform: translate3d(-2%, 3%, 0) scale(1.06);
  }
}

#page-content {
  animation: page-fade-in 180ms ease-out;
}

body.page-leaving #page-content {
  opacity: 0;
  transition: opacity 180ms ease-in;
  pointer-events: none;
}

@keyframes page-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  #page-content {
    animation: none;
  }

  body.page-leaving #page-content {
    transition: none;
  }

  .home-core-values::before {
    animation: none;
  }

  .home-latest-insights::before {
    animation: none;
  }

  .home-featured-services::before {
    animation: none;
  }

  .about-section--alt::before {
    animation: none;
  }

  .partners-track {
    animation: none;
  }
}

.about-mv-card {
  height: 100%;
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.10);
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.about-mv-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 18%, rgba(13, 110, 253, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
}

.about-mv-card:hover,
.about-mv-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
  border-color: rgba(13, 110, 253, 0.20);
}

.about-mv-card:hover::before,
.about-mv-card:focus-within::before {
  opacity: 1;
}

.about-core-values-grid .card {
  border-radius: 1.25rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
  border: 1px solid rgba(13, 110, 253, 0.10);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.about-core-values-grid {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.about-core-values-grid .card-body {
  padding: 1.6rem;
}

.about-core-values-grid .card-body h3 {
  font-size: 1.15rem;
}

.about-core-values-grid .card-body p {
  font-size: 1.02rem;
  line-height: 1.6;
}

.about-why-choose-grid .card {
  border-radius: 1.25rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
  border: 1px solid rgba(13, 110, 253, 0.10);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.about-why-choose-grid .card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 18%, rgba(13, 110, 253, 0.10), transparent 58%);
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
}

.about-why-choose-grid .card:hover,
.about-why-choose-grid .card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
  border-color: rgba(13, 110, 253, 0.22);
}

.about-why-choose-grid .card:hover::before,
.about-why-choose-grid .card:focus-within::before {
  opacity: 1;
}

.about-core-value {
  position: relative;
}

.about-core-value::before {
  content: attr(data-icon) "\A" attr(data-title);
  white-space: pre-line;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.99);
  color: rgba(15, 23, 42, 0.82);
  font-weight: 550;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 2.2vw, 1.4rem);
  line-height: 1.15;
  opacity: 1;
  transition: opacity 200ms ease;
  pointer-events: none;
}

.about-core-values-grid .card:hover .about-core-value::before,
.about-core-values-grid .card:focus-within .about-core-value::before {
  opacity: 0;
}

@media (hover: none) {
  .about-core-value::before {
    opacity: 0;
  }
}

.about-core-values-grid .card:hover,
.about-core-values-grid .card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
  border-color: rgba(13, 110, 253, 0.22);
}

.about-core-values-grid .card-body h3 span {
  display: inline-block;
  margin-right: 0.35rem;
  transition: transform 180ms ease;
}

.about-core-values-grid .card:hover .card-body h3 span,
.about-core-values-grid .card:focus-within .card-body h3 span {
  transform: translateY(-2px) rotate(-6deg);
}

/* Home-only effects for Core Values */
.home-core-values .about-core-values-grid .card {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  transform: translateZ(0);
}

.home-core-values .about-core-values-grid .card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    120deg,
    rgba(99, 208, 255, 0.95),
    rgba(13, 110, 253, 0.95),
    rgba(220, 53, 69, 0.85),
    rgba(99, 208, 255, 0.95)
  );
  background-size: 220% 220%;
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 0 18px rgba(99, 208, 255, 0.18));

  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.home-core-values .about-core-values-grid .card:hover,
.home-core-values .about-core-values-grid .card:focus-within {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  border-color: rgba(255, 255, 255, 0.26);
}

.home-core-values .about-core-values-grid .card:hover::after,
.home-core-values .about-core-values-grid .card:focus-within::after {
  opacity: 1;
}

.home-core-values .about-core-values-grid .about-core-value::before {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  transform: translateY(0);
  transition: opacity 220ms ease, transform 220ms ease;
}

.home-core-values .about-core-values-grid .card:hover .about-core-value::before,
.home-core-values .about-core-values-grid .card:focus-within .about-core-value::before {
  opacity: 0;
  transform: translateY(-10px);
}

.home-core-values .about-core-values-grid > div:nth-child(1) .card {
  animation: home-core-card-in 520ms ease both;
  animation-delay: 0ms;
}

.home-core-values .about-core-values-grid > div:nth-child(2) .card {
  animation: home-core-card-in 520ms ease both;
  animation-delay: 80ms;
}

.home-core-values .about-core-values-grid > div:nth-child(3) .card {
  animation: home-core-card-in 520ms ease both;
  animation-delay: 160ms;
}

.home-core-values .about-core-values-grid > div:nth-child(4) .card {
  animation: home-core-card-in 520ms ease both;
  animation-delay: 240ms;
}

@keyframes home-core-card-in {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-mv-card,
  .about-mv-card::before,
  .about-mv-icon,
  .about-core-value::before,
  .about-why-choose-grid .card,
  .about-why-choose-grid .card::before,
  .about-core-values-grid .card,
  .about-core-values-grid .card-body h3 span,
  .home-core-values .about-core-values-grid .card::after {
    transition: none;
  }

  .about-mv-card:hover,
  .about-mv-card:focus-within,
  .about-why-choose-grid .card:hover,
  .about-why-choose-grid .card:focus-within,
  .about-core-values-grid .card:hover,
  .about-core-values-grid .card:focus-within {
    transform: none;
  }

  .about-mv-card:hover::before,
  .about-mv-card:focus-within::before {
    opacity: 0;
  }

  .about-mv-card:hover .about-mv-icon,
  .about-mv-card:focus-within .about-mv-icon {
    transform: none;
  }
}

.about-mv-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.about-mv-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  flex: 0 0 auto;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.about-mv-card:hover .about-mv-icon,
.about-mv-card:focus-within .about-mv-icon {
  transform: translateY(-1px) scale(1.04);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.about-mv-icon--mission {
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.98), rgba(0, 198, 255, 0.92));
}

.about-mv-icon--vision {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.98), rgba(236, 72, 153, 0.92));
}

.about-mv-icon-svg {
  width: 28px;
  height: 28px;
  display: block;
}

.about-mv-icon-svg--rotate {
  animation: about-mv-spin 6s linear infinite;
  transform-origin: 50% 50%;
}

.about-mv-icon-svg--blink {
  animation: about-mv-blink 4.8s infinite;
  transform-origin: 50% 50%;
}

@keyframes about-mv-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes about-mv-blink {
  0%,
  92%,
  100% {
    transform: scaleY(1);
  }
  94%,
  96% {
    transform: scaleY(0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-mv-icon-svg--rotate,
  .about-mv-icon-svg--blink {
    animation: none;
  }
}

:root {
  --site-navbar-height: 72px;
  --site-navbar-height-mobile: 56px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 0;
  padding-top: var(--site-navbar-height);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#page-content {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.site-footer {
  margin-top: auto;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(36, 12, 12, 0.92) 55%,
    rgba(88, 20, 20, 0.92) 100%
  );
  color: rgba(255, 255, 255, 0.82);
}

.site-footer-top {
  padding: 3rem 0 2.25rem;
}

.site-footer-top-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 2.75rem;
  align-items: start;
}

.site-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.site-footer-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.45));
}

.site-footer-title {
  color: #fff;
  font-weight: 550;
  font-size: 2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer-tagline {
  margin: 1rem 0 0;
  max-width: 52ch;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.site-footer-heading {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.site-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.site-footer-list a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.site-footer-list a:hover,
.site-footer-list a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25rem;
}

.site-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.25rem 0;
}

.site-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 991.98px) {
  .site-footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575.98px) {
  .site-footer-top {
    padding: 2.5rem 0 2rem;
  }

  .site-footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-footer-bottom-inner {
    justify-content: flex-start;
  }
}

.site-navbar {
  min-height: var(--site-navbar-height);
  background: linear-gradient(
    90deg,
    rgba(12, 16, 25, 0.85) 0%,
    rgba(28, 38, 56, 0.78) 55%,
    rgba(12, 16, 25, 0.85) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

.site-logo {
  width: 35;
  height: 35px;
  object-fit: contain;
}

@media (max-width: 575.98px) {
  :root {
    --site-navbar-height: var(--site-navbar-height-mobile);
  }

  .site-navbar.navbar {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
  }

  .site-navbar .navbar-brand {
    font-size: 1rem;
  }

  .site-navbar .navbar-toggler {
    margin-left: auto;
    padding: 0.25rem 0.5rem;
  }

  .site-navbar .navbar-toggler-icon {
    width: 1.25em;
    height: 1.25em;
    background-size: 1.25em 1.25em;
  }
}

.site-navbar .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus {
  color: #fff;
}

.home-hero {
  position: relative;
  margin-top: calc(var(--site-navbar-height) * -1);
}

.page-banner {
  position: relative;
  margin-top: calc(var(--site-navbar-height) * -1);
}

.page-banner,
.page-banner-img {
  height: 42vh;
  min-height: 340px;
}

.page-banner-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.85) contrast(1.05);
}

.page-banner--zoom {
  overflow: hidden;
}

.page-banner--zoom .page-banner-img {
  transform: scale(1);
  transform-origin: center;
  will-change: transform;
  animation: page-banner-zoom-in 10s ease-out forwards;
}

@keyframes page-banner-zoom-in {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-banner--zoom .page-banner-img {
    animation: none;
  }
}

.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.25) 55%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

.page-banner-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.page-banner-title {
  color: #fff;
  font-weight: 800;
  line-height: 1.05;
  font-size: clamp(3rem, 5vw, 3.55rem);
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
  margin: 0;
}

.page-banner-subtitle {
  color: rgba(255, 255, 255, 0.85);
  max-width: 60ch;
}

.services-grid {
  padding-bottom: 2rem;
}

.about-photo-swap {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 0.9rem;
  transform: translateZ(0);
  transition: box-shadow 600ms ease;
}

.about-tablecard {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  padding: 1.25rem;
  border-radius: 1.25rem;
  background: linear-gradient(
    135deg,
    rgb(107, 157, 235, 0.60),
    rgb(234, 212, 200)
  );
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.about-tablecard-media {
  flex: 1 1 44%;
  min-width: 260px;
}

.about-tablecard-media .about-photo-swap {
  height: 100%;
}

.about-tablecard-media .about-photo-swap-img {
  height: 100%;
  object-fit: cover;
}

.about-tablecard-content {
  flex: 1 1 56%;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0.25rem;
}

@media (max-width: 767.98px) {
  .about-tablecard {
    flex-direction: column;
  }

  .about-tablecard-content {
    padding: 0.25rem;
  }
}

@media (max-width: 575.98px) {
  .about-tablecard {
    padding: 1rem;
    gap: 1rem;
  }
}

.about-photo-swap-img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(1.05) contrast(1.06);
  transition: opacity 600ms ease, transform 600ms ease, filter 600ms ease;
}

.about-photo-swap-img--alt {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
}

.about-photo-swap:hover,
.about-photo-swap:focus,
.about-photo-swap:active {
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.about-photo-swap:hover .about-photo-swap-img,
.about-photo-swap:focus .about-photo-swap-img,
.about-photo-swap:active .about-photo-swap-img {
  opacity: 0;
  transform: scale(1.02);
  filter: saturate(1.08) contrast(1.08);
}

.about-photo-swap:hover .about-photo-swap-img--alt,
.about-photo-swap:focus .about-photo-swap-img--alt,
.about-photo-swap:active .about-photo-swap-img--alt {
  opacity: 1;
  transform: scale(1.035);
}

@media (prefers-reduced-motion: reduce) {
  .about-photo-swap,
  .about-photo-swap-img {
    transition: none;
  }

  .about-photo-swap:hover .about-photo-swap-img,
  .about-photo-swap:focus .about-photo-swap-img,
  .about-photo-swap:active .about-photo-swap-img,
  .about-photo-swap:hover .about-photo-swap-img--alt,
  .about-photo-swap:focus .about-photo-swap-img--alt,
  .about-photo-swap:active .about-photo-swap-img--alt {
    transform: none;
  }
}

.about-section {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 3rem calc(50vw - 50% + 1.5rem);
}

.about-section--base {
  background: #fff;
}

.about-section--alt {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(12, 16, 25, 0.96) 0%,
    rgba(28, 38, 56, 0.94) 50%,
    rgba(12, 16, 25, 0.96) 100%
  );
}

.about-section--alt::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 18% 18%, rgba(13, 110, 253, 0.55), transparent 55%),
    radial-gradient(circle at 82% 22%, rgba(220, 53, 69, 0.45), transparent 58%),
    radial-gradient(circle at 50% 90%, rgba(99, 208, 255, 0.35), transparent 60%);
  opacity: 0.95;
  transform: translate3d(0, 0, 0) scale(1.06);
  animation: site-section-glow-drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

.about-section--alt > * {
  position: relative;
  z-index: 1;
}

.about-section--alt > h2,
.about-section--alt > h4 {
  color: rgba(255, 255, 255, 0.92);
}

.about-section--first {
  padding-top: 1.75rem;
}

@media (max-width: 575.98px) {
  .about-section {
    padding: 2rem calc(50vw - 50% + 1rem);
  }

  .about-section--first {
    padding-top: 1.25rem;
  }
}

.home-featured-services {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
  padding: 2rem calc(50vw - 50% + 1.5rem);
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(12, 16, 25, 0.96) 0%,
    rgba(28, 38, 56, 0.94) 50%,
    rgba(12, 16, 25, 0.96) 100%
  );
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.home-featured-services::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 18% 18%, rgba(13, 110, 253, 0.55), transparent 55%),
    radial-gradient(circle at 82% 22%, rgba(220, 53, 69, 0.45), transparent 58%),
    radial-gradient(circle at 50% 90%, rgba(99, 208, 255, 0.35), transparent 60%);
  opacity: 0.95;
  transform: translate3d(0, 0, 0) scale(1.06);
  animation: site-section-glow-drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

.home-featured-services > * {
  position: relative;
  z-index: 1;
}

.home-featured-services h2 {
  color: rgba(255, 255, 255, 0.92);
}

.home-featured-services .btn-outline-primary {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(99, 208, 255, 0.55);
}

.home-featured-services .btn-outline-primary:hover,
.home-featured-services .btn-outline-primary:focus-visible {
  background: rgba(99, 208, 255, 0.16);
  border-color: rgba(99, 208, 255, 0.75);
  color: rgba(255, 255, 255, 0.96);
}

@media (max-width: 575.98px) {
  .home-featured-services {
    padding: 1.5rem calc(50vw - 50% + 1rem);
  }

  .home-why-choose {
    padding: 2rem calc(50vw - 50% + 1rem);
  }

  .home-core-values {
    padding: 2rem calc(50vw - 50% + 1rem);
  }
}

.service-offer-row {
  position: relative;
  border: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  color: inherit;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  transform: translateZ(0);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-offer-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(13, 110, 253, 0.28) 1px, transparent 0);
  background-size: 18px 18px;
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

.service-offer-row::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    120deg,
    rgba(13, 110, 253, 0.95),
    rgba(99, 208, 255, 0.85),
    rgba(220, 53, 69, 0.8),
    rgba(13, 110, 253, 0.95)
  );
  background-size: 220% 220%;
  opacity: 0;
  transition: opacity 200ms ease;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 0 18px rgba(13, 110, 253, 0.22));

  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.service-offer-row-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.92) contrast(1.05);
  transform: scale(1.01);
  transition: transform 300ms ease, filter 300ms ease;
}

.service-offer-row .card-title {
  display: inline-block;
  font-weight: 740;
  letter-spacing: 0.01em;
}

.service-offer-row .card-title::after {
  content: "";
  display: block;
  width: clamp(56px, 22%, 90px);
  height: 4px;
  margin-top: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(13, 110, 253, 0.95),
    rgba(99, 208, 255, 0.85),
    rgba(220, 53, 69, 0.85)
  );
}

.service-offer-card {
  border: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  color: inherit;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  transform: translateZ(0);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-offer-img {
  height: 240px;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.92) contrast(1.05);
  transform: scale(1.01);
  transition: transform 300ms ease, filter 300ms ease;
}

.service-offer-text {
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-offer-cta {
  color: rgba(13, 110, 253, 0.95);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
}

.service-offer-card:hover,
.service-offer-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.service-offer-row:hover,
.service-offer-row:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.service-offer-row:hover::before,
.service-offer-row:focus-visible::before {
  opacity: 1;
}

.service-offer-row:hover::after,
.service-offer-row:focus-visible::after {
  opacity: 1;
  animation: tech-border-shift 2.6s linear infinite;
}

.service-offer-card:hover .service-offer-img,
.service-offer-card:focus-visible .service-offer-img {
  transform: scale(1.06);
  filter: brightness(0.98) contrast(1.08);
}

.service-offer-row:hover .service-offer-row-img,
.service-offer-row:focus-visible .service-offer-row-img {
  transform: scale(1.06);
  filter: brightness(0.98) contrast(1.08);
}

@media (min-width: 768px) {
  .service-offer-row-img {
    height: 100%;
    min-height: 280px;
  }

  .service-offer-row .card-body {
    justify-content: center;
  }
}

@keyframes tech-border-shift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-offer-row:hover::after,
  .service-offer-row:focus-visible::after {
    animation: none;
  }
}

@media (max-width: 575.98px) {
  .service-offer-img {
    height: 200px;
  }

  .service-offer-text {
    -webkit-line-clamp: 6;
  }
}

.service-tile {
  position: relative;
  display: block;
  border-radius: 1.25rem;
  overflow: hidden;
  height: 260px;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  transform: translateZ(0);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-tile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
  transition: transform 300ms ease;
}

.service-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.48) 70%,
    rgba(0, 0, 0, 0.68) 100%
  );
  transition: background 250ms ease;
}

.service-tile-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  z-index: 1;
}

.service-tile-title {
  color: #fff;
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.01em;
  font-size: 1.25rem;
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.service-tile-cta {
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

.service-card-desc {
  color: rgba(33, 37, 41, 0.88);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-tile:hover,
.service-tile:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}

.service-tile:hover .service-tile-img,
.service-tile:focus-visible .service-tile-img {
  transform: scale(1.08);
}

.service-tile:hover .service-tile-overlay,
.service-tile:focus-visible .service-tile-overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.02) 0%,
    rgba(0, 0, 0, 0.45) 65%,
    rgba(0, 0, 0, 0.78) 100%
  );
}

@media (max-width: 575.98px) {
  .service-tile {
    height: 220px;
  }

  .service-tile-content {
    padding: 1rem;
  }
}

.home-hero,
#homeBannerCarousel,
#homeBannerCarousel .carousel-inner,
#homeBannerCarousel .carousel-item {
  height: calc(100vh + var(--site-navbar-height));
  min-height: 650px;
}

@media (max-width: 767.98px) {
  .home-hero {
    margin-top: 0;
  }

  .page-banner {
    margin-top: 0;
  }

  .page-banner,
  .page-banner-img {
    height: auto;
    min-height: 0;
  }

  .page-banner-img {
    height: 240px;
  }

  .home-hero,
  #homeBannerCarousel,
  #homeBannerCarousel .carousel-inner,
  #homeBannerCarousel .carousel-item {
    height: auto;
    min-height: 0;
  }

  #homeBannerCarousel .carousel-item img {
    height: auto;
    object-fit: cover;
  }

  .home-banner1-caption > .container {
    padding-top: 1rem;
  }
}

#homeBannerCarousel {
  background: #000;
  position: relative;
  z-index: 1;
}

#homeBannerCarousel .carousel-item img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.12) contrast(1.04);
}

#homeBannerCarousel .carousel-item {
  position: relative;
}

.home-banner1-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.02) 0%,
    rgba(0, 0, 0, 0.2) 55%,
    rgba(0, 0, 0, 0.45) 100%
  );
}

.home-banner1-caption {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.home-banner1-caption > .container {
  padding-top: var(--site-navbar-height);
  padding-bottom: 2rem;
}

.home-banner1-title {
  font-weight: 800;
  line-height: 1.05;
  font-size: clamp(2.1rem, 4.2vw, 4.25rem);
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
  transform: translateY(clamp(-3.75rem, -2vw, -0.75rem));
}

.home-banner1-line1 {
  color: #fff;
}

.home-banner1-line2 {
  color: #63d0ff;
  font-size: 0.85em;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.35) 55%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.home-hero-overlay > .container {
  padding-top: var(--site-navbar-height);
  padding-bottom: 2rem;
}

.home-hero-eyebrow {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(220, 53, 69, 0.85);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.home-hero-title {
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  font-size: clamp(2.25rem, 4vw, 4rem);
}

.home-hero-accent {
  color: #dc3545;
}

.home-hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
  max-width: 52ch;
}

.home-hero-callout {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  color: #fff;
}

.home-hero-callout-label {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.home-hero-callout-value {
  font-size: 1.25rem;
  font-weight: 700;
}

.home-hero-card {
  border-radius: 0.75rem;
  background: rgba(60, 60, 60, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* ServiceOffer (slug page) - "We offer" cards */
.service-highlight-card {
  border-radius: 1rem;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  border: 1px solid rgba(15, 23, 42, 0.10);
}

.service-highlight-card:hover,
.service-highlight-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
  border-color: rgba(13, 110, 253, 0.20);
}

.service-highlight-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04);
  transition: transform 320ms ease, filter 320ms ease;
}

.service-highlight-card:hover .service-highlight-card-img,
.service-highlight-card:focus-within .service-highlight-card-img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .service-highlight-card,
  .service-highlight-card-img {
    transition: none;
  }

  .service-highlight-card:hover,
  .service-highlight-card:focus-within {
    transform: none;
  }

  .service-highlight-card:hover .service-highlight-card-img,
  .service-highlight-card:focus-within .service-highlight-card-img {
    transform: none;
  }
}