.tmpl-fhero-prestige1 {
  --template-shell-max-width: 1400px;
  --template-hero-min-height-home: 100vh;
  --template-hero-min-height-home-mobile: 100svh;
  --template-hero-min-height-inner: clamp(182px, 21.6vw, 250px);
  --template-hero-padding-inline: clamp(24px, 4vw, 64px);
  --template-topbar-padding-block: 26px;
  --template-topbar-padding-inline: clamp(24px, 3.8vw, 54px);
  --template-hero-content-padding-bottom: clamp(72px, 12vh, 144px);
  --template-hero-content-padding-top: clamp(84px, 13vh, 180px);
  --template-hero-copy-max-width: 980px;
  --template-text-primary: var(--color-text-thematic-primary);
  --template-text-secondary: var(--color-text-thematic-secondary);
  --template-text-muted: var(--color-text-muted);
  --template-text-inverse: var(--color-text-inverse);
  --template-text-inverse-muted: var(--color-text-inverse-soft);
  --template-surface-page: var(--color-bg-muted);
  --template-surface-white: var(--color-bg-surface);
  --template-surface-dark: var(--color-bg-primary);
  --template-surface-dark-soft: rgb(var(--color-bg-primary-rgb) / 0.72);
  --template-surface-accent: var(--color-bg-secondary);
  --template-surface-mobile-header: var(--color-bg-primary);
  --template-surface-mobile-menu: rgb(var(--color-bg-primary-rgb) / 0.94);
  --template-accent: var(--color-text-thematic-secondary);
  --template-accent-strong: var(--color-bg-secondary);
  --template-border-soft: rgb(var(--color-border-rgb) / 0.28);
  --template-border-inverse-soft: rgb(var(--color-bg-surface-rgb) / 0.14);
  --template-border-strong: var(--color-border);
  --template-shadow-soft: rgb(var(--color-shadow-soft-rgb) / 0.12);
  --template-shadow-strong: rgb(var(--color-shadow-soft-rgb) / 0.24);
  --template-hero-overlay-top: rgb(var(--color-bg-primary-rgb) / 0.44);
  --template-hero-overlay-mid: rgb(var(--color-bg-primary-rgb) / 0.24);
  --template-hero-overlay-bottom: rgb(var(--color-bg-primary-rgb) / 0.56);
  --template-hero-side-overlay-start: rgb(var(--color-bg-primary-rgb) / 0.56);
  --template-hero-side-overlay-mid: rgb(var(--color-bg-primary-rgb) / 0.24);
  --template-hero-side-overlay-end: rgb(var(--color-bg-primary-rgb) / 0.08);
  --template-glass-light: rgb(var(--color-bg-surface-rgb) / 0.1);
  --template-glass-strong: rgb(var(--color-bg-surface-rgb) / 0.92);
  --template-glass-dark: rgb(var(--color-bg-surface-rgb) / 0.08);
  --template-nav-surface: rgb(var(--color-bg-surface-rgb) / 0.08);
  --template-nav-surface-hover: rgb(var(--color-bg-surface-rgb) / 0.16);
  --template-nav-surface-active: var(--template-surface-white);
  --template-nav-border: rgb(var(--color-bg-surface-rgb) / 0.16);
  --template-nav-border-hover: rgb(var(--color-bg-surface-rgb) / 0.28);
  --template-nav-text: var(--template-text-inverse);
  --template-nav-text-active: var(--template-text-primary);
  --template-nav-shadow-active: 0 14px 26px var(--template-shadow-soft);
  --template-nav-dropdown-surface: rgb(var(--color-bg-primary-rgb) / 0.94);
  --template-nav-dropdown-border: rgb(var(--color-bg-surface-rgb) / 0.14);
  --template-nav-dropdown-shadow: 0 18px 36px var(--template-shadow-strong);
  --template-nav-dropdown-link-hover: rgb(var(--color-bg-surface-rgb) / 0.1);
  --template-nav-gap: clamp(10px, 1.2vw, 18px);
  --template-mobile-nav-gap: 8px;
  --template-mobile-bar-height: 82px;
  --template-mobile-nav-top: 82px;
  --template-mobile-nav-radius: 0 0 22px 22px;
  --template-toggle-size: 48px;
  --template-toggle-bar-width: 26px;
  --template-toggle-bar-height: 3px;
  --template-page-sections-padding-bottom: 72px;
  --template-action-radius: 10px;
  --template-nav-link-radius: 999px;
  --template-nav-link-padding-inline: 12px;
  --template-nav-link-padding-block: 10px;
}

.tmpl-fhero-prestige1 body,
.tmpl-fhero-prestige1 {
  color: var(--template-text-primary);
  background: linear-gradient(180deg, color-mix(in srgb, var(--template-surface-page) 92%, var(--template-surface-white)) 0%, var(--template-surface-page) 100%);
}

.tmpl-fhero-prestige1 .content-shell {
  max-width: var(--template-shell-max-width);
}

.tmpl-fhero-prestige1 .fp1-hero {
  position: relative;
  overflow: hidden;
  color: var(--template-text-inverse);
  background-color: var(--template-surface-dark);
  background-size: cover;
  background-position: center;
  min-height: var(--template-hero-min-height-inner);
  margin-bottom: 32px;
}

.tmpl-fhero-prestige1 .fp1-hero:not(.fp1-hero--inner) {
  min-height: var(--template-hero-min-height-home);
  height: var(--template-hero-min-height-home);
}

.tmpl-fhero-prestige1 .fp1-hero-overlay,
.tmpl-fhero-prestige1 .fp1-hero-video {
  position: absolute;
  inset: 0;
}

.tmpl-fhero-prestige1 .fp1-hero-overlay,
.tmpl-fhero-prestige1 .fp1-hero-video {
  pointer-events: none;
}

.tmpl-fhero-prestige1 .fp1-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.tmpl-fhero-prestige1 .fp1-hero-overlay {
  background: linear-gradient(180deg, var(--template-hero-overlay-top) 0%, var(--template-hero-overlay-mid) 22%, var(--template-hero-overlay-bottom) 100%), linear-gradient(90deg, var(--template-hero-side-overlay-start) 0%, var(--template-hero-side-overlay-mid) 42%, var(--template-hero-side-overlay-end) 100%);
  z-index: 1;
}

.tmpl-fhero-prestige1 .fp1-hero-shell {
  position: relative;
  z-index: 2;
  max-width: var(--template-shell-max-width);
  margin: 0 auto;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  padding: 0 var(--template-hero-padding-inline);
}

.tmpl-fhero-prestige1 .fp1-nav-toggle-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tmpl-fhero-prestige1 .fp1-hero-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: var(--template-topbar-padding-block) 0 0;
}

.tmpl-fhero-prestige1 .fp1-brand {
  min-width: 0;
}

.tmpl-fhero-prestige1 .fp1-brand-copy {
  min-width: 0;
}

.tmpl-fhero-prestige1 .fp1-brand-copy img,
.tmpl-fhero-prestige1 .fp1-brand-logo-placeholder {
  display: block;
  height: auto;
  max-height: 54px;
  max-width: min(100%, 340px);
  width: auto;
}

.tmpl-fhero-prestige1 .fp1-brand-logo-placeholder {
  width: 190px;
  height: 42px;
  border-radius: 4px;
  background: var(--template-glass-strong);
  border: 1px solid var(--template-border-soft);
}

.tmpl-fhero-prestige1 .fp1-nav-desktop-shell {
  margin-left: auto;
}

.tmpl-fhero-prestige1 .fp1-nav-mobile-shell {
  display: none;
}

.tmpl-fhero-prestige1 .fp1-nav-toggle {
  display: none;
  width: var(--template-toggle-size);
  height: var(--template-toggle-size);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  flex: 0 0 auto;
}

.tmpl-fhero-prestige1 .fp1-nav-toggle-bar {
  display: block;
  width: var(--template-toggle-bar-width);
  height: var(--template-toggle-bar-height);
  background: var(--template-text-primary);
  border-radius: 2px;
}

.tmpl-fhero-prestige1 .fp1-hero-content {
  margin-top: auto;
  padding: var(--template-hero-content-padding-top) 0 var(--template-hero-content-padding-bottom);
}

.tmpl-fhero-prestige1 .fp1-hero-copy {
  max-width: var(--template-hero-copy-max-width);
}

.tmpl-fhero-prestige1 .fp1-hero-eyebrow {
  margin: 0 0 14px;
  color: var(--template-accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.tmpl-fhero-prestige1 .fp1-hero-heading {
  margin: 0;
  max-width: 11ch;
  color: var(--template-text-inverse);
  font-size: clamp(1.6rem, 3.5vw, 3.1rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  text-wrap: pretty;
}

.tmpl-fhero-prestige1 .fp1-hero-body {
  margin: 26px 0 0;
  max-width: 41ch;
  color: var(--template-text-inverse-muted);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.42;
}

.tmpl-fhero-prestige1 .fp1-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.tmpl-fhero-prestige1 .fp1-hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: var(--template-action-radius);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tmpl-fhero-prestige1 .fp1-hero-action:hover {
  transform: translateY(-1px);
}

.tmpl-fhero-prestige1 .fp1-hero-action--primary {
  color: var(--template-text-inverse);
  background: var(--template-accent-strong);
  box-shadow: 0 16px 36px var(--template-shadow-strong);
}

.tmpl-fhero-prestige1 .fp1-hero-action--primary:hover {
  background: color-mix(in srgb, var(--template-accent-strong) 84%, var(--template-surface-white));
}

.tmpl-fhero-prestige1 .fp1-hero-action--secondary {
  color: var(--template-text-inverse);
  border-color: var(--template-border-soft);
  background: var(--template-glass-light);
  backdrop-filter: blur(8px);
}

.tmpl-fhero-prestige1 .fp1-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--template-nav-gap);
}

.tmpl-fhero-prestige1 .fp1-nav-more {
  position: relative;
}

.tmpl-fhero-prestige1 .fp1-nav-more[open] {
  z-index: 5;
}

.tmpl-fhero-prestige1 .fp1-nav-more summary {
  list-style: none;
}

.tmpl-fhero-prestige1 .fp1-nav-more summary::-webkit-details-marker {
  display: none;
}

.tmpl-fhero-prestige1 .fp1-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: var(--template-nav-link-padding-block) var(--template-nav-link-padding-inline);
  border-radius: var(--template-nav-link-radius);
  border: 1px solid var(--template-nav-border);
  background: var(--template-nav-surface);
  box-sizing: border-box;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--template-nav-text);
  backdrop-filter: blur(10px);
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.tmpl-fhero-prestige1 .fp1-nav-link:focus-visible,
.tmpl-fhero-prestige1 .fp1-nav-more-link:focus-visible {
  outline: 2px solid var(--template-accent-strong);
  outline-offset: 2px;
}

.tmpl-fhero-prestige1 .fp1-nav-link:hover {
  background: var(--template-nav-surface-hover);
  border-color: var(--template-nav-border-hover);
  transform: translateY(-1px);
}

.tmpl-fhero-prestige1 .fp1-nav-link.is-active {
  color: var(--template-nav-text-active);
  background: var(--template-nav-surface-active);
  border-color: var(--template-nav-surface-active);
  box-shadow: var(--template-nav-shadow-active);
  text-decoration: none;
}

.tmpl-fhero-prestige1 .fp1-nav-more-trigger::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-left: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transform-origin: center;
  transition: transform 0.18s ease;
}

.tmpl-fhero-prestige1 .fp1-nav-more[open] .fp1-nav-more-trigger::after {
  transform: rotate(-135deg) translateY(-1px);
}

.tmpl-fhero-prestige1 .fp1-nav-more-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid var(--template-nav-dropdown-border);
  background: var(--template-nav-dropdown-surface);
  box-shadow: var(--template-nav-dropdown-shadow);
  backdrop-filter: blur(14px);
}

.tmpl-fhero-prestige1 .fp1-nav-more-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--template-nav-text);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: color 0.18s ease, background 0.18s ease;
}

.tmpl-fhero-prestige1 .fp1-nav-more-link:hover {
  background: var(--template-nav-dropdown-link-hover);
}

.tmpl-fhero-prestige1 .fp1-nav-more-link.is-active {
  color: var(--template-nav-text-active);
  background: var(--template-nav-surface-active);
}

.tmpl-fhero-prestige1 .fp1-page-sections {
  padding-bottom: var(--template-page-sections-padding-bottom);
}

.tmpl-fhero-prestige1 .section-heading {
  max-width: 820px;
  margin-top: 20px;
  margin-bottom: 24px;
  padding-top: 0;
  padding-left: 0;
}

.tmpl-fhero-prestige1 .section-heading::before,
.tmpl-fhero-prestige1 .section-heading::after {
  display: none;
}

.tmpl-fhero-prestige1 .section-heading h2 {
  margin: 0;
  color: var(--template-text-primary);
  font-size: clamp(1.7rem, 2.5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.tmpl-fhero-prestige1 .section-heading h2::after {
  content: "";
  display: block;
  width: clamp(48px, 6vw, 72px);
  height: 4px;
  margin-top: 14px;
  border-radius: 999px;
  background: var(--template-accent-strong);
}

.tmpl-fhero-prestige1 .section-heading p {
  margin-top: 14px;
  color: var(--template-text-secondary);
  line-height: 1.7;
}

.tmpl-fhero-prestige1 .content-shell h3 {
  color: var(--template-text-primary);
  font-size: clamp(1.2rem, 1.8vw, 1.42rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.tmpl-fhero-prestige1 .page-shell,
.tmpl-fhero-prestige1 .service-feature,
.tmpl-fhero-prestige1 .testimonial-list-shell,
.tmpl-fhero-prestige1 .gallery-page-shell,
.tmpl-fhero-prestige1 .case-study-list-shell,
.tmpl-fhero-prestige1 .section,
.tmpl-fhero-prestige1 .contact-shell {
  scroll-margin-top: 110px;
}

@media (max-width: 959px) {
  .tmpl-fhero-prestige1 .fp1-hero {
    min-height: var(--template-hero-min-height-home-mobile);
    margin-bottom: 20px;
  }
  .tmpl-fhero-prestige1 .fp1-hero:not(.fp1-hero--inner) {
    height: var(--template-hero-min-height-home-mobile);
  }
  .tmpl-fhero-prestige1 .fp1-hero--inner {
    min-height: 360px;
  }
  .tmpl-fhero-prestige1 .fp1-hero-shell {
    padding: 0;
  }
  .tmpl-fhero-prestige1 .fp1-hero-topbar {
    position: relative;
    z-index: 3;
    padding: 0 18px;
    min-height: var(--template-mobile-bar-height);
    background: var(--template-surface-mobile-header);
    color: var(--template-text-inverse);
    box-shadow: 0 12px 36px var(--template-shadow-soft);
  }
  .tmpl-fhero-prestige1 .fp1-brand-copy img,
  .tmpl-fhero-prestige1 .fp1-brand-logo-placeholder {
    max-height: 40px;
    max-width: min(100%, 260px);
  }
  .tmpl-fhero-prestige1 .fp1-nav-desktop-shell {
    display: none;
  }
  .tmpl-fhero-prestige1 .fp1-nav-mobile-shell {
    display: block;
    max-height: 0;
    overflow: hidden;
    background: var(--template-surface-mobile-menu);
    border-radius: var(--template-mobile-nav-radius);
    border-top: 1px solid var(--template-border-inverse-soft);
    box-shadow: 0 20px 30px var(--template-shadow-soft);
    transition: max-height 0.22s ease;
  }
  .tmpl-fhero-prestige1 .fp1-nav-toggle {
    display: inline-flex;
  }
  .tmpl-fhero-prestige1 .fp1-nav-toggle-bar {
    background: var(--template-text-inverse);
  }
  .tmpl-fhero-prestige1 .fp1-nav {
    flex-direction: column;
    align-items: stretch;
    gap: var(--template-mobile-nav-gap);
    padding: 0 18px 18px;
  }
  .tmpl-fhero-prestige1 .fp1-nav-more {
    display: none;
  }
  .tmpl-fhero-prestige1 .fp1-nav-link {
    min-height: 48px;
    justify-content: flex-start;
    color: var(--template-text-inverse);
    border-top: 1px solid var(--template-border-inverse-soft);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
    padding-top: 10px;
  }
  .tmpl-fhero-prestige1 .fp1-nav-link:first-child {
    border-top: 0;
  }
  .tmpl-fhero-prestige1 .fp1-nav-link:hover {
    color: var(--template-text-inverse);
    background: var(--template-glass-dark);
    border-color: transparent;
    transform: none;
  }
  .tmpl-fhero-prestige1 .fp1-nav-link.is-active {
    color: var(--template-text-inverse);
    background: color-mix(in srgb, var(--template-accent-strong) 70%, transparent);
    border-color: transparent;
    box-shadow: none;
  }
  .tmpl-fhero-prestige1 .fp1-nav-toggle-checkbox:checked ~ .fp1-hero-shell .fp1-nav-mobile-shell {
    max-height: 420px;
  }
  .tmpl-fhero-prestige1 .fp1-hero-content {
    padding: clamp(56px, 12vw, 80px) 20px 44px;
  }
  .tmpl-fhero-prestige1 .fp1-hero-heading {
    max-width: 9ch;
    font-size: clamp(2.6rem, 10vw, 4rem);
    line-height: 0.94;
  }
  .tmpl-fhero-prestige1 .fp1-hero-body {
    max-width: 30ch;
    font-size: 1.02rem;
  }
  .tmpl-fhero-prestige1 .fp1-hero-actions {
    gap: 12px;
    margin-top: 28px;
  }
  .tmpl-fhero-prestige1 .fp1-hero-action {
    min-height: 52px;
    padding: 0 22px;
  }
}
@media (min-width: 960px) {
  .tmpl-fhero-prestige1 .fp1-nav-mobile-shell {
    display: none;
  }
  .tmpl-fhero-prestige1 .fp1-hero--inner .fp1-hero-content {
    display: none;
  }
  .tmpl-fhero-prestige1 .fp1-hero--inner .fp1-hero-shell {
    min-height: var(--template-hero-min-height-inner);
  }
}
@media (max-width: 900px) {
  .tmpl-fhero-prestige1 .fp1-page-sections {
    padding-bottom: 48px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tmpl-fhero-prestige1 .fp1-hero-action,
  .tmpl-fhero-prestige1 .fp1-nav-link,
  .tmpl-fhero-prestige1 .fp1-nav-mobile-shell {
    transition: none;
  }
}
