:root {
  --violet: #9d14ff;
  --burgundy: #670707;
  --rose: #c858c6;
  --ink: #120917;
  --white: #ffffff;
  --smoke: #efe7f4;
  --muted: #c9b8d2;
  --line: rgba(255, 255, 255, 0.16);
  --panel: rgba(255, 255, 255, 0.08);
  --panel-strong: rgba(255, 255, 255, 0.13);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --glow: 0 0 46px rgba(157, 20, 255, 0.34);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--smoke);
  background:
    linear-gradient(145deg, #030204 0%, var(--ink) 36%, #250934 66%, #6a177e 100%) fixed;
  line-height: 1.65;
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(120% 80% at 100% 15%, rgba(157, 20, 255, 0.42), transparent 48%),
    radial-gradient(90% 65% at 0% 100%, rgba(157, 20, 255, 0.54), transparent 52%),
    radial-gradient(80% 78% at 78% 88%, rgba(255, 255, 255, 0.25), transparent 42%),
    linear-gradient(120deg, rgba(0, 0, 0, 0.78), rgba(18, 9, 23, 0.78));
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 78%, transparent);
}

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

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

h1,
h2,
h3 {
  color: var(--white);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  color: var(--muted);
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(90% 70% at 90% 50%, rgba(157, 20, 255, 0.58), transparent 52%),
    radial-gradient(80% 65% at 10% 100%, rgba(200, 88, 198, 0.42), transparent 50%),
    #030204;
  overflow: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-42px) scale(1.02);
}

.loader-orbit {
  position: absolute;
  width: min(660px, 84vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow:
    inset 0 0 70px rgba(157, 20, 255, 0.2),
    0 0 100px rgba(200, 88, 198, 0.2);
  animation: loaderPulse 1.65s ease-in-out infinite alternate;
}

.loader-orbit::before,
.loader-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.loader-orbit::before {
  inset: 11%;
  border: 1px solid rgba(200, 88, 198, 0.2);
}

.loader-orbit::after {
  width: 16px;
  height: 16px;
  top: 8%;
  left: 50%;
  background: var(--violet);
  box-shadow: 0 0 38px rgba(157, 20, 255, 0.9);
  transform-origin: 0 min(290px, 36vw);
  animation: orbitDot 2.4s linear infinite;
}

.loader-mark {
  position: relative;
  width: min(430px, 86vw);
  display: grid;
  gap: 12px;
  justify-items: center;
  text-align: center;
  padding: 34px 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(18, 9, 23, 0.42);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.5), var(--glow);
  backdrop-filter: blur(24px);
  animation: logoRise 1.08s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.loader-mark img {
  width: min(300px, 72vw);
  padding: 0;
  border-radius: var(--radius);
  background: transparent;
  filter: drop-shadow(0 20px 48px rgba(157, 20, 255, 0.42));
}

.loader-mark small {
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.loader-mark strong {
  color: var(--white);
  font-size: clamp(1.25rem, 4vw, 2rem);
  line-height: 1.12;
}

.loader-line {
  width: 112px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--rose), var(--white), var(--violet));
  background-size: 230%;
  box-shadow: var(--glow);
  animation: shimmer 1.1s linear infinite;
}

.navbar {
  padding: 16px 0;
  background: rgba(18, 9, 23, 0.58);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--line);
  transition: padding 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.navbar.scrolled {
  padding: 9px 0;
  background: rgba(8, 4, 11, 0.86);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white) !important;
  font-weight: 700;
}

.navbar-brand:hover,
.navbar-brand:focus,
.navbar-brand:active,
.navbar-brand:visited,
.navbar-brand:hover span,
.navbar-brand:focus span,
.navbar-brand:active span,
.navbar-brand:visited span {
  color: var(--white) !important;
}

.navbar-brand img {
  width: 170px;
  height: 62px;
  object-fit: contain;
  padding: 0;
  border-radius: var(--radius);
  background: transparent;
}

.navbar-brand span {
  max-width: 260px;
  color: var(--white) !important;
  line-height: 1.05;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
}

.navbar-toggler {
  border-color: var(--line);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.18rem rgba(157, 20, 255, 0.28);
}

.navbar-toggler-icon {
  filter: invert(1);
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  font-size: clamp(1rem, 1.05vw, 1.08rem);
  margin: 0 3px;
  border-radius: 999px;
  transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.nav-link:hover,
.nav-link:focus,
.nav-link:active,
.nav-link.is-selected,
.nav-link.active {
  color: var(--violet) !important;
  background: transparent;
  transform: translateY(-2px);
}

.nav-link:visited {
  color: rgba(255, 255, 255, 0.78);
}

.nav-link.is-selected:visited,
.nav-link.active:visited {
  color: var(--violet) !important;
}

.nav-cta {
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--violet), var(--rose));
  padding: 12px 21px !important;
  box-shadow: 0 16px 34px rgba(157, 20, 255, 0.25);
}

.nav-cta:hover,
.nav-cta:focus,
.nav-cta:active,
.nav-cta.is-selected,
.nav-cta.active {
  color: var(--white) !important;
}

.section-anchor {
  scroll-margin-top: 92px;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  padding-bottom: 52px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(68% 64% at 92% 46%, rgba(157, 20, 255, 0.5), transparent 58%),
    radial-gradient(62% 54% at 10% 95%, rgba(200, 88, 198, 0.32), transparent 58%),
    linear-gradient(112deg, rgba(0, 0, 0, 0.86) 0%, rgba(18, 9, 23, 0.77) 46%, rgba(157, 20, 255, 0.2) 100%),
    url("images/hero-background-2026.png") center/cover no-repeat fixed;
  transform: scale(1.04);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(18, 9, 23, 0.98));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 94px;
}

.eyebrow,
.section-kicker {
  width: max-content;
  max-width: 100%;
  padding: 8px 13px;
  margin-bottom: 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  box-shadow: 0 10px 34px rgba(157, 20, 255, 0.16);
}

.hero-title {
  color: var(--white);
  font-size: clamp(2.75rem, 6.4vw, 5.6rem);
  max-width: 980px;
  text-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
}

.hero-subtitle {
  color: var(--white);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
  margin: 24px 0 10px;
}

.hero-copy {
  color: var(--muted);
  max-width: 760px;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
  margin-bottom: 26px;
}

.btn {
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--violet), var(--rose));
  border: 0;
  box-shadow: 0 20px 42px rgba(157, 20, 255, 0.3);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--violet), var(--rose)) !important;
  border-color: transparent !important;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
}

.btn-outline-light:hover,
.btn-outline-light:focus,
.btn-outline-light:active {
  color: var(--violet) !important;
  background: var(--white) !important;
  border-color: var(--white) !important;
}

.hero-panel {
  position: relative;
  padding: 12px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.06));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  isolation: isolate;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(157, 20, 255, 0.58), transparent 36%, rgba(200, 88, 198, 0.5));
  opacity: 0.75;
}

.hero-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
}

.hero-panel-badge {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: var(--white);
  background: rgba(18, 9, 23, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 700;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.hero-panel-badge i {
  color: var(--rose);
  font-size: 1.5rem;
}

.stat-strip {
  position: relative;
  z-index: 4;
  margin-top: 26px;
}

.stat-card {
  min-height: 124px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 24px;
  color: var(--white);
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.stat-card span {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.stat-card small {
  font-weight: 700;
  color: var(--muted);
}

.section {
  position: relative;
  padding: clamp(72px, 9vw, 128px) 0;
  transform-origin: center top;
  transition: transform 0.72s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.72s ease, opacity 0.72s ease;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.section.section-lift,
.hero-section.section-lift {
  transform: translateY(-34px) scale(1.012);
  filter: drop-shadow(0 34px 74px rgba(157, 20, 255, 0.32));
}

.section.section-arrive,
.hero-section.section-arrive {
  animation: sectionArrive 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.muted {
  background: rgba(255, 255, 255, 0.035);
}

.section-heading {
  max-width: 860px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading .section-kicker {
  margin-left: auto;
  margin-right: auto;
}

.leader-card,
.mission-card,
.credential-card,
.service-card,
.comparison-panel,
.contact-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.leader-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: 16px;
}

.leader-image img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
}

.about-image {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.about-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--radius);
}

.leader-label {
  color: var(--rose);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.mission-card {
  height: 100%;
  padding: 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.mission-card:hover,
.credential-card:hover,
.service-card:hover,
.why-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 88, 198, 0.54);
  box-shadow: 0 34px 78px rgba(0, 0, 0, 0.44);
}

.mission-card i,
.credential-card i,
.service-card > i {
  color: var(--rose);
  font-size: 2rem;
  margin-bottom: 18px;
}

.mission-card.accent,
.comparison-panel,
.contact-card {
  background: linear-gradient(135deg, rgba(103, 7, 7, 0.68), rgba(157, 20, 255, 0.24));
}

.mission-card.accent h3,
.mission-card.accent p,
.mission-card.accent i {
  color: var(--white);
}

.timeline {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.timeline-item {
  padding: 26px;
  border-right: 1px solid var(--line);
}

.timeline-item:last-child {
  border-right: 0;
}

.timeline-item span {
  display: block;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-item p {
  margin: 0;
  font-weight: 600;
}

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

.credential-card {
  min-height: 184px;
  padding: 26px;
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
  will-change: transform;
}

.credential-card:hover {
  transform: translateY(-14px) scale(1.035);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 38px 86px rgba(0, 0, 0, 0.5), 0 0 48px rgba(200, 88, 198, 0.18);
}

.cert-showcase {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.cert-showcase span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  color: var(--white);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.service-card {
  position: relative;
  height: 100%;
  padding: 30px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--violet), var(--rose), var(--burgundy));
}

.service-card ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.service-card li {
  position: relative;
  padding-left: 24px;
  margin: 9px 0;
  color: var(--smoke);
  font-weight: 600;
}

.service-card li::before {
  content: "\F26A";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  color: var(--rose);
}

.service-cta {
  margin-top: 38px;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(157, 20, 255, 0.2), rgba(255, 255, 255, 0.08));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.service-cta h3 {
  margin: 0;
}

.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.filter-tabs button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  border-radius: 999px;
  min-height: 44px;
  padding: 0 18px;
  font-weight: 700;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.filter-tabs button:hover,
.filter-tabs button.active {
  background: linear-gradient(135deg, var(--violet), var(--rose));
  color: var(--white);
  transform: translateY(-2px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 170px;
  gap: 20px;
  align-items: stretch;
}

.gallery-item {
  border: 0;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
  cursor: zoom-in;
  min-width: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.75s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.gallery-item.landscape {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.portrait {
  grid-column: span 1;
  grid-row: span 2;
}

.gallery-item:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 38px rgba(157, 20, 255, 0.24);
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: transparent;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.02);
  filter: saturate(1.08) contrast(1.04);
}

.gallery-grid .gallery-item.reveal.visible {
  transform: translateY(0) scale(1);
}

.gallery-grid .gallery-item.reveal.visible:hover {
  transform: translateY(-6px) scale(1);
}

.gallery-grid.is-replaying .gallery-item.slide-from-left:not(.is-hidden) {
  opacity: 0;
  transform: translateX(-110px) scale(0.985);
}

.gallery-grid.is-replaying .gallery-item.slide-from-right:not(.is-hidden) {
  opacity: 0;
  transform: translateX(110px) scale(0.985);
}

.comparison-panel {
  height: 100%;
  padding: 34px;
}

.comparison-panel h3,
.comparison-panel p {
  color: var(--white);
}

.compare-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 600;
}

.compare-row strong {
  color: var(--white);
}

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

.why-card {
  min-height: 108px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.why-card i {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--violet), var(--rose));
  border-radius: var(--radius);
  font-size: 1.35rem;
}

.why-card span {
  color: var(--white);
  font-weight: 700;
}

.contact-section {
  background:
    linear-gradient(180deg, rgba(18, 9, 23, 0.7), rgba(0, 0, 0, 0.72)),
    radial-gradient(95% 75% at 100% 12%, rgba(103, 7, 7, 0.38), transparent 55%);
}

.contact-form,
.contact-card {
  padding: 30px;
}

label {
  display: block;
  margin-bottom: 7px;
  color: var(--white);
  font-weight: 700;
}

.form-control,
.form-select {
  min-height: 52px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 600;
}

.form-control:focus,
.form-select:focus {
  color: var(--white);
  background: rgba(255, 255, 255, 0.11);
  border-color: var(--rose);
  box-shadow: 0 0 0 0.22rem rgba(200, 88, 198, 0.16);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.form-select option {
  color: #120917;
}

.contact-card h3,
.contact-card p,
.contact-card a {
  color: var(--white);
}

.contact-card p {
  display: flex;
  gap: 12px;
  margin: 18px 0;
}

.contact-location-link {
  display: inline-flex;
  gap: 12px;
}

.address-link {
  text-decoration: underline;
  text-decoration-color: rgba(200, 88, 198, 0.55);
  text-underline-offset: 4px;
}

.address-link:hover {
  color: var(--rose);
}

.contact-card i {
  color: var(--rose);
  font-size: 1.2rem;
  margin-top: 3px;
}

.form-success {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(33, 180, 91, 0.18);
  border: 1px solid rgba(105, 255, 165, 0.26);
  font-weight: 700;
}

.form-success.show {
  display: block;
}

.map-wrap {
  position: relative;
  margin-top: 34px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.map-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: min(220px, 46vw);
  height: 46px;
  background: rgba(255, 255, 255, 0.98);
  pointer-events: none;
}

.map-label {
  position: absolute;
  top: 14px;
  left: 16px;
  z-index: 3;
  display: block;
  width: min(300px, calc(100% - 32px));
  padding: 12px 16px 14px;
  color: #111111;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 4px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  pointer-events: auto;
}

.map-label strong,
.map-label span,
.map-label em {
  display: block;
}

.map-label strong {
  color: #111111;
  font-size: clamp(0.98rem, 1.8vw, 1.18rem);
  line-height: 1.16;
  margin-bottom: 6px;
}

.map-label span {
  color: #5f5f5f;
  font-size: clamp(0.78rem, 1.35vw, 0.9rem);
  line-height: 1.38;
}

.map-label em {
  width: max-content;
  max-width: 100%;
  margin-top: 8px;
  color: #1a73e8;
  font-size: clamp(0.82rem, 1.3vw, 0.94rem);
  font-style: normal;
  font-weight: 700;
  line-height: 1.25;
}

.map-label:hover em,
.map-label:focus em {
  color: var(--violet);
}

.map-location-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #df2f26;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -84%);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.map-location-pin i {
  font-size: 2.3rem;
  line-height: 1;
}

.map-location-pin::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 18px;
  height: 8px;
  background: rgba(0, 0, 0, 0.24);
  border-radius: 50%;
  filter: blur(2px);
  transform: translateX(-50%);
}

.map-location-pin:hover,
.map-location-pin:focus {
  color: #c5221f;
  transform: translate(-50%, -90%) scale(1.04);
  box-shadow: 0 16px 36px rgba(223, 47, 38, 0.26);
}

.map-wrap iframe {
  width: 100%;
  height: min(680px, 72vh);
  border: 0;
  display: block;
  pointer-events: none;
}

.map-click-area {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
}

.site-footer {
  padding: 28px 0;
  background: rgba(0, 0, 0, 0.62);
  border-top: 1px solid var(--line);
}

.site-footer p,
.footer-links a {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

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

.back-to-top,
.whatsapp-float {
  position: fixed;
  right: 18px;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  z-index: 900;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
}

.whatsapp-float {
  bottom: 82px;
  background: #21b45b;
  font-size: 1.45rem;
}

.back-to-top {
  bottom: 20px;
  background: linear-gradient(135deg, var(--violet), var(--rose));
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 1550;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  color: var(--white);
  background:
    radial-gradient(85% 62% at 50% 50%, rgba(200, 88, 198, 0.2), transparent 48%),
    radial-gradient(70% 56% at 50% 50%, rgba(157, 20, 255, 0.26), transparent 58%),
    rgba(3, 2, 4, 0.9);
  backdrop-filter: blur(20px);
  transform: translateY(100%) scale(0.98);
  transition: opacity 0.24s ease, visibility 0.24s ease, transform 0.68s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.page-transition.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.page-transition.lift-out {
  transform: translateY(-100%) scale(1.02);
  opacity: 0;
}

.transition-window {
  width: min(760px, 88vw);
  aspect-ratio: 16 / 9;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background:
    radial-gradient(72% 58% at 82% 28%, rgba(157, 20, 255, 0.3), transparent 48%),
    linear-gradient(145deg, rgba(18, 9, 23, 0.96), rgba(3, 2, 4, 0.98));
  box-shadow:
    0 0 0 1px rgba(200, 88, 198, 0.16),
    0 0 72px rgba(157, 20, 255, 0.48),
    0 0 118px rgba(200, 88, 198, 0.28),
    0 32px 120px rgba(0, 0, 0, 0.6);
  transform: translateY(52px) scale(0.86);
  opacity: 0;
}

.page-transition.show .transition-window {
  animation: transitionWindowIn 0.58s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.page-transition.lift-out .transition-window {
  animation: transitionWindowOut 0.58s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.transition-window::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(157, 20, 255, 0.18));
}

.transition-window::after {
  content: "";
  position: absolute;
  width: 38%;
  height: 3px;
  top: 34%;
  right: 10%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), var(--rose));
  filter: blur(1px);
  transform: rotate(-24deg);
  opacity: 0.78;
}

.transition-bar {
  position: absolute;
  top: 12px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.transition-bar::after {
  content: "";
  height: 1px;
  flex: 1;
  margin-left: 6px;
  background: rgba(255, 255, 255, 0.08);
}

.transition-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.46);
}

.transition-brand {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  animation: transitionBrandPulse 0.9s ease-in-out infinite alternate;
}

.transition-brand img {
  width: min(150px, 34vw);
  padding: 0;
  border-radius: var(--radius);
  background: transparent;
  filter: drop-shadow(0 22px 50px rgba(157, 20, 255, 0.55));
}

.transition-brand strong {
  color: var(--white);
  font-size: clamp(1.15rem, 3vw, 1.8rem);
  font-weight: 700;
  line-height: 1;
}

.transition-brand small {
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.88);
  z-index: 1600;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(100%, 1080px);
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  font-size: 1.2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.985);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

@keyframes shimmer {
  to {
    background-position: -230% center;
  }
}

@keyframes logoRise {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.94);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes loaderPulse {
  from {
    transform: scale(0.94);
    opacity: 0.66;
  }

  to {
    transform: scale(1.02);
    opacity: 1;
  }
}

@keyframes orbitDot {
  to {
    rotate: 360deg;
  }
}

@keyframes sectionArrive {
  from {
    opacity: 0.58;
    transform: translateY(58px) scale(0.975);
    filter: blur(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes transitionWindowIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes transitionWindowOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  to {
    opacity: 0;
    transform: translateY(-86px) scale(1.06);
  }
}

@keyframes transitionBrandPulse {
  from {
    transform: scale(0.96);
    opacity: 0.76;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 1199px) {
  .credential-grid,
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .navbar-collapse {
    margin-top: 12px;
    padding: 14px;
    background: rgba(18, 9, 23, 0.94);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

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

  .hero-panel img {
    aspect-ratio: 3 / 4;
  }

  .transition-window {
    width: min(680px, 90vw);
  }

  .transition-brand img {
    width: min(132px, 34vw);
  }

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

  .timeline-item {
    border-bottom: 1px solid var(--line);
  }

  .timeline-item:nth-child(2n) {
    border-right: 0;
  }

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

@media (max-width: 767px) {
  .navbar-brand img {
    width: 128px;
    height: 52px;
  }

  .navbar-brand span {
    max-width: 190px;
    font-size: 0.9rem;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-bg {
    background-attachment: scroll;
  }

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

  .loader-mark {
    padding: 26px 20px;
  }

  .stat-strip {
    margin-top: 0;
  }

  .section {
    padding: 68px 0;
  }

  .timeline,
  .credential-grid,
  .why-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: auto;
  }

  .gallery-item.landscape,
  .gallery-item.portrait {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 4 / 3;
  }

  .map-location-pin {
    width: 46px;
    height: 46px;
  }

  .map-location-pin i {
    font-size: 1.95rem;
  }

  .timeline-item,
  .timeline-item:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline-item:last-child {
    border-bottom: 0;
  }

  .contact-form,
  .contact-card,
  .comparison-panel {
    padding: 22px;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
