/* ================================================================
   BASE — Reset, Utilities, Shared Components, Animations
   ================================================================ */

/* ----------------------------------------------------------------
   RESET
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 14px; }
body {
  font-size: 14px;
  font-family: var(--font-ui);
  font-weight: 400;
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--charcoal);
}

/* Section headings (About, Personal Coaching, Business Solutions, Education, Contact) */
h2 {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.1;
  color: #2F2F3B;
  margin-bottom: 35px;
  text-align: center;
}

/* Sub-headings */
h3 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
  color: #7CB159;
  text-align: left;
  margin-bottom: 20px;
}

h4 {
  font-size: 18px;
  line-height: 25px;
  color: var(--charcoal);
  text-align: left;
  margin-bottom: 25px;
  font-style: italic;
}

/* Links */
a { color: var(--olive); }
a:hover { color: var(--olive-dark); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font-ui); cursor: pointer; border: none; background: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms;
    transition-duration: 200ms;
    animation-iteration-count: 1;
  }
  .reveal { transform: none; }
}


/* ----------------------------------------------------------------
   UTILITIES & SHARED COMPONENTS
   ---------------------------------------------------------------- */

/* Container */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* Section heading elements */
.section-label {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--olive);
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--heading-dark);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-title--light { color: var(--white); }
.section-title--sm { font-size: clamp(20px, 2vw, 28px); margin-bottom: 12px; }

.section-rule {
  width: 60px;
  height: 2px;
  background: var(--olive);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 600ms var(--ease-out) 300ms;
  margin-bottom: 24px;
}
.section-rule--center { margin-left: auto; margin-right: auto; transform-origin: center; }
.section-rule--sm { margin-bottom: 16px; }
.section-rule--lg { margin-bottom: 40px; }
.section-rule--48 { margin-bottom: 48px; }
.section-rule.revealed { transform: scaleX(1); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* Default bullet — suppressed (each section handles its own) */
section ul li::before {
  content: none;
}

/* FAQ Accordion */
.faq-section { margin-top: 24px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.1); }
.faq-item:first-child { border-top: 1px solid rgba(0,0,0,0.1); }
.faq-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; width: 100%; padding: 14px 0 10px; cursor: pointer;
  text-align: left; background: none; border: none; min-height: 44px;
  font-family: var(--font-ui);
}
.faq-header:hover .faq-q { color: var(--olive); }
.faq-q { font-weight: 600; font-size: 14px; color: var(--heading-dark); transition: color 200ms ease; flex: 1; }
.faq-icon {
  font-size: 18px; font-weight: 300; color: var(--olive); flex-shrink: 0;
  line-height: 1; transition: transform 300ms var(--ease-out);
  width: 18px; text-align: center; display: inline-block;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 400ms var(--ease-out); }
.faq-item.open .faq-body { max-height: 800px; }
.faq-body p { font-weight: 300; font-size: 13px; color: var(--muted); line-height: 1.75; padding-bottom: 14px; padding-right: 32px; }
/* Dark variant */
.faq-section--dark .faq-item { border-bottom-color: rgba(255,255,255,0.1); }
.faq-section--dark .faq-item:first-child { border-top-color: rgba(255,255,255,0.1); }
.faq-section--dark .faq-q { color: rgba(255,255,255,0.85); }
.faq-section--dark .faq-header:hover .faq-q { color: var(--olive-light); }
.faq-section--dark .faq-body p { color: rgba(255,255,255,0.55); }
.faq-section--dark .faq-icon { color: var(--olive-light); }

/* Override global bird-bullet inside FAQ lists */
.faq-body ul { padding-left: 0; margin: 6px 0 12px; display: flex; flex-direction: column; gap: 4px; }
.faq-body ul li { padding-left: 16px; position: relative; font-weight: 300; font-size: 13px; line-height: 1.7; color: var(--muted); }
.faq-body ul li::before { content: ''; background-image: none; display: block; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--olive); margin: 0; }


/* ----------------------------------------------------------------
   ANIMATIONS & KEYFRAMES
   ---------------------------------------------------------------- */
@keyframes bgDrift {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(20px,-10px) scale(1.02); }
  66% { transform: translate(-10px,15px) scale(0.98); }
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.4; }
  50% { transform: scaleY(0.6); opacity: 1; }
}
@keyframes imgReveal { to { opacity: 1; } }
@keyframes birdDrift {
  0% { left: -160px; opacity: 0; }
  6% { opacity: 0.18; }
  92% { opacity: 0.18; }
  100% { left: calc(100vw + 160px); opacity: 0; }
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@keyframes spin { to { transform: rotate(360deg); } }


/* ----------------------------------------------------------------
   RESPONSIVE BASE
   ---------------------------------------------------------------- */
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .cta-box { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .cta-contacts { align-items: flex-start; }
}
