/* ============================================================
   EDUCATIONAL CONSULTANCY — PAGE STYLES
   Shared colours: css/style.css
   Shared navigation/layout: css/executive-summary.css
   ============================================================ */
.consultancy-page {
    --ec-card-radius: 12px;       /* PDF and credential card corners */
    --ec-service-space: 30px;    /* Space inside each service row */
    --ec-section-space: 52px;   /* Space around major sections */
    --ec-credential-gap: 20px;  /* Space between professional documents */
}
.ec-hero { background: var(--navy-950); color: white; padding: 25px 0 52px; }
.ec-hero .summary-breadcrumb { margin-bottom: 40px; }
.ec-hero-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 65px; align-items: center; }
.ec-hero .summary-eyebrow { color: #91c5e3; margin-bottom: 17px; }
.ec-hero h1 { font-size: clamp(40px,4.8vw,66px); font-weight: 550; line-height: 1.08; letter-spacing: -.045em; margin: 0 0 22px; }
.ec-hero h1 > span { color: #65b5e1; }
.ec-hero-lead { font-size: clamp(20px,2vw,25px); color: #c2d2de; line-height: 1.45; letter-spacing: -.025em; margin: 0; }
.ec-hero-button { display: inline-flex; align-items: center; gap: 25px; background: white; color: var(--navy-950); padding: 13px 22px; border-radius: 6px; font-size: 12px; font-weight: 650; margin-top: 28px; }
.ec-hero-button:hover { background: var(--blue-light); }
.ec-hero-note { border-left: 1px solid #355066; padding-left: 32px; }
.ec-note-mark { display: block; color: #80bedf; font-size: 34px; line-height: 1; margin-bottom: 17px; }
.ec-hero-note p { color: #d0dfe9; font-size: 21px; line-height: 1.6; letter-spacing: -.02em; margin: 0 0 23px; }
.ec-hero-note a { display: inline-flex; align-items: center; gap: 30px; padding-bottom: 7px; border-bottom: 1px solid #5a7487; font-size: 12px; font-weight: 600; }
.ec-hero-note a:hover { color: #a5d7f4; }
.ec-layout { padding-top: 64px; }
.ec-sidebar .summary-side-nav a { font-size: 11px; line-height: 1.55; gap: 8px; }
.ec-sidebar .summary-side-nav a span { flex-shrink: 0; }
.ec-services, .ec-service, .ec-experience, .ec-credentials, .ec-anchor-alias { scroll-margin-top: calc(var(--summary-header-height) + 24px); }
.ec-services > h2, .ec-experience > h2, .ec-credentials > h2 { font-size: clamp(27px,2.8vw,37px); font-weight: 550; line-height: 1.2; letter-spacing: -.035em; margin: 0 0 20px; }
.ec-introduction { color: var(--muted); font-size: 15px; line-height: 1.85; margin: 0; }
.ec-service-list { margin-top: 30px; }
.ec-service { position: relative; display: grid; grid-template-columns: 37px minmax(0,1fr); gap: 23px; padding-block: var(--ec-service-space); border-top: 1px solid var(--line); }
.ec-service:last-child { border-bottom: 1px solid var(--line); }
.ec-anchor-alias { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }
.ec-service-number { display: grid; place-items: center; align-self: start; width: 35px; height: 35px; border: 1px solid #c4dce9; border-radius: 50%; background: var(--blue-light); color: var(--blue); font-size: 11px; font-weight: 650; }
.ec-service h3 { font-size: 26px; line-height: 1.25; font-weight: 550; letter-spacing: -.025em; margin: 0 0 13px; }
.ec-service p { color: var(--muted); font-size: 14px; line-height: 1.85; margin: 0 0 20px; }
.ec-service p.ec-scope-label { color: var(--blue); font-size: 9px; font-weight: 650; letter-spacing: .08em; margin: 0 0 9px; }
.ec-service ul { margin: 0 0 20px; padding-left: 18px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.ec-service li { padding-left: 3px; margin-bottom: 5px; }
.ec-service li::marker { color: var(--blue); }
.ec-experience, .ec-credentials { margin-top: var(--ec-section-space); }
.ec-document-panel { display: grid; grid-template-columns: 47px minmax(0,1fr); gap: 25px; padding: 30px; background: var(--blue-light); border: 1px solid #d2e4ef; border-radius: var(--ec-card-radius); margin: 28px 0 20px; }
.ec-pdf-icon { display: grid; place-items: center; width: 47px; height: 59px; background: white; border: 1px solid #bdd7e7; border-radius: 5px; color: var(--blue); font-size: 11px; font-weight: 650; }
.ec-document-panel p.ec-document-meta { color: var(--blue); font-size: 9px; letter-spacing: .07em; font-weight: 650; margin: 0 0 13px; }
.ec-document-panel h3 { font-size: 28px; font-weight: 550; line-height: 1.2; letter-spacing: -.03em; margin: 0 0 14px; }
.ec-document-panel p { font-size: 14px; line-height: 1.8; color: #4e6a7e; margin: 0 0 20px; }
.ec-document-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ec-document-actions a { display: inline-flex; gap: 9px; align-items: center; padding: 9px 12px; background: white; border: 1px solid #bdd7e7; border-radius: 5px; color: var(--blue); font-size: 11px; font-weight: 600; }
.ec-document-actions a:hover { border-color: var(--blue); }
.ec-credentials { border-top: 1px solid var(--line); padding-top: var(--ec-section-space); }
.ec-credential-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: var(--ec-credential-gap); margin-top: 28px; align-items: start; }
.ec-credential { margin: 0; border: 1px solid var(--line); border-radius: var(--ec-card-radius); overflow: hidden; background: white; }
.ec-credential-image { display: block; background: var(--paper-2); padding: 15px; }
.ec-credential-image img { display: block; width: 100%; height: 205px; object-fit: contain; }
.ec-credential figcaption { padding: 23px; }
.ec-credential figcaption > p { color: var(--muted); font-size: 10px; margin: 0 0 11px; }
.ec-credential h3 { font-size: 21px; line-height: 1.3; font-weight: 550; letter-spacing: -.025em; margin: 0 0 19px; }
.ec-certificate-link { display: inline-flex; gap: 12px; align-items: center; color: var(--blue); font-size: 12px; font-weight: 600; }
.ec-additional-copy { display: block; color: var(--muted); font-size: 10px; margin-top: 13px; text-decoration: underline; text-underline-offset: 3px; }
.ec-page-navigation { margin-top: 42px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--ec-card-radius); overflow: hidden; }
.ec-page-navigation a { display: flex; align-items: center; gap: 16px; padding: 23px 25px; font-size: 14px; font-weight: 600; transition: background 180ms; }
.ec-page-navigation a:hover { background: var(--paper); }
.ec-page-navigation small { display: block; font-size: 9px; font-weight: 650; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
.ec-page-navigation a:last-child { border-left: 1px solid var(--line); justify-content: space-between; color: var(--blue); }
@media (max-width: 1100px) {
    .ec-hero-grid { gap: 36px; }
    .ec-service { gap: 19px; }
    .ec-service h3 { font-size: 24px; }
    .ec-credential-image img { height: 170px; }
}
@media (max-width: 900px) {
    .ec-layout { padding-top: 32px; }
    .ec-hero-note { padding-left: 25px; }
    .ec-hero-note p { font-size: 17px; }
    .ec-hero-grid { gap: 26px; }
    .ec-sidebar .summary-side-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
    .ec-sidebar .summary-side-nav .summary-eyebrow { grid-column: 1 / -1; }
    .ec-sidebar .summary-side-nav a { margin: 0; display: flex; font-size: 11px; }
}
@media (max-width: 600px) {
    .consultancy-page { --ec-service-space: 26px; --ec-section-space: 36px; }
    .ec-hero { padding-bottom: 36px; }
    .ec-hero .summary-breadcrumb { margin-bottom: 28px; }
    .ec-hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .ec-hero h1 { font-size: 43px; }
    .ec-hero-note { border-left: 0; border-top: 1px solid #355066; padding: 22px 0 0; }
    .ec-note-mark { display: none; }
    .ec-service { grid-template-columns: 28px minmax(0,1fr); gap: 15px; }
    .ec-service-number { width: 28px; height: 28px; font-size: 10px; }
    .ec-service h3 { font-size: 23px; }
    .ec-document-panel { grid-template-columns: 1fr; padding: 25px; gap: 19px; }
    .ec-document-panel h3 { font-size: 26px; }
    .ec-credential-grid { grid-template-columns: 1fr; }
    .ec-credential-image img { height: auto; }
    .ec-page-navigation { grid-template-columns: 1fr; margin-top: 30px; }
    .ec-page-navigation a:last-child { border-left: 0; border-top: 1px solid var(--line); }
    .ec-page-navigation a { padding: 20px 23px; }
}
