:root {
  --navy: #0f172a;
  --navy-soft: #1e293b;
  --gold: #d4a017;
  --gold-dark: #a87908;
  --white: #ffffff;
  --gray: #f8fafc;
  --line: #e2e8f0;
  --text: #172033;
  --muted: #64748b;
  --success: #0f9f6e;
  --radius: 8px;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.12rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(212, 160, 23, 0.55);
  border-radius: 8px;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  letter-spacing: 0;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 30px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.top-nav a:hover {
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-cta {
  min-width: max-content;
  padding: 10px 14px;
  border: 1px solid rgba(212, 160, 23, 0.55);
  border-radius: 8px;
  color: var(--gold);
  font-weight: 700;
}

.header-cta.solid {
  color: var(--navy);
  background: var(--gold);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.88fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(42px, 7vw, 84px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(15, 23, 42, 0.99), rgba(15, 23, 42, 0.91) 58%, rgba(30, 41, 59, 0.8)),
    radial-gradient(circle at 85% 18%, rgba(212, 160, 23, 0.16), transparent 30%),
    var(--navy);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 3.05rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  color: var(--navy);
  font-size: 1.08rem;
}

.hero-text {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.75;
}

.hero-actions,
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.button.primary {
  color: var(--navy);
  background: var(--gold);
}

.button.primary:hover {
  background: #e1af2a;
}

.button.secondary {
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
}

.hero .button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.wide {
  width: 100%;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.trust-row span {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.06);
}

.trust-row strong {
  color: var(--gold);
}

.hero-media {
  position: relative;
  min-height: 450px;
}

.hero-media img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section {
  padding: clamp(56px, 8vw, 98px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 28px;
}

.section-heading.split {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.section-heading p:not(.eyebrow),
.apply-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.strip div {
  padding: 28px 22px;
  background: var(--gray);
}

.strip strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 2rem;
}

.strip span {
  color: var(--muted);
  font-size: 0.95rem;
}

.industry-grid,
.expert-grid,
.admin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.industry-card,
.expert-card,
.admin-card,
.profile-panel,
.booking-panel,
.apply-form,
.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.industry-card {
  display: block;
  min-height: 154px;
  padding: 18px;
  cursor: pointer;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.industry-card:hover,
.industry-card.active {
  border-color: var(--gold);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.11);
  transform: translateY(-2px);
}

.industry-card.active .industry-icon {
  color: var(--white);
  background: var(--gold);
}

.industry-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--navy);
  background: rgba(212, 160, 23, 0.18);
  font-weight: 900;
}

.industry-card p,
.expert-card p {
  color: var(--muted);
  line-height: 1.55;
}

.experts-section,
.booking-shell,
.admin-section {
  background: var(--gray);
}

.search {
  display: grid;
  min-width: min(100%, 340px);
  gap: 8px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--text);
  background: var(--white);
}

textarea {
  resize: vertical;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter-pill {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 800;
}

.filter-pill.active {
  color: var(--navy);
  border-color: var(--gold);
  background: rgba(212, 160, 23, 0.18);
}

.expert-card {
  display: grid;
  align-content: start;
  min-height: 344px;
  padding: 18px;
}

.expert-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  display: grid;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  color: var(--navy);
  background: linear-gradient(145deg, rgba(212, 160, 23, 0.35), rgba(255, 255, 255, 0.4));
  border: 1px solid rgba(212, 160, 23, 0.42);
  font-weight: 900;
}

.rating {
  color: var(--gold-dark);
  font-size: 0.9rem;
  font-weight: 900;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0;
}

.tag {
  padding: 6px 8px;
  border-radius: 999px;
  color: var(--navy-soft);
  background: var(--gray);
  font-size: 0.78rem;
  font-weight: 800;
}

.expert-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.price-list {
  display: grid;
  gap: 7px;
  margin: 4px 0 16px;
  padding: 12px;
  border-radius: 8px;
  background: var(--gray);
}

.price-list span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.86rem;
}

.price-list strong {
  color: var(--navy);
}

.price {
  color: var(--navy);
  font-weight: 900;
}

.mini-button {
  padding: 9px 11px;
  border: 0;
  border-radius: 8px;
  color: var(--navy);
  background: var(--gold);
  cursor: pointer;
  font-weight: 900;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
}

.profile-panel,
.booking-panel,
.apply-form {
  padding: 22px;
}

.profile-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.profile-list div {
  padding: 14px;
  border-radius: 8px;
  background: var(--gray);
}

.profile-list span {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.profile-list strong {
  color: var(--navy);
}

.booking-panel {
  display: grid;
  gap: 16px;
}

.service-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.service-card {
  display: grid;
  gap: 8px;
  min-height: 164px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: var(--white);
  cursor: pointer;
  text-align: left;
}

.service-card.active {
  border-color: var(--gold);
  background: rgba(212, 160, 23, 0.12);
}

.service-card span {
  color: var(--navy);
  font-weight: 900;
}

.service-card strong {
  color: var(--gold-dark);
  font-size: 1.25rem;
}

.service-card small {
  color: var(--muted);
  line-height: 1.45;
}

.field {
  display: grid;
  gap: 8px;
}

.field label,
.label {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 900;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.time-slot {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
  font-weight: 800;
}

.time-slot.selected {
  border-color: var(--gold);
  background: rgba(212, 160, 23, 0.2);
}

.time-slot.taken {
  color: #94a3b8;
  background: #eef2f7;
  cursor: not-allowed;
}

.payment-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
}

.payment-box span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.payment-box > span {
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 900;
  white-space: nowrap;
}

.form-note {
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}

.apply-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
  color: var(--white);
  background: var(--navy);
}

.apply-band h2 {
  color: var(--white);
}

.apply-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.apply-form {
  display: grid;
  gap: 12px;
}

.admin-card {
  padding: 20px;
}

.admin-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 800;
}

.admin-card strong {
  color: var(--navy);
  font-size: 2rem;
}

.profile-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.profile-tab {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
  font-weight: 800;
}

.profile-tab.active {
  border-color: var(--gold);
  background: rgba(212, 160, 23, 0.18);
}

.profile-tab.expert-only {
  border-style: dashed;
}

.access-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.table-wrap {
  margin-top: 18px;
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--navy);
  background: var(--white);
  font-size: 0.86rem;
  text-transform: uppercase;
}

td {
  color: var(--muted);
}

.status {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--success);
  background: rgba(15, 159, 110, 0.1);
  font-weight: 900;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.68);
}

.modal.open {
  display: flex;
}

.modal-card {
  position: relative;
  width: min(100%, 560px);
  padding: 28px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  font-size: 1.35rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy);
}

.site-footer strong {
  color: var(--gold);
}

@media (max-width: 1040px) {
  .hero,
  .booking-layout,
  .apply-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 0;
  }

  .industry-grid,
  .expert-grid,
  .admin-grid,
  .strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .top-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-actions,
  .header-cta {
    width: 100%;
    text-align: center;
  }

  .header-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .section-heading.split {
    align-items: stretch;
    flex-direction: column;
  }

  .industry-grid,
  .expert-grid,
  .admin-grid,
  .strip,
  .service-options,
  .time-slots {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .payment-box {
    align-items: flex-start;
    flex-direction: column;
  }
}
