/* =============================================================
   HOME.CSS — Sally Mills Consulting
   Homepage-specific section styles (mobile-first)
   ============================================================= */

/* ──────────────────────────────────────────
   HERO
   ────────────────────────────────────────── */
.hero {
  background-color: var(--c-navy);
  padding: var(--sp-12) 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
      content: '';
    position: absolute;
    top: -150px;
    left: -80px;
    width: 700px;
    height: 700px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.09) 0%, transparent 68%);
    pointer-events: none;
}


.hero-inner {
  max-width: 740px;
  position: relative;
  z-index: 1;
}

.hero-location {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-secondary);
  margin-bottom: var(--sp-3);
}

.hero-h1 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--c-on-dark);
  margin-bottom: var(--sp-3);
}

.hero-lead {
  font-size: 18px;
  color: rgba(232, 237, 245, 0.65);
  line-height: 1.72;
  max-width: 580px;
  margin-bottom: var(--sp-4);
}

/* ──────────────────────────────────────────
   SOCIAL PROOF BAR
   ────────────────────────────────────────── */
.proof {
  background-color: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  padding: 28px 0;
}

.proof-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.proof-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
  white-space: nowrap;
}

.logo-strip {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.logo-strip li {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--c-muted);
}

/* ──────────────────────────────────────────
   ABOUT
   ────────────────────────────────────────── */
.about {
  background-color: var(--c-surface);
  padding: var(--sp-12) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  align-items: start;
}

.about-content h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--c-navy);
  margin-top: 6px;
  margin-bottom: var(--sp-3);
  line-height: 1.2;
}

.about-content p + p {
  margin-top: var(--sp-2);
}

.about-content .arrow-link {
  margin-top: var(--sp-3);
}

.headshot-wrap {
  aspect-ratio: 3 / 4;
  background-color: #E8EDF5;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--c-border);
  max-width: 360px;
}

.headshot-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 7fr 5fr;
    gap: var(--sp-8);
  }

  .headshot-wrap {
    max-width: none;
  }
}

/* ──────────────────────────────────────────
   OPTION LABELS (comparison view)
   ────────────────────────────────────────── */
.option-label {
  background-color: var(--c-navy-deep);
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.option-label-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.option-label-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(232, 237, 245, 0.4);
  white-space: nowrap;
}

.option-label-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

/* ──────────────────────────────────────────
   OPTION A — SERVICES, horizontal tabs, dark
   ────────────────────────────────────────── */
.services {
  background-color: var(--c-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--sp-12) 0;
}

.services .section-heading {
  margin-top: 6px;
  color: var(--c-on-dark);
}

.services .eyebrow {
  color: var(--c-secondary);
}

/* Tab nav bar */
.tab-nav {
  display: flex;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--sp-4);
  margin-bottom: var(--sp-6);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tab-nav::-webkit-scrollbar {
  display: none;
}

.tab-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 14px 24px 16px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  font-family: var(--font);
  flex-shrink: 0;
  transition: background-color var(--duration) var(--ease);
}

.tab-btn:hover {
  background-color: rgba(255, 255, 255, 0.04);
}

.tab-btn:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: -2px;
}

.tab-btn[aria-selected="true"] {
  border-bottom-color: var(--c-primary);
}

.tab-num {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(232, 237, 245, 0.3);
  transition: color var(--duration) var(--ease);
}

.tab-label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(232, 237, 245, 0.55);
  transition: color var(--duration) var(--ease);
}

.tab-btn[aria-selected="true"] .tab-num {
  color: var(--c-secondary);
}

.tab-btn[aria-selected="true"] .tab-label {
  color: var(--c-on-dark);
  font-weight: 700;
}

/* Tab panels */
.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

@media (min-width: 900px) {
  .tab-panel.is-active {
    grid-template-columns: 5fr 7fr;
    gap: var(--sp-8);
  }
}

.panel-problem {
  font-size: 18px;
  font-weight: 600;
  font-style: italic;
  color: var(--c-on-dark);
  line-height: 1.45;
  border-left: 3px solid var(--c-primary);
  padding-left: var(--sp-3);
  margin-bottom: var(--sp-3);
}

.panel-body {
  font-size: 15px;
  color: rgba(232, 237, 245, 0.65);
  line-height: 1.72;
  margin-bottom: var(--sp-3);
}

.panel-detail-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(232, 237, 245, 0.35);
  margin-bottom: var(--sp-2);
}

.detail-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: rgba(232, 237, 245, 0.7);
  line-height: 1.55;
}

.detail-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--c-primary);
  flex-shrink: 0;
  margin-top: 5px;
}

.panel-left .arrow-link {
  color: var(--c-secondary);
}

.panel-left .arrow-link:hover {
  color: var(--c-on-dark);
}

/* ──────────────────────────────────────────
   OPTION B — SERVICES, vertical tabs, dark
   ────────────────────────────────────────── */
.services-alt {
  background-color: var(--c-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--sp-12) 0;
}

.services-alt-header {
  margin-bottom: var(--sp-6);
}

.services-alt-header .eyebrow {
  color: var(--c-secondary);
}

.services-alt-header .section-heading {
  color: var(--c-on-dark);
  margin-top: 6px;
}

/* Vertical tabs — mobile: natural accordion order, desktop: two-column grid */
.tabs-v {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tabs-v h3 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
}

@media (min-width: 768px) {
  .tabs-v {
    display: grid;
    grid-template-columns: 260px 1fr;
    column-gap: var(--sp-8);
    position: relative;
    min-height: 560px;
    align-items: start;
  }

  /* All h3s in grid-row: 1 — margin-top stacks them visually without inflating row height */
  .tabs-v > h3:nth-child(1) { grid-column: 1; grid-row: 1; }
  .tabs-v > h3:nth-child(3) { grid-column: 1; grid-row: 1; margin-top: 56px; }
  .tabs-v > h3:nth-child(5) { grid-column: 1; grid-row: 1; margin-top: 112px; }
  .tabs-v > h3:nth-child(7) { grid-column: 1; grid-row: 1; margin-top: 168px; }

  /* Panels out of grid flow — row heights now set by h3 buttons only */
  .tabs-v > .panel-v {
    position: absolute;
    top: 0;
    left: calc(260px + var(--sp-8));
    right: 0;
  }
}

.tab-v {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: rgba(232, 237, 245, 0.5);
  text-align: left;
  cursor: pointer;
  transition:
    background-color var(--duration) var(--ease),
    color var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
}

.tab-v:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--c-on-dark);
}

.tab-v:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}

.tab-v[aria-selected="true"] {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.4);
  color: var(--c-on-dark);
  font-weight: 600;
}

.tab-v-chevron {
  font-size: 20px;
  line-height: 1;
  color: rgba(232, 237, 245, 0.2);
  flex-shrink: 0;
  transform: rotate(90deg); /* points down — accordion closed */
  transition:
    color var(--duration) var(--ease),
    transform var(--duration) var(--ease);
}

.tab-v[aria-selected="true"] .tab-v-chevron {
  color: var(--c-primary);
  transform: rotate(-90deg); /* points up — accordion open */
}

@media (min-width: 768px) {
  .tab-v-chevron {
    transform: none; /* points right on desktop */
  }

  .tab-v[aria-selected="true"] .tab-v-chevron {
    transform: none;
  }
}

/* Vertical tab panels */
.panel-v {
  display: none;
}

.panel-v.is-active {
  display: block;
  margin-top: var(--sp-1);
  margin-bottom: var(--sp-2);
}

@media (min-width: 768px) {
  .panel-v.is-active {
    margin-top: 0;
    margin-bottom: 0;
  }
}

.panel-v-problem {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--c-on-dark);
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin-bottom: var(--sp-3);
}

.panel-v-body {
  font-size: 15px;
  color: rgba(232, 237, 245, 0.65);
  line-height: 1.72;
  margin-bottom: var(--sp-3);
}

.panel-v .arrow-link {
  color: var(--c-secondary);
  display: inline-flex;
  margin-top: var(--sp-3);
}

.panel-v .arrow-link:hover {
  color: var(--c-on-dark);
}

/* Includes card */
.panel-v-includes {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: var(--sp-4);
}

.panel-v-includes-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(232, 237, 245, 0.3);
  margin-bottom: var(--sp-2);
}

/* Checklist */
.checklist {
  display: flex;
  flex-direction: column;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
  color: rgba(232, 237, 245, 0.65);
  line-height: 1.55;
}

.checklist li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.check-icon {
  color: var(--c-primary);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ──────────────────────────────────────────
   SPEAKING STRIP
   ────────────────────────────────────────── */
.speaking {
  background-color: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
  padding: var(--sp-8) 0;
}

.speaking-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  align-items: start;
}

@media (min-width: 900px) {
  .speaking-grid {
    grid-template-columns: 5fr 7fr;
    gap: var(--sp-8);
  }
}

.speaking-intro h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--c-navy);
  margin-top: 6px;
  margin-bottom: var(--sp-2);
  line-height: 1.2;
}

.speaking-intro .body-sm {
  margin-bottom: var(--sp-3);
}

.events-list {
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}

.badge-upcoming {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--c-primary);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.badge-past {
  background-color: transparent;
  color: var(--c-muted);
  border: 1px solid var(--c-border);
}

.ev-date {
  display: flex;
  align-items: center;
}

@media (min-width: 640px) {
  .ev-date {
    justify-content: flex-end;
  }
}

.event-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-border);
}

.event-row:first-child {
  border-top: 1px solid var(--c-border);
}

.event-row:last-child {
  border-bottom: none;
}

@media (min-width: 640px) {
  .event-row {
    grid-template-columns: 2fr 3fr 1.5fr;
    gap: var(--sp-3);
    align-items: center;
  }
}

.ev-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-navy);
}

.ev-detail {
  font-size: 13px;
  color: var(--c-body);
}

.ev-detail a {
  color: var(--c-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ev-detail a:hover {
  color: var(--c-tertiary);
}

.ev-detail a:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ──────────────────────────────────────────
   ARTICLES
   ────────────────────────────────────────── */
.articles {
  background-color: var(--c-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--sp-12) 0;
}

.articles-header .eyebrow {
  color: var(--c-secondary);
}

.articles-header .section-heading {
  color: var(--c-on-dark);
}

.articles-header .arrow-link {
  color: var(--c-secondary);
}

.articles-header .arrow-link:hover {
  color: var(--c-on-dark);
}

.articles .article-card {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.articles .article-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.12);
}

.articles .article-tag {
  color: var(--c-secondary);
}

.articles .article-title {
  color: var(--c-on-dark);
}

.articles .article-excerpt {
  color: rgba(232, 237, 245, 0.65);
}

.articles .article-date {
  color: rgba(232, 237, 245, 0.35);
}

.articles-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
  flex-wrap: wrap;
}

.articles-header .section-heading {
  font-size: clamp(22px, 2.5vw, 30px);
}

.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .articles-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .articles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ──────────────────────────────────────────
   CONTACT CTA
   ────────────────────────────────────────── */
.cta-section {
  background-color: var(--c-navy-deep);
  padding: var(--sp-12) 0;
}

.cta-card {
  background-color: var(--c-secondary);
  border-radius: 16px;
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
}

/* Geometric diagonal block — right half decoration */
.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 36%;
  height: 100%;
  background-color: var(--c-primary);
  clip-path: polygon(18% 0%, 100% 0%, 100% 100%, 0% 100%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.cta-heading {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-2);
}

.cta-body {
  font-size: 15px;
  color: var(--c-navy);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
}

.btn-cta-primary {
  background-color: var(--c-navy);
  color: var(--c-on-dark);
}

.btn-cta-primary:hover {
  background-color: var(--c-navy-deep);
  color: var(--c-on-dark);
}

@media (max-width: 767px) {
  .cta-card::before {
    display: none;
  }
}
