/*
Theme Name: Emran Expert
Theme URI: https://emran.ru
Author: DJIGIT IT Studio
Author URI: https://djigit.dev
Description: Кастомная тема-визитка IT-эксперта по мотивам Bosa Portfolio-Resume. Тёмно-синие заголовки, оранжевый акцент, парящая статистика, услуги с номерами, резюме-карточки, отзывы. Контент — через Кастомайзер. Создано под Эмрана Гусейнова.
Version: 3.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: emran
Tags: it, developer, resume, portfolio, business, one-page, minimal
*/

/* =========================================================
   1. ТОКЕНЫ
   ========================================================= */
:root {
  --bg: #ffffff;
  --bg-alt: #eef2f5;          /* прохладно-серый фон секций */
  --bg-soft: #e6ecf0;
  --navy: #191641;            /* тёмно-синий — заголовки и тёмный текст */
  --ink: #191641;
  --ink-soft: #6c7180;
  --ink-faint: #9aa0ad;
  --line: #e5e8ee;

  --accent: #ff3d00;          /* оранжевый из логотипа DJIGIT */
  --accent-2: #ff6a33;
  --accent-ink: #ffffff;
  --accent-soft: rgba(255, 61, 0, .09);
  --accent-band: rgba(255, 61, 0, .10);

  --font-display: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1200px;
  --container-narrow: 800px;
  --radius-lg: 18px;
  --radius: 12px;
  --radius-sm: 8px;

  --section-y: clamp(60px, 8vw, 110px);
  --gap: clamp(20px, 2.4vw, 30px);

  --shadow-sm: 0 8px 24px -14px rgba(25, 22, 65, .18);
  --shadow: 0 26px 60px -30px rgba(25, 22, 65, .28);
  --shadow-card: 0 30px 60px -34px rgba(25, 22, 65, .26);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* =========================================================
   2. БАЗА
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* =========================================================
   3. ТИПОГРАФИКА
   ========================================================= */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.16; letter-spacing: -0.01em; color: var(--navy); }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); line-height: 1.1; }
h2 { font-size: clamp(1.95rem, 3.8vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 700; }
p { color: var(--ink-soft); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--ink-soft); }
strong { color: var(--navy); font-weight: 700; }
.accent-text { color: var(--accent); }

/* =========================================================
   4. РАЗМЕТКА
   ========================================================= */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }

.section-head { max-width: 660px; margin: 0 auto clamp(40px, 5vw, 60px); text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.section-head p { margin-top: 16px; }

/* Метка-надзаголовок: по центру — линии с двух сторон; слева — линия после */
.eyebrow { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-display); font-size: .82rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.eyebrow::after { content: ""; width: 34px; height: 2px; background: var(--accent); }
.section-head:not(.left) .eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--accent); }

/* =========================================================
   5. КНОПКИ
   ========================================================= */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 15px 32px; border-radius: var(--radius-sm); font-family: var(--font-display); font-weight: 600; font-size: .95rem; line-height: 1; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s; }
.btn svg { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 12px 26px -12px rgba(255,61,0,.5); }
.btn--primary:hover { background: var(--accent-2); box-shadow: 0 18px 34px -14px rgba(255,61,0,.55); }
.btn--outline { border: 2px solid var(--accent); color: var(--accent); }
.btn--outline:hover { background: var(--accent); color: #fff; }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--accent); }
.btn--lg { padding: 17px 38px; font-size: 1.02rem; }

/* текстовая кнопка-ссылка с иконкой (Let's Chat) */
.btn-link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; color: var(--navy); }
.btn-link .ic { width: 30px; height: 30px; }
.btn-link:hover { color: var(--accent); }

/* =========================================================
   6. ШАПКА + ТОП-БАР
   ========================================================= */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: box-shadow .3s var(--ease); }
.topbar { background: var(--bg-alt); font-size: .86rem; transition: max-height .3s var(--ease), opacity .25s, padding .3s; max-height: 60px; overflow: hidden; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 11px; }
.topbar-contacts { display: flex; flex-wrap: wrap; gap: 22px; }
.topbar-contacts a, .topbar-contacts span { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); }
.topbar-contacts svg { width: 15px; height: 15px; stroke: var(--accent); fill: none; stroke-width: 1.9; }
.topbar-social { display: flex; gap: 14px; }
.topbar-social a { color: var(--navy); transition: color .2s; }
.topbar-social a:hover { color: var(--accent); }
.topbar-social svg { width: 16px; height: 16px; }

.headbar { background: #fff; border-bottom: 1px solid transparent; transition: padding .3s var(--ease), border-color .3s; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px; }
.site-header.is-stuck .topbar { max-height: 0; opacity: 0; padding-block: 0; }
.site-header.is-stuck .headbar { box-shadow: 0 6px 24px -16px rgba(25,22,65,.3); border-bottom-color: var(--line); }
.site-header.is-stuck .header-inner { padding-block: 11px; }

.brand { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; display: inline-flex; align-items: center; color: var(--navy); }
.brand img, .brand .custom-logo { max-height: 40px; width: auto; }
.brand span { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a { font-family: var(--font-display); font-weight: 600; font-size: .92rem; padding: 9px 14px; border-radius: var(--radius-sm); color: var(--navy); transition: color .2s; }
.nav a:hover { color: var(--accent); }
.header-cta { margin-left: 10px; }

.nav-toggle { display: none; width: 44px; height: 44px; flex-direction: column; gap: 5px; justify-content: center; align-items: center; z-index: 101; }
.nav-toggle span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .topbar-contacts span:last-child { display: none; }
}
@media (max-width: 860px) {
  .topbar { display: none; }
  .nav-toggle { display: flex; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px; padding: 96px 24px 28px; background: #fff; box-shadow: var(--shadow); transform: translateX(100%); transition: transform .35s var(--ease); }
  .nav.is-open { transform: translateX(0); }
  .nav a { padding: 14px 16px; font-size: 1.05rem; }
  .header-cta { margin: 12px 0 0; }
}

/* =========================================================
   7. HERO
   ========================================================= */
.hero { background: var(--bg-alt); padding-top: clamp(150px, 17vh, 210px); padding-bottom: clamp(90px, 12vw, 150px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: .82rem; color: var(--accent); margin-bottom: 22px; }
.hero-eyebrow::after { content: ""; width: 44px; height: 2px; background: var(--accent); }
.hero-title { margin-bottom: 24px; color: var(--navy); }
.hero-title .accent-text { color: var(--accent); }
.hero-sub { font-size: clamp(1.04rem, 1.5vw, 1.2rem); color: var(--ink-soft); max-width: 52ch; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }

.hero-media { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 520px; }
.hero-media .blob { position: absolute; z-index: 0; top: 8%; width: 90%; aspect-ratio: 1/1; background: radial-gradient(circle at 50% 45%, rgba(255,61,0,.10), rgba(255,61,0,.03) 58%, transparent 70%); border-radius: 50%; }
.hero-media .arc { position: absolute; z-index: 0; border-radius: 50%; border-style: solid; border-width: 1.5px; left: 50%; transform: translateX(-50%); }
.hero-media .arc--1 { width: 92%; aspect-ratio: 1/1; top: 4%; border-color: rgba(25,22,65,.10); }
.hero-media .arc--2 { width: 60%; aspect-ratio: 1/1; top: -2%; border-color: rgba(255,61,0,.22); }
.hero-media .dots { position: absolute; right: 0; bottom: 18%; z-index: 0; width: 92px; height: 92px; background-image: radial-gradient(rgba(25,22,65,.16) 2px, transparent 2px); background-size: 16px 16px; }
.hero-media .photo { position: relative; z-index: 1; width: auto; max-width: 100%; max-height: 580px; object-fit: contain; object-position: bottom; filter: drop-shadow(0 22px 34px rgba(25,22,65,.20)); -webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent 100%); mask-image: linear-gradient(to bottom, #000 88%, transparent 100%); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 340px; margin-inline: auto; min-height: 420px; }
}

/* =========================================================
   8. СТАТИСТИКА (парящая белая карточка)
   ========================================================= */
.stats { background: var(--bg); padding-top: 0; }
.stats-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); margin-top: clamp(-90px, -7vw, -60px); position: relative; z-index: 5; display: grid; grid-template-columns: repeat(4, 1fr); padding: clamp(28px, 3.5vw, 44px) clamp(20px, 2vw, 30px); }
.stat { display: flex; align-items: center; gap: 16px; padding: 8px clamp(14px, 2vw, 30px); position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 12%; height: 76%; width: 1px; background: var(--line); }
.stat-ic { flex: 0 0 auto; width: 50px; height: 50px; }
.stat-ic svg { width: 100%; height: 100%; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.stat b { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: var(--navy); line-height: 1.2; display: block; }
.stat span { color: var(--ink-faint); font-size: .92rem; }
@media (max-width: 860px) { .stats-card { grid-template-columns: 1fr 1fr; gap: 24px 0; } .stat:nth-child(odd)::before { content: none; } }
@media (max-width: 480px) { .stats-card { grid-template-columns: 1fr; } .stat::before { content: none !important; } }

/* =========================================================
   9. ОБО МНЕ + НАВЫКИ
   ========================================================= */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 5vw, 76px); align-items: center; }
.about-media { background: var(--bg-alt); border-radius: var(--radius-lg); padding: 24px 24px 0; display: flex; justify-content: center; align-items: flex-end; }
.about-media img { border-radius: var(--radius); max-height: 540px; object-fit: cover; object-position: top; }
.about-text p.lead { margin-top: 18px; }
.about-info { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 28px 0; align-items: start; }
.about-contacts { display: grid; gap: 12px; }
.about-contacts li { display: flex; align-items: center; gap: 12px; color: var(--navy); font-weight: 500; font-size: .96rem; }
.about-contacts svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.8; flex: 0 0 auto; }
.about-find b { display: block; font-family: var(--font-display); color: var(--navy); margin-bottom: 14px; }
.about-find .socials { display: flex; gap: 10px; }
.about-find .socials a { width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--bg-alt); display: grid; place-items: center; color: var(--accent); transition: background .2s, color .2s; }
.about-find .socials a:hover { background: var(--accent); color: #fff; }
.about-find .socials svg { width: 17px; height: 17px; }
.skills { display: grid; gap: 22px; margin: 30px 0; }
.skill-head { display: flex; justify-content: space-between; font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: .96rem; margin-bottom: 9px; }
.skill-bar { height: 8px; background: var(--bg-soft); border-radius: 100px; overflow: hidden; }
.skill-fill { height: 100%; width: 0; background: var(--accent); border-radius: 100px; transition: width 1.1s var(--ease); }
.is-in .skill-fill { width: var(--w); }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } .about-media { max-width: 420px; } }
@media (max-width: 520px) { .about-info { grid-template-columns: 1fr; } }

/* =========================================================
   10. УСЛУГИ
   ========================================================= */
.svc-header { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; margin-bottom: clamp(40px, 5vw, 60px); }
.svc-header .right { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.svc { background: #fff; border-radius: var(--radius); padding: 38px 34px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); position: relative; overflow: hidden; }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.svc-ic { width: 70px; height: 70px; border-radius: var(--radius); background: var(--bg-alt); display: grid; place-items: center; transition: background .3s; }
.svc-ic svg { width: 34px; height: 34px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.svc:hover .svc-ic { background: var(--accent-soft); }
.svc-num { font-family: var(--font-display); font-weight: 800; font-size: 3.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--line); }
.svc h3 { margin-bottom: 12px; }
.svc p { font-size: .96rem; }
@media (max-width: 880px) { .svc-header { grid-template-columns: 1fr; } .services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* =========================================================
   11. РЕЗЮМЕ (таймлайн)
   ========================================================= */
.resume-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 76px); }
.resume-col-head { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.resume-col-head .ic { width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--accent-soft); display: grid; place-items: center; flex: 0 0 auto; }
.resume-col-head .ic svg { width: 24px; height: 24px; stroke: var(--accent); fill: none; stroke-width: 1.7; }
.resume-col-head .resume-range { font-family: var(--font-display); font-weight: 700; color: var(--accent); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.resume-col-head h3 { font-size: 1.45rem; font-weight: 800; line-height: 1.12; margin-top: 3px; }
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -30px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.tl-year { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .76rem; color: var(--accent); background: var(--accent-soft); padding: 5px 13px; border-radius: 100px; margin-bottom: 10px; }
.tl-item h4 { font-family: var(--font-display); font-size: 1.18rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.tl-org { color: var(--ink-faint); font-size: .9rem; margin-bottom: 8px; }
.tl-item p { font-size: .94rem; }
@media (max-width: 760px) { .resume-grid { grid-template-columns: 1fr; } }

/* =========================================================
   12. ОТЗЫВЫ
   ========================================================= */
.reviews-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(34px, 5vw, 60px); align-items: center; }
.reviews-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.review { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding-bottom: 32px; overflow: hidden; text-align: center; transition: transform .3s var(--ease), box-shadow .3s; }
.review:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.review-head { padding: 28px 24px 0; }
.review-head b { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; color: var(--navy); display: block; }
.review-head small { color: var(--ink-faint); font-size: .9rem; }
.review-band { background: var(--accent-band); margin: 20px 0 22px; padding: 18px 0; display: flex; justify-content: center; }
.review-band img, .review-band .ph { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: var(--shadow-sm); }
.review-band .ph { background: var(--accent); display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; }
.review p { padding-inline: 28px; color: var(--ink-soft); font-size: .98rem; }
.review-stars { color: var(--accent); letter-spacing: 3px; margin-top: 20px; }
@media (max-width: 860px) { .reviews-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .reviews-cards { grid-template-columns: 1fr; } }

/* =========================================================
   13. БЛОГ
   ========================================================= */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--gap); }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-thumb { aspect-ratio: 3/2; overflow: hidden; background: var(--bg-soft); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .82rem; color: var(--accent); font-weight: 600; font-family: var(--font-display); margin-bottom: 12px; }
.post-card h3 { font-size: 1.22rem; margin-bottom: 12px; }
.post-card .more { margin-top: auto; font-family: var(--font-display); font-weight: 600; color: var(--navy); padding-top: 14px; transition: color .2s; }
.post-card:hover .more { color: var(--accent); }

/* =========================================================
   14. КОНТАКТЫ
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 64px); align-items: center; }
.contact-info .lead { margin-top: 16px; max-width: 44ch; }
.contact-perks { display: grid; gap: 14px; margin-top: 26px; }
.contact-perks li { display: flex; align-items: center; gap: 13px; color: var(--navy); font-weight: 500; font-size: 1rem; }
.contact-perks .ic { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.contact-perks .ic svg { width: 16px; height: 16px; }
.contact-links { display: grid; gap: 14px; margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.contact-links a { display: flex; align-items: center; gap: 14px; color: var(--navy); font-size: 1.04rem; transition: color .2s; }
.contact-links a:hover { color: var(--accent); }
.contact-links .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; flex: 0 0 auto; }
.contact-links .ico svg { width: 21px; height: 21px; stroke: var(--accent); fill: none; stroke-width: 1.8; }
.contact-form { display: grid; gap: 13px; background: #fff; padding: clamp(26px, 4vw, 40px); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.contact-form input, .contact-form textarea { width: 100%; padding: 15px 18px; border-radius: var(--radius-sm); background: var(--bg-alt); border: 1px solid transparent; color: var(--navy); font: inherit; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--ink-faint); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.form-note { font-size: .8rem; color: var(--ink-faint); margin-top: 2px; }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }

/* =========================================================
   15. ФУТЕР (светлый)
   ========================================================= */
.site-footer { background: var(--bg-alt); padding-block: 64px 28px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-about .brand { color: var(--navy); }
.footer-about p { margin-top: 18px; max-width: 34ch; font-size: .94rem; }
.footer-col h4 { color: var(--navy); font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin-bottom: 20px; }
.footer-col a { display: block; padding: 8px 0; color: var(--ink-soft); border-bottom: 1px solid var(--line); transition: color .2s, padding .2s; }
.footer-col a:last-child { border-bottom: 0; }
.footer-col a:hover { color: var(--accent); padding-left: 6px; }
.footer-social { display: flex; justify-content: center; gap: 14px; padding: 36px 0; }
.footer-social a { width: 46px; height: 46px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; color: var(--navy); transition: all .2s; }
.footer-social a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; color: var(--ink-faint); font-size: .9rem; padding-top: 28px; border-top: 1px solid var(--line); }
.footer-bottom .brand img { max-height: 34px; }
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* Cookie-уведомление */
.cookie-notice { position: fixed; left: 22px; bottom: 22px; z-index: 200; max-width: 410px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; transform: translateY(160%); opacity: 0; visibility: hidden; transition: transform .45s var(--ease), opacity .45s var(--ease), visibility .45s; }
.cookie-notice.is-visible { transform: none; opacity: 1; visibility: visible; }
.cookie-notice p { margin: 0; font-size: .92rem; color: var(--ink-soft); line-height: 1.55; }
.cookie-notice a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cookie-notice .btn { align-self: flex-start; padding: 12px 26px; }
@media (max-width: 520px) { .cookie-notice { left: 12px; right: 12px; bottom: 12px; max-width: none; } }
@media (prefers-reduced-motion: reduce) { .cookie-notice { transition: opacity .3s; transform: none; } }

/* =========================================================
   16. СТАНДАРТНЫЕ СТРАНИЦЫ
   ========================================================= */
.page-hero { background: var(--bg-alt); padding-top: clamp(150px, 18vh, 210px); padding-bottom: clamp(40px, 5vw, 64px); text-align: center; }
.entry-content { max-width: var(--container-narrow); margin-inline: auto; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content img { border-radius: var(--radius); }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote { border-left: 3px solid var(--accent); padding-left: 24px; font-size: 1.2rem; color: var(--navy); font-style: italic; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 56px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-family: var(--font-display); font-weight: 600; color: var(--navy); }
.pagination .current { background: var(--accent); color: #fff; border-color: var(--accent); }

/* =========================================================
   17. АНИМАЦИИ
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: #fff; padding: 12px 18px; z-index: 999; border-radius: 8px; box-shadow: var(--shadow); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
