:root {
  --navy: #0b1f3a;
  --navy-2: #102a4c;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #eff6ff;
  --ink: #111827;
  --text: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --surface: #f8fafc;
  --white: #ffffff;
  --amber: #f59e0b;
  --radius: 22px;
  --shadow: 0 22px 60px rgba(15, 23, 42, .10);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; }
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 1000;
  transform: translateY(-150%); padding: 10px 14px;
  border-radius: 10px; background: white; color: var(--ink); box-shadow: var(--shadow);
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.section { position: relative; padding: 96px 0; }
.section-muted { background: var(--surface); border-block: 1px solid #eef2f7; }
.section-dark { background: var(--navy); color: white; }
.section-label { margin: 0 0 10px; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.section-label.light { color: #93c5fd; }
.section-heading { margin-bottom: 44px; }
.section-heading.narrow { max-width: 780px; }
.section-heading.centered { max-width: 750px; margin-inline: auto; text-align: center; }
h1, h2, h3 { margin-top: 0; color: var(--ink); line-height: 1.13; letter-spacing: -.025em; }
h1 { margin-bottom: 24px; font-size: clamp(2.55rem, 5vw, 4.65rem); font-weight: 850; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 3.8vw, 3.15rem); font-weight: 820; }
h3 { margin-bottom: 10px; font-size: 1.1rem; font-weight: 800; }
p { margin-top: 0; }
.section-heading > p:last-child { margin: 0; font-size: 1.08rem; line-height: 1.8; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(226,232,240,.9);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo {
  width: 96px; height: auto; flex: 0 0 auto; object-fit: contain;
}
.brand-copy { display: grid; line-height: 1.18; }
.brand-copy strong { color: var(--ink); font-size: 1rem; }
.brand-copy small { margin-top: 4px; color: var(--muted); font-size: .74rem; }
.desktop-nav { display: flex; gap: 26px; align-items: center; }
.desktop-nav a { color: #475569; font-size: .88rem; font-weight: 700; text-decoration: none; }
.desktop-nav a:hover { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-button { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.menu-button span { display: block; height: 2px; margin: 4px 0; border-radius: 2px; background: var(--ink); }
.mobile-nav { border-top: 1px solid var(--line); background: white; }
.mobile-nav-inner { display: grid; gap: 4px; padding-block: 14px 18px; }
.mobile-nav a:not(.button) { padding: 10px 6px; font-weight: 700; text-decoration: none; }

.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 12px 21px; border: 1px solid transparent; border-radius: 13px;
  font-weight: 800; text-decoration: none; cursor: pointer; transition: .2s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { color: white; background: var(--blue); box-shadow: 0 10px 24px rgba(37,99,235,.18); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { color: var(--ink); border-color: #cbd5e1; background: white; }
.button-secondary:hover { background: var(--surface); }
.button-dark { color: white; background: var(--navy); }
.button-dark:hover { background: #07182d; }
.button-small { min-height: 42px; padding: 9px 15px; font-size: .84rem; }
.button-full { width: 100%; }

.hero { overflow: hidden; min-height: 650px; display: grid; align-items: center; background: linear-gradient(180deg, #f4f8ff 0%, #fff 74%); }
.hero-pattern {
  position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(37,99,235,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(37,99,235,.07) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 68px; align-items: center; }
.hero-copy { padding-right: 10px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 8px 12px;
  border: 1px solid #dbeafe; border-radius: 999px; color: #1e40af; background: rgba(255,255,255,.9);
  font-size: .78rem; font-weight: 800;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.1); }
.hero-lead { max-width: 740px; margin-bottom: 24px; font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.75; }
.hero-lead strong { color: var(--ink); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.hero-tags span { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; color: #334155; background: white; font-size: .79rem; font-weight: 750; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.microcopy { margin: 14px 0 0; color: var(--muted); font-size: .76rem; }

.profile-card { overflow: hidden; border: 1px solid #dbe3ee; border-radius: 28px; background: white; box-shadow: var(--shadow); }
.portrait-frame { aspect-ratio: 1.2 / 1; overflow: hidden; background: #eaf1fb; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.profile-content { padding: 28px; }
.profile-kicker { margin: 0 0 5px; color: var(--blue); font-size: .73rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.profile-content h2 { margin-bottom: 6px; font-size: 1.55rem; }
.profile-role { margin: 0; color: #475569; font-size: .9rem; font-weight: 700; }
.profile-divider { height: 1px; margin: 20px 0; background: var(--line); }
.profile-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.profile-list li { display: grid; }
.profile-list strong { color: var(--ink); font-size: .88rem; }
.profile-list span { margin-top: 2px; color: var(--muted); font-size: .78rem; }

.proof-strip { border-block: 1px solid #edf1f5; background: #fbfdff; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 26px; }
.proof-grid div { display: grid; gap: 3px; text-align: center; }
.proof-grid div + div { border-left: 1px solid var(--line); }
.proof-grid strong { color: var(--ink); font-size: 1.65rem; line-height: 1.2; }
.proof-grid span { color: var(--muted); font-size: .7rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }

.card-grid { display: grid; gap: 18px; }
.expertise-grid { grid-template-columns: repeat(3, 1fr); }
.expertise-card { min-height: 225px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; transition: .22s ease; }
.expertise-card:hover { transform: translateY(-4px); border-color: #cbd5e1; box-shadow: 0 15px 38px rgba(15,23,42,.07); }
.card-number { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 22px; border-radius: 10px; color: var(--blue); background: var(--blue-soft); font-size: .75rem; font-weight: 900; }
.expertise-card p { margin: 0; font-size: .9rem; line-height: 1.72; }
.note-card { display: flex; gap: 10px; margin-top: 24px; padding: 18px 20px; border: 1px solid #dbeafe; border-radius: 16px; background: #f5f9ff; font-size: .88rem; }
.note-card strong { color: var(--ink); white-space: nowrap; }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.about-photo-wrap { position: relative; overflow: hidden; border-radius: 26px; box-shadow: 0 25px 70px rgba(0,0,0,.24); background: #07182d; }
/* Preserve the complete University of Bristol photograph.
   Explicit height:auto prevents the HTML width/height attributes or a browser layout quirk
   from stretching the image into a tall crop on narrow screens. */
.about-photo { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; object-position: center; }
.photo-caption { position: absolute; left: 18px; bottom: 18px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.24); border-radius: 9px; color: white; background: rgba(7,24,45,.82); backdrop-filter: blur(8px); font-size: .76rem; font-weight: 800; }
.about-copy h2, .about-copy h3 { color: white; }
.about-lead { max-width: 700px; color: #cbd5e1; font-size: 1.05rem; line-height: 1.8; }
.credential-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 30px 0; }
.credential-list > div { display: grid; padding: 17px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(255,255,255,.05); }
.credential-list strong { color: #93c5fd; font-size: .77rem; text-transform: uppercase; letter-spacing: .08em; }
.credential-list span { margin-top: 6px; color: white; font-size: .92rem; font-weight: 800; }
.credential-list small { margin-top: 3px; color: #94a3b8; font-size: .7rem; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.about-points p { margin: 0; color: #b9c5d4; font-size: .87rem; line-height: 1.75; }

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.process-grid article { padding: 30px; border-radius: var(--radius); background: var(--surface); }
.process-grid article > span { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 20px; border-radius: 50%; color: white; background: var(--blue); font-size: .8rem; font-weight: 900; }
.process-grid p { margin: 0; font-size: .9rem; line-height: 1.72; }
.format-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.format-grid article { display: flex; gap: 17px; align-items: flex-start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.format-icon { display: grid; flex: 0 0 42px; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: var(--blue); background: var(--blue-soft); font-size: .72rem; font-weight: 900; }
.format-grid p { margin: 0; font-size: .88rem; }

.reviews-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 34px; }
.reviews-heading h2 { max-width: 800px; margin-bottom: 0; }
.rating-badge { flex: 0 0 auto; padding: 9px 13px; border: 1px solid #fde68a; border-radius: 11px; color: #92400e; background: #fffbeb; font-size: .82rem; font-weight: 800; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.reviews-grid blockquote { margin: 0; padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.stars { margin-bottom: 14px; color: var(--amber); letter-spacing: 2px; }
.reviews-grid blockquote p { min-height: 130px; margin-bottom: 20px; color: #334155; font-size: .9rem; line-height: 1.75; }
.reviews-grid footer { display: grid; padding-top: 17px; border-top: 1px solid var(--line); }
.reviews-grid footer strong { color: var(--ink); font-size: .85rem; }
.reviews-grid footer span { color: var(--muted); font-size: .74rem; }

.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.faq-intro p:last-child { max-width: 360px; }
.faq-list { display: grid; gap: 12px; }
details { border: 1px solid var(--line); border-radius: 16px; background: white; }
summary { position: relative; padding: 19px 54px 19px 20px; color: var(--ink); font-weight: 800; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary span { position: absolute; right: 20px; top: 16px; color: var(--blue); font-size: 1.35rem; transition: transform .2s ease; }
details[open] summary span { transform: rotate(45deg); }
details p { margin: -2px 20px 19px; font-size: .88rem; line-height: 1.75; }

.contact-section { background: var(--blue-dark); color: white; }
.contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 68px; align-items: start; }
.contact-copy h2 { color: white; }
.contact-copy > p:not(.section-label) { color: #dbeafe; font-size: 1rem; line-height: 1.8; }
.contact-details { display: grid; gap: 10px; margin-top: 28px; font-size: .9rem; font-weight: 700; }
.contact-details a { color: white; }
.contact-card { padding: 30px; border-radius: 26px; background: white; color: var(--text); box-shadow: 0 25px 70px rgba(30,64,175,.28); }
.contact-card label { display: grid; gap: 7px; margin-bottom: 16px; }
.contact-card label > span { color: #334155; font-size: .78rem; font-weight: 800; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input, select, textarea { width: 100%; border: 1px solid #cbd5e1; border-radius: 11px; background: white; color: var(--ink); }
input, select { min-height: 46px; padding: 10px 12px; }
textarea { min-height: 138px; padding: 12px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.11); outline: none; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-note { margin: 11px 0 0; text-align: center; color: var(--muted); font-size: .72rem; }
.form-note a { color: var(--blue); font-weight: 700; }
.form-status { margin-bottom: 16px; padding: 12px 14px; border-radius: 10px; font-size: .82rem; font-weight: 700; }
.form-status.success { color: #166534; background: #dcfce7; }
.form-status.error { color: #991b1b; background: #fee2e2; }

.site-footer { padding: 34px 0; color: #94a3b8; background: #07182d; font-size: .78rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; }
.footer-grid > div { display: grid; gap: 4px; }
.footer-grid strong { color: white; font-size: .86rem; }
.footer-right { text-align: right; }

@media (max-width: 980px) {
  .desktop-nav, .desktop-cta { display: none; }
  .menu-button { display: block; }
  .hero-grid, .about-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero { min-height: auto; }
  .hero-copy { padding-right: 0; }
  .profile-card { max-width: 520px; }
  .portrait-frame { aspect-ratio: 1.35 / 1; }
  .expertise-grid, .process-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .about-photo-wrap { max-width: 760px; }
  .faq-intro p:last-child { max-width: 620px; }
}

@media (max-width: 680px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .section { padding: 72px 0; }
  .nav-wrap { min-height: 70px; }
  .brand-logo { width: 82px; }
  .brand-copy small { display: none; }
  .hero { padding-top: 54px; }
  .hero-grid { gap: 34px; }
  h1 { font-size: clamp(2.35rem, 10vw, 3.2rem); }
  .hero-actions .button { width: 100%; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .proof-grid div + div { border-left: 0; }
  .proof-grid div:nth-child(even) { border-left: 1px solid var(--line); }
  .expertise-grid, .process-grid, .reviews-grid, .format-grid, .credential-list, .about-points, .field-grid { grid-template-columns: 1fr; }
  .expertise-card { min-height: auto; }
  .note-card { display: grid; }
  .note-card strong { white-space: normal; }
  .reviews-heading { display: grid; align-items: start; }
  .rating-badge { width: fit-content; }
  .reviews-grid blockquote p { min-height: auto; }
  .contact-card { padding: 22px; }
  .footer-grid { display: grid; }
  .footer-right { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}


/* v4 — approved current portrait, utility bar, light About section, expanded Wyzant reviews */
.utility-bar { background: var(--navy); color: #e7eef9; }
.utility-inner {
  min-height: 34px; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; font-size: .72rem; font-weight: 650;
}
.utility-inner > div { display: flex; align-items: center; gap: 10px; }
.utility-inner a { color: #fff; text-decoration: none; }
.utility-inner a:hover { text-decoration: underline; }
.utility-sep { color: #64748b; }

.hero { min-height: 570px; padding-block: 64px; }
.hero-grid { grid-template-columns: 1fr 1fr; gap: 46px; }
.hero-accent { color: var(--blue-dark); }
.hero-subline { margin: -10px 0 12px; color: var(--ink); font-size: clamp(1.2rem, 2vw, 1.55rem); }
.hero-subline strong { color: var(--blue); }
.hero-visual {
  position: relative; overflow: hidden; min-height: 360px;
  border: 1px solid #d7e1ee; border-radius: 28px; background: #dce8f5;
  box-shadow: 0 26px 65px rgba(15,23,42,.16);
}
.hero-portrait { width: 100%; height: 100%; min-height: 360px; object-fit: cover; object-position: center; }
.hero-visual::after {
  content: ""; position: absolute; inset: auto 0 0; height: 36%;
  background: linear-gradient(to top, rgba(6,24,48,.68), transparent);
  pointer-events: none;
}
.hero-visual-caption {
  position: absolute; z-index: 2; left: 22px; right: 22px; bottom: 18px;
  display: grid; gap: 2px; color: white;
}
.hero-visual-caption strong { font-size: 1rem; }
.hero-visual-caption span { color: #dbeafe; font-size: .76rem; font-weight: 650; }

.about-section { background: #fff; }
.about-section .about-grid { grid-template-columns: 1fr 1.08fr; gap: 58px; }
.about-section .about-copy h2,
.about-section .about-copy h3 { color: var(--ink); }
.about-section .about-lead { color: var(--text); }
.about-section .credential-list > div { border-color: var(--line); background: var(--surface); }
.about-section .credential-list strong { color: var(--blue-dark); }
.about-section .credential-list span { color: var(--ink); }
.about-section .credential-list small { color: var(--muted); }
.about-section .about-points p { color: var(--text); }
.about-section .about-photo-wrap { box-shadow: 0 22px 55px rgba(15,23,42,.15); }

.reviews-heading { align-items: start; }
.reviews-heading > div:first-child { max-width: 820px; }
.reviews-intro { margin: 12px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.72; }
.rating-link { text-decoration: none; transition: .2s ease; }
.rating-link:hover { transform: translateY(-1px); border-color: #fbbf24; background: #fff7d6; }
.review-card {
  display: flex; flex-direction: column; min-height: 275px; padding: 27px;
  border: 1px solid var(--line); border-radius: var(--radius); background: white;
}
.review-card-featured { box-shadow: 0 12px 32px rgba(15,23,42,.055); }
.review-card h3 { margin-bottom: 10px; font-size: 1rem; }
.review-card p { flex: 1; margin-bottom: 20px; color: #334155; font-size: .88rem; line-height: 1.72; }
.review-card footer { display: grid; padding-top: 15px; border-top: 1px solid var(--line); }
.review-card footer strong { color: var(--ink); font-size: .84rem; }
.review-card footer span { color: var(--muted); font-size: .72rem; }
.reviews-more { margin-top: 18px; }
.reviews-more[hidden] { display: none !important; }
.reviews-all { grid-template-columns: repeat(3, 1fr); }
.reviews-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.reviews-note { max-width: 780px; margin: 15px auto 0; color: var(--muted); text-align: center; font-size: .72rem; }

@media (max-width: 980px) {
  .utility-inner { justify-content: center; }
  .utility-inner > div:first-child { display: none; }
  .hero-grid, .about-section .about-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 760px; }
  .hero-portrait { min-height: auto; }
  .reviews-all { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .utility-inner { min-height: 32px; font-size: .66rem; }
  .utility-inner > div { gap: 7px; }
  .utility-inner a[href^="mailto:"] { display: none; }
  .utility-sep:last-of-type { display: none; }
  .hero { padding-block: 48px; }
  .hero-visual { min-height: 0; border-radius: 22px; }
  .hero-portrait { height: auto; min-height: 0; aspect-ratio: 760 / 460; }
  .hero-visual-caption { left: 17px; right: 17px; bottom: 14px; }
  .reviews-all { grid-template-columns: 1fr; }
  .review-card { min-height: auto; }
  .reviews-actions .button { width: 100%; }
}

/* v5 — Greater Houston in-person service + professional consulting */
.consulting-section {
  overflow: hidden;
  color: #dbe6f4;
  background:
    radial-gradient(circle at 82% 18%, rgba(37,99,235,.24), transparent 34%),
    linear-gradient(135deg, #07182d 0%, #0b1f3a 58%, #102a4c 100%);
}
.consulting-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.consulting-copy h2 { color: #fff; }
.consulting-lead {
  max-width: 680px;
  margin-bottom: 24px;
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.8;
}
.consulting-benefits {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.consulting-benefits li {
  position: relative;
  padding-left: 28px;
  color: #d8e2ef;
  font-size: .91rem;
  line-height: 1.65;
}
.consulting-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #60a5fa;
  font-weight: 900;
}
.consulting-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.consulting-secondary {
  color: #fff;
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.06);
}
.consulting-secondary:hover { background: rgba(255,255,255,.12); }
.consulting-note {
  margin: 14px 0 0;
  color: #94a3b8;
  font-size: .76rem;
}
.consulting-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.consulting-card {
  min-height: 230px;
  padding: 25px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  background: rgba(255,255,255,.065);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.consulting-card h3 { color: #fff; }
.consulting-card p { margin: 0; color: #b9c7d9; font-size: .86rem; line-height: 1.72; }
.consulting-card-number {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border: 1px solid rgba(147,197,253,.22);
  border-radius: 10px;
  color: #bfdbfe;
  background: rgba(37,99,235,.16);
  font-size: .72rem;
  font-weight: 900;
}

@media (max-width: 980px) {
  .consulting-grid { grid-template-columns: 1fr; gap: 38px; }
}

@media (max-width: 680px) {
  .consulting-services { grid-template-columns: 1fr; }
  .consulting-card { min-height: auto; }
  .consulting-actions .button { width: 100%; }
}

/* v6 — verified academic credentials */
.credentials-section {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.credentials-heading { max-width: 840px; margin-inline: auto; }
.credentials-heading > p:last-child {
  max-width: 760px;
  margin: 14px auto 0;
  color: var(--muted);
  line-height: 1.75;
}
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.credential-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(15,23,42,.06);
}
.credential-image-link {
  position: relative;
  display: grid;
  place-items: center;
  height: 320px;
  padding: 18px;
  overflow: hidden;
  background: #eef3f8;
}
.credential-image-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: saturate(.94) contrast(1.01);
  transition: transform .25s ease;
}
.credential-image-link span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(7,24,45,.88);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .01em;
}
.credential-image-link:hover img { transform: scale(1.018); }
.credential-card-copy { padding: 22px 22px 24px; }
.credential-level {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.credential-card h3 { margin: 0 0 7px; color: var(--ink); font-size: 1.08rem; }
.credential-card p { margin: 0; color: var(--muted); font-size: .84rem; }
.credentials-note {
  max-width: 840px;
  margin: 22px auto 0;
  color: #64748b;
  text-align: center;
  font-size: .76rem;
  line-height: 1.65;
}
@media (max-width: 980px) {
  .credentials-grid { grid-template-columns: 1fr 1fr; }
  .credential-card:last-child { grid-column: 1 / -1; max-width: calc(50% - 11px); width: 100%; justify-self: center; }
}
@media (max-width: 680px) {
  .credentials-grid { grid-template-columns: 1fr; }
  .credential-card:last-child { grid-column: auto; max-width: none; }
  .credential-image-link { height: 300px; }
}
