:root {
    --blue: #1b75ba;
    --sky: #1d9cd7;
    --ink: #243746;
    --muted: #607583;
    --soft: #eef7fc;
    --white: #ffffff;
    --line: #dce8ef;
    --dark: #12364e;
    --shadow: 0 24px 70px rgba(24, 91, 130, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    min-width: 320px;
    margin: 0;
    color: var(--ink);
    background: linear-gradient(135deg, #f4fbfe 0%, var(--white) 42%, #f7fbfd 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

a { color: inherit; }
.site-header, .site-footer, .section-shell { width: min(1160px, calc(100% - 2.5rem)); margin-inline: auto; }
.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-header { min-height: 92px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 180px; height: auto; }
nav { display: flex; flex-wrap: wrap; gap: .35rem; }
nav a { padding: .6rem .85rem; color: var(--muted); border-radius: .6rem; text-decoration: none; font-size: .95rem; }
nav a:hover, nav a.is-active { color: var(--blue); background: #e8f4fb; }

.site-main { overflow: hidden; }
.hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .7fr); align-items: end; gap: clamp(2rem, 4vw, 4rem); min-height: 440px; padding-top: 3rem; padding-bottom: 3rem; }
.hero-copy { max-width: 760px; }
.eyebrow { margin: 0 0 1rem; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 850px; margin-bottom: 1.2rem; color: var(--dark); font-size: clamp(2.25rem, 3.4vw, 3.6rem); line-height: 1.02; letter-spacing: -.055em; }
h2 { margin-bottom: .7rem; color: var(--dark); font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.06; letter-spacing: -.04em; }
h3 { margin-bottom: .55rem; color: var(--dark); font-size: 1.22rem; line-height: 1.2; }
.hero-lead { max-width: 690px; margin-bottom: 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.28rem); line-height: 1.7; }
.actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: .8rem; margin-top: 2.2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: .9rem 1.2rem; color: var(--white); background: var(--blue); border: 1px solid var(--blue); border-radius: .65rem; text-decoration: none; font-weight: 750; }
.button:hover { background: #155f98; border-color: #155f98; }
.button-secondary { color: var(--blue); background: transparent; }
.button-secondary:hover { color: var(--white); background: var(--blue); }
.hero-aside { position: relative; padding: 2rem; color: var(--white); background: var(--dark); border-radius: 1rem; box-shadow: var(--shadow); }
.hero-aside::before { position: absolute; top: -16px; right: 24px; width: 72px; height: 72px; content: ""; background: linear-gradient(135deg, var(--sky), var(--blue)); border-radius: 50%; opacity: .9; }
.aside-label { display: block; margin-bottom: 2rem; color: #9edcf6; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.hero-aside strong { display: block; max-width: 230px; margin-bottom: .8rem; font-size: 1.55rem; line-height: 1.12; }
.hero-aside p { color: #c7dbe6; }
.aside-line { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.2rem; padding-top: 1rem; color: #9edcf6; border-top: 1px solid rgba(255,255,255,.22); font-size: .82rem; }

.section { padding-top: 4rem; padding-bottom: 4rem; }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: end; margin-bottom: 1.6rem; }
.section-heading > p { max-width: 430px; margin: 0 0 .25rem; color: var(--muted); font-size: 1.05rem; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; background: var(--line); border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--shadow); }
.service-card { min-height: 200px; padding: 1.5rem; background: rgba(255,255,255,.92); }
.service-card:nth-child(1), .service-card:nth-child(5) { background: var(--soft); }
.card-number { display: block; margin-bottom: 2.4rem; color: var(--sky); font-size: .8rem; font-weight: 800; }
.service-card p, .case-card p, .profile-card p, .team-note p { margin-bottom: 0; color: var(--muted); }

.experience-section { border-top: 1px solid var(--line); }
.featured-case { display: grid; grid-template-columns: 1fr 1.65fr; gap: 2.5rem; padding: clamp(2rem, 5vw, 4rem); color: var(--white); background: linear-gradient(115deg, var(--dark), #1b5878); border-radius: 1rem; box-shadow: var(--shadow); }
.case-mark { display: flex; align-items: flex-start; justify-content: space-between; min-height: 170px; padding-bottom: 1rem; color: #9edcf6; border-bottom: 1px solid rgba(255,255,255,.25); font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 850; line-height: .9; letter-spacing: -.07em; }
.case-mark span { align-self: flex-end; color: var(--white); font-size: .85rem; font-weight: 700; line-height: 1.1; letter-spacing: 0; }
.case-kicker { margin-bottom: .8rem; color: #9edcf6; font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.featured-case h3 { max-width: 620px; color: var(--white); font-size: clamp(1.7rem, 3vw, 2.6rem); }
.case-content > p:not(.case-kicker) { max-width: 650px; color: #d4e5ec; font-size: 1.05rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0; }
.tag-list span { padding: .35rem .65rem; color: #d8f1fb; border: 1px solid rgba(216,241,251,.35); border-radius: 999px; font-size: .82rem; }
.text-link { color: var(--blue); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.featured-case .text-link { color: #bdeafa; }
.video-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem 1rem; margin-top: 1.6rem; }
.video-link { color: #bdeafa; font-size: .9rem; font-weight: 750; text-decoration: none; }
.video-link:hover { color: var(--white); text-decoration: underline; }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; }
.case-card { min-height: 205px; padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: .8rem; }
.case-card > span { display: block; margin-bottom: 2.6rem; color: var(--sky); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.case-card .text-link { display: inline-block; margin-top: 1rem; font-size: .9rem; }

.process-section { border-top: 1px solid var(--line); }
.process-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { min-height: 160px; padding: 1.2rem 1rem 1rem 0; border-right: 1px solid var(--line); }
.process-list li:not(:first-child) { padding-left: 1rem; }
.process-list li:last-child { border-right: 0; }
.process-list span { display: block; margin-bottom: 2.5rem; color: var(--sky); font-size: .78rem; font-weight: 800; }
.process-list strong, .process-list small { display: block; }
.process-list strong { color: var(--dark); font-size: 1.1rem; }
.process-list small { margin-top: .35rem; color: var(--muted); font-size: .9rem; line-height: 1.35; }
.closing-panel { margin-bottom: 5.5rem; padding: clamp(2rem, 5vw, 4rem); background: var(--soft); border-radius: 1rem; }
.closing-panel h2 { max-width: 650px; margin-bottom: 1.5rem; }

.page-intro { padding-top: 3.5rem; padding-bottom: 1.5rem; }
.page-intro h1 { max-width: 780px; font-size: clamp(2.2rem, 3.4vw, 3.7rem); }
.video-intro { padding-bottom: 2.5rem; }
.inline-note { display: inline-block; max-width: 680px; margin: 1.8rem 0 0; padding: .8rem 1rem; color: #31556a; background: #edf7fc; border: 1px solid #cfeaf7; border-radius: .65rem; }
.compact-heading { margin-bottom: 2rem; }
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.profile-card { display: grid; grid-template-columns: 52px 1fr; gap: 1rem; min-height: 145px; padding: 1.15rem; background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: .8rem; }
.avatar { display: grid; place-items: center; width: 48px; height: 48px; color: var(--white); background: linear-gradient(135deg, var(--blue), var(--sky)); border-radius: .7rem; font-size: 1.2rem; font-weight: 800; }
.profile-card h3 { margin-bottom: .25rem; font-size: 1.05rem; }
.profile-card p { font-size: .95rem; line-height: 1.45; }
.profile-card .profile-area { margin-bottom: .55rem; color: var(--blue); font-size: .85rem; font-weight: 750; }
.profile-link { display: inline-block; margin-top: .9rem; color: var(--blue); font-size: .88rem; font-weight: 800; text-decoration: none; }
.profile-link:hover { text-decoration: underline; }
.team-note { padding-top: 2.5rem; padding-bottom: 5rem; border-top: 1px solid var(--line); }
.team-note p { max-width: 700px; font-size: 1.05rem; }

.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.download-card { display: flex; align-items: center; gap: 1rem; padding: 1.2rem; color: var(--dark); background: var(--white); border: 1px solid var(--line); border-radius: .8rem; text-decoration: none; box-shadow: 0 10px 30px rgba(24, 91, 130, .05); }
.download-card:hover { border-color: var(--sky); box-shadow: var(--shadow); transform: translateY(-2px); }
.download-icon { display: grid; place-items: center; flex: 0 0 48px; height: 54px; color: var(--white); background: var(--blue); border-radius: .55rem; font-size: .72rem; font-weight: 850; }
.download-card strong, .download-card small { display: block; }
.download-card strong { font-size: 1.02rem; }
.download-card small { margin-top: .25rem; color: var(--muted); font-size: .83rem; }

.ai-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end; padding: 2rem; color: var(--white); background: var(--dark); border-radius: 1rem; }
.ai-panel h2 { max-width: 520px; margin-bottom: 0; color: var(--white); font-size: clamp(1.7rem, 3vw, 2.5rem); }
.ai-panel p:last-child { max-width: 500px; margin: 0; color: #d4e5ec; font-size: 1.02rem; }
.animated-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.animated-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: .8rem; box-shadow: 0 10px 30px rgba(24, 91, 130, .05); }
.animated-cover { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--dark); }
.animated-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.animated-cover::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, transparent 45%, rgba(18,54,78,.72)); }
.animated-cover > span { position: absolute; right: 1rem; bottom: .8rem; z-index: 1; color: var(--white); font-size: .86rem; font-weight: 800; }
.animated-cover > span b { color: #bdeafa; }
.animated-cover:hover img { transform: scale(1.04); }
.animated-body { padding: 1.2rem; }
.video-meta { margin-bottom: .5rem; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.animated-body h3 { margin-bottom: .5rem; font-size: 1.1rem; }
.animated-body > p:not(.video-meta) { min-height: 4.2rem; margin-bottom: 0; color: var(--muted); font-size: .95rem; line-height: 1.45; }

.direct-card { max-width: 760px; margin-top: 2.5rem; margin-bottom: 1rem; padding: 2.5rem 2rem; text-align: center; background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--shadow); }
.direct-card h1 { font-size: clamp(2rem, 3vw, 3.2rem); }
.certificate-section { padding-top: 1.5rem; }
.direct-icon { display: grid; place-items: center; width: 4rem; height: 4rem; margin: 0 auto 1.5rem; color: var(--white); background: linear-gradient(135deg, var(--blue), var(--sky)); border-radius: 1.1rem; font-size: 2rem; font-weight: 800; }
.direct-card .hero-lead { margin-inline: auto; }
.site-footer { min-height: 92px; color: var(--muted); border-top: 1px solid var(--line); font-size: .88rem; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--blue); text-decoration: none; }

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-aside { max-width: 560px; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .profile-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
    .site-header { align-items: flex-start; flex-direction: column; padding: 1.2rem 0; }
    nav { width: 100%; justify-content: flex-start; }
    .site-header, .site-footer, .section-shell { width: min(100% - 2rem, 1160px); }
    .hero { gap: 2.5rem; padding-top: 4rem; padding-bottom: 4rem; }
    h1 { font-size: clamp(2.2rem, 9vw, 3.2rem); }
    .section { padding-top: 4rem; padding-bottom: 4rem; }
    .section-heading { grid-template-columns: 1fr; gap: 1rem; }
    .service-grid, .case-grid, .profile-grid { grid-template-columns: 1fr; }
    .featured-case { grid-template-columns: 1fr; gap: 2rem; }
    .case-mark { min-height: 100px; }
    .video-links { grid-template-columns: 1fr; }
    .ai-panel { grid-template-columns: 1fr; gap: 1.2rem; padding: 1.5rem; }
    .animated-grid { grid-template-columns: 1fr; }
    .process-list { grid-template-columns: 1fr; }
    .process-list li, .process-list li:not(:first-child) { min-height: auto; padding: 1rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
    .process-list li:last-child { border-bottom: 0; }
    .process-list span { display: inline-block; width: 3rem; margin: 0 .4rem 0 0; }
    .process-list strong, .process-list small { display: inline; }
    .process-list small { margin-left: .35rem; }
    .closing-panel { margin-bottom: 4rem; }
    .page-intro { padding-top: 4rem; }
    .download-grid { grid-template-columns: 1fr; }
    .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; padding: 1.2rem 0; }
}
