/* ── Fonts ───────────────────────────────────────────────────────────── */
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 300; font-display: swap; src: url('/fonts/InterTight-Light.ttf') format('truetype'); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/InterTight-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Inter Tight'; font-style: italic; font-weight: 400; font-display: swap; src: url('/fonts/InterTight-Italic.ttf') format('truetype'); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/InterTight-Medium.ttf') format('truetype'); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/InterTight-SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/InterTight-Bold.ttf') format('truetype'); }
@font-face { font-family: 'Inter Tight'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/InterTight-ExtraBold.ttf') format('truetype'); }

/* ── Variables ───────────────────────────────────────────────────────── */
:root {
  --nav-bg: rgba(250, 218, 160, 0.97);
  --accent: #fadaa0;
  --accent-dark: #bd9840;
  --brown-dark: #1f110b;
  --hero-grad-top: rgba(84, 48, 12, 0.90);
  --hero-grad-bot: rgba(84, 48, 12, 0.70);
  --text: #222;
  --text-light: #555;
  --link: #ff8562;
  --footer-bg: #0d0d0d;
  --contacts-bg: #efefef;
  --nav-height: 80px;
  --container: 1200px;
  --radius: 6px;
}

/* ── Reset ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter Tight', Arial, sans-serif; font-size: 18px; line-height: 1.6; color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:hover { text-decoration: underline; }
button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── Layout ──────────────────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* ══════════════════════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════════════════════ */
.nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-height); background: var(--nav-bg); z-index: 1000; box-shadow: 0 1px 6px rgba(0,0,0,0.12); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.nav__logo { font-family: 'Inter Tight', sans-serif; font-size: 15px; font-weight: 600; color: var(--brown-dark); white-space: nowrap; flex-shrink: 0; text-decoration: none; }
.nav__logo:hover { text-decoration: none; opacity: .8; }
.nav__links { display: flex; align-items: center; gap: 24px; }
.nav__links a { font-family: 'Inter Tight', sans-serif; font-size: 14px; color: var(--brown-dark); font-weight: 400; transition: opacity .2s; }
.nav__links a:hover { opacity: .55; text-decoration: none; }
.nav__right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav__phone { font-family: 'Inter Tight', sans-serif; font-size: 14px; font-weight: 500; color: var(--brown-dark); white-space: nowrap; }
.nav__socials { display: flex; align-items: center; gap: 8px; }
.nav__socials a { display: flex; }
.nav__socials svg { width: 26px; height: 26px; }
.nav__burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 12px 10px; }
.nav__burger span { display: block; width: 24px; height: 2px; background: var(--brown-dark); transition: all .3s; }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile { display: none; position: fixed; top: var(--nav-height); left: 0; right: 0; background: var(--nav-bg); padding: 20px 40px 30px; z-index: 999; box-shadow: 0 4px 12px rgba(0,0,0,0.1); flex-direction: column; gap: 4px; }
.nav__mobile.open { display: flex; }
.nav__mobile a { font-size: 16px; font-weight: 500; color: var(--brown-dark); padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.nav__mobile a:active { opacity: .6; }
.nav__mobile .nav__phone { font-size: 16px; padding: 14px 0; color: var(--brown-dark); }
@media (max-width: 900px) { .nav__links, .nav__right { display: none; } .nav__burger { display: flex; } }
@media (max-width: 480px) { .nav__inner { padding: 0 20px; } .nav__logo { font-size: 13px; } }

/* ══════════════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════════════ */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero--page { height: 60vh; height: 60svh; min-height: 420px; }
.hero__bg { position: absolute; inset: 0; background-image: url('/img/pocherkovedcheskaya-.jpeg'); background-size: cover; background-position: center 50%; will-change: background-position; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, var(--hero-grad-top), var(--hero-grad-bot)); }
.hero__content { position: relative; z-index: 1; max-width: 820px; padding: 0 24px; }
.hero__title { font-size: clamp(32px, 5vw, 62px); font-weight: 700; font-style: italic; line-height: 1.2; color: #fff; margin-bottom: 24px; }
.hero__subtitle { font-size: clamp(17px, 2.5vw, 28px); font-weight: 600; color: rgba(255,255,255,.9); margin-bottom: 44px; line-height: 1.4; }
.hero__buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__chevron { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 2; cursor: pointer; padding: 10px; animation: chevron-bounce 2s infinite; }
.hero__chevron svg { width: 38px; height: 19px; fill: rgba(255,255,255,.75); transition: fill .2s; }
.hero__chevron:hover svg { fill: #fff; }
@keyframes chevron-bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(9px); } }

/* ══════════════════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════════════════ */
.btn { display: inline-block; padding: 14px 34px; border-radius: var(--radius); font-size: 15px; font-weight: 600; font-family: inherit; cursor: pointer; transition: opacity .2s, transform .15s; border: 2px solid transparent; text-decoration: none; }
.btn:hover { opacity: .85; transform: translateY(-2px); text-decoration: none; }
.btn:active { opacity: .75; transform: none; }
.btn--primary { background: var(--accent); color: var(--brown-dark); }
.btn--outline { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }

/* ══════════════════════════════════════════════════════════════════════
   EXPERT PROFILE
══════════════════════════════════════════════════════════════════════ */
.expert { background: #fff; padding: 60px 0 50px; }
.expert__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; max-width: 720px; margin: 0 auto; }
.expert__photo { width: 220px; height: 274px; border-radius: 9999px; background-color: #d6d6d6; background-image: url('/img/expert-photo.jpeg'); background-size: cover; background-position: center top; flex-shrink: 0; }
.expert__name { font-size: clamp(20px, 3vw, 26px); font-weight: 700; color: #000; line-height: 1.4; }
.expert__creds { font-size: 16px; color: var(--text-light); max-width: 480px; margin: 0 auto; text-align: center; line-height: 1.6; }

/* ══════════════════════════════════════════════════════════════════════
   SECTION TITLE + TEXT BLOCK + DIVIDER
══════════════════════════════════════════════════════════════════════ */
.section__title { font-size: clamp(26px, 4vw, 42px); font-weight: 700; text-align: center; margin-bottom: 80px; color: #000; }
@media (max-width: 768px) { .section__title { margin-bottom: 48px; } }
.textblock { padding: 60px 0; }
.textblock__inner { max-width: 860px; margin: 0 auto; font-size: 16px; line-height: 1.85; color: var(--text); }
.textblock__inner p + p { margin-top: 20px; }
.textblock__inner ul { padding-left: 20px; list-style: disc; margin-top: 16px; }
.textblock__inner ul li { margin-bottom: 8px; }
.divider { padding: 60px 0; }
.divider__line { width: 66%; margin: 0 auto; height: 1px; background: linear-gradient(to right, transparent, rgba(0,0,0,.2), transparent); }

/* ══════════════════════════════════════════════════════════════════════
   ACCORDION (tasks & faq)
══════════════════════════════════════════════════════════════════════ */
.tasks { padding-bottom: 60px; }
.tasks__heading { padding: 60px 0; text-align: center; }
.tasks__heading h2 { font-size: clamp(22px, 3vw, 36px); font-weight: 700; }
.tasks__list { max-width: 760px; margin: 0 auto; }
.accordion__item { border-top: 1px solid #eee; }
.accordion__item:last-child { border-bottom: 1px solid #eee; }
.accordion__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 22px 0; background: none; border: none; cursor: pointer; text-align: left; font-family: inherit; }
.accordion__btn:active { background: rgba(0,0,0,.04); }
.accordion__btn-title { font-size: clamp(17px, 2.5vw, 24px); font-weight: 500; color: #000; }
.accordion__icon { width: 24px; height: 24px; flex-shrink: 0; position: relative; margin-left: 20px; }
.accordion__icon::before, .accordion__icon::after { content: ''; position: absolute; background: var(--accent-dark); transition: transform .3s, opacity .3s; }
.accordion__icon::before { width: 16px; height: 1.5px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.accordion__icon::after { width: 1.5px; height: 16px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.accordion__item.open .accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.accordion__body { overflow: hidden; max-height: 0; transition: max-height .4s ease; }
.accordion__item.open .accordion__body { max-height: 600px; }
.accordion__text { padding: 0 0 30px; font-size: 16px; line-height: 1.8; color: var(--text-light); }
.accordion__text p { margin-bottom: 10px; }
.accordion__text ul { padding-left: 20px; list-style: disc; }
.accordion__text ul li { margin-bottom: 6px; }

/* ══════════════════════════════════════════════════════════════════════
   PROCESS (Как заказать)
══════════════════════════════════════════════════════════════════════ */
.process { background: #fff; padding: 60px 0; }
.process__title { text-align: center; font-size: clamp(22px, 3vw, 36px); font-weight: 700; margin-bottom: 48px; }
.process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process__step { text-align: center; padding: 28px 20px; border: 1px solid #f0e8d8; border-radius: var(--radius); }
.process__num { width: 44px; height: 44px; background: var(--accent); color: var(--brown-dark); font-weight: 700; font-size: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.process__step-title { font-weight: 600; font-size: 16px; margin-bottom: 8px; color: #000; }
.process__step-desc { font-size: 15px; color: var(--text-light); line-height: 1.5; }
@media (max-width: 768px) { .process__steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .process__steps { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════════════════════════════ */
.faq { background: #fafafa; padding: 60px 0 40px; }

/* ══════════════════════════════════════════════════════════════════════
   CONTACTS
══════════════════════════════════════════════════════════════════════ */
.contacts { background: var(--contacts-bg); padding: 150px 0; text-align: center; }
.contacts__info { font-size: clamp(22px, 3vw, 32px); font-weight: 700; line-height: 1.7; margin-bottom: 24px; }
.contacts__info a { color: var(--text); display: block; }
.contacts__info a:hover { color: var(--link); text-decoration: none; }
.contacts__info span { display: block; font-size: clamp(14px, 2vw, 18px); font-weight: 400; color: var(--text-light); }
.socials { display: flex; gap: 12px; justify-content: center; }
.socials a { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; transition: opacity .2s; }
.socials a:hover { opacity: .6; }
.socials a:active { opacity: .6; }
.socials svg { width: 30px; height: 30px; }

/* ══════════════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════════════ */
.footer { background: var(--footer-bg); padding: 40px 0; text-align: center; color: #9d9d9d; font-size: 13px; }
