:root {
  --rd-primary: #143246;
  --rd-primary-2: #1e4f70;
  --rd-accent: #4fa7da;
  --rd-accent-2: #8fd3ff;
  --rd-ink: #0c1b27;
  --rd-text: #2b3f4e;
  --rd-muted: #617587;
  --rd-line: rgba(20, 50, 70, 0.12);
  --rd-line-strong: rgba(20, 50, 70, 0.22);
  --rd-soft: #f4f8fb;
  --rd-soft-2: #edf3f8;
  --rd-white: #ffffff;
  --rd-shadow: 0 18px 45px rgba(7, 22, 36, 0.08);
  --rd-shadow-strong: 0 28px 70px rgba(7, 22, 36, 0.14);
  --rd-radius: 24px;
  --rd-radius-lg: 34px;
  --rd-radius-sm: 18px;
  --rd-navbar-h: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--rd-text);
  background:
    radial-gradient(circle at top left, rgba(143, 211, 255, 0.18), transparent 28%),
    radial-gradient(circle at top right, rgba(79, 167, 218, 0.14), transparent 26%),
    var(--rd-white);
  overflow-x: hidden;
}

body.page-loaded {
  opacity: 1;
}

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

a:hover {
  color: var(--rd-primary-2);
}

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

::selection {
  background: rgba(79, 167, 218, 0.22);
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(79, 167, 218, 0.16), transparent 35%),
    linear-gradient(160deg, #081520 0%, #102a3d 55%, #15364d 100%);
  color: #fff;
  transition: opacity 0.55s ease, visibility 0.55s ease, transform 0.55s ease;
}

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

.loader-box {
  width: min(92vw, 380px);
  text-align: center;
  padding: 2rem 1.6rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(16px);
}

.loader-box img {
  width: min(220px, 58vw);
  margin: 0 auto 1rem;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.24));
}

.loader-bar {
  width: 100%;
  height: 7px;
  margin-top: 1rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.loader-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--rd-accent-2), var(--rd-accent), #ffffff);
  animation: loaderProgress 1.5s ease forwards;
}

@keyframes loaderProgress {
  from { width: 0; }
  to { width: 100%; }
}

.topbar {
  background: #0b1d2b;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
}

.topbar .inner {
  min-height: 42px;
}

.topbar .topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

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

.navbar-wrap {
  position: sticky;
  top: 0;
  z-index: 1050;
}

.navbar {
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  transition: padding 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.navbar.navbar-scrolled {
  padding: 0.72rem 0;
  box-shadow: 0 16px 40px rgba(11, 29, 43, 0.09);
  background: rgba(255, 255, 255, 0.94);
}

.navbar .container {
  position: relative;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
}

.brand-badge img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(20, 50, 70, 0.08);
  box-shadow: 0 16px 32px rgba(20, 50, 70, 0.12);
  background: #fff;
}

.brand-badge .name {
  color: var(--rd-primary);
  font-size: 1.14rem;
  font-weight: 800;
  line-height: 1.1;
}

.brand-badge .small {
  font-size: 0.78rem;
  color: var(--rd-muted);
  letter-spacing: 0.04em;
}

.nav-link {
  position: relative;
  font-weight: 600;
  color: var(--rd-text) !important;
  padding: 0.75rem 0.95rem !important;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.36rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rd-accent), var(--rd-primary-2));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

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

.navbar-toggler {
  border: 0;
  box-shadow: none !important;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(20, 50, 70, 0.08);
}

.btn-rd,
.btn-rd-outline,
.btn-rd-dark,
.btn-rd-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border-radius: 18px;
  padding: 0.95rem 1.3rem;
  font-weight: 700;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease, color 0.24s ease;
}

.btn-rd {
  color: #fff;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--rd-primary-2), var(--rd-primary));
  box-shadow: 0 18px 30px rgba(20, 50, 70, 0.18);
}

.btn-rd:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 24px 35px rgba(20, 50, 70, 0.24);
}

.btn-rd-outline {
  color: var(--rd-primary);
  border: 1px solid rgba(20, 50, 70, 0.15);
  background: rgba(255, 255, 255, 0.86);
}

.btn-rd-outline:hover,
.btn-rd-light:hover,
.btn-rd-dark:hover {
  transform: translateY(-2px);
}

.btn-rd-light {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.btn-rd-light:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.btn-rd-dark {
  color: #fff;
  border: 1px solid rgba(11, 29, 43, 0.08);
  background: #0b1d2b;
}

.section-space {
  padding: 5.5rem 0;
}

.section-space-sm {
  padding: 4rem 0;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--rd-primary-2);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.section-kicker::before {
  content: "";
  width: 36px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rd-accent), transparent);
}

.section-title {
  margin: 0 0 1rem;
  color: var(--rd-ink);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

.section-copy,
.text-muted-custom {
  color: var(--rd-muted);
}

.hero {
  position: relative;
  padding: clamp(8rem, 10vw, 10rem) 0 4.5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(143, 211, 255, 0.24), transparent 28%),
    radial-gradient(circle at right center, rgba(79, 167, 218, 0.2), transparent 26%),
    linear-gradient(180deg, #f8fbfd 0%, #eef5fa 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 50, 70, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 50, 70, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.75), transparent 85%);
}

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

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(20, 50, 70, 0.12);
  color: var(--rd-primary);
  font-weight: 700;
  box-shadow: 0 16px 34px rgba(20, 50, 70, 0.08);
}

.hero-title {
  margin: 1.2rem 0 1rem;
  color: var(--rd-ink);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.96;
  font-size: clamp(2.85rem, 6.2vw, 5.65rem);
}

.hero-title span {
  display: block;
  color: var(--rd-primary);
}

.hero-copy {
  max-width: 700px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--rd-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.trust-card,
.glass-card,
.feature-card,
.info-card,
.process-card,
.legal-card,
.gallery-copy-card,
.contact-card,
.form-shell,
.mini-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(20, 50, 70, 0.1);
  border-radius: var(--rd-radius);
  box-shadow: var(--rd-shadow);
}

.trust-card {
  padding: 1.25rem 1.2rem;
}

.trust-card .label {
  font-weight: 800;
  color: var(--rd-ink);
}

.trust-card .small {
  color: var(--rd-muted);
}

.hero-media {
  position: relative;
}

.hero-visual {
  position: relative;
  min-height: 630px;
  border-radius: 34px;
}

.hero-visual-main {
  position: absolute;
  inset: 0 0 0 10%;
  overflow: hidden;
  border-radius: 34px;
  background: var(--rd-white);
  box-shadow: 0 32px 80px rgba(11, 29, 43, 0.18);
}

.hero-visual-main::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(4, 13, 20, 0.2));
}

.hero-visual-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-panel {
  position: absolute;
  left: 0;
  bottom: 2rem;
  width: min(80%, 330px);
  padding: 1.1rem;
  border-radius: 28px;
  background: rgba(8, 25, 38, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(5, 15, 23, 0.35);
  backdrop-filter: blur(16px);
  color: #fff;
}

.floating-panel.card-image {
  width: min(74%, 320px);
  left: -2rem;
  bottom: auto;
  top: 2.2rem;
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.85);
  color: var(--rd-ink);
}

.floating-panel.card-image img {
  border-radius: 22px;
}

.floating-panel .eyebrow {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.floating-panel ul {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.floating-panel li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-logo-orb {
  position: absolute;
  right: -2rem;
  top: 1rem;
  width: 136px;
  height: 136px;
  padding: 1rem;
  display: grid;
  place-items: center;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(20, 50, 70, 0.1);
  box-shadow: 0 18px 44px rgba(11, 29, 43, 0.16);
}

.hero-logo-orb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.info-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 50, 70, 0.1);
  background: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  color: var(--rd-primary);
}

.metric-strip {
  position: relative;
  margin-top: -1.6rem;
  z-index: 3;
}

.metric-card {
  height: 100%;
  padding: 1.4rem 1.25rem;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(20, 50, 70, 0.08);
  box-shadow: 0 16px 40px rgba(11, 29, 43, 0.08);
}

.metric-value {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 900;
  color: var(--rd-ink);
}

.metric-label {
  color: var(--rd-muted);
  font-weight: 600;
}

.soft-section {
  background: linear-gradient(180deg, #f8fbfd 0%, #f1f6fa 100%);
}

.feature-card {
  height: 100%;
  padding: 1.65rem;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.feature-card:hover,
.mini-card:hover,
.info-card:hover,
.gallery-card:hover,
.legal-card:hover,
.process-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--rd-shadow-strong);
  border-color: rgba(20, 50, 70, 0.16);
}

.feature-icon,
.mini-icon {
  width: 56px;
  height: 56px;
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  color: var(--rd-primary);
  background: linear-gradient(145deg, rgba(79, 167, 218, 0.18), rgba(20, 50, 70, 0.08));
  border: 1px solid rgba(20, 50, 70, 0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}

.feature-title,
.card-title-strong {
  color: var(--rd-ink);
  font-size: 1.15rem;
  font-weight: 800;
}

.feature-card p,
.info-card p,
.legal-card p,
.gallery-copy,
.process-card p,
.form-note,
.contact-subcopy {
  color: var(--rd-muted);
  margin-bottom: 0;
}

.split-highlight {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.4rem;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  border-radius: var(--rd-radius-lg);
  background: #fff;
  border: 1px solid rgba(20, 50, 70, 0.08);
  box-shadow: var(--rd-shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent, rgba(7, 22, 36, 0.6));
}

.gallery-label {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 1;
  color: #fff;
}

.gallery-label .title {
  display: block;
  font-weight: 800;
  font-size: 1.08rem;
}

.gallery-label .small {
  color: rgba(255,255,255,0.84);
}

.gallery-copy-card,
.contact-card,
.form-shell,
.legal-card,
.process-card,
.info-card,
.mini-card {
  padding: 1.6rem;
}

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

.process-card .step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-weight: 900;
  color: var(--rd-primary);
  background: rgba(79, 167, 218, 0.16);
}

.page-hero {
  position: relative;
  padding: clamp(8.5rem, 9vw, 9.75rem) 0 3.6rem;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(143, 211, 255, 0.18), transparent 30%),
    linear-gradient(135deg, #081520 0%, #0f2a3d 52%, #163d57 100%);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.35;
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  right: -120px;
  top: -220px;
  background: radial-gradient(circle, rgba(143, 211, 255, 0.25), transparent 65%);
}

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

.page-hero p,
.page-hero .breadcrumb,
.page-hero .section-kicker {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.07);
  font-size: 0.9rem;
}

.photo-frame,
.business-card-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--rd-radius-lg);
  border: 1px solid rgba(20, 50, 70, 0.08);
  background: #fff;
  box-shadow: var(--rd-shadow);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.business-card-frame {
  padding: 1rem;
}

.business-card-frame img {
  border-radius: 26px;
}

.stacked-list {
  display: grid;
  gap: 0.8rem;
}

.list-row {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(20, 50, 70, 0.08);
}

.list-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.list-row .icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(79, 167, 218, 0.16);
  color: var(--rd-primary);
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  background: rgba(79, 167, 218, 0.14);
  color: var(--rd-primary);
}

.contact-card .contact-link {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--rd-ink);
}

.form-shell {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,251,253,0.96));
}

.form-label {
  color: var(--rd-ink);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  min-height: 56px;
  border-radius: 16px;
  border: 1px solid rgba(20, 50, 70, 0.14);
  background: rgba(255, 255, 255, 0.98);
  color: var(--rd-text);
  padding: 0.9rem 1rem;
  box-shadow: none !important;
}

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

.form-control::placeholder,
.form-select {
  color: #8293a1;
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(79, 167, 218, 0.55);
  box-shadow: 0 0 0 0.25rem rgba(79, 167, 218, 0.14) !important;
}

.map-embed {
  overflow: hidden;
  border-radius: var(--rd-radius-lg);
  border: 1px solid rgba(20, 50, 70, 0.08);
  box-shadow: var(--rd-shadow);
}

.map-embed iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

.toast-container .toast {
  border-radius: 18px;
  box-shadow: 0 18px 34px rgba(11, 29, 43, 0.18);
}

.footer {
  position: relative;
  padding: 4rem 0 2.5rem;
  background:
    radial-gradient(circle at top center, rgba(79, 167, 218, 0.16), transparent 24%),
    linear-gradient(180deg, #07131d 0%, #081520 100%);
  color: rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.2;
}

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

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 18px;
  background: rgba(255,255,255,0.9);
}

.footer a {
  color: #fff;
}

.footer .small,
.footer-copy {
  color: rgba(255, 255, 255, 0.7);
}

.footer-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: end;
}

#toTop,
.floating-call {
  position: fixed;
  z-index: 1040;
  display: inline-grid;
  place-items: center;
  border: 0;
}

#toTop {
  right: 22px;
  bottom: 22px;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: #0b1d2b;
  color: #fff;
  box-shadow: 0 18px 36px rgba(11, 29, 43, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s ease;
}

#toTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-call {
  left: 18px;
  right: 18px;
  bottom: 18px;
  min-height: 58px;
  padding: 0.95rem 1.2rem;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--rd-primary), #0b1d2b);
  color: #fff;
  box-shadow: 0 22px 40px rgba(11, 29, 43, 0.24);
}

.floating-call:hover {
  color: #fff;
}

.service-hero-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-detail-card {
  height: 100%;
  padding: 1.6rem;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(20, 50, 70, 0.08);
  box-shadow: var(--rd-shadow);
}

.service-detail-card .top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.service-detail-card ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--rd-muted);
}

.legal-card h2,
.legal-card h3 {
  color: var(--rd-ink);
  font-weight: 800;
}

.contact-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 1199.98px) {
  .hero-visual-main {
    inset: 0;
  }

  .floating-panel.card-image {
    left: 1rem;
  }

  .hero-logo-orb {
    right: 0;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(20, 50, 70, 0.08);
    box-shadow: 0 16px 30px rgba(11, 29, 43, 0.08);
  }

  .hero {
    padding-top: 7.5rem;
  }

  .hero-trust,
  .service-hero-grid,
  .contact-quick-grid,
  .grid-2,
  .split-highlight {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 520px;
  }

  .floating-panel.card-image {
    width: min(72%, 300px);
  }

  .page-hero {
    padding-top: 7.6rem;
  }

  .footer-link-row {
    justify-content: start;
  }
}

@media (max-width: 767.98px) {
  .topbar {
    display: none;
  }

  .hero {
    overflow: hidden;
  }

  .hero-title {
    font-size: clamp(2.4rem, 12vw, 3.5rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

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

  .hero-media {
    margin-top: 1.4rem;
  }

  .hero-visual {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .hero-visual-main {
    position: relative;
    inset: auto;
    min-height: 360px;
    border-radius: 28px;
  }

  .floating-panel.card-image {
    position: relative;
    left: 0;
    top: 0;
    width: min(100%, 320px);
    margin: 0 auto;
    order: -1;
  }

  .floating-panel {
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
    margin-top: 0;
  }

  .hero-logo-orb {
    display: none;
  }

  .metric-strip {
    margin-top: 2rem;
  }

  .gallery-card img,
  .photo-frame img {
    min-height: 260px;
  }

  .form-shell,
  .contact-card,
  .feature-card,
  .gallery-copy-card,
  .legal-card,
  .info-card,
  .process-card,
  .service-detail-card,
  .mini-card,
  .metric-card {
    padding: 1.25rem;
  }

  .section-space {
    padding: 4.25rem 0;
  }

  .section-space-sm {
    padding: 3.25rem 0;
  }
}

@media (min-width: 992px) {
  .floating-call {
    display: none;
  }
}
