/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent: #1a3a6e;
  --accent-light: #2a52a0;
  --accent-bg: #e8eef8;
  --text: #1a1f2e;
  --text-muted: #5a6580;
  --text-light: #8892aa;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 2px 16px rgba(26,58,110,.08);
  --shadow-lg: 0 8px 40px rgba(26,58,110,.14);
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section:nth-child(even) { background: var(--bg-alt); }

.section__head { text-align: center; margin-bottom: 48px; }
.section__title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(26px, 3.5vw, 40px); font-weight: 700; color: var(--text); line-height: 1.2; margin-bottom: 12px; }
.section__sub { font-size: 16px; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 8px; font-size: 15px; font-weight: 600;
  cursor: pointer; border: none; transition: all .2s; white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-light); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(26,58,110,.3); }
.btn--outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn--outline:hover { background: var(--accent-bg); }
.btn--ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--lg { padding: 14px 32px; font-size: 16px; }
.btn--full { width: 100%; justify-content: center; }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== HEADER ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.scrolled { border-color: var(--border); box-shadow: 0 2px 20px rgba(26,58,110,.08); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 68px; min-width: 0; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo__text { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 17px; color: var(--text); }
.logo__suffix { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: center; }
.nav a { font-size: 14px; font-weight: 500; color: var(--text-muted); transition: color .2s; white-space: nowrap; }
.nav a:hover { color: var(--accent); }

.header__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }
.burger.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero { background: var(--bg); padding: 72px 0 80px; }
.hero__inner { display: grid; grid-template-columns: 1fr 400px; gap: 64px; align-items: center; }
.hero__badge { display: inline-block; background: var(--accent-bg); color: var(--accent); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 20px; margin-bottom: 20px; }
.hero__title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(32px, 4.5vw, 52px); font-weight: 700; line-height: 1.12; margin-bottom: 20px; color: var(--text); }
.hero__desc { font-size: 17px; color: var(--text-muted); margin-bottom: 32px; max-width: 500px; line-height: 1.65; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { }
.stat__num { font-family: 'Space Grotesk', sans-serif; font-size: 32px; font-weight: 700; color: var(--accent); }
.stat__unit { font-size: 20px; font-weight: 700; color: var(--accent); }
.stat__label { display: block; font-size: 13px; color: var(--text-muted); margin-top: 2px; }

.hero__card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 32px; box-shadow: var(--shadow-lg); }
.hero__card-inner { }
.hcard__icon { margin-bottom: 16px; }
.hcard__title { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.hcard__sub { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.hcard__items { display: flex; flex-direction: column; gap: 10px; }
.hcard__item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-muted); }

/* ===== ADVANTAGES ===== */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.adv { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: box-shadow .2s, transform .2s; }
.adv:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.adv__icon { width: 52px; height: 52px; background: var(--accent-bg); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.adv__title { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.adv__text { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ===== SERVICES ===== */
.services-section { background: var(--bg); }
.srv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.srv { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; transition: box-shadow .2s, transform .2s; }
.srv:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.srv__icon { width: 48px; height: 48px; background: var(--accent-bg); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.srv__title { font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 700; }
.srv__text { font-size: 13px; color: var(--text-muted); line-height: 1.55; flex: 1; }
.srv__price { font-size: 14px; font-weight: 700; color: var(--accent); margin-top: 4px; }

/* ===== PRICE ===== */
.price-section { background: var(--bg-alt); }
.price-table { overflow-x: auto; }
.price-table table { width: 100%; border-collapse: collapse; background: var(--bg-card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th { background: var(--accent); color: #fff; padding: 14px 20px; text-align: left; font-size: 14px; font-weight: 600; }
.price-table td { padding: 13px 20px; border-bottom: 1px solid var(--border); font-size: 14px; }
.price-table td:last-child { white-space: nowrap; font-weight: 700; color: var(--accent); }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: var(--accent-bg); }
.price-table__highlight td { background: var(--accent-bg); font-weight: 600; }
.price-note { margin-top: 16px; font-size: 13px; color: var(--text-muted); text-align: center; }

/* ===== PROCESS ===== */
.process-section { background: var(--bg); }
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr; gap: 0; align-items: start; }
.step { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 20px; text-align: center; }
.step__num { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 800; color: var(--accent); opacity: .25; margin-bottom: 8px; }
.step__title { font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.step__text { font-size: 13px; color: var(--text-muted); line-height: 1.55; }
.step__arrow { display: flex; align-items: center; justify-content: center; color: var(--accent); opacity: .3; font-size: 20px; padding: 0 4px; align-self: center; }

/* ===== REVIEWS ===== */
.reviews-section { background: var(--bg-alt); }
.rating-row { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 8px; font-size: 14px; color: var(--text-muted); }
.stars { color: #f5a623; font-size: 20px; letter-spacing: 2px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.review__top { display: flex; align-items: center; gap: 12px; }
.review__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.review__name { font-weight: 700; font-size: 14px; }
.review__stars { color: #f5a623; font-size: 13px; }
.review__text { font-size: 14px; color: var(--text-muted); line-height: 1.65; flex: 1; }
.review__tag { display: inline-block; background: var(--accent-bg); color: var(--accent); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 20px; align-self: flex-start; }

/* ===== FAQ ===== */
.faq-section { background: var(--bg); }
.faq { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq__item details summary { list-style: none; padding: 18px 20px; cursor: pointer; font-weight: 600; font-size: 15px; display: flex; justify-content: space-between; align-items: center; transition: background .2s; }
.faq__item details summary::-webkit-details-marker { display: none; }
.faq__item details summary::after { content: '+'; font-size: 20px; color: var(--accent); transition: transform .2s; flex-shrink: 0; }
.faq__item details[open] summary::after { transform: rotate(45deg); }
.faq__item details summary:hover { background: var(--accent-bg); }
.faq__item details p { padding: 0 20px 18px; font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ===== CONTACT ===== */
.contact-section { background: var(--bg-alt); }
.contact-grid { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.contacts-col { display: flex; flex-direction: column; gap: 16px; }
.contact-card { display: flex; align-items: flex-start; gap: 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.contact-card__icon { width: 44px; height: 44px; background: var(--accent-bg); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card__label { font-size: 12px; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.contact-card__val { font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.5; }
a.contact-card__val:hover { color: var(--accent); }

/* ===== FORM ===== */
.form { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 36px; box-shadow: var(--shadow); }
.form__row { margin-bottom: 20px; }
.form__label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; }
.form__input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 14px; font-family: inherit; color: var(--text); background: var(--bg); outline: none; transition: border-color .2s; }
.form__input:focus { border-color: var(--accent); }
.form__textarea { height: 110px; resize: vertical; }
.form__privacy { margin-top: 12px; font-size: 12px; color: var(--text-light); text-align: center; }
.form__privacy a { color: var(--accent); }

/* ===== FOOTER ===== */
.footer { background: var(--text); color: rgba(255,255,255,.7); padding: 28px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__logo { display: flex; align-items: center; gap: 12px; }
.footer__logo-mark { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1.5px solid rgba(255,255,255,.5); border-radius: 8px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 16px; color: #fff; letter-spacing: 1px; }
.footer__logo-text { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 13px; line-height: 1.2; color: #fff; letter-spacing: 1.5px; }
.footer__copy { font-size: 13px; }
.footer__links { display: flex; gap: 20px; }
.footer__links a { font-size: 13px; color: rgba(255,255,255,.5); transition: color .2s; }
.footer__links a:hover { color: #fff; }

/* ===== FAB ===== */
.fab { position: fixed; bottom: 28px; right: 28px; width: 54px; height: 54px; border-radius: 50%; background: #2196f3; box-shadow: 0 4px 20px rgba(33,150,243,.45); display: flex; align-items: center; justify-content: center; z-index: 200; transition: transform .2s, box-shadow .2s; }
.fab:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(33,150,243,.55); }

/* ===== LOGO IMAGE ===== */
.logo__img { height: 42px; width: auto; object-fit: contain; display: block; }

/* ===== HERO PHOTO ===== */
.hero__photo-wrap { position: relative; flex-shrink: 0; width: 400px; }
.hero__photo-frame { width: 100%; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero__photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.hero__photo-card { position: absolute; bottom: 18px; left: 18px; right: 18px; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-radius: 12px; padding: 14px 18px; box-shadow: 0 8px 30px rgba(26,58,110,.22); }
.hero__photo-card__name { font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.hero__photo-card__title { font-size: 12px; color: var(--text-muted); }

/* ===== ABOUT ===== */
.about-section { background: var(--bg-alt); }
.about-grid { display: grid; grid-template-columns: 400px 1fr; gap: 64px; align-items: start; }
.about-photos { display: flex; flex-direction: column; gap: 16px; }
.about-photo { margin: 0; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.about-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-photo--wide { aspect-ratio: 16 / 7; }
.about-photo--tall { aspect-ratio: 3 / 4; }
.about-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 16px 12px; font-size: 12px; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(10,20,40,.75)); }
.about-bio { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.about-bio p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }
.about-facts { display: flex; flex-direction: column; gap: 16px; }
.about-fact { display: flex; align-items: flex-start; gap: 14px; }
.about-fact__icon { width: 40px; height: 40px; background: var(--accent-bg); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.about-fact__title { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.about-fact__sub { font-size: 13px; color: var(--text-muted); }

/* ===== ARTICLES ===== */
.articles-section { background: var(--bg); }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.article-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: box-shadow .2s, transform .2s; }
.article-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.article-card--cta { background: var(--accent-bg); border-color: transparent; }
.article-card__tag { display: inline-block; background: var(--accent-bg); color: var(--accent); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: .5px; align-self: flex-start; }
.article-card--cta .article-card__tag { background: rgba(26,58,110,.12); }
.article-card__title { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 700; line-height: 1.3; }
.article-card__text { font-size: 13px; color: var(--text-muted); line-height: 1.6; flex: 1; }
.article-card__link { font-size: 14px; font-weight: 600; color: var(--accent); align-self: flex-start; transition: opacity .2s; }
.article-card__link:hover { opacity: .7; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1180px) {
  .nav { gap: 18px; }
  .nav a { font-size: 13px; }
  .srv-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) {
  .burger { display: flex; }
  .nav {
    display: none; position: fixed; top: 68px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 20px;
    box-shadow: var(--shadow-lg);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
  .nav a:last-child { border-bottom: none; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__photo-wrap { width: 100%; max-width: 420px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 12px; }
  .step__arrow { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photos { flex-direction: row; }
  .about-photo { flex: 1; }
  .about-photo--wide { aspect-ratio: 4 / 5; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .srv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .header__actions .btn--outline { padding: 10px 12px; }
  .hero__cta { flex-direction: column; }
  .reviews-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .srv-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .about-photos { flex-direction: column; }
  .about-photo--wide { aspect-ratio: 16 / 7; }
  .footer__inner { flex-direction: column; text-align: center; }
}
@media (max-width: 380px) {
  .logo__img { height: 34px; }
}
