/* ============ avzo — landing ============ */

:root {
  --bg: #faf9f5;
  --bg-soft: #f1efe7;
  --card: #ffffff;
  --line: #e3e0d5;
  --text: #1f1e1a;
  --muted: #6f6d63;
  --accent: #bf3a1e;
  --accent-deep: #bf3a1e;
  --accent-ink: #ffffff;
  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --container: 1160px;
  --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

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

.accent { color: var(--accent-deep); }

/* ---- ambient effects ---- */
.glow {
  position: fixed;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191, 58, 30, 0.1) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  top: 20vh;
  left: 60vw;
  transition: opacity 0.4s;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.025 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, .header, .footer { position: relative; z-index: 2; }

/* ---- header ---- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(250, 249, 245, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}
.header__logo img { height: 22px; width: auto; }
.header__nav { display: flex; gap: 28px; }
.header__nav a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s;
}
.header__nav a:hover { color: var(--text); }
.header__right { display: flex; align-items: center; gap: 14px; }

.lang {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 3px;
  gap: 2px;
}
.lang__btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 99px;
  transition: background 0.2s, color 0.2s;
}
.lang__btn:hover { color: var(--text); }
.lang__btn.is-active { background: var(--accent); color: var(--accent-ink); }

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}
.btn--accent {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(191, 58, 30, 0.35);
}
.btn--ghost {
  border-color: var(--line);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-deep); }
.btn--small { padding: 9px 18px; font-size: 13px; }

/* ---- hero ---- */
.hero {
  min-height: min(100svh, 1080px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31, 30, 26, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 30, 26, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 35% 45%, #000 25%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 65% at 35% 45%, #000 25%, transparent 100%);
}
.hero__ghost {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: min(34vh, 250px);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(191, 58, 30, 0.15);
  letter-spacing: 0.05em;
  user-select: none;
  pointer-events: none;
}
.hero__star {
  position: absolute;
  top: 15%;
  right: 27%;
  font-size: 96px;
  line-height: 1;
  color: var(--accent);
  animation: spin 16s linear infinite;
  pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero__inner { position: relative; }
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: lowercase;
  margin-bottom: 28px;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 6.8vw, 84px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 16ch;
  position: relative;
  z-index: 2;
}
.hero__rotator {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.02em 0.32em 0.1em;
  border-radius: 0.24em;
  transform: rotate(-2deg);
  box-shadow: 0 12px 32px rgba(191, 58, 30, 0.28);
  transition: opacity 0.35s, transform 0.35s;
}
.hero__rotator.is-out { opacity: 0; transform: rotate(-2deg) translateY(0.35em); }
.hero__cursor {
  color: var(--accent-deep);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.hero__sub {
  margin-top: 30px;
  max-width: 52ch;
  font-size: 17px;
  color: var(--muted);
}
.hero__actions {
  margin-top: 42px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__chips {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: transform 0.3s ease-out;
  z-index: 1;
}
.hero__chip {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(31, 30, 26, 0.09);
  white-space: nowrap;
  animation: float 5.5s ease-in-out infinite alternate;
}
.hero__chip:nth-child(1) { top: 22%; right: 4%; transform: rotate(4deg); }
.hero__chip:nth-child(2) { top: 46%; right: 10%; transform: rotate(-5deg); animation-delay: 1.4s; }
.hero__chip:nth-child(3) { top: 66%; right: 3%; transform: rotate(2deg); animation-delay: 2.7s; }
@keyframes float {
  from { margin-top: 0; }
  to { margin-top: -18px; }
}
.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--muted), transparent);
  animation: drop 1.8s ease-in-out infinite;
  transform-origin: top;
}
@keyframes drop {
  0% { transform: scaleY(0); }
  45% { transform: scaleY(1); }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ---- marquee ---- */
.marquee {
  overflow: hidden;
  padding: 16px 0;
  background: var(--accent);
  rotate: -1.2deg;
  scale: 1.03;
  margin: 20px 0;
  box-shadow: 0 12px 32px rgba(191, 58, 30, 0.22);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee__group {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.marquee__group span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.06em;
  color: #faf6ee;
  padding: 0 28px;
}
.marquee__group i {
  color: rgba(250, 246, 238, 0.65);
  font-style: normal;
  font-size: 15px;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---- sections ---- */
.section { padding: 120px 0; }
.section--alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { margin-bottom: 56px; }
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.01em;
}
.section__title::after {
  content: " ✦";
  color: var(--accent);
  font-size: 0.5em;
  vertical-align: 0.4em;
}
.section__sub {
  margin-top: 14px;
  color: var(--muted);
  max-width: 48ch;
  font-size: 16px;
}

/* ---- service cards ---- */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  overflow: hidden;
  rotate: var(--tilt, 0deg);
  transition: translate 0.3s, rotate 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.cards .card:nth-child(odd) { --tilt: -0.7deg; }
.cards .card:nth-child(even) { --tilt: 0.7deg; }
.card:hover {
  translate: 0 -5px;
  rotate: 0deg;
  border-color: rgba(191, 58, 30, 0.5);
  box-shadow: 0 20px 44px rgba(31, 30, 26, 0.1);
}
.card--featured {
  background: var(--accent);
  border-color: var(--accent);
}
.card--featured .card__title { color: #fff; }
.card--featured .card__desc { color: rgba(255, 251, 244, 0.85); }
.card--featured .card__num { -webkit-text-stroke-color: rgba(255, 255, 255, 0.4); }
.card--featured:hover .card__num { -webkit-text-stroke-color: rgba(255, 255, 255, 0.6); }
.card--featured .card__icon {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.card--featured .card__tags li {
  color: rgba(255, 251, 244, 0.9);
  border-color: rgba(255, 255, 255, 0.4);
}
.card--featured:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 44px rgba(191, 58, 30, 0.3);
}
.card__num {
  position: absolute;
  top: 14px;
  right: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--line);
  transition: -webkit-text-stroke-color 0.3s;
}
.card:hover .card__num { -webkit-text-stroke-color: rgba(191, 58, 30, 0.55); }
.card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(191, 58, 30, 0.08);
  border: 1px solid rgba(191, 58, 30, 0.22);
  display: grid;
  place-items: center;
  color: var(--accent-deep);
  margin-bottom: 24px;
}
.card__icon svg { width: 26px; height: 26px; }
.card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 12px;
}
.card__desc { color: var(--muted); font-size: 15px; }
.card__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.card__tags li {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 5px 12px;
}

/* ---- process steps ---- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 22px 0;
  border-top: 1px solid var(--line);
}
.step::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.7s ease 0.15s;
}
.step.visible::before { width: 100%; }
.step__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  background: var(--accent);
  display: inline-block;
  padding: 4px 14px 5px;
  border-radius: 99px;
  rotate: -3deg;
  margin-bottom: 16px;
}
.step:nth-child(even) .step__num { rotate: 3deg; }
.step__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 10px;
}
.step__desc { color: var(--muted); font-size: 14px; }

/* ---- contact ---- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.15;
}
.contact__title .accent::after {
  content: " ✦";
  font-size: 0.45em;
  vertical-align: 0.5em;
}
.contact__sub {
  margin-top: 18px;
  color: var(--muted);
  max-width: 40ch;
}
.contact__phone {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
}
.contact__phone a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--text);
  transition: color 0.2s;
}
.contact__phone a:hover { color: var(--accent); }
.contact__tg { margin-top: 22px; align-self: flex-start; }

.form {
  background: var(--card);
  border: 1.5px solid var(--text);
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  rotate: 0.6deg;
  box-shadow: 9px 9px 0 var(--accent);
}
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.form__field input,
.form__field textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  padding: 13px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.form__field input::placeholder,
.form__field textarea::placeholder { color: #aca897; }
.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(191, 58, 30, 0.14);
}
.form__field input.is-invalid { border-color: #d0453c; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form__submit { justify-content: center; }
.form__submit:disabled { opacity: 0.6; cursor: wait; transform: none; }
.form__status { font-size: 14px; min-height: 1.4em; }
.form__status.ok { color: #3a7d44; }
.form__status.err { color: #c0392b; }

/* ---- footer ---- */
.footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 0;
  overflow: hidden;
}
.footer__big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(90px, 17vw, 240px);
  line-height: 0.8;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(191, 58, 30, 0.22);
  letter-spacing: 0.02em;
  user-select: none;
  pointer-events: none;
  margin-top: 30px;
  margin-bottom: -0.13em;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__logo { height: 18px; width: auto; }
.footer__copy { font-size: 13px; color: var(--muted); }
.footer__nav { display: flex; gap: 20px; }
.footer__nav a { font-size: 13px; color: var(--muted); transition: color 0.2s; }
.footer__nav a:hover { color: var(--text); }

/* ---- reveal on scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.cards .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: 0.08s; }
.cards .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: 0.16s; }
.cards .reveal:nth-child(4), .steps .reveal:nth-child(4) { transition-delay: 0.24s; }

/* ---- responsive ---- */
@media (max-width: 1000px) {
  .hero__ghost, .hero__star { display: none; }
  .hero__chips {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    transform: none !important;
  }
  .hero__chip { position: static; transform: none; animation: none; box-shadow: none; }
}

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px 18px; }
  .contact { grid-template-columns: 1fr; gap: 44px; }
  .section { padding: 90px 0; }
}

@media (max-width: 640px) {
  .header__nav { display: none; }
  .header__cta { display: none; }
  .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 110px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__scroll { display: none; }
  .marquee__group span { font-size: 17px; padding: 0 18px; }
  .form { padding: 26px 20px; }
}

/* ---- reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  .dot, .hero__cursor, .hero__scroll-line, .hero__star, .hero__chip { animation: none; }
  .glow { display: none; }
  * { transition-duration: 0.01ms !important; }
}
