/* ============================================
   EverBot Website — styles.css
   Complete component library and design tokens
   Light theme — warm, approachable, tech-forward
   ============================================ */

/* ----- Custom Properties ----- */
:root {
  --bg-primary:     #F8FAFC;
  --bg-surface:     #FFFFFF;
  --bg-elevated:    #EFF2F7;
  --bg-dark:        #1A1A28;
  --blue-brand:     #3BBDF5;
  --blue-action:    #0C6BA8;
  --blue-light:     #E8F4FD;
  --teal:           #40C8C8;
  --teal-light:     #E6F9F9;
  --purple:         #7846DC;
  --purple-light:   #F0EAFA;
  --text-primary:   #1A1A28;
  --text-secondary: #5A6675;
  --text-light:     #F0F4F8;
  --border:         #E2E8F0;
  --border-dark:    #2A3040;
  --white:          #FFFFFF;
  --shadow-sm:      0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:      0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:      0 12px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
}

/* ----- Reset & Base ----- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  padding-top: 68px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue-action);
  text-decoration: none;
  transition: color 0.2s ease;
}

/* External link indicator — applies to links opening in new tabs */
a[target="_blank"]::after {
  content: " \2197";
  font-size: 0.75em;
}

/* Exclude buttons, logos, images, and social icons from indicator */
a[target="_blank"].btn-primary::after,
a[target="_blank"].btn-secondary::after,
a[target="_blank"].btn-ghost::after,
a[target="_blank"].btn-book-session::after,
a[target="_blank"].btn-club-register::after,
a[target="_blank"].social-link::after,
a[target="_blank"].nav-logo::after,
.footer-col a[target="_blank"]::after {
  content: none;
}

a:hover {
  color: var(--purple);
}

ul, ol {
  list-style: none;
}

/* ----- Skip Navigation ----- */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 8px 16px;
  background: var(--blue-brand);
  color: var(--white);
  font-weight: 700;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
  z-index: 999;
  transition: top 0.2s ease;
}

.skip-nav:focus {
  top: 0;
}

/* ----- Focus Styles ----- */
*:focus-visible {
  outline: 2px solid var(--blue-brand);
  outline-offset: 3px;
  border-radius: 4px;
}

*:focus:not(:focus-visible) {
  outline: none;
}

/* ----- Typography Scale ----- */

/* Display — hero headlines */
.text-display {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--text-primary);
}

/* H1 — page headlines */
h1, .text-h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--text-primary);
}

/* H2 — section headlines */
h2, .text-h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
  color: var(--blue-action);
}

/* H3 — card headlines, subsections */
h3, .text-h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.5;
  color: var(--text-primary);
}

/* Body — standard paragraph text */
p, .text-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-primary);
}

/* Supporting — captions, meta, fine print */
.text-supporting {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Label — section identifiers, tags */
.text-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-action);
}

/* ----- Buttons ----- */

/* Primary Button — main CTAs */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  background: var(--blue-brand);
  color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
  overflow: visible;
  line-height: 1.4;
}

.btn-primary:hover {
  background: var(--blue-action);
  color: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* Secondary Button — supporting CTAs */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  background: transparent;
  color: var(--blue-action);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: 2px solid var(--blue-brand);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  overflow: visible;
  line-height: 1.4;
}

.btn-secondary:hover {
  background: var(--blue-light);
  color: var(--blue-action);
  transform: translateY(-1px);
}

/* Ghost Button — low-emphasis links styled as buttons */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: transparent;
  color: var(--blue-action);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-ghost:hover {
  color: var(--blue-action);
  border-color: var(--blue-brand);
  background: var(--blue-light);
}

/* ----- Navigation ----- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 68px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a.active {
  border-bottom: 2px solid var(--blue-brand);
  padding-bottom: 2px;
}

.nav-cta {
  margin-left: 12px;
}
.nav-cta .btn-primary {
  padding: 10px 22px;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Mobile hamburger — visible below 768px */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

/* Mobile overlay nav */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(248, 250, 252, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.nav-mobile-overlay.open {
  display: flex;
}

.nav-mobile-overlay a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.05em;
}

.nav-mobile-overlay a:hover {
  color: var(--blue-action);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .nav { padding: 0 20px; }
}

/* ----- Section Wrappers ----- */
.section {
  padding: 96px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-full {
  padding: 96px 40px;
  width: 100%;
}

.section-full .section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-surface {
  background: var(--bg-surface);
}

.section-centered {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 96px 40px;
}

@media (max-width: 768px) {
  .section,
  .section-full,
  .section-centered {
    padding: 64px 20px;
  }
}

/* ----- Grid Layouts ----- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3 { grid-template-columns: 1fr; }
}

/* ----- Cards ----- */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.card:hover {
  border-color: var(--blue-brand);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.card-highlight {
  background: var(--bg-surface);
  border: 2px solid var(--blue-brand);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.card-callout {
  background: var(--blue-light);
  border: 2px solid var(--blue-brand);
  border-radius: 12px;
  padding: 36px 40px;
  text-align: center;
}

.card-callout-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--text-primary);
  text-transform: none;
  margin-bottom: 24px;
}

.callout-prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.callout-price-item {
  text-align: center;
}
.callout-price-item .callout-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-action);
  line-height: 1.2;
  margin-bottom: 4px;
}
.callout-price-item .callout-tier-name {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
@media (max-width: 768px) {
  .card-callout {
    padding: 28px 24px;
  }
  .callout-prices {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ----- Stat Strip ----- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--blue-action);
  line-height: 1.1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
@media (max-width: 768px) {
  .stat-strip {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .stat-number {
    font-size: 2.6rem;
  }
}

/* ----- Forms ----- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Required field indicator */
.form-label.required::after {
  content: " *";
  color: #DC2626;
}

.form-input,
.form-select,
.form-textarea {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text-primary);
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--blue-brand);
  box-shadow: 0 0 0 3px rgba(59, 189, 245, 0.15);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235A6675' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-message {
  padding: 16px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  display: none;
}

.form-message.success {
  background: var(--teal-light);
  border: 1px solid var(--teal);
  color: #0A7A7A;
  display: block;
}

.form-message.error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #DC2626;
  display: block;
}

.form-message.error a {
  color: #DC2626;
  font-weight: 700;
  text-decoration: underline;
}

.form-message.error a:hover {
  color: #B91C1C;
}

/* ----- FAQ Accordion ----- */
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--blue-action);
}

.faq-question svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question svg {
  transform: rotate(45deg);
  color: var(--blue-action);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 24px;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ----- Footer (dark for contrast) ----- */
.footer {
  background: var(--bg-dark);
  border-top: none;
  padding: 64px 40px 32px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 48px;
  align-items: start;
}

.footer-col-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-brand);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: #8899AA;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text-light);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: #8899AA;
}

.footer-chamber {
  position: absolute;
  top: 64px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-chamber-badge {
  height: 96px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.footer-chamber p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: #8899AA;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-chamber { position: static; margin-top: 8px; align-items: flex-start; }
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer { padding: 48px 20px 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-chamber { align-items: flex-start; }
}

/* ----- Sticky CTA ----- */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.sticky-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

@media (max-width: 768px) {
  .sticky-cta {
    right: 16px;
    left: 16px;
    bottom: 16px;
    text-align: center;
  }
  .sticky-cta .btn-primary {
    width: 100%;
    font-size: 0.9rem;
    padding: 14px 20px;
  }
}

/* ----- Scroll Animations ----- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Logo Handling ----- */
/* Logo PNG has true transparency — no blend mode needed */

/* ----- About Page — Headshot ----- */
.about-headshot {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--blue-brand);
  box-shadow: var(--shadow-lg);
}

/* Placeholder headshot when image not yet available */
.about-headshot-placeholder {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 3px solid var(--blue-brand);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ----- Hero Section ----- */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 40px 120px;
  position: relative;
  background: linear-gradient(135deg,
    var(--bg-primary) 0%,
    #EFF8FE 40%,
    #F0EAFA 70%,
    var(--bg-primary) 100%);
}

/* Soft decorative shapes — warm color accents */
.hero::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(59, 189, 245, 0.12) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(120, 70, 220, 0.08) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

/* Two-column layout */
.hero-layout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 64px;
  max-width: 1100px;
  width: 100%;
}

/* Left column — text */
.hero-text {
  flex: 1;
  min-width: 0;
}

.hero-text .text-display {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  padding-bottom: 4px;
  overflow: visible;
}

.hero-text p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 500px;
  line-height: 1.8;
  overflow: visible;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-buttons .btn-primary {
  padding: 16px 32px;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.hero-credibility {
  font-size: 0.82rem;
  color: var(--text-secondary);
  max-width: 440px;
  line-height: 1.6;
  overflow: visible;
}

/* Right column — prominent glowing logo */
.hero-logo {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo img {
  width: 340px;
  height: 340px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 30px rgba(59, 189, 245, 0.4))
    drop-shadow(0 0 60px rgba(59, 189, 245, 0.2))
    drop-shadow(0 0 100px rgba(64, 200, 200, 0.1));
  animation: logo-pulse 6s ease-in-out infinite alternate;
}

@keyframes logo-pulse {
  0%   {
    filter:
      drop-shadow(0 0 25px rgba(59, 189, 245, 0.35))
      drop-shadow(0 0 50px rgba(59, 189, 245, 0.15))
      drop-shadow(0 0 80px rgba(64, 200, 200, 0.08));
  }
  100% {
    filter:
      drop-shadow(0 0 40px rgba(59, 189, 245, 0.5))
      drop-shadow(0 0 80px rgba(59, 189, 245, 0.25))
      drop-shadow(0 0 120px rgba(64, 200, 200, 0.15));
  }
}

@media (max-width: 900px) {
  .hero-layout {
    flex-direction: column-reverse;
    text-align: center;
    gap: 40px;
  }
  .hero-text p,
  .hero-credibility {
    max-width: 100%;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-logo img {
    width: 260px;
    height: 260px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 20px 80px;
  }
  .hero-logo img {
    width: 220px;
    height: 220px;
  }
}

/* ----- Pathway Cards ----- */
.pathway-cards {
  padding: 96px 40px;
  position: relative;
  background: var(--bg-surface);
}

.pathway-cards .section-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

@media (max-width: 768px) {
  .pathway-cards {
    padding: 64px 20px;
  }
}

/* ----- About Page Layout ----- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.about-grid .about-headshot-col {
  display: flex;
  justify-content: center;
  padding-top: 16px;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-grid .about-headshot-col {
    order: -1;
  }
}

/* ----- Consulting Tiers ----- */
.tier-card {
  display: flex;
  flex-direction: column;
}

.tier-card .tier-name {
  margin-bottom: 8px;
}

.tier-card .tier-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue-action);
  margin-bottom: 4px;
}

.tier-card .tier-price-original {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-decoration: line-through;
  margin-bottom: 16px;
}

.tier-card .tier-best-for {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-style: italic;
}

.tier-card .tier-deliverable {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.tier-card .tier-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  flex-grow: 1;
}
.tier-card .tier-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 8px;
}
.tier-card .tier-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue-action);
  font-weight: 700;
}

.tier-card .tier-examples {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 24px;
}

.tier-card .tier-cta-note {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 12px;
}

/* ----- Steps (How It Works) ----- */
.steps {
  counter-reset: step;
}

.step {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue-action);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ----- Testimonials ----- */
.testimonial {
  border-left: 3px solid var(--blue-brand);
  padding-left: 24px;
  margin-bottom: 32px;
}

.testimonial blockquote {
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 8px;
}

.testimonial cite {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-style: normal;
}

/* ----- Email Capture ----- */
.email-capture {
  background: var(--blue-light);
  border: 1px solid rgba(59, 189, 245, 0.3);
  border-radius: 16px;
  padding: 48px;
}

.email-capture h2 {
  margin-bottom: 16px;
}

.email-capture p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.email-capture-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
}

.email-capture-form .form-input {
  flex: 1;
}

@media (max-width: 768px) {
  .email-capture {
    padding: 32px 20px;
  }
  .email-capture-form {
    flex-direction: column;
  }
}

/* ----- Policies Page ----- */
.policies-toc {
  margin-bottom: 48px;
  padding: 24px 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.policies-toc p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.policies-toc ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.policies-toc a {
  font-size: 0.95rem;
}

.policies-section {
  margin-bottom: 64px;
}

.policies-section h2 {
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.policies-section h3 {
  margin-top: 24px;
  margin-bottom: 12px;
}

.policies-section p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.policies-section ul,
.policies-section ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.policies-section li {
  color: var(--text-secondary);
  margin-bottom: 8px;
  list-style: disc;
}

.policies-section ol li {
  list-style: decimal;
}

/* ----- Contact Page ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-primary);
  font-size: 1.0625rem;
}

.contact-info-item a {
  color: var(--text-primary);
  font-size: 1.0625rem;
}

.contact-info-item a:hover {
  color: var(--blue-action);
}

/* Social media links with icons */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-size: 1.0625rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.social-link svg {
  flex-shrink: 0;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.social-link:hover {
  color: var(--blue-action);
}

.social-link:hover svg {
  color: var(--blue-action);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ----- 404 Error Page ----- */
.error-page {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.error-logo {
  display: block;
  width: 120px;
  height: 120px;
  margin: 0 auto 32px;
  opacity: 0.3;
  filter: grayscale(30%);
}

/* ----- Gallery Grid (AI Club student work) ----- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* ----- Video Embed ----- */
.video-embed {
  width: 250px;
  height: 445px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .video-embed {
    width: 220px;
    height: 390px;
    margin: 0 auto;
  }
}

/* ----- Calendar Embed ----- */
.calendar-embed {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--bg-surface);
  padding: 8px;
}

.calendar-embed iframe {
  width: 100%;
  border: none;
  border-radius: 12px;
}

/* ----- Utility ----- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.text-center { text-align: center; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mb-64 { margin-bottom: 64px; }
