/* ============================================================
   E12 — Brand stylesheet
   Navy is brand. Blue is action. Industry colors carry category context.
   ============================================================ */

:root {
  --navy: #0A1733;
  --electric-blue: #2F5BFF;
  --white: #FFFFFF;
  --sky: #E9EFFC;
  --ice: #F6F8FC;

  /* Industry colors for badges, chips, accents, and the E12 exponent. */
  --restaurant: #E1701A;
  --automotive: #D6453D;
  --technology: #2F6BD8;
  --healthcare: #22A05E;
  --real-estate: #C28A14;
  --education: #7A5AE6;
  --legal: #2F4C7E;
  --accounting: #0E8C7C;
  --retail: #1391B5;
  --travel: #2D9BE0;
  --construction: #A1713E;
  --professional: #5E7190;

  --font-display: 'Sora', sans-serif;
  --font-body: 'Hanken Grotesk', sans-serif;
}

html { height: 100%; }
body {
  font-family: var(--font-body);
  background: var(--ice);
  color: var(--navy);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  min-height: 100vh;
  padding-bottom: 0;
}
h1, h2, h3, h4, h5, .font-display { font-family: var(--font-display); font-weight: 700; }
a { text-decoration: none; }
.min-w-0 { min-width: 0; }

/* Buttons: electric blue = action, navy = brand */
.btn-primary {
  --bs-btn-bg: var(--electric-blue);
  --bs-btn-border-color: var(--electric-blue);
  --bs-btn-hover-bg: #2448d6;
  --bs-btn-hover-border-color: #2448d6;
  --bs-btn-active-bg: #1d3cb8;
  --bs-btn-active-border-color: #1d3cb8;
  font-weight: 600;
}
.btn-navy {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
}
.btn-navy:hover { background: #16244d; color: #fff; }
.text-primary { color: var(--electric-blue) !important; }

/* ------------------------------------------------------------
   Header / brand wordmark
   ------------------------------------------------------------ */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid #e6eaf2;
  z-index: 1030;
}
.impersonation-banner {
  position: sticky;
  top: 0;
  z-index: 1040;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  flex-wrap: wrap;
  padding: .45rem 1rem;
  background: #7c3aed;
  color: #fff;
  font-size: .85rem;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-height: 3.5rem;
  padding-top: .55rem;
  padding-bottom: .55rem;
}
.site-nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: .55rem;
}
.brand-word {
  display: inline-flex;
  align-items: flex-start;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--navy);
  letter-spacing: 0;
}
.brand-word:hover { color: var(--navy); }
.brand-word sup {
  color: var(--ind-color, var(--electric-blue));
  font-weight: 800;
  font-size: 0.62em;
  line-height: 1;
  position: relative;
  top: -0.45em;
}
.brand-word.on-dark { color: #fff; }
.brand-word.on-dark:hover { color: #fff; }
.brand-word.on-dark sup { color: var(--ind-color, #7da2ff); }
.main-nav a { color: var(--navy); font-weight: 500; font-size: .95rem; }
.main-nav a:hover, .main-nav a.active { color: var(--electric-blue); }

.chrome-switches {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.market-dd-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  height: 2.05rem;
  padding: 0 .55rem 0 .45rem;
  border-radius: 999px;
  border: 1px solid #dde3ef;
  background: #eef2f9;
  color: var(--navy);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.market-dd-btn:hover,
.market-dd-btn:focus,
.market-dd-btn.show {
  background: #e5ebf6;
  color: var(--navy);
  border-color: #cfd7e8;
}
.market-dd-btn::after {
  margin-left: .15rem;
  vertical-align: .1em;
  opacity: .55;
}
.market-flag {
  width: 22px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(10, 23, 51, .12);
  flex: 0 0 auto;
}
.market-dd-code {
  font-variant-numeric: tabular-nums;
  min-width: 1.4rem;
}
.market-dd-menu {
  min-width: 11.5rem;
  padding: .35rem;
  border: 1px solid #e6eaf2;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(10, 23, 51, .12);
}
.market-dd-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  border-radius: 8px;
  padding: .55rem .65rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--navy);
}
.market-dd-menu .dropdown-item .market-dd-code {
  margin-left: auto;
  font-size: .75rem;
  font-weight: 700;
}
.market-dd-menu .dropdown-item.active,
.market-dd-menu .dropdown-item:active {
  background: var(--sky);
  color: var(--navy);
}
.chrome-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: #eef2f9;
  border: 1px solid #dde3ef;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.chrome-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.15rem;
  height: 1.7rem;
  padding: 0 .55rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #6b778f;
  line-height: 1;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.chrome-switch a:hover { color: var(--navy); }
.chrome-switch a.is-active {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 10px rgba(10, 23, 51, .18);
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
  background: var(--navy);
  background-image: radial-gradient(circle at 85% 20%, rgba(47, 91, 255, .25), transparent 45%),
                    radial-gradient(circle at 10% 90%, rgba(47, 91, 255, .12), transparent 40%);
  color: #fff;
  padding: 4.5rem 0 4rem;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
.hero .sub { color: #b9c4dd; }
.hero-search {
  background: #fff;
  border-radius: 16px;
  padding: .55rem;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: stretch;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}
.hero-search input,
.hero-search select {
  border: 0;
  box-shadow: none !important;
  min-width: 0;
}
.hero-search input {
  flex: 1 1 220px;
  color: var(--navy);
}
.hero-search select {
  flex: 0 1 160px;
  border-left: 1px solid #e6eaf2;
  border-radius: 0;
  color: var(--navy);
  max-width: 180px;
}
.hero-search-actions {
  display: flex;
  flex: 1 1 auto;
  gap: .4rem;
  justify-content: flex-end;
  align-items: center;
  min-width: min(100%, 220px);
}
.hero-search-actions .btn {
  white-space: nowrap;
}
.hero-search-actions .btn-primary {
  min-width: 5.5rem;
  flex: 0 0 auto;
}
.chip-row .chip {
  display: inline-block;
  padding: .3rem .85rem;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  color: #dfe6f5;
  font-size: .85rem;
  margin: .2rem;
}
.chip-row .chip:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ------------------------------------------------------------
   Cards / badges / chips
   ------------------------------------------------------------ */
.card { border: 1px solid #e6eaf2; border-radius: 14px; }
.company-card { transition: box-shadow .15s ease, transform .15s ease; }
.company-card:hover { box-shadow: 0 8px 24px rgba(10, 23, 51, .08); transform: translateY(-2px); }
.company-name { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1rem; }
.company-name:hover { color: var(--electric-blue); }

.logo-tile {
  --tile-color: var(--professional);
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 11px;
  background: var(--tile-color);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
}
.logo-tile.lg { width: 84px; height: 84px; font-size: 1.6rem; border-radius: 18px; border: 3px solid #fff; }

.verified-badge { color: #1d9a55; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.industry-chip {
  --chip-color: var(--professional);
  background: color-mix(in srgb, var(--chip-color) 12%, #fff);
  color: var(--chip-color);
  padding: .15rem .6rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
}
.stars { color: #f2a516; font-size: .8rem; letter-spacing: 1px; }
.rating-line { display: flex; align-items: center; gap: .35rem; font-size: .85rem; margin-top: .2rem; }

.section-title { font-size: 1.5rem; font-weight: 800; }
/* Section accents follow the page's industry theme when one is set (--ind-color),
   otherwise fall back to neutral grey. */
.section-kicker { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ind-color, #7b87a3); font-weight: 600; }

/* Industry browse tiles — each tile themed by its own industry color */
.industry-tile {
  --ind-color: var(--professional);
  background: #fff;
  border: 1px solid #e6eaf2;
  border-top: 3px solid var(--ind-color);
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
  display: block;
  color: var(--navy);
  transition: box-shadow .15s ease, border-color .15s ease, transform .15s ease;
}
.industry-tile:hover {
  box-shadow: 0 8px 24px rgba(10, 23, 51, .12);
  border-color: var(--ind-color);
  color: var(--ind-color);
  transform: translateY(-2px);
}
.industry-tile:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--ind-color) 42%, #fff);
  outline-offset: 2px;
}
.industry-tile.is-active {
  border-color: var(--ind-color);
  background: color-mix(in srgb, var(--ind-color) 8%, #fff);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--ind-color) 20%, transparent);
  color: var(--ind-color);
}
.industry-tile .ind-icon {
  width: 44px; height: 44px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .5rem;
  background: var(--ind-color);
  color: #fff; font-size: 1.05rem;
}
.industry-tile .ind-name { font-weight: 700; font-size: .9rem; font-family: var(--font-display); }
.industry-tile .ind-count { font-size: .78rem; color: #7b87a3; }

/* Browse grid: all 12 tiles, no horizontal scroll.
   Mobile 3 cols (4 rows) · tablet 4 cols (3 rows) · desktop 6 cols (2 rows). */
.industry-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}
@media (min-width: 576px) {
  .industry-rail { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 992px) {
  .industry-rail { grid-template-columns: repeat(6, 1fr); }
}

/* Concise visual explanation of how an E12 profile can support AI discovery. */
.ai-discovery-visual {
  padding: 3.5rem 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(47, 91, 255, .14), transparent 38%),
    radial-gradient(circle at 88% 100%, rgba(14, 140, 124, .12), transparent 38%),
    #f8fbff;
  border-block: 1px solid #dce6f5;
}
.ai-discovery-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.ai-discovery-intro > div:first-child { max-width: 760px; }
.ai-story-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-bottom: .55rem;
  padding: .28rem .65rem;
  border-radius: 999px;
  background: rgba(47, 91, 255, .1);
  color: var(--electric-blue);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
}
.ai-story-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-bottom: 2rem;
}
.ai-story-step {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-height: 68px;
  padding: .75rem .9rem;
  border: 1px solid #dce5f4;
  border-radius: 14px;
  background: rgba(255, 255, 255, .86);
  color: var(--navy);
  font-weight: 700;
}
.ai-story-step__icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
}
.ai-phone-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.ai-phone-card {
  overflow: hidden;
  border: 1px solid #dfe6f2;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(10, 23, 51, .1);
}
.ai-phone-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.ai-phone-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .75rem .9rem;
  color: var(--navy);
  font-size: .85rem;
}
.ai-phone-card figcaption span {
  color: #6f7d99;
  font-size: .75rem;
}
.ai-jobs-link {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: 1rem;
  padding: .85rem 1rem;
  border: 1px solid #dce5f4;
  border-radius: 14px;
  background: #fff;
}
.ai-jobs-link__icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(47, 91, 255, .1);
  color: var(--electric-blue);
}
.ai-jobs-link strong,
.ai-jobs-link span { display: block; }
.ai-jobs-link span { color: #65738f; font-size: .84rem; }
.ai-simulation-notes {
  margin-top: .8rem;
  color: #66748f;
  font-size: .78rem;
}
.ai-simulation-notes summary {
  width: fit-content;
  cursor: pointer;
  color: #53617d;
  font-weight: 700;
}
.ai-simulation-notes[open] {
  padding: .8rem 1rem;
  border: 1px solid #dfe6f2;
  border-radius: 12px;
  background: rgba(255, 255, 255, .72);
}
.ai-simulation-notes p { margin: .65rem 0 0; }

/* AI match band */
.ai-band {
  background: var(--navy);
  background-image: radial-gradient(circle at 90% 100%, rgba(47, 91, 255, .3), transparent 50%);
  border-radius: 20px;
  color: #fff;
}
.ai-pill {
  display: inline-block;
  background: rgba(47, 91, 255, .25);
  border: 1px solid rgba(47, 91, 255, .6);
  color: #cdd9ff;
  font-size: .72rem;
  letter-spacing: .1em;
  padding: .25rem .7rem;
  border-radius: 999px;
  font-weight: 600;
}
.ai-result-row {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  padding: .55rem .75rem;
  display: flex; align-items: center; gap: .6rem;
  color: #e7ecf8;
  font-size: .9rem;
}
.ai-result-row:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.ai-result-row .logo-tile { width: 30px; height: 30px; font-size: .7rem; border-radius: 8px; }

/* ------------------------------------------------------------
   Search results
   ------------------------------------------------------------ */
.filter-card .form-label { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #7b87a3; font-weight: 700; }
.filter-card--mobile {
  background: #fff;
  border: 1px solid #e6eaf2;
  border-radius: 14px;
  padding: 1rem;
}
.search-category-picker {
  padding: 1rem;
  border: 1px solid #e1e7f1;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(10, 23, 51, .04);
}
.search-category-picker__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .9rem;
}
.search-industry-rail .industry-tile {
  padding: .72rem .35rem;
  border-radius: 12px;
}
.search-industry-rail .industry-tile .ind-icon {
  width: 38px;
  height: 38px;
  margin-bottom: .4rem;
  border-radius: 10px;
}
.search-industry-rail .industry-tile .ind-name {
  font-size: .82rem;
  line-height: 1.18;
}
.result-industry {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.result-industry i { font-size: .72rem; }
.search-toolbar {
  background: #fff;
  border: 1px solid #e6eaf2;
  border-radius: 16px;
  padding: .65rem;
  box-shadow: 0 8px 24px rgba(10, 23, 51, 0.05);
}
.search-toolbar__fields {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: stretch;
}
.search-toolbar__q {
  position: relative;
  flex: 1 1 220px;
  min-width: 0;
}
.search-toolbar__q > i {
  position: absolute;
  left: .85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #8a96b0;
  pointer-events: none;
  font-size: .9rem;
}
.search-toolbar__q .form-control {
  padding-left: 2.25rem;
  border: 0;
  background: var(--ice);
  box-shadow: none !important;
}
.search-toolbar__country,
.search-toolbar__city {
  flex: 0 1 180px;
  min-width: 0;
  border: 0;
  background: var(--ice);
  box-shadow: none !important;
}
.search-toolbar__submit {
  flex: 0 0 auto;
  min-width: 5.5rem;
}
.search-mobile-filters {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.search-mobile-filters > form {
  min-width: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.search-mobile-filters > form::-webkit-scrollbar { display: none; }

.result-row { background: #fff; border: 1px solid #e6eaf2; border-radius: 14px; padding: .9rem 1rem; }
.result-row.ai-pick { border-color: rgba(47, 91, 255, .5); box-shadow: 0 0 0 1px rgba(47, 91, 255, .25); }
.result-row__main {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.result-row__body { flex: 1 1 auto; min-width: 0; }
.result-row__actions {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  flex: 0 0 auto;
}
@media (min-width: 576px) {
  .result-row__actions { flex-direction: row; }
}
.ai-pick-tag { color: var(--electric-blue); font-size: .72rem; font-weight: 700; letter-spacing: .06em; }
.result-meta { font-size: .85rem; color: #5d6b8a; display: flex; flex-wrap: wrap; gap: .35rem .8rem; }
.ai-summary {
  background: var(--sky);
  border: 1px solid #d7e2fa;
  border-left: 4px solid var(--ind-color, var(--electric-blue));
  border-radius: 12px;
  padding: .7rem 1rem;
  font-size: .9rem;
}

/* Compare tray */
.compare-tray {
  position: fixed;
  left: 50%; bottom: 1rem;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  padding: .6rem 1rem;
  display: none;
  align-items: center;
  gap: 1rem;
  z-index: 1040;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
  max-width: calc(100vw - 2rem);
}
.compare-tray.show { display: flex; }
@media (max-width: 991px) { .compare-tray { bottom: 4.5rem; } }

/* Copilot panel */
.copilot-panel {
  background: var(--navy);
  border-radius: 16px;
  color: #fff;
  display: flex; flex-direction: column;
  max-height: 540px;
  position: sticky; top: 84px;
}
.copilot-head { padding: .85rem 1rem; border-bottom: 1px solid rgba(255,255,255,.12); font-family: var(--font-display); font-weight: 700; font-size: .95rem; }
.copilot-body { padding: 1rem; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: .65rem; }
.copilot-msg { background: rgba(255,255,255,.09); border-radius: 12px; padding: .6rem .8rem; font-size: .88rem; max-width: 92%; }
.copilot-msg.user { background: var(--electric-blue); align-self: flex-end; }
.copilot-input { padding: .75rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; gap: .5rem; }
.copilot-input input { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; border-radius: 999px; }
.copilot-input input::placeholder { color: #93a1c4; }
.copilot-input input:focus { background: rgba(255,255,255,.15); color: #fff; box-shadow: none; border-color: var(--electric-blue); }
.copilot-sources { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .5rem; }
.copilot-source {
  font-size: .72rem; font-weight: 600;
  background: rgba(47, 91, 255, .18);
  border: 1px solid rgba(47, 91, 255, .5);
  color: #cdd9ff; border-radius: 999px; padding: .15rem .55rem;
  white-space: nowrap;
}
.copilot-source:hover { background: rgba(47, 91, 255, .32); color: #fff; }

/* ------------------------------------------------------------
   Company profile
   ------------------------------------------------------------ */
.profile-cover {
  height: 220px;
  background: var(--navy);
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 12px, transparent 12px 24px);
  border-radius: 0 0 20px 20px;
  display: flex; align-items: center; justify-content: center;
  color: #6c7da6; font-size: .8rem; letter-spacing: .1em;
}
.profile-headcard { border-top: 4px solid var(--ind-color, var(--electric-blue)); }
.profile-headcard.has-cover { margin-top: -54px; }
.profile-tabs {
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* legacy Edge */
}
.profile-tabs::-webkit-scrollbar { display: none; } /* Chrome, Safari */
.profile-tabs .nav-link { color: #5d6b8a; font-weight: 600; font-size: .92rem; }
.profile-tabs .nav-link.active { color: var(--ind-color, var(--electric-blue)); border-color: var(--ind-color, var(--electric-blue)) !important; background: transparent; }
.gallery-ph {
  background: var(--ice);
  border: 1px dashed #ccd6ea;
  border-radius: 12px;
  height: 110px;
  display: flex; align-items: center; justify-content: center;
  color: #9aa7c4; font-size: .78rem; letter-spacing: .08em;
}
.rating-bar { height: 8px; border-radius: 4px; background: #edf1f9; overflow: hidden; }
.rating-bar > span { display: block; height: 100%; background: #f2a516; border-radius: 4px; }
.ask-ai-card { background: var(--navy); border-radius: 16px; color: #fff; }
.map-ph {
  background: var(--ice);
  border: 1px dashed #ccd6ea;
  border-radius: 12px;
  height: 130px;
  display: flex; align-items: center; justify-content: center;
  color: #9aa7c4; font-size: .78rem;
}
.map-embed { width: 100%; height: 160px; border: 0; border-radius: 10px; display: block; }

/* Star rating input (write a review) — reversed row so hover/check fills left→right */
.star-input { display: inline-flex; flex-direction: row-reverse; gap: .15rem; font-size: 1.25rem; }
.star-input input { display: none; }
.star-input label { color: #d3dae8; cursor: pointer; }
.star-input label:hover,
.star-input label:hover ~ label,
.star-input input:checked ~ label { color: #f2a516; }
.sticky-action-bar {
  position: fixed; left: 0; right: 0; bottom: 58px;
  background: #fff; border-top: 1px solid #e6eaf2;
  padding: .6rem .9rem;
  display: flex; gap: .5rem;
  z-index: 1025;
}
@media (max-width: 991px) {
  .sticky-action-bar {
    bottom: calc(3.85rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 24px rgba(10, 23, 51, 0.08);
  }
  body.has-sticky-bar { padding-bottom: 130px; }
}

/* ------------------------------------------------------------
   Flows (booking / quote)
   ------------------------------------------------------------ */
.flow-progress { display: flex; gap: .4rem; }
.flow-progress span { height: 5px; border-radius: 3px; flex: 1; background: #dde4f2; }
.flow-progress span.done { background: var(--electric-blue); }
.step-label { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ind-color, #7b87a3); font-weight: 700; }
.option-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.option-pills input { display: none; }
.option-pills label {
  border: 1px solid #ccd6ea;
  border-radius: 10px;
  padding: .5rem 1rem;
  cursor: pointer;
  font-weight: 500;
  background: #fff;
}
.option-pills input:checked + label {
  border-color: var(--electric-blue);
  background: var(--sky);
  color: var(--electric-blue);
  font-weight: 600;
}
.ai-brief {
  background: var(--sky);
  border: 1px solid #d7e2fa;
  border-radius: 12px;
  padding: .8rem 1rem;
}
.ai-brief .tag { background: #fff; border: 1px solid #d7e2fa; border-radius: 999px; padding: .25rem .7rem; font-size: .8rem; display: inline-block; margin: .15rem; }
.provider-pick { border: 1px solid #e6eaf2; border-radius: 12px; padding: .7rem .9rem; display: flex; align-items: center; gap: .7rem; background: #fff; }
.provider-pick.checked { border-color: var(--electric-blue); background: var(--sky); }

/* ------------------------------------------------------------
   Dashboard
   ------------------------------------------------------------ */
.dash-sidebar { background: var(--navy); border-radius: 16px; color: #fff; padding: 1rem .6rem; }
.dash-sidebar a {
  display: flex; align-items: center; gap: .65rem;
  color: #b9c4dd; padding: .55rem .8rem;
  border-radius: 9px; font-size: .92rem; font-weight: 500;
}
.dash-sidebar a:hover { color: #fff; background: rgba(255,255,255,.07); }
.dash-sidebar a.active { color: #fff; background: var(--electric-blue); }
.stat-card .stat-value { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; }
.stat-card .stat-label { font-size: .8rem; color: #7b87a3; font-weight: 600; }
.stat-card .stat-delta { font-size: .78rem; font-weight: 600; }

/* ------------------------------------------------------------
   Owner business console
   ------------------------------------------------------------ */
.biz-console {
  flex: 1;
  background:
    radial-gradient(900px 320px at 0% 0%, rgba(47, 91, 255, 0.08), transparent 55%),
    var(--ice);
  padding: 1.25rem 0 2.5rem;
}
.biz-console__wrap { max-width: 1200px; }
.biz-console__layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.biz-rail {
  position: sticky;
  top: 5.1rem;
  max-height: calc(100vh - 5.75rem);
  overflow: auto;
  background: var(--navy);
  border-radius: 18px;
  color: #fff;
  padding: .85rem .65rem 1rem;
  box-shadow: 0 12px 32px rgba(10, 23, 51, 0.18);
}
.biz-rail__brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .35rem .55rem 0.9rem;
  margin-bottom: .45rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.biz-rail__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .88rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.biz-rail__plan {
  font-size: .7rem;
  color: rgba(255,255,255,.55);
  margin-top: .1rem;
}
.biz-rail__group {
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  font-weight: 700;
  padding: .75rem .7rem .25rem;
}
.biz-rail__link {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: rgba(255,255,255,.72);
  padding: .55rem .7rem;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 600;
  transition: background .15s ease, color .15s ease;
}
.biz-rail__link i { width: 1.05rem; text-align: center; opacity: .9; }
.biz-rail__link:hover { color: #fff; background: rgba(255,255,255,.08); }
.biz-rail__link.is-active { color: #fff; background: var(--electric-blue); }
.biz-console__main { min-width: 0; }
.biz-console__alert { margin-bottom: 1rem; }
.biz-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}
.biz-page-head__title {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  letter-spacing: -0.02em;
  margin: 0;
}
.biz-page-head__sub {
  margin: .25rem 0 0;
  color: #6b7a99;
  font-size: .92rem;
}
.biz-page-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.biz-tabs {
  display: flex;
  gap: .35rem;
  overflow-x: auto;
  padding: .3rem;
  margin-bottom: 1rem;
  background: rgba(255,255,255,.78);
  border: 1px solid #e4e9f2;
  border-radius: 14px;
  -webkit-overflow-scrolling: touch;
}
.biz-tabs__item {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  flex: 0 0 auto;
  padding: .55rem .9rem;
  border-radius: 10px;
  color: #44506b;
  font-weight: 600;
  font-size: .9rem;
  white-space: nowrap;
}
.biz-tabs__item:hover { background: #eef2fb; color: var(--navy); }
.biz-tabs__item.is-active {
  background: var(--navy);
  color: #fff;
}
.biz-panel {
  background: rgba(255,255,255,.94);
  border: 1px solid #e4e9f2;
  border-radius: 16px;
  padding: 1.15rem 1.2rem;
  margin-bottom: 1rem;
  box-shadow: 0 6px 22px rgba(10, 23, 51, 0.04);
}
.biz-panel__title {
  font-size: 1rem;
  margin: 0 0 .85rem;
}
.biz-panel--sticky { position: sticky; top: 5.25rem; }
.biz-panel--geo .progress { height: .55rem; }
.biz-panel--accent {
  background: linear-gradient(160deg, #0A1733 0%, #162a5c 60%, #1e3a8a 100%);
  color: #fff;
  border-color: transparent;
}
.biz-panel--accent .text-muted,
.biz-panel--accent .small { color: rgba(255,255,255,.7) !important; }
.biz-empty {
  border: 1px dashed #d5dce8;
  border-radius: 12px;
  padding: 1.25rem;
  color: #6b7a99;
  font-size: .875rem;
  margin-bottom: .5rem;
}
.settings-page--embedded {
  background: transparent;
  padding: 0;
}
.settings-page--embedded .settings-layout {
  grid-template-columns: 180px minmax(0, 1fr);
}
.settings-page--embedded .settings-savebar {
  bottom: .5rem;
}

@media (max-width: 991px) {
  .biz-console__layout { grid-template-columns: 1fr; }
  .biz-rail {
    position: static;
    max-height: none;
  }
  .biz-rail__nav {
    display: flex;
    flex-wrap: nowrap;
    gap: .25rem;
    overflow-x: auto;
    padding-bottom: .15rem;
    -webkit-overflow-scrolling: touch;
  }
  .biz-rail__group { display: none; }
  .biz-rail__link {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: .5rem .7rem;
    font-size: .82rem;
  }
  .biz-panel--sticky { position: static; }
  .settings-page--embedded .settings-layout { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------
   Admin panel
   ------------------------------------------------------------ */
.admin-body { background: var(--ice); }
.admin-aside {
  background: var(--navy);
  min-height: 100vh;
  padding: .5rem .6rem;
  position: sticky; top: 0;
}
@media (max-width: 991px) { .admin-aside { min-height: auto; position: static; } }
.admin-main { padding: 1.5rem; }
.admin-main .stat-card .stat-value { font-size: 1.7rem; }
.table-admin { background: #fff; border-radius: 12px; overflow: hidden; }
.table-admin thead th { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: #7b87a3; }
.toggle-pill {
  border: 1px solid #ccd6ea; background: #fff; color: #5d6b8a;
  border-radius: 999px; padding: .1rem .6rem; font-size: .75rem; font-weight: 600;
}
.toggle-pill.on { background: var(--electric-blue); border-color: var(--electric-blue); color: #fff; }

/* ------------------------------------------------------------
   Footer + mobile nav
   ------------------------------------------------------------ */
.site-footer {
  background: var(--navy);
  color: #fff;
  position: relative;
  flex-shrink: 0;
  width: 100%;
  margin-top: auto;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 8% 0%, rgba(47, 91, 255, 0.32), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 30%, rgba(125, 162, 255, 0.1), transparent 50%),
    linear-gradient(180deg, #0c1c3f 0%, var(--navy) 48%, #070f22 100%);
  pointer-events: none;
}
.site-footer > * { position: relative; z-index: 1; }

.footer-main {
  padding: clamp(2.25rem, 4.5vw, 3.5rem) 0 clamp(1.75rem, 3vw, 2.5rem);
}
.footer-main__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: start;
}
@media (min-width: 992px) {
  .footer-main__grid {
    grid-template-columns: minmax(220px, 1.15fr) minmax(0, 2.2fr);
    gap: 2.5rem 3rem;
    align-items: start;
  }
}

.footer-brand {
  max-width: 22rem;
}
.footer-mark {
  display: inline-flex;
  align-items: flex-start;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.25rem, 8vw, 5.5rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: .85rem;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
  transition: transform .35s ease, color .2s ease;
}
.footer-mark:hover { color: #fff; transform: translateY(-2px); }
.footer-mark:focus-visible {
  outline: 2px solid var(--electric-blue);
  outline-offset: 6px;
  border-radius: 6px;
}
.footer-mark sup {
  color: #8fb0ff;
  font-weight: 800;
  font-size: 0.42em;
  line-height: 1;
  position: relative;
  top: 0.12em;
  margin-left: 0.04em;
}
.footer-brand__tagline {
  margin: 0 0 .4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.35;
}
.footer-brand__lead {
  margin: 0 0 1.1rem;
  font-size: .92rem;
  line-height: 1.55;
  color: #a8b4d0;
}
.footer-brand__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.btn-footer-ghost {
  --bs-btn-color: #fff;
  --bs-btn-bg: transparent;
  --bs-btn-border-color: rgba(255, 255, 255, 0.35);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.08);
  --bs-btn-hover-border-color: rgba(255, 255, 255, 0.55);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: rgba(255, 255, 255, 0.12);
  --bs-btn-active-border-color: #fff;
  font-weight: 600;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
}
@media (min-width: 768px) {
  .footer-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem 1.75rem;
  }
}
.footer-head {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7b87a3;
  font-weight: 700;
  margin-bottom: .75rem;
}
.footer-col a {
  display: block;
  color: #c5d0e8;
  font-size: .9rem;
  padding: .22rem 0;
  line-height: 1.35;
  transition: color .15s ease, transform .15s ease;
}
.footer-col a:hover {
  color: #fff;
  transform: translateX(2px);
}
.footer-market {
  display: flex !important;
  align-items: center;
  gap: .5rem;
  padding: .35rem 0 !important;
}
.footer-market img {
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.footer-market__code {
  margin-left: auto;
  font-size: .72rem;
  color: #7b87a3;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.footer-lang {
  display: inline-flex;
  margin-top: .85rem;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-lang a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 2.45rem;
  padding: .3rem .65rem !important;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  color: #9aa5bd;
  transform: none !important;
}
.footer-lang a:hover { color: #fff; }
.footer-lang a.is-active {
  background: var(--electric-blue);
  color: #fff;
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0 1.25rem;
}
.footer-legal__inner {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.25rem;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: #7b87a3;
}
.footer-legal__links {
  display: inline-flex;
  gap: 1rem;
}
.footer-legal__links a {
  color: #7b87a3;
}
.footer-legal__links a:hover { color: #fff; }

.footer-muted { color: #7b87a3; }
.site-footer .footer-meta a { display: inline; padding: 0; color: #7b87a3; }
.site-footer .footer-meta a:hover { color: #fff; }

.mobile-nav {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 1px solid #e6eaf2;
  display: flex;
  z-index: 1030;
  padding: .35rem 0 calc(.35rem + env(safe-area-inset-bottom));
}
.mobile-nav a {
  flex: 1; text-align: center;
  color: #7b87a3; font-size: .68rem; font-weight: 600;
  display: flex; flex-direction: column; gap: .15rem;
}
.mobile-nav a i { font-size: 1.05rem; }
.mobile-nav a.active { color: var(--electric-blue); }

.ask-ai-fab {
  position: fixed; right: 1rem; bottom: 4.5rem;
  background: var(--navy); color: #fff;
  border: 1px solid rgba(47, 91, 255, .6);
  border-radius: 999px;
  padding: .55rem 1rem;
  font-weight: 600; font-size: .85rem;
  z-index: 1031;
  box-shadow: 0 10px 28px rgba(10, 23, 51, .35);
}
.ask-ai-fab i { color: var(--electric-blue); margin-right: .3rem; }
/* Company profiles already provide their own contextual mobile action bar. */
.has-sticky-bar .ask-ai-fab { display: none !important; }
.home-ai-visual .ask-ai-fab { display: none !important; }
.category-showcase .ask-ai-fab { display: none !important; }

/* Custom file picker — browser-native “Choose File” ignores site locale */
.e12-file-input {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.e12-file-input__native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.e12-file-input__btn {
  margin: 0;
  cursor: pointer;
}
.e12-file-input__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 991px) {
  body { padding-bottom: 64px; }
  .hero { padding: 3rem 0 2.5rem; }
  .hero-search select {
    max-width: none;
    flex: 1 1 140px;
    border-left: 0;
    border-top: 1px solid #e6eaf2;
  }
  .hero-search-actions {
    flex: 1 1 100%;
    justify-content: stretch;
  }
  .hero-search-actions .btn {
    flex: 1 1 0;
  }

  .ai-discovery-visual { padding: 2.5rem 0; }
  .ai-discovery-intro {
    align-items: stretch;
    flex-direction: column;
  }
  .ai-story-flow { grid-template-columns: 1fr; }
  .ai-phone-gallery {
    grid-auto-flow: column;
    grid-auto-columns: min(82vw, 340px);
    grid-template-columns: none;
    gap: .8rem;
    margin-inline: calc(var(--bs-gutter-x) * -.5);
    padding: .25rem calc(var(--bs-gutter-x) * .5) 1rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .ai-phone-card { scroll-snap-align: center; }
  .ai-jobs-link { align-items: flex-start; flex-wrap: wrap; }
  .ai-jobs-link .btn { width: 100%; }

  .site-nav {
    flex-wrap: wrap;
    gap: .5rem .65rem;
    min-height: 0;
  }
  .site-nav-actions {
    gap: .35rem;
  }
  .site-nav-actions .btn span.d-none.d-sm-inline { /* keep */ }
  .chrome-switches { gap: .3rem; }
  .market-dd-btn .market-dd-code { display: none; }
  .site-nav-actions .btn-sm {
    padding: .28rem .55rem;
    font-size: .8rem;
  }

  .search-toolbar__fields { gap: .45rem; }
  .search-toolbar__country,
  .search-toolbar__city {
    flex: 1 1 calc(50% - .25rem);
  }
  .search-toolbar__q + .search-toolbar__city {
    flex-basis: 100%;
  }
  .search-toolbar__q {
    flex: 1 1 100%;
  }
  .search-toolbar__submit {
    flex: 1 1 100%;
  }
  .search-category-picker { padding: .85rem; }
  .search-category-picker__head { align-items: flex-start; }
  .search-industry-rail { gap: .5rem; }
  .search-industry-rail .industry-tile { padding: .65rem .2rem; }
  .search-industry-rail .industry-tile .ind-name { font-size: .75rem; }
  .result-row__main {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .result-row__actions {
    flex: 1 1 100%;
    flex-direction: row;
    padding-left: calc(1.15rem + 46px + .75rem);
  }
  .result-row__actions .btn {
    flex: 1 1 0;
  }
  .search-count {
    font-size: .9rem;
  }
  .compare-tray {
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
  }
  .compare-tray .btn { font-size: .78rem; }

  .biz-page-head__actions {
    width: 100%;
  }
  .biz-page-head__actions .btn {
    flex: 1 1 auto;
  }
  .sticky-action-bar {
    left: .5rem;
    right: .5rem;
    bottom: calc(4.35rem + env(safe-area-inset-bottom, 0px));
    border-radius: 14px;
  }
}

/* ------------------------------------------------------------
   Account settings
   ------------------------------------------------------------ */
.settings-page {
  flex: 1;
  background:
    radial-gradient(1200px 420px at 10% -10%, rgba(47, 91, 255, 0.12), transparent 60%),
    radial-gradient(900px 360px at 100% 0%, rgba(10, 23, 51, 0.08), transparent 55%),
    var(--ice);
}
.settings-hero {
  padding: 2rem 0 0;
}
.settings-hero__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.25rem;
}
.settings-avatar {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  background: linear-gradient(145deg, var(--navy), #1a2f66 55%, var(--electric-blue));
  box-shadow: 0 10px 28px rgba(10, 23, 51, 0.18);
  flex-shrink: 0;
}
.settings-kicker {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6b7a99;
  font-weight: 600;
}
.settings-title {
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  letter-spacing: -0.02em;
}
.settings-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  font-size: .92rem;
}
.settings-role {
  display: inline-flex;
  align-items: center;
  padding: .15rem .55rem;
  border-radius: 999px;
  background: rgba(47, 91, 255, 0.1);
  color: var(--electric-blue);
  font-size: .75rem;
  font-weight: 700;
}
.settings-body {
  padding-bottom: 3rem;
}
.settings-alert { margin-bottom: 1rem; }
.settings-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.settings-side {
  position: sticky;
  top: 5.25rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: .55rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #e4e9f2;
  backdrop-filter: blur(8px);
}
.settings-side a {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .7rem .8rem;
  border-radius: 12px;
  color: #44506b;
  font-weight: 600;
  font-size: .92rem;
  transition: background .15s ease, color .15s ease;
}
.settings-side a i { width: 1.1rem; text-align: center; opacity: .85; }
.settings-side a:hover { background: #eef2fb; color: var(--navy); }
.settings-side a.is-active {
  background: var(--navy);
  color: #fff;
}
.settings-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.settings-panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e4e9f2;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(10, 23, 51, 0.04);
}
.settings-panel__head {
  padding: 1.15rem 1.25rem .35rem;
}
.settings-panel__head h2 {
  font-size: 1.05rem;
  margin: 0 0 .2rem;
}
.settings-panel__head p {
  margin: 0;
  color: #6b7a99;
  font-size: .9rem;
}
.settings-panel__body {
  padding: 1rem 1.25rem 1.25rem;
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.1rem;
}
.settings-field--full { grid-column: 1 / -1; }
.settings-field .form-label {
  font-size: .8rem;
  font-weight: 600;
  color: #44506b;
}
.settings-toggle {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  padding: .85rem 0;
  border-bottom: 1px solid #edf1f7;
  cursor: pointer;
}
.settings-toggle:last-child { border-bottom: 0; padding-bottom: 0; }
.settings-toggle:first-child { padding-top: 0; }
.settings-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.settings-toggle__ui {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #cfd7e6;
  position: relative;
  flex-shrink: 0;
  margin-top: .15rem;
  transition: background .15s ease;
}
.settings-toggle__ui::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(10, 23, 51, 0.2);
  transition: transform .15s ease;
}
.settings-toggle input:checked + .settings-toggle__ui {
  background: var(--electric-blue);
}
.settings-toggle input:checked + .settings-toggle__ui::after {
  transform: translateX(18px);
}
.settings-toggle__copy {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-width: 0;
}
.settings-toggle__copy strong {
  font-size: .95rem;
  color: var(--navy);
}
.settings-toggle__copy small {
  color: #6b7a99;
  font-size: .82rem;
  line-height: 1.35;
}
.settings-biz {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.settings-biz__meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
}
.settings-biz__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.settings-empty {
  padding: .25rem 0;
  color: #44506b;
}
.settings-savebar {
  position: sticky;
  bottom: .75rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding: .85rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e4e9f2;
  box-shadow: 0 10px 30px rgba(10, 23, 51, 0.08);
  backdrop-filter: blur(10px);
  z-index: 5;
}

@media (max-width: 991px) {
  .settings-layout {
    grid-template-columns: 1fr;
  }
  .settings-side {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: .25rem;
    -webkit-overflow-scrolling: touch;
  }
  .settings-side a {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: .55rem .75rem;
    font-size: .85rem;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .settings-savebar {
    bottom: 4.5rem;
    justify-content: stretch;
  }
  .settings-savebar .btn { width: 100%; }
}

/* Claim business landing (EDM entry) */
.has-immersive-header {
  --immersive-header-pad: 6.75rem;
}
.has-immersive-header .site-header.site-header--immersive {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  box-shadow: none;
  transition: background .28s ease, border-color .28s ease, box-shadow .28s ease, backdrop-filter .28s ease;
}
.has-immersive-header:not(.is-scrolled) .site-header--immersive .site-nav {
  min-height: 5.25rem;
  padding-top: 1.05rem;
  padding-bottom: 1.05rem;
  gap: 1.15rem;
}
.has-immersive-header:not(.is-scrolled) .site-header--immersive .brand-word {
  color: #fff;
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
}
.has-immersive-header:not(.is-scrolled) .site-header--immersive .brand-word:hover { color: #fff; }
.has-immersive-header:not(.is-scrolled) .site-header--immersive .brand-word sup {
  color: #9cb6ff;
  top: -0.38em;
}
.has-immersive-header:not(.is-scrolled) .site-header--immersive .main-nav {
  gap: 1.75rem !important;
}
.has-immersive-header:not(.is-scrolled) .site-header--immersive .main-nav a {
  color: rgba(255, 255, 255, .82);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: .01em;
}
.has-immersive-header:not(.is-scrolled) .site-header--immersive .main-nav a:hover,
.has-immersive-header:not(.is-scrolled) .site-header--immersive .main-nav a.active {
  color: #fff;
}
.has-immersive-header:not(.is-scrolled) .site-header--immersive .site-nav-actions {
  gap: .75rem;
}
.has-immersive-header:not(.is-scrolled) .site-header--immersive .market-dd-btn {
  height: 2.45rem;
  padding: 0 .8rem 0 .65rem;
  font-size: .9rem;
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .28);
  color: #fff;
  box-shadow: none;
}
.has-immersive-header:not(.is-scrolled) .site-header--immersive .market-dd-btn:hover,
.has-immersive-header:not(.is-scrolled) .site-header--immersive .market-dd-btn.show {
  background: rgba(255, 255, 255, .2);
  color: #fff;
  border-color: rgba(255, 255, 255, .45);
}
.has-immersive-header:not(.is-scrolled) .site-header--immersive .market-flag {
  width: 26px;
  height: 18px;
}
.has-immersive-header:not(.is-scrolled) .site-header--immersive .chrome-switch {
  padding: 4px;
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .28);
  box-shadow: none;
}
.has-immersive-header:not(.is-scrolled) .site-header--immersive .chrome-switch a {
  min-width: 2.45rem;
  height: 2rem;
  font-size: .82rem;
  color: rgba(255, 255, 255, .72);
}
.has-immersive-header:not(.is-scrolled) .site-header--immersive .chrome-switch a:hover { color: #fff; }
.has-immersive-header:not(.is-scrolled) .site-header--immersive .chrome-switch a.is-active {
  background: #fff;
  color: var(--navy);
  box-shadow: none;
}
.has-immersive-header:not(.is-scrolled) .site-header--immersive .btn-outline-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, .4);
  padding: .45rem .95rem;
  font-size: .95rem;
}
.has-immersive-header:not(.is-scrolled) .site-header--immersive .btn-outline-dark:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: #fff;
}
.has-immersive-header:not(.is-scrolled) .site-header--immersive .btn-navy {
  background: #fff;
  color: var(--navy);
  padding: .45rem 1.05rem;
  font-size: .95rem;
}
.has-immersive-header:not(.is-scrolled) .site-header--immersive .btn-navy:hover {
  background: var(--sky);
  color: var(--navy);
}

.has-immersive-header.is-scrolled .site-header--immersive {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom-color: #e6eaf2;
  box-shadow: 0 8px 24px rgba(10, 23, 51, .06);
}

.has-immersive-header .hero {
  padding: var(--immersive-header-pad) 0 3.5rem;
}

.claim-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  background-image:
    radial-gradient(ellipse 70% 55% at 88% 8%, rgba(47, 91, 255, .45), transparent 58%),
    radial-gradient(ellipse 50% 45% at 8% 92%, rgba(47, 91, 255, .18), transparent 55%),
    linear-gradient(165deg, #071022 0%, #0A1733 42%, #132a63 100%);
  color: #fff;
  padding: 4.5rem 0 4rem;
}
.claim-hero__glow {
  pointer-events: none;
  position: absolute;
  inset: auto -8% -20% 40%;
  height: 55%;
  background: radial-gradient(circle, rgba(47, 91, 255, .35), transparent 68%);
  filter: blur(8px);
}
.claim-hero__inner {
  position: relative;
  max-width: 760px;
  padding-bottom: .5rem;
}
.claim-hero__eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9cb6ff;
  margin-bottom: 1rem;
}
.claim-hero__title {
  font-size: clamp(2.15rem, 5.5vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 1.15rem;
  line-height: 1.12;
  letter-spacing: -.02em;
  max-width: 14ch;
}
.claim-hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.55;
  color: #cdd6ea;
  margin-bottom: 1.75rem;
  max-width: 40rem;
}
.claim-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-bottom: 1rem;
}
.claim-hero__actions .btn-lg {
  padding: .85rem 1.35rem;
  font-size: 1.05rem;
  border-radius: 12px;
}
.claim-hero .btn-outline-secondary {
  color: #fff;
  border-color: rgba(255,255,255,.4);
  background: transparent;
}
.claim-hero .btn-outline-secondary:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: #fff;
}
.claim-hero__note {
  font-size: .92rem;
  color: #9aa8c4;
  margin: 0 0 2.25rem;
}
.claim-hero__stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.25rem;
  padding: 1.35rem 0 0;
  margin: 0;
  border-top: 1px solid rgba(255,255,255,.12);
}
.claim-hero__stats li {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.claim-hero__stats strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.1;
}
.claim-hero__stats span {
  font-size: .82rem;
  color: #9aa8c4;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 600;
}
.claim-section { padding: 3.5rem 0; }
.claim-section--alt { background: #F6F8FC; }
.claim-benefit {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #E4E9F2;
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  height: 100%;
}
.claim-benefit__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: rgba(47,91,255,.1);
  color: #2F5BFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.claim-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
}
.claim-steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #E4E9F2;
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
}
.claim-steps__num {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #2F5BFF;
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  .has-immersive-header { --immersive-header-pad: 5.75rem; }
  .has-immersive-header .hero {
    padding-bottom: 2.5rem;
  }
  .has-immersive-header:not(.is-scrolled) .site-header--immersive .site-nav {
    min-height: 4.25rem;
    padding-top: .8rem;
    padding-bottom: .8rem;
  }
  .has-immersive-header:not(.is-scrolled) .site-header--immersive .brand-word {
    font-size: 1.7rem;
  }
  .claim-hero {
    padding-bottom: 3.25rem;
  }
  .claim-hero__title { max-width: none; }
}

/* ------------------------------------------------------------
   Pricing plan cards — highlighted-plan badge pinned top-right
   so card content stays aligned with the other plans.
   ------------------------------------------------------------ */
.plan-card { position: relative; overflow: hidden; }
.plan-card__badge {
  position: absolute;
  top: .8rem;
  right: .8rem;
  z-index: 1;
}

