/* KURMAN Danışmanlık & Teknoloji — site stilleri */

:root {
    --navy: #10243d;
    --navy-2: #183454;
    --navy-3: #234569;
    --accent: #6488a8;
    --accent-soft: #e8eef4;
    --gray: #f4f6f8;
    --gray-2: #eceff3;
    --line: #e1e6ec;
    --text: #17212c;
    --muted: #5a6776;
    --white: #fff;
    --ok: #2f7a55;
    --error: #b4382f;

    --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(16, 36, 61, .04), 0 8px 24px -12px rgba(16, 36, 61, .14);
    --shadow-lg: 0 2px 4px rgba(16, 36, 61, .04), 0 24px 48px -20px rgba(16, 36, 61, .28);
    --container: 1200px;
    --header-h: 80px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; color: var(--navy); font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; }
h2, .h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3, .h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 780px; }

.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); }
.logo-mark { width: 42px; height: 33px; flex: none; }
.logo-mark .lm-a { fill: currentColor; }
.logo-mark .lm-b { fill: var(--accent); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-weight: 800; font-size: 1.45rem; letter-spacing: .02em; }
.logo-sub { font-size: .58rem; font-weight: 600; letter-spacing: .14em; margin-top: 5px; color: var(--muted); }
.logo--light { color: #fff; }
.logo--light .logo-sub { color: rgba(255, 255, 255, .65); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(1.4) blur(12px);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(16, 36, 61, .4); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
    display: block; padding: 8px 14px; border-radius: 999px;
    font-size: .94rem; font-weight: 600; color: var(--muted);
    transition: color .15s, background .15s;
}
.site-nav a:hover { color: var(--navy); background: var(--gray); }
.site-nav a[aria-current="page"] { color: var(--navy); background: var(--accent-soft); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; cursor: pointer; color: var(--navy); }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
    font-weight: 700; font-size: .95rem; line-height: 1.2; cursor: pointer;
    transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-3); box-shadow: 0 10px 24px -12px rgba(16, 36, 61, .6); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--accent-soft); }
.btn--ghost-light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn--outline { color: var(--navy); border-color: var(--line); background: #fff; }
.btn--outline:hover { border-color: var(--navy); }
.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn--block { width: 100%; }

.link-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .94rem; color: var(--navy); }
.link-more .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-more:hover .icon { transform: translateX(4px); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: #a9c0d6; }

.tag {
    display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px;
    background: var(--accent-soft); color: var(--navy-3); font-size: .78rem; font-weight: 700;
}
a.tag:hover { background: #d9e3ed; }
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .86rem; font-weight: 500; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(1200px 600px at 85% 10%, rgba(100, 136, 168, .28), transparent 60%),
        linear-gradient(160deg, var(--navy) 0%, #0c1c31 100%);
    padding: clamp(80px, 12vw, 150px) 0 clamp(80px, 11vw, 140px);
}
.hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%, #000 100%);
}
.hero__inner { position: relative; z-index: 1; max-width: var(--container); }
.hero__title { color: #fff; font-size: clamp(2.6rem, 6.6vw, 5.2rem); line-height: 1.04; margin-bottom: 28px; letter-spacing: -.035em; }
.hero__title span { display: block; }
.hero__title i { font-style: normal; color: var(--accent); }
.hero__text { max-width: 600px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .78); margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
/* Sağdaki büyük K işareti; çiçek, K'nin dikey gövdesinin (uzun dikdörtgen) üzerine oturur. */
.hero__art {
    position: absolute; right: -4%; top: 50%; transform: translateY(-50%);
    width: min(46vw, 620px); aspect-ratio: 168 / 132; z-index: 0; pointer-events: none;
}
.hero__mark { display: block; width: 100%; height: 100%; opacity: .09; }
.hero__mark .lm-a { fill: #fff; }
.hero__mark .lm-b { fill: var(--accent); opacity: 1; }
.hero__flower {
    position: absolute; height: 128%; width: auto; top: -16%;
    left: -11.5%; /* gövdenin merkezi (~%10.5) üzerine ortalanır */
    filter: drop-shadow(0 24px 40px rgba(4, 12, 24, .45));
    transform-origin: 30% 100%;
}
@media (max-width: 1240px) {
    .hero__art { right: -16%; }
    .hero__text { max-width: 540px; }
}
@media (max-width: 900px) {
    .hero__flower { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
    .hero__flower { animation: sway 9s ease-in-out infinite; }
    @keyframes sway { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(1.4deg); } }
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--gray { background: var(--gray); }
.section--tight { padding-top: 24px; padding-bottom: clamp(56px, 8vw, 96px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 64px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head__text { max-width: 460px; color: var(--muted); margin: 0; font-size: 1.04rem; }

/* ---------- Page head ---------- */
.page-head { position: relative; overflow: hidden; background: var(--gray); padding: clamp(48px, 7vw, 88px) 0 clamp(44px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-head .container { position: relative; z-index: 1; }
.page-head h1 { max-width: 860px; margin-bottom: 16px; }
.page-head .lead { max-width: 680px; margin: 0; }
.page-head__mark { position: absolute; right: -40px; bottom: -60px; width: 360px; height: auto; opacity: .06; }
.page-head__mark .lm-a, .page-head__mark .lm-b { fill: var(--navy); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); line-height: 1.6; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 20px; font-weight: 500; }
.crumbs a:hover { color: var(--navy); }
.crumbs [aria-current] { color: var(--navy); }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
    position: relative; display: flex; flex-direction: column;
    padding: 32px 30px 30px; border-radius: var(--radius);
    background: #fff; border: 1px solid var(--line);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
    overflow: hidden;
}
.service-card::before {
    content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
    background: linear-gradient(90deg, var(--navy), var(--accent));
    transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.service-card__icon {
    display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px;
    background: var(--accent-soft); color: var(--navy); transition: background .3s, color .3s;
}
.service-card__icon .icon { width: 28px; height: 28px; }
.service-card:hover .service-card__icon { background: var(--navy); color: #fff; }
.service-card__num { font-size: .85rem; font-weight: 700; color: #b3c0cd; letter-spacing: .06em; }
.service-card__title { font-size: 1.2rem; margin-bottom: 12px; }
.service-card__text { color: var(--muted); font-size: .96rem; flex: 1; margin-bottom: 24px; }
.service-card__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--navy); }
.service-card__more .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.service-card:hover .service-card__more .icon { transform: translateX(4px); }

/* ---------- Team strip (home) ---------- */
.team-strip { list-style: none; padding: 0; margin: 0 0 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.team-strip a {
    display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius);
    background: #fff; border: 1px solid var(--line); transition: box-shadow .25s, transform .25s var(--ease);
}
.team-strip a:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.team-strip strong, .aside-person strong, .byline strong { display: block; color: var(--navy); font-size: .98rem; line-height: 1.3; }
.team-strip small, .aside-person small, .byline small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.4; margin-top: 2px; }

/* ---------- Avatar ---------- */
.avatar { border-radius: 50%; object-fit: cover; flex: none; background: var(--accent-soft); }
.avatar--empty {
    display: grid; place-items: center; font-weight: 800; color: var(--navy); letter-spacing: .02em;
    background: linear-gradient(145deg, var(--accent-soft), #d5e0ea);
}
.avatar--xs { width: 40px; height: 40px; font-size: .8rem; }
.avatar--sm { width: 56px; height: 56px; font-size: 1rem; }
.avatar--lg { width: 100%; height: 100%; border-radius: 0; font-size: 2.4rem; }

/* ---------- Team page ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; align-items: start; }
.expert { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s; }
.expert:target, .expert.is-open { box-shadow: var(--shadow-lg); border-color: transparent; }
.expert__card { display: grid; grid-template-columns: 200px 1fr; }
.expert__photo { aspect-ratio: 4 / 5; background: var(--gray-2); }
.expert__photo .avatar--empty { background: linear-gradient(160deg, var(--accent-soft), #cfdbe6); color: var(--navy-3); }
.expert__info { padding: 26px 28px; display: flex; flex-direction: column; }
.expert__name { font-size: 1.3rem; margin-bottom: 4px; }
.expert__title { color: var(--accent); font-weight: 700; font-size: .9rem; line-height: 1.4; margin-bottom: 14px; }
.expert__summary { color: var(--muted); font-size: .95rem; flex: 1; }
.expert__actions { display: flex; align-items: center; gap: 12px; }
.expert__actions .btn .icon { transition: transform .3s var(--ease); }
.expert__actions .btn:hover .icon { transform: none; }
.expert__actions [aria-expanded="true"] .icon { transform: rotate(180deg) !important; }
.icon-link { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); color: var(--navy); }
.icon-link:hover { border-color: var(--navy); }
.expert__cv { border-top: 1px solid var(--line); background: #fbfcfd; overflow: hidden; transition: height .35s var(--ease); }
.expert__cv-inner { padding: 28px; }
.expert__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

/* ---------- Service detail ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; }
.detail__badge { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 32px; color: var(--muted); font-weight: 700; font-size: .85rem; letter-spacing: .06em; }
.detail__badge .icon { width: 64px; height: 64px; padding: 16px; border-radius: 16px; background: var(--navy); color: #fff; }
.sub-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.sub-list li {
    display: flex; gap: 14px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius-sm);
    background: var(--gray); font-weight: 600; color: var(--navy); line-height: 1.45;
}
.sub-list .icon { width: 22px; height: 22px; color: var(--accent); margin-top: 1px; }
.detail__aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.aside-card { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.aside-card h3 { font-size: 1.05rem; margin-bottom: 18px; }
.aside-card--navy { background: var(--navy); border-color: var(--navy); color: rgba(255, 255, 255, .78); }
.aside-card--navy h3 { color: #fff; margin-bottom: 10px; }
.aside-card--navy p { font-size: .95rem; margin-bottom: 20px; }
.aside-card--navy strong { color: #fff; }
.aside-person { display: flex; align-items: center; gap: 14px; padding: 10px; margin: 0 -10px; border-radius: var(--radius-sm); }
.aside-person:hover { background: var(--gray); }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: clamp(56px, 8vw, 96px); }
.pager a { display: flex; flex-direction: column; gap: 4px; padding: 24px 28px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.pager a:hover { border-color: var(--navy); }
.pager small { color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.pager span { font-weight: 700; color: var(--navy); }
.pager__next { text-align: right; }

/* ---------- Prose ---------- */
.prose { color: #2c3846; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.6rem; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 1.25rem; margin: 1.5em 0 .5em; }
.prose a { color: var(--navy-3); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); font-size: 1.15rem; color: var(--navy); font-weight: 500; }
.prose img { border-radius: var(--radius-sm); margin: 1.5em 0; }
.prose--lg { font-size: 1.08rem; line-height: 1.8; }

.pending {
    display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-radius: var(--radius-sm);
    border: 1px dashed #c4cfdb; background: #fff; color: var(--muted); font-size: .95rem;
}
.pending .icon { color: var(--accent); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.pillars { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.pillars li { padding: 26px 28px; border-radius: var(--radius); background: var(--gray); position: relative; }
.pillars h3 { margin-bottom: 6px; }
.pillars p { margin: 0; color: var(--muted); }
.pillars__num { position: absolute; right: 24px; top: 22px; font-weight: 800; color: #c3ceda; font-size: .9rem; }
.about__body p:first-child { font-size: 1.22rem; color: var(--navy); font-weight: 600; line-height: 1.6; }

/* Kurumsal deneyim — lacivert zemin üzerinde kart ızgarası */
.experience {
    position: relative; overflow: hidden; color: rgba(255, 255, 255, .78);
    padding: clamp(64px, 9vw, 112px) 0;
    background:
        radial-gradient(900px 500px at 15% 0%, rgba(100, 136, 168, .22), transparent 60%),
        radial-gradient(700px 500px at 100% 100%, rgba(100, 136, 168, .14), transparent 60%),
        linear-gradient(170deg, var(--navy) 0%, #0b1a2c 100%);
}
.experience__head { text-align: center; max-width: 880px; margin: 0 auto 56px; }
.experience__head h2 { color: #fff; }
.experience__head h2::after { content: ""; display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--accent); margin: 20px auto 0; }
.experience__lead p { font-size: 1.05rem; margin-bottom: .6em; }
.xp-group {
    display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: center;
    padding: 28px; margin-bottom: 24px; border-radius: 20px;
    border: 1px solid rgba(169, 192, 214, .18); background: rgba(255, 255, 255, .025);
}
.xp-group__label { display: flex; align-items: center; gap: 18px; padding-right: 8px; }
.xp-group__label h3 { color: #fff; font-size: 1.45rem; margin: 0; padding-left: 18px; border-left: 2px solid var(--accent); line-height: 1.2; }
.xp-group__icon { width: 52px; height: 52px; color: #fff; stroke-width: 1.3; }
.xp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.xp-card {
    position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 20px 20px 24px;
    border-radius: 14px; border: 1px solid rgba(169, 192, 214, .2);
    background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
    transition: border-color .25s, transform .25s var(--ease), background .25s;
}
.xp-card::after { content: ""; position: absolute; left: 58px; bottom: 14px; width: 32px; height: 3px; border-radius: 3px; background: #4aa3df; opacity: .85; transition: width .3s var(--ease); }
.xp-card:hover { border-color: rgba(169, 192, 214, .45); transform: translateY(-2px); background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); }
.xp-card:hover::after { width: 56px; }
.xp-card__icon { width: 30px; height: 30px; color: #cfe0f0; stroke-width: 1.4; margin-top: 2px; }
.xp-card h4 { color: #fff; font-size: 1.05rem; margin: 0 0 6px; letter-spacing: -.01em; }
.xp-card p { margin: 0; font-size: .88rem; line-height: 1.5; color: rgba(255, 255, 255, .7); }
.experience__note { margin: 32px auto 0; max-width: 820px; text-align: center; font-size: .84rem; color: rgba(255, 255, 255, .5); }

/* Hikâyemiz */
.story { background: linear-gradient(180deg, #fff 0%, var(--gray) 100%); overflow: hidden; }
.story__inner { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 72px; align-items: center; max-width: 1000px; }
.story__art { margin: 0; position: relative; display: grid; place-items: center; }
.story__art::before { content: ""; position: absolute; width: 60%; height: 82%; border-radius: 24px; background: var(--navy); top: 9%; }
.story__art img { position: relative; height: 460px; width: auto; filter: drop-shadow(0 20px 30px rgba(16, 36, 61, .3)); }
.story__text h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 24px; }
.story__text .prose p:first-child::first-letter { float: left; font-size: 3.4em; line-height: .9; font-weight: 800; color: var(--navy); margin: 4px 10px 0 0; }

/* ---------- Posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .3s, transform .3s var(--ease); }
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.post-card__media { aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__placeholder { display: grid; place-items: center; height: 100%; background: linear-gradient(150deg, var(--navy), var(--navy-3)); }
.post-card__placeholder .logo-mark { width: 30%; height: auto; opacity: .5; }
.post-card__placeholder .lm-a { fill: #fff; }
.post-card__body { display: flex; flex-direction: column; gap: 12px; padding: 24px 26px 26px; flex: 1; }
.post-card__title { font-size: 1.15rem; margin: 0; }
.post-card__text { color: var(--muted); font-size: .94rem; margin: 0; flex: 1; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--muted); }
.filters a:hover { color: var(--navy); border-color: var(--navy); }
.filters a[aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }

.article-head { padding: clamp(48px, 7vw, 80px) 0 32px; }
.article-head h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 16px 0; }
.article-head .lead { margin-bottom: 28px; }
.article-cover img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; }
.byline { display: inline-flex; align-items: center; gap: 12px; }

.empty { text-align: center; padding: 48px 0; max-width: 520px; margin: 0 auto; }
.empty p { color: var(--muted); }
.empty__icon { width: 56px; height: 56px; color: var(--accent); margin: 0 auto 20px; }
.empty__code { display: block; font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; line-height: 1; color: var(--accent-soft); letter-spacing: -.05em; margin-bottom: 8px; }
.empty--404 { padding: 40px 24px; }

/* ---------- CTA ---------- */
.cta { background: var(--navy); color: rgba(255, 255, 255, .75); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 100% 0%, rgba(100, 136, 168, .35), transparent 70%); }
.cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; padding-top: clamp(56px, 7vw, 80px); padding-bottom: clamp(56px, 7vw, 80px); flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); max-width: 640px; margin-bottom: 10px; }
.cta p { margin: 0; font-size: 1.05rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 64px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list small { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.info-list a, .info-list > li > span:last-child { color: var(--navy); font-weight: 600; }
.info-list em { color: var(--muted); font-weight: 500; }
.info-list__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--navy); flex: none; }
.contact__form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }

.form { display: grid; gap: 22px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__label { font-size: .88rem; font-weight: 700; color: var(--navy); padding: 0; }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
    background: #fff; transition: border-color .15s, box-shadow .15s; font-size: .98rem;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(100, 136, 168, .16); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { color: var(--error); font-size: .85rem; font-weight: 600; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border: 0; margin: 0; background: var(--gray); border-radius: 999px; }
.segmented label { cursor: pointer; }
.segmented input, .chip input, .check input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 14px; border-radius: 999px; font-weight: 700; font-size: .92rem; color: var(--muted); transition: background .2s, color .2s, box-shadow .2s; }
.segmented .icon { width: 18px; height: 18px; }
.segmented input:checked + span { background: #fff; color: var(--navy); box-shadow: 0 2px 8px -2px rgba(16, 36, 61, .2); }
.segmented input:focus-visible + span, .chip input:focus-visible + span, .check input:focus-visible + span::before { outline: 2px solid var(--accent); outline-offset: 2px; }
.meeting-fields { padding: 22px; border-radius: var(--radius-sm); background: var(--gray); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .9rem; cursor: pointer; transition: all .15s; }
.chip input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; position: relative; }
.check span::before { content: ""; flex: none; display: inline-block; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #c3ceda; background: #fff center / 14px no-repeat; margin-right: 12px; vertical-align: -5px; transition: all .15s; }
.check span { display: block; padding-left: 32px; text-indent: -32px; }
.check input:checked + span::before { background-color: var(--navy); border-color: var(--navy); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.check--error span::before { border-color: var(--error); }
.check a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.notice { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius-sm); margin-bottom: 24px; font-size: .95rem; }
.notice p { margin: 2px 0 0; }
.notice--ok { background: #e9f4ee; color: #1f5b3e; }
.notice--ok .icon { color: var(--ok); width: 24px; height: 24px; }
.notice--error { background: #fbecea; color: var(--error); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1a2c; color: rgba(255, 255, 255, .62); font-size: .93rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1.3fr 1fr 1.1fr; gap: 48px; padding-top: 72px; padding-bottom: 56px; }
.site-footer__brand p { margin-top: 22px; max-width: 320px; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .84rem; }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
    .js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
    .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .service-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
    .team-strip { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: 1fr; }
    .detail { grid-template-columns: 1fr; gap: 40px; }
    .detail__aside { position: static; grid-template-columns: 1fr 1fr; }
    .contact { grid-template-columns: 1fr; gap: 40px; }
    .about { grid-template-columns: 1fr; gap: 48px; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .xp-group { grid-template-columns: 1fr; gap: 20px; }
    .story__inner { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; }
    .story__art img { height: 360px; }
}

@media (max-width: 900px) {
    :root { --header-h: 68px; }
    .nav-toggle { display: block; }
    .site-nav {
        position: fixed; inset: var(--header-h) 0 auto 0; background: #fff;
        border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(16, 36, 61, .35);
        padding: 12px 16px 20px; transform: translateY(-8px); opacity: 0; visibility: hidden;
        transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
    }
    .site-nav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .2s, transform .2s var(--ease); }
    .site-nav ul { flex-direction: column; }
    .site-nav a { padding: 14px 16px; border-radius: var(--radius-sm); font-size: 1rem; }
    .logo-mark { width: 36px; height: 28px; }
    .logo-name { font-size: 1.25rem; }
    .logo-sub { font-size: .52rem; }
}

@media (max-width: 680px) {
    .container { padding: 0 16px; }
    .service-grid, .post-grid, .team-strip, .sub-list, .form__grid, .pager, .detail__aside, .story__inner { grid-template-columns: 1fr; }
    .xp-group { padding: 20px 16px; }
    .xp-group__label h3 { font-size: 1.25rem; }
    .xp-group__icon { width: 40px; height: 40px; }
    .story__art img { height: 300px; }
    .service-card { padding: 26px 22px; }
    .expert__card { grid-template-columns: 1fr; }
    .expert__photo { aspect-ratio: auto; height: 260px; }
    .expert__photo .avatar--empty { height: 100%; }
    .expert__info, .expert__cv-inner { padding: 22px; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; }
    .hero__art { width: 90vw; right: -30vw; top: 60%; }
    .pager__next { text-align: left; }
    .segmented span { font-size: .85rem; padding: 10px 8px; }
    .hero__actions .btn { flex: 1 1 auto; }
    .section-head { margin-bottom: 32px; }
}
