/* ============================================================
   DI NOLA CONSULTING — Modern refresh (home page)
   Light, airy, image-forward. Teal + gold on white.
   ============================================================ */

:root {
  --navy:        #17403d;
  --navy-2:      #2f7d8a;
  --gold:        #c9a227;
  --gold-2:      #d9b64a;
  --gold-deep:   #9c7a16;
  --ink:         #1a1f26;
  --slate:       #5a6472;
  --slate-light: #8a94a3;
  --cream:       #faf8f3;
  --line:        #e7e9ee;
  --white:       #ffffff;
  --teal:        #1f8a86;
  --teal-dark:   #14615e;
  --teal-bright: #2fb3ab;
  --mist:        #edf5f4;
  --btn:         #8ad7cd;
  --btn-h:       #6cc6bb;
  --btn-ink:     #14231f;
  --shadow-sm: 0 2px 10px rgba(22,40,63,0.06);
  --shadow-md: 0 12px 30px rgba(22,40,63,0.10);
  --shadow-lg: 0 24px 60px rgba(22,40,63,0.16);
  --r: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body.modern {
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.modern img { max-width: 100%; display: block; }
.modern a:not(.btn) { color: var(--gold-deep); }
.modern .wrap { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.modern .eyebrow {
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem;
  font-weight: 700; color: var(--teal);
}
.modern h1, .modern h2, .modern h3 { line-height: 1.12; letter-spacing: -0.02em; color: var(--navy); font-weight: 800; }
.modern .lead { color: var(--slate); font-size: 1.12rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  padding: 0.85rem 1.5rem; border-radius: 10px; cursor: pointer;
  border: 2px solid transparent; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s;
}
.btn-gold, .btn-navy, .btn-outline, .btn-ghost { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); box-shadow: 0 4px 14px rgba(31,138,134,0.20); }
.btn-gold:hover, .btn-navy:hover, .btn-outline:hover, .btn-ghost:hover { transform: translateY(-2px); background: var(--btn-h); border-color: var(--btn-h); color: var(--btn-ink); box-shadow: 0 8px 20px rgba(31,138,134,0.28); }

/* ---------- Header ---------- */
.m-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.m-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.m-brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.m-brand img { height: 46px; }
.m-brand .bt { font-weight: 800; color: var(--navy); font-size: 1.12rem; letter-spacing: -0.01em; line-height: 1; }
.m-brand .bs { display: block; font-weight: 600; font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate-light); margin-top: 3px; }
.m-nav { display: flex; align-items: center; gap: 1.6rem; }
.m-nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.96rem; }
.m-nav a:not(.btn):hover { color: var(--gold-deep); }
.m-nav .btn { padding: 0.6rem 1.15rem; font-size: 0.95rem; }
.m-menu-btn { display: none; background: none; border: 0; cursor: pointer; }
@media (max-width: 900px) {
  .m-nav a:not(.btn) { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(60% 80% at 85% 10%, rgba(201,162,39,0.10), transparent 60%),
    linear-gradient(180deg, #fff, var(--cream));
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin: 1rem 0 1.1rem; }
.hero h1 .hl { color: var(--gold-deep); position: relative; white-space: nowrap; }
.hero .lead { font-size: 1.2rem; max-width: 34rem; margin-bottom: 1.8rem; }
.hero-cta { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 1.6rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-trust div { }
.hero-trust .n { font-size: 1.5rem; font-weight: 800; color: var(--navy); }
.hero-trust .l { font-size: 0.82rem; color: var(--slate); }

.hero-media { position: relative; }
.hero-media .img-slot { aspect-ratio: 4/5; border-radius: 24px; box-shadow: var(--shadow-lg); }
.hero-media .float-card {
  position: absolute; left: -22px; bottom: 26px;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-md);
  padding: 0.9rem 1.1rem; display: flex; align-items: center; gap: 0.7rem; max-width: 240px;
}
.hero-media .float-card .badge { width: 42px; height: 42px; border-radius: 12px; background: var(--navy); color: var(--gold-2); display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; flex: none; }
.hero-media .float-card .ft { font-weight: 700; color: var(--navy); font-size: 0.9rem; line-height: 1.2; }
.hero-media .float-card .fs { font-size: 0.78rem; color: var(--slate); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; margin: 0 auto; }
  .hero-media .img-slot { aspect-ratio: 16/11; }
}

/* ---------- Image placeholders (swap for real photos) ---------- */
.img-slot {
  position: relative; width: 100%;
  background:
    linear-gradient(135deg, #eef1f6, #e2e8f0);
  border: 1.5px dashed #c5cdd9; border-radius: var(--r);
  display: grid; place-items: center; text-align: center; overflow: hidden;
  color: var(--slate-light);
}
.img-slot::after {
  content: "📷  " attr(data-label);
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em; padding: 0.5rem 1rem;
  color: var(--slate);
}
.img-slot.filled { border: 0; }
.img-slot.filled::after { content: none; }
.aud .img-slot img { object-position: center 30%; }
.img-slot img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Section basics ---------- */
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section.cream { background: var(--cream); }
.section-head { max-width: 42rem; margin-bottom: 2.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin: 0.6rem 0 0.7rem; }

/* ---------- Audience split ---------- */
.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.aud { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; }
.aud .img-slot { aspect-ratio: 16/9; border-radius: 0; border: 0; }
.aud .body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.aud h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.aud p { color: var(--slate); margin-bottom: 1rem; }
.aud ul { list-style: none; margin-bottom: 1.3rem; }
.aud li { padding-left: 1.5rem; position: relative; margin-bottom: 0.4rem; color: var(--ink); font-size: 0.96rem; }
.aud li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.aud .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 800px) { .aud-grid { grid-template-columns: 1fr; } }

/* ---------- Programs ---------- */
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.prog-card { text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.prog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.prog-card .img-slot { aspect-ratio: 3/2; border-radius: 0; border: 0; }
.prog-card .pc-body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.prog-card .tagpill { align-self: flex-start; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--btn-ink); background: var(--mist); border: 1px solid #cfe6e2; padding: 0.25rem 0.7rem; border-radius: 999px; margin-bottom: 0.75rem; }
.prog-card h3 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.prog-card p { color: var(--slate); font-size: 0.95rem; }
.prog-card .go { margin-top: auto; padding-top: 1rem; font-weight: 700; color: var(--teal); }
.prog-card.pm  { --pc: #1f6f6a; }
.prog-card.msu { --pc: #2f7d8a; }
.prog-card.v1s { --pc: #245034; }
@media (max-width: 820px) { .prog-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

/* two-card program grid */
.prog-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 780px; margin: 0 auto; }
@media (max-width: 820px) { .prog-grid.two { grid-template-columns: 1fr; max-width: 420px; } }
/* program card image that holds a logo/seal on a soft bg */
.prog-card .img-slot.brandpad { background: #fff; border: 1px solid var(--line); padding: 1.5rem; }
.prog-card .img-slot.brandpad img { object-fit: contain; }

/* ---------- Interior page hero ---------- */
.page-hero { background: linear-gradient(135deg, var(--mist), #ffffff 72%); border-bottom: 1px solid var(--line); color: var(--ink); padding: clamp(2.5rem,6vw,4.5rem) 0; }
.page-hero .eyebrow { color: var(--teal); }
.page-hero h1 { color: var(--navy); font-size: clamp(2rem, 4.5vw, 3rem); margin: 0.6rem 0 0.7rem; }
.page-hero p { color: var(--slate); font-size: 1.15rem; max-width: 42rem; }
.page-hero.with-logo { display: block; }
.page-hero .hero-logo-sign { background:#fff; border-radius:14px; padding:0.9rem 1.3rem; display:inline-block; margin-bottom:1.1rem; box-shadow: var(--shadow-md); }
.page-hero .hero-logo-sign img { max-height: 74px; width:auto; }

/* ---------- Logo banner hero (e.g. PMology) ---------- */
.logo-hero .logo-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.logo-hero .lh-logo { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem 1.9rem; box-shadow: var(--shadow-md); }
.logo-hero .lh-logo img { width: 100%; display: block; }
.logo-hero .lh-text h1 { color: var(--navy); font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 0.5rem 0 0.7rem; line-height: 1.12; }
.logo-hero .lh-text p { color: var(--slate); font-size: 1.12rem; max-width: none; }
@media (max-width: 800px) { .logo-hero .logo-hero-grid { grid-template-columns: 1fr; } }

/* ---------- Prose / content ---------- */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: 1.7rem; margin: 2rem 0 0.7rem; color: var(--navy); }
.prose h3 { font-size: 1.2rem; margin: 1.4rem 0 0.5rem; color: var(--navy-2); }
.prose p { color: var(--slate); margin-bottom: 1rem; }
.prose ul { list-style: none; margin: 0.5rem 0 1rem; }
.prose ul li { padding-left: 1.6rem; position: relative; margin-bottom: 0.5rem; color: var(--ink); }
.prose ul li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.prose a { color: var(--teal); font-weight: 600; }

/* offering cards */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1rem; margin: 1rem 0; }
.offer { background:#fff; border:1px solid var(--line); border-radius:14px; border-top:4px solid var(--pc,var(--gold)); padding:1.2rem 1.3rem; box-shadow:var(--shadow-sm); }
.offer h3 { margin:0 0 0.3rem; font-size:1.1rem; color:var(--navy); }
.offer p { color: var(--slate); font-size:0.95rem; margin:0; }

/* numbered steps (AFC path) */
.steps { display:grid; gap:0.9rem; margin:1rem 0; }
.step { display:flex; gap:1rem; align-items:flex-start; background:var(--cream); border:1px solid var(--line); border-radius:14px; padding:1rem 1.2rem; }
.step .num { flex:none; width:2.2rem; height:2.2rem; border-radius:50%; background:var(--teal); color:#fff; font-weight:800; display:grid; place-items:center; }
.step .st { font-weight:700; color:var(--navy); display:block; margin-bottom:0.15rem; }
.step .sd { color:var(--slate); font-size:0.95rem; }

/* branch / status chips */
.chip-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(130px,1fr)); gap:0.7rem; margin:0.8rem 0; }
.chip-card { text-align:center; background:#fff; border:1px solid var(--line); border-top:3px solid var(--navy-2); border-radius:12px; padding:1rem 0.6rem; text-decoration:none; color:var(--ink); }
.chip-card .em { font-size:1.6rem; display:block; margin-bottom:0.2rem; }
.chip-card strong { display:block; font-size:0.95rem; color:var(--btn-ink); }
.chip-row { display:flex; flex-wrap:wrap; gap:0.5rem; }
.chip { background:var(--cream); border:1px solid var(--line); border-left:3px solid var(--teal); border-radius:8px; padding:0.4rem 0.85rem; font-weight:600; font-size:0.9rem; color:var(--btn-ink); }

/* feature row (image + text) */
.feature { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3rem); align-items:center; }
.feature.rev .fig { order: 2; }
.feature .fig { border-radius:18px; overflow:hidden; box-shadow: var(--shadow-md); }
.feature .fig img { width:100%; display:block; }
@media (max-width: 800px){ .feature { grid-template-columns:1fr; } .feature.rev .fig { order:0; } }

/* recognition strip */
.reco { display:grid; grid-template-columns: 300px 1fr; gap:2rem; align-items:center; background:var(--cream); border:1px solid var(--line); border-radius:20px; padding:1.6rem; }
.reco img { width:100%; border-radius:12px; }
.reco h3 { font-size:1.4rem; margin-bottom:0.4rem; }
.reco p { color:var(--slate); }
@media (max-width:700px){ .reco { grid-template-columns:1fr; } }

/* inline CTA box */
.cta-inline { text-align:center; background: linear-gradient(135deg,var(--mist),var(--cream)); color:var(--ink); border:1px solid var(--line); border-radius:20px; padding:2rem; margin-top:2rem; }
.cta-inline h3 { color:var(--navy); font-size:1.5rem; margin-bottom:0.5rem; }
.cta-inline p { color:var(--slate); margin-bottom:1.2rem; }
.back-link { display:inline-block; margin-top:1.5rem; font-weight:700; color:var(--teal); text-decoration:none; }

/* ---------- Founder ---------- */
.founder-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.founder-photo { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/5; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin: 0.6rem 0 0.4rem; }
.founder .role { color: var(--teal); font-weight: 700; margin-bottom: 1rem; }
.founder p { color: var(--slate); margin-bottom: 1rem; }
.cred-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.cred-pills span { background: var(--cream); border: 1px solid var(--line); color: var(--btn-ink); font-weight: 600; font-size: 0.85rem; padding: 0.4rem 0.85rem; border-radius: 999px; }
@media (max-width: 800px) { .founder-grid { grid-template-columns: 1fr; } .founder-photo { max-width: 320px; } }

/* ---------- Stats band ---------- */
.stats { background: var(--mist); color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stats .n { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--teal); }
.stats .l { color: var(--slate); font-size: 0.9rem; }
@media (max-width: 700px) { .stats .wrap { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; } }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.qcard { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.6rem; box-shadow: var(--shadow-sm); }
.qcard .stars { color: var(--gold); margin-bottom: 0.6rem; letter-spacing: 2px; }
.qcard p { color: var(--ink); font-size: 1.02rem; margin-bottom: 1rem; }
.qcard .who { display: flex; align-items: center; gap: 0.7rem; }
.qcard .who .av { width: 40px; height: 40px; border-radius: 50%; background: var(--cream); border: 1px solid var(--line); }
.qcard .who .wn { font-weight: 700; color: var(--navy); font-size: 0.9rem; }
.qcard .who .wr { color: var(--slate); font-size: 0.8rem; }
.ph-note { text-align: center; color: var(--slate-light); font-size: 0.85rem; margin-top: 1.2rem; font-style: italic; }
@media (max-width: 820px) { .quote-grid { grid-template-columns: 1fr; } }

/* ---------- CTA / capture ---------- */
.cta-band { background: linear-gradient(135deg, var(--mist), var(--cream)); color: var(--ink); border: 1px solid var(--line); border-radius: 24px; padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }
.cta-band h2 { color: var(--navy); font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 0.6rem; }
.cta-band p { color: var(--slate); max-width: 40rem; margin: 0 auto 1.6rem; }
.cta-band .altrow { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.cta-band .altrow a { color: var(--teal); font-weight: 700; }

/* MailerLite form (modern) */
.ml-embed-wrap { max-width: 30rem; margin: 0 auto; }
.ml-embed-wrap .ml-form-embedContainer, .ml-embed-wrap .ml-form-align-center,
.ml-embed-wrap .ml-form-embedWrapper, .ml-embed-wrap .ml-form-embedBody { display: block; width: 100%; margin: 0; padding: 0; background: none; box-sizing: border-box; }
.ml-embed-wrap form.ml-block-form { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.ml-embed-wrap .ml-form-formContent { flex: 1 1 200px; min-width: 0; margin: 0; }
.ml-embed-wrap .ml-form-fieldRow { margin: 0; }
.ml-embed-wrap input[type="email"] { width: 100%; padding: 0.85rem 1.1rem; font-size: 1rem; font-family: inherit; border: 1px solid #cdd7d5; border-radius: 10px; background: #fff; color: var(--ink); box-sizing: border-box; }
.ml-embed-wrap .ml-form-embedSubmit { margin: 0; }
.ml-embed-wrap .ml-form-embedSubmit button.primary { padding: 0.85rem 1.5rem; background: var(--btn); color: var(--btn-ink); font-family: inherit; font-weight: 700; font-size: 1rem; border: 0; border-radius: 10px; cursor: pointer; white-space: nowrap; }
.ml-embed-wrap .ml-form-embedSubmit button.primary:hover { background: var(--btn-h); }
.ml-embed-wrap .ml-form-embedSubmit button.loading { padding: 0.85rem 1.5rem; background: var(--btn-h); border-radius: 10px; border: 0; }
.ml-embed-wrap .ml-form-embedSubmitLoad { display:inline-block; width:18px; height:18px; }
.ml-embed-wrap .ml-form-embedSubmitLoad:after { content:" "; display:block; width:11px; height:11px; margin:1px; border-radius:50%; border:3px solid #fff; border-color:#fff #fff #fff transparent; animation:mlspin 1.2s linear infinite; }
@keyframes mlspin { 0%{transform:rotate(0)} 100%{transform:rotate(360deg)} }
.ml-embed-wrap .sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
.ml-embed-wrap .ml-form-successBody { text-align:center; color:var(--ink); }
.ml-embed-wrap .ml-form-successContent h4 { color:var(--navy); font-size:1.2rem; margin-bottom:0.3rem; }
.ml-embed-wrap .ml-form-successContent p { color:var(--slate); }

/* Hero photo (landscape when filled with a real photo) */
.hero-media .img-slot.filled { aspect-ratio: 4/3; }

/* ---------- Carousel (past workshops) ---------- */
.carousel-track {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 0.25rem 0.25rem 0.75rem; -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { height: 8px; }
.carousel-track::-webkit-scrollbar-thumb { background: #cdd5df; border-radius: 4px; }
.carousel-card {
  flex: 0 0 auto; width: min(320px, 82%); scroll-snap-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm);
}
.carousel-card .cimg { height: 230px; background: #eef1f6; display: grid; place-items: center; }
.carousel-card .cimg img { width: 100%; height: 100%; object-fit: contain; display: block; }
.carousel-card .ccap { padding: 0.85rem 1rem; font-weight: 600; color: var(--navy); font-size: 0.9rem; }
.carousel-btns { display: flex; gap: 0.6rem; justify-content: center; margin-top: 1.2rem; }
.carousel-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  cursor: pointer; font-size: 1.2rem; color: var(--btn-ink); display: grid; place-items: center; transition: background 0.2s, color 0.2s;
}
.carousel-btn:hover { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }

/* ---------- Guide long-form elements ---------- */
.guide-lead { font-size: 1.15rem; color: var(--slate); border-left: 4px solid var(--teal); padding-left: 1.1rem; margin-bottom: 1.6rem; font-style: italic; }
.mtable-wrap { overflow-x: auto; margin: 1rem 0 1.6rem; }
.mtable { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 0.95rem; }
.mtable caption { text-align: left; color: var(--slate-light); margin-bottom: 0.5rem; font-size: 0.85rem; }
.mtable th { background: var(--teal); color: #fff; text-align: left; padding: 0.7rem 0.9rem; font-weight: 700; }
.mtable td { padding: 0.65rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.mtable tr:nth-child(even) td { background: var(--cream); }
.mtable td:first-child { font-weight: 600; color: var(--navy); width: 44%; }
.mtable td:last-child { color: var(--teal); }
.mcallout { background: #e9f6f5; border: 1px solid #bfe5e1; border-left: 4px solid var(--teal); border-radius: 12px; padding: 1rem 1.2rem; margin: 1.3rem 0; }
.mcallout strong { color: var(--teal); }
.mcallout p { margin: 0; color: var(--ink); }
.flip { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; }
.flip > div { border-radius: 12px; padding: 1rem 1.2rem; font-size: 0.95rem; }
.flip .before { background: var(--cream); border: 1px solid var(--line); color: var(--slate); }
.flip .after { background: #e9f6f5; border: 1px solid #bfe5e1; color: var(--ink); }
.flip .tag { display: block; font-weight: 700; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.35rem; }
.flip .before .tag { color: var(--slate-light); }
.flip .after .tag { color: var(--teal); }
@media (max-width: 640px) { .flip { grid-template-columns: 1fr; } }
.disclaimer { font-size: 0.85rem; color: var(--slate-light); font-style: italic; margin-top: 1.5rem; }

/* ---------- Credentials ticker ---------- */
.cred-ticker { overflow: hidden; position: relative; padding: 0.5rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.cred-track { display: flex; align-items: center; gap: 3.5rem; width: max-content; animation: cred-scroll 40s linear infinite; }
.cred-ticker:hover .cred-track { animation-play-state: paused; }
.cred-track .cred-item { flex: none; display: grid; place-items: center; }
.cred-track .cred-item img { height: 96px; width: auto; display: block; filter: grayscale(0.15); transition: filter 0.2s, transform 0.2s; }
.cred-track .cred-item img:hover { filter: none; transform: scale(1.06); }
@keyframes cred-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .cred-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } }

/* ---------- Footer ---------- */
.m-footer { background: var(--mist); color: var(--slate); border-top: 1px solid var(--line); padding: 3rem 0 2rem; }
.m-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.m-footer .fbrand img { height: 48px; margin-bottom: 0.8rem; }
.m-footer .fbrand p { font-size: 0.9rem; max-width: 22rem; }
.m-footer h4 { color: var(--navy); font-size: 0.95rem; margin-bottom: 0.8rem; letter-spacing: 0.02em; }
.m-footer a { color: var(--slate); text-decoration: none; display: block; margin-bottom: 0.5rem; font-size: 0.92rem; }
.m-footer a:hover { color: var(--teal); }
.m-footer .fbottom { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: 1.3rem; font-size: 0.82rem; color: var(--slate-light); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
@media (max-width: 760px) { .m-footer .wrap { grid-template-columns: 1fr 1fr; } .m-footer .fbrand { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) { .modern * { transition: none !important; } }
