/* =========================================================================
   Fitrah Coaching — design tokens
   Palette pulled from the logo: magenta wordmark on lime-green field.
   Signature element: the organic "seed & circle" motif echoing the dots
   in the fitrah logotype, used to mask photography and mark transitions.
   ========================================================================= */
:root {
  --cream:        #FBF6EC;
  --sand:         #F1E7D3;
  --ink:          #241F1B;
  --ink-soft:     #6B6155;
  --magenta:      #C6027E;
  --magenta-dark: #93015F;
  --lime:         #C7E56B;
  --lime-dark:    #94B23C;
  --blush:        #F3DACB;
  --white:        #FFFFFF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 20px 45px -25px rgba(36, 31, 27, 0.35);
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--white);
  padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--magenta-dark); outline-offset: 2px; }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  padding: 14px 26px; border-radius: var(--radius-sm); border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn--pill { border-radius: 999px; }
.btn--magenta { background: var(--magenta); color: var(--white); }
.btn--magenta:hover { background: var(--magenta-dark); transform: translateY(-2px); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: var(--lime-dark); transform: translateY(-2px); }
.btn--outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--ghost { background: transparent; color: var(--magenta); padding: 8px 4px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- Header ------------------------------------------------------------ */
.site-header { background: var(--cream); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(36,31,27,.08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; }
.brand { display: flex; align-items: center; line-height: 1; }
.brand__logo { display: block; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.brand__mark { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; color: var(--magenta); }
.brand__sub { font-size: .62rem; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-soft); margin-top: 2px; }
.site-nav { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: .95rem; }
.site-nav a { color: var(--ink); padding: 6px 2px; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a.is-active { border-color: var(--magenta); color: var(--magenta); }
.nav-cta.btn { border-bottom: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); display: block; }

/* ---- Hero / banner slider ---------------------------------------------- */
.hero { padding: 56px 0 40px; }
.hero__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: .78rem; letter-spacing: 2px; text-transform: uppercase; color: var(--magenta-dark); font-weight: 700; margin-bottom: 14px; }
.hero__actions { margin-top: 28px; }

.banner-slider {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-soft); aspect-ratio: 5 / 4; background: var(--blush);
}
.banner-slider__track { position: relative; width: 100%; height: 100%; }
.banner-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease;
}
.banner-slide.is-active { opacity: 1; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; }
.banner-slider__dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.banner-slider__dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255,255,255,.55); cursor: pointer; padding: 0;
}
.banner-slider__dots button.is-active { background: var(--white); width: 22px; border-radius: 6px; }
.blob-frame {
  --b: 4px;
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  overflow: hidden; border: var(--b) solid var(--white); box-shadow: var(--shadow-soft);
}

/* ---- Sections ------------------------------------------------------------ */
.section { padding: 64px 0; }
.section--sand { background: var(--sand); }
.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head.is-left { margin-left: 0; text-align: left; }

.card-grid { display: flex; flex-direction: column; gap: 56px; }
.card {
  display: flex; align-items: center; gap: 48px;
  background: transparent; border: 0; padding: 0;
}
.card--reverse { flex-direction: row-reverse; }
.card__media {
  flex: 1 1 50%; width: 50%; height: 320px; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--lime); display: flex; align-items: center; justify-content: center;
}
.card__image { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__icon { font-size: 2.4rem; }
.card__body { flex: 1 1 50%; }
.card__body h3 { margin-bottom: 6px; font-size: 1.6rem; }
.card__body p { margin: 0 0 14px; font-size: 1rem; line-height: 1.7; }
.card__body p:last-child { margin-bottom: 0; }
.team-role { font-weight: 700; color: var(--magenta-dark); margin-bottom: 14px !important; }

.approach {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center;
}
.approach .dots { display: flex; gap: 10px; margin-bottom: 18px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--magenta); }
.dot:nth-child(2) { background: var(--lime-dark); }
.dot:nth-child(3) { background: var(--blush); }

.community { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; }
.founder-quote { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--ink); }
.founder-name { margin-top: 18px; font-weight: 700; }
.founder-role { color: var(--ink-soft); font-size: .9rem; }

/* ---- Services page ---------------------------------------------------- */
.service-block { display: flex; align-items: flex-start; gap: 24px; padding: 24px 0; border-top: 1px solid rgba(36,31,27,.08); }
.service-block:first-of-type { border-top: 0; }
.service-block__num { font-family: var(--font-display); font-size: 2.2rem; color: var(--lime-dark); flex-shrink: 0; width: 60px; }
.service-block__row { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.service-block__media {
  width: 100%; border-radius: var(--radius-md); overflow: hidden;
  background: var(--lime); box-shadow: var(--shadow-soft);
}
.service-block__media img { width: 100%; height: auto; max-height: 420px; object-fit: cover; display: block; }
.service-block__content { flex: 1; min-width: 0; }
.service-block__ideal { margin-top: 14px; padding: 14px 18px; background: var(--sand); border-radius: var(--radius-sm); font-size: .92rem; }
.service-block__ideal strong { color: var(--magenta-dark); }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.tag-list span { background: var(--blush); color: var(--ink); font-size: .82rem; padding: 6px 14px; border-radius: 999px; }

/* ---- Announcements page ------------------------------------------------ */
.empty-state { text-align: center; padding: 40px 0; color: var(--ink-soft); }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; }
.badge--confirmed { background: #DCEFC8; color: #3E5B1B; }

/* ---- Forms -------------------------------------------------------------- */
.form-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow-soft); max-width: 640px; margin: 0 auto;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-weight: 600; font-size: .9rem; }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body); font-size: 1rem; padding: 12px 14px;
  border: 1.5px solid rgba(36,31,27,.18); border-radius: var(--radius-sm); background: var(--cream);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--magenta); outline: none; background: var(--white);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-static-value {
  font-family: var(--font-body); font-size: 1rem; padding: 12px 14px; font-weight: 700;
  border: 1.5px solid rgba(36,31,27,.18); border-radius: var(--radius-sm); background: var(--blush); color: var(--magenta-dark);
}
.form-note { font-size: .82rem; color: var(--ink-soft); }
.captcha-field__img { border-radius: 6px; border: 1px solid rgba(36,31,27,.18); vertical-align: middle; }
.captcha-field__refresh { vertical-align: middle; background: transparent; border: 1px solid rgba(36,31,27,.18); border-radius: 6px; cursor: pointer; font-size: 1rem; line-height: 1; padding: 6px 10px; }
.captcha-field__refresh:hover { background: rgba(36,31,27,.06); }
.captcha-field__error { color: var(--magenta, #c0245c); font-size: .85rem; margin: 6px 0 0; }
.pkg-options { display: flex; flex-direction: column; gap: 10px; }
.pkg-option {
  display: flex; align-items: flex-start; gap: 10px;
  border: 1px solid var(--line, #e6e0d8); border-radius: var(--radius-sm, 10px);
  padding: 12px 14px; cursor: pointer; font-weight: normal; transition: border-color .15s, background .15s;
}
.pkg-option:hover { border-color: var(--magenta, #c94f7c); }
.pkg-option input[type="radio"] { margin-top: 3px; width: auto; }
.pkg-option:has(input:checked) { border-color: var(--magenta, #c94f7c); background: var(--sand); }
.pkg-was-price { color: var(--ink-soft, #7a7168); margin-right: 6px; }
.pkg-now-price { color: var(--magenta, #c94f7c); }
.price-badge__was { text-decoration: line-through; color: var(--ink-soft, #7a7168); font-weight: 500; margin-right: 6px; }
.price-badge__now { color: var(--magenta, #c94f7c); }
.hp-field { position: absolute; left: -9999px; top: -9999px; }
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: .92rem; }
.alert--success { background: #E4F1D0; color: #3E5B1B; }
.alert--error { background: #FADCD9; color: #7A2418; }

/* ---- Newsletter CTA ------------------------------------------------------ */
.newsletter-cta { background: var(--magenta); color: var(--white); padding: 56px 0; }
.newsletter-cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.newsletter-cta h2, .newsletter-cta p { color: var(--white); }
.newsletter-cta__text { max-width: 480px; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input {
  padding: 14px 16px; border-radius: 999px; border: 0; min-width: 240px; font-family: var(--font-body); font-size: 1rem;
}

/* ---- Footer -------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #D9D2C7; padding-top: 56px; }
.site-footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.site-footer a { color: #D9D2C7; }
.site-footer h3 { color: var(--white); font-family: var(--font-body); font-size: .8rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; }
.brand__mark--footer { color: var(--lime); font-size: 1.6rem; }
.site-footer__brand p { color: #a89f92; margin: 12px 0 16px; max-width: 320px; }
.social-link { display: inline-flex; align-items: center; gap: 8px; color: var(--lime); font-weight: 600; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .82rem; color: #8a8074; }

/* ---- Responsive ----------------------------------------------------------- */
@media (max-width: 900px) {
  .hero__inner, .approach, .community { grid-template-columns: 1fr; }
  .hero__inner { gap: 32px; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .card, .card--reverse { flex-direction: column; gap: 24px; }
  .card__media { width: 100%; height: 260px; }
}
@media (max-width: 680px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--cream);
    flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 24px 20px;
    border-bottom: 1px solid rgba(36,31,27,.08); display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { width: 100%; padding: 10px 0; }
  .nav-cta.btn { margin-top: 8px; }
  .card, .card--reverse { flex-direction: column; gap: 24px; }
  .card__media { width: 100%; height: 220px; }
  .service-block { flex-direction: column; }
  .service-block__num { width: auto; }
  .service-block__media { max-width: 100%; }
  .service-block__media img { max-height: 260px; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .newsletter-cta__inner { flex-direction: column; align-items: flex-start; }
  .newsletter-form { width: 100%; }
  .newsletter-form input { flex: 1; min-width: 0; }
}