/* =========================================================
   Ben Michaux Coaching: Shared Stylesheet
   ========================================================= */

:root {
  --ocean-blue: #4A90A4;
  --warm-sand: #D9C4A1;
  --sea-glass: #8EC9C3;
  --coral-sunset: #E88C73;
  --soft-ivory: #F8F6F2;
  --driftwood: #6F655A;

  --warm-sand-10: rgba(217, 196, 161, 0.12);
  --warm-sand-20: rgba(217, 196, 161, 0.22);

  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;

  --radius: 14px;
  --shadow-soft: 0 10px 30px rgba(111, 101, 90, 0.12);
  --max-width: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--soft-ivory);
  color: var(--driftwood);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--driftwood);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
h3 { font-size: 1.4rem; }

p { margin: 0 0 1.1em; }

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

a:hover { color: var(--sea-glass); }

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 72px 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 32px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  text-align: center;
}

.btn-primary {
  background-color: var(--ocean-blue);
  color: var(--soft-ivory);
}

.btn-primary:hover {
  background-color: var(--sea-glass);
  color: var(--driftwood);
  transform: translateY(-1px);
}

.btn-cta {
  background-color: var(--coral-sunset);
  color: var(--soft-ivory);
}

.btn-cta:hover {
  background-color: var(--sea-glass);
  color: var(--driftwood);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--ocean-blue);
  border-color: var(--ocean-blue);
}

.btn-outline:hover {
  background-color: var(--ocean-blue);
  color: var(--soft-ivory);
}

/* ---------- Header ---------- */
.site-header {
  background-color: var(--ocean-blue);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--soft-ivory);
  font-family: var(--font-heading);
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--soft-ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-mark svg {
  width: 24px;
  height: 24px;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--soft-ivory);
  line-height: 1.1;
}

.logo-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sea-glass);
  font-weight: 600;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav.main-nav a {
  color: var(--soft-ivory);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--soft-ivory);
  border-bottom-color: var(--coral-sunset);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background-color: var(--soft-ivory);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--ocean-blue) 0%, #3f7d90 100%);
  color: var(--soft-ivory);
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background-color: rgba(142, 201, 195, 0.25);
}

.hero .container {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero h1 { color: var(--soft-ivory); }

.hero p.lead {
  font-size: 1.2rem;
  color: var(--soft-ivory);
  opacity: 0.92;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero .btn-outline {
  color: var(--soft-ivory);
  border-color: var(--soft-ivory);
}

.hero .btn-outline:hover {
  background-color: var(--soft-ivory);
  color: var(--ocean-blue);
}

.eyebrow {
  display: inline-block;
  background-color: rgba(248, 246, 242, 0.16);
  color: var(--sea-glass);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

/* ---------- Cards / sections ---------- */
.card {
  background-color: var(--warm-sand-10);
  border: 1px solid var(--warm-sand-20);
  border-radius: var(--radius);
  padding: 32px 28px;
  height: 100%;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--sea-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--soft-ivory);
}

.grid {
  display: grid;
  gap: 28px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.section-heading {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading .eyebrow {
  background-color: var(--warm-sand-20);
  color: var(--ocean-blue);
}

.bg-sand {
  background-color: var(--warm-sand-10);
}

.bg-ocean {
  background-color: var(--ocean-blue);
  color: var(--soft-ivory);
}

.bg-ocean h2 { color: var(--soft-ivory); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background-color: var(--coral-sunset);
  color: var(--soft-ivory);
  text-align: center;
  padding: 64px 0;
}

.cta-banner h2 { color: var(--soft-ivory); }

.cta-banner .btn-primary {
  background-color: var(--soft-ivory);
  color: var(--coral-sunset);
}

.cta-banner .btn-primary:hover {
  background-color: var(--driftwood);
  color: var(--soft-ivory);
}

/* ---------- Testimonials ---------- */
.testimonial {
  background-color: var(--soft-ivory);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  height: 100%;
}

.testimonial p.quote {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--driftwood);
}

.testimonial .attribution {
  font-weight: 700;
  color: var(--ocean-blue);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Pricing ---------- */
.pricing-card {
  background-color: var(--soft-ivory);
  border: 1px solid var(--warm-sand-20);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card.featured {
  border: 2px solid var(--coral-sunset);
  position: relative;
}

.pricing-card.featured::before {
  content: "Recommended";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--coral-sunset);
  color: var(--soft-ivory);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
}

.price {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--ocean-blue);
  margin: 8px 0 4px;
}

.price span {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--driftwood);
  font-weight: 400;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
  flex-grow: 1;
}

.pricing-card ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--warm-sand-20);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-card ul li:last-child { border-bottom: none; }

.pricing-card ul li::before {
  content: "✓";
  color: var(--sea-glass);
  font-weight: 700;
}

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

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.92rem;
  color: var(--driftwood);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 8px;
  border: 1px solid var(--warm-sand);
  background-color: var(--soft-ivory);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--driftwood);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--ocean-blue);
  box-shadow: 0 0 0 3px rgba(74, 144, 164, 0.15);
}

.form-note {
  font-size: 0.86rem;
  color: var(--driftwood);
  opacity: 0.8;
}

.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.92rem;
  display: none;
}

.form-status.success {
  display: block;
  background-color: rgba(142, 201, 195, 0.25);
  color: var(--driftwood);
}

.contact-info-card {
  background-color: var(--warm-sand-10);
  border: 1px solid var(--warm-sand-20);
  border-radius: var(--radius);
  padding: 32px;
}

.contact-info-card .info-row {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-info-card .info-row .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--ocean-blue);
  color: var(--soft-ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------- Legal page ---------- */
.legal-content h2 {
  margin-top: 2.2em;
  color: var(--ocean-blue);
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content ul,
.legal-content ol {
  padding-left: 1.4em;
}

.legal-updated {
  color: var(--driftwood);
  opacity: 0.75;
  font-size: 0.9rem;
  margin-bottom: 2.5em;
}

/* ---------- About page ---------- */
.about-hero {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: center;
}

.about-photo-frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--sea-glass), var(--ocean-blue));
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  color: var(--soft-ivory);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-align: center;
}

.about-photo-frame img,
.about-headshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-hobbies .hobbies-image img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.value-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.value-item .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--coral-sunset);
  margin-top: 8px;
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--ocean-blue);
  color: var(--soft-ivory);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(248, 246, 242, 0.2);
}

.site-footer h4 {
  color: var(--soft-ivory);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.site-footer a {
  color: rgba(248, 246, 242, 0.85);
  display: block;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.site-footer a:hover { color: var(--coral-sunset); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.85rem;
  color: rgba(248, 246, 242, 0.75);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-brand p {
  color: rgba(248, 246, 242, 0.85);
  max-width: 340px;
  margin-top: 12px;
}

/* ---------- Disclaimer strip ---------- */
.disclaimer-strip {
  background-color: var(--driftwood);
  color: var(--soft-ivory);
  font-size: 0.82rem;
  text-align: center;
  padding: 12px 24px;
}

.disclaimer-strip a {
  color: var(--sea-glass);
  text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .about-hero { grid-template-columns: 1fr; }
  .about-photo-frame { max-width: 280px; margin: 0 auto; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--ocean-blue);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  nav.main-nav.open {
    max-height: 400px;
    padding-bottom: 12px;
  }

  nav.main-nav a {
    width: 100%;
    padding: 14px 24px;
    border-bottom: none;
  }

  .nav-toggle { display: block; }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .values-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}
