:root {
  --orange: #f36a00;
  --orange-deep: #d45500;
  --orange-soft: #fff1e6;
  --ink: #121212;
  --muted: #5c5c5c;
  --line: #e6e2dc;
  --paper: #f7f5f2;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(18, 18, 18, 0.12);
  --radius: 18px;
  --header-h: 78px;
  --notice-h: 0px;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Onest", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(243, 106, 0, 0.12), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(18, 18, 18, 0.05), transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--paper) 48%, #efebe6 100%);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Notice */
.notice {
  position: relative;
  z-index: 60;
  background: linear-gradient(90deg, #9b1010, #d41818 45%, #b31212);
  color: #fff;
  border-bottom: 1px solid #7a0c0c;
}

.notice__inner {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.75rem 0;
}

.notice__badge {
  flex: 0 0 auto;
  align-self: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #fff;
  color: #c01010;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: pulse-soft 2.4s ease-in-out infinite;
}

.notice__text {
  margin: 0;
  font-size: 0.92rem;
  color: #fff;
}

@keyframes pulse-soft {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35); }
  50% { transform: scale(1.03); box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(230, 226, 220, 0.9);
}

.header__row {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 1.25rem;
  align-items: center;
}

.logo img {
  height: 52px;
  width: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 1.35rem;
  font-weight: 500;
  color: var(--muted);
}

.nav a:hover {
  color: var(--orange);
}

.header__contacts {
  display: grid;
  justify-items: end;
  line-height: 1.2;
}

.header__phone {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.header__phone--secondary {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 600;
}

.header__hint {
  font-size: 0.72rem;
  color: var(--muted);
}

.header__cta {
  display: none;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0;
  place-items: center;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.mobile-nav {
  display: none;
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.25rem 1.25rem;
  flex-direction: column;
  gap: 0.85rem;
  font-weight: 600;
}

.mobile-nav:not([hidden]) {
  display: flex;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(180deg, #ff7a1a, var(--orange));
  color: #fff;
  box-shadow: 0 10px 24px rgba(243, 106, 0, 0.28);
}

.btn--primary:hover {
  background: linear-gradient(180deg, #ff861f, var(--orange-deep));
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* Photo placeholders */
.photo-slot {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(243, 106, 0, 0.08), rgba(18, 18, 18, 0.04)),
    repeating-linear-gradient(
      -45deg,
      rgba(18, 18, 18, 0.04) 0 10px,
      rgba(18, 18, 18, 0.02) 10px 20px
    );
  border: 1px dashed rgba(243, 106, 0, 0.45);
  color: var(--muted);
}

.photo-slot__label {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.2rem;
  text-align: center;
  padding: 1rem;
}

.photo-slot__label strong {
  color: var(--orange-deep);
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.photo-slot__label span {
  font-size: 0.92rem;
  color: var(--ink);
  font-weight: 600;
}

.photo-slot__size {
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  color: var(--muted) !important;
}

.photo-slot--about {
  min-height: 420px;
  height: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about__photo {
  height: 100%;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #ece8e2;
}

.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(560px, 78vh, 760px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.1s ease, transform 6s ease;
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 8, 6, 0.88) 0%, rgba(10, 8, 6, 0.55) 48%, rgba(10, 8, 6, 0.28) 100%),
    linear-gradient(0deg, rgba(10, 8, 6, 0.7), transparent 45%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3.5rem;
  max-width: 820px;
  margin-left: max(calc((100% - min(1180px, calc(100% - 2.5rem))) / 2), 1.25rem);
  width: min(820px, calc(100% - 2.5rem));
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}

.hero .eyebrow {
  color: #ffb57a;
}

.hero__title {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 0.95;
}

.hero__subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 500;
  line-height: 1.25;
  max-width: 16ch;
}

.hero__lead {
  margin: 1.25rem 0 0;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.hero__meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 1.75rem 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.hero__meta a:hover {
  color: #fff;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section__head {
  max-width: 720px;
  margin-bottom: 2.25rem;
}

.section__head h2,
.about__copy h2,
.lead__intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section__lead,
.about__copy p,
.lead__intro p {
  color: var(--muted);
  font-size: 1.02rem;
}

.section__lead {
  margin: 0.85rem 0 0;
}

/* Categories */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.category-tile {
  display: grid;
  gap: 0.75rem;
  padding: 0.7rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(230, 226, 220, 0.95);
  box-shadow: 0 8px 24px rgba(18, 18, 18, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(243, 106, 0, 0.4);
  box-shadow: var(--shadow);
}

.category-tile__media {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: #ece8e2;
}

.category-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.category-tile:hover .category-tile__media img {
  transform: scale(1.05);
}

.category-tile h3 {
  margin: 0;
  padding: 0 0.25rem 0.35rem;
  font-size: 0.95rem;
  line-height: 1.3;
  font-weight: 700;
}

/* About */
.about {
  background:
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.65) 20%, rgba(255, 255, 255, 0.9));
}

.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: stretch;
}

.about__copy p {
  margin: 1rem 0 0;
}

.about__points {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.about__points li {
  position: relative;
  padding-left: 1.4rem;
  font-weight: 600;
}

.about__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--orange);
}

/* FAQ */
.faq__layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.faq__list {
  display: grid;
  gap: 0.75rem;
}

.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.35rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq__item[open] {
  border-color: rgba(243, 106, 0, 0.35);
  box-shadow: 0 10px 28px rgba(18, 18, 18, 0.06);
}

.faq__item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  padding: 0.9rem 0;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  float: right;
  color: var(--orange);
  font-weight: 700;
}

.faq__item[open] summary::after {
  content: "–";
}

.faq__item p {
  margin: 0 0 1rem;
  color: var(--muted);
}

/* Lead form */
.lead {
  padding-bottom: 5.5rem;
}

.lead__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem;
  border-radius: 28px;
  background:
    linear-gradient(145deg, #1c120c, #2b1a10 55%, #3d2312);
  color: #fff;
  box-shadow: var(--shadow);
}

.lead__intro .eyebrow {
  color: #ffb57a;
}

.lead__intro p {
  color: rgba(255, 255, 255, 0.75);
}

.lead__contacts {
  display: grid;
  gap: 0.4rem;
  margin-top: 1.5rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.lead__contacts a:hover {
  color: #ffb57a;
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
  padding: 1.25rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0.8rem 0.9rem;
  outline: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(243, 106, 0, 0.8);
  box-shadow: 0 0 0 3px rgba(243, 106, 0, 0.2);
}

.field--full {
  grid-column: 1 / -1;
}

.form-note {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

.form-status {
  margin: 0;
  font-weight: 600;
}

.form-status.is-ok {
  color: #9dffb0;
}

.form-status.is-error {
  color: #ffb4a2;
}

/* Footer */
.footer {
  padding: 3rem 0 2rem;
  background: #111;
  color: rgba(255, 255, 255, 0.78);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer h3 {
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: 0.95rem;
}

.footer a,
.footer p {
  display: block;
  margin: 0 0 0.45rem;
}

.footer a:hover {
  color: #ffb57a;
}

.footer__brand p {
  margin-top: 0.85rem;
  max-width: 34ch;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  font-size: 0.88rem;
}

.footer__restore {
  color: #ffb57a;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.category-tile.reveal:nth-child(4n + 2) { transition-delay: 0.05s; }
.category-tile.reveal:nth-child(4n + 3) { transition-delay: 0.1s; }
.category-tile.reveal:nth-child(4n + 4) { transition-delay: 0.15s; }

@media (max-width: 1100px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .header__contacts {
    display: none;
  }

  .header__cta {
    display: inline-flex;
  }

  .header__row {
    grid-template-columns: auto 1fr auto auto;
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .burger {
    display: grid;
  }

  .header__row {
    grid-template-columns: auto 1fr auto;
  }

  .header__cta {
    display: none;
  }

  .about__grid,
  .faq__layout,
  .lead__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__content {
    margin-left: 1.25rem;
  }

  .photo-slot--about {
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1180px, calc(100% - 1.5rem));
  }

  .notice__inner {
    flex-direction: column;
    gap: 0.5rem;
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 92vh;
  }

  .brand-mark {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .notice__badge {
    animation: none;
  }
}
