
:root {
  --ie-bg: #090909;
  --ie-bg-soft: #111111;
  --ie-text: #f5f1e8;
  --ie-muted: rgba(245, 241, 232, 0.70);
  --ie-dim: rgba(245, 241, 232, 0.50);
  --ie-gold: #c9a24a;
  --ie-gold-light: #f2d27a;
  --ie-line: rgba(201, 162, 74, 0.18);
  --ie-line-strong: rgba(201, 162, 74, 0.44);
  --ie-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --ie-title: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ie-body: Aptos, "Segoe UI", Arial, sans-serif;
  --header-height: 104px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
  margin: 0;
  min-height: 100vh;
  padding-top: var(--header-height);
  color: var(--ie-text);
  background:
    radial-gradient(circle at 12% 0%, rgba(201,162,74,.09), transparent 31rem),
    radial-gradient(circle at 88% 14%, rgba(242,210,122,.05), transparent 28rem),
    var(--ie-bg);
  font-family: var(--ie-body);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 9999; }
.nav-container {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem clamp(1.25rem,4vw,4.5rem);
  background: rgba(10,10,10,.92);
  border-bottom: 1px solid rgba(201,162,74,.14);
  backdrop-filter: blur(16px);
  transition: height .3s ease, background .3s ease, box-shadow .3s ease;
}
.nav-container.is-scrolled { height: 84px; background: rgba(10,10,10,.97); box-shadow: 0 12px 35px rgba(0,0,0,.38); }
.logo-link { display: inline-flex; align-items: center; position: relative; z-index: 10002; }
.site-logo { height: 72px; width: auto; object-fit: contain; transition: height .3s ease; }
.nav-container.is-scrolled .site-logo { height: 58px; }
.nav-links { display: flex; align-items: center; justify-content: flex-end; gap: clamp(1rem,2vw,2rem); }
.nav-links a { color: rgba(245,241,232,.84); font-size: .94rem; letter-spacing: .05em; white-space: nowrap; transition: color .25s ease, transform .25s ease; }
.nav-links a:hover { color: var(--ie-gold-light); transform: translateY(-1px); }
.nav-button {
  padding: .78rem 1.12rem;
  border: 1px solid rgba(201,162,74,.65);
  border-radius: 999px;
  color: #0a0a0a !important;
  background: linear-gradient(90deg,#8c6a2f 0%,#c9a24a 24%,#f2d27a 50%,#c9a24a 76%,#8c6a2f 100%);
  font-weight: 700;
  box-shadow: 0 12px 34px rgba(201,162,74,.18);
}
.nav-toggle { display: none; }
.hamburger { display: none; width: 34px; height: 24px; flex-direction: column; justify-content: space-between; position: relative; z-index: 10002; }
.hamburger span { display: block; height: 3px; width: 100%; background: var(--ie-gold); border-radius: 999px; transition: transform .3s ease, opacity .3s ease; }

.lead-page {
  min-height: calc(100vh - var(--header-height));
  padding: clamp(4rem,8vw,7rem) clamp(1rem,5vw,5rem) clamp(5.5rem,9vw,8rem);
  background:
    radial-gradient(circle at 18% 0%, rgba(201,162,74,.09), transparent 31rem),
    linear-gradient(180deg,#090909 0%,#0d0d0d 48%,#080808 100%);
}
.lead-wrap { width: min(100%, 1180px); margin: 0 auto; }
.lead-wrap.narrow { width: min(100%, 860px); }
.lead-header { max-width: 900px; margin-bottom: clamp(2.4rem,5vw,4rem); }
.eyebrow { display: block; margin-bottom: .85rem; color: var(--ie-gold-light); font-size: .73rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.lead-header h1 {
  margin: 0 0 1.15rem;
  max-width: 880px;
  font-family: var(--ie-title);
  font-size: clamp(3rem,7vw,6.35rem);
  line-height: 1.01;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.lead-header .intro { max-width: 760px; margin: 0; color: rgba(245,241,232,.78); font-size: clamp(1.04rem,1.55vw,1.22rem); line-height: 1.75; }
.context-chip { display: none; width: fit-content; margin-top: 1.1rem; padding: .55rem .85rem; border: 1px solid rgba(201,162,74,.28); border-radius: 999px; color: var(--ie-gold-light); background: rgba(201,162,74,.07); font-size: .82rem; font-weight: 700; }
.context-chip.is-visible { display: inline-flex; }

.form-card, .slot-card, .submit-card, .success-state {
  position: relative;
  border: 1px solid rgba(201,162,74,.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 0 0, rgba(201,162,74,.10), transparent 22rem),
    linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.022));
  box-shadow: var(--ie-shadow);
  backdrop-filter: blur(12px);
}
.form-card { padding: clamp(1.35rem,3vw,2.35rem); overflow: hidden; }
.form-card::before { content:""; position:absolute; inset:0 auto 0 0; width:4px; background:linear-gradient(180deg,rgba(242,210,122,.9),rgba(201,162,74,.2)); opacity:.8; }
.form-section { position: relative; z-index: 1; padding-bottom: clamp(1.35rem,2.3vw,1.9rem); margin-bottom: clamp(1.35rem,2.3vw,1.9rem); border-bottom: 1px solid rgba(201,162,74,.14); }
.form-section:last-child { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
.section-label { display:block; margin-bottom:.55rem; color:var(--ie-gold-light); font-size:.68rem; font-weight:900; letter-spacing:.22em; text-transform:uppercase; }
.form-section h2, .slot-card h2 { margin: 0 0 .85rem; font-family: var(--ie-title); font-size: clamp(1.65rem,3vw,2.55rem); line-height:1.08; letter-spacing:-.026em; }
.section-help, .slot-card > p { margin: -.25rem 0 1.1rem; color: var(--ie-muted); font-size: .96rem; }
.field-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.field { min-width:0; }
.field.full { grid-column:1/-1; }
.field label { display:block; margin-bottom:.5rem; color:rgba(245,241,232,.78); font-size:.9rem; font-weight:700; }
.required { color:var(--ie-gold-light); }
.field input, .field select, .field textarea {
  width:100%;
  padding:1rem 1.08rem;
  border:1px solid rgba(201,162,74,.18);
  border-radius:14px;
  background:rgba(10,10,10,.38);
  color:var(--ie-text);
  font-size:1rem;
  transition:border-color .25s ease,box-shadow .25s ease,background .25s ease;
}
.field select { appearance:none; background-image:linear-gradient(45deg,transparent 50%,rgba(201,162,74,.8) 50%),linear-gradient(135deg,rgba(201,162,74,.8) 50%,transparent 50%); background-position:calc(100% - 18px) calc(50% - 3px),calc(100% - 12px) calc(50% - 3px); background-size:6px 6px; background-repeat:no-repeat; padding-right:2.5rem; }
.field textarea { min-height:145px; resize:vertical; }
.field input::placeholder, .field textarea::placeholder { color:rgba(245,241,232,.34); }
.field input:focus, .field select:focus, .field textarea:focus { outline:none; border-color:rgba(242,210,122,.58); background:rgba(10,10,10,.48); box-shadow:0 0 0 3px rgba(201,162,74,.10); }

.option-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; }
.option-grid.single { grid-template-columns:1fr; }
.option { position:relative; }
.option input { position:absolute; opacity:0; pointer-events:none; }
.option label { min-height:62px; display:flex; align-items:center; gap:.8rem; padding:.9rem 1rem; border:1px solid rgba(201,162,74,.18); border-radius:16px; background:rgba(10,10,10,.28); color:rgba(245,241,232,.78); font-size:.94rem; line-height:1.35; cursor:pointer; transition:transform .25s ease,border-color .25s ease,background .25s ease,color .25s ease; }
.option label:hover { transform:translateY(-2px); border-color:rgba(201,162,74,.48); color:#fff; background:rgba(201,162,74,.08); }
.option-dot { width:17px; height:17px; flex:0 0 auto; border-radius:999px; border:1px solid rgba(242,210,122,.45); display:grid; place-items:center; }
.option-dot::after { content:""; width:7px; height:7px; border-radius:999px; background:var(--ie-gold-light); opacity:0; }
.option input:checked + label { border-color:rgba(242,210,122,.78); color:var(--ie-text); background:rgba(201,162,74,.08); }
.option input:checked + label .option-dot::after { opacity:1; }

.booking-layout { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(330px,.72fr); gap:1.3rem; align-items:start; }
.slot-card { position:relative; top:auto; align-self:start; padding:clamp(1.35rem,2.6vw,2rem); }
.slot-summary { margin:1rem 0 0; padding:.9rem 1rem; border:1px solid rgba(201,162,74,.17); border-radius:13px; color:var(--ie-muted); background:rgba(201,162,74,.055); font-size:.9rem; line-height:1.55; }
.slot-loader, .slot-empty { margin-top:1.15rem; padding:1rem; border-radius:12px; background:rgba(255,255,255,.035); color:var(--ie-muted); font-size:.94rem; }
.slot-days { display:grid; gap:.9rem; margin-top:1.1rem; max-height:600px; overflow:auto; padding-right:.25rem; }
.slot-day { padding:.9rem; border:1px solid rgba(201,162,74,.14); border-radius:14px; background:rgba(10,10,10,.38); }
.slot-day-head { display:flex; justify-content:space-between; gap:1rem; align-items:baseline; margin-bottom:.7rem; color:var(--ie-gold-light); font-size:.75rem; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.slot-day-count { color:var(--ie-dim); white-space:nowrap; }
.slot-buttons { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.6rem; }
.slot-button { min-height:42px; padding:.7rem .75rem; border:1px solid rgba(201,162,74,.27); border-radius:999px; background:transparent; color:rgba(245,241,232,.82); font-size:.9rem; font-weight:800; transition:transform .2s ease,border-color .2s ease,color .2s ease,background .2s ease; }
.slot-button:hover { transform:translateY(-2px); border-color:rgba(201,162,74,.62); color:var(--ie-gold-light); }
.slot-button.is-selected { color:#070707; border-color:transparent; background:linear-gradient(90deg,#c9a96e,#e8c88a,#b8860b); box-shadow:0 10px 28px rgba(201,169,110,.23); }
.selected-slot { display:none; margin-top:1rem; padding:.9rem 1rem; border:1px solid rgba(201,162,74,.30); border-radius:12px; color:var(--ie-muted); background:rgba(201,162,74,.08); }
.selected-slot.is-visible { display:block; }
.selected-slot strong { color:var(--ie-gold-light); }

.submit-card { grid-column:1/-1; padding:clamp(1.25rem,2.5vw,1.8rem); }
.submit-row { display:flex; flex-wrap:wrap; align-items:center; gap:1rem; }
.consent { display:grid; grid-template-columns:auto 1fr; gap:.75rem; align-items:start; width:100%; margin-bottom:1.15rem; color:var(--ie-muted); font-size:.9rem; }
.consent input { width:18px; height:18px; margin-top:.2rem; accent-color:var(--ie-gold); }
.primary-button {
  min-height:60px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:1rem 1.7rem;
  border:0;
  border-radius:999px;
  color:#0d0d0d;
  background:linear-gradient(90deg,#c9a96e 0%,#e8c88a 52%,#b8860b 100%);
  box-shadow:0 12px 30px rgba(201,169,110,.24);
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(1.05rem,1.3vw,1.22rem);
  font-weight:700;
  letter-spacing:.06em;
  transition:transform .25s ease,box-shadow .25s ease,opacity .25s ease;
}
.primary-button:hover { transform:translateY(-3px); box-shadow:0 18px 46px rgba(201,169,110,.34); }
.primary-button:disabled { cursor:not-allowed; opacity:.58; transform:none; box-shadow:none; }
.submit-note { max-width:500px; margin:0; color:var(--ie-dim); font-size:.92rem; }
.form-message { display:none; width:100%; margin-top:1rem; padding:1rem 1.1rem; border-radius:13px; font-size:.94rem; line-height:1.55; }
.form-message.is-visible { display:block; }
.form-message.error { border:1px solid rgba(255,120,120,.3); background:rgba(255,120,120,.08); color:#ffe8e8; }
.form-message.success { border:1px solid rgba(90,210,150,.3); background:rgba(90,210,150,.08); color:#e8fff2; }

.success-state { display:none; padding:clamp(2rem,5vw,3.5rem); }
.success-state.show { display:block; }
.success-icon { width:62px; height:62px; display:grid; place-items:center; margin-bottom:1.2rem; border:1px solid rgba(242,210,122,.62); border-radius:999px; color:var(--ie-gold-light); background:rgba(201,162,74,.08); font-size:1.8rem; }
.success-state h2 { margin:0 0 .7rem; font-family:var(--ie-title); font-size:clamp(2.25rem,5vw,4rem); line-height:1.04; letter-spacing:-.035em; }
.success-state p { max-width:650px; margin:0; color:var(--ie-muted); font-size:1.05rem; line-height:1.72; }
.form-shell.hidden { display:none; }

@media (max-width:980px) {
  :root { --header-height:92px; }
  .nav-container { height:var(--header-height); padding:.9rem 1.25rem; }
  .site-logo { height:58px; }
  .hamburger { display:flex; }
  .nav-links { position:fixed; top:0; right:0; bottom:0; width:min(82vw,380px); height:100vh; flex-direction:column; align-items:flex-start; justify-content:flex-start; gap:1.3rem; padding:7rem 2rem 2.5rem; background:rgba(7,7,7,.985); border-left:1px solid rgba(201,162,74,.16); box-shadow:-24px 0 60px rgba(0,0,0,.44); transform:translateX(100%); transition:transform .35s ease; z-index:10001; }
  .nav-links a { width:100%; white-space:normal; font-size:1rem; }
  .nav-links .nav-button { display:inline-flex; justify-content:center; }
  #nav-toggle:checked ~ .nav-links { transform:translateX(0); }
  #nav-toggle:checked + .hamburger span:nth-child(1) { transform:translateY(10.5px) rotate(45deg); }
  #nav-toggle:checked + .hamburger span:nth-child(2) { opacity:0; }
  #nav-toggle:checked + .hamburger span:nth-child(3) { transform:translateY(-10.5px) rotate(-45deg); }
  .booking-layout { grid-template-columns:1fr; }
  .slot-card { position:relative; top:auto; }
  .submit-card { grid-column:auto; }
}
@media (max-width:680px) {
  :root { --header-height:86px; }
  .site-logo { height:52px; }
  .lead-page { padding:3rem 1rem 5rem; }
  .lead-header h1 { font-size:clamp(3rem,14vw,4.9rem); }
  .field-grid, .option-grid { grid-template-columns:1fr; }
  .form-card, .slot-card, .submit-card, .success-state { border-radius:22px; }
  .slot-buttons { grid-template-columns:1fr 1fr; }
  .submit-row { align-items:stretch; text-align:center; }
  .primary-button { width:100%; }
  .submit-note { margin:0 auto; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto !important; transition-duration:.01ms !important; animation-duration:.01ms !important; }
}


/* PHASE 1.1 — custom sector selector and conditional Other fields */
.custom-select {
  position: relative;
}

.custom-select-trigger {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.08rem;
  border: 1px solid rgba(201, 162, 74, 0.22);
  border-radius: 14px;
  color: var(--ie-text);
  background: rgba(10, 10, 10, 0.42);
  text-align: left;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.custom-select-trigger:hover,
.custom-select.is-open .custom-select-trigger,
.custom-select.has-value .custom-select-trigger {
  border-color: rgba(242, 210, 122, 0.55);
  background: rgba(10, 10, 10, 0.56);
}

.custom-select-trigger:focus-visible {
  outline: none;
  border-color: rgba(242, 210, 122, 0.72);
  box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.12);
}

.custom-select-chevron {
  width: .72rem;
  height: .72rem;
  flex: 0 0 auto;
  border-right: 2px solid var(--ie-gold-light);
  border-bottom: 2px solid var(--ie-gold-light);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}

.custom-select.is-open .custom-select-chevron {
  transform: rotate(225deg) translate(-2px, -2px);
}

.custom-select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + .55rem);
  z-index: 40;
  max-height: 330px;
  overflow-y: auto;
  padding: .55rem;
  border: 1px solid rgba(201, 162, 74, 0.28);
  border-radius: 16px;
  background: rgba(12, 12, 12, 0.985);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(18px);
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 162, 74, 0.5) rgba(255, 255, 255, 0.03);
}

.custom-select-option {
  width: 100%;
  display: block;
  padding: .82rem .9rem;
  border: 0;
  border-radius: 11px;
  color: rgba(245, 241, 232, 0.8);
  background: transparent;
  text-align: left;
  line-height: 1.35;
  transition: color .18s ease, background .18s ease;
}

.custom-select-option:hover,
.custom-select-option:focus-visible,
.custom-select-option.is-selected {
  outline: none;
  color: #fff;
  background: rgba(201, 162, 74, 0.12);
}

.custom-select.is-invalid .custom-select-trigger {
  border-color: rgba(255, 120, 120, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 120, 120, 0.08);
}

.conditional-field {
  margin-top: 1rem;
}

.conditional-field[hidden] {
  display: none !important;
}

.required-note {
  margin: -.2rem 0 1rem;
  color: var(--ie-dim);
  font-size: .86rem;
}

.required-note strong {
  color: var(--ie-gold-light);
}

@media (max-width: 680px) {
  .custom-select-menu {
    max-height: 300px;
  }
}

.optional-label { color: var(--ie-dim); font-weight: 500; }

.form-card.has-custom-select {
  overflow: visible;
  box-shadow:
    inset 4px 0 0 rgba(222, 185, 100, .72),
    var(--ie-shadow);
}

.form-card.has-custom-select::before {
  display: none;
}


/* PHASE 1.2 - sticky scheduler contained above the submit card */
.booking-layout {
  display: block;
}

.booking-main {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, .72fr);
  gap: 1.3rem;
  align-items: start;
}

.booking-main .slot-card {
  position: sticky;
  top: calc(var(--header-height) + 1.25rem);
  align-self: start;
}

.booking-layout > .submit-card {
  margin-top: 1.3rem;
}

@media (max-width: 980px) {
  .booking-main {
    grid-template-columns: 1fr;
  }

  .booking-main .slot-card {
    position: relative;
    top: auto;
  }
}


/* PHASE 1.4 — branded diagnostic selectors */
.custom-select.is-open { z-index: 80; }
.booking-main .form-card.has-custom-select { position: relative; z-index: 2; }
.booking-main .slot-card { z-index: 1; }
.custom-select-menu .custom-select-option { font-size: .96rem; }
@media (max-width: 680px) { .custom-select-menu { max-height: 280px; } }


/* PHASE 1.6 — compact, independently scrollable appointment schedule */
.booking-main .slot-card {
  display: flex;
  flex-direction: column;
  max-height: calc(100svh - var(--header-height) - 2.5rem);
  min-height: 0;
  overflow: hidden;
}

.booking-main .slot-card .slot-days {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding-right: .5rem;
  scrollbar-width: auto;
  scrollbar-color: rgba(201, 162, 74, .62) rgba(255, 255, 255, .045);
}

.booking-main .slot-card .slot-days:focus-visible {
  outline: 2px solid rgba(242, 210, 122, .65);
  outline-offset: 5px;
  border-radius: 12px;
}

.booking-main .slot-card .slot-days::-webkit-scrollbar {
  width: 10px;
}

.booking-main .slot-card .slot-days::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .04);
  border-radius: 999px;
}

.booking-main .slot-card .slot-days::-webkit-scrollbar-thumb {
  background: rgba(201, 162, 74, .58);
  border: 2px solid rgba(12, 12, 12, .9);
  border-radius: 999px;
}

@media (max-width: 980px) {
  .booking-main .slot-card {
    max-height: min(720px, calc(100svh - 1.5rem));
  }
}

@media (max-width: 680px) {
  .booking-main .slot-card {
    max-height: min(680px, calc(100svh - 1rem));
  }

  .booking-main .slot-card .slot-days {
    padding-right: .35rem;
  }
}


/* BUNDLED SECTOR-BRIEF CONSENT */
.brief-submit-row {
  align-items: flex-start;
  flex-direction: column;
}

.bundled-disclosure {
  max-width: 760px;
  color: rgba(245, 241, 232, 0.72);
  font-size: 0.94rem;
  line-height: 1.62;
}

.submit-note a,
.bundled-disclosure a {
  color: var(--ie-gold-light);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease;
}

.submit-note a:hover,
.submit-note a:focus-visible,
.bundled-disclosure a:hover,
.bundled-disclosure a:focus-visible {
  color: #ffffff;
}


/* SECTOR ROUTING V2 — consent and privacy links */
.consent a {
  color: var(--ie-gold-light);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease;
}

.consent a:hover,
.consent a:focus-visible {
  color: #ffffff;
}


/* FORMS RELIABILITY + MOBILE SELECT FIX V19 */
.form-message.processing {
  display: block;
  border: 1px solid rgba(201, 162, 74, .28);
  background: rgba(201, 162, 74, .075);
  color: rgba(245, 241, 232, .84);
}

.primary-button.is-busy {
  gap: .7rem;
  cursor: wait;
}
.primary-button.is-busy::after {
  content: "";
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  border: 2px solid rgba(10, 10, 10, .30);
  border-top-color: #0a0a0a;
  border-radius: 50%;
  animation: ie-submit-spin .72s linear infinite;
}
@keyframes ie-submit-spin { to { transform: rotate(360deg); } }

.custom-select-native-mobile { display: none; }

@media (max-width: 680px), (pointer: coarse) {
  .custom-select {
    position: relative;
    isolation: isolate;
  }

  /* Use one real native field on mobile. Do not stack it over the custom menu. */
  .custom-select > .custom-select-trigger,
  .custom-select > .custom-select-menu {
    display: none !important;
  }

  .custom-select-native-mobile {
    display: block;
    width: 100%;
    min-height: 58px;
    margin: 0;
    padding: 1rem 2.75rem 1rem 1.08rem;
    border: 1px solid rgba(201, 162, 74, 0.22);
    border-radius: 14px;
    color: var(--ie-text);
    background: rgba(10, 10, 10, 0.42);
    font-size: 16px;
    line-height: 1.25;
    appearance: auto;
    -webkit-appearance: menulist-button;
  }

  .custom-select.has-value .custom-select-native-mobile {
    border-color: rgba(242, 210, 122, 0.55);
    background: rgba(10, 10, 10, 0.56);
  }

  .custom-select.is-invalid .custom-select-native-mobile {
    border-color: rgba(255, 120, 120, 0.72);
    box-shadow: 0 0 0 3px rgba(255, 120, 120, 0.08);
  }

  .custom-select-native-mobile:focus {
    outline: none;
    border-color: rgba(242, 210, 122, 0.72);
    box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.12);
  }
}


/* FORMS RELIABILITY V20 — stable native selectors */
.field select {
  min-height: 58px;
  font-size: 16px;
  color-scheme: dark;
}

@media (max-width: 680px) {
  .field select {
    min-height: 60px;
    font-size: 16px;
  }
}


/* FORMS CLEANUP V21 — conditional Other + mobile success-state resilience */
.conditional-field:not([hidden]) {
  display: block;
}

.success-state {
  scroll-margin-top: calc(var(--header-height) + 0.75rem);
}

.site-header,
.site-header .nav-container,
.site-header .logo-link,
.site-header .site-logo {
  pointer-events: auto;
}

@media (max-width: 980px), (pointer: coarse) {
  .success-state {
    scroll-margin-top: calc(var(--header-height) + 0.35rem);
  }
}
