/* ==========================================================================
   RIOTIME Technical Services LLC
   Static presentation website — custom design system on Bootstrap 5
   ========================================================================== */

:root {
  --rt-navy-950: #031626;
  --rt-navy-900: #061f36;
  --rt-navy-800: #082b49;
  --rt-navy-700: #0b3b63;
  --rt-blue-600: #0d5d96;
  --rt-blue-100: #e8f2f8;
  --rt-orange-600: #d9421c;
  --rt-orange-500: #ed5529;
  --rt-orange-100: #fff0eb;
  --rt-ink: #12212d;
  --rt-muted: #63717e;
  --rt-border: #dce5eb;
  --rt-surface: #f5f8fa;
  --rt-white: #ffffff;
  --rt-shadow-sm: 0 10px 35px rgba(3, 22, 38, 0.08);
  --rt-shadow-lg: 0 24px 70px rgba(3, 22, 38, 0.16);
  --rt-radius-sm: 12px;
  --rt-radius: 20px;
  --rt-radius-lg: 28px;
  --rt-transition: 220ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  color: var(--rt-ink);
  background: var(--rt-white);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.btn {
  font-family: "Manrope", "Inter", system-ui, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--rt-navy-950);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

p {
  margin-bottom: 1.25rem;
}

a {
  color: var(--rt-blue-600);
  text-decoration: none;
  transition: color var(--rt-transition);
}

a:hover {
  color: var(--rt-orange-600);
}

img {
  max-width: 100%;
}

::selection {
  color: var(--rt-white);
  background: var(--rt-orange-500);
}

.container {
  --bs-gutter-x: 2rem;
  max-width: 1240px;
}

.section {
  padding: 104px 0;
}

.section--compact {
  padding: 76px 0;
}

.section--surface {
  background: var(--rt-surface);
}

.section--navy {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at 88% 12%, rgba(13, 93, 150, 0.34), transparent 34%),
    var(--rt-navy-950);
  overflow: hidden;
}

.section--navy::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  pointer-events: none;
}

.section--navy > .container {
  position: relative;
  z-index: 1;
}

.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--rt-white);
}

.section__eyebrow {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--rt-orange-500);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.section__eyebrow::before {
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 20px;
  content: "";
}

.section__eyebrow--light {
  color: #ff8968;
}

.section__title {
  max-width: 760px;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.section__intro {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--rt-muted);
  font-size: clamp(1rem, 1.7vw, 1.16rem);
}

.section--navy .section__intro {
  color: rgba(255, 255, 255, 0.72);
}

.text-orange {
  color: var(--rt-orange-500) !important;
}

.text-muted-rt {
  color: var(--rt-muted) !important;
}

.surface-card {
  border: 1px solid var(--rt-border);
  border-radius: var(--rt-radius);
  background: var(--rt-white);
  box-shadow: var(--rt-shadow-sm);
}

/* Accessibility */
.skip-link {
  position: fixed;
  top: -80px;
  left: 1rem;
  z-index: 9999;
  padding: 0.7rem 1rem;
  color: var(--rt-white);
  background: var(--rt-navy-950);
  border-radius: 0 0 10px 10px;
  font-weight: 700;
}

.skip-link:focus {
  top: 0;
  color: var(--rt-white);
}

:focus-visible {
  outline: 3px solid rgba(237, 85, 41, 0.5);
  outline-offset: 3px;
}

/* Buttons */
.btn {
  display: inline-flex;
  min-height: 52px;
  gap: 0.65rem;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.4rem;
  border-radius: 10px;
  font-size: 0.93rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  transition:
    transform var(--rt-transition),
    box-shadow var(--rt-transition),
    color var(--rt-transition),
    border-color var(--rt-transition),
    background-color var(--rt-transition);
}

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

.btn-primary {
  --bs-btn-color: var(--rt-white);
  --bs-btn-bg: var(--rt-orange-500);
  --bs-btn-border-color: var(--rt-orange-500);
  --bs-btn-hover-color: var(--rt-white);
  --bs-btn-hover-bg: var(--rt-orange-600);
  --bs-btn-hover-border-color: var(--rt-orange-600);
  --bs-btn-active-bg: var(--rt-orange-600);
  --bs-btn-active-border-color: var(--rt-orange-600);
  box-shadow: 0 12px 30px rgba(217, 66, 28, 0.27);
}

.btn-outline-light {
  --bs-btn-border-color: rgba(255, 255, 255, 0.48);
  --bs-btn-hover-color: var(--rt-navy-950);
  --bs-btn-hover-bg: var(--rt-white);
  --bs-btn-hover-border-color: var(--rt-white);
  color: var(--rt-white);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.btn-outline-navy {
  color: var(--rt-navy-900);
  border: 1px solid var(--rt-navy-900);
  background: transparent;
}

.btn-outline-navy:hover {
  color: var(--rt-white);
  background: var(--rt-navy-900);
  border-color: var(--rt-navy-900);
}

.btn-link-arrow {
  min-height: auto;
  padding: 0;
  color: var(--rt-navy-900);
  border: 0;
  font-weight: 800;
}

.btn-link-arrow:hover {
  color: var(--rt-orange-600);
  transform: none;
}

.btn-link-arrow i {
  transition: transform var(--rt-transition);
}

.btn-link-arrow:hover i {
  transform: translateX(4px);
}

/* Header */
.utility-bar {
  position: relative;
  z-index: 1031;
  min-height: 38px;
  color: rgba(255, 255, 255, 0.76);
  background: var(--rt-navy-950);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.utility-bar a {
  color: rgba(255, 255, 255, 0.84);
}

.utility-bar a:hover {
  color: var(--rt-white);
}

.utility-bar__item {
  display: inline-flex;
  gap: 0.38rem;
  align-items: center;
}

.utility-bar__item i {
  color: #ff8060;
}

.site-header {
  position: relative;
  z-index: 1030;
}

.site-navbar {
  min-height: 84px;
  padding: 0;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(220, 229, 235, 0.9);
  box-shadow: 0 6px 24px rgba(3, 22, 38, 0.05);
  backdrop-filter: blur(14px);
}

.site-navbar.is-scrolled {
  min-height: 72px;
  box-shadow: 0 10px 35px rgba(3, 22, 38, 0.12);
}

.site-navbar,
.site-navbar .brand-logo--header {
  transition: all var(--rt-transition);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  margin-right: 1.75rem;
  padding: 0.35rem 0;
  color: var(--rt-navy-950);
}

.navbar-brand:hover {
  color: var(--rt-navy-950);
}

.navbar-brand--official {
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.brand-logo--header {
  width: 190px;
}

.site-navbar.is-scrolled .brand-logo--header {
  width: 170px;
}

.navbar-brand--footer {
  width: fit-content;
  margin-right: 0;
  padding: 0.55rem 0.7rem;
  background: var(--rt-white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.brand-logo--footer {
  width: 205px;
}

.navbar-brand--404 {
  display: flex;
  margin-right: auto;
  margin-left: auto;
}

.site-navbar .nav-link {
  position: relative;
  padding: 1.95rem 0.95rem;
  color: #33424e;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.site-navbar .nav-link::after {
  position: absolute;
  right: 0.95rem;
  bottom: 1.28rem;
  left: 0.95rem;
  height: 2px;
  background: var(--rt-orange-500);
  border-radius: 10px;
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transition:
    opacity var(--rt-transition),
    transform var(--rt-transition);
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
  color: var(--rt-navy-950);
  background: rgba(232, 242, 248, 0.52);
}

.site-navbar .nav-link:hover::after,
.site-navbar .nav-link.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-navbar.is-scrolled .nav-link {
  padding-top: 1.45rem;
  padding-bottom: 1.45rem;
}

.site-navbar.is-scrolled .nav-link::after {
  bottom: 0.92rem;
}

.site-navbar .navbar-collapse > .d-flex .btn {
  min-height: 46px;
  padding-right: 1.2rem;
  padding-left: 1.2rem;
  border-radius: 999px;
}

.navbar-toggler {
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--rt-navy-900);
  border: 1px solid var(--rt-border);
  border-radius: 10px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  width: 1.3em;
  height: 1.3em;
}

/* Home hero */
.hero {
  position: relative;
  display: flex;
  min-height: 690px;
  align-items: center;
  color: var(--rt-white);
  background: var(--rt-navy-950);
  overflow: hidden;
}

.hero::after {
  position: absolute;
  bottom: -160px;
  left: -110px;
  z-index: 2;
  width: 420px;
  height: 420px;
  background: rgba(13, 93, 150, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 3;
}

/* Reusable three-image page banners */
.banner-slider {
  --banner-overlay: linear-gradient(90deg, rgba(3, 22, 38, 0.97) 0%, rgba(4, 30, 51, 0.9) 40%, rgba(5, 36, 62, 0.44) 70%, rgba(3, 22, 38, 0.18) 100%);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--rt-navy-950);
}

.page-hero.banner-slider {
  --banner-overlay: linear-gradient(90deg, rgba(3, 22, 38, 0.97) 0%, rgba(4, 30, 51, 0.88) 50%, rgba(3, 22, 38, 0.38) 100%);
}

.banner-slider::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--banner-overlay);
  content: "";
  pointer-events: none;
}

.banner-slider__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--rt-navy-950);
  pointer-events: none;
}

.banner-slider__slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  visibility: hidden;
  opacity: 0;
  transform: translate3d(2.5%, 0, 0) scale(1.055);
  transition:
    opacity 850ms ease,
    transform 1050ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.banner-slider__slide.is-active,
.banner-slider__slide.is-entering,
.banner-slider__slide.is-leaving {
  visibility: visible;
}

.banner-slider__slide.is-active {
  z-index: 2;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.banner-slider__slide.is-entering {
  z-index: 3;
}

.banner-slider__slide.is-leaving {
  z-index: 1;
  opacity: 0;
  transform: translate3d(-2.5%, 0, 0) scale(1.025);
}

.banner-slider__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--banner-position, center);
  user-select: none;
}

.banner-slider__controls {
  position: absolute;
  right: clamp(1.25rem, 5vw, 6rem);
  bottom: 1.5rem;
  z-index: 6;
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  padding: 0.46rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(3, 22, 38, 0.82);
  box-shadow: 0 12px 34px rgba(3, 22, 38, 0.34);
  backdrop-filter: blur(12px);
}

/* Keep the home controls clear of the overlapping trust panel. */
.banner-slider--home .banner-slider__controls {
  bottom: 5.25rem;
}

.banner-slider__dots {
  display: flex;
  gap: 0.36rem;
  align-items: center;
  padding-left: 0.25rem;
}

.banner-slider__dot,
.banner-slider__toggle {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  color: var(--rt-white);
  border: 0;
  background: transparent;
}

.banner-slider__dot {
  position: relative;
  width: 24px;
  height: 24px;
}

.banner-slider__dot::before {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  content: "";
  transition:
    width 220ms ease,
    background-color 220ms ease;
}

.banner-slider__dot.is-active::before {
  width: 22px;
  background: var(--rt-orange-500);
}

.banner-slider__toggle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.banner-slider__dot:focus-visible,
.banner-slider__toggle:focus-visible {
  outline: 2px solid var(--rt-white);
  outline-offset: 3px;
}

.banner-slider__toggle:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.hero__content {
  max-width: 720px;
  padding: 70px 0 92px;
}

.hero__badge {
  display: inline-flex;
  min-height: 38px;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 1.6rem;
  padding: 0.52rem 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.hero__badge span {
  width: 7px;
  height: 7px;
  background: #ff7350;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 115, 80, 0.15);
}

.hero h1 {
  max-width: 700px;
  margin-bottom: 1.5rem;
  color: var(--rt-white);
  font-size: clamp(2.8rem, 5.3vw, 5.25rem);
  font-weight: 780;
  letter-spacing: -0.055em;
  line-height: 1.01;
}

.hero h1 em {
  color: #ff7a56;
  font-style: normal;
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.02rem, 1.8vw, 1.23rem);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.hero__trust {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  margin-top: 2.25rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.85rem;
  font-weight: 650;
}

.hero__trust-item {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}

.hero__trust-item i {
  color: #ff8060;
  font-size: 1rem;
}

.trust-strip {
  position: relative;
  z-index: 3;
  margin-top: -48px;
}

.trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid rgba(220, 229, 235, 0.85);
  border-radius: var(--rt-radius);
  background: var(--rt-white);
  box-shadow: var(--rt-shadow-lg);
}

.trust-stat {
  position: relative;
  display: flex;
  min-height: 110px;
  gap: 0.9rem;
  align-items: center;
  padding: 1.4rem 1.65rem;
}

.trust-stat + .trust-stat {
  border-left: 1px solid var(--rt-border);
}

.trust-stat__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  flex: 0 0 auto;
  color: var(--rt-orange-500);
  background: var(--rt-orange-100);
  border-radius: 12px;
  font-size: 1.25rem;
}

.trust-stat__value {
  display: block;
  color: var(--rt-navy-950);
  font-family: "Manrope", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.trust-stat__label {
  display: block;
  margin-top: 0.25rem;
  color: var(--rt-muted);
  font-size: 0.81rem;
  font-weight: 600;
  line-height: 1.35;
}

/* Service cards */
.services-showcase {
  position: relative;
  background:
    radial-gradient(circle at 92% 5%, rgba(13, 93, 150, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f5f9fc 52%, #ffffff 100%);
  overflow: hidden;
}

.services-showcase > .container {
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.5rem;
}

.services-grid__item {
  grid-column: span 2;
  min-width: 0;
}

.services-grid__item:nth-child(n + 4) {
  grid-column: span 3;
}

.service-card {
  position: relative;
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--rt-border);
  border-radius: var(--rt-radius);
  background: var(--rt-white);
  box-shadow: 0 14px 38px rgba(3, 22, 38, 0.065);
  transition:
    transform var(--rt-transition),
    box-shadow var(--rt-transition),
    border-color var(--rt-transition);
}

.service-card:hover,
.service-card:focus-within {
  border-color: rgba(13, 93, 150, 0.35);
  box-shadow: var(--rt-shadow-lg);
  transform: translateY(-8px);
}

.service-card__media {
  position: relative;
  height: 225px;
  overflow: hidden;
}

.service-card__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(3, 22, 38, 0.35));
  content: "";
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

.service-card:hover .service-card__media img {
  transform: scale(1.045);
}

.service-card__icon {
  position: relative;
  z-index: 3;
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  align-self: flex-end;
  place-items: center;
  margin: -29px 1.4rem -29px 0;
  color: var(--rt-white);
  background: var(--rt-navy-900);
  border: 5px solid var(--rt-white);
  border-radius: 16px;
  box-shadow: 0 12px 22px rgba(3, 22, 38, 0.24);
  font-size: 1.32rem;
}

.service-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 2.25rem 1.5rem 1.5rem;
}

.service-card__number {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--rt-orange-500);
  font-family: "Manrope", sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.3rem;
}

.service-card p {
  margin-bottom: 0;
  color: var(--rt-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.service-card__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 0.7rem;
  margin: 1rem 0 1.15rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--rt-border);
  border-bottom: 1px solid var(--rt-border);
  list-style: none;
}

.service-card__list li {
  display: flex;
  gap: 0.42rem;
  align-items: flex-start;
  color: #465560;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.45;
}

.service-card__list i {
  margin-top: 0.12rem;
  color: var(--rt-orange-500);
}

.service-card .btn-link-arrow {
  align-self: flex-start;
  margin-top: auto;
}

.services-grid__item:nth-child(1) .service-card__media img {
  object-position: 56% center;
}

.services-grid__item:nth-child(2) .service-card__media img {
  object-position: 55% center;
}

.services-grid__item:nth-child(3) .service-card__media img {
  object-position: 58% center;
}

.services-grid__item:nth-child(4) .service-card__media img {
  object-position: 50% center;
}

.services-grid__item:nth-child(5) .service-card__media img {
  object-position: 46% center;
}

/* Homepage company introduction */
.home-about {
  position: relative;
  background:
    radial-gradient(circle at 8% 14%, rgba(13, 93, 150, 0.1), transparent 27%),
    linear-gradient(180deg, #f4f8fb 0%, #ffffff 100%);
  overflow: hidden;
}

.home-about::before {
  position: absolute;
  top: 72px;
  right: -150px;
  width: 360px;
  height: 360px;
  border: 72px solid rgba(13, 93, 150, 0.045);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.home-about__panel {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  overflow: hidden;
  border: 1px solid rgba(204, 218, 227, 0.92);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 80px rgba(3, 22, 38, 0.11);
}

.home-about__panel::before {
  position: absolute;
  top: 0;
  right: 12%;
  left: 12%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--rt-orange-500), transparent);
  content: "";
}

.home-about__grid {
  --bs-gutter-x: clamp(2.5rem, 5vw, 5rem);
}

.home-about__content {
  padding: 0.75rem 0.75rem 0.75rem 0;
}

.home-about .section__title {
  max-width: 600px;
  margin-bottom: 1.2rem;
  font-size: clamp(2.05rem, 3.8vw, 3.25rem);
}

.home-about .section__intro {
  max-width: 610px;
  font-size: clamp(1rem, 1.4vw, 1.08rem);
  line-height: 1.75;
}

.image-composition {
  position: relative;
  min-height: 550px;
}

.image-composition::after {
  position: absolute;
  top: 22px;
  bottom: 46px;
  left: -12px;
  z-index: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--rt-orange-500), rgba(237, 85, 41, 0));
  border-radius: 999px;
  content: "";
}

.image-composition__main {
  position: relative;
  z-index: 1;
  display: block;
  width: calc(100% - 46px);
  height: 525px;
  object-fit: cover;
  object-position: 56% center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(3, 22, 38, 0.2);
}

.image-composition__detail {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 48%;
  height: 205px;
  object-fit: cover;
  object-position: center;
  border: 8px solid var(--rt-white);
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(3, 22, 38, 0.22);
}

.image-composition__badge {
  position: absolute;
  top: 28px;
  right: 0;
  z-index: 3;
  display: grid;
  width: 140px;
  min-height: 108px;
  place-items: center;
  padding: 1rem 0.9rem;
  color: var(--rt-white);
  background: linear-gradient(145deg, var(--rt-orange-500), var(--rt-orange-600));
  border: 6px solid var(--rt-white);
  border-radius: 18px;
  box-shadow: 0 16px 35px rgba(217, 66, 28, 0.3);
  text-align: center;
}

.image-composition__badge strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.image-composition__badge span {
  display: block;
  font-size: 0.74rem;
  font-weight: 750;
  line-height: 1.35;
}

.feature-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.65rem 0 2rem;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(220, 229, 235, 0.95);
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(245, 248, 250, 0.95), rgba(255, 255, 255, 0.9));
  transition:
    border-color var(--rt-transition),
    transform var(--rt-transition);
}

.feature-list li:hover {
  border-color: rgba(13, 93, 150, 0.3);
  transform: translateX(4px);
}

.feature-list__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  flex: 0 0 auto;
  color: var(--rt-orange-500);
  background: var(--rt-orange-100);
  border: 1px solid rgba(237, 85, 41, 0.12);
  border-radius: 12px;
  font-size: 1.05rem;
}

.feature-list strong {
  display: block;
  margin-bottom: 0.14rem;
  color: var(--rt-navy-950);
  font-size: 1rem;
}

.feature-list li > span:not(.feature-list__icon),
.feature-list li > span:not(.feature-list__icon) > span {
  display: block;
}

.feature-list li > span:not(.feature-list__icon) > span {
  color: var(--rt-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.home-about__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Why us */
.why-card {
  position: relative;
  height: 100%;
  padding: 2rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--rt-radius);
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(10px);
  transition:
    background-color var(--rt-transition),
    transform var(--rt-transition);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-5px);
}

.why-card__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 1.4rem;
  color: #ff8260;
  background: rgba(237, 85, 41, 0.13);
  border: 1px solid rgba(237, 85, 41, 0.28);
  border-radius: 14px;
  font-size: 1.32rem;
}

.why-card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.16rem;
  letter-spacing: -0.02em;
}

.why-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Projects */
.project-card {
  position: relative;
  display: block;
  min-height: 420px;
  overflow: hidden;
  color: var(--rt-white);
  border-radius: var(--rt-radius);
  background: var(--rt-navy-900);
  box-shadow: var(--rt-shadow-sm);
}

.project-card:hover {
  color: var(--rt-white);
  box-shadow: var(--rt-shadow-lg);
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

.project-card:hover img {
  transform: scale(1.055);
}

.project-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 22, 38, 0.04) 28%, rgba(3, 22, 38, 0.94) 100%);
  content: "";
}

.project-card__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 2rem;
}

.project-card__type {
  display: inline-flex;
  margin-bottom: 0.7rem;
  padding: 0.38rem 0.65rem;
  color: #ffd4c8;
  background: rgba(237, 85, 41, 0.18);
  border: 1px solid rgba(255, 125, 89, 0.32);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-card h3 {
  margin-bottom: 0.45rem;
  color: var(--rt-white);
  font-size: 1.48rem;
}

.project-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.92rem;
  line-height: 1.55;
}

.project-card__arrow {
  position: absolute;
  top: 1.35rem;
  right: 1.35rem;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--rt-navy-950);
  background: var(--rt-white);
  border-radius: 50%;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity var(--rt-transition),
    transform var(--rt-transition);
}

.project-card:hover .project-card__arrow {
  opacity: 1;
  transform: translateY(0);
}

.client-card {
  position: relative;
  height: 100%;
  padding: 1.6rem 1.55rem 1.55rem 1.8rem;
  overflow: hidden;
  border: 1px solid var(--rt-border);
  border-radius: var(--rt-radius-sm);
  background: var(--rt-white);
  transition:
    transform var(--rt-transition),
    box-shadow var(--rt-transition);
}

.client-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background: var(--rt-orange-500);
  border-radius: 10px;
  content: "";
}

.client-card:hover {
  box-shadow: var(--rt-shadow-sm);
  transform: translateY(-4px);
}

.client-card__label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--rt-orange-600);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.client-card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.client-card p {
  margin: 0;
  color: var(--rt-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Process */
.process-grid {
  position: relative;
}

.process-grid::before {
  position: absolute;
  top: 31px;
  right: 12%;
  left: 12%;
  height: 1px;
  background: var(--rt-border);
  content: "";
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.process-step__number {
  display: grid;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.3rem;
  place-items: center;
  color: var(--rt-white);
  background: var(--rt-navy-900);
  border: 7px solid var(--rt-white);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--rt-border);
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
}

.process-step:nth-child(2) .process-step__number,
.process-step:nth-child(4) .process-step__number {
  background: var(--rt-orange-500);
}

.process-step h3 {
  margin-bottom: 0.5rem;
  font-size: 1.12rem;
}

.process-step p {
  max-width: 230px;
  margin: 0 auto;
  color: var(--rt-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Testimonials */
.testimonial-card {
  height: 100%;
  padding: 2rem;
  border: 1px solid var(--rt-border);
  border-radius: var(--rt-radius);
  background: var(--rt-white);
  box-shadow: var(--rt-shadow-sm);
}

.testimonial-card__quote {
  color: var(--rt-orange-500);
  font-size: 2.1rem;
  line-height: 1;
}

.testimonial-card__stars {
  display: flex;
  gap: 0.2rem;
  margin: 1rem 0;
  color: #ef9e2f;
  font-size: 0.82rem;
}

.testimonial-card blockquote {
  margin-bottom: 1.5rem;
  color: #394853;
  font-size: 0.95rem;
  line-height: 1.75;
}

.testimonial-card__author {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.testimonial-card__avatar {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--rt-white);
  background: var(--rt-navy-900);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
}

.testimonial-card__author strong,
.testimonial-card__author span {
  display: block;
}

.testimonial-card__author strong {
  color: var(--rt-navy-950);
  font-size: 0.88rem;
}

.testimonial-card__author span {
  color: var(--rt-muted);
  font-size: 0.78rem;
}

/* CTA */
.cta-panel {
  position: relative;
  padding: 3.2rem 3.4rem;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.77);
  background:
    linear-gradient(110deg, rgba(6, 31, 54, 0.98), rgba(8, 59, 99, 0.94)),
    url("../images/project-maintenance.jpg") center / cover no-repeat;
  border-radius: var(--rt-radius-lg);
  box-shadow: var(--rt-shadow-lg);
}

.cta-panel::after {
  position: absolute;
  top: -180px;
  right: -120px;
  width: 380px;
  height: 380px;
  border: 70px solid rgba(255, 255, 255, 0.045);
  border-radius: 50%;
  content: "";
}

.cta-panel > .row {
  position: relative;
  z-index: 1;
}

.cta-panel h2 {
  max-width: 700px;
  margin-bottom: 0.7rem;
  color: var(--rt-white);
  font-size: clamp(1.85rem, 3.8vw, 3rem);
}

.cta-panel p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.69);
}

/* FAQ */
.accordion {
  --rt-accordion-padding-x: clamp(1.15rem, 2.4vw, 1.75rem);
}

.accordion-item {
  margin-bottom: 0.8rem;
  overflow: hidden;
  border: 1px solid var(--rt-border) !important;
  border-radius: var(--rt-radius-sm) !important;
  background: var(--rt-white);
}

.accordion-button {
  padding: 1.3rem var(--rt-accordion-padding-x);
  color: var(--rt-navy-950);
  background: var(--rt-white);
  font-family: "Manrope", sans-serif;
  font-size: 0.98rem;
  font-weight: 750;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: var(--rt-navy-950);
  background: var(--rt-blue-100);
}

.accordion-button::after {
  width: 1rem;
  height: 1rem;
  background-size: 1rem;
}

.accordion-body {
  padding: 1.05rem var(--rt-accordion-padding-x) 1.5rem;
  color: var(--rt-muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* Inner page hero */
.page-hero {
  position: relative;
  display: flex;
  min-height: 430px;
  align-items: center;
  color: var(--rt-white);
  background-color: var(--rt-navy-950);
  overflow: hidden;
}

.page-hero::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 80% 15%, rgba(13, 93, 150, 0.25), transparent 35%),
    linear-gradient(180deg, transparent, rgba(3, 22, 38, 0.3));
  content: "";
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 3;
  padding-top: 58px;
  padding-bottom: 68px;
}

.breadcrumb {
  margin-bottom: 1.4rem;
  font-size: 0.82rem;
  font-weight: 650;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.68);
}

.breadcrumb-item.active {
  color: #ff8b6c;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.38);
}

.page-hero h1 {
  max-width: 820px;
  margin-bottom: 1rem;
  color: var(--rt-white);
  font-size: clamp(2.6rem, 5.2vw, 4.8rem);
  letter-spacing: -0.055em;
}

.page-hero p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

/* Reserve a clear control lane below the Contact hero download action. */
@media (min-width: 992px) {
  .page-hero--contact .page-hero__action {
    padding-bottom: 5.25rem;
  }
}

/* About page */
.value-card {
  height: 100%;
  padding: 1.8rem 1.6rem;
  border: 1px solid var(--rt-border);
  border-radius: var(--rt-radius);
  background: var(--rt-white);
}

.value-card__icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 1.2rem;
  place-items: center;
  color: var(--rt-orange-500);
  background: var(--rt-orange-100);
  border-radius: 14px;
  font-size: 1.2rem;
}

.value-card h3 {
  font-size: 1.12rem;
}

.value-card p {
  margin: 0;
  color: var(--rt-muted);
  font-size: 0.91rem;
}

.about-metrics {
  padding: 64px 0;
}

.about-metrics .row {
  --bs-gutter-x: 1.15rem;
  --bs-gutter-y: 1.15rem;
}

.about-metrics [class*="col-"] {
  display: flex;
}

.metric-card {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 176px;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.7rem 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(13, 93, 150, 0.1));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.13);
  text-align: center;
}

.metric-card::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 48px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: var(--rt-orange-500);
  content: "";
  transform: translateX(-50%);
}

.metric-card strong {
  display: block;
  max-width: 100%;
  margin-bottom: 0.65rem;
  color: var(--rt-white);
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.metric-card span {
  display: block;
  max-width: 240px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.065em;
}

.quality-list {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  list-style: none;
}

.quality-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: #45535e;
  font-size: 0.96rem;
}

.quality-list i {
  margin-top: 0.12rem;
  color: var(--rt-orange-500);
}

/* Services detail */
.service-detail {
  scroll-margin-top: 110px;
}

.service-detail__image {
  position: relative;
  height: 520px;
  overflow: hidden;
  border-radius: var(--rt-radius-lg);
  box-shadow: var(--rt-shadow-lg);
}

.service-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail__image-badge {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  padding: 1.15rem 1.3rem;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(3, 22, 38, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  font-size: 0.85rem;
  backdrop-filter: blur(12px);
}

.service-detail__image-badge strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--rt-white);
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
}

.service-detail__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.6rem 0 2rem;
  padding: 0;
  list-style: none;
}

.service-detail__list li {
  display: flex;
  min-height: 54px;
  gap: 0.65rem;
  align-items: center;
  padding: 0.75rem 0.9rem;
  color: #354550;
  background: var(--rt-surface);
  border: 1px solid var(--rt-border);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.4;
}

.service-detail__list i {
  color: var(--rt-orange-500);
  font-size: 1rem;
}

.service-nav {
  position: sticky;
  top: 92px;
  z-index: 10;
  padding: 0.75rem;
  border: 1px solid var(--rt-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--rt-shadow-sm);
  backdrop-filter: blur(12px);
}

.service-nav .nav-link {
  padding: 0.65rem 0.9rem;
  color: var(--rt-muted);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
}

.service-nav .nav-link:hover,
.service-nav .nav-link.active {
  color: var(--rt-white);
  background: var(--rt-navy-900);
}

/* Project grid and filters */
.project-filter {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.project-filter .btn {
  min-height: 44px;
  padding: 0.55rem 1rem;
  color: var(--rt-muted);
  background: var(--rt-white);
  border: 1px solid var(--rt-border);
  box-shadow: none;
  font-size: 0.82rem;
}

.project-filter .btn:hover,
.project-filter .btn.active {
  color: var(--rt-white);
  background: var(--rt-navy-900);
  border-color: var(--rt-navy-900);
}

.project-grid-item {
  transition:
    opacity 200ms ease,
    transform 200ms ease;
}

.project-grid-item.is-hidden {
  display: none;
}

/* Contact */
.contact-hero {
  position: relative;
  color: rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at 85% 0%, rgba(13, 93, 150, 0.48), transparent 35%),
    var(--rt-navy-950);
  overflow: hidden;
}

.contact-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
}

.contact-hero > .container {
  position: relative;
  z-index: 1;
}

.contact-hero h1,
.contact-hero h2,
.contact-hero h3 {
  color: var(--rt-white);
}

.contact-hero .section__intro {
  color: rgba(255, 255, 255, 0.72);
}

.contact-info-card {
  display: flex;
  height: 100%;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.45rem;
  color: rgba(255, 255, 255, 0.69);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--rt-radius-sm);
  background: rgba(255, 255, 255, 0.055);
}

.contact-info-card__icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  flex: 0 0 auto;
  color: #ff8664;
  background: rgba(237, 85, 41, 0.13);
  border-radius: 12px;
  font-size: 1.15rem;
}

.contact-info-card h3 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.contact-info-card p,
.contact-info-card a {
  display: block;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  line-height: 1.65;
}

.contact-info-card a:hover {
  color: var(--rt-white);
}

.contact-form-card {
  padding: clamp(1.5rem, 4vw, 2.7rem);
  color: var(--rt-ink);
  background: var(--rt-white);
  border-radius: var(--rt-radius-lg);
  box-shadow: var(--rt-shadow-lg);
}

.contact-form-card h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
}

.form-label {
  margin-bottom: 0.42rem;
  color: var(--rt-navy-950);
  font-size: 0.82rem;
  font-weight: 750;
}

.form-control,
.form-select {
  min-height: 52px;
  padding: 0.72rem 0.9rem;
  color: var(--rt-ink);
  background-color: #fbfcfd;
  border: 1px solid var(--rt-border);
  border-radius: 9px;
  font-size: 0.92rem;
}

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

.form-control:focus,
.form-select:focus {
  background-color: var(--rt-white);
  border-color: rgba(13, 93, 150, 0.65);
  box-shadow: 0 0 0 0.22rem rgba(13, 93, 150, 0.1);
}

.form-control::placeholder {
  color: #9aa6af;
}

.form-check-label,
.form-note {
  color: var(--rt-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.form-check-input:checked {
  background-color: var(--rt-orange-500);
  border-color: var(--rt-orange-500);
}

.map-frame {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: var(--rt-radius);
  filter: grayscale(0.35) contrast(0.95);
  box-shadow: var(--rt-shadow-sm);
}

.form-alert {
  display: none;
  padding: 0.85rem 1rem;
  color: #0c5e3f;
  background: #e8f7f0;
  border: 1px solid #b9ead5;
  border-radius: 9px;
  font-size: 0.86rem;
}

.form-alert.is-visible {
  display: block;
}

/* Footer */
.site-footer {
  color: rgba(255, 255, 255, 0.6);
  background: var(--rt-navy-950);
}

.site-footer__main {
  padding: 76px 0 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.site-footer .navbar-brand {
  color: var(--rt-white);
}

.site-footer__about {
  max-width: 350px;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  line-height: 1.7;
}

.site-footer h3 {
  margin-bottom: 1.15rem;
  color: var(--rt-white);
  font-size: 0.95rem;
  letter-spacing: 0;
}

.footer-links {
  display: grid;
  gap: 0.68rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a,
.footer-links span {
  display: inline-flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.84rem;
  line-height: 1.5;
}

.footer-links a:hover {
  color: var(--rt-white);
}

.footer-links i {
  margin-top: 0.12rem;
  color: #ff8060;
}

.footer-socials {
  display: flex;
  gap: 0.55rem;
  margin-top: 1.45rem;
}

.footer-socials a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.footer-socials a:hover {
  color: var(--rt-white);
  background: var(--rt-orange-500);
  border-color: var(--rt-orange-500);
}

.site-footer__bottom {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.76rem;
}

.site-footer__bottom a {
  color: rgba(255, 255, 255, 0.58);
}

.site-footer__bottom a:hover {
  color: var(--rt-white);
}

/* Floating/mobile actions */
.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 1020;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--rt-white);
  background: #1ebd68;
  border: 4px solid var(--rt-white);
  border-radius: 50%;
  box-shadow: 0 14px 35px rgba(3, 22, 38, 0.24);
  font-size: 1.55rem;
}

.floating-whatsapp:hover {
  color: var(--rt-white);
  background: #169b54;
  transform: translateY(-3px);
}

.mobile-action-bar {
  display: none;
}

.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 92px;
  z-index: 1019;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--rt-white);
  background: var(--rt-navy-900);
  border: 0;
  border-radius: 50%;
  box-shadow: var(--rt-shadow-sm);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity var(--rt-transition),
    transform var(--rt-transition);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

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

.reveal-delay-1 {
  transition-delay: 90ms;
}

.reveal-delay-2 {
  transition-delay: 180ms;
}

.reveal-delay-3 {
  transition-delay: 270ms;
}

/* Responsive */
@media (max-width: 1199.98px) {
  .brand-logo--header {
    width: 168px;
  }

  .site-navbar.is-scrolled .brand-logo--header {
    width: 155px;
  }

  .site-navbar .nav-link {
    padding-right: 0.65rem;
    padding-left: 0.65rem;
  }

  .trust-stat {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .trust-stat__icon {
    width: 42px;
    height: 42px;
  }

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

  .services-grid__item,
  .services-grid__item:nth-child(n + 4) {
    grid-column: auto;
  }

  .services-grid__item:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 0.75rem);
    justify-self: center;
  }

  .service-card__media {
    height: 220px;
  }
}

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

  .site-navbar {
    min-height: 74px;
  }

  .brand-logo--header {
    width: 160px;
  }

  .site-navbar.is-scrolled .brand-logo--header {
    width: 150px;
  }

  .site-navbar .navbar-collapse {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: min(390px, 90vw);
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh;
    padding: 5.8rem 1.5rem 2rem;
    overflow-y: auto;
    background: var(--rt-white);
    border-left: 1px solid var(--rt-border);
    box-shadow: -20px 0 60px rgba(3, 22, 38, 0.18);
    transform: translateX(110%);
    visibility: hidden;
    transition:
      transform 300ms ease,
      visibility 300ms ease;
  }

  .site-navbar .navbar-collapse.show,
  .site-navbar .navbar-collapse.collapsing {
    transform: translateX(0);
    visibility: visible;
  }

  .site-navbar .navbar-collapse.collapsing {
    height: 100vh !important;
    height: 100dvh !important;
  }

  .site-navbar .navbar-collapse::before {
    display: block;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    color: var(--rt-orange-600);
    border-bottom: 1px solid var(--rt-border);
    content: "Navigation";
    font-family: "Manrope", sans-serif;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  body.menu-open::before {
    position: fixed;
    inset: 0;
    z-index: 1029;
    background: rgba(3, 22, 38, 0.54);
    content: "";
    backdrop-filter: blur(3px);
  }

  .site-navbar .navbar-nav {
    gap: 0.35rem;
  }

  .site-navbar .nav-link,
  .site-navbar.is-scrolled .nav-link {
    padding: 0.95rem 1rem;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 1.05rem;
  }

  .site-navbar .nav-link::after {
    display: none;
  }

  .site-navbar .nav-link.active,
  .site-navbar .nav-link:hover {
    color: var(--rt-navy-950);
    background: var(--rt-blue-100);
    border-color: rgba(13, 93, 150, 0.12);
    box-shadow: inset 3px 0 0 var(--rt-orange-500);
  }

  .site-navbar .navbar-collapse > .d-flex {
    margin-top: 1.5rem !important;
    padding-top: 1.25rem;
    border-top: 1px solid var(--rt-border);
  }

  .site-navbar .navbar-collapse > .d-flex .btn {
    width: 100%;
    min-height: 52px;
  }

  .navbar-toggler {
    position: relative;
    z-index: 2;
  }

  .navbar-toggler[aria-expanded="true"] {
    color: var(--rt-white);
    background: var(--rt-orange-500);
    border-color: var(--rt-orange-500);
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    filter: brightness(0) invert(1);
  }

  .hero {
    min-height: 640px;
  }

  .hero__content {
    max-width: 650px;
  }

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

  .trust-stat:nth-child(3) {
    border-left: 0;
  }

  .trust-stat:nth-child(n + 3) {
    border-top: 1px solid var(--rt-border);
  }

  .home-about__content {
    padding: 0;
  }

  .image-composition {
    margin-bottom: 1rem;
  }

  .process-grid::before {
    display: none;
  }

  .process-step {
    text-align: left;
  }

  .process-step__number {
    margin-right: 0;
    margin-left: 0;
  }

  .process-step p {
    margin-left: 0;
  }

  .service-nav {
    top: 76px;
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
  }
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: 66px;
    font-size: 16px;
  }

  .container {
    --bs-gutter-x: 1.5rem;
  }

  .section,
  .section--compact {
    padding: 66px 0;
  }

  .about-metrics {
    padding: 52px 0;
  }

  .about-metrics .row {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
  }

  .metric-card {
    min-height: 158px;
    padding: 1.25rem 0.72rem;
    border-radius: 14px;
  }

  .metric-card strong {
    margin-bottom: 0.5rem;
    font-size: clamp(1.25rem, 5.5vw, 1.45rem);
  }

  .metric-card span {
    font-size: 0.73rem;
    line-height: 1.45;
    letter-spacing: 0.045em;
  }

  .utility-bar {
    display: none;
  }

  .hero {
    min-height: 690px;
    align-items: flex-end;
  }

  .banner-slider {
    --banner-overlay: linear-gradient(180deg, rgba(3, 22, 38, 0.24) 0%, rgba(3, 22, 38, 0.76) 43%, rgba(3, 22, 38, 0.98) 100%);
  }

  .page-hero.banner-slider {
    --banner-overlay: linear-gradient(180deg, rgba(3, 22, 38, 0.5) 0%, rgba(3, 22, 38, 0.9) 72%, rgba(3, 22, 38, 0.98) 100%);
  }

  .banner-slider__slide img {
    object-position: var(--banner-mobile-position, var(--banner-position, center));
  }

  .banner-slider__controls,
  .banner-slider--home .banner-slider__controls {
    top: 1rem;
    right: 1rem;
    bottom: auto;
  }

  .hero__content {
    padding: 250px 0 84px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.6rem);
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__trust {
    gap: 0.8rem;
    align-items: flex-start;
    flex-direction: column;
  }

  .trust-strip {
    margin-top: -32px;
  }

  .trust-strip__inner {
    grid-template-columns: 1fr;
  }

  .trust-stat {
    min-height: 88px;
  }

  .trust-stat + .trust-stat {
    border-top: 1px solid var(--rt-border);
    border-left: 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .services-grid__item,
  .services-grid__item:nth-child(n + 4),
  .services-grid__item:last-child {
    grid-column: auto;
    width: 100%;
  }

  .service-card__media {
    height: 210px;
  }

  .service-card__body {
    padding: 2.15rem 1.35rem 1.35rem;
  }

  .brand-logo--footer {
    width: 190px;
  }

  .home-about__panel {
    padding: 1rem;
    border-radius: 24px;
  }

  .home-about__grid {
    --bs-gutter-x: 1.5rem;
  }

  .home-about .section__title {
    font-size: clamp(1.9rem, 9vw, 2.55rem);
  }

  .image-composition {
    min-height: 420px;
    margin-bottom: 0.5rem;
  }

  .image-composition__main {
    width: calc(100% - 24px);
    height: 380px;
    border-radius: 20px;
  }

  .image-composition__detail {
    width: 54%;
    height: 155px;
    border-width: 6px;
    border-radius: 16px;
  }

  .image-composition__badge {
    top: 18px;
    right: 0;
    width: 118px;
    min-height: 92px;
    padding: 0.8rem 0.7rem;
    border-width: 4px;
    border-radius: 14px;
  }

  .image-composition__badge strong {
    font-size: 1.35rem;
  }

  .image-composition__badge span {
    font-size: 0.68rem;
  }

  .feature-list li {
    padding: 0.82rem;
  }

  .home-about__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-about__actions .btn {
    width: 100%;
  }

  .project-card {
    min-height: 370px;
  }

  .cta-panel {
    padding: 2.3rem 1.45rem;
    border-radius: var(--rt-radius);
  }

  .page-hero {
    min-height: 390px;
  }

  .page-hero .container {
    padding-top: 50px;
    padding-bottom: 56px;
  }

  .service-detail__image {
    height: 390px;
  }

  .service-detail__list {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    border-radius: var(--rt-radius);
  }

  .site-footer__main {
    padding: 62px 0 42px;
  }

  .floating-whatsapp,
  .back-to-top {
    display: none;
  }

  .mobile-action-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1035;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 66px;
    background: var(--rt-white);
    border-top: 1px solid var(--rt-border);
    box-shadow: 0 -8px 30px rgba(3, 22, 38, 0.12);
    transition:
      transform var(--rt-transition),
      visibility var(--rt-transition);
  }

  body.menu-open .mobile-action-bar {
    transform: translateY(100%);
    visibility: hidden;
  }

  .mobile-action-bar a {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    justify-content: center;
    color: var(--rt-white);
    background: var(--rt-orange-500);
    font-family: "Manrope", sans-serif;
    font-size: 0.84rem;
    font-weight: 800;
  }

  .mobile-action-bar a:last-child {
    background: #1daa61;
  }

  .reveal {
    transform: translateY(14px);
  }
}

@media (max-width: 419.98px) {
  .brand-logo--header {
    width: 145px;
  }

  .site-navbar.is-scrolled .brand-logo--header {
    width: 135px;
  }

  .hero__badge {
    font-size: 0.7rem;
  }

  .service-card__list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

@media print {
  .utility-bar,
  .site-header,
  .floating-whatsapp,
  .mobile-action-bar,
  .back-to-top,
  .hero__actions,
  .btn {
    display: none !important;
  }

  body {
    color: #000;
    padding: 0;
    background: #fff;
  }

  .section {
    padding: 40px 0;
  }
}
