/* ==========================================================================
   COMPONENTS — header, nav, buttons, cards, forms, footer, popup, bars
   ========================================================================== */

/* --------------------------------------------------------------------------
   Scroll progress bar
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  z-index: 999;
  background: var(--beam);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Site header group (top bar + nav) — sticky, shrinking
   -------------------------------------------------------------------------- */
/* Both the top bar and the nav stay pinned for the whole scroll — the header
   never hides. Only its height tightens (see .is-shrunk below). */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
}

/* ---- Top utility bar ---- */
.topbar {
  background: var(--glass-bg-strong);
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
  overflow: hidden;
  transition: font-size var(--t-std) var(--ease-standard);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .topbar {
    background: var(--glass-bg);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
  }
}
/* Stays visible when shrunk — just tightens a little. */
.site-header.is-shrunk .topbar {
  font-size: 0.71875rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  min-height: 46px;
  transition: min-height var(--t-std) var(--ease-standard);
}
.site-header.is-shrunk .topbar__inner {
  min-height: 38px;
}
.topbar__group {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-width: 0;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--steel-400);
  white-space: nowrap;
}
.topbar__item svg {
  width: 14px;
  height: 14px;
  color: var(--brass-400);
  flex: none;
}
a.topbar__item:hover {
  color: var(--brass-200);
}

/* ---- Social icon row ---- */
.social {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.social__link {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  color: var(--steel-400);
  transition: color var(--t-micro) var(--ease-standard),
    border-color var(--t-micro) var(--ease-standard),
    background-color var(--t-micro) var(--ease-standard);
}
.social__link svg {
  width: 14px;
  height: 14px;
}
.social__link:hover {
  color: var(--navy-900);
  background: var(--brass-300);
  border-color: var(--brass-300);
}
/* Profiles the client has not supplied yet — visually present, clearly inert. */
.social__link[data-social-pending="true"] {
  opacity: 0.42;
  cursor: not-allowed;
}
.social__link[data-social-pending="true"]:hover {
  color: var(--steel-400);
  background: none;
  border-color: var(--border);
}

/* ---- Main nav bar ---- */
.navbar {
  background: rgba(5, 18, 31, 0.72);
  border-bottom: 1px solid transparent;
  transition: background-color var(--t-std) var(--ease-standard),
    border-color var(--t-std) var(--ease-standard),
    box-shadow var(--t-std) var(--ease-standard);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .navbar {
    background: rgba(5, 18, 31, 0.55);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
    backdrop-filter: blur(20px) saturate(170%);
  }
}
.site-header.is-shrunk .navbar {
  background: var(--glass-bg-strong);
  border-bottom-color: rgba(200, 164, 77, 0.25);
  box-shadow: var(--shadow-md);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  height: 104px;
  transition: height var(--t-std) var(--ease-standard);
}
.site-header.is-shrunk .navbar__inner {
  height: 68px;
}

/* ---- Brand: LOGO IMAGE ONLY. No hardcoded company-name text. ---- */
.brand {
  display: block;
  flex: none;
  line-height: 0;
}
.brand img {
  width: auto;
  height: 62px;
  transform-origin: left center;
  transition: height var(--t-std) var(--ease-standard),
    filter var(--t-micro) var(--ease-standard);
  filter: drop-shadow(0 3px 10px rgba(5, 18, 31, 0.6));
}
.site-header.is-shrunk .brand img {
  height: 46px;
}
.brand:hover img {
  filter: drop-shadow(0 3px 14px rgba(224, 195, 119, 0.4));
}

/* ---- Desktop navigation ---- */
.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.35rem, 1.4vw, 1.1rem);
}
.nav__item {
  position: relative;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-3);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--bone-200);
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: var(--sp-3);
  right: var(--sp-3);
  bottom: 6px;
  height: 1.5px;
  background: var(--beam-soft);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform var(--t-std) var(--ease-entrance);
}
.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--brass-200);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after,
.nav__item:focus-within .nav__link::after {
  transform: scaleX(1);
}
.nav__link svg {
  width: 11px;
  height: 11px;
  transition: transform var(--t-micro) var(--ease-standard);
}
.nav__item:hover .nav__link svg,
.nav__item:focus-within .nav__link svg {
  transform: rotate(180deg);
}

/* ---- Services mega dropdown ---- */
.mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  width: min(660px, 88vw);
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  border: 1px solid var(--glass-brd);
  background: var(--glass-bg-strong);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-2);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -10px);
  transition: opacity var(--t-std) var(--ease-entrance),
    transform var(--t-std) var(--ease-entrance), visibility var(--t-std);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .mega {
    background: rgba(7, 23, 38, 0.9);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    backdrop-filter: blur(22px) saturate(170%);
  }
}
.nav__item:hover .mega,
.nav__item:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.mega__link {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3);
  border-radius: var(--r-md);
  color: var(--bone-100);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background-color var(--t-micro) var(--ease-standard),
    border-color var(--t-micro) var(--ease-standard),
    color var(--t-micro) var(--ease-standard);
}
.mega__link:hover {
  background: rgba(20, 57, 92, 0.5);
  border-color: var(--border);
  color: var(--brass-200);
}
.mega__ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: var(--r-sm);
  background: rgba(200, 164, 77, 0.12);
  border: 1px solid var(--border);
  color: var(--brass-300);
}
.mega__ico svg {
  width: 17px;
  height: 17px;
}

/* ---- Header actions ---- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex: none;
}

/* ---- Hamburger ---- */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  color: var(--bone-50);
}
.burger__box {
  position: relative;
  width: 20px;
  height: 14px;
}
.burger__bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t-std) var(--ease-entrance),
    opacity 180ms var(--ease-standard);
}
.burger__bar:nth-child(1) {
  top: 0;
}
.burger__bar:nth-child(2) {
  top: 6.25px;
}
.burger__bar:nth-child(3) {
  top: 12.5px;
}
.burger[aria-expanded="true"] .burger__bar:nth-child(1) {
  transform: translateY(6.25px) rotate(45deg);
}
.burger[aria-expanded="true"] .burger__bar:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] .burger__bar:nth-child(3) {
  transform: translateY(-6.25px) rotate(-45deg);
}

/* ---- Mobile drawer ---- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  display: flex;
  flex-direction: column;
  padding: var(--sp-5) var(--gutter) var(--sp-8);
  background: var(--glass-bg-strong);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-2%);
  transition: opacity var(--t-std) var(--ease-entrance),
    transform var(--t-std) var(--ease-entrance), visibility var(--t-std);
  overflow-y: auto;
  overscroll-behavior: contain;
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .drawer {
    background: rgba(5, 18, 31, 0.93);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    backdrop-filter: blur(24px) saturate(160%);
  }
}
.drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-6);
}
.drawer__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  color: var(--bone-50);
}
.drawer__close svg {
  width: 18px;
  height: 18px;
}
.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.drawer__link {
  display: block;
  padding: var(--sp-4) var(--sp-2);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: var(--ls-tight);
  color: var(--bone-50);
  border-bottom: 1px solid rgba(224, 195, 119, 0.1);
  opacity: 0;
  transform: translateY(14px);
}
.drawer.is-open .drawer__link {
  animation: drawer-in 520ms var(--ease-entrance) forwards;
  animation-delay: calc(var(--i, 0) * 55ms + 90ms);
}
.drawer__link[aria-current="page"] {
  color: var(--brass-300);
}
.drawer__sub {
  padding: var(--sp-2) var(--sp-2) var(--sp-4) var(--sp-5);
  display: grid;
  gap: var(--sp-1);
}
.drawer__sublink {
  color: var(--steel-400);
  font-size: 0.9rem;
  padding: var(--sp-2) 0;
}
.drawer__foot {
  margin-top: auto;
  padding-top: var(--sp-6);
  display: grid;
  gap: var(--sp-3);
}

@keyframes drawer-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  min-height: 48px;
  padding: 0.85rem 1.6rem;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid transparent;
  transition: transform var(--t-micro) var(--ease-standard),
    box-shadow var(--t-std) var(--ease-standard),
    background-color var(--t-micro) var(--ease-standard),
    color var(--t-micro) var(--ease-standard),
    border-color var(--t-micro) var(--ease-standard);
}
.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform var(--t-std) var(--ease-entrance);
}
.btn:active {
  transform: scale(0.97);
}

/* Sweeping light-beam gloss on hover. */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    transparent 20%,
    rgba(255, 255, 255, 0.22) 45%,
    transparent 70%
  );
  transform: translateX(-130%);
  transition: transform 720ms var(--ease-entrance);
}
.btn:hover::before {
  transform: translateX(130%);
}

.btn--primary {
  background: var(--crimson-500);
  color: var(--bone-50);
  border-color: rgba(224, 195, 119, 0.42);
  box-shadow: var(--shadow-md);
}
.btn--primary:hover {
  background: var(--crimson-400);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--brass-200);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  background: var(--brass-300);
  border-color: var(--brass-300);
  color: var(--navy-900);
  box-shadow: var(--shadow-brass);
}
.section--light .btn--ghost {
  color: var(--navy-700);
  border-color: rgba(11, 36, 62, 0.28);
}
.section--light .btn--ghost:hover {
  color: var(--navy-900);
}

.btn--sm {
  min-height: 40px;
  padding: 0.55rem 1.15rem;
  font-size: 0.8125rem;
}
.btn--lg {
  min-height: 56px;
  padding: 1rem 2.1rem;
  font-size: 0.975rem;
}
.btn--block {
  width: 100%;
}
.btn--arrow:hover svg {
  transform: translateX(4px);
}
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Glass card + 3D tilt
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--glass-brd);
  background: var(--glass-bg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--t-std) var(--ease-entrance),
    box-shadow var(--t-std) var(--ease-standard),
    border-color var(--t-std) var(--ease-standard);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .card {
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    backdrop-filter: blur(16px) saturate(150%);
  }
}
/* Brass hairline traced on hover. */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color var(--t-std) var(--ease-standard);
}
.card:hover::after {
  border-color: rgba(224, 195, 119, 0.5);
}
.card:hover {
  box-shadow: var(--shadow-lg);
}

.tilt-wrap {
  perspective: 1200px;
}
.tilt {
  transform-style: preserve-3d;
  will-change: transform;
}
.tilt__layer {
  transform: translateZ(28px);
  transform-style: preserve-3d;
}

/* ---- Service card ---- */
.svc-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.svc-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--navy-800);
}
.svc-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease-entrance);
}
.svc-card:hover .svc-card__media img {
  transform: scale(1.07);
}
.svc-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 18, 31, 0) 35%, rgba(5, 18, 31, 0.86) 100%);
}
.svc-card__ico {
  position: absolute;
  z-index: 2;
  top: var(--sp-4);
  left: var(--sp-4);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  background: rgba(5, 18, 31, 0.7);
  border: 1px solid var(--border-strong);
  color: var(--brass-300);
}
.svc-card__ico svg {
  width: 20px;
  height: 20px;
}
.svc-card__body {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  flex: 1;
}
.svc-card__body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}
.svc-card__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass-400);
}
.svc-card__more svg {
  width: 14px;
  height: 14px;
  transition: transform var(--t-std) var(--ease-entrance);
}
.svc-card:hover .svc-card__more svg {
  transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   Stat counters
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat {
  padding: clamp(1.4rem, 3vw, 2.2rem) var(--sp-4);
  text-align: center;
  background: rgba(7, 23, 38, 0.72);
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: var(--ls-tight);
  color: var(--brass-300);
}
.stat__label {
  display: block;
  margin-top: var(--sp-3);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-400);
}

/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */
.review-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-7);
}
.chip {
  padding: 0.55rem 1.1rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: rgba(20, 57, 92, 0.24);
  color: var(--steel-400);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: color var(--t-micro) var(--ease-standard),
    background-color var(--t-micro) var(--ease-standard),
    border-color var(--t-micro) var(--ease-standard);
}
.chip:hover {
  color: var(--brass-200);
  border-color: var(--border-strong);
}
.chip[aria-pressed="true"] {
  background: var(--brass-300);
  border-color: var(--brass-300);
  color: var(--navy-900);
  font-weight: 600;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}
.review {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: opacity 300ms var(--ease-standard),
    transform 300ms var(--ease-entrance), box-shadow var(--t-std) var(--ease-standard);
}
.review.is-filtered-out {
  display: none;
}
.review__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--brass-300);
}
.stars svg {
  width: 15px;
  height: 15px;
}
.review__text {
  font-size: 0.925rem;
  color: var(--bone-200);
  margin: 0;
  flex: 1;
}
.section--light .review__text {
  color: var(--text-on-light-muted);
}
.review__foot {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
}
.avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: var(--r-pill);
  background: var(--beam);
  color: var(--navy-900);
  font-weight: 700;
  font-size: 0.875rem;
}
.review__who {
  min-width: 0;
}
.review__name {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);
}
.review__meta {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.review__tag {
  align-self: flex-start;
  padding: 0.25rem 0.65rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-400);
}
.review-empty {
  grid-column: 1 / -1;
  padding: var(--sp-7);
  text-align: center;
  color: var(--text-muted);
}

.rating-summary {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: rgba(20, 57, 92, 0.24);
  margin-bottom: var(--sp-5);
}
.rating-summary__score {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--brass-300);
}
/* The Google mark has no intrinsic size — constrain it or it fills the pill. */
.rating-summary > svg {
  width: 26px;
  height: 26px;
  flex: none;
}
.rating-summary span span {
  white-space: nowrap;
}

/* Demo-content notice — reviews are placeholders until the client supplies real ones. */
.demo-note {
  margin-top: var(--sp-6);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  border: 1px dashed var(--border-strong);
  background: rgba(158, 29, 30, 0.09);
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form {
  display: grid;
  gap: var(--sp-4);
}
.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-4);
}
.field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.field__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}
/* Lightened from --crimson-400: the asterisk carries meaning, so it must
   clear 4.5:1 rather than sit at the 2.8:1 the brand red gives at 13px. */
.field__req {
  color: #ef6a6b;
}
.field__input,
.field__select,
.field__textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.8rem 1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: rgba(5, 18, 31, 0.5);
  color: var(--text);
  font-size: 0.9375rem;
  transition: border-color var(--t-micro) var(--ease-standard),
    box-shadow var(--t-micro) var(--ease-standard),
    background-color var(--t-micro) var(--ease-standard);
}
.field__textarea {
  min-height: 132px;
  resize: vertical;
  line-height: 1.6;
}
.field__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8a44d' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 15px;
  padding-right: 2.5rem;
  cursor: pointer;
}
.field__select option {
  background: var(--navy-800);
  color: var(--bone-50);
}
.field__input::placeholder,
.field__textarea::placeholder {
  color: rgba(138, 151, 166, 0.6);
}
.field__input:focus,
.field__select:focus,
.field__textarea:focus {
  outline: none;
  border-color: var(--brass-400);
  background: rgba(5, 18, 31, 0.75);
  box-shadow: 0 0 0 3px rgba(200, 164, 77, 0.18);
}
.field__input[aria-invalid="true"],
.field__select[aria-invalid="true"],
.field__textarea[aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(224, 74, 75, 0.14);
}
.field__error {
  display: none;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.78125rem;
  color: var(--error);
}
.field__error.is-shown {
  display: flex;
}
.field__error svg {
  width: 13px;
  height: 13px;
  flex: none;
}
.field__counter {
  align-self: flex-end;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--steel-500);
}

.field--file .field__input {
  padding: 0.65rem 1rem;
  cursor: pointer;
}
.field__hint {
  font-size: 0.75rem;
  color: var(--steel-500);
}

.field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: var(--sp-3);
}
.field--check input {
  width: 19px;
  height: 19px;
  margin-top: 3px;
  flex: none;
  accent-color: var(--crimson-500);
  cursor: pointer;
}
.field--check label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Honeypot — off-screen rather than display:none so bots still fill it. */
.hp-field {
  position: absolute !important;
  left: -9999px;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form__status {
  display: none;
  padding: var(--sp-4);
  border-radius: var(--r-md);
  font-size: 0.875rem;
  border: 1px solid transparent;
}
.form__status.is-shown {
  display: block;
}
.form__status--error {
  border-color: rgba(224, 74, 75, 0.4);
  background: rgba(224, 74, 75, 0.1);
  color: var(--error);
}
.form__status--ok {
  border-color: rgba(74, 157, 107, 0.4);
  background: rgba(74, 157, 107, 0.12);
  color: var(--success);
}

.spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: spin 700ms linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
.crumbs {
  padding-top: var(--sp-5);
  font-size: 0.8125rem;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  color: var(--steel-500);
}
.crumbs li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.crumbs li + li::before {
  content: "/";
  color: rgba(138, 151, 166, 0.45);
}
.crumbs a {
  color: var(--steel-400);
}
.crumbs a:hover {
  color: var(--brass-300);
}
.crumbs [aria-current="page"] {
  color: var(--brass-300);
}

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */
.faq {
  display: grid;
  gap: var(--sp-3);
}
.faq__item {
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: rgba(20, 57, 92, 0.2);
  overflow: hidden;
  transition: border-color var(--t-std) var(--ease-standard),
    background-color var(--t-std) var(--ease-standard);
}
.faq__item.is-open {
  border-color: var(--border-strong);
  background: rgba(20, 57, 92, 0.34);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}
.faq__icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--brass-400);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t-std) var(--ease-entrance);
}
.faq__icon::before {
  top: 8px;
  left: 0;
  width: 18px;
  height: 2px;
}
.faq__icon::after {
  top: 0;
  left: 8px;
  width: 2px;
  height: 18px;
}
.faq__item.is-open .faq__icon::after {
  transform: scaleY(0);
}
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-std) var(--ease-entrance);
}
.faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
}
.faq__a > div {
  overflow: hidden;
}
.faq__a p {
  padding: 0 var(--sp-5) var(--sp-5);
  font-size: 0.925rem;
  color: var(--text-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Sticky mobile call / WhatsApp bar
   -------------------------------------------------------------------------- */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-sticky-bar);
  display: none;
  border-top: 1px solid var(--border-strong);
  background: var(--glass-bg-strong);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(100%);
  transition: transform var(--t-std) var(--ease-entrance);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .mobile-bar {
    background: rgba(5, 18, 31, 0.9);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
  }
}
.mobile-bar.is-visible {
  transform: translateY(0);
}
.mobile-bar__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.mobile-bar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 60px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bone-50);
}
.mobile-bar__btn svg {
  width: 18px;
  height: 18px;
}
.mobile-bar__btn--call {
  background: var(--crimson-500);
}
.mobile-bar__btn--wa {
  background: #1faa54;
  position: relative;
}
.mobile-bar__btn--wa .pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  animation: pulse-ring 4s var(--ease-standard) infinite;
  pointer-events: none;
}
@keyframes pulse-ring {
  0%,
  70%,
  100% {
    transform: scale(0.6);
    opacity: 0;
  }
  12% {
    opacity: 0.8;
  }
  40% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* Desktop floating WhatsApp bubble */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: var(--z-sticky-bar);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1faa54;
  color: #fff;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity var(--t-std) var(--ease-entrance),
    transform var(--t-std) var(--ease-entrance), visibility var(--t-std);
}
.wa-float.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.05);
  color: #fff;
}
.wa-float svg {
  width: 27px;
  height: 27px;
}
.wa-float__tip {
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-sm);
  background: var(--navy-800);
  border: 1px solid var(--border);
  color: var(--bone-100);
  font-size: 0.8125rem;
  font-weight: 500;
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: opacity var(--t-micro) var(--ease-standard),
    transform var(--t-micro) var(--ease-standard);
}
.wa-float:hover .wa-float__tip {
  opacity: 1;
  transform: translateX(0);
}

/* --------------------------------------------------------------------------
   Demo popup
   -------------------------------------------------------------------------- */
.popup {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: var(--gutter);
  background: rgba(5, 18, 31, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-std) var(--ease-standard), visibility var(--t-std);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .popup {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}
.popup.is-open {
  opacity: 1;
  visibility: visible;
}
.popup__card {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100dvh - 2 * var(--gutter));
  overflow-y: auto;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--r-xl);
  border: 1px solid var(--glass-brd);
  background: rgba(7, 23, 38, 0.94);
  box-shadow: var(--shadow-glow);
  text-align: center;
  transform: scale(0.92) rotateX(6deg);
  opacity: 0;
  transition: transform 450ms var(--ease-entrance), opacity 450ms var(--ease-standard);
}
.popup.is-open .popup__card {
  transform: scale(1) rotateX(0);
  opacity: 1;
}
.popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  color: var(--steel-400);
  transition: color var(--t-micro) var(--ease-standard),
    border-color var(--t-micro) var(--ease-standard);
}
.popup__close:hover {
  color: var(--brass-200);
  border-color: var(--border-strong);
}
.popup__close svg {
  width: 16px;
  height: 16px;
}
.popup__logo {
  height: 54px;
  width: auto;
  margin: 0 auto var(--sp-5);
}
.popup__title {
  font-size: clamp(1.4rem, 3.4vw, 1.85rem);
  margin-bottom: var(--sp-4);
}
.popup__body {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-inline: auto;
  margin-bottom: var(--sp-5);
}
.popup__countdown {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-5);
  margin-bottom: var(--sp-5);
  border-radius: var(--r-pill);
  border: 1px solid rgba(224, 74, 75, 0.35);
  background: rgba(158, 29, 30, 0.14);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--crimson-300);
}
.popup__actions {
  display: grid;
  gap: var(--sp-3);
}
.popup__later {
  font-size: 0.8125rem;
  color: var(--steel-500);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.popup__later:hover {
  color: var(--bone-200);
}
.popup__credit {
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-500);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: var(--z-base);
  padding-top: var(--sp-9);
  background: var(--navy-850);
  border-top: 1px solid var(--border);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  padding-bottom: var(--sp-8);
}
.footer__brand img {
  height: 74px;
  width: auto;
  margin-bottom: var(--sp-4);
}
.footer__tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-5);
  max-width: 34ch;
}
.footer__title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-400);
  margin-bottom: var(--sp-4);
}
.footer__list {
  display: grid;
  gap: var(--sp-3);
}
.footer__list a {
  font-size: 0.875rem;
  color: var(--steel-400);
}
.footer__list a:hover {
  color: var(--brass-200);
}
.footer__contact {
  display: grid;
  gap: var(--sp-4);
  font-size: 0.875rem;
  color: var(--steel-400);
}
.footer__contact strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--bone-100);
  margin-bottom: var(--sp-1);
  font-weight: 600;
}
.footer__contact a:hover {
  color: var(--brass-200);
}
.footer__hours {
  display: grid;
  gap: var(--sp-1);
  font-size: 0.8125rem;
}
.footer__hours div {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  max-width: 230px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-5);
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--steel-500);
}
.footer__bottom p {
  margin: 0;
}
.footer__legal {
  display: flex;
  gap: var(--sp-4);
}
.footer__legal a {
  color: var(--steel-500);
}
.footer__legal a:hover {
  color: var(--brass-300);
}

/* The Novelio signature — a confident credit, not fine print. */
.footer__credit a {
  position: relative;
  color: var(--brass-400);
  font-weight: 600;
}
.footer__credit a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--beam-soft);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform var(--t-std) var(--ease-entrance);
}
.footer__credit a:hover {
  color: var(--brass-200);
}
.footer__credit a:hover::after {
  transform: scaleX(1);
}

/* --------------------------------------------------------------------------
   Custom cursor (fine pointers only — enabled from JS)
   -------------------------------------------------------------------------- */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-cursor);
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: var(--brass-300);
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms var(--ease-standard), width 200ms var(--ease-entrance),
    height 200ms var(--ease-entrance), margin 200ms var(--ease-entrance),
    background-color 200ms var(--ease-standard);
  will-change: transform;
}
.cursor-dot.is-active {
  opacity: 1;
}
.cursor-dot.is-hovering {
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  background: rgba(224, 195, 119, 0.22);
  border: 1px solid var(--brass-300);
}
