/* PrimeGuard Preservation LLC — modern AI look, black + gold identity */

:root {
  --bg: #08080a;
  --bg-2: #0d0d10;
  --card: #111114;
  --gold: #c9a24b;
  --gold-bright: #f0d089;
  --gold-deep: #8a6d2a;
  --text: #f4f1e8;
  --muted: #a9a49a;
  --faint: #6e6a60;
  --line: rgba(201, 162, 75, 0.16);
  --line-soft: rgba(255, 255, 255, 0.07);
  --display: "Sora", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: var(--text); }
h1 { font-size: clamp(2.7rem, 7vw, 4.8rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 14px; }
h3 { font-size: 1.3rem; }

a { color: var(--gold-bright); }

.gold-text {
  background: linear-gradient(120deg, var(--gold-bright) 10%, var(--gold) 60%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.section { padding: 104px 0; position: relative; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-kicker {
  text-transform: uppercase; letter-spacing: 0.24em; font-size: 0.72rem;
  color: var(--gold); font-weight: 600; margin-bottom: 12px;
}
.section-lead { color: var(--muted); max-width: 640px; margin-bottom: 44px; font-size: 1.05rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  letter-spacing: 0.02em; cursor: pointer; font-family: var(--sans);
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-lg { padding: 16px 38px; font-size: 1.02rem; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: #1a1405;
  box-shadow: 0 4px 20px rgba(201, 162, 75, 0.22);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201, 162, 75, 0.38); }

/* ---------- Header (glassy) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 8, 10, 0.68);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled { background: rgba(8, 8, 10, 0.88); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45); }
.header-inner { display: flex; align-items: center; gap: 22px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-logo {
  width: 50px; height: 50px; border-radius: 50%;
  border: 2px solid var(--gold);
  box-shadow: 0 0 18px rgba(201, 162, 75, 0.35);
}
.brand-text { font-family: var(--display); font-size: 1.25rem; font-weight: 700; color: var(--text); line-height: 1.1; letter-spacing: -0.01em; }
.brand-text span { display: block; font-family: var(--sans); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a:not(.btn) { color: var(--text); text-decoration: none; font-size: 0.93rem; font-weight: 500; letter-spacing: 0.03em; opacity: 0.85; transition: opacity 0.15s, color 0.15s; }
.main-nav a:not(.btn):hover { opacity: 1; color: var(--gold-bright); }
.btn-nav-call { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-call { white-space: nowrap; padding: 11px 26px; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: transparent; border: 1px solid var(--line-soft);
  border-radius: 12px; cursor: pointer; padding: 0 11px;
}
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 130px 0 120px; min-height: 92vh; display: flex; align-items: center; }
.hero-media { position: absolute; inset: 0; }
.hero-video {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.5; display: block;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 480px at 50% 8%, rgba(201, 162, 75, 0.16), transparent 65%),
    linear-gradient(180deg, rgba(8,8,10,0.82) 0%, rgba(8,8,10,0.62) 42%, rgba(8,8,10,0.96) 100%);
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(640px 340px at 18% 22%, rgba(201, 162, 75, 0.13), transparent 70%),
    radial-gradient(720px 380px at 84% 68%, rgba(201, 162, 75, 0.1), transparent 70%);
}
.hero-inner { position: relative; z-index: 1; max-width: 800px; }
.hero-kicker {
  color: var(--gold-bright); text-transform: uppercase; letter-spacing: 0.28em;
  font-size: 0.74rem; font-weight: 600; margin-bottom: 22px;
  display: inline-flex; align-items: center; gap: 10px;
}
.hero-kicker::before { content: ""; width: 28px; height: 1px; background: var(--gold); display: inline-block; }
.hero-sub { font-size: 1.16rem; color: #d8d2c2; margin: 24px 0 40px; max-width: 640px; }

/* ---------- Search bar ---------- */
.search-wrap { max-width: 620px; }
.search-bar {
  display: flex; align-items: center; gap: 12px;
  background: rgba(17, 17, 20, 0.82);
  border: 1px solid rgba(201, 162, 75, 0.35);
  border-radius: 999px; padding: 8px 10px 8px 22px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.5), 0 0 0 4px rgba(201, 162, 75, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search-bar:focus-within { border-color: var(--gold); box-shadow: 0 12px 44px rgba(0,0,0,0.5), 0 0 0 6px rgba(201, 162, 75, 0.12); }
.search-icon { color: var(--gold); flex-shrink: 0; }
.search-bar input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--text); font-family: var(--sans); font-size: 1.02rem; padding: 12px 0;
  min-width: 0;
}
.search-bar input::placeholder { color: var(--faint); }
.search-bar input::-webkit-search-cancel-button { display: none; }
.search-clear {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  border: none; background: rgba(201, 162, 75, 0.14); color: var(--gold-bright);
  font-size: 1.3rem; line-height: 1; cursor: pointer;
}
.search-clear:hover { background: rgba(201, 162, 75, 0.28); }
.search-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip {
  font-family: var(--sans); font-size: 0.85rem; font-weight: 500;
  color: var(--text); background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-soft); border-radius: 999px;
  padding: 9px 18px; cursor: pointer;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.chip:hover { border-color: var(--gold); background: rgba(201, 162, 75, 0.12); transform: translateY(-1px); }
.chip.active { border-color: var(--gold); background: rgba(201, 162, 75, 0.18); color: var(--gold-bright); }

.hero-hours { margin-top: 30px; color: var(--muted); font-size: 0.9rem; letter-spacing: 0.05em; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 1;
  color: var(--gold); opacity: 0.7; animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- Trust strip ---------- */
.strip { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: rgba(13, 13, 16, 0.7); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 30px; padding-bottom: 30px; }
.strip-item strong { display: block; font-family: var(--display); font-size: 1.08rem; color: var(--gold-bright); margin-bottom: 4px; }
.strip-item span { font-size: 0.86rem; color: var(--muted); }

/* ---------- Services ---------- */
#services, #work, #reviews, #about, #contact, #government, #plans { scroll-margin-top: 90px; }
.services-grid, .plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.service-card, .plan-card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.028), rgba(255,255,255,0)) , var(--card);
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 34px 30px; display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s, box-shadow 0.25s;
}
.service-card::before, .plan-card::before {
  content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,162,75,0.55), transparent);
  opacity: 0; transition: opacity 0.25s;
}
.service-card:hover, .plan-card:hover { transform: translateY(-6px); border-color: rgba(201, 162, 75, 0.5); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(201, 162, 75, 0.08); }
.service-card:hover::before, .plan-card:hover::before { opacity: 1; }
.service-card h3, .plan-card h3 { font-size: 1.28rem; }
.service-card .price, .plan-card .price { color: var(--muted); font-size: 0.92rem; }
.service-card .price strong, .plan-card .price strong {
  font-family: var(--display); font-size: 2rem; font-weight: 800; letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.card-img {
  display: block;
  width: calc(100% + 60px);
  margin: -34px -30px 8px;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: 1px solid var(--line-soft);
}
.card-desc, .plan-desc { color: #c9c3b4; font-size: 0.95rem; flex: 1; }
.card-link {
  color: var(--gold-bright); font-weight: 600; font-size: 0.86rem; text-decoration: none;
  letter-spacing: 0.08em; text-transform: uppercase; margin-top: 8px;
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
}
.card-link::after { content: "→"; transition: transform 0.2s; }
.card-link:hover::after { transform: translateX(4px); }
.service-card.hidden { display: none; }

/* ---------- Subscription plans ---------- */
.plan-includes {
  list-style: none; margin: 4px 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 9px; flex: 1;
}
.plan-includes li {
  position: relative; padding-left: 28px;
  color: #c9c3b4; font-size: 0.92rem; line-height: 1.5;
}
.plan-includes li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--gold-bright); font-weight: 700;
}
.plan-choose { width: 100%; margin-top: 10px; }

/* Selected-plan note chip above the quote form */
.plan-note {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(201, 162, 75, 0.1); border: 1px solid rgba(201, 162, 75, 0.45);
  border-radius: 999px; padding: 8px 8px 8px 18px; margin: 0 0 18px;
  font-size: 0.88rem; font-weight: 600; color: var(--gold-bright);
}
.plan-note[hidden] { display: none; }
.plan-note button {
  background: none; border: none; cursor: pointer;
  color: var(--gold-bright); font-size: 1.25rem; line-height: 1;
  width: 30px; height: 30px; border-radius: 50%; flex: none;
}
.plan-note button:hover { background: rgba(201, 162, 75, 0.22); }

.search-empty {
  text-align: center; padding: 56px 24px; border: 1px dashed rgba(201, 162, 75, 0.35);
  border-radius: var(--radius); margin-top: 8px; background: rgba(201, 162, 75, 0.04);
}
.search-empty-title { font-family: var(--display); font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; }
.search-empty-sub { color: var(--muted); margin-bottom: 24px; }

/* ---------- About ---------- */
.about-inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 70px; align-items: center; }
.about-copy p { color: #c9c3b4; margin-bottom: 16px; }
.about-list { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.about-list li { padding-left: 34px; position: relative; color: var(--text); font-weight: 500; }
.about-list li::before {
  content: ""; position: absolute; left: 2px; top: 9px; width: 13px; height: 7px;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg);
}
.about-badge { position: relative; }
.about-badge::before {
  content: ""; position: absolute; inset: -40px;
  background: radial-gradient(circle, rgba(201,162,75,0.16), transparent 65%);
  pointer-events: none;
}
.about-badge img {
  position: relative; width: 100%; max-width: 330px; border-radius: 50%;
  border: 2px solid rgba(201, 162, 75, 0.6); display: block; margin: 0 auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(201, 162, 75, 0.14);
}

/* ---------- Government ---------- */
.gov-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; margin-bottom: 44px; }
.gov-card {
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 34px 30px;
}
.gov-card h3 { margin-bottom: 20px; }
.gov-ids { display: grid; gap: 4px; margin-bottom: 18px; }
.gov-ids > div {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  border-bottom: 1px dashed var(--line-soft); padding: 12px 0;
}
.gov-ids dt {
  color: var(--muted); font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
}
.gov-ids dd {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color: var(--gold-bright); font-weight: 600; letter-spacing: 0.05em; margin: 0;
}
.gov-note { color: var(--muted); font-size: 0.9rem; }
.gov-list { list-style: none; display: grid; gap: 14px; }
.gov-list li { padding-left: 30px; position: relative; color: var(--text); font-weight: 500; }
.gov-list li::before {
  content: "◆"; position: absolute; left: 2px; top: 5px;
  color: var(--gold); font-size: 0.72rem;
}
.gov-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.gov-cta p { color: var(--text); font-weight: 500; font-size: 1.05rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.info-row { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.info-label { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.7rem; color: var(--gold); font-weight: 600; padding-top: 5px; }
.info-value { color: var(--text); font-size: 1.06rem; }
.info-link { text-decoration: none; font-weight: 600; }
.info-link:hover { color: var(--gold-bright); }
.contact-info .btn { margin-top: 28px; }

.quote-form {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0)), var(--card);
  border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 36px 32px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}
.quote-form h3 { margin-bottom: 22px; color: var(--gold-bright); }
.quote-form label { display: block; font-size: 0.84rem; font-weight: 600; letter-spacing: 0.03em; color: #c9c3b4; margin-bottom: 16px; }
.quote-form input, .quote-form select, .quote-form textarea {
  display: block; width: 100%; margin-top: 7px; padding: 13px 15px;
  background: rgba(8, 8, 10, 0.7); border: 1px solid var(--line-soft); border-radius: 12px;
  color: var(--text); font-family: var(--sans); font-size: 0.95rem;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.14);
}
.quote-form textarea { resize: vertical; }
.quote-form .btn { width: 100%; }
.form-note { font-size: 0.8rem; color: var(--faint); margin-top: 12px; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); background: #060607; padding: 56px 0 64px; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.footer-brand { display: flex; gap: 16px; align-items: center; }
.footer-brand img { width: 62px; height: 62px; border-radius: 50%; border: 2px solid var(--gold); }
.footer-brand p { color: var(--text); font-weight: 600; line-height: 1.5; }
.footer-brand p span { color: var(--muted); font-weight: 400; font-size: 0.9rem; }
.footer-contact { display: grid; gap: 8px; justify-items: end; text-align: right; }
.footer-contact a { color: var(--gold-bright); text-decoration: none; font-weight: 600; }
.footer-contact span { color: var(--muted); font-size: 0.9rem; }
.footer-copy { grid-column: 1 / -1; color: var(--faint); font-size: 0.82rem; margin-top: 12px; }

/* ---------- Mobile call bar ---------- */
.mobile-callbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-inner, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-badge { order: -1; }
  .about-badge img { max-width: 220px; }
  .strip-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 76px 0; }
  .hero { padding: 100px 0 96px; min-height: 0; }

  /* hamburger nav */
  .main-nav {
    position: fixed; top: 74px; left: 16px; right: 16px; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(13, 13, 16, 0.97);
    border: 1px solid var(--line-soft); border-radius: 20px;
    padding: 14px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
    opacity: 0; transform: translateY(-12px); pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .main-nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .main-nav a:not(.btn) { padding: 13px 16px; border-radius: 12px; font-size: 1rem; }
  .main-nav a:not(.btn):hover, .main-nav a:not(.btn):active { background: rgba(201, 162, 75, 0.1); }
  .btn-nav-call { display: block; text-align: center; margin-top: 8px; }
  .header-actions .btn-call { display: none; }
  .nav-toggle { display: flex; }

  .search-bar input { font-size: 0.98rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-contact { justify-items: start; text-align: left; }
  .site-footer { padding-bottom: 160px; }
  .mobile-callbar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: rgba(8, 8, 10, 0.94); border-top: 1px solid rgba(201, 162, 75, 0.4);
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  }
  .mobile-callbar a {
    display: block; text-align: center; text-decoration: none; font-weight: 700; font-size: 1.05rem;
    background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
    color: #1a1405; padding: 14px; border-radius: 999px; letter-spacing: 0.02em;
  }
}

/* ---------- Phase 2: language toggle ---------- */
.lang-toggle {
  display: flex; border: 1px solid var(--line-soft); border-radius: 999px; overflow: hidden;
  flex-shrink: 0;
}
.lang-toggle button {
  background: transparent; border: none; color: var(--muted);
  font-family: var(--sans); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 9px 13px; cursor: pointer; transition: background 0.18s, color 0.18s;
}
.lang-toggle button.active { background: rgba(201, 162, 75, 0.18); color: var(--gold-bright); }
.lang-toggle button:not(.active):hover { color: var(--text); }

/* ---------- Phase 2: Book now buttons ---------- */
.btn-book { white-space: nowrap; padding: 11px 22px; }
.btn-nav-book { display: none; }
.hero-cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Phase 2: Our Work gallery ---------- */
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.work-card {
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden; margin: 0;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s, box-shadow 0.25s;
}
.work-card:hover { transform: translateY(-6px); border-color: rgba(201, 162, 75, 0.5); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(201, 162, 75, 0.08); }
.work-ph-wrap { display: grid; grid-template-columns: 1fr 1fr; }
.work-ph {
  height: 190px; display: flex; align-items: flex-end; padding: 12px 14px;
  position: relative; overflow: hidden; object-fit: cover;
}
.work-ph img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.work-ph span {
  position: relative; z-index: 1;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(244, 241, 232, 0.8); background: rgba(8, 8, 10, 0.55);
  padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-soft);
}
.work-before { background: linear-gradient(135deg, #17171b, #222227); border-right: 1px solid var(--line-soft); }
.work-after { background: linear-gradient(135deg, rgba(201, 162, 75, 0.2), rgba(201, 162, 75, 0.04)), #141416; }
div.work-ph::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 42%, rgba(255, 255, 255, 0.05) 50%, transparent 58%);
  background-size: 220% 100%; animation: work-shimmer 5s linear infinite;
}
@keyframes work-shimmer { to { background-position: -220% 0; } }
.work-card figcaption { padding: 18px 22px; color: var(--muted); font-size: 0.9rem; text-align: center; }

/* ---------- Phase 2: Reviews ---------- */
.reviews-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.sample-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 28px 0 34px; }
.review-card {
  position: relative; margin: 0; padding: 26px 22px 20px;
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s;
}
.review-card:hover { transform: translateY(-4px); border-color: rgba(201, 162, 75, 0.5); }
.example-badge {
  position: absolute; top: 14px; right: 14px;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: #141414; background: linear-gradient(135deg, #e8c66a, #c9a24b);
  padding: 4px 10px; border-radius: 999px;
}
.review-card .stars { color: #e8c66a; letter-spacing: 3px; font-size: 1rem; margin: 8px 0 12px; }
.review-card blockquote { margin: 0 0 14px; font-style: italic; color: var(--text); line-height: 1.6; }
.review-card figcaption { display: flex; flex-direction: column; gap: 2px; }
.review-card figcaption strong { font-size: 0.95rem; }
.review-card figcaption span { color: var(--muted); font-size: 0.82rem; }
.btn-outline {
  background: transparent; border: 1px solid rgba(201, 162, 75, 0.5); color: var(--gold-bright);
}
.btn-outline:hover { background: rgba(201, 162, 75, 0.12); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201, 162, 75, 0.18); }

/* ---------- Phase 2: Booking modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4, 4, 6, 0.8);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay[hidden] { display: none; }
.modal {
  position: relative; width: min(880px, 100%); max-height: 88vh;
  display: flex; flex-direction: column;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 60px rgba(201, 162, 75, 0.08);
  overflow: hidden;
}
.modal h3 { padding: 28px 32px 0; color: var(--gold-bright); }
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 1;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.05);
  color: var(--text); font-size: 1.4rem; line-height: 1; cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
}
.modal-close:hover { background: rgba(201, 162, 75, 0.15); border-color: var(--gold); }
.modal-body { padding: 22px 32px 32px; overflow-y: auto; }
.modal-body iframe {
  width: 100%; height: min(68vh, 620px);
  border: none; border-radius: 14px; background: #000; display: block;
}
.booking-soon {
  color: var(--muted); font-size: 1.05rem; text-align: center;
  display: grid; gap: 22px; justify-items: center; padding: 28px 0 12px;
}
body.modal-open { overflow: hidden; }

/* ---------- Phase 2: form status + honeypot ---------- */
.quote-form { position: relative; }
.hp-field {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none;
}
.form-status {
  margin-top: 14px; padding: 13px 16px; border-radius: 12px;
  font-size: 0.92rem; font-weight: 500; text-align: center;
}
.form-status[hidden] { display: none; }
.form-status.success {
  background: rgba(74, 222, 128, 0.09); border: 1px solid rgba(74, 222, 128, 0.35); color: #a7e8c3;
}
.form-status.error {
  background: rgba(248, 113, 113, 0.09); border: 1px solid rgba(248, 113, 113, 0.35); color: #f3b0b0;
}

/* ---------- Phase 2: responsive additions ---------- */
@media (max-width: 760px) {
  .btn-nav-book { display: block; text-align: center; margin-top: 8px; }
  .header-actions .btn-book { display: none; }
  .lang-toggle button { padding: 8px 10px; }
  .btn-nav-auth { display: block; text-align: center; margin-top: 8px; }
  .header-actions .btn-auth { display: none; }
}

/* ---------- Phase 3: customer accounts ---------- */
.btn-ghost {
  background: transparent; border: 1px solid var(--line-soft); color: var(--text);
  white-space: nowrap; padding: 11px 22px;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }
.btn-nav-auth { display: none; }

.modal-narrow { width: min(480px, 100%); }
.modal-narrow .modal-body { padding-top: 18px; }

.auth-tabs {
  display: flex; background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-soft); border-radius: 999px; padding: 4px; margin-bottom: 22px;
}
.auth-tabs button {
  flex: 1; background: transparent; border: none; color: var(--muted);
  font-family: var(--sans); font-weight: 600; font-size: 0.92rem;
  padding: 10px; border-radius: 999px; cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.auth-tabs button.active { background: rgba(201, 162, 75, 0.18); color: var(--gold-bright); }

.auth-form label, .profile-form label {
  display: block; font-size: 0.84rem; font-weight: 600; letter-spacing: 0.03em;
  color: #c9c3b4; margin-bottom: 16px;
}
.auth-form input, .profile-form input, .profile-form select {
  display: block; width: 100%; margin-top: 7px; padding: 13px 15px;
  background: rgba(8, 8, 10, 0.7); border: 1px solid var(--line-soft); border-radius: 12px;
  color: var(--text); font-family: var(--sans); font-size: 0.95rem;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.auth-form input:focus, .profile-form input:focus, .profile-form select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.14);
}
.auth-form .btn, .profile-form .btn { width: 100%; }

.auth-error {
  background: rgba(248, 113, 113, 0.09); border: 1px solid rgba(248, 113, 113, 0.35);
  color: #f3b0b0; padding: 12px 16px; border-radius: 12px;
  font-size: 0.9rem; margin-bottom: 16px;
}
.auth-error[hidden] { display: none; }

.auth-divider {
  display: flex; align-items: center; gap: 12px;
  color: var(--faint); font-size: 0.82rem; margin: 20px 0;
}
.auth-divider::before, .auth-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--line-soft);
}

.google-btn {
  width: 100%; background: #fff; color: #1a1a1a; border: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
}
.google-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15); }
.google-btn:disabled { opacity: 0.6; cursor: default; transform: none; box-shadow: none; }

.auth-soon-body { color: var(--muted); margin-top: 10px; }

.btn-logout { width: 100%; margin-top: 14px; }

/* ============================================================
   Cinematic photo backgrounds — #plans, #reviews, #contact
   Full-bleed photographic backgrounds with a dark cinematic
   scrim so the light black-and-gold theme stays readable.
   Pure CSS — no markup or JS changes.
   ============================================================ */
:is(#plans, #reviews, #contact) {
  position: relative;
  background-size: cover;
  background-position: center;
  border-top: 1px solid rgba(201, 162, 75, 0.25);
  border-bottom: 1px solid rgba(201, 162, 75, 0.25);
}
#plans { background-image: url("assets/bg-plans.jpg"); }
#reviews { background-image: url("assets/bg-reviews.jpg"); }
#contact { background-image: url("assets/bg-contact.jpg"); }
/* dark cinematic scrim over the photo */
:is(#plans, #reviews, #contact)::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 8, 10, 0.8), rgba(8, 8, 10, 0.62) 50%, rgba(8, 8, 10, 0.82));
}
:is(#plans, #reviews, #contact) > .wrap { position: relative; z-index: 1; }

/* lift cards and form off the photo with translucent dark glass */
#plans .plan-card, #reviews .review-card {
  background: rgba(16, 16, 20, 0.82);
  border-color: rgba(201, 162, 75, 0.35);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
#plans .plan-card:hover, #reviews .review-card:hover { border-color: rgba(201, 162, 75, 0.6); }
#contact .quote-form {
  background: rgba(16, 16, 20, 0.86);
  border-color: rgba(201, 162, 75, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
#contact .plan-note {
  background: rgba(16, 16, 20, 0.85); border-color: rgba(201, 162, 75, 0.5);
  color: var(--gold-bright);
}
#contact .plan-note button { color: var(--gold-bright); }
#contact .plan-note button:hover { background: rgba(201, 162, 75, 0.14); }

/* ============================================================
   Visual polish pass — depth, dimensionality, refined rhythm
   (Edwin: "not just functional — beautiful." 3D, tasteful.)
   Pure CSS — no markup, i18n, or JS changes.
   ============================================================ */

/* --- Typography & section rhythm --- */
.section { padding: 112px 0; }
.section h2 { font-size: clamp(2.05rem, 4.4vw, 2.95rem); letter-spacing: -0.025em; margin-bottom: 16px; }
.section-kicker { display: flex; align-items: center; gap: 10px; }
.section-kicker::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px; flex: none;
  background: linear-gradient(90deg, var(--gold), rgba(201, 162, 75, 0));
}
.section-lead { font-size: 1.08rem; line-height: 1.7; margin-bottom: 48px; }

/* --- Hero presence: layered depth on the first impression --- */
.hero h1 {
  letter-spacing: -0.03em;
  text-shadow: 0 3px 34px rgba(0, 0, 0, 0.65), 0 0 90px rgba(201, 162, 75, 0.14);
}
.hero .gold-text { filter: drop-shadow(0 3px 14px rgba(201, 162, 75, 0.3)); }
.hero-sub { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6); }

/* --- Dimensional gold buttons: gradient + inset light + press state --- */
.btn-gold {
  box-shadow: 0 6px 24px rgba(201, 162, 75, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -2px 6px rgba(138, 109, 42, 0.35);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(201, 162, 75, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -2px 6px rgba(138, 109, 42, 0.35);
}
.btn-gold:active {
  transform: translateY(0);
  box-shadow: 0 3px 12px rgba(201, 162, 75, 0.3), inset 0 2px 8px rgba(0, 0, 0, 0.28);
}

/* --- 3D card depth: rich resting shadows, subtle tilt-lift on hover --- */
.service-card, .plan-card { box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35); }
.service-card:hover, .plan-card:hover {
  transform: perspective(1100px) rotateX(1.6deg) translateY(-8px);
  border-color: rgba(201, 162, 75, 0.55);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 46px rgba(201, 162, 75, 0.1);
}
.work-card:hover {
  transform: perspective(1100px) rotateX(1.6deg) translateY(-8px);
  border-color: rgba(201, 162, 75, 0.55);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 46px rgba(201, 162, 75, 0.1);
}
.review-card { box-shadow: 0 12px 34px rgba(0, 0, 0, 0.32); }
.review-card:hover {
  transform: perspective(1100px) rotateX(1.6deg) translateY(-6px);
  border-color: rgba(201, 162, 75, 0.55);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(201, 162, 75, 0.1);
}
.gov-card {
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s, box-shadow 0.25s;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3);
}
.gov-card:hover {
  transform: perspective(1100px) rotateX(1.6deg) translateY(-6px);
  border-color: rgba(201, 162, 75, 0.5);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(201, 162, 75, 0.08);
}

/* --- Gallery polish: crisp images, elegant labels, smooth zoom --- */
.work-ph img { transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.work-card:hover .work-ph img { transform: scale(1.06); }
.work-ph span {
  font-size: 0.72rem; letter-spacing: 0.22em; padding: 6px 14px;
  color: var(--gold-bright); background: rgba(8, 8, 10, 0.62);
  border-color: rgba(201, 162, 75, 0.4);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.work-card figcaption {
  padding: 16px 22px; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-bright);
}

/* --- Premium form inputs: inset depth + gold focus glow --- */
.quote-form input, .quote-form select, .quote-form textarea,
.auth-form input, .profile-form input, .profile-form select {
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus,
.auth-form input:focus, .profile-form input:focus, .profile-form select:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.16), 0 0 28px rgba(201, 162, 75, 0.14);
}
.quote-form label > span, .auth-form label > span, .profile-form label > span {
  font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase;
}

/* --- Trust strip: faint gold sheen for layered depth --- */
.strip {
  background: linear-gradient(180deg, rgba(201, 162, 75, 0.06), transparent 55%), rgba(13, 13, 16, 0.7);
}
.strip-item strong { text-shadow: 0 2px 12px rgba(201, 162, 75, 0.25); }

/* --- Micro-details --- */
::selection { background: rgba(201, 162, 75, 0.4); color: #fff8e7; }
html { scrollbar-width: thin; scrollbar-color: #8a6d2a #0a0a0c; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0a0a0c; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #8a6d2a, #5c4a1e);
  border-radius: 8px; border: 2px solid #0a0a0c;
}
::-webkit-scrollbar-thumb:hover { background: #c9a24b; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.quote-form input:focus-visible, .quote-form select:focus-visible, .quote-form textarea:focus-visible,
.auth-form input:focus-visible, .profile-form input:focus-visible, .profile-form select:focus-visible,
.search-bar input:focus-visible { outline: none; }

/* --- Mobile polish (390px) --- */
@media (max-width: 760px) {
  .section { padding: 84px 0; }
  .section-lead { margin-bottom: 36px; }
  .hero-cta .btn { width: 100%; text-align: center; }
  .services-grid, .plans-grid, .work-grid, .sample-reviews, .gov-grid { gap: 16px; }
  .service-card, .plan-card { padding: 28px 24px; }
  .quote-form { padding: 28px 22px; }
}

/* --- Respect reduced motion: no tilt/zoom/press transforms --- */
@media (prefers-reduced-motion: reduce) {
  .service-card:hover, .plan-card:hover, .work-card:hover,
  .review-card:hover, .gov-card:hover { transform: none; }
  .work-card:hover .work-ph img { transform: none; }
  .btn-gold:hover, .btn-gold:active { transform: none; }
}

/* ---------- AI chat: custom gold-circle launcher (widget's own launcher hidden via JS) ---------- */
elevenlabs-convai {
  --elevenlabs-convai-widget-width: 380px;
  --elevenlabs-convai-widget-height: 600px;
}
.chat-launcher {
  position: fixed; right: 22px; bottom: 22px; z-index: 9000;
  width: 62px; height: 62px; border-radius: 50%; cursor: pointer; padding: 5px;
  background: radial-gradient(circle at 32% 30%, #e8c66a, #8a6d2a 78%);
  border: 2px solid rgba(232, 198, 106, 0.85);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), 0 0 26px rgba(201, 162, 75, 0.35);
  transition: transform 0.2s ease;
}
.chat-launcher:hover { transform: scale(1.08); }
.chat-launcher:active { transform: scale(0.96); }
.chat-launcher img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.chat-launcher.hidden { display: none; }
.chat-launcher-x {
  display: none; width: 100%; height: 100%; border-radius: 50%;
  align-items: center; justify-content: center;
  font-size: 26px; line-height: 1; color: #1a1408; font-weight: 700;
}
/* When the chat panel is open, the gold circle becomes an X close button
   floating just above the panel (no overlap with panel controls). */
.chat-launcher.is-open { bottom: 624px; right: 24px; width: 48px; height: 48px; z-index: 10001; }
.chat-launcher.is-open img { display: none; }
.chat-launcher.is-open .chat-launcher-x { display: flex; }
.chat-launcher.is-open::after { display: none; }
.chat-launcher::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  border: 2px solid rgba(232, 198, 106, 0.55);
  animation: chatPulse 2.6s ease-out infinite; pointer-events: none;
}
@keyframes chatPulse {
  0% { transform: scale(1); opacity: 0.8; }
  70% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}
@media (max-width: 768px) {
  .chat-launcher { right: 16px; bottom: 88px; width: 56px; height: 56px; }
  .chat-launcher.is-open { top: 76px; bottom: auto; right: 16px; width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .chat-launcher::after { animation: none; }
}
