:root {
  --black: #050505;
  --black-soft: #111111;
  --charcoal: #191919;
  --gold: #d7a63f;
  --gold-rich: #b98725;
  --gold-light: #fff1b9;
  --white: #ffffff;
  --muted: #d6d0c4;
  --line: rgba(215, 166, 63, .34);
  --shadow: 0 24px 70px rgba(0, 0, 0, .38);
  --max: 1180px;
}

.hps-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 30;
  background: var(--gold);
  color: var(--black);
  padding: .75rem 1rem;
  font-weight: 800;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background:
    linear-gradient(90deg, rgba(215, 166, 63, .08), transparent 38%, rgba(215, 166, 63, .08)),
    rgba(5, 5, 5, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(100% - 32px, var(--max));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  width: 176px;
  height: 66px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--black-soft);
  color: var(--white);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  width: 20px;
  height: 2px;
  display: block;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}

.nav-toggle::before {
  transform: translateY(-7px);
}

.nav-toggle::after {
  transform: translateY(7px);
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(2px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-2px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  inset: 74px 0 auto 0;
  display: grid;
  gap: .35rem;
  padding: 1rem;
  background: rgba(5, 5, 5, .98);
  border-bottom: 1px solid var(--line);
  transform: translateY(-120%);
  transition: transform .25s ease;
}

.site-nav[data-open="true"] {
  transform: translateY(0);
}

.site-nav a,
.lang-toggle button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  color: var(--muted);
  font-weight: 700;
}

.site-nav a {
  padding: .6rem .75rem;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.current-menu-item a {
  color: var(--gold-light);
  border-color: var(--line);
  background: rgba(213, 166, 66, .08);
}

.lang-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
}

.lang-toggle button {
  background: transparent;
  cursor: pointer;
}

.lang-toggle button.active {
  background: var(--gold);
  color: var(--black);
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.section.alt,
.band {
  background:
    radial-gradient(circle at 20% 0%, rgba(215, 166, 63, .12), transparent 34%),
    var(--black-soft);
  border-block: 1px solid var(--line);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 74px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, .98), rgba(5, 5, 5, .88) 58%, rgba(5, 5, 5, .58)),
    var(--hero-image, url("../images/hernandez-pro-services-mark.webp")) center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 5px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
  opacity: .8;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 4rem 0 5rem;
}

.hero-layout {
  display: grid;
  gap: 2rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--gold-light);
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: 0;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  max-width: 830px;
  margin-top: .85rem;
  font-size: clamp(2.55rem, 9vw, 5.9rem);
  color: var(--gold-light);
  text-shadow: 0 2px 0 rgba(0, 0, 0, .8), 0 0 34px rgba(215, 166, 63, .24);
}

h2 {
  max-width: 780px;
  font-size: clamp(2rem, 6vw, 3.5rem);
  color: var(--gold-light);
  text-shadow: 0 0 24px rgba(215, 166, 63, .18);
}

h3 {
  font-size: 1.2rem;
  color: var(--gold-light);
}

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

.lead {
  max-width: 760px;
  margin-top: 1rem;
  font-size: clamp(1rem, 3vw, 1.18rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.6rem;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .8rem 1rem;
  border: 1px solid var(--gold);
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 52%, var(--gold-rich));
  color: var(--black);
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.btn.secondary {
  background: rgba(255, 255, 255, .04);
  color: var(--gold-light);
}

.brand-showcase {
  position: relative;
  display: grid;
  gap: 1rem;
  align-content: center;
  padding: 1rem;
  border: 1px solid rgba(215, 166, 63, .56);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .055), rgba(0, 0, 0, .5)),
    radial-gradient(circle at 50% 28%, rgba(215, 166, 63, .22), transparent 48%);
  box-shadow: 0 24px 90px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 241, 185, .12);
}

.brand-showcase::before,
.brand-showcase::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(215, 166, 63, .28);
  pointer-events: none;
}

.brand-showcase::after {
  inset: 24px;
  border-color: rgba(255, 241, 185, .16);
}

.brand-logo-frame {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 330px;
  padding: .9rem;
}

.brand-logo-frame img {
  width: min(100%, 540px);
  aspect-ratio: 1494 / 1032;
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .7)) drop-shadow(0 0 24px rgba(215, 166, 63, .28));
}

.brand-proof-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
}

.brand-proof-grid span {
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(215, 166, 63, .4);
  color: var(--gold-light);
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: 0;
  background: rgba(0, 0, 0, .32);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  max-width: 820px;
  margin-top: 2rem;
}

.trust-item,
.service-card,
.feature-panel,
.form-panel,
.contact-panel,
.resource-card,
.portal-panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .022)),
    radial-gradient(circle at 10% 0%, rgba(215, 166, 63, .08), transparent 42%);
  box-shadow: var(--shadow);
}

.trust-item {
  padding: 1rem;
}

.trust-item strong {
  display: block;
  color: var(--gold-light);
  font-size: 1.2rem;
}

.section-head {
  display: grid;
  gap: .8rem;
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

.service-card {
  position: relative;
  min-height: 255px;
  display: grid;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  right: -1.2rem;
  bottom: -1.25rem;
  width: 150px;
  height: 104px;
  background: url("../images/hernandez-pro-services-mark.webp") center / cover no-repeat;
  opacity: .11;
  filter: saturate(1.25);
  pointer-events: none;
}

.service-card::after {
  content: "HERNANDEZ PRO SERVICES";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: .65rem;
  color: rgba(215, 166, 63, .075);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
  pointer-events: none;
}

.service-body {
  position: relative;
  z-index: 1;
  padding: 1.2rem;
  display: grid;
  align-content: start;
  gap: .75rem;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(215, 166, 63, .2), rgba(255, 241, 185, .06));
  color: var(--gold-light);
}

.service-icon svg,
.contact-link svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.split {
  display: grid;
  gap: 2rem;
}

.appointment-layout {
  display: grid;
  gap: 1rem;
}

.feature-panel,
.form-panel,
.contact-panel,
.portal-panel {
  padding: 1.25rem;
}

.appointment-form-head {
  display: grid;
  gap: .7rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--line);
}

.appointment-form-head .eyebrow {
  font-size: .72rem;
}

.appointment-form-head h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.schedule-note,
.schedule-card {
  border: 1px solid var(--line);
  background: rgba(213, 166, 66, .1);
  color: var(--gold-light);
}

.schedule-note {
  margin: 1rem 0;
  padding: .9rem 1rem;
  font-weight: 800;
}

.schedule-card {
  display: grid;
  gap: .35rem;
  margin-top: 1.2rem;
  padding: 1rem;
}

.schedule-card strong {
  color: var(--white);
  font-size: 1.1rem;
}

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

.feature-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-top: 1rem;
  border: 1px solid var(--line);
}

.feature-panel img.brand-card-image {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  background: #050505;
}

.brand-section {
  background:
    linear-gradient(180deg, rgba(215, 166, 63, .05), transparent 22%),
    #050505;
}

.brand-gallery {
  display: grid;
  gap: 1rem;
}

.brand-piece {
  margin: 0;
  border: 1px solid rgba(215, 166, 63, .42);
  background: #030303;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.brand-piece img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.brand-piece-wide img {
  min-height: 520px;
  object-fit: cover;
  object-position: center;
  background: #050505;
}

.brand-piece-logo img {
  object-fit: cover;
  object-position: center;
}

.values {
  display: grid;
  gap: .75rem;
  margin-top: 1.2rem;
}

.value {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  color: var(--muted);
}

.value::before {
  content: "";
  width: .72rem;
  height: .72rem;
  margin-top: .45rem;
  background: var(--gold);
  flex: 0 0 auto;
}

.disclaimer {
  margin-top: 1rem;
  padding: 1rem;
  border-left: 4px solid var(--gold);
  background: rgba(213, 166, 66, .1);
  color: var(--gold-light);
  font-weight: 750;
}

.form-grid {
  display: grid;
  gap: .9rem;
}

.field {
  display: grid;
  gap: .35rem;
}

label {
  color: var(--gold-light);
  font-size: .9rem;
  font-weight: 800;
}

.field-help {
  font-size: .85rem;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .42);
  color: var(--white);
  padding: .8rem .9rem;
  outline: none;
}

textarea {
  min-height: 136px;
  resize: vertical;
}

.form-notice {
  margin-bottom: 1rem;
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  font-weight: 800;
}

.form-notice.success {
  color: #c9ffd9;
  background: rgba(37, 211, 102, .12);
  border-color: rgba(37, 211, 102, .45);
}

.form-notice.error {
  color: #ffe2d8;
  background: rgba(255, 97, 97, .12);
  border-color: rgba(255, 97, 97, .45);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(213, 166, 66, .16);
}

.contact-list {
  display: grid;
  gap: .85rem;
  margin-top: 1.25rem;
}

.contact-link {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .85rem;
  border: 1px solid var(--line);
  color: var(--muted);
  overflow-wrap: anywhere;
}

.contact-link:hover {
  color: var(--white);
  border-color: var(--gold);
}

.resource-card {
  display: grid;
  gap: .9rem;
  padding: 1.2rem;
}

.resource-card span {
  color: var(--gold-light);
  font-weight: 900;
}

.portal-panel {
  max-width: 760px;
}

.footer {
  padding: 2rem 0 5.5rem;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(215, 166, 63, .08), transparent 48%, rgba(215, 166, 63, .08)),
    #030303;
}

.footer-grid {
  display: grid;
  gap: 1.2rem;
}

.footer-logo {
  width: min(100%, 430px);
  height: auto;
  max-height: 260px;
  object-fit: cover;
  object-position: center;
  margin-bottom: 1rem;
  border: 1px solid rgba(215, 166, 63, .36);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .4);
}

.footer-brand {
  margin: 0 0 .45rem;
  color: var(--gold-light);
  font-size: clamp(1.35rem, 4vw, 2rem);
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #25d366;
  color: #07170c;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .42);
}

.whatsapp svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

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

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

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

@media (min-width: 720px) {
  .services-grid,
  .resources-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 1020px) {
  .nav-toggle {
    display: none;
  }

  .brand {
    width: 222px;
    height: 68px;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: .15rem;
    padding: 0;
    background: transparent;
    border: 0;
    transform: none;
  }

  .site-nav a {
    font-size: .92rem;
  }

  .lang-toggle {
    margin-left: .5rem;
  }

  .hero-inner {
    padding: 6.5rem 0 7.5rem;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .62fr);
    align-items: center;
  }

  .hero-layout .trust-row {
    grid-column: 1 / -1;
  }

  .trust-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .brand-gallery {
    grid-template-columns: 1.1fr .9fr .9fr;
  }

  .brand-piece-wide {
    grid-row: span 2;
  }

  .brand-piece-wide img {
    min-height: 720px;
  }

  .split {
    grid-template-columns: 1fr .92fr;
    align-items: start;
  }

  .appointment-layout {
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, .58fr);
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

/* V13 final cascade: preserve complete artwork and a readable two-column layout. */
.service-grid-v13 {
  grid-template-columns: 1fr;
}

.service-grid-v13 .visual-service-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.footer-logo {
  aspect-ratio: auto;
  object-fit: contain;
}

@media (min-width: 720px) {
  .service-grid-v13 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* V15 final cascade. */
.master-hero-image {
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

@media (min-width: 1100px) {
  .service-grid-v13 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* V16 FINAL: keep these rules last so legacy release styles cannot crop the hero. */
.master-hero {
  display: block;
  height: auto;
  min-height: 0;
  padding: 0;
  overflow: visible;
  background: #000;
}

.master-hero-image {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 1672 / 941;
  margin: 0;
  object-fit: contain;
  object-position: center;
}

.master-hero-shade {
  display: none;
}

.master-hero-content {
  position: relative;
  inset: auto;
  width: min(1180px, calc(100% - 40px));
  padding: clamp(1.2rem, 2.5vw, 2rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  background: #000;
}

.master-hero-content p {
  max-width: 760px;
}

.brand {
  width: 92px;
  height: 58px;
}

.brand img,
.footer-logo {
  object-fit: contain;
}

.footer-logo {
  width: min(100%, 320px);
  aspect-ratio: auto;
}

@media (max-width: 719px) {
  .master-hero {
    padding-top: 0;
  }

  .master-hero-image {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 1672 / 941;
    object-fit: contain;
  }

  .master-hero-content {
    width: calc(100% - 32px);
    padding: 1rem 0 1.4rem;
  }

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

/* V19 public experience --------------------------------------------------- */
:root {
  --hps-ink: #070707;
  --hps-charcoal: #151515;
  --hps-panel: #1c1c1b;
  --hps-paper: #f3f1eb;
  --hps-paper-muted: #5f5c55;
  --hps-gold: #d8aa4a;
  --hps-gold-light: #f3d58a;
  --hps-line: rgba(216, 170, 74, .34);
  --hps-radius: 4px;
  --hps-space: clamp(4rem, 7vw, 7rem);
}

.site-header {
  background: rgba(7, 7, 7, .96);
}

.site-nav .nav-access {
  color: var(--hps-gold-light);
  border-color: var(--hps-line);
}

.site-nav .nav-cta {
  background: var(--hps-gold);
  border-color: var(--hps-gold);
  color: var(--hps-ink);
}

.home-hero {
  position: relative;
  min-height: min(780px, calc(100svh - 74px));
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--hps-ink);
  border-bottom: 1px solid var(--hps-line);
}

.home-hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: -2;
  width: min(72%, 1040px);
  height: 100%;
  object-fit: contain;
  object-position: right center;
  opacity: .48;
}

.home-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, .34);
}

.home-hero-inner {
  padding-block: 5rem;
}

.home-hero-copy {
  max-width: 760px;
}

.home-hero h1 {
  max-width: 740px;
  margin-top: 1rem;
  color: #fff6d8;
  font-size: 4.8rem;
  line-height: 1.02;
  text-shadow: 0 4px 26px rgba(0, 0, 0, .82);
}

.home-hero-lead {
  max-width: 660px;
  margin-top: 1.25rem;
  color: #f5f2ea;
  font-size: 1.22rem;
}

.home-hero-actions .btn {
  min-width: 190px;
}

.home-client-link {
  display: inline-flex;
  margin-top: 1.35rem;
  color: var(--hps-gold-light);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: .3rem;
}

.home-proof {
  border-bottom: 1px solid #2c2c2b;
  background: #111;
}

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

.home-proof-grid div {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: .18rem;
  min-height: 92px;
  padding: 1rem;
  border-right: 1px solid #2c2c2b;
  border-bottom: 1px solid #2c2c2b;
}

.home-proof-grid div:nth-child(2n) {
  border-right: 0;
}

.home-proof-grid strong {
  color: var(--hps-gold-light);
  font-size: .9rem;
}

.home-proof-grid span {
  color: #c8c4ba;
  font-size: .82rem;
}

.home-finder,
.home-why,
.home-faq {
  padding-block: var(--hps-space);
}

.home-finder {
  background: var(--hps-paper);
  color: #161616;
}

.home-finder .eyebrow,
.home-finder h2,
.home-faq .eyebrow,
.home-faq h2 {
  color: #181713;
  text-shadow: none;
}

.home-finder .section-head p,
.home-faq .section-head p {
  max-width: 700px;
  color: var(--hps-paper-muted);
}

.home-finder-layout {
  display: grid;
  gap: 1.25rem;
}

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

.home-service-choice {
  min-width: 0;
  min-height: 76px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: .7rem;
  padding: .75rem;
  border: 1px solid #cbc7bc;
  border-radius: var(--hps-radius);
  background: #fff;
  color: #1a1916;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.home-service-choice:hover,
.home-service-choice:focus-visible,
.home-service-choice.is-active {
  border-color: #9a6f17;
  background: #171713;
  color: #fff4cf;
}

.home-service-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--hps-gold);
}

.home-service-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-service-result {
  min-height: 100%;
  padding: 1.5rem;
  border: 1px solid #2b2923;
  border-radius: var(--hps-radius);
  background: #171713;
  color: #fff;
}

.home-result-kicker {
  color: var(--hps-gold-light);
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-service-result h3 {
  margin-top: .55rem;
  color: #fff6d8;
  font-size: 2rem;
}

.home-service-result > p {
  margin-top: 1rem;
}

.home-service-result ul {
  display: grid;
  gap: .5rem;
  margin: .8rem 0 0;
  padding: 0;
  list-style: none;
}

.home-service-result li {
  display: flex;
  gap: .6rem;
  color: #ded9ce;
}

.home-service-result li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: .6rem;
  flex: 0 0 auto;
  background: var(--hps-gold);
}

.home-services {
  padding-block: var(--hps-space);
  background: #0a0a0a;
}

.home-services .section-head p {
  max-width: 680px;
}

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

.home-service-card {
  position: relative;
  min-width: 0;
  min-height: 190px;
  display: grid;
  align-content: space-between;
  gap: .9rem;
  padding: 1rem;
  border: 1px solid #30302e;
  border-radius: var(--hps-radius);
  background: #151515;
}

.home-service-card:hover,
.home-service-card:focus-visible {
  border-color: var(--hps-gold);
  background: #1c1a15;
  transform: translateY(-3px);
}

.home-service-card .home-service-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--hps-line);
}

.home-service-index {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: #777269;
  font-size: .72rem;
  font-weight: 900;
}

.home-service-card h3 {
  color: #fff4cf;
  font-size: 1.08rem;
}

.home-card-action {
  color: #bcb6aa;
  font-size: .78rem;
  font-weight: 800;
}

.home-process {
  padding-block: var(--hps-space);
  border-block: 1px solid #2b2b29;
  background: #121212;
}

.home-process-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-process-list li {
  position: relative;
  min-height: 84px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: .9rem;
  border-bottom: 1px solid #343431;
}

.home-process-list li:last-child {
  border-bottom: 0;
}

.home-process-list span {
  color: var(--hps-gold);
  font-weight: 900;
}

.home-process-list strong {
  color: #fff;
  font-size: 1.08rem;
}

.home-why {
  background: var(--hps-paper);
  color: #181713;
}

.home-why-layout {
  display: grid;
  gap: 2rem;
}

.home-why h2,
.home-why .eyebrow {
  color: #181713;
  text-shadow: none;
}

.home-why-heading p {
  max-width: 560px;
  margin-top: 1rem;
  color: var(--hps-paper-muted);
}

.home-value-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid #c5c0b5;
}

.home-value {
  padding: 1.2rem 0;
  border-bottom: 1px solid #c5c0b5;
}

.home-value strong {
  display: block;
  color: #171611;
  font-size: 1.05rem;
}

.home-value p {
  margin-top: .3rem;
  color: var(--hps-paper-muted);
}

.home-connect {
  padding-block: var(--hps-space);
  background: #070707;
}

.home-connect-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.home-connect-brand {
  min-height: 320px;
  display: grid;
  place-items: center;
  border: 1px solid #2f2b23;
  background: #030303;
}

.home-connect-brand img {
  width: min(82%, 500px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.home-connect-copy > p {
  max-width: 620px;
  margin-top: 1rem;
}

.home-connect-features {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 1.35rem 0;
}

.home-connect-features span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: .45rem .7rem;
  border: 1px solid #3f392c;
  color: #d9d4ca;
  font-size: .82rem;
  font-weight: 800;
}

.home-final-cta {
  padding-block: 4.5rem;
  border-block: 1px solid var(--hps-line);
  background: #1a1710;
}

.home-final-inner {
  display: grid;
  gap: 1.5rem;
}

.home-final-inner p {
  margin-top: .8rem;
}

.home-faq {
  background: var(--hps-paper);
}

.home-faq-layout {
  display: grid;
  gap: 2rem;
}

.home-faq-list {
  border-top: 1px solid #bdb8ad;
}

.home-faq-item {
  border-bottom: 1px solid #bdb8ad;
}

.home-faq-item summary {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #171611;
  font-weight: 850;
  cursor: pointer;
}

.home-faq-item summary::after {
  content: "+";
  color: #8b6518;
  font-size: 1.35rem;
}

.home-faq-item[open] summary::after {
  content: "−";
}

.home-faq-item p {
  max-width: 720px;
  padding: 0 0 1.15rem;
  color: var(--hps-paper-muted);
}

.home-contact {
  padding-block: var(--hps-space);
  background: #101010;
}

.home-contact-grid {
  display: grid;
  gap: .7rem;
}

.home-contact-grid > a {
  min-width: 0;
  min-height: 82px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: .8rem;
  padding: 1rem;
  border: 1px solid #33322f;
  background: #171717;
}

.home-contact-grid > a:hover,
.home-contact-grid > a:focus-visible {
  border-color: var(--hps-gold);
}

.home-contact-grid svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--hps-gold);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-contact-grid span {
  min-width: 0;
  display: grid;
}

.home-contact-grid strong {
  color: #fff4cf;
}

.home-contact-grid small {
  color: #bdb7ab;
  overflow-wrap: anywhere;
}

.footer {
  padding: 3.5rem 0 6rem;
  background: #050505;
}

.footer-main {
  display: grid;
  gap: 2rem;
}

.footer-intro {
  max-width: 320px;
}

.footer-logo {
  width: 220px;
  max-height: 150px;
  margin: 0 0 1rem;
  border: 0;
  box-shadow: none;
}

.footer-location {
  margin-top: .55rem;
  color: #a7a095;
}

.footer-language {
  width: 116px;
  margin-top: 1rem;
}

.footer-column {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: .55rem;
}

.footer-column strong {
  margin-bottom: .35rem;
  color: var(--hps-gold-light);
  font-size: .76rem;
  text-transform: uppercase;
}

.footer-column a {
  color: #bab4a9;
  font-size: .9rem;
  overflow-wrap: anywhere;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #292824;
  color: #8f897f;
  font-size: .78rem;
}

@media (min-width: 720px) {
  .home-proof-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-proof-grid div,
  .home-proof-grid div:nth-child(2n) {
    border-right: 1px solid #2c2c2b;
    border-bottom: 0;
  }

  .home-proof-grid div:last-child {
    border-right: 0;
  }

  .home-service-choices,
  .home-service-grid,
  .home-contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-process-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .home-process-list li {
    min-height: 150px;
    grid-template-columns: 1fr;
    align-content: center;
    padding: 1rem;
    border-right: 1px solid #343431;
    border-bottom: 0;
  }

  .home-process-list li:last-child {
    border-right: 0;
  }

  .home-final-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .footer-main {
    grid-template-columns: 1.35fr repeat(2, minmax(130px, .7fr));
  }
}

@media (min-width: 1020px) {
  .home-finder-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
  }

  .home-service-choices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-service-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .home-service-card:last-child {
    grid-column: span 2;
  }

  .home-why-layout,
  .home-connect-layout,
  .home-faq-layout {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  }

  .home-value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-left: 1px solid #c5c0b5;
  }

  .home-value {
    padding: 1.2rem;
    border-right: 1px solid #c5c0b5;
  }

  .home-contact-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: 1.5fr repeat(4, minmax(120px, .65fr));
  }
}

@media (max-width: 719px) {
  .home-hero {
    min-height: min(680px, calc(100svh - 110px));
    align-items: end;
  }

  .home-hero-media {
    inset: 0 0 auto;
    width: 100%;
    height: 56%;
    object-position: center top;
    opacity: .44;
  }

  .home-hero-overlay {
    background: rgba(0, 0, 0, .42);
  }

  .home-hero-inner {
    padding: 13.25rem 0 2.25rem;
  }

  .home-hero h1 {
    font-size: 2.75rem;
  }

  .home-hero-lead {
    font-size: 1.05rem;
  }

  .home-hero-actions,
  .home-hero-actions .btn,
  .home-service-result .actions,
  .home-service-result .btn,
  .home-final-inner .actions,
  .home-final-inner .btn {
    width: 100%;
  }

  .home-service-choice {
    grid-template-columns: 32px minmax(0, 1fr);
    font-size: .88rem;
  }

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

  .home-service-card {
    min-height: 180px;
  }

  .home-service-card h3 {
    font-size: .96rem;
  }
}

@media (max-width: 420px) {
  .home-service-choices,
  .home-service-grid {
    grid-template-columns: 1fr;
  }

  .home-service-card {
    min-height: 152px;
  }
}

/* V16 authoritative brand and portal integration. */
.master-hero {
  height: auto;
  min-height: 0;
  padding: 0;
  overflow: visible;
  background: #000;
}

.master-hero-image {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 1672 / 941;
  margin: 0;
  object-fit: contain;
  object-position: center;
}

.master-hero-shade {
  display: none;
}

.master-hero-content {
  position: relative;
  inset: auto;
  width: min(1180px, calc(100% - 40px));
  padding: clamp(1.2rem, 2.5vw, 2rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  background: #000;
}

.master-hero-content p {
  max-width: 760px;
}

.brand {
  width: 92px;
  height: 58px;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-logo {
  width: min(100%, 320px);
  aspect-ratio: auto;
  object-fit: contain;
}

.connect-showcase {
  border-block: 1px solid var(--line);
  background: #050505;
}

.connect-showcase-grid,
.connect-portal-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}

.connect-brand,
.connect-portal-art {
  min-width: 0;
  background: #000;
}

.connect-portal-art > a {
  display: block;
}

.connect-brand img,
.connect-portal-art img {
  display: block;
  width: min(100%, 540px);
  aspect-ratio: 1;
  margin-inline: auto;
  object-fit: contain;
}

.connect-copy h2,
.connect-portal-copy h1 {
  margin: .45rem 0 1rem;
  color: var(--gold-light);
}

.connect-capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  margin: 1.35rem 0;
}

.connect-capabilities span {
  padding: .8rem .9rem;
  border: 1px solid var(--line);
  color: var(--gold-light);
  background: #0b0b0b;
  font-weight: 800;
}

.connect-portal-hero {
  padding: clamp(2rem, 5vw, 5rem) 0;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(circle at 25% 35%, rgba(215, 166, 63, .12), transparent 30%), #020202;
}

.portal-security-note {
  max-width: 620px;
  margin-top: 1rem;
  color: var(--muted);
  font-size: .85rem;
}

.portal-step-grid {
  display: grid;
  gap: 1rem;
}

.portal-step {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: #0a0a0a;
}

.portal-step > span {
  color: var(--gold);
  font-size: .75rem;
  font-weight: 900;
}

.portal-step h3 {
  margin: .55rem 0 .65rem;
  color: var(--gold-light);
}

.portal-step p {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 820px) {
  .connect-showcase-grid,
  .connect-portal-grid {
    grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr);
  }

  .portal-step-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  .master-hero {
    padding-top: 0;
  }

  .master-hero-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1672 / 941;
  }

  .master-hero-content {
    width: calc(100% - 32px);
    padding: 1rem 0 1.4rem;
  }

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

  .connect-capabilities {
    grid-template-columns: 1fr;
  }
}

.master-hero {
  height: auto;
  min-height: 0;
}

.master-hero-image {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: clamp(360px, 43vw, 610px);
  object-fit: contain;
  object-position: center;
}

.master-hero-shade {
  display: none;
}

.master-hero-content {
  position: relative;
  inset: auto;
  padding-top: 1.15rem;
  padding-bottom: 1.4rem;
  background: #000;
}

.master-hero-content h1 {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(2rem, 3.5vw, 3.35rem);
}

@media (max-width: 719px) {
  .master-hero {
    padding-top: 0;
  }

  .master-hero-image {
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .master-hero-content {
    width: calc(100% - 32px);
    padding-top: 1rem;
  }

  .master-hero-content h1 {
    font-size: 1.85rem;
    line-height: 1.08;
  }
}

/* V15 visual refinements and public assistant. */
.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.master-hero-image {
  height: auto;
  aspect-ratio: 16 / 9;
}

.master-hero-content {
  display: grid;
  gap: .55rem;
}

.master-hero-content p {
  margin-bottom: .35rem;
}

.service-grid-v13 .visual-service-copy {
  padding: 1rem;
}

.contact-showcase {
  border-top: 1px solid var(--line);
  background: #070707;
}

.contact-showcase-head {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-showcase-head h2 {
  margin-bottom: 0;
}

.contact-showcase-head p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
}

.contact-method-grid {
  display: grid;
  gap: .75rem;
}

.contact-method {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: .1rem .75rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: #0c0c0c;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.contact-method:hover,
.contact-method:focus-visible {
  border-color: var(--gold);
  background: #13110c;
  transform: translateY(-2px);
}

.contact-method-mark {
  grid-row: span 2;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 900;
}

.contact-method strong {
  color: var(--gold-light);
}

.contact-method small {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--muted);
}

.contact-method-featured {
  background: linear-gradient(90deg, #151109, #0c0c0c);
}

.ai-chat-toggle {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 27;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .65rem .85rem;
  border: 1px solid var(--gold);
  border-radius: 3px;
  background: #0b0b0b;
  color: var(--gold-light);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .55);
  font-weight: 850;
  cursor: pointer;
}

.ai-chat-toggle svg {
  width: 22px;
  height: 22px;
  fill: var(--gold);
}

.ai-chat-panel {
  position: fixed;
  right: 18px;
  bottom: 148px;
  z-index: 28;
  width: min(390px, calc(100vw - 24px));
  max-height: min(620px, calc(100svh - 170px));
  overflow: hidden;
  border: 1px solid var(--gold);
  border-radius: 6px;
  background: #080808;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .72);
}

.ai-chat-panel[hidden] {
  display: none;
}

.ai-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--line);
  background: #11100d;
}

.ai-chat-head div {
  display: grid;
}

.ai-chat-head strong {
  color: var(--gold-light);
}

.ai-chat-head small {
  color: var(--muted);
}

.ai-chat-close {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.55rem;
  cursor: pointer;
}

.ai-chat-messages {
  min-height: 160px;
  max-height: 360px;
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: .7rem;
  padding: 1rem;
}

.ai-message {
  max-width: 88%;
  margin: 0;
  padding: .7rem .8rem;
  border-radius: 6px;
  background: #171717;
  color: #fff;
  font-size: .92rem;
}

.ai-message.user {
  justify-self: end;
  background: var(--gold);
  color: #090909;
}

.ai-message-actions,
.ai-message-suggestions {
  width: 100%;
  display: grid;
  gap: .45rem;
}

.ai-action-link,
.ai-message-suggestions button {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .55rem .7rem;
  border: 1px solid var(--gold);
  border-radius: 3px;
  background: #111;
  color: var(--gold-light);
  font: inherit;
  font-size: .82rem;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
}

.ai-action-link.primary {
  background: var(--gold);
  color: #080808;
}

.ai-action-link:hover,
.ai-action-link:focus-visible,
.ai-message-suggestions button:hover,
.ai-message-suggestions button:focus-visible {
  border-color: var(--gold-light);
  background: #211b0f;
  color: #fff;
}

.ai-action-link.primary:hover,
.ai-action-link.primary:focus-visible {
  background: var(--gold-light);
  color: #080808;
}

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

.ai-message-suggestions button {
  border-color: #4a4232;
  background: #0e0e0e;
  color: #ddd6ca;
  font-weight: 700;
}

.ai-chat-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 0 1rem .75rem;
}

.ai-chat-quick-actions button {
  flex: 1 1 calc(50% - .25rem);
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #111;
  color: var(--gold-light);
  cursor: pointer;
}

.ai-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: .5rem;
  padding: .75rem 1rem;
  border-top: 1px solid var(--line);
}

.ai-chat-form input {
  min-width: 0;
  min-height: 44px;
  padding: .65rem .75rem;
  border: 1px solid #4a4232;
  border-radius: 3px;
  background: #111;
  color: #fff;
}

.ai-chat-form button {
  border: 0;
  border-radius: 3px;
  background: var(--gold);
  color: #050505;
  font-size: 1.2rem;
  font-weight: 900;
  cursor: pointer;
}

.ai-chat-disclaimer {
  margin: 0;
  padding: 0 1rem 1rem;
  color: #aaa397;
  font-size: .72rem;
  line-height: 1.45;
}

@media (min-width: 720px) {
  .contact-showcase-head {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr);
    align-items: end;
  }

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

  .contact-method-featured {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1100px) {
  .service-grid-v13 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-method-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .ai-chat-toggle span {
    display: none;
  }

  .ai-chat-toggle {
    width: 52px;
    justify-content: center;
    padding: 0;
  }

  .ai-chat-panel {
    right: 12px;
    bottom: 148px;
  }
}

/* V13 master-brand experience */
.master-hero {
  position: relative;
  isolation: isolate;
  height: min(760px, calc(100svh - 74px));
  min-height: 620px;
  overflow: hidden;
  background: #000;
  border-bottom: 1px solid var(--line);
}

.master-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.master-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .64) 70%, #000 100%);
}

.master-hero-content {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding-bottom: clamp(1.35rem, 3vw, 2.5rem);
}

.master-hero-content h1 {
  max-width: 780px;
  margin: .35rem 0 .2rem;
  color: var(--gold-light);
  font-size: clamp(2rem, 4.2vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.master-hero-content p {
  max-width: 760px;
  margin: 0 0 1.1rem;
  color: #fff;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.intro-band {
  background: #080808;
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  gap: 2rem;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  margin-top: 1.4rem;
  color: var(--gold-light);
  font-size: .8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.services-showcase {
  background: #030303;
}

.service-grid-v13 {
  gap: 1.15rem;
}

.service-grid-v13 .visual-service-card {
  grid-template-rows: auto 1fr;
  border-radius: 4px;
  background: #0a0a0a;
}

.service-image-link {
  display: block;
  overflow: hidden;
  background: #080808;
}

.service-grid-v13 .visual-service-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .35s ease;
}

.service-grid-v13 .visual-service-card:hover img,
.service-grid-v13 .visual-service-card:focus-within img {
  transform: scale(1.025);
}

.service-grid-v13 .visual-service-copy {
  align-content: start;
  padding: 1.25rem;
}

.service-grid-v13 h2,
.service-grid-v13 h3 {
  margin: 0;
  color: var(--gold-light);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.service-grid-v13 p {
  margin: 0;
}

.service-number {
  color: var(--gold);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: 0;
}

.service-legal {
  padding-top: .75rem;
  border-top: 1px solid var(--line);
  color: #c9c2b6;
  font-size: .82rem;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 3px;
}

.values-panel {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 0;
  border: 1px solid var(--line);
  background: #090909;
}

.values-panel span,
.values-panel strong {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.values-panel span {
  color: var(--gold);
  font-size: .8rem;
  font-weight: 900;
  text-align: center;
}

.values-panel strong {
  border-left: 1px solid var(--line);
  color: var(--gold-light);
  font-size: 1.1rem;
}

.values-panel span:nth-last-child(-n + 2),
.values-panel strong:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.hero-logo {
  min-height: 540px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .98), rgba(0, 0, 0, .76) 48%, rgba(0, 0, 0, .24)),
    var(--hero-image) center right / contain no-repeat,
    #000;
}

@media (min-width: 720px) {
  .intro-grid {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: start;
  }

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

@media (max-width: 719px) {
  .master-hero {
    height: auto;
    min-height: 0;
    padding-top: 66.67%;
  }

  .master-hero-content {
    position: relative;
    width: calc(100% - 32px);
    padding: 1rem 0 1.4rem;
  }

  .master-hero-shade {
    background: linear-gradient(180deg, transparent 44%, #000 66%);
  }

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

  .hero-logo {
    min-height: 440px;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, .2), rgba(0, 0, 0, .94) 70%),
      var(--hero-image) center top / contain no-repeat,
      #000;
  }
}

@media (min-width: 1080px) {
  .service-grid-v13 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* V7 launch visuals */
.launch-hero {
  position: relative;
  border-bottom: 1px solid var(--line);
  background: #030303;
}

.launch-hero picture,
.launch-hero img {
  width: 100%;
  display: block;
}

.launch-hero img {
  height: auto;
  max-height: calc(100svh - 74px);
  object-fit: contain;
  object-position: center;
  background: #030303;
}

.launch-hero-actions {
  position: relative;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 1rem 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .8rem;
  z-index: 2;
  background: #030303;
}

.brand-strip {
  background:
    radial-gradient(circle at 80% 20%, rgba(215, 166, 63, .16), transparent 32%),
    #050505;
  border-bottom: 1px solid var(--line);
}

.logo-stage {
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  border: 1px solid rgba(215, 166, 63, .42);
  background:
    radial-gradient(circle at 50% 45%, rgba(215, 166, 63, .18), transparent 45%),
    linear-gradient(145deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01));
  box-shadow: var(--shadow);
}

.logo-stage img {
  width: min(100%, 520px);
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, .72));
}

.service-banner {
  margin-bottom: 1.1rem;
  border: 1px solid rgba(215, 166, 63, .42);
  background: #030303;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-banner img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: #030303;
}

.visual-service-grid {
  display: grid;
  gap: 1rem;
}

.visual-service-card {
  position: relative;
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(215, 166, 63, .38);
  background: #050505;
  box-shadow: var(--shadow);
  color: inherit;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.visual-service-card:hover,
.visual-service-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .5);
}

.visual-service-card img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #101010;
}

.visual-service-copy {
  display: grid;
  gap: .65rem;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(15, 15, 15, .96), rgba(3, 3, 3, .98));
}

.service-cta {
  width: fit-content;
  margin-top: .35rem;
  padding: .65rem .9rem;
  border: 1px solid var(--gold);
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 52%, var(--gold-rich));
  color: var(--black);
  font-weight: 950;
}

.launch-gallery {
  display: grid;
  gap: 1rem;
}

.single-brand-poster {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: clamp(.75rem, 2vw, 1.25rem);
  border: 1px solid rgba(215, 166, 63, .42);
  background: #030303;
  box-shadow: var(--shadow);
}

.single-brand-poster img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.gallery-piece {
  margin: 0;
  min-height: 240px;
  overflow: hidden;
  border: 1px solid rgba(215, 166, 63, .4);
  background: #030303;
  box-shadow: var(--shadow);
}

.gallery-piece img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: contain;
  object-position: center;
  background: #050505;
}

.gallery-wide img {
  object-fit: contain;
  object-position: center top;
}

.footer-logo {
  width: min(100%, 520px);
  max-height: none;
  aspect-ratio: 20 / 7;
  object-fit: cover;
}

@media (max-width: 719px) {
  .launch-hero img {
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center top;
  }

  .launch-hero-actions {
    width: calc(100% - 32px);
    padding: 1rem 0 1.4rem;
  }

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

  .service-banner img {
    aspect-ratio: auto;
  }
}

@media (min-width: 720px) {
  .visual-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 1020px) {
  .visual-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .launch-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-wide {
    grid-row: span 2;
    min-height: 620px;
  }

  .gallery-piece:not(.gallery-wide) {
    min-height: 300px;
  }
}

/* V13 authoritative responsive overrides. */
.service-grid-v13 {
  grid-template-columns: 1fr;
}

.service-grid-v13 .visual-service-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.footer-logo {
  aspect-ratio: auto;
  object-fit: contain;
}

@media (min-width: 720px) {
  .service-grid-v13 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* V15 authoritative responsive overrides. */
.master-hero-image {
  width: min(760px, 100%);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  margin-inline: auto;
}

.master-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 36%, rgba(215, 166, 63, .16), transparent 34%),
    linear-gradient(180deg, #030303, #000);
}

.brand {
  width: 72px;
  height: 66px;
}

.footer-logo {
  width: min(100%, 360px);
  aspect-ratio: 1;
  object-fit: contain;
}

.consent-field {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .45rem .65rem;
  align-items: start;
  padding: 1rem;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
  font-size: .9rem;
  line-height: 1.55;
}

.consent-field input {
  width: 20px;
  height: 20px;
  margin-top: .1rem;
  accent-color: var(--gold);
}

.consent-field a,
.footer-privacy {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: .2rem;
}

.consent-field a {
  grid-column: 2;
}

.privacy-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .privacy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .service-grid-v13 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* V16 RELEASE OVERRIDES - intentionally last in the file. */
.master-hero {
  display: block;
  height: auto;
  min-height: 0;
  padding: 0;
  overflow: visible;
  background: #000;
}

.master-hero-image {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 1672 / 941;
  margin: 0;
  object-fit: contain;
  object-position: center;
}

.master-hero-shade {
  display: none;
}

.master-hero-content {
  position: relative;
  inset: auto;
  width: min(1180px, calc(100% - 40px));
  padding: clamp(1.2rem, 2.5vw, 2rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  background: #000;
}

.master-hero-content p {
  max-width: 760px;
}

.brand {
  width: 92px;
  height: 58px;
}

.brand img,
.footer-logo {
  object-fit: contain;
}

.footer-logo {
  width: min(100%, 320px);
  aspect-ratio: auto;
}

@media (max-width: 719px) {
  .master-hero,
  .master-hero-image {
    min-height: 0;
    max-height: none;
  }

  .master-hero-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1672 / 941;
    object-fit: contain;
  }

  .master-hero-content {
    width: calc(100% - 32px);
    padding: 1rem 0 1.4rem;
  }

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

/* Real-time architectural scene, with the existing image as fallback. */
.home-hero-canvas { position: absolute; right: 0; top: 0; width: 59%; height: 100%; z-index: -1; pointer-events: none; }
.home-motion-control { position:absolute; right:20px; top:20px; z-index:2; width:40px; height:40px; border:1px solid #91763d; border-radius:4px; background:#11161a; color:#f1d489; cursor:pointer; }
.home-hero.has-3d { background: #080a0d; }
.home-hero.has-3d .home-hero-media, .home-hero.has-3d .home-hero-overlay { visibility: hidden; }
.home-hero.has-3d .home-hero-copy { max-width: 650px; }
.home-hero.has-3d h1 { font-size: 4rem; max-width: 650px; }
@media (max-width: 719px) {
  .home-hero-canvas { width: 100%; height: 280px; }
  .home-hero.has-3d .home-hero-inner { padding-top: 17rem; }
  .home-hero.has-3d h1 { font-size: 2.5rem; }
}
/* V19 final component priority. */
.brand {
  width: 92px;
  height: 58px;
}

.footer-logo {
  width: 220px;
  max-height: 150px;
  aspect-ratio: auto;
  object-fit: contain;
  border: 0;
  box-shadow: none;
}
/* Cinematic brand treatment: preserve the full master instead of framing it. */
.home-hero { --hero-art-height:380px; min-height:0; display:block; background:#050505; }
.home-hero.has-3d { background:#050505; }
.home-hero .home-hero-canvas { inset:0; width:100%; height:100%; }
.home-hero .home-hero-media { inset:0; width:100%; height:var(--hero-art-height); object-fit:contain; opacity:1; }
.home-hero .home-hero-overlay { display:none; }
.home-hero .home-hero-inner,.home-hero.has-3d .home-hero-inner { position:relative; padding-top:var(--hero-art-height); padding-bottom:28px; text-align:center; }
.home-hero .home-hero-copy,.home-hero.has-3d .home-hero-copy { max-width:100%; }
.home-hero .eyebrow { justify-content:center; font-size:11px; color:#c8b686; }
.home-hero h1,.home-hero.has-3d h1 { font-family:Georgia,'Times New Roman',serif; font-weight:400; font-size:40px; max-width:none; margin:10px 0; line-height:1.12; color:#f2d77a; text-shadow:none; }
.home-hero .home-hero-lead { max-width:720px; margin:0 auto; font-size:16px; line-height:1.55; }
.home-hero .home-hero-actions { justify-content:center; margin-top:20px; gap:12px; }
.home-hero .home-hero-actions .btn { min-height:46px; padding:12px 22px; font-size:14px; }
.home-hero .home-client-link { margin-top:16px; font-size:12px; color:#c6baa0; }
.home-service-card { transform:perspective(900px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)); transition:transform .35s ease,border-color .35s,box-shadow .35s; }
.home-service-card:hover { transform:perspective(900px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) translateY(-4px); box-shadow:0 12px 30px #0006; border-color:#d4af37; }
.section-head h2,.home-final-cta h2 { font-family:Georgia,'Times New Roman',serif; font-weight:400; color:#f2d77a; }
.btn { transition:background-color .25s,box-shadow .25s,transform .25s; }
.btn:hover { box-shadow:0 4px 22px #d4af371c; transform:translateY(-2px); }
.btn:active { transform:translateY(0); }
.home-process-list li { transition:border-color .5s,background-color .5s; }
.home-process-list li:hover { border-color:#d4af37; background:#111; }
@media(min-height:850px) and (min-width:1000px) { .home-hero { --hero-art-height:490px; } }
@media(max-width:600px) {
 .home-hero { --hero-art-height:235px; }
 .home-hero h1,.home-hero.has-3d h1 { font-size:29px; max-width:340px; margin:12px auto; }
 .home-hero .home-hero-lead { font-size:14px; max-width:350px; }
 .home-hero .home-hero-actions { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
 .home-hero .home-hero-actions .btn { width:auto; min-width:0; padding:10px 8px; font-size:12px; }
 .home-hero .home-hero-actions .btn:last-child { grid-column:1/-1; }
 .home-hero .home-motion-control { width:30px; height:30px; right:10px; top:10px; }
}
@media(prefers-reduced-motion:reduce) { .home-service-card,.home-service-card:hover,.btn:hover { transform:none; transition:none; } }

.home-finder,.home-why,.home-faq { background:#0b0b0c; color:#f5f2ea; }
.home-finder h2,.home-why h2,.home-faq h2 { color:#f2d77a; font-family:Georgia,'Times New Roman',serif; font-weight:400; }
.home-finder .eyebrow,.home-why .eyebrow,.home-faq .eyebrow { color:#d4af37; }
.home-finder .section-head p,.home-faq .section-head p,.home-why-heading p,.home-value p,.home-faq-item p { color:#bbb9b3; }
.home-service-choice { background:#141415; color:#f5f2ea; border-color:#3b3528; transition:background-color .25s,border-color .25s; }
.home-service-choice:hover,.home-service-choice.is-active { background:#211e15; border-color:#d4af37; }
.home-service-result { background:#101012; border-color:#5e4c29; }
.home-value-grid,.home-value,.home-faq-list,.home-faq-item { border-color:#383329; }
.home-value strong,.home-faq-item summary { color:#f5f2ea; }
.home-value:hover strong { color:#f2d77a; }
.home-final-cta { background:#101011; }
.home-connect-brand { border:0; background:transparent; }

/* The assistant stays inside the usable viewport, including mobile keyboards. */
.ai-chat-panel:not([hidden]) { display:flex; flex-direction:column; width:min(410px,calc(100vw - 24px)); height:min(760px,calc(100dvh - 150px)); max-height:calc(100dvh - 150px); }
.ai-chat-panel .ai-chat-messages { flex:1 1 140px; min-height:72px; overflow-y:auto; overscroll-behavior:contain; }
.ai-chat-panel .ai-chat-head,.ai-chat-panel .ai-chat-form,.ai-chat-panel .ai-chat-quick-actions { flex-shrink:0; }
.hdez-ia-stage { flex:0 0 auto; position:relative; padding:6px 12px; border-bottom:1px solid #51442b; background:#121316; }
.hdez-ia-scene { width:100%; height:135px; }
.hdez-ia-scene canvas { display:block; width:100%; height:100%; }
.hdez-ia-scene[data-unavailable="true"] { display:none; }
.hdez-ia-stage>small { position:absolute; top:10px; left:12px; color:#ddd0b5; font-size:11px; }
.hdez-ia-stage>[role="status"] { display:block; font-size:12px; color:#f2dfaa; min-height:18px; }
.hdez-ia-toolbar { position:absolute; top:30px; right:12px; display:flex; flex-direction:column; gap:4px; }
.hdez-ia-toolbar button { width:30px; height:30px; padding:0; border:1px solid #877344; border-radius:4px; background:#202329; color:#ffe39a; cursor:pointer; }
.hdez-ia-toolbar button:disabled { opacity:.45; cursor:default; }
.hdez-ia-toolbar button:focus-visible { outline:2px solid #fff; outline-offset:2px; }
.hdez-ia-consent { display:flex; align-items:flex-start; gap:6px; font-size:11px; color:#ddd; margin-top:6px; }
.hdez-ia-consent input { width:16px; height:16px; flex-shrink:0; }
.hdez-ia-stage [hidden] { display:none!important; }
@media(max-width:600px) {
 .ai-chat-panel:not([hidden]) { bottom:82px; right:12px; height:calc(100dvh - 98px); max-height:calc(100dvh - 98px); }
 .hdez-ia-scene { height:115px; }
 .ai-chat-panel .ai-chat-disclaimer { font-size:10px; line-height:1.35; margin:6px 12px; }
}
