/* ============================================================
   Kevin Boyle Coaching. style.css
   Mobile-first. Edit variables at the top to retheme quickly.
============================================================ */

/* ------------------------------------------------------------
   DESIGN TOKENS
------------------------------------------------------------ */
/* Force light mode regardless of OS dark mode setting */
:root {
  color-scheme: light;
  --orange:      #FF6B1A;
  --orange-dark: #e05a10;
  --bg:          #FAF8F5;
  --bg-dark:     #1A1A1A;
  --text:        #1A1A1A;
  --text-muted:  #666;
  --white:       #FFFFFF;
  --border:      #E8E4DE;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius:   8px;
  --radius-lg: 14px;

  /* Section spacing */
  --section-pad: clamp(3rem, 8vw, 6rem);
  --container:   1100px;
  --gutter:      1.25rem;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

/* ------------------------------------------------------------
   LAYOUT UTILITIES
------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ------------------------------------------------------------
   TYPOGRAPHY
------------------------------------------------------------ */
h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; font-family: var(--font-body); }

p { max-width: 60ch; }

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

/* ------------------------------------------------------------
   BUTTONS
------------------------------------------------------------ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  border-radius: var(--radius);
  transition: background 0.15s ease, transform 0.1s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

/* Primary CTA: orange, large tap target */
.btn-primary {
  background: var(--orange);
  color: var(--white);
  padding: 1rem 2rem;
  font-size: 1.05rem;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover { background: var(--orange-dark); }

/* Nav CTA: smaller, same colour */
.btn-nav {
  background: var(--orange);
  color: var(--white);
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.btn-nav:hover { background: var(--orange-dark); }

.cta-reassure {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  max-width: none;
}

/* ------------------------------------------------------------
   PHOTO PLACEHOLDERS
   Remove these blocks once you have real images.
   Each has a comment in the HTML telling you what photo goes there.
------------------------------------------------------------ */
.photo-placeholder,
.client-photo-placeholder {
  background: var(--border);
  border: 2px dashed #ccc;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}

.hero-photo .photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  max-width: 420px;
  border-radius: var(--radius-lg);
}

.about-photo .photo-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 380px;
  border-radius: var(--radius-lg);
}

.client-photo-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 0.7rem;
}

/* ------------------------------------------------------------
   HEADER / NAV
------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding-block: 1rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}

/* ------------------------------------------------------------
   1. HERO
------------------------------------------------------------ */
.hero {
  padding-block: var(--section-pad);
  background: var(--bg);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: flex-start;
}

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

.hero-copy h1 { margin-bottom: 1rem; }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 46ch;
}

.hero-photo { width: 100%; }

/* Desktop: side by side */
@media (min-width: 768px) {
  .hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
  }
  .hero-copy { flex: 1; }
  .hero-photo { flex: 0 0 auto; width: 40%; max-width: 420px; }
}

/* ------------------------------------------------------------
   2. PROBLEM
------------------------------------------------------------ */
.problem {
  padding-block: var(--section-pad);
  background: var(--bg-dark);
  color: var(--white);
}

.problem-inner { max-width: 680px; }

.problem .section-label { color: var(--orange); }

.problem h2 { color: var(--white); margin-bottom: 1.5rem; }

.problem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.problem-list li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 1.05rem;
  color: #ccc;
}

.problem-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.problem-close {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}

/* ------------------------------------------------------------
   3. WHAT I OFFER
------------------------------------------------------------ */
.offer {
  padding-block: var(--section-pad);
  background: var(--bg);
}

.offer h2 { margin-bottom: 2rem; }

.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.offer-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.offer-card h3 {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.offer-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Add orange accent to first card only */
.offer-card:first-child {
  border-top: 3px solid var(--orange);
}

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

/* ------------------------------------------------------------
   4. WHAT YOU'LL WORK ON
------------------------------------------------------------ */
.focus {
  padding-block: var(--section-pad);
  background: var(--bg-dark);
  color: var(--white);
}

.focus .section-label { color: var(--orange); }
.focus h2 { color: var(--white); margin-bottom: 2rem; }

.focus-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.focus-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  flex: 1 1 120px;
  min-width: 100px;
  text-align: center;
}

.focus-icon {
  font-size: 1.4rem;
  color: var(--orange);
  line-height: 1;
}

.focus-item span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ddd;
  letter-spacing: 0.03em;
}

/* ------------------------------------------------------------
   5. PROOF / TESTIMONIALS
------------------------------------------------------------ */
.proof {
  padding-block: var(--section-pad);
  background: var(--bg);
}

.proof h2 { margin-bottom: 2rem; }

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.testimonial-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Orange accent on the left edge */
.testimonial-card { border-left: 3px solid var(--orange); }

blockquote {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  font-style: italic;
  max-width: none;
}

blockquote::before { content: '\201C'; }
blockquote::after  { content: '\201D'; }

.client-name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.1rem;
}

.client-result {
  font-size: 0.85rem;
  color: var(--orange);
  font-weight: 600;
  max-width: none;
}

.testimonial-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ------------------------------------------------------------
   6. LOW-RISK ENTRY CTA
------------------------------------------------------------ */
.cta-block {
  padding-block: var(--section-pad);
  background: var(--bg-dark);
  color: var(--white);
  text-align: center;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 560px;
}

.cta-block h2 { color: var(--white); }

.cta-block p {
  color: #bbb;
  font-size: 1.05rem;
  max-width: 44ch;
  text-align: center;
}

.cta-block .cta-reassure { color: #888; }

/* ------------------------------------------------------------
   7. ABOUT
------------------------------------------------------------ */
.about {
  padding-block: var(--section-pad);
  background: var(--bg);
}

.about-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: flex-start;
}

.about-copy h2 { margin-bottom: 1.25rem; }

.about-copy p {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

@media (min-width: 768px) {
  .about-inner {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }
  .about-photo { flex: 0 0 auto; width: 35%; max-width: 380px; }
  .about-copy  { flex: 1; }
}

/* ------------------------------------------------------------
   FOOTER
------------------------------------------------------------ */
.site-footer {
  background: var(--bg-dark);
  color: #aaa;
  padding-block: 2.5rem;
  border-top: 1px solid #2a2a2a;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-wordmark {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  max-width: none;
}

.footer-location {
  font-size: 0.85rem;
  max-width: none;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #aaa;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover { color: var(--white); }

.footer-copy {
  font-size: 0.75rem;
  margin-top: 1rem;
  color: #555;
  max-width: none;
}

/* ------------------------------------------------------------
   TESTIMONIAL CARD: photo + name layout fix
   (wraps the photo placeholder and name/result together)
------------------------------------------------------------ */
.testimonial-card {
  gap: 0;
}

.testimonial-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.client-meta { display: flex; flex-direction: column; gap: 0.15rem; }

.testimonial-card blockquote { margin-bottom: 0; }
