/* =============================================================
   Lexiar Homes — Child Theme Custom CSS
   Ports the static-preview design system into WordPress so
   Elementor widgets can use these tokens / classes verbatim.
   Source of truth: static-preview/assets/css/main.css
   ============================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  --bg-0: #0a0a0a;
  --bg-1: #111111;
  --bg-2: #181818;
  --bg-3: #1f1f1f;
  --line: rgba(201, 169, 97, 0.18);
  --line-soft: rgba(255, 255, 255, 0.08);

  --ink: #f5f0e8;
  --ink-soft: #b8b0a5;
  --ink-muted: #6e6860;

  --gold: #c9a961;
  --gold-light: #e0c896;
  --gold-dark: #9c8245;

  --serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1280px;
  --container-narrow: 920px;
  --gutter: clamp(20px, 4vw, 48px);

  --transition: 280ms cubic-bezier(0.22, 0.61, 0.36, 1);
  --transition-slow: 600ms cubic-bezier(0.22, 0.61, 0.36, 1);

  --header-h: 88px;
}

/* ---------- 2. Base ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg-0);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 0.6em;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 300; }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }

h1 em, h1 strong,
h2 em, h2 strong,
h3 em, h3 strong {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

/* Eyebrow — gold uppercase + 32px leading line */
.lx-eyebrow,
.lx-eyebrow > * {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.lx-eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 12px;
  margin-bottom: 3px;
}

/* Lead paragraph — serif italic light */
.lx-lead,
.lx-lead p {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.45;
  font-weight: 300;
  color: var(--ink-soft);
}

/* ---------- 4. Triangle accent ---------- */
.lx-triangle {
  width: 22px;
  height: 22px;
  margin-bottom: 18px;
  background-color: var(--gold);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><polygon points='50,10 90,90 10,90'/></svg>") no-repeat center / contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><polygon points='50,10 90,90 10,90'/></svg>") no-repeat center / contain;
}
.lx-triangle--center { margin-left: auto; margin-right: auto; }

/* ---------- 5. Buttons (Elementor button + custom) ---------- */
.lx-btn,
.elementor-button.lx-btn,
a.lx-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  border-radius: 0;
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  z-index: 1;
}
.lx-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform var(--transition);
  z-index: -1;
}
.lx-btn:hover { color: var(--bg-0); background: transparent; }
.lx-btn:hover::before { transform: translateX(0); }
.lx-btn:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }

.lx-btn--solid { background: var(--gold); color: var(--bg-0); }
.lx-btn--solid::before { background: var(--gold-light); }
.lx-btn--solid:hover { color: var(--bg-0); }

.lx-btn--ghost {
  border-color: rgba(245, 240, 232, 0.3);
  color: var(--ink);
}
.lx-btn--ghost::before { background: var(--ink); }
.lx-btn--ghost:hover { color: var(--bg-0); }

.lx-btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: gap var(--transition), color var(--transition);
}
.lx-btn-arrow::after {
  content: "→";
  transition: transform var(--transition);
}
.lx-btn-arrow:hover { gap: 16px; color: var(--gold-light); }

/* ---------- 6. Theme-Builder header (sticky blur, nav underline) ---------- */
/* Apply class `lx-header` to the Elementor Theme-Builder header container. */
.lx-header {
  background: rgba(10, 10, 10, 0);
  transition: background var(--transition), border-color var(--transition), height var(--transition);
  border-bottom: 1px solid transparent;
  flex-wrap: nowrap !important;
}
@media (max-width: 980px) {
  .lx-header {
    gap: 16px !important;
  }
  /* On mobile the logo wordmark/tagline can crowd the toggle. Keep both on one row */
  .lx-header > .e-con-inner,
  .lx-header .elementor-container {
    flex-wrap: nowrap !important;
  }
  .lx-header .elementor-menu-toggle {
    margin-left: auto;
    flex-shrink: 0;
  }
}
.lx-header.lx-is-scrolled,
.elementor-sticky--effects.lx-header {
  background: rgba(10, 10, 10, 0.92);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}

/* Logo mark — 44×44 gold square with serif "L" */
.lx-logo-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  flex-shrink: 0;
}
.lx-logo-mark::before {
  content: "L";
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--gold);
  line-height: 1;
}
.lx-logo-mark--lg { width: 56px; height: 56px; }
.lx-logo-mark--lg::before { font-size: 1.75rem; }

/* Nav underline animation + active state */
.lx-header .elementor-nav-menu > li > a,
.lx-header .elementor-nav-menu .menu-item > a {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: 4px 0 8px;
  transition: color var(--transition);
}
.lx-header .elementor-nav-menu > li > a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.lx-header .elementor-nav-menu > li > a:hover,
.lx-header .elementor-nav-menu .current-menu-item > a,
.lx-header .elementor-nav-menu .current_page_item > a {
  color: var(--gold);
}
.lx-header .elementor-nav-menu > li > a:hover::after,
.lx-header .elementor-nav-menu .current-menu-item > a::after,
.lx-header .elementor-nav-menu .current_page_item > a::after {
  transform: scaleX(1);
}

/* Nav CTA button (last menu item with class nav-cta) */
.lx-header .elementor-nav-menu .nav-cta > a {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px !important;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.18em !important;
  margin-left: 12px;
  transition: all var(--transition);
}
.lx-header .elementor-nav-menu .nav-cta > a:hover {
  background: var(--gold);
  color: var(--bg-0) !important;
}
.lx-header .elementor-nav-menu .nav-cta > a::after { display: none !important; }

/* ---------- 7. Mobile slide-in nav (overrides Elementor default) ---------- */
@media (max-width: 980px) {
  .lx-header .elementor-nav-menu--dropdown {
    position: fixed !important;
    inset: var(--header-h) 0 0 0 !important;
    background: var(--bg-0) !important;
    padding: 40px var(--gutter) !important;
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
  }
  .lx-header .elementor-menu-toggle[aria-expanded="true"] ~ .elementor-nav-menu--dropdown,
  .lx-header .elementor-nav-menu--dropdown.elementor-active {
    transform: translateX(0);
  }
  .lx-header .elementor-nav-menu--dropdown .menu-item { border-bottom: 1px solid var(--line-soft); }
  .lx-header .elementor-nav-menu--dropdown .menu-item > a {
    padding: 18px 0 !important;
    font-size: 0.95rem !important;
    color: var(--ink) !important;
  }
  .lx-header .elementor-nav-menu .nav-cta > a {
    margin: 24px 0 0 !important;
    align-self: flex-start;
  }
}

/* ---------- 8. Page hero ---------- */
.lx-page-hero {
  padding: calc(var(--header-h) + 80px) 0 90px;
  background: linear-gradient(135deg, #0a0a0a 0%, #15110b 100%);
  text-align: center;
  border-bottom: 1px solid var(--line-soft);
}
.lx-page-hero h1 { margin-bottom: 0.5rem; white-space: pre-line; }
.lx-breadcrumb {
  font-family: var(--sans);
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}
.lx-breadcrumb a { color: var(--ink-soft); }
.lx-breadcrumb a:hover { color: var(--gold); }

/* ---------- 9. Homepage hero (full-vh) ---------- */
.lx-hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + 60px) 0 80px;
  overflow: hidden;
}
.lx-hero h1 { white-space: pre-line; margin-bottom: 1.5rem; }
.lx-hero__pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image:
    linear-gradient(var(--gold) 1px, transparent 1px),
    linear-gradient(90deg, var(--gold) 1px, transparent 1px);
  background-size: 80px 80px;
}
.lx-hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(201,169,97,0.08), transparent 60%),
    linear-gradient(to bottom, rgba(10,10,10,0.4), rgba(10,10,10,0.85));
}
.lx-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  z-index: 2;
}
.lx-hero__scroll::after {
  content: "";
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: lxScrollLine 2.4s ease-in-out infinite;
}
@keyframes lxScrollLine {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50%      { transform: scaleY(0.4); transform-origin: top; }
}

/* ---------- 10. Split section (text + image with gold offset frame) ---------- */
/* Apply `.lx-split__media` to the Elementor image column. */
.lx-split__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-2);
  overflow: hidden;
}
.lx-split__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.lx-split__media:hover img { transform: scale(1.04); }
.lx-split__media::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  transform: translate(20px, 20px);
  pointer-events: none;
}

/* ---------- 11. Value grid (6 cards with 1px gold-soft dividers) ---------- */
.lx-value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
@media (max-width: 900px) { .lx-value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .lx-value-grid { grid-template-columns: 1fr; } }
.lx-value-card {
  background: var(--bg-0);
  padding: clamp(28px, 4vw, 44px);
  transition: background var(--transition);
}
.lx-value-card:hover { background: var(--bg-1); }
.lx-value-card__num {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  display: block;
}
.lx-value-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.lx-value-card p { color: var(--ink-soft); }

/* ---------- 12. Project grid + card ---------- */
.lx-project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
@media (max-width: 700px) { .lx-project-grid { grid-template-columns: 1fr; } }

.lx-project-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  background: var(--bg-2);
}
.lx-project-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.lx-project-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.lx-project-card:hover .lx-project-card__media img { transform: scale(1.06); }
.lx-project-card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.7) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}
.lx-project-card:hover .lx-project-card__media::after { opacity: 1; }
.lx-project-card__body {
  padding: 24px 0 8px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.lx-project-card__title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin: 0 0 4px;
  letter-spacing: 0.01em;
  color: var(--ink);
  transition: color var(--transition);
}
.lx-project-card:hover .lx-project-card__title { color: var(--gold); }
.lx-project-card__loc {
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.lx-project-card__view {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.lx-project-card__view::after { content: " →"; transition: margin-left var(--transition); }
.lx-project-card:hover .lx-project-card__view::after { margin-left: 4px; }

/* ---------- 13. Project stat strip (4 columns, gold serif values) ---------- */
.lx-project-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin: 2.5rem 0;
}
@media (max-width: 700px) { .lx-project-stats { grid-template-columns: repeat(2, 1fr); } }
.lx-project-stats > div {
  background: var(--bg-1);
  padding: 28px 20px;
  text-align: center;
}
.lx-project-stats .label {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 8px;
}
.lx-project-stats .value {
  font-family: var(--serif);
  font-size: 1.65rem;
  color: var(--gold);
}

/* ---------- 14. Process steps ---------- */
.lx-process-step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: clamp(20px, 4vw, 60px);
  padding: 40px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: start;
}
.lx-process-step:last-child { border-bottom: 0; }
.lx-process-step__num {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.lx-process-step h3 { margin-bottom: 0.75rem; font-size: 1.75rem; }
.lx-process-step p { color: var(--ink-soft); max-width: 60ch; }
@media (max-width: 700px) {
  .lx-process-step { grid-template-columns: 1fr; gap: 12px; }
  .lx-process-step__num { font-size: 2.25rem; }
}

/* ---------- 15. Differentiator card (process page) ---------- */
.lx-diff-card {
  text-align: center;
  padding: 32px 24px;
  border: 1px solid var(--line-soft);
  background: var(--bg-1);
}
.lx-diff-card .lx-triangle { margin-left: auto; margin-right: auto; }
.lx-diff-card h3 { font-size: 1.4rem; }
.lx-diff-card p { color: var(--ink-soft); }

/* ---------- 16. Testimonials ---------- */
.lx-testimonial-card {
  padding: 36px 28px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  text-align: left;
}
.lx-testimonial-card .lx-quote-mark {
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 0.6;
  color: var(--gold);
  margin-bottom: 0.5rem;
  display: inline-block;
}
.lx-testimonial-card blockquote {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 1.5rem;
}
.lx-testimonial-card cite {
  font-style: normal;
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}
.lx-testimonial-card cite span {
  color: var(--ink-muted);
  display: block;
  margin-top: 4px;
  letter-spacing: 0.1em;
}

/* Testimonials section background (gold radial glow + dark) */
.lx-testimonials-bg {
  background:
    linear-gradient(rgba(10,10,10,0.92), rgba(10,10,10,0.92)),
    radial-gradient(ellipse at top, rgba(201,169,97,0.1), transparent 70%);
}

/* ---------- 17. FAQ — Elementor Toggle restyled to match <details> ---------- */
/* Apply `lx-faq` class to the Elementor Toggle widget wrapper. */
.lx-faq .elementor-toggle .elementor-toggle-item {
  border: 0;
  border-bottom: 1px solid var(--line-soft) !important;
}
.lx-faq .elementor-tab-title {
  padding: 28px 0 !important;
  background: transparent !important;
  border: 0 !important;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  color: var(--ink) !important;
  letter-spacing: 0;
  transition: color var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}
.lx-faq .elementor-tab-title:hover { color: var(--gold) !important; }
.lx-faq .elementor-tab-title.elementor-active { color: var(--gold) !important; }
.lx-faq .elementor-tab-title .elementor-toggle-icon {
  position: relative;
  width: 28px !important;
  height: 28px !important;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-left: auto;
  transition: transform var(--transition);
}
.lx-faq .elementor-tab-title .elementor-toggle-icon i,
.lx-faq .elementor-tab-title .elementor-toggle-icon svg {
  display: none !important;
}
.lx-faq .elementor-tab-title .elementor-toggle-icon::before {
  content: "+";
  color: var(--gold);
  font-size: 1rem;
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1;
}
.lx-faq .elementor-tab-title.elementor-active .elementor-toggle-icon::before {
  content: "−";
}
.lx-faq .elementor-tab-title.elementor-active .elementor-toggle-icon {
  transform: rotate(180deg);
}
.lx-faq .elementor-tab-content {
  padding: 0 0 28px !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 70ch;
}

/* ---------- 18. Contact strip + form ---------- */
.lx-contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
@media (max-width: 700px) { .lx-contact-strip { grid-template-columns: 1fr; } }
.lx-contact-strip > div {
  background: var(--bg-1);
  padding: 36px 28px;
  text-align: center;
}
.lx-contact-strip .label {
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 12px;
}
.lx-contact-strip .value {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ink);
}
.lx-contact-strip a { color: var(--ink); }
.lx-contact-strip a:hover { color: var(--gold); }

/* Elementor Form restyle */
.lx-contact-form .elementor-field-group label,
.lx-contact-form .elementor-field-label {
  font-size: 0.75rem !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--ink-soft) !important;
  margin-bottom: 8px !important;
}
.lx-contact-form input,
.lx-contact-form textarea,
.lx-contact-form select,
.lx-contact-form .elementor-field {
  padding: 14px 16px !important;
  background: transparent !important;
  color: var(--ink) !important;
  border: 1px solid var(--line-soft) !important;
  border-radius: 0 !important;
  font-size: 1rem !important;
  font-family: var(--sans) !important;
  transition: border-color var(--transition), background var(--transition);
}
.lx-contact-form input:focus,
.lx-contact-form textarea:focus,
.lx-contact-form select:focus {
  outline: 0 !important;
  border-color: var(--gold) !important;
  background: rgba(201,169,97,0.04) !important;
}

/* Dropdown options inherit OS rendering — force readable contrast on the dark theme */
.lx-contact-form select option,
.lx-contact-form .elementor-field-type-select option,
.lx-contact-form select optgroup {
  color: #f5f0e8 !important;
  background-color: #181818 !important;
  padding: 8px 12px !important;
}
.lx-contact-form select option:checked,
.lx-contact-form select option:hover {
  background-color: #c9a961 !important;
  color: #0a0a0a !important;
}
/* Placeholder option (first one) — slightly muted */
.lx-contact-form select option:first-child {
  color: #b8b0a5 !important;
}
/* Hide native dropdown arrow + paint our own gold chevron (force across all engines) */
.lx-contact-form select,
.lx-contact-form .elementor-field-type-select select,
.lx-contact-form select.elementor-field-textual {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%23c9a961' d='M4 6l4 4 4-4'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 14px 14px !important;
  padding-right: 40px !important;
  color-scheme: dark !important;
}
/* IE/Edge legacy arrow */
.lx-contact-form select::-ms-expand {
  display: none !important;
}
/* Elementor adds its OWN chevron via .elementor-select-wrapper::before — kill it so we only see our gold SVG */
.lx-contact-form .elementor-select-wrapper::before,
.lx-contact-form .elementor-select-wrapper::after,
.elementor-form .elementor-select-wrapper::before,
.elementor-form .elementor-select-wrapper::after {
  display: none !important;
  content: none !important;
}
/* Elementor ALSO renders a separate <div class="select-caret-down-wrapper"> containing an SVG caret next
   to the <select>. Hide it so only our gold SVG (set via background-image on the select) shows. */
.lx-contact-form .select-caret-down-wrapper,
.elementor-form .select-caret-down-wrapper {
  display: none !important;
}
.lx-contact-form textarea { min-height: 140px; resize: vertical; }

/* ---------- 19. CTA banner ---------- */
.lx-cta-banner {
  background: linear-gradient(135deg, #1a1410 0%, #0a0a0a 100%);
  padding: clamp(60px, 9vw, 110px) 0;
  text-align: center;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}
.lx-cta-banner::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,169,97,0.12), transparent 70%);
  top: -300px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.lx-cta-banner h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  position: relative;
}
.lx-cta-banner p {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  color: var(--ink-soft);
  font-size: 1.125rem;
  position: relative;
}

/* ---------- 20. Footer (Theme-Builder footer container = .lx-footer) ---------- */
.lx-footer {
  background: #050505;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-soft);
}
.lx-footer h4 {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.lx-footer ul { list-style: none; padding: 0; margin: 0; }
.lx-footer li { margin-bottom: 12px; }
.lx-footer a {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  text-decoration: none;
}
.lx-footer a:hover { color: var(--gold); }
/* Tighten line-height on Elementor footer nav menu (was inheriting body 1.65) */
.lx-footer .elementor-nav-menu li { margin-bottom: 12px; }
.lx-footer .elementor-nav-menu li a {
  line-height: 1.3 !important;
  padding: 0 !important;
}
.lx-footer-bar {
  border-top: 1px solid var(--line-soft);
  padding: 28px 0;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}
.lx-footer-bar a { color: var(--ink-muted); }
.lx-footer-bar a:hover { color: var(--gold); }

/* ---------- 21. Reveal on scroll ---------- */
.lx-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(0.22,0.61,0.36,1);
}
.lx-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 22. Service feature list (gold arrows + 1px dividers) ---------- */
.lx-feature-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.lx-feature-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
}
.lx-feature-list li:last-child { border-bottom: 0; }
.lx-feature-list li::before {
  content: "→";
  color: var(--gold);
  margin-right: 10px;
}

/* ---------- 23. Section header (centered triangle + eyebrow + h2 + p) ---------- */
.lx-section-header {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}
.lx-section-header h2 { margin: 0 0 1rem !important; }
.lx-section-header p {
  color: var(--ink-soft);
  font-size: 1.125rem;
  margin: 0 auto !important;
  max-width: 560px;
}

/* ---------- 23b. Native <details> FAQ toggle ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  color: var(--ink);
  transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1;
  transition: transform var(--transition);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { color: var(--gold); }
.faq-item .faq-answer {
  padding: 0 0 28px;
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 70ch;
}

/* ---------- 24. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .lx-reveal { opacity: 1; transform: none; }
}

/* ---------- 25. Elementor container + breakpoint alignment ---------- */
.elementor-section.elementor-section-boxed > .elementor-container,
.e-con.e-con-boxed > .e-con-inner {
  max-width: var(--container);
}
.lx-container-narrow > .e-con-inner,
.lx-container-narrow > .elementor-container {
  max-width: var(--container-narrow) !important;
}

/* ============================================================
   CUSTOM WIDGETS — additional class rules the widget render() output relies on
   ============================================================ */

/* Eyebrow centering helper */
.lx-eyebrow--center { display: block; text-align: center; }

/* Triangle centering helper */
.lx-triangle--center { margin-left: auto; margin-right: auto; }

/* Hero widget */
.lx-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 208px clamp(20px, 4vw, 48px) 80px;
  overflow: hidden;
}
.lx-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.lx-hero__pattern,
.lx-hero__container,
.lx-hero__content,
.lx-hero__actions,
.lx-hero__scroll { position: relative; z-index: 1; }
.lx-hero__container {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
}
.lx-hero__content { max-width: 760px; }
.lx-hero h1 { margin: 0 0 1.5rem; white-space: pre-line; }
.lx-hero .lx-lead {
  margin: 0 0 2.5rem;
  max-width: 560px;
  font-style: italic;
}
.lx-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .lx-hero { padding: 120px 20px 60px; }
}

/* Page hero widget */
.lx-page-hero {
  padding: 168px clamp(20px, 4vw, 48px) 90px;
  background: linear-gradient(135deg, #0a0a0a 0%, #15110b 100%);
  text-align: center;
  border-bottom: 1px solid var(--line-soft);
}
.lx-page-hero__container {
  max-width: var(--container);
  margin: 0 auto;
}
.lx-page-hero h1 {
  margin: 0.5rem 0;
  white-space: pre-line;
}
.lx-page-hero .lx-lead {
  max-width: 680px;
  margin: 1rem auto 0;
}
.lx-breadcrumb {
  font-family: var(--sans);
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}
.lx-breadcrumb a { color: var(--ink-soft); }
.lx-breadcrumb a:hover { color: var(--gold); }
@media (max-width: 768px) {
  .lx-page-hero { padding: 140px 20px 60px; }
}

/* Split widget (text + image) */
.lx-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.lx-split--reverse { direction: rtl; }
.lx-split--reverse > * { direction: ltr; }
@media (max-width: 900px) {
  .lx-split { grid-template-columns: 1fr; }
  .lx-split--reverse { direction: ltr; }
}
.lx-split__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-2);
  overflow: hidden;
}
.lx-split__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.lx-split__media:hover img { transform: scale(1.04); }
.lx-split__media::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  transform: translate(20px, 20px);
  pointer-events: none;
}
.lx-split__body p { margin-bottom: 1.2em; }
.lx-split__body blockquote {
  border-left: 2px solid var(--gold);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--ink);
}

/* Project grid + card placeholder */
.lx-project-card__placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a1410, #0a0a0a);
  display: grid;
  place-items: center;
}
.lx-project-card__placeholder .lx-triangle {
  opacity: 0.4;
  margin: 0;
}
.lx-project-grid__viewall {
  text-align: center;
  margin-top: 64px;
}

/* Process list */
.lx-process-list {
  display: grid;
  gap: 0;
  max-width: var(--container-narrow);
  margin: 0 auto;
}
.lx-process-step h3 {
  margin-bottom: 0.75rem;
  font-size: 1.75rem;
  font-family: var(--serif);
  font-weight: 400;
}

/* Testimonial grid */
.lx-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .lx-testimonial-grid { grid-template-columns: 1fr; } }

/* Diff grid */
.lx-diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
@media (max-width: 900px) { .lx-diff-grid { grid-template-columns: 1fr; } }

/* CTA banner widget */
.lx-cta-banner {
  background: linear-gradient(135deg, #1a1410 0%, #0a0a0a 100%);
  padding: clamp(60px, 9vw, 110px) 0;
  text-align: center;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}
.lx-cta-banner::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,169,97,0.12), transparent 70%);
  top: -300px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.lx-cta-banner__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.lx-cta-banner h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: 0 0 1.5rem;
}
.lx-cta-banner p {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery-grid a {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-2);
  position: relative;
}
.gallery-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}
.gallery-grid a:hover img { transform: scale(1.06); }
@media (max-width: 800px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .gallery-grid { grid-template-columns: 1fr; } }

/* Skip link for keyboard a11y (Hello Elementor ships one but ensure styling) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--bg-0);
  padding: 12px 20px;
  z-index: 999;
}
.skip-link:focus { left: 16px; top: 16px; }
