:root {
    color-scheme: light;
    --ink: #172f49;
    --muted: #526a82;
    --brand: #1261a0;
    --brand-dark: #123f70;
    --mint: #eaf3fb;
    --paper: #fff5e9;
    --line: #f0dfcc;
    --accent: #ed7b19;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "DM Sans", sans-serif; font-size: 18px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.site-header { position: sticky; z-index: 20; top: 0; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(18,51,59,.07); backdrop-filter: blur(14px); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: Manrope, sans-serif; font-size: 20px; font-weight: 800; letter-spacing: -.7px; white-space: nowrap; }
.brand img { width: 64px; height: 64px; object-fit: contain; }
.brand-accent { color: var(--brand); }
.primary-nav { display: flex; align-items: center; gap: 34px; color: #52666a; font-size: 16px; font-weight: 600; }
.primary-nav > a:not(.nav-cta):hover, .text-link:hover { color: var(--brand); }
.primary-nav > a.active:not(.nav-cta) { color: var(--brand); }
.primary-nav .nav-cta { padding: 12px 19px; color: #fff; border-radius: 6px; background: var(--brand); transition: transform .2s, background .2s; }
.primary-nav .nav-cta:hover, .button-primary:hover { transform: translateY(-2px); background: #064657; }
.primary-nav .nav-cta { background: var(--accent); color: #fff; }
.primary-nav .nav-cta:hover { background: var(--brand-dark); }
.nav-cta span { padding-left: 9px; }
.menu-toggle { display: none; border: 0; background: none; padding: 10px; }
.menu-toggle span { display: block; width: 23px; height: 2px; margin: 5px 0; background: var(--ink); }

.hero { position: relative; overflow: hidden; background: linear-gradient(115deg, #fff1df 0%, #fff8f0 54%, #fff 100%); }
.hero-grid { min-height: 598px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 46px; padding-top: 36px; padding-bottom: 34px; }
.hero-copy { position: relative; z-index: 2; padding: 20px 0 42px; }
.eyebrow { margin: 0 0 19px; color: var(--brand); font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.eyebrow-mark { display: inline-block; width: 23px; height: 2px; margin: 0 9px 3px 0; background: var(--accent); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Manrope, sans-serif; }
.hero h1 { margin-bottom: 24px; font-size: clamp(43px, 5.2vw, 65px); font-weight: 800; letter-spacing: -3.2px; line-height: 1.08; }
.hero h1 span { color: var(--brand); }
.hero-description { max-width: 540px; margin-bottom: 30px; color: #4f6578; font-size: 19px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 29px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 0 23px; border-radius: 5px; font-size: 16px; font-weight: 700; transition: transform .2s, background .2s; }
.button-primary { color: white; background: var(--accent); }
.button-light { color: var(--brand-dark); background: #fff; }
.button-light:hover { transform: translateY(-2px); background: var(--mint); }
.text-link { color: var(--ink); font-size: 16px; font-weight: 700; transition: color .2s; }
.text-link span { padding-left: 6px; color: var(--brand); }
.hero-note { display: flex; align-items: center; gap: 11px; margin-top: 42px; color: #526a82; font-size: 14px; }
.note-icon { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; color: var(--brand); background: var(--mint); font-size: 12px; }

.hero-art { position: relative; min-height: 475px; display: grid; place-items: center; isolation: isolate; }
.hero-art-orbit { position: absolute; z-index: -1; border: 1px solid rgba(18,97,160,.12); border-radius: 50%; }
.hero-art-orbit-one { width: 430px; height: 430px; }
.hero-art-orbit-two { width: 350px; height: 350px; }
.hero-illustration { position: relative; z-index: 1; display: block; width: min(100%, 560px); height: auto; filter: drop-shadow(0 18px 26px rgba(18,63,112,.08)); }
.floating-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 13px 17px; border: 1px solid rgba(18,63,112,.1); border-radius: 8px; background: white; box-shadow: 0 13px 30px rgba(18,63,112,.13); }
.floating-card small, .floating-card strong { display: block; }
.floating-card small { color: #71859a; font-size: 10px; font-weight: 700; letter-spacing: .9px; }
.floating-card strong { margin-top: 1px; color: var(--ink); font-size: 14px; }
.floating-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 7px; color: var(--brand); background: var(--mint); font-size: 18px; font-weight: 700; }
.internship-card { top: 55px; right: -2px; }
.project-card { bottom: 43px; left: -1px; }
.hero-bottom { display: flex; justify-content: space-between; padding: 17px 0 20px; border-top: 1px solid var(--line); color: #63778b; font-size: 14px; letter-spacing: .2px; }
.hero-bottom a { color: var(--brand); font-weight: 700; }
.hero-bottom a span { padding-left: 8px; }

.section-pad { padding: 104px 0; }
.intro-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 100px; align-items: end; }
.intro-grid h2, .section-heading h2, .approach-copy h2, .contact-intro h2 { margin: 0; font-size: clamp(32px, 4vw, 45px); letter-spacing: -1.7px; line-height: 1.2; }
.intro-copy p { margin-bottom: 20px; color: var(--muted); line-height: 1.85; }
.values-row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); }
.value-item { display: flex; gap: 17px; padding-right: 25px; }
.value-number { color: #b6c8c0; font-family: Manrope, sans-serif; font-size: 13px; font-weight: 800; }
.value-item strong, .value-item small { display: block; }
.value-item strong { font-size: 16px; }
.value-item small { max-width: 260px; margin-top: 5px; color: #63778b; font-size: 14px; line-height: 1.6; }

.services-section { background: var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 45px; }
.section-heading > p { max-width: 355px; margin: 0 0 4px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-card { min-height: 300px; display: flex; flex-direction: column; align-items: flex-start; padding: 25px 22px 21px; border: 1px solid #e8ece8; border-radius: 6px; background: white; transition: transform .2s, box-shadow .2s; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 16px 35px rgba(7,59,76,.08); }
.service-illustration { display: block; width: 76px; height: 76px; margin-bottom: 20px; transition: transform .2s; }
.service-card:hover .service-illustration { transform: translateY(-3px) rotate(-2deg); }
.service-icon { width: 45px; height: 45px; display: grid; place-items: center; margin-bottom: 23px; border-radius: 6px; color: var(--brand); background: #e2f1eb; font-size: 21px; }
.icon-project { color: #d9771d; background: #fff0e1; }
.icon-ieee { color: #1261a0; background: #e9f2fb; }
.icon-writing { color: #d9771d; background: #fff0e1; }
.service-index { margin-bottom: 9px; color: #93a09c; font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.service-card h3 { min-height: 48px; margin-bottom: 10px; font-size: 19px; letter-spacing: -.4px; line-height: 1.4; }
.service-card > p:not(.service-index) { margin-bottom: 20px; color: #5b7085; font-size: 15px; line-height: 1.75; }
.service-card > a { display: inline-flex; gap: 8px; align-items: center; margin-top: auto; color: var(--brand); font-size: 14px; font-weight: 700; }
.services-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card > a span { font-size: 14px; transition: transform .2s; }
.service-card > a:hover span { transform: translateX(4px); }

.approach-grid { display: grid; grid-template-columns: .92fr 1fr; gap: 105px; align-items: center; }
.approach-art { position: relative; min-height: 480px; overflow: hidden; border-radius: 7px; background: #e7f0e9; }
.approach-art::before, .approach-art::after { position: absolute; content: ""; border: 1px solid rgba(7,83,106,.12); border-radius: 50%; }
.approach-art::before { width: 430px; height: 430px; left: -91px; top: 102px; }
.approach-art::after { width: 310px; height: 310px; right: -81px; top: -101px; }
.approach-stamp { position: absolute; top: 60px; left: 55px; width: 104px; height: 104px; display: grid; place-items: center; border: 1px solid rgba(7,83,106,.24); border-radius: 50%; color: var(--brand); text-align: center; transform: rotate(-12deg); }
.approach-stamp span { font-size: 10px; font-weight: 700; letter-spacing: 1px; line-height: 1.5; }
.approach-stamp b { position: absolute; right: -5px; bottom: 4px; display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: white; background: var(--brand); font-size: 15px; }
.approach-quote { position: absolute; top: 167px; left: 50%; width: 72%; padding: 27px 26px 26px; border-radius: 6px; background: #fff; box-shadow: 0 18px 40px rgba(7,59,76,.11); transform: translateX(-50%) rotate(2deg); }
.quote-mark { color: #d6a461; font-family: Georgia, serif; font-size: 39px; line-height: .8; }
.approach-quote p { max-width: 270px; margin: 13px 0 20px; font-family: Manrope, sans-serif; font-size: 21px; font-weight: 700; line-height: 1.4; }
.quote-line { display: block; width: 38px; height: 3px; background: var(--brand); }
.approach-number { position: absolute; right: 32px; bottom: 28px; color: rgba(7,83,106,.72); font-family: Manrope, sans-serif; font-size: 29px; font-weight: 800; }
.approach-number span { display: block; margin-top: -1px; font-family: "DM Sans", sans-serif; font-size: 8px; letter-spacing: 1.5px; }
.approach-copy h2 { margin-bottom: 17px; }
.approach-description { margin-bottom: 28px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.approach-step { display: flex; gap: 15px; margin: 0 0 20px; }
.approach-step > span { flex: 0 0 28px; padding-top: 1px; color: #9eb4ad; font-size: 11px; font-weight: 700; }
.approach-step strong { font-size: 16px; }
.approach-step p { margin: 3px 0 0; color: #63778b; font-size: 14px; }
.approach-copy .button { margin-top: 5px; }

.contact-section { padding-top: 20px; padding-bottom: 90px; }
.contact-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 75px; padding: 58px 64px; border-radius: 8px; color: white; background: var(--brand-dark); }
.eyebrow-light { color: #bbdcd0; }
.contact-intro h2 { margin-bottom: 17px; font-size: 38px; }
.contact-intro > p:not(.eyebrow) { max-width: 410px; margin-bottom: 25px; color: #d7e6f3; font-size: 16px; line-height: 1.8; }
.contact-details { display: grid; align-content: center; gap: 21px; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; }
.detail-icon { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 5px; color: #b8dfd3; font-size: 14px; }
.contact-detail small { display: block; margin: 0 0 4px; color: #a9c5df; font-size: 12px; font-weight: 700; letter-spacing: 1.2px; }
.contact-detail a, .contact-detail address { color: #fff; font-size: 16px; font-style: normal; line-height: 1.6; }
.contact-detail a:hover { color: #b8dfd3; }
.site-footer { color: #e6eef7; background: #123f70; border-top: 6px solid var(--accent); }
.footer-main { display: grid; grid-template-columns: 1.2fr 1.4fr .8fr; gap: 44px; padding-top: 42px; padding-bottom: 36px; }
.footer-brand { color: #fff; font-size: 19px; }
.footer-brand img { width: 56px; height: 56px; border-radius: 4px; }
.footer-brand .brand-accent { color: #ffad62; }
.footer-about p { max-width: 290px; margin: 14px 0 0; color: #d1deeb; font-size: 15px; }
.footer-contact h2, .footer-links h2 { margin: 5px 0 16px; color: #fff; font: 700 16px Manrope, sans-serif; }
.footer-contact-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer-contact-list li { display: grid; grid-template-columns: 78px 1fr; gap: 10px; color: #d1deeb; font-size: 14px; line-height: 1.6; }
.footer-contact-list strong { color: #ffad62; font-size: 12px; letter-spacing: .5px; }
.footer-contact-list a:hover, .footer-links a:hover { color: #ffbd7d; text-decoration: underline; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-links a { color: #e6eef7; font-size: 14px; }
.footer-top { margin-top: 8px; color: #ffad62; font-size: 14px; font-weight: 700; }
.footer-top span { padding-left: 8px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0 20px; border-top: 1px solid rgba(255,255,255,.2); color: #d1deeb; font-size: 13px; }
.footer-bottom a { color: #fff; }

@media (max-width: 980px) {
    .container { width: min(100% - 40px, 760px); }
    .primary-nav { gap: 21px; }
    .hero-grid { min-height: 540px; gap: 10px; }
    .hero h1 { font-size: 52px; }
    .hero-art { transform: scale(.9); }
    .section-pad { padding: 82px 0; }
    .intro-grid, .approach-grid { gap: 55px; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card { min-height: 275px; }
    .contact-panel { gap: 40px; padding: 48px; }
}
@media (max-width: 700px) {
    .container { width: calc(100% - 36px); }
    .header-inner { min-height: 76px; }
    .brand { font-size: 18px; }
    .brand img { width: 54px; height: 54px; }
    .menu-toggle { display: block; cursor: pointer; }
    .primary-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 8px 18px 18px; border-bottom: 1px solid var(--line); background: #fff; }
    .primary-nav.is-open { display: flex; flex-direction: column; }
    .primary-nav > a:not(.nav-cta) { padding: 11px 0; }
    .primary-nav .nav-cta { margin-top: 8px; text-align: center; }
    .hero-grid { grid-template-columns: 1fr; gap: 0; padding-top: 50px; }
    .hero-copy { padding: 0; }
    .hero h1 { font-size: clamp(42px, 12vw, 56px); letter-spacing: -2.7px; }
    .hero-description { max-width: 530px; font-size: 17px; }
    .hero-note { margin-top: 25px; }
    .hero-art { min-height: 370px; margin-top: 6px; transform: scale(.83); transform-origin: center; }
    .hero-art-orbit-one { width: 360px; height: 360px; }
    .hero-art-orbit-two { width: 290px; height: 290px; }
    .hero-bottom { gap: 12px; font-size: 12px; }
    .section-pad { padding: 68px 0; }
    .intro-grid, .approach-grid { grid-template-columns: 1fr; gap: 24px; }
    .intro-grid h2, .section-heading h2, .approach-copy h2 { font-size: 35px; }
    .values-row { grid-template-columns: 1fr; gap: 21px; margin-top: 38px; }
    .value-item { padding: 0; }
    .section-heading { display: block; margin-bottom: 30px; }
    .section-heading > p { margin-top: 17px; }
    .service-grid { gap: 11px; }
    .service-card { min-height: 290px; padding: 20px 16px; }
    .service-card h3 { font-size: 18px; }
    .service-card > p:not(.service-index) { font-size: 14px; }
    .approach-art { min-height: 400px; }
    .approach-quote { top: 143px; }
    .approach-copy { padding-top: 16px; }
    .contact-section { padding-top: 0; padding-bottom: 60px; }
    .contact-panel { grid-template-columns: 1fr; gap: 36px; padding: 34px 25px; }
    .contact-intro h2 { font-size: 33px; }
    .footer-main { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; padding-bottom: 28px; }
}
@media (max-width: 380px) {
    .hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; }
    .hero-art { margin-inline: -30px; transform: scale(.82); }
    .service-grid { grid-template-columns: 1fr; }
    .service-card { min-height: auto; }
    .service-card h3 { min-height: 0; }
    .footer-bottom { flex-direction: column; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}

.page-hero { padding: 82px 0 86px; background: linear-gradient(115deg, #f5f8fc 0%, #fff 75%); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin: 0 0 17px; color: var(--ink); font-size: clamp(42px, 5.2vw, 61px); font-weight: 800; letter-spacing: -2.7px; line-height: 1.12; }
.page-hero h1 span { color: var(--brand); }
.page-hero-copy > p:not(.eyebrow) { max-width: 610px; margin: 0 0 24px; color: var(--muted); font-size: 18px; line-height: 1.8; }
.page-hero-copy > p:last-child { margin-bottom: 0; }
.page-hero-copy .button { align-self: flex-start; }
.detail-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.detail-layout h2, .related-services h2, .contact-page-copy h2 { margin: 0; font-size: clamp(31px, 4vw, 43px); letter-spacing: -1.6px; line-height: 1.2; }
.detail-copy { max-width: 650px; color: var(--muted); line-height: 1.9; }
.detail-copy p { margin-bottom: 20px; }
.detail-copy .button { margin-top: 12px; }
.detail-list { display: grid; gap: 11px; margin: 24px 0 17px; padding: 0; list-style: none; }
.detail-list li { position: relative; padding-left: 27px; color: var(--ink); font-size: 14px; }
.detail-list li::before { position: absolute; left: 0; color: var(--accent); content: "✓"; font-weight: 800; }
.values-section, .related-services { background: var(--paper); }
.related-services .eyebrow { margin-bottom: 12px; }
.related-services h2 { margin-bottom: 29px; }
.related-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.related-links a { display: flex; justify-content: space-between; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: 5px; background: white; color: var(--ink); font-size: 13px; font-weight: 700; }
.related-links a span { color: var(--brand); }
.home-contact { color: white; background: var(--brand); }
.home-contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.home-contact .eyebrow-mark { background: var(--accent); }
.home-contact h2 { max-width: 680px; margin: 0; font-family: Manrope, sans-serif; font-size: clamp(29px, 4vw, 42px); letter-spacing: -1.5px; line-height: 1.2; }
.home-contact .button-light { flex-shrink: 0; }
.contact-page-section { background: var(--paper); }
.contact-page-grid { display: grid; grid-template-columns: 1fr .9fr; gap: 75px; align-items: center; }
.contact-page-copy > p:not(.eyebrow) { max-width: 440px; margin: 19px 0 25px; color: var(--muted); line-height: 1.85; }
.contact-card { display: grid; gap: 25px; padding: 33px; border: 1px solid var(--line); border-radius: 7px; background: white; box-shadow: 0 15px 40px rgba(18,63,112,.06); }
.contact-card .detail-icon { border-color: #dce8f3; color: var(--brand); background: var(--mint); }
.contact-card .contact-detail small { color: #78899a; }
.contact-card .contact-detail a, .contact-card .contact-detail address { color: var(--ink); }
.contact-card .contact-detail a:hover { color: var(--brand); }
.home-intro { padding-bottom: 92px; }
.site-footer { background: #f5f8fc; }
.footer-bottom a { color: var(--brand); }
body { scroll-padding-top: 90px; }
@media (max-width: 700px) {
    .page-hero { padding: 58px 0 62px; }
    .page-hero h1 { font-size: clamp(39px, 11vw, 52px); letter-spacing: -2px; }
    .detail-layout, .contact-page-grid { grid-template-columns: 1fr; gap: 29px; }
    .related-links { grid-template-columns: 1fr; }
    .home-contact-inner { align-items: flex-start; flex-direction: column; }
    .contact-card { padding: 24px 19px; }
}

.hero { background: linear-gradient(118deg, #ffead2 0%, #fff4e8 52%, #fff 100%); }
.page-hero { background: linear-gradient(115deg, #ffedd9 0%, #fff7ee 74%, #fff 100%); border-bottom-color: #f3ddc5; }
.services-section, .values-section, .related-services, .contact-page-section { background: #fff7ef; }
.home-contact { background: linear-gradient(110deg, #e97819 0%, #f28a2e 75%, #f5a450 100%); }
.home-contact .eyebrow-light { color: #fff4e8; }
.home-contact .button-light { color: var(--brand-dark); }
.service-card { min-height: 340px; }
.service-index { font-size: 12px; }
.page-hero .container > p:last-child { font-size: 18px; }
.detail-list li, .related-links a { font-size: 16px; }
.contact-page-copy > p:not(.eyebrow) { font-size: 18px; }
.footer-contact-list li { font-size: 15px; }
.footer-bottom { font-size: 14px; }
.footer-top { font-size: 15px; }
.site-footer { color: #e6eef7; background: #123f70; }
.footer-bottom { border-top-color: rgba(255,255,255,.2); color: #d1deeb; }
.footer-bottom a { color: #fff; }
@media (max-width: 980px) {
    .service-card { min-height: 320px; }
    .footer-main { gap: 26px; }
}
@media (max-width: 700px) {
    .service-card { min-height: 310px; }
    .home-contact h2 { font-size: 32px; }
    .footer-main { gap: 25px; }
    .footer-contact-list li { grid-template-columns: 72px 1fr; overflow-wrap: anywhere; }
    .footer-bottom { font-size: 13px; }
}
@media (max-width: 380px) {
    .service-card { min-height: 0; }
}

.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .82fr); align-items: center; gap: 42px; }
.page-hero-copy { max-width: 650px; }
.page-illustration { display: block; width: 100%; max-width: 470px; height: auto; justify-self: end; filter: drop-shadow(0 16px 22px rgba(18,63,112,.07)); }
.footer-main { grid-template-columns: minmax(190px, 1fr) minmax(280px, 1.15fr) minmax(270px, 1fr); gap: 25px; padding-top: 25px; padding-bottom: 20px; }
.footer-brand img { width: 44px; height: 44px; }
.footer-brand { gap: 8px; font-size: 17px; }
.footer-about p { margin-top: 9px; font-size: 13px; line-height: 1.55; }
.footer-contact h2, .footer-links h2 { margin: 3px 0 9px; font-size: 14px; }
.footer-contact-list { gap: 5px; }
.footer-contact-list li { grid-template-columns: 67px 1fr; gap: 8px; font-size: 13px; line-height: 1.45; }
.footer-contact-list strong { font-size: 10px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; align-content: start; gap: 5px 13px; }
.footer-links h2, .footer-links .footer-top { grid-column: 1 / -1; }
.footer-links a { font-size: 12px; line-height: 1.45; }
.footer-top { margin-top: 3px; font-size: 13px; }
.footer-bottom { padding-top: 11px; padding-bottom: 13px; font-size: 12px; }
@media (max-width: 980px) {
    .page-hero-grid { gap: 22px; grid-template-columns: minmax(0, 1fr) minmax(250px, .75fr); }
    .page-illustration { max-width: 390px; }
    .footer-main { grid-template-columns: 1fr 1.2fr; gap: 22px; }
    .footer-links { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
    .footer-links h2, .footer-links .footer-top { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
    .page-hero-grid { grid-template-columns: 1fr; gap: 15px; }
    .page-illustration { width: min(100%, 380px); justify-self: center; }
    .footer-main { grid-template-columns: 1fr; gap: 18px; padding-top: 22px; padding-bottom: 18px; }
    .footer-links { grid-column: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; }
    .footer-contact h2, .footer-links h2 { font-size: 14px; }
    .footer-bottom { padding-top: 10px; padding-bottom: 12px; }
}

.featured-courses { background: #fff7ef; }
.featured-course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.featured-course { position: relative; min-height: 250px; overflow: hidden; border-radius: 7px; color: #fff; background: var(--brand-dark); }
.featured-course::after { position: absolute; inset: 30% 0 0; background: linear-gradient(transparent, rgba(10,36,64,.88)); content: ""; }
.featured-course img { display: block; width: 100%; height: 100%; min-height: 250px; object-fit: cover; transition: transform .3s; }
.featured-course:hover img { transform: scale(1.04); }
.featured-course > span { position: absolute; z-index: 1; right: 20px; bottom: 17px; left: 20px; display: grid; gap: 3px; }
.featured-course small { color: #ffd1a6; font-size: 11px; font-weight: 700; letter-spacing: 1px; }
.featured-course strong { font: 700 21px Manrope, sans-serif; }
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.course-card { display: flex; height: 100%; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #fff; box-shadow: 0 10px 28px rgba(18,63,112,.05); }
.course-card > img { display: block; width: 100%; height: 190px; object-fit: cover; background: #f0f5f9; }
.course-card > div { display: flex; min-height: 245px; flex: 1; flex-direction: column; align-items: flex-start; padding: 21px 22px 22px; }
.course-category { margin-bottom: 7px; color: var(--brand); font-size: 11px; font-weight: 700; letter-spacing: .9px; }
.course-card h3 { margin-bottom: 8px; font-size: 20px; line-height: 1.35; }
.course-card > div > p:not(.course-category) { margin-bottom: 16px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.course-card a { display: inline-flex; gap: 8px; align-items: center; margin-top: auto; color: var(--brand); font-size: 14px; font-weight: 700; }
.course-card a span { transition: transform .2s; }
.course-card a:hover span { transform: translateX(4px); }
.courses-hero-cta { margin-top: 6px; }
.msme-section { padding: 0 0 88px; }
.msme-card { display: grid; grid-template-columns: minmax(180px, .7fr) 1.3fr; align-items: center; gap: 44px; padding: 38px 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff7ef; }
.msme-card img { display: block; width: 100%; max-height: 150px; object-fit: contain; }
.msme-card h2 { margin: 0 0 10px; font-size: clamp(29px, 3.5vw, 38px); letter-spacing: -1px; }
.msme-card p:last-child { max-width: 600px; margin: 0; color: var(--muted); }
@media (max-width: 980px) {
    .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .featured-course { min-height: 215px; }
    .featured-course img { min-height: 215px; }
    .services-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .course-grid, .featured-course-grid { grid-template-columns: 1fr; }
    .services-catalog-grid { grid-template-columns: 1fr; }
    .course-card > img { height: 210px; }
    .course-card > div { min-height: 0; }
    .featured-course, .featured-course img { min-height: 230px; }
    .msme-section { padding-bottom: 64px; }
    .msme-card { grid-template-columns: 1fr; gap: 22px; padding: 25px 22px; }
    .msme-card img { max-width: 250px; }
}
