/* ---------- Design tokens (from AELFC brand flyers) ---------- */
:root {
  /* Brand palette sampled directly from Anaclet's Experts marketing flyers */
  --navy: #04424f;       /* deep teal — headings, primary buttons, footer */
  --navy-dark: #022f38;  /* darkest teal — footer gradient end, hover states */
  --gold: #1f8999;       /* signature teal accent — CTAs, tags, bullets */
  --gold-light: #2ea6b8; /* lighter teal — hover state for accent buttons */
  --cream: #f3efe6;      /* warm cream section background */
  --ink: #16323d;
  --gray: #5b6472;
  --border: #e2ddd0;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(4, 66, 79, 0.1);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}
h1, h2, h3, .brand, .btn { font-family: 'Poppins', 'Inter', sans-serif; }
h1, h2, h3 { margin: 0 0 0.5em; color: var(--navy); line-height: 1.25; }
p { margin: 0 0 1em; color: var(--gray); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { padding: 0; margin: 0; list-style: none; }

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

.section { padding: 96px 0; }
.section-alt { background: var(--cream); }
.section-navy { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%); }
.section-tag {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.75em;
}
.section-tag.light { color: var(--gold-light); }
.section-lede { max-width: 640px; color: var(--gray); }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.light { color: var(--white); }
.light.section-lede { color: rgba(255,255,255,0.8); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { border-color: rgba(255,255,255,0.5); color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); }
.btn-outline-small, .btn-gold-small {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.85rem;
  border: 2px solid var(--navy);
  color: var(--navy);
}
.btn-outline-small:hover { background: var(--navy); color: var(--white); }
.btn-gold-small { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); }
.btn-gold-small:hover { background: var(--gold-light); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; color: var(--navy); }
.brand-text strong { font-size: 1.05rem; }
.brand-text small { font-size: 0.65rem; color: var(--gray); letter-spacing: 0.02em; }

.main-nav { display: flex; align-items: center; gap: 20px; }
.main-nav a { font-weight: 500; font-size: 0.88rem; color: var(--ink); white-space: nowrap; }
.main-nav a:hover { color: var(--navy); }
.main-nav a.active { color: var(--gold); font-weight: 700; }
.footer-nav a.active { color: var(--gold-light); font-weight: 700; }
.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 600 !important;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--navy-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 96px; background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%); }
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow { color: var(--gold); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.8rem; }
.hero h1 { font-size: clamp(2.1rem, 4vw, 3rem); }
.hero h1 span { color: var(--gold); }
.hero-lede { font-size: 1.05rem; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 28px 0; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 20px 32px; margin-top: 20px; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { color: var(--navy); font-size: 1.4rem; font-family: 'Poppins', sans-serif; }
.hero-stats span { color: var(--gray); font-size: 0.8rem; }
.hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--cream);
  border: 6px solid var(--white);
  outline: 1px solid var(--border);
  aspect-ratio: 4 / 5;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hero-media img.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-media img.hero-slide.active { opacity: 1; }

/* ---------- Explore tiles (home page) ---------- */
.explore-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.explore-tile {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.explore-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(4, 66, 79, 0.14); }
.explore-tag {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.7rem;
  margin-bottom: 8px;
}
.explore-tile h3 { font-size: 1.1rem; margin-bottom: 8px; }
.explore-tile p { font-size: 0.9rem; margin-bottom: 16px; flex-grow: 1; }
.explore-arrow { font-weight: 600; font-size: 0.85rem; color: var(--navy); }

/* ---------- About ---------- */
.about-overview {
  max-width: 880px;
  margin: 32px auto 0;
  text-align: center;
}
.vm-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.vm-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.vm-card h3 { margin-bottom: 0.5em; }
.vm-card p { margin: 0; }
.motto {
  margin: 48px auto 0;
  text-align: center;
  max-width: 560px;
}
.motto p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.motto span { color: var(--gold); font-weight: 600; font-size: 0.9rem; }

.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); position: sticky; top: 100px; }
.about-role { color: var(--gold); font-weight: 600; margin-top: -8px; }
.expertise-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 24px;
}
.expertise-pills span {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--navy);
}
.philosophy {
  margin: 0 0 24px;
  padding: 20px 24px;
  border-left: 3px solid var(--gold);
  background: var(--cream);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--ink);
}

/* ---------- Services cards ---------- */
.cards-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
  display: flex;
  flex-direction: column;
}
.card h3 { font-size: 1.1rem; }
.card-cta {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.card-request {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gold);
}
.card-request:hover { color: var(--navy); }
.card-request-alt {
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--gray);
  text-decoration: underline;
}
.card-request-alt:hover { color: var(--navy); }
.card-request-alt.light { color: rgba(255, 255, 255, 0.75); }
.card-request-alt.light:hover { color: var(--white); }
.optional-tag {
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: none;
  margin-left: 4px;
}
.card ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: var(--gray);
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.card p { font-size: 0.92rem; margin-bottom: 0; }

/* ---------- Mediation pills ---------- */
.pill-grid {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.pill-grid span {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 12px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

/* ---------- Tools ---------- */
.tools-inner { text-align: center; }
.calc-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  text-align: left;
}
.calc-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 28px;
}
.calc-card h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 20px; }
.calc-card label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
}
.calc-card input {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  background: rgba(255,255,255,0.95);
  color: var(--ink);
}
.calc-card input:focus { outline: none; border-color: var(--gold); }
.calc-result {
  margin: 16px 0 0;
  padding: 14px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--white);
  min-height: 1.4em;
  line-height: 1.5;
}
.calc-result strong { color: var(--gold-light); }
.tools-list {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.tools-list span {
  border: 1px solid rgba(255,255,255,0.25);
  padding: 12px 22px;
  border-radius: 100px;
  font-size: 0.9rem;
  color: var(--white);
}

/* ---------- Fees ---------- */
.fees-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}
.fee-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}
.fee-card.featured { border: 2px solid var(--gold); padding-top: 40px; }
.fee-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.fee-card h3 { font-size: 1rem; margin-bottom: 0.4em; }
.fee-card .price {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}
.fee-card .card-request-alt { display: block; margin-top: 10px; }

.full-form {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.full-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}
.full-form input,
.full-form select,
.full-form textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  resize: vertical;
}
.full-form input:focus,
.full-form select:focus,
.full-form textarea:focus { outline: none; border-color: var(--gold); }
.full-form .full-width { grid-column: 1 / -1; }

/* ---------- Contact ---------- */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-list { margin-top: 24px; }
.contact-list li {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-label { color: var(--gray); font-weight: 500; }
.contact-list a, .contact-list li > span:last-child { font-weight: 600; color: var(--navy); }

/* ---------- Brochures ---------- */
.brochure-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.brochure-card {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.brochure-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 0.25s ease; }
.brochure-card:hover img { transform: scale(1.04); }
.brochure-download {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  text-align: center;
  background: rgba(4, 66, 79, 0.92);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px;
  border-radius: 100px;
}
.form-note { font-size: 0.85rem; color: var(--gold); margin: 0; min-height: 1.2em; }

/* ---------- Certifications ---------- */
.cert-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.cert-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  text-align: center;
}
.cert-card img { width: 100%; max-height: 160px; object-fit: contain; margin-bottom: 12px; }
.cert-card h3 { font-size: 1rem; margin-bottom: 6px; }
.cert-card p { font-size: 0.85rem; margin-bottom: 8px; }
.cert-view { font-weight: 600; font-size: 0.85rem; color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.85); padding: 48px 0 24px; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 44px; height: 44px; border-radius: 10px; }
.footer-brand strong { color: var(--white); }
.footer-brand p { margin: 0; font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.footer-nav a:hover { color: var(--gold-light); }
.footer-social { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
}
.social-icon:hover { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); }
.footer-legal { display: flex; justify-content: center; gap: 20px; margin-top: 20px; }
.footer-legal a { font-size: 0.8rem; color: rgba(255,255,255,0.55); }
.footer-legal a:hover { color: var(--gold-light); }
.copyright { text-align: center; font-size: 0.8rem; margin: 10px 0 0; color: rgba(255,255,255,0.5); }

/* ---------- Legal pages ---------- */
.legal-content { max-width: 720px; margin: 0 auto; }
.legal-content h1 { font-size: 2rem; margin-top: 0.3em; }
.legal-content h2 { font-size: 1.2rem; margin-top: 1.6em; }
.legal-updated { color: var(--gray); font-size: 0.85rem; margin-bottom: 2em; }
.legal-content a { color: var(--gold); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .about-media { order: -1; max-width: 360px; margin: 0 auto; }
  .section { padding: 64px 0; }
  .full-form { grid-template-columns: 1fr; }
  .full-form .full-width { grid-column: 1; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-150%);
    transition: transform 0.25s ease;
  }
  .main-nav.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .nav-cta { align-self: flex-start; }
}
