/* ============================================================
   Enlighten Software Engineering — site stylesheet
   Fully self-contained; every asset is referenced relatively
   ============================================================ */

/* ---------- Reset ---------- */
*, *:before, *:after { -webkit-box-sizing: border-box; box-sizing: border-box; }
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption, footer,
header, hgroup, menu, nav, output, ruby, section,
summary, time, mark, audio, video {
    margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header,
hgroup, menu, nav, section { display: block; }
body { line-height: 1; }
ol, ul { list-style: none; }
a { text-decoration: none; color: inherit; }
a:hover, a:focus { text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Base ---------- */
body {
    font-family: "Segoe UI", "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { color: #1f3a5f; line-height: 1.2; }
.section-header { text-align: center; font-size: 38px; font-weight: 700; margin-bottom: 14px; }
.section-desc { text-align: center; color: #5a6b7b; font-size: 17px; line-height: 1.7; max-width: 760px; margin: 0 auto 50px; }

/* ---------- Header / Nav ---------- */
#header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: 92px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: height .25s ease-in-out, box-shadow .25s ease-in-out;
}
#header.shrink { height: 66px; box-shadow: 0 2px 10px rgba(0,0,0,0.12); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo {
    display: flex; align-items: center;
}
.logo img { height: 34px; width: auto; transition: height .25s ease; }
#header.shrink .logo img { height: 28px; }

.nav { display: flex; align-items: center; height: 100%; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }
.nav-item > a {
    display: flex; align-items: center; height: 100%;
    padding: 0 18px; font-size: 14px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .6px; color: #1f3a5f;
    position: relative; transition: color .2s ease;
}
.nav-item > a::after {
    content: ""; position: absolute; left: 18px; right: 18px; bottom: 22px;
    height: 2px; background: #ff8a00; transform: scaleX(0);
    transform-origin: left; transition: transform .25s ease;
}
.nav-item:hover > a, .nav-item > a.active { color: #ff8a00; }
.nav-item:hover > a::after, .nav-item > a.active::after { transform: scaleX(1); }

.dropdown a.active { background: #f5f8fc; border-left-color: #ff8a00; color: #ff8a00; }

/* dropdown */
.dropdown {
    position: absolute; top: 100%; left: 0; min-width: 280px;
    background: #fff; box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-radius: 0 0 8px 8px; padding: 10px 0;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: all .22s ease;
}
.nav-item.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
    display: flex; flex-direction: column; padding: 12px 22px;
    color: #1f3a5f; border-left: 3px solid transparent; transition: all .2s ease;
}
.dropdown a:hover { background: #f5f8fc; border-left-color: #ff8a00; color: #ff8a00; }
.dropdown a strong { font-size: 14px; font-weight: 600; }
.dropdown a span { font-size: 12px; color: #7b8a99; margin-top: 2px; }
.caret { margin-left: 6px; font-size: 10px; }

.cta-btn {
    display: inline-block; padding: 11px 22px; border-radius: 4px;
    background: #ff8a00; color: #fff !important; font-weight: 700; font-size: 13px;
    letter-spacing: .6px; text-transform: uppercase; transition: background .25s ease;
}
.cta-btn:hover { background: #e67a00; }
.cta-btn::after { display: none !important; }

/* ---------- Hero Slider ---------- */
#hero { margin-top: 92px; position: relative; height: 520px; overflow: hidden; background: #0e2238; }
.slides { position: absolute; inset: 0; }
.slide {
    position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease;
    display: flex; align-items: center;
    background-size: cover; background-position: center;
}
.slide.active { opacity: 1; z-index: 2; }
.slide::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(8,20,35,.85) 0%, rgba(8,20,35,.45) 55%, rgba(8,20,35,.15) 100%);
}
.slide .slide-content { position: relative; z-index: 3; color: #fff; max-width: 620px; padding: 0 60px; }
.slide .eyebrow { color: #ffb347; font-weight: 700; letter-spacing: 2px; font-size: 13px; text-transform: uppercase; }
.slide h1 { color: #fff; font-size: 46px; font-weight: 800; margin: 14px 0 18px; line-height: 1.15; }
.slide p { font-size: 19px; line-height: 1.7; color: #d7e1ec; margin-bottom: 28px; }
.slide .slide-btn {
    display: inline-block; padding: 13px 30px; border-radius: 4px;
    background: #ff8a00; color: #fff; font-weight: 700; letter-spacing: .5px;
    transition: background .25s ease;
}
.slide .slide-btn:hover { background: #e67a00; }

.hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
    width: 50px; height: 50px; border: none; border-radius: 50%;
    background: rgba(255,255,255,.18); color: #fff; font-size: 26px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: background .2s ease;
}
.hero-arrow:hover { background: rgba(255,255,255,.4); }
.hero-arrow.prev { left: 26px; }
.hero-arrow.next { right: 26px; }
.hero-dots { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 10px; }
.hero-dots button {
    width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff;
    background: transparent; cursor: pointer; padding: 0; transition: background .2s ease;
}
.hero-dots button.active { background: #ff8a00; border-color: #ff8a00; }

/* ---------- Generic section ---------- */
.section { padding: 80px 0; }
.section.alt { background: #f5f8fc; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.service-card {
    background: #fff; border: 1px solid #e7edf3; border-radius: 10px; padding: 38px 28px;
    text-align: center; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(31,58,95,.12); border-color: #ffd9a8; }
.service-icon { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 16px; background: #eef4fb; display: flex; align-items: center; justify-content: center; }
.service-icon svg { width: 38px; height: 38px; stroke: #1f3a5f; fill: none; stroke-width: 1.8; }
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.service-card .zh { color: #ff8a00; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.service-card p { color: #5a6b7b; font-size: 14px; line-height: 1.7; }

/* ---------- Stats ---------- */
.stats { background: #1f3a5f; color: #fff; padding: 70px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.stat-num { font-size: 58px; font-weight: 800; color: #fff; line-height: 1; }
.stat-num span { color: #ffb347; }
.stat-label { margin-top: 14px; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: #b9cbe0; }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.why-item { display: flex; gap: 18px; }
.why-item .num { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; background: #1f3a5f; color: #ffb347; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.why-item h4 { font-size: 17px; color: #1f3a5f; margin-bottom: 8px; }
.why-item p { color: #5a6b7b; font-size: 14px; line-height: 1.7; }

/* ---------- Case Studies ---------- */
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.case-card {
    background: #fff; border: 1px solid #e7edf3; border-radius: 12px; overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}
.case-card:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgba(31,58,95,.14); }
.case-head { padding: 26px 28px 0; display: flex; align-items: center; justify-content: space-between; }
.case-head h3 { font-size: 20px; color: #1f3a5f; }
.case-tag { font-size: 12px; font-weight: 700; color: #fff; background: #ff8a00; padding: 4px 12px; border-radius: 20px; }
.case-body { padding: 20px 28px 30px; }
.case-block { margin-bottom: 18px; }
.case-block:last-child { margin-bottom: 0; }
.case-block .lbl { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #ff8a00; margin-bottom: 6px; }
.case-block p { font-size: 14px; line-height: 1.7; color: #46586a; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-tags span { font-size: 12px; background: #eef4fb; color: #1f3a5f; padding: 5px 12px; border-radius: 6px; font-weight: 600; }
.case-list { list-style: none; }
.case-list li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.7; color: #46586a; margin-bottom: 4px; }
.case-list li::before { content: "✓"; position: absolute; left: 0; color: #ff8a00; font-weight: 700; }

/* ---------- About ---------- */
.about-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: center; }
.about-wrap p { color: #46586a; font-size: 16px; line-height: 1.9; margin-bottom: 16px; }
.about-info { background: #1f3a5f; color: #fff; border-radius: 12px; padding: 34px 32px; }
.about-info h4 { color: #ffb347; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 18px; }
.about-info .row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.about-info .row:last-child { border-bottom: none; }
.about-info .row span:first-child { color: #b9cbe0; }
.about-info .row span:last-child { font-weight: 700; }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info h3 { font-size: 22px; margin-bottom: 18px; }
.contact-info p { color: #46586a; font-size: 15px; line-height: 1.9; margin-bottom: 10px; }
.contact-info .ci-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.contact-info .ci-row .ic { width: 38px; height: 38px; border-radius: 8px; background: #eef4fb; color: #1f3a5f; display: flex; align-items: center; justify-content: center; font-weight: 800; flex: 0 0 38px; }
.contact-form { background: #f5f8fc; padding: 34px; border-radius: 12px; }
.contact-form label { display: block; font-size: 13px; font-weight: 700; color: #1f3a5f; margin-bottom: 6px; margin-top: 14px; }
.contact-form label:first-child { margin-top: 0; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 12px 14px; border: 1px solid #d4dde6; border-radius: 6px;
    font-size: 14px; font-family: inherit; outline: none; transition: border-color .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: #ff8a00; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .submit {
    margin-top: 22px; width: 100%; padding: 13px; border: none; border-radius: 6px;
    background: #ff8a00; color: #fff; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
    cursor: pointer; transition: background .25s ease;
}
.contact-form .submit:hover { background: #e67a00; }
.contact-form .submit:disabled { opacity: .6; cursor: default; }
.form-msg { margin-top: 12px; font-size: 13px; min-height: 18px; }
.form-msg.error { color: #d6453d; }
.form-msg.ok { color: #1f9d55; }

/* popup */
.popup { display: none; position: fixed; inset: 0; z-index: 2000; background: rgba(20,35,55,.55); align-items: center; justify-content: center; }
.popup.open { display: flex; }
.popup-box { background: #fff; border-radius: 12px; padding: 40px; max-width: 440px; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.popup-box h2 { color: #1f9d55; font-size: 28px; margin-bottom: 14px; }
.popup-box p { color: #46586a; font-size: 15px; line-height: 1.7; margin-bottom: 24px; }
.popup-box button { padding: 11px 28px; border: none; border-radius: 6px; background: #1f3a5f; color: #fff; font-weight: 700; cursor: pointer; }

/* ---------- Footer ---------- */
#footer { background: #16283f; color: #c4d2e0; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
#footer .f-logo { margin-bottom: 18px; display: flex; align-items: center; }
#footer .f-logo img { height: 32px; width: auto; display: block; }
#footer p { font-size: 14px; line-height: 1.8; color: #9fb2c6; margin-bottom: 8px; }
#footer h5 { color: #fff; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; }
#footer .f-links a { display: block; font-size: 14px; color: #9fb2c6; padding: 6px 0; transition: color .2s ease; }
#footer .f-links a:hover { color: #ff8a00; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #8194a8; }
.footer-bottom .legal a { color: #8194a8; margin-left: 18px; }
.footer-bottom .legal a:hover { color: #ff8a00; }

/* ---------- Page hero (image banner on interior pages) ---------- */
.page-hero {
    margin-top: 92px;
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    background-color: #16314f;          /* fallback colour behind the banner image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(13,28,47,.9) 0%, rgba(13,28,47,.55) 55%, rgba(13,28,47,.25) 100%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: 44px; font-weight: 800; margin-bottom: 12px; line-height: 1.15; }
.page-hero p { color: #cfe0f0; font-size: 18px; line-height: 1.6; max-width: 660px; }

/* ---------- Policy pages ---------- */
.policy-body { max-width: 860px; margin: 0 auto; padding: 60px 24px; }
.policy-body h2 { font-size: 24px; margin: 36px 0 14px; }
.policy-body h3 { font-size: 18px; margin: 24px 0 10px; color: #1f3a5f; }
.policy-body p, .policy-body li { font-size: 15px; line-height: 1.9; color: #46586a; margin-bottom: 12px; }
.policy-body ul { padding-left: 22px; list-style: disc; }
.policy-body a { color: #ff8a00; }

/* ---------- Responsive (desktop-first, basic) ---------- */
@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
    .cases-grid, .about-wrap, .contact-wrap, .footer-grid, .stats-grid { grid-template-columns: 1fr; }
    .nav-item > a { padding: 0 12px; font-size: 13px; }
    .slide h1 { font-size: 34px; }
}

/* ============================================================
   Enlighten — section styles
   Homepage slider hero / article pages / insights / quote / process
   ============================================================ */

/* ---------- Homepage: slider hero ---------- */
#hero.home-hero { height: 660px; background: #0a1a2f; overflow: hidden; }
.home-hero .hero-slides { position: absolute; inset: 0; z-index: 0; }
.home-hero .hero-slides .slide {
    position: absolute; inset: 0;
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
    opacity: 0;
    transition: opacity 1.1s ease;
    pointer-events: none;
}
.home-hero .hero-slides .slide.is-active { opacity: 1; }
/* clear the fixed header (92px) and the stats bar (~104px), then centre the copy */
.home-hero .slide-content {
    position: relative; z-index: 3; max-width: 760px;
    min-height: 660px; padding: 150px 60px 150px;
    display: flex; flex-direction: column; justify-content: center;
}
.home-hero .slide-copy { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.home-hero .slide-copy.is-active { opacity: 1; transform: none; }

/* slider arrows */
.home-hero .hero-arrow {
    position: absolute; top: 46%; z-index: 5;
    width: 46px; height: 46px; padding: 0;
    border: 1px solid rgba(255,255,255,.35); border-radius: 50%;
    background: rgba(8,20,35,.35); cursor: pointer;
    transition: background .25s ease, border-color .25s ease;
}
.home-hero .hero-arrow:hover { background: rgba(255,138,0,.85); border-color: rgba(255,138,0,.9); }
.home-hero .hero-arrow::before {
    content: ''; position: absolute; top: 50%; left: 50%;
    width: 12px; height: 12px;
    border-top: 2px solid #fff; border-right: 2px solid #fff;
}
.home-hero .hero-arrow.prev { left: 26px; transform: translateY(-50%); }
.home-hero .hero-arrow.prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.home-hero .hero-arrow.next { right: 26px; transform: translateY(-50%); }
.home-hero .hero-arrow.next::before { transform: translate(-70%, -50%) rotate(45deg); }

/* slider dots */
.home-hero .hero-dots {
    position: absolute; left: 60px; bottom: 132px; z-index: 5;
    display: flex; gap: 10px;
}
.home-hero .hero-dots button {
    width: 11px; height: 11px; padding: 0; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.4); cursor: pointer;
    transition: background .25s ease, width .25s ease, border-radius .25s ease;
}
.home-hero .hero-dots button.active { background: #ff8a00; width: 30px; border-radius: 6px; }

.home-hero .badge {
    display: inline-block; padding: 6px 14px; border: 1px solid rgba(255,179,71,.55); color: #ffb347;
    border-radius: 30px; font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 16px;
}
.home-hero h1 { color: #fff; font-size: 40px; font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.home-hero p.lead { color: #d7e1ec; font-size: 16px; line-height: 1.65; margin-bottom: 26px; max-width: 560px; }
.home-hero .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.home-hero .btn-primary, .home-hero .btn-ghost {
    display: inline-block; padding: 12px 26px; border-radius: 6px; font-weight: 700; letter-spacing: .5px; font-size: 14px;
    transition: all .25s ease;
}
.home-hero .btn-primary { background: #ff8a00; color: #fff; }
.home-hero .btn-primary:hover { background: #e67a00; transform: translateY(-2px); }
.home-hero .btn-ghost { border: 1px solid rgba(255,255,255,.5); color: #fff; }
.home-hero .btn-ghost:hover { background: rgba(255,255,255,.12); }
.home-hero .hero-stats {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
    display: grid; grid-template-columns: repeat(3, 1fr);
    background: rgba(8,20,35,.55); border-top: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(6px);
}
.home-hero .hero-stats .hs { padding: 22px 30px; border-right: 1px solid rgba(255,255,255,.08); }
.home-hero .hero-stats .hs:last-child { border-right: none; }
.home-hero .hero-stats .num { font-size: 32px; font-weight: 800; color: #ffb347; }
.home-hero .hero-stats .lbl { font-size: 13px; color: #c4d2e0; margin-top: 6px; letter-spacing: .5px; }

/* ---------- Homepage: process steps ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.process-step { position: relative; background: #fff; border: 1px solid #e7edf3; border-radius: 12px; padding: 34px 26px; }
.process-step .ps-num {
    width: 54px; height: 54px; border-radius: 12px; background: #1f3a5f; color: #ffb347;
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 22px; margin-bottom: 18px;
}
.process-step h4 { font-size: 18px; color: #1f3a5f; margin-bottom: 10px; }
.process-step p { font-size: 14px; line-height: 1.7; color: #5a6b7b; }
.process-step::after {
    content: "→"; position: absolute; top: 50px; right: -20px; color: #c9d4e0; font-size: 26px; font-weight: 700;
}
.process-step:last-child::after { content: ""; }

/* ---------- Homepage: featured case cards ---------- */
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.featured-card {
    display: block; background: #fff; border: 1px solid #e7edf3; border-radius: 12px; padding: 30px 28px;
    transition: transform .3s ease, box-shadow .3s ease;
}
.featured-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(31,58,95,.12); }
.featured-card .fc-tag { font-size: 12px; font-weight: 700; color: #fff; background: #ff8a00; padding: 4px 12px; border-radius: 20px; }
.featured-card h4 { font-size: 19px; color: #1f3a5f; margin: 16px 0 10px; }
.featured-card p { font-size: 14px; line-height: 1.7; color: #5a6b7b; }
.featured-card .fc-more { display: inline-block; margin-top: 16px; font-weight: 700; color: #ff8a00; font-size: 14px; }

/* ---------- Homepage: testimonial and CTA ---------- */
.quote-band { background: #1f3a5f; color: #fff; padding: 64px 0; }
.quote-band blockquote { max-width: 820px; margin: 0 auto; text-align: center; font-size: 26px; line-height: 1.5; font-style: italic; color: #eaf1f8; }
.quote-band .q-by { text-align: center; margin-top: 22px; color: #ffb347; font-weight: 700; letter-spacing: .5px; }
.cta-band { background: linear-gradient(120deg, #ff8a00, #ff6a3d); color: #fff; padding: 64px 0; text-align: center; }
.cta-band h2 { color: #fff; font-size: 34px; margin-bottom: 14px; }
.cta-band p { color: #fff4e8; font-size: 17px; line-height: 1.6; margin-bottom: 28px; max-width: 640px; margin-left: auto; margin-right: auto; }
.cta-band .btn-light { display: inline-block; padding: 15px 34px; border-radius: 6px; background: #fff; color: #ff6a3d; font-weight: 800; letter-spacing: .5px; }
.cta-band .btn-light:hover { background: #fff3e8; }

/* ---------- Article and detail pages (projects, insights) ---------- */
.article-hero { margin-top: 92px; position: relative; min-height: 360px; display: flex; align-items: flex-end;
    background-color: #16314f; background-size: cover; background-position: center; overflow: hidden; }
.article-hero::before { content: ""; position: absolute; inset: 0;
    background: linear-gradient(0deg, rgba(10,22,38,.92) 0%, rgba(10,22,38,.45) 60%, rgba(10,22,38,.25) 100%); }
.article-hero .wrap { position: relative; z-index: 2; padding-bottom: 46px; }
.article-hero .breadcrumb { color: #ffb347; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.article-hero .breadcrumb a { color: #ffb347; }
.article-hero h1 { color: #fff; font-size: 42px; font-weight: 800; line-height: 1.15; max-width: 860px; }
.article-hero .meta { margin-top: 14px; color: #cfe0f0; font-size: 14px; }

.article-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 50px; padding: 64px 0; align-items: start; }
.article-main { max-width: 820px; }
.article-main h2 { font-size: 28px; color: #1f3a5f; margin: 38px 0 16px; line-height: 1.25; }
.article-main h3 { font-size: 20px; color: #1f3a5f; margin: 28px 0 12px; }
.article-main p { font-size: 16px; line-height: 1.95; color: #3f5267; margin-bottom: 18px; }
.article-main ul, .article-main ol { margin: 0 0 20px 22px; }
.article-main ul li, .article-main ol li { font-size: 16px; line-height: 1.9; color: #3f5267; margin-bottom: 10px; }
.article-main ul { list-style: disc; }
.article-main ol { list-style: decimal; }
.article-main blockquote { border-left: 4px solid #ff8a00; background: #f5f8fc; padding: 18px 24px; margin: 24px 0;
    font-size: 17px; line-height: 1.7; color: #1f3a5f; font-style: italic; border-radius: 0 8px 8px 0; }
.article-main .lead { font-size: 18px; color: #2c4055; line-height: 1.85; }
.article-main .case-note {
    font-size: 14px; color: #6b7c8f; line-height: 1.7; font-style: italic;
    padding: 12px 16px; margin: 0 0 8px;
    background: #f5f8fc; border-left: 3px solid #c3d4e5; border-radius: 0 6px 6px 0;
}
.article-figure { margin: 30px 0; border-radius: 12px; overflow: hidden; border: 1px solid #e7edf3; }
.article-figure img { width: 100%; display: block; }
.article-figure figcaption { padding: 12px 16px; background: #f5f8fc; font-size: 13px; color: #5a6b7b; }

/* two-column image + text split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split + .split { margin-top: 54px; }
.split-text h2 { font-size: 28px; color: #1f3a5f; margin: 0 0 14px; line-height: 1.25; }
.split-text p { font-size: 16px; line-height: 1.9; color: #3f5267; margin-bottom: 16px; }
.split-text .cta-btn { display: inline-block; margin-top: 6px; }
.split-media img { width: 100%; border-radius: 14px; box-shadow: 0 14px 36px rgba(31,58,95,.16); display: block; object-fit: cover; }
.split:nth-of-type(even) .split-media { order: -1; }

/* full-width rounded content image band */
.content-figure { margin: 34px 0; border-radius: 14px; overflow: hidden; border: 1px solid #e7edf3; box-shadow: 0 14px 36px rgba(31,58,95,.12); }
.content-figure img { width: 100%; display: block; max-height: 520px; object-fit: cover; }
.content-figure figcaption { padding: 12px 16px; background: #f5f8fc; font-size: 13px; color: #5a6b7b; }
.tech-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
.tech-pills span { font-size: 13px; background: #eef4fb; color: #1f3a5f; padding: 6px 14px; border-radius: 6px; font-weight: 600; }
.kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 26px 0; }
.kpi { background: #1f3a5f; color: #fff; border-radius: 10px; padding: 22px; text-align: center; }
.kpi .v { font-size: 30px; font-weight: 800; color: #ffb347; }
.kpi .k { font-size: 13px; color: #cfe0f0; margin-top: 8px; letter-spacing: .5px; }

/* detail page sidebar */
.article-side { position: sticky; top: 110px; }
.side-card { background: #f5f8fc; border: 1px solid #e7edf3; border-radius: 12px; padding: 26px; margin-bottom: 22px; }
.side-card h4 { color: #1f3a5f; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.side-card ul li { font-size: 14px; line-height: 1.7; color: #46586a; padding: 7px 0; border-bottom: 1px solid #e3ebf3; }
.side-card ul li:last-child { border-bottom: none; }
.side-card .row { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; border-bottom: 1px solid #e3ebf3; }
.side-card .row span:first-child { color: #7b8a99; }
.side-card .row span:last-child { font-weight: 700; color: #1f3a5f; }
.side-cta { display: block; text-align: center; padding: 14px; border-radius: 8px; background: #ff8a00; color: #fff; font-weight: 700; letter-spacing: .5px; }
.side-cta:hover { background: #e67a00; }

/* ---------- Insight and article grid ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.info-card { background: #fff; border: 1px solid #e7edf3; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease; }
.info-card:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgba(31,58,95,.14); }
.info-card .ic-body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.info-card .ic-cat { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #ff8a00; margin-bottom: 12px; }
.info-card h3 { font-size: 20px; color: #1f3a5f; line-height: 1.3; margin-bottom: 12px; }
.info-card p { font-size: 14px; line-height: 1.75; color: #5a6b7b; flex: 1; }
.info-card .ic-more { margin-top: 18px; font-weight: 700; color: #ff8a00; font-size: 14px; }
.info-card .ic-thumb { width: 100%; height: 190px; overflow: hidden; }
.info-card .ic-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; flex-wrap: wrap; gap: 16px; }
.section-head-row .section-header { text-align: left; margin-bottom: 0; }
.section-head-row .section-desc { text-align: left; margin: 8px 0 0; max-width: 620px; }

/* ---------- Quote page ---------- */
.quote-layout { display: grid; grid-template-columns: 1fr 380px; gap: 50px; align-items: start; }
.quote-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 10px 0 40px; }
.quote-tier { border: 1px solid #e7edf3; border-radius: 12px; padding: 28px 24px; background: #fff; }
.quote-tier.featured { border-color: #ff8a00; box-shadow: 0 14px 34px rgba(255,138,0,.15); }
.quote-tier .qt-name { font-size: 15px; font-weight: 700; color: #1f3a5f; letter-spacing: .5px; }
.quote-tier .qt-price { font-size: 30px; font-weight: 800; color: #ff8a00; margin: 10px 0 4px; }
.quote-tier .qt-note { font-size: 13px; color: #7b8a99; margin-bottom: 16px; }
.quote-tier ul li { font-size: 14px; line-height: 1.6; color: #46586a; padding: 7px 0; border-bottom: 1px solid #eef2f6; }
.quote-tier ul li:last-child { border-bottom: none; }
.quote-form-box { background: #fff; border: 1px solid #e7edf3; border-radius: 14px; padding: 34px; }
.quote-form-box h3 { font-size: 22px; color: #1f3a5f; margin-bottom: 8px; }
.quote-form-box .sub { color: #5a6b7b; font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.quote-form-box label { display: block; font-size: 13px; font-weight: 700; color: #1f3a5f; margin: 14px 0 6px; }
.quote-form-box input, .quote-form-box select, .quote-form-box textarea {
    width: 100%; padding: 12px 14px; border: 1px solid #d4dde6; border-radius: 6px; font-size: 14px;
    font-family: inherit; outline: none; transition: border-color .2s ease; background: #fff;
}
.quote-form-box input:focus, .quote-form-box select:focus, .quote-form-box textarea:focus { border-color: #ff8a00; }
.quote-form-box textarea { resize: vertical; min-height: 110px; }
.quote-form-box .two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-form-box .submit { margin-top: 22px; width: 100%; padding: 14px; border: none; border-radius: 6px;
    background: #ff8a00; color: #fff; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; cursor: pointer; transition: background .25s ease; }
.quote-form-box .submit:hover { background: #e67a00; }
.quote-form-box .form-msg { margin-top: 12px; font-size: 13px; min-height: 18px; }
.quote-form-box .form-msg.error { color: #d6453d; }
.quote-form-box .form-msg.ok { color: #1f9d55; }
.quote-aside .side-card { background: #1f3a5f; color: #fff; border: none; }
.quote-aside .side-card h4 { color: #ffb347; }
.quote-aside .side-card ul li { color: #d7e1ec; border-color: rgba(255,255,255,.12); }
.quote-aside .side-card .row span:first-child { color: #b9cbe0; }
.quote-aside .side-card .row span:last-child { color: #fff; }

/* ---------- Contact page ---------- */
.contact-page-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.contact-page-info h3 { font-size: 22px; margin-bottom: 18px; color: #1f3a5f; }
.contact-page-info p { color: #46586a; font-size: 15px; line-height: 1.9; margin-bottom: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .process-grid, .featured-grid, .cards-grid, .quote-tiers { grid-template-columns: repeat(2, 1fr); }
    .article-wrap, .quote-layout, .contact-page-grid { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; gap: 26px; }
    .split:nth-of-type(even) .split-media { order: 0; }
    .article-side { position: static; }
    /* keep the illustration visible as the copy column narrows */
    .home-hero .hero-slides .slide { background-position: 70% center; }
    .home-hero .slide-content { max-width: 620px; }
}
@media (max-width: 920px) {
    #hero.home-hero { height: 620px; }
    .home-hero .slide-content { padding: 130px 30px 200px; min-height: 0; }
    .home-hero h1, .home-hero .slide-title { font-size: 38px; }
    .home-hero p.lead, .home-hero .slide-lead { font-size: 18px; }
    .home-hero .hero-stats { grid-template-columns: 1fr; }
    .home-hero .hero-stats .hs { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
    .home-hero .hero-dots { left: 30px; bottom: 250px; }
    .home-hero .hero-arrow { width: 38px; height: 38px; }
    .home-hero .hero-arrow.prev { left: 14px; }
    .home-hero .hero-arrow.next { right: 14px; }
    .process-step::after { content: ""; }
    .kpi-grid { grid-template-columns: 1fr; }
    .quote-form-box .two { grid-template-columns: 1fr; }
}
