@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Pacifico&family=Nunito:wght@400;600;700;800&display=swap');
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent: #1a56db;
  --accent-dark: #1347c0;
  --accent-light: #eff6ff;
  --cta: #16a34a;
  --cta-dark: #15803d;
  --green: #16a34a;
  --green-bg: #f0fdf4;
  --dark: #111827;
  --mid: #374151;
  --gray: #6b7280;
  --border: #e5e7eb;
  --bg: #f9fafb;
  --white: #ffffff;
  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.1);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Inter', sans-serif; background: var(--white); color: var(--dark); line-height: 1.6; font-size: 16px; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 24px; border-radius: 8px;
  font-size: 0.95rem; font-weight: 600; text-decoration: none;
  cursor: pointer; border: 2px solid transparent;
  transition: all 0.2s; white-space: nowrap;
}
.btn--lg { padding: 15px 28px; font-size: 1rem; }
.btn--sm { padding: 8px 16px; font-size: 0.85rem; }
.btn--full { width: 100%; }
.btn--primary { background: var(--cta); color: var(--white); border-color: var(--cta); }
.btn--primary:hover { background: var(--cta-dark); border-color: var(--cta-dark); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(22,163,74,0.3); }
.btn--outline { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn--outline:hover { background: var(--accent-light); }
.btn--ghost { border-color: var(--border); color: var(--mid); background: var(--white); }
.btn--ghost:hover { background: var(--bg); border-color: #d1d5db; }

/* ─── NAV ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: var(--shadow); }
.nav__inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 32px; height: 64px;
}
.nav__logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--dark);
  font-size: 1rem; font-weight: 500; flex-shrink: 0;
}
.nav__logo strong { color: var(--accent); }
.nav__logo-icon { font-size: 1.3rem; }
.nav__links { display: flex; list-style: none; gap: 4px; flex: 1; }
.nav__links a {
  display: block; padding: 6px 12px; border-radius: 6px;
  text-decoration: none; color: var(--mid);
  font-size: 0.9rem; font-weight: 500;
  transition: all 0.15s;
}
.nav__links a:hover { color: var(--accent); background: var(--accent-light); }
.nav__actions { display: flex; gap: 8px; flex-shrink: 0; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: all 0.3s; }

/* ─── BREADCRUMBS ─── */
.breadcrumbs { padding: 80px 0 0; background: var(--bg); }
.breadcrumbs nav { display: flex; align-items: center; gap: 8px; padding: 12px 0; font-size: 0.85rem; color: var(--gray); }
.breadcrumbs a { color: var(--accent); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ─── HERO ─── */
.hero { background: var(--bg); padding: 40px 0 64px; }
.hero__inner { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-bg); color: var(--green);
  padding: 6px 14px; border-radius: 100px;
  font-size: 0.82rem; font-weight: 600; margin-bottom: 20px;
  border: 1px solid #bbf7d0;
}
.hero__h1 { font-family: 'Manrope', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1.2; margin-bottom: 16px; color: var(--dark); }
.hero__sub { font-size: 1.05rem; color: var(--mid); margin-bottom: 28px; max-width: 600px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.hero__points span { font-size: 0.88rem; color: var(--mid); font-weight: 500; }

.hero__locations { display: flex; flex-direction: column; gap: 12px; }
.hero__loc-label { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray); margin-bottom: 4px; }
.hero__loc-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 16px;
  display: flex; flex-direction: column; gap: 4px;
  box-shadow: var(--shadow-sm);
}
.hero__loc-card strong { font-size: 0.95rem; }
.hero__loc-card span { font-size: 0.83rem; color: var(--gray); }
.hero__loc-card a { font-size: 0.95rem; color: var(--accent); text-decoration: none; font-weight: 600; }

/* ─── SECTION TITLES ─── */
.section-h2 { font-family: 'Manrope', sans-serif; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 32px; color: var(--dark); }

/* ─── WORKS TYPE ─── */
.works-type { padding: 72px 0; }
.works-type__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wt-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  transition: all 0.2s; position: relative;
}
.wt-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.wt-card__icon { font-size: 2rem; margin-bottom: 12px; }
.wt-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.wt-card p { font-size: 0.88rem; color: var(--gray); margin-bottom: 16px; line-height: 1.5; }
.wt-card__price { font-size: 0.88rem; font-weight: 700; color: var(--accent); background: var(--accent-light); padding: 4px 10px; border-radius: 100px; }

/* ─── BRANDS ─── */
.brands { padding: 72px 0; background: var(--bg); }
.brands__grid { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.brand-chip {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--mid);
  background: var(--white); border: 1.5px solid var(--border);
  padding: 7px 16px 7px 8px; border-radius: 100px;
  font-size: 0.9rem; font-weight: 600;
  transition: all 0.15s;
}
.brand-chip__logo { width: auto; height: 20px; max-width: 40px; object-fit: contain; flex-shrink: 0; display: block; }
.brand-chip:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.brands__note { font-size: 0.9rem; color: var(--gray); }
.brands__note a { color: var(--accent); }

/* ─── HARD WORKS ─── */
.hard-works { padding: 72px 0; }
.hard-works__header { margin-bottom: 36px; }
.hard-works__intro { font-size: 0.95rem; color: var(--mid); max-width: 780px; line-height: 1.7; }
.hard-works__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.hw-card { background: var(--dark); color: var(--white); border-radius: var(--radius); padding: 24px; }
.hw-card__tag { display: inline-block; background: var(--accent); padding: 3px 10px; border-radius: 100px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; }
.hw-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.hw-card p { font-size: 0.87rem; color: #9ca3af; line-height: 1.6; }
.hard-works__cta { background: var(--accent-light); border: 1.5px solid #bfdbfe; border-radius: var(--radius); padding: 24px 28px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hard-works__cta p { color: var(--mid); font-weight: 500; }

/* ─── PRICES ─── */
.prices { padding: 72px 0; background: var(--bg); }
.prices__table-wrap { overflow-x: auto; margin-bottom: 20px; }
.prices__table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.prices__table th { background: var(--dark); color: var(--white); padding: 16px 20px; text-align: left; font-size: 0.88rem; font-weight: 600; }
.prices__table th small { display: block; font-weight: 400; color: #9ca3af; margin-top: 2px; }
.prices__table td { padding: 14px 20px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.prices__table tr:last-child td { border-bottom: none; }
.prices__table tr:hover td { background: var(--bg); }
.price-cell { font-weight: 700; color: var(--accent); white-space: nowrap; }
.price-cell.highlight { color: var(--green); }
.prices__note { font-size: 0.9rem; color: var(--mid); max-width: 640px; }
.price-note { font-size: 0.9rem; color: var(--mid); margin-top: 12px; max-width: 720px; }
.fbs-note { font-size: 0.85rem; color: #92400e; background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 10px 14px; margin-top: 10px; max-width: 720px; }
.fbs-note strong { color: #92400e; }
.price-diff-note { font-size: 0.85rem; color: var(--mid); background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; margin-top: 10px; max-width: 720px; line-height: 1.6; }
.price-diff-note strong { color: var(--dark); }

/* ─── CALC ─── */
.calc { padding: 72px 0; }
.calc__box { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: start; background: var(--dark); border-radius: 20px; padding: 56px; }
.calc__text h2 { font-family: 'Manrope', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.calc__text p { color: #9ca3af; margin-bottom: 8px; }
.calc__text strong { color: var(--white); }
.calc__urgency { margin-top: 28px; padding: 16px; background: rgba(255,255,255,0.06); border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); }
.calc__urgency p { color: #fca5a5; font-weight: 600; margin-bottom: 10px; }

.calc__form { display: flex; flex-direction: column; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc__form input, .calc__form select, .calc__form textarea {
  width: 100%; padding: 13px 16px; border-radius: 8px;
  border: 1.5px solid #374151; background: rgba(255,255,255,0.06);
  color: var(--white); font-family: 'Inter', sans-serif; font-size: 0.95rem;
  outline: none; transition: border-color 0.2s;
}
.calc__form select option { background: var(--dark); color: var(--white); }
.calc__form input::placeholder, .calc__form select { color: #6b7280; }
.calc__form input:focus, .calc__form select:focus { border-color: var(--accent); }
.form-legal { font-size: 0.78rem; color: #4b5563; text-align: center; }
.form-success { display: none; background: var(--green-bg); color: var(--green); border: 1px solid #bbf7d0; border-radius: 8px; padding: 14px 16px; font-weight: 600; font-size: 0.9rem; }
.form-success.show { display: block; }

/* ─── WHY ─── */
.why { padding: 72px 0; background: var(--bg); }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 24px; }
.why-card__icon { font-size: 2rem; margin-bottom: 12px; }
.why-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.why-card p { font-size: 0.88rem; color: var(--gray); line-height: 1.6; }

/* ─── CONTACTS ─── */
.contacts { padding: 72px 0; }
.contacts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.contact-card { background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 24px; }
.contact-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.contact-card__addr { color: var(--mid); margin-bottom: 6px; }
.contact-card p { font-size: 0.9rem; color: var(--gray); margin-bottom: 6px; }
.contact-card__phone { display: block; font-size: 1.1rem; font-weight: 700; color: var(--accent); text-decoration: none; margin: 12px 0; }
.contact-card__btns { display: flex; gap: 8px; }
.map-placeholder { background: var(--bg); border: 2px dashed var(--border); border-radius: var(--radius); height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--gray); font-size: 2rem; }
.map-placeholder small { font-size: 0.85rem; }

/* ─── PORTFOLIO ─── */
.portfolio { padding: 72px 0; background: var(--bg); }
.portfolio__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 24px; }
.portfolio-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s, transform 0.2s; }
.portfolio-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.portfolio-card__img { height: 160px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #f3f4f6, #e5e7eb); font-size: 3rem; }
.placeholder-img { color: #9ca3af; }
.portfolio-card__body { padding: 16px; }
.portfolio-card__tag { display: inline-block; font-size: 0.75rem; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.portfolio-card__body p { font-size: 0.87rem; color: var(--mid); line-height: 1.5; margin-bottom: 10px; }
.portfolio-card__price { font-size: 1rem; font-weight: 700; color: var(--accent); }
.portfolio__note { font-size: 0.95rem; color: var(--mid); }
.portfolio__note a { color: var(--accent); }

/* ─── FAQ ─── */
.faq { padding: 72px 0; }
.faq__list { display: flex; flex-direction: column; gap: 8px; max-width: 800px; }
.faq-item {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.faq-item summary {
  padding: 18px 20px; font-size: 0.97rem; font-weight: 600;
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  transition: background 0.15s;
}
.faq-item summary:hover { background: var(--bg); }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--accent); font-weight: 400; flex-shrink: 0; margin-left: 16px; }
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] summary { border-bottom: 1px solid var(--border); }
.faq-item p { padding: 16px 20px; font-size: 0.92rem; color: var(--mid); line-height: 1.7; }
.faq-item a { color: var(--accent); }

/* ─── FINAL CTA ─── */
.final-cta { padding: 72px 0; background: var(--accent); text-align: center; }
.final-cta h2 { font-family: 'Manrope', sans-serif; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--white); margin-bottom: 10px; }
.final-cta p { color: rgba(255,255,255,0.8); margin-bottom: 28px; font-size: 1rem; }
.final-cta__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.final-cta .btn--ghost { border-color: rgba(255,255,255,0.4); color: var(--white); background: transparent; }
.final-cta .btn--ghost:hover { background: rgba(255,255,255,0.1); }

/* ─── FOOTER ─── */
.footer { padding: 56px 0 32px; background: var(--dark); color: #9ca3af; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer__logo { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.footer__col p { margin-bottom: 6px; font-size: 0.9rem; }
.footer__col strong { color: var(--white); display: block; margin-bottom: 12px; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.footer__col a { color: #6b7280; text-decoration: none; font-size: 0.88rem; transition: color 0.15s; }
.footer__col a:hover { color: #d1d5db; }

/* ─── ЛОГОТИП (изображение) ─── */
.brand-logo { height: 40px; width: auto; display: block; }
.footer-logo-img { height: 38px; width: auto; display: block; margin-bottom: 10px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .hard-works__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__actions { display: flex; gap: 8px; }
  .nav__actions .btn--vk, .nav__actions .btn--max { display: none; }
  .nav__burger { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0; margin-right: -10px; }
  .nav__links.open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--white); padding: 12px 16px; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__locations { display: grid; grid-template-columns: repeat(3, 1fr); }
  .works-type__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .contacts__grid { grid-template-columns: 1fr; }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .calc__box { grid-template-columns: 1fr; padding: 36px 24px; gap: 32px; }
  .calc__text, .calc__form { min-width: 0; }
  .calc__text h2 { font-size: 1.5rem; }
  .calc__urgency a { white-space: normal; word-break: break-word; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero { padding: 24px 0 48px; }
  .hero__cta { flex-direction: column; }
  .hero__locations { grid-template-columns: 1fr; }
  .works-type__grid { grid-template-columns: 1fr; }
  .hard-works__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .portfolio__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hard-works__cta { flex-direction: column; align-items: flex-start; }
  .brands__grid { gap: 8px; }
}

/* Брендовые кнопки мессенджеров */
.btn--vk, .btn-vk { background: #0077FF; color: #fff; border-color: #0077FF; }
.btn--vk:hover, .btn-vk:hover { background: #0061cc; border-color: #0061cc; color: #fff; }
.btn--max, .btn-max { background: #6A5AE0; color: #fff; border-color: #6A5AE0; }
.btn--max:hover, .btn-max:hover { background: #574ac2; border-color: #574ac2; color: #fff; }

/* Основные CTA одинарного тире — зелёные, отличаем от VK/MAX */
.btn-primary { background: var(--cta); color: var(--white); border-color: var(--cta); }
.btn-primary:hover { background: var(--cta-dark); border-color: var(--cta-dark); color: var(--white); }

/* Кнопка с номером телефона — бесцветная (нейтральная, контурная) */
a.btn[href^="tel:"] { background: var(--white); color: var(--mid); border-color: var(--border); }
a.btn[href^="tel:"]:hover { background: var(--bg); border-color: #d1d5db; color: var(--mid); }

/* ═══════════════════════════════════════════════════════════
   PREMIUM MINIMAL REDESIGN — радикальный редизайн
   Чёрно-белая база · один акцент · воздух · тонкие линии
   ═══════════════════════════════════════════════════════════ */
:root {
  --ink: #0b0b0c;
  --ink-2: #18181b;
  --muted: #6b6b73;
  --muted-2: #a1a1aa;
  --line: #ececec;
  --line-2: #d9d9d9;
  --paper: #ffffff;
  --paper-2: #f6f5f2;        /* тёплый офф-вайт для чередования секций */
  --accent: #1a56db;          /* единственный акцент */
  --radius: 4px;
  --maxw: 1180px;
}

/* — База — */
body { background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
.container { max-width: var(--maxw); padding: 0 32px; }

/* — Просторные отступы и плоское чередование секций — */
.works-type, .brands, .hard-works, .prices, .calc, .why, .contacts, .portfolio, .faq, .final-cta {
  padding: clamp(72px, 9vw, 128px) 0;
}
.brands, .why, .prices, .portfolio { background: var(--paper-2); }
.works-type, .hard-works, .calc, .contacts, .faq { background: var(--paper); }

/* — Заголовки секций: крупно, плотно, без декора — */
.section-h2 {
  font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.06; color: var(--ink); margin-bottom: 48px;
}
.section-h2::after { display: none; }

/* ── NAV — плоская, тонкая линия ── */
.nav { background: rgba(255,255,255,0.82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.nav.scrolled { box-shadow: none; border-bottom-color: var(--line-2); }
.nav__logo strong { color: var(--ink); }
.nav__links a { color: var(--muted); font-weight: 500; }
.nav__links a:hover { color: var(--ink); background: transparent; }

/* ── HERO — крупный редакторский экран ── */
.hero {
  position: static; overflow: visible;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 96px);
}
.hero::before, .hero::after { content: none; }
.hero__inner { grid-template-columns: 1.2fr 300px; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero__badge {
  background: transparent; border: 0; border-radius: 0; padding: 0; margin-bottom: 24px;
  color: var(--muted); gap: 10px;
  font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em;
}
.hero__badge::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); animation: none; box-shadow: none; flex-shrink: 0;
}
.hero__h1, .hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 700;
  letter-spacing: -0.04em; line-height: 1.02; margin-bottom: 24px; color: var(--ink);
}
.hero__sub, .hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted);
  line-height: 1.6; margin-bottom: 36px; max-width: 560px;
}
.hero__points span { color: var(--muted); }

/* адреса в hero — плоский список, тонкие разделители */
.hero__loc-label { color: var(--muted-2); letter-spacing: 0.16em; }
.hero__loc-card {
  background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
  border: 0; border-top: 1px solid var(--line); border-radius: 0;
  box-shadow: none; padding: 16px 0;
}
.hero__loc-card a { color: var(--ink); }

/* ── BUTTONS — плоские, премиальные ── */
.btn { border-radius: var(--radius); border-width: 1px; font-weight: 600; box-shadow: none !important; transition: background .2s, color .2s, border-color .2s; }
.btn--lg { padding: 16px 30px; }
.btn--primary, .btn-primary,
a.btn[href$="#calc"], a.btn[href*="#calc"] {
  background: var(--ink); background-image: none; color: #fff; border-color: var(--ink);
}
.btn--primary:hover, .btn-primary:hover,
a.btn[href$="#calc"]:hover, a.btn[href*="#calc"]:hover {
  background: var(--ink-2); border-color: var(--ink-2); color: #fff; transform: none;
}
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--ghost, a.btn[href^="tel:"] { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover, a.btn[href^="tel:"]:hover { background: var(--paper-2); border-color: var(--ink); color: var(--ink); }
/* VK / MAX — сохраняем фирменные цвета, но плоско */
.btn--vk, .btn-vk, .btn--max, .btn-max { box-shadow: none !important; }
.btn--vk:hover, .btn-vk:hover, .btn--max:hover, .btn-max:hover { transform: none; }

/* ── CARDS — плоские, тонкая рамка ── */
.wt-card, .why-card { position: relative; overflow: visible; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s; }
.wt-card::before, .why-card::before { content: none; }
.wt-card:hover, .why-card:hover { border-color: var(--ink); box-shadow: none; transform: none; }
.wt-card__icon, .why-card__icon { background: transparent; width: auto; height: auto; border-radius: 0; font-size: 1.6rem; margin-bottom: 16px; }
.wt-card__price { background: transparent; color: var(--accent); padding: 0; font-family: inherit; }
.wt-card h3, .why-card h3 { letter-spacing: -0.01em; }

/* ── BRAND CHIPS — плоские ── */
.brand-chip { box-shadow: none; border: 1px solid var(--line-2); background: var(--paper); transition: border-color .2s, color .2s; }
.brand-chip:hover { border-color: var(--ink); color: var(--ink); background: var(--paper); transform: none; }
.brand-chip:hover .brand-chip__logo { transform: none; }

/* ── DARK BLOCKS — чистый чёрный, без паттернов ── */
.hw-card { background: var(--ink); border: 0; border-radius: var(--radius); }
.hw-card::after { content: none; }
.hw-card__tag { background: #fff; color: var(--ink); font-family: inherit; letter-spacing: 0.04em; }
.hard-works__cta { background: var(--paper-2); border: 1px solid var(--line); }

/* ── PRICES TABLE — плоско ── */
.prices__table { box-shadow: none; border: 1px solid var(--line); border-radius: var(--radius); }
.prices__table th { background: var(--ink); }
.price-cell { color: var(--accent); font-family: inherit; }

/* ── CALC — чистый чёрный блок ── */
.calc__box { background: var(--ink); border-radius: var(--radius); box-shadow: none; }
.calc__box::before { content: none; }
.calc__form input, .calc__form select, .calc__form textarea { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius); }
.calc__form input:focus, .calc__form select:focus, .calc__form textarea:focus { border-color: #fff; box-shadow: none; }

/* ── PORTFOLIO ── */
.portfolio-card { box-shadow: none; border: 1px solid var(--line); border-radius: var(--radius); }
.portfolio-card:hover { box-shadow: none; border-color: var(--ink); transform: none; }
.portfolio-card__img { background: var(--paper-2); }
.portfolio-card__price, .portfolio-card__tag { font-family: inherit; }

/* ── CONTACTS ── */
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }

/* ── FAQ ── */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item summary::after { color: var(--ink); }

/* ── FINAL CTA — плоский чёрный ── */
.final-cta { background: var(--ink); position: static; overflow: visible; }
.final-cta::before, .final-cta::after { content: none; }
.final-cta h2 { letter-spacing: -0.03em; }
.final-cta .btn--ghost { border-color: rgba(255,255,255,0.5); color: #fff; }
.final-cta .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.final-cta a.btn[href^="tel:"] { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.final-cta a.btn[href^="tel:"]:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ── FOOTER — чистый чёрный, без неона ── */
.footer { background: var(--ink); position: static; }
.footer::before { content: none; }

/* ── Адаптив для переработанного hero (после media-queries выше) ── */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; align-items: start; }
  .hero__loc-card { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .hero__h1, .hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .section-h2 { font-size: clamp(1.7rem, 7vw, 2.2rem); margin-bottom: 32px; }
  .container { padding: 0 20px; }
}

/* ── Кнопки на тёмных блоках (calc, final-cta) — инверсия для контраста ── */
.calc__box .btn--primary, .calc__box .btn-primary,
.final-cta .btn--primary, .final-cta .btn-primary,
.final-cta a.btn[href$="#calc"], .final-cta a.btn[href*="#calc"] {
  background: #fff; color: var(--ink); border-color: #fff;
}
.calc__box .btn--primary:hover, .calc__box .btn-primary:hover,
.final-cta .btn--primary:hover, .final-cta .btn-primary:hover,
.final-cta a.btn[href$="#calc"]:hover, .final-cta a.btn[href*="#calc"]:hover {
  background: #e8e8e8; border-color: #e8e8e8; color: var(--ink);
}
.calc__box .btn--ghost, .calc__box .btn--outline,
.calc__box a.btn[href^="tel:"] {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.45);
}
.calc__box .btn--ghost:hover, .calc__box .btn--outline:hover,
.calc__box a.btn[href^="tel:"]:hover {
  background: #fff; color: var(--ink); border-color: #fff;
}

@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }

/* ═══════════════════════════════════════════════════════════
   HIPPIE THEME — 70s groovy · peace & love · flower power
   ═══════════════════════════════════════════════════════════ */
:root {
  --ink: #1f3a24; --ink-2: #142a18;
  --muted: #5d6e51; --muted-2: #7e9070;
  --paper: #eef6e0; --paper-2: #ddeec3;
  --accent: #2f8f3e;                 /* травяной зелёный — ссылки/цены */
  --line: #cde3a8; --line-2: #b2d27f;
  --sun: #9fc41f; --olive: #6f8c2a; --teal: #1f9e8f;
  --purple: #2f6d4a; --pink: #5cb85c; --terra: #2e7d32;
  --radius: 22px;
  --font-display: 'Fredoka', 'Trebuchet MS', sans-serif;
  --font-script: 'Pacifico', cursive;
  --font-body: 'Nunito', system-ui, sans-serif;
  --rainbow: linear-gradient(90deg, var(--terra), var(--sun), var(--olive), var(--teal), var(--purple));
}

body { background: var(--paper); color: var(--ink); font-family: var(--font-body); }
a { color: var(--accent); }

/* тёплое чередование секций */
.brands, .why, .prices, .portfolio { background: var(--paper-2); }
.works-type, .hard-works, .contacts, .faq { background: var(--paper); }

/* ── Заголовки — грувовые + радужная волна ── */
.section-h2 { font-family: var(--font-display); color: var(--ink); letter-spacing: 0; font-weight: 700; }
.section-h2::after { display: block; content: ""; width: 130px; height: 8px; margin-top: 14px;
  border-radius: 99px; background: var(--rainbow); box-shadow: none; }

/* ── NAV — кремовая, радужная нижняя кромка ── */
.nav { background: rgba(253,243,223,0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-width: 0 0 3px; border-style: solid; border-image: var(--rainbow) 1; box-shadow: none; }
.nav.scrolled { box-shadow: 0 6px 18px -10px rgba(58,42,26,0.4); }
.nav__logo { font-family: var(--font-script); color: var(--accent); font-weight: 400; }
.nav__logo strong { color: var(--accent); }
.nav__links a { color: var(--ink); font-weight: 700; }
.nav__links a:hover { color: var(--accent); background: transparent; }

/* ── HERO — солнце, тёплый закат, цветы ── */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(70% 78% at 50% -12%, #cfe89a 0%, rgba(207,232,154,0) 62%),
    linear-gradient(180deg, #e6f3cc 0%, var(--paper) 72%);
  border-bottom: 4px solid var(--ink);
}
.hero::before { content: "\270C\FE0F"; position: absolute; font-size: 4.6rem; top: 26px; right: 5%;
  transform: rotate(14deg); opacity: 0.92; pointer-events: none; z-index: 0; }
.hero::after { content: none; }
.hero > .container, .hero.container > * { position: relative; z-index: 1; }
.hero__h1, .hero h1 { font-family: var(--font-display); color: var(--ink); font-weight: 700; letter-spacing: -0.01em; }
.hero__sub, .hero-sub { color: var(--muted); }
.hero__points span { color: var(--muted); }

/* hero-бейдж — солнечная пилюля со знаком мира */
.hero__badge { background: linear-gradient(90deg, var(--sun), var(--terra)); color: #fff;
  border: 2px solid var(--ink); border-radius: 100px; padding: 8px 16px; margin-bottom: 22px;
  font-family: var(--font-body); font-weight: 800; text-transform: none; letter-spacing: 0.01em;
  box-shadow: 3px 3px 0 var(--ink); }
.hero__badge::before { content: "\262E"; width: auto; height: auto; background: none; border-radius: 0;
  box-shadow: none; font-size: 1.05rem; animation: none; color: #fff; }

/* адреса в hero — карточки */
.hero__loc-label { color: var(--muted-2); font-family: var(--font-display); letter-spacing: 0.02em; }
.hero__loc-card { background: #fff; border: 2px solid var(--ink); border-radius: 16px;
  box-shadow: 4px 4px 0 var(--sun); padding: 14px 16px; }
.hero__loc-card a { color: var(--accent); }

/* ── BUTTONS — пилюли с чанки-тенью ── */
.btn { border-radius: 100px; border: 2px solid var(--ink); font-family: var(--font-body); font-weight: 800;
  box-shadow: 3px 3px 0 var(--ink) !important; transition: transform .14s ease, box-shadow .14s ease, background .2s; }
.btn:hover { transform: translate(-1px,-1px); box-shadow: 5px 5px 0 var(--ink) !important; }
.btn:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink) !important; }
.btn--primary, .btn-primary, a.btn[href$="#calc"], a.btn[href*="#calc"] {
  background: linear-gradient(90deg, var(--sun), var(--terra)); background-image: linear-gradient(90deg, var(--sun), var(--terra));
  color: #fff; border-color: var(--ink); }
.btn--primary:hover, .btn-primary:hover, a.btn[href$="#calc"]:hover, a.btn[href*="#calc"]:hover {
  background: linear-gradient(90deg, var(--terra), var(--pink)); color: #fff; }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--sun); color: var(--ink); }
.btn--ghost, a.btn[href^="tel:"] { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover, a.btn[href^="tel:"]:hover { background: var(--paper-2); color: var(--ink); border-color: var(--ink); }
.btn--vk, .btn-vk { background: #0077FF; color: #fff; border-color: var(--ink); }
.btn--max, .btn-max { background: #6A5AE0; color: #fff; border-color: var(--ink); }

/* ── CARDS — округлые, толстая рамка, цветная чанки-тень ── */
.wt-card, .why-card { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius);
  transition: transform .15s ease, box-shadow .15s ease; }
.wt-card::before, .why-card::before { content: none; }
.wt-card { box-shadow: 5px 5px 0 var(--sun); }
.why-card { box-shadow: 5px 5px 0 var(--teal); }
.wt-card:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--terra); border-color: var(--ink); }
.why-card:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--purple); border-color: var(--ink); }
.wt-card h3, .why-card h3 { font-family: var(--font-display); }
.wt-card__icon, .why-card__icon { font-size: 2.1rem; }
.wt-card__price { color: var(--accent); font-weight: 800; }

/* ── BRAND CHIPS — мини-пилюли ── */
.brand-chip { background: #fff; border: 2px solid var(--ink); border-radius: 100px;
  box-shadow: 2px 2px 0 var(--ink); color: var(--ink); font-weight: 700;
  transition: transform .14s ease, box-shadow .14s ease, color .2s; }
.brand-chip:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--accent); color: var(--accent); background: #fff; }

/* ── DARK BLOCKS → тёплые насыщенные ── */
.hw-card { background: linear-gradient(160deg, #2c5238, #1c3a25); border: 2px solid var(--ink);
  border-radius: var(--radius); box-shadow: 6px 6px 0 var(--ink); color: #fff; }
.hw-card::after { content: none; }
.hw-card h3 { font-family: var(--font-display); color: #fff; }
.hw-card p { color: #dcefd8; }
.hw-card__tag { background: var(--sun); color: var(--ink); font-family: var(--font-display); border-radius: 100px; }
.hard-works__cta { background: var(--sun); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--ink); }
.hard-works__cta p { color: var(--ink); font-weight: 700; }

/* ── PRICES ── */
.prices__table { border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 6px 6px 0 var(--sun); }
.prices__table th { background: linear-gradient(90deg, var(--terra), var(--purple)); color: #fff; font-family: var(--font-display); }
.price-cell { color: var(--accent); font-weight: 800; }

/* ── CALC — глубокий фиолетовый ── */
.calc__box { background: linear-gradient(155deg, #2f5a38, #1d3c25); border: 2px solid var(--ink);
  border-radius: var(--radius); box-shadow: 8px 8px 0 var(--ink); }
.calc__box::before { content: none; }
.calc__text h2 { font-family: var(--font-display); color: #fff; }
.calc__form input, .calc__form select, .calc__form textarea {
  background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.35); border-radius: 12px; color: #fff; }
.calc__form input:focus, .calc__form select:focus, .calc__form textarea:focus { border-color: var(--sun); box-shadow: none; }
.calc__box .btn--primary, .calc__box .btn-primary { background: linear-gradient(90deg, var(--sun), var(--terra)); color: #fff; border-color: var(--ink); }
.calc__box .btn--ghost, .calc__box a.btn[href^="tel:"] { background: #fff; color: var(--ink); border-color: var(--ink); }

/* ── PORTFOLIO ── */
.portfolio-card { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 5px 5px 0 var(--pink); }
.portfolio-card:hover { transform: translate(-2px,-2px); box-shadow: 8px 8px 0 var(--purple); border-color: var(--ink); }
.portfolio-card__img { background: linear-gradient(135deg, #cfe89a, #bfe0a0); }
.portfolio-card__price { color: var(--accent); }

/* ── CONTACTS ── */
.contact-card { background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 5px 5px 0 var(--olive); }
.contact-card h3 { font-family: var(--font-display); }
.contact-card__phone { color: var(--accent); }

/* ── FAQ ── */
.faq-item { background: #fff; border: 2px solid var(--ink); border-radius: 16px; box-shadow: 4px 4px 0 var(--sun); }
.faq-item summary { font-family: var(--font-display); }
.faq-item summary::after { color: var(--accent); }

/* ── FINAL CTA — закат-радуга ── */
.final-cta { position: relative; overflow: hidden; border-top: 4px solid var(--ink);
  background: linear-gradient(120deg, var(--terra) 0%, var(--pink) 50%, var(--purple) 100%); }
.final-cta::before, .final-cta::after { content: none; }
.final-cta h2 { font-family: var(--font-script); font-weight: 400; color: #fff; letter-spacing: 0; }
.final-cta p { color: rgba(255,255,255,0.92); }
.final-cta .btn--primary, .final-cta .btn-primary,
.final-cta a.btn[href$="#calc"], .final-cta a.btn[href*="#calc"] { background: #fff; background-image: none; color: var(--terra); border-color: var(--ink); }
.final-cta .btn--ghost { background: transparent; color: #fff; border-color: #fff; }
.final-cta .btn--ghost:hover { background: #fff; color: var(--terra); border-color: #fff; }
.final-cta a.btn[href^="tel:"] { background: transparent; color: #fff; border-color: #fff; }
.final-cta a.btn[href^="tel:"]:hover { background: #fff; color: var(--terra); border-color: #fff; }

/* ── FOOTER — тёплый тёмный ── */
.footer { background: var(--ink-2); position: relative; }
.footer::before { content: none; }
.footer__logo { font-family: var(--font-script); font-weight: 400; }

@media (max-width: 640px) {
  .hero::before { font-size: 3rem; top: 14px; right: 4%; }
}

/* кликабельные адреса → Яндекс.Карты */
.loc-link { color: inherit; text-decoration: none; border-bottom: 1px dotted currentColor; transition: color .15s ease; cursor: pointer; }
.loc-link:hover { color: var(--accent); border-bottom-color: var(--accent); }
.hero__loc-card .loc-link { border-bottom: 0; }
.hero__loc-card .loc-link:hover strong { text-decoration: underline; }
