/* ==========================================================================
   MB Umzug — базовые стили сайта-визитки
   Дизайн-направление «Крафт і скотч»: тёплая бумага, крафт-картон,
   скотч-акцент. Шрифты Unbounded/Manrope самохостятся (assets/fonts,
   подключены через fonts.css) — без обращений к Google Fonts.
   ========================================================================== */

@import url("fonts.css");

:root {
  --color-bg: #FBF8F2;
  --color-bg-alt: #E9DCC7;
  --color-text: #2B2620;
  --color-text-muted: #7A705E;
  --color-primary: #2B2620;
  --color-primary-dark: #201C17;
  --color-accent: #F4801F;
  --color-accent-dark: #C96A16;
  --color-accent-soft: rgba(244, 128, 31, 0.12);
  --color-border: #D8C7A6;
  --color-white: #ffffff;
  --color-success: #1fa463;

  --font-base: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Unbounded", var(--font-base);

  --container-width: 1160px;
  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 28px;
  --radius-full: 999px;

  --shadow-s: 0 2px 10px rgba(61, 45, 20, 0.07);
  --shadow-m: 0 14px 34px rgba(61, 45, 20, 0.12);

  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.18;
  font-weight: 700;
  font-family: var(--font-display);
  text-wrap: balance;
}

h3 {
  font-family: var(--font-base);
  font-weight: 700;
}

p {
  margin: 0;
}

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

section {
  scroll-margin-top: var(--header-height);
}

.btn {
  --btn-cut: 16px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-s) var(--radius-s) var(--radius-s) 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--btn-cut)), calc(100% - var(--btn-cut)) 100%, 0 100%);
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  white-space: nowrap;
}

.btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: var(--btn-cut) var(--btn-cut) 0 0;
  border-color: var(--color-primary) transparent transparent transparent;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-s);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
}

.btn-outline {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--color-border);
  color: var(--color-text);
}

.btn-outline::after {
  border-color: var(--color-border) transparent transparent transparent;
}

.btn-outline:hover {
  box-shadow: inset 0 0 0 2px var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover::after {
  border-color: var(--color-primary) transparent transparent transparent;
}

.btn-block {
  width: 100%;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent-dark);
  margin-bottom: 10px;
}

.section-head {
  max-width: 640px;
  margin: 0 0 44px;
}

.section-head h2 {
  font-size: clamp(24px, 3.6vw, 34px);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--color-text-muted);
  font-size: 16.5px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(251, 248, 242, 0.88);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 17px;
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--color-text);
}

.logo-mark {
  flex-shrink: 0;
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-actions .lang-switch {
  display: flex;
}

.lang-switch {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-full);
}

.lang-switch a {
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
}

.lang-switch a.active {
  background: var(--color-bg);
  color: var(--color-primary);
  font-weight: 700;
  box-shadow: var(--shadow-s);
}

.phone-link {
  display: none;
  font-weight: 700;
  font-size: 18px;
  color: var(--color-text);
}

.header-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--color-white);
  box-shadow: var(--shadow-s);
  flex-shrink: 0;
}

.header-icon-btn svg {
  width: 17px;
  height: 17px;
}

.header-icon-btn.call {
  background: var(--color-success);
}

.header-icon-btn.message {
  background: var(--color-accent);
}


/* ---------- Hero ---------- */

.hero {
  background: var(--color-bg);
  padding: 44px 0 40px;
}

.hero .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-copy h1 {
  font-size: clamp(30px, 5.2vw, 48px);
  letter-spacing: -0.01em;
}

.hero-copy .highlight {
  color: var(--color-accent);
}

.hero-copy .lead {
  margin-top: 18px;
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 480px;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.total-label-break {
  display: none;
}

@media (max-width: 639px) {
  .total-label-break {
    display: inline;
  }

  .hero-copy h1,
  .hero-copy .lead {
    text-align: center;
  }

  .hero-copy .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .trust-strip {
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-band .actions {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .cta-band .actions .btn {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    font-size: 13px;
    white-space: nowrap;
  }

  .cta-band .actions .btn svg {
    width: 15px;
    height: 15px;
  }
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-bg-alt);
}

.hero-photo-caption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.5;
  text-align: center;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.hero-visual .tape {
  position: absolute;
  top: 30px;
  left: -34px;
  width: 210px;
  height: 42px;
  background: repeating-linear-gradient(45deg, var(--color-accent), var(--color-accent) 10px, var(--color-accent-dark) 10px, var(--color-accent-dark) 20px);
  transform: rotate(-9deg);
  box-shadow: 0 4px 10px rgba(43,38,32,.18);
}

.hero-visual .price-badge {
  position: absolute;
  bottom: 22px;
  right: 22px;
  background: var(--color-bg);
  border-radius: var(--radius-m);
  padding: 14px 22px;
  text-align: center;
  box-shadow: var(--shadow-m);
}

.hero-visual .price-badge .from {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-text-muted);
  font-weight: 700;
}

.hero-visual .price-badge .price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--color-text);
}

.trust-strip {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
}

.trust-item .value {
  font-size: 24px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
}

.trust-item .label {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* ---------- Highlights strip (icon row, wie auf der Visitenkarte) ---------- */

.highlights {
  background: var(--color-bg-alt);
  padding: 28px 0;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.highlight-item .icon-badge {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-s);
  background: var(--color-bg);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-item span:last-child {
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Tagline banner ---------- */

.tagline-banner {
  background: var(--color-text);
  color: var(--color-white);
  padding: 26px 0;
}

.tagline-banner .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: baseline;
  justify-content: center;
}

.tagline-banner strong {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.tagline-banner strong:nth-child(2) {
  color: var(--color-accent);
}

/* ---------- Pricing / "Why cheap" ---------- */

.pricing {
  padding: 68px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.pricing-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius-m);
  padding: 26px;
}

.pricing-card .icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-s);
  background: var(--color-bg);
  color: var(--color-accent);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.pricing-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.pricing-card p {
  color: var(--color-text-muted);
  font-size: 14.5px;
}

.price-example {
  margin-top: 36px;
  background: var(--color-text);
  color: var(--color-white);
  border-radius: var(--radius-l);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.price-example .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
  font-size: 15px;
}

.price-example .row:last-of-type {
  border-bottom: none;
}

.price-example .row.total {
  font-size: 24px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--color-accent);
}

.price-example .row.total span:last-child {
  white-space: nowrap;
}

.price-example .row.title {
  font-size: 17px;
  font-weight: 700;
}

/* ---------- Services ---------- */

.services {
  padding: 68px 0;
  background: var(--color-bg-alt);
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.service-card {
  flex: 0 0 100%;
  background: var(--color-bg);
  border-radius: var(--radius-m);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-card .top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.service-card h3 {
  font-size: 15.5px;
}

.service-card .price-tag {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent-dark);
  background: var(--color-accent-soft);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 14px;
}

/* ---------- Trust ---------- */

.trust {
  padding: 68px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.trust-card {
  text-align: left;
}

.trust-card .icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-s);
  background: var(--color-bg-alt);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.trust-card h3 {
  font-size: 15.5px;
  margin-bottom: 6px;
}

.trust-card p {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* ---------- Reviews (marquee) ---------- */

.reviews {
  padding: 68px 0;
  background: var(--color-bg-alt);
  overflow: hidden;
}

.reviews .section-head {
  padding: 0 20px;
}

.review-marquee {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: scroll-reviews 46s linear infinite;
}

.review-marquee:hover {
  animation-play-state: paused;
}

@keyframes scroll-reviews {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.review-card {
  width: 300px;
  flex-shrink: 0;
  background: var(--color-bg);
  border-radius: var(--radius-m);
  padding: 22px;
}

.review-card .stars {
  color: var(--color-accent);
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-card p.quote {
  font-size: 14px;
  color: var(--color-text);
  min-height: 84px;
}

.review-card .author {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--color-text-muted);
}

.review-card .author strong {
  color: var(--color-text);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .review-marquee {
    animation: none;
    overflow-x: auto;
  }
}

/* ---------- CTA band ---------- */

.cta-band {
  padding: 56px 0;
  text-align: center;
}

.cta-band .box {
  background: var(--color-text);
  border-radius: var(--radius-l);
  padding: 48px 24px;
  color: var(--color-white);
}

.cta-band h2 {
  font-size: clamp(22px, 3.6vw, 30px);
  margin-bottom: 12px;
}

.cta-band p {
  color: rgba(255,255,255,.78);
  max-width: 480px;
  margin: 0 auto 24px;
}

.cta-band .actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.btn-green {
  background: var(--color-success);
  color: var(--color-white);
}

.btn-green:hover {
  background: #17924f;
}

.btn-green::after {
  border-color: var(--color-primary) transparent transparent transparent;
}

.cta-band .actions .btn::after {
  border-color: var(--color-white) transparent transparent transparent;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-text);
  color: rgba(255,255,255,.72);
  padding: 52px 0 24px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 14px;
  font-family: var(--font-base);
  margin-bottom: 14px;
}

.footer-col .logo {
  color: var(--color-white);
  margin-bottom: 10px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a:hover {
  color: var(--color-white);
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
}

.footer-bottom .legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- Legal pages ---------- */

.legal-page {
  padding: 60px 0 90px;
  background: var(--color-bg-alt);
}

.legal-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--color-bg);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-m);
  padding: 32px 24px;
}

@media (min-width: 640px) {
  .legal-card {
    padding: 44px 40px;
  }
}

.legal-page h1 {
  font-size: 30px;
  margin-bottom: 8px;
}

.legal-lead {
  color: var(--color-accent-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 30px;
}

.legal-block {
  padding: 18px 0;
  border-top: 1px solid var(--color-border);
}

.legal-block:first-of-type {
  border-top: none;
  padding-top: 0;
}

.legal-page h2 {
  font-size: 14px;
  font-family: var(--font-base);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-accent-dark);
  margin-bottom: 10px;
}

.legal-page p, .legal-page address, .legal-page li {
  color: var(--color-text);
  font-size: 15.5px;
  line-height: 1.65;
  font-style: normal;
  margin-bottom: 10px;
}

.legal-page p:last-child, .legal-page address {
  margin-bottom: 0;
}

.legal-page a {
  color: var(--color-accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Breakpoints ---------- */

@media (min-width: 640px) {
  .trust-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid .service-card {
    flex-basis: calc(50% - 8px);
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 640px) {
  .header-actions {
    gap: 10px;
  }

  .lang-switch a {
    padding: 6px 12px;
    font-size: 13px;
  }

  .header-icon-btn {
    width: 40px;
    height: 40px;
  }

  .header-icon-btn svg {
    width: 20px;
    height: 20px;
  }
}

@media (min-width: 900px) {
  .phone-link {
    display: inline-block;
  }

  .hero .container {
    flex-direction: row;
    align-items: center;
  }

  .hero-copy {
    flex: 1;
  }

  .hero-visual-wrap {
    flex: 1;
  }

  .hero-visual {
    aspect-ratio: 5 / 4;
  }

  .highlights-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .services-grid .service-card {
    flex-basis: calc(33.333% - 32px / 3);
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

@media (min-width: 1180px) {
  .hero-copy h1 {
    max-width: 560px;
  }
}
