/* AM Coaching website: layout and components.
   Colours and type come from brand.css and are not repeated here. To change
   the palette, edit brand.css (shared with the DISC snapshot and the decks). */

:root {
  --wrap: 72rem;                 /* page width for full sections */
  --shadow: 0 10px 30px rgba(4, 55, 95, 0.08);
  --header-h: 72px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body { background: #fff; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* --- layout ---------------------------------------------------------------- */

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 3.5rem 0; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--tight { padding: 2.25rem 0; }

.divider {
  width: 56px; height: 3px; border-radius: 2px;
  background: var(--teal); margin: 0 0 1.1rem;
}
.divider--center { margin-left: auto; margin-right: auto; }
.divider--light { background: var(--sand); }

.eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--teal); margin: 0 0 0.75rem;
}

.section h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.section h3 { font-size: 1.2rem; }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--ink); }
.muted { color: var(--ink-soft); }
.text-center { text-align: center; }
.measure { max-width: var(--measure); }
.measure--center { margin-left: auto; margin-right: auto; }

.split { display: grid; gap: 2.5rem; align-items: center; }
.split img { width: 100%; border-radius: 14px; }
.split--reverse > :first-child { order: 2; }
.split--text { align-items: start; }
.split--text > :last-child { margin-bottom: 0; }

/* Tinted panel used in place of a photo beside a block of text. */
.panel { background: var(--paper); border-radius: 14px; padding: 1.75rem 2rem; }
.panel > :last-child { margin-bottom: 0; }

@media (min-width: 900px) {
  .section { padding: 5rem 0; }
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 0; }
  /* The quote carries the section, so its photo gets the narrower column. */
  .split--story { grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; }
}

/* --- buttons --------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: inherit; font-weight: 600; font-size: 1rem;
  padding: 0.85rem 1.4rem; border-radius: var(--radius);
  border: 2px solid var(--navy); background: var(--navy); color: #fff;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.btn:hover { background: #052c4d; border-color: #052c4d; transform: translateY(-1px); }
.btn--secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--secondary:hover { background: var(--paper); }
.btn--teal { background: var(--teal); border-color: var(--teal); }
.btn--teal:hover { background: #11707f; border-color: #11707f; }
.btn--light { background: #fff; border-color: #fff; color: var(--navy); }
.btn--light:hover { background: var(--paper); border-color: var(--paper); }
.btn--small { padding: 0.55rem 0.95rem; font-size: 0.9rem; }
.btn--block { width: 100%; }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; align-items: center; margin-top: 1.5rem; }
.cta-note { font-size: 0.9rem; color: var(--ink-soft); margin: 0.75rem 0 0; }
.section--navy .cta-note { color: rgba(255, 255, 255, 0.78); }

.text-link { color: var(--teal); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* --- header ---------------------------------------------------------------- */

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--navy); color: #fff; padding: 0.6rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--sand);
  transition: box-shadow 200ms ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex; align-items: center; gap: 0.75rem;
  min-height: var(--header-h); padding-top: 0.5rem; padding-bottom: 0.5rem;
}
.brand { display: inline-flex; align-items: center; margin-right: auto; }
.brand img { height: 38px; width: auto; }

.site-nav { display: none; align-items: center; gap: 1.6rem; }
.site-nav a { color: var(--navy); font-weight: 500; text-decoration: none; padding: 0.25rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--teal); }
.site-nav a.is-active { color: var(--teal); border-bottom-color: var(--teal); }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius);
  background: transparent; border: 2px solid var(--sand); cursor: pointer;
}
.menu-toggle span { position: relative; width: 20px; height: 2px; background: var(--navy); }
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--navy);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.mobile-nav { display: none; background: #fff; border-top: 1px solid var(--sand); }
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block; padding: 0.9rem 1.25rem; color: var(--navy);
  font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--paper);
}
.mobile-nav a:hover, .mobile-nav a.is-active { color: var(--teal); }

@media (min-width: 900px) {
  .site-nav { display: flex; }
  .menu-toggle, .mobile-nav, .header-cta--mobile { display: none !important; }
}
@media (max-width: 899px) {
  .header-cta--desktop { display: none; }
}

/* --- hero ------------------------------------------------------------------ */

.hero { background: linear-gradient(180deg, var(--paper) 0%, #fff 100%); padding: 2.5rem 0 3rem; }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.08; margin-bottom: 1rem; }
.hero .lead { max-width: 36rem; }
.hero-portrait { width: 100%; max-width: 440px; margin: 0 auto; border-radius: 18px; box-shadow: var(--shadow); }

@media (min-width: 900px) {
  .hero { padding: 4rem 0 4.5rem; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 3rem; }
  .hero-portrait { margin: 0 0 0 auto; }
}

/* --- stats and credentials ------------------------------------------------- */

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; text-align: center; }
.stat strong {
  display: block; font-family: var(--font-head); font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.75rem); color: var(--navy); line-height: 1.1;
}
.stat span { color: var(--ink-soft); font-size: 0.95rem; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); } }

.badge-row { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; margin: 0; padding: 0; list-style: none; }
.badge-row--center { justify-content: center; }
.badge-item { display: flex; align-items: center; gap: 0.7rem; }
.badge-item img { height: 64px; width: 64px; border-radius: 12px; flex: none; object-fit: contain; }
.badge-item span { font-size: 0.9rem; font-weight: 500; color: var(--navy); max-width: 9rem; line-height: 1.3; }

/* --- story band ------------------------------------------------------------ */

.story { position: relative; }
.story blockquote { margin: 0; font-size: 1.12rem; line-height: 1.65; }
.story blockquote p { margin-bottom: 1rem; }
.story blockquote::before {
  content: "\201C"; display: block; font-family: var(--font-head);
  font-size: 4rem; line-height: 0.6; color: var(--clay); margin: 0.5rem 0 1rem;
}

/* --- persona cards --------------------------------------------------------- */

/* No photos here on purpose: the hero carries the one portrait, and these
   cards use a simple line icon each so the section reads as content and
   space rather than a wall of faces. */
.cards { display: grid; gap: 1.5rem; }
.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--sand); border-radius: 14px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.card:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.card-body { padding: 1.75rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
.card-icon {
  flex: none; width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center; background: var(--paper); color: var(--teal);
}
.card-icon svg { width: 26px; height: 26px; }
.card-num { font-family: var(--font-head); font-weight: 600; color: var(--clay); font-size: 1.1rem; }
.card h3 { margin-bottom: 0.25rem; }
.card p { margin-bottom: 0.75rem; }
.card .text-link { margin-top: auto; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, 1fr); } }

/* --- lists ----------------------------------------------------------------- */

.checklist { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 0.85rem; }
.checklist li { display: flex; gap: 0.75rem; align-items: flex-start; }
.checklist li::before { content: "\2192"; color: var(--teal); font-weight: 700; flex: none; }
.checklist--large { gap: 0; border-top: 1px solid var(--sand); }
.checklist--large li { padding: 0.9rem 0; border-bottom: 1px solid var(--sand); font-size: 1.05rem; }

.bullets { margin: 0 0 1.5rem; padding-left: 1.2rem; display: grid; gap: 0.5rem; }
.bullets li::marker { color: var(--teal); }

.reasons { display: grid; gap: 1.5rem; margin-top: 2rem; }
.reason { padding-left: 1rem; border-left: 3px solid var(--teal); }
.reason h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.reason p { margin: 0; }

.steps { display: grid; gap: 1.25rem; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step::before {
  counter-increment: step; content: counter(step);
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--teal); color: #fff;
  font-family: var(--font-head); font-weight: 600;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.step p { margin: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }

/* --- testimonials ---------------------------------------------------------- */

.testimonials { display: grid; gap: 1.5rem; }
.testimonial {
  margin: 0; padding: 1.75rem; background: #fff;
  border: 1px solid var(--sand); border-radius: 14px;
  display: flex; flex-direction: column;
}
.testimonial p { font-size: 1.04rem; line-height: 1.6; margin-bottom: 1.25rem; }
.testimonial footer { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.avatar {
  flex: none; width: 44px; height: 44px; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; background: var(--navy); color: #fff;
  font-weight: 600; font-size: 0.9rem; letter-spacing: 0.02em;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial strong { display: block; color: var(--navy); }
.testimonial cite { font-style: normal; color: var(--ink-soft); font-size: 0.9rem; }
@media (min-width: 800px) { .testimonials { grid-template-columns: repeat(2, 1fr); } }

.micro-quote {
  margin: 1.5rem 0 0; padding: 1rem 1.25rem;
  border-left: 3px solid var(--clay); background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.98rem;
}
.micro-quote p { margin-bottom: 0.4rem; }
.micro-quote cite { font-style: normal; color: var(--ink-soft); font-size: 0.88rem; }

/* --- questions and DISC ---------------------------------------------------- */

.questions { display: grid; gap: 2.5rem; }
.question-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 0.8rem; }
.question-list li { display: flex; gap: 0.75rem; font-style: italic; font-size: 1.05rem; }
.question-list li::before { content: "\2022"; font-style: normal; font-weight: 700; color: var(--teal); flex: none; }
@media (min-width: 900px) { .questions { grid-template-columns: 1.1fr 0.9fr; } }

.disc-card {
  margin-top: 3rem; padding: 2rem;
  background: #fff; border: 2px solid var(--teal); border-radius: 14px;
  display: grid; gap: 1.25rem; align-items: center;
}
.disc-card h3 { font-size: 1.35rem; }
.disc-card p:last-of-type { margin-bottom: 0; }
@media (min-width: 900px) { .disc-card { grid-template-columns: 1fr auto; padding: 2.25rem 2.5rem; } }

/* --- CTA bands and footer -------------------------------------------------- */

.band { padding: 3.5rem 0; }
.band-grid { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .band-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }

.footer-cta { color: #fff; padding: 5rem 0; background: linear-gradient(135deg, var(--navy) 0%, #0a4c6c 100%); }
.footer-cta h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.footer-cta p { max-width: 36rem; font-size: 1.1rem; }

.site-footer { background: #fff; border-top: 1px solid var(--sand); padding: 2.5rem 0 1.5rem; font-size: 0.95rem; }
.footer-grid { display: grid; gap: 2rem; }
.footer-grid h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 600; margin-bottom: 0.6rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer-grid a { color: var(--navy); text-decoration: none; }
.footer-grid a:hover { color: var(--teal); }
.footer-brand img { height: 34px; width: auto; margin-bottom: 0.75rem; }
.footer-brand p { color: var(--ink-soft); max-width: 22rem; margin: 0; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem;
  margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--paper);
  color: var(--ink-soft); font-size: 0.88rem;
}
.footer-bottom a { color: var(--ink-soft); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* --- floating controls ----------------------------------------------------- */

.call-fab {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 40;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; text-decoration: none;
  background: var(--teal); color: #fff; box-shadow: var(--shadow);
}
.call-fab svg { width: 22px; height: 22px; }
.scroll-top {
  position: fixed; right: 1.25rem; bottom: 6.25rem; z-index: 40;
  width: 44px; height: 44px; border-radius: var(--radius);
  display: none; place-items: center; cursor: pointer;
  background: #fff; color: var(--navy); border: 1px solid var(--sand); box-shadow: var(--shadow);
  font-size: 1.1rem; font-weight: 700;
}
.scroll-top.is-visible { display: grid; }

/* --- page: contact --------------------------------------------------------- */

.contact-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.25fr 0.75fr; gap: 3rem; } }
.embed { background: #fff; border: 1px solid var(--sand); border-radius: 14px; overflow: hidden; }
.embed iframe { display: block; width: 100%; border: 0; }
.embed--calendar iframe { min-height: 720px; }
.embed--form iframe { min-height: 620px; }
.embed--map iframe { height: 320px; }
.placeholder {
  padding: 3rem 1.5rem; text-align: center; color: var(--ink-soft);
  border: 2px dashed var(--sand); border-radius: 14px; background: var(--paper);
}
.expect { background: var(--paper); border-radius: 14px; padding: 1.75rem; }
.expect h2 { font-size: 1.4rem; }
.expect img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 1rem; }
.contact-details { margin-top: 1.5rem; display: grid; gap: 0.5rem; }
.contact-details a { color: var(--navy); font-weight: 600; text-decoration: none; }

/* --- page: about and services ---------------------------------------------- */

.page-hero { background: linear-gradient(180deg, var(--paper) 0%, #fff 100%); padding: 3rem 0; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; }
.page-hero .lead { max-width: 40rem; }
@media (min-width: 900px) { .page-hero { padding: 4rem 0; } }

.persona { scroll-margin-top: calc(var(--header-h) + 1rem); }
.persona + .persona { margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--sand); }

.service { padding: 1.75rem; background: #fff; border: 1px solid var(--sand); border-radius: 14px; }
.service .card-num { display: block; margin-bottom: 0.4rem; }
.services-grid { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.solutions { display: grid; gap: 1rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.solutions li { padding: 1rem 1.25rem; background: #fff; border: 1px solid var(--sand); border-radius: var(--radius); }
.solutions strong { color: var(--navy); }
@media (min-width: 700px) { .solutions { grid-template-columns: repeat(2, 1fr); } }

/* --- page: legal ----------------------------------------------------------- */

.prose { max-width: 44rem; }
.prose h1 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 0.5rem; }
.prose h2 { font-size: 1.25rem; margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.3rem; }
.prose a { color: var(--teal); }
