/* -------------------- ПЕРЕМЕННЫЕ / ЦВЕТА -------------------- */
:root {
  --bg: #f6f2ec;            /* фон страницы */
  --surface: #ffffff;       /* карточки, шапка */
  --surface-2: #efe8de;     /* второстепенный фон */
  --ink: #241f19;           /* основной текст */
  --ink-soft: #6f6558;      /* приглушённый текст */
  --accent: #c0722f;        /* фирменный оранжево-терракотовый */
  --accent-dark: #a45c22;
  --accent-2: #2f6b4f;      /* зелёный акцент */
  --wa: #25d366;            /* WhatsApp */
  --tg: #2aabee;            /* Telegram */
  --ma: #4285F4;            /* MAX */
  --border: #e2d8ca;
  --dark: #201b15;          /* тёмные секции / подвал */
  --dark-soft: #2c261e;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(40, 30, 15, 0.08);
  --shadow-lg: 0 20px 50px rgba(40, 30, 15, 0.15);
  --maxw: 1200px;
}

/* -------------------- СБРОС / БАЗА -------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Oswald', 'Manrope', sans-serif;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.3px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.icon { width: 20px; height: 20px; fill: currentColor; }

/* -------------------- КНОПКИ -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 15px 28px; font-size: 1.05rem; }

.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(192, 114, 47, 0.3); }
.btn--accent:hover { background: var(--accent-dark); }

.btn--outline { background: transparent; border-color: currentColor; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.btn--ghost { background: var(--surface-2); color: var(--ink); }
.btn--ghost:hover { background: var(--accent); color: #fff; }

.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #1fbd5a; }

/* -------------------- ЛОГОТИП -------------------- */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  background: var(--accent); color: #fff;
  border-radius: 10px;
  font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 1.4rem;
}
.logo__text { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 1.4rem; letter-spacing: 0.5px; }
.logo__accent { color: var(--accent); }

/* ==================================================================
   ШАПКА
   ================================================================== */
.header { position: sticky; top: 0; z-index: 50; background: var(--surface); box-shadow: var(--shadow); }

.header__top-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
  flex-wrap: wrap;
}

.header__address {
  display: flex; align-items: center; gap: 8px;
  color: var(--ink-soft); font-size: 0.9rem;
}
.header__address .icon { fill: var(--accent); flex: none; }

.header__messengers { display: flex; gap: 8px; }
.messenger {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--surface-2); color: var(--ink);
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.messenger:hover { transform: translateY(-2px); color: #fff; }
.messenger--wa:hover { background: var(--wa); }
.messenger--tg:hover { background: var(--tg); }
.messenger--max:hover { background: var(--ma); }

.header__phone { margin-left: auto; display: flex; flex-direction: column; line-height: 1.2; }
.header__phone-num { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 1.25rem; }
.header__phone-note { font-size: 0.75rem; color: var(--ink-soft); }

/* Навигация */
.nav { background: var(--dark); }
.nav__inner { display: flex; align-items: center; }
.nav__list { display: flex; flex-wrap: wrap; }
.nav__list a {
  display: block; padding: 15px 18px;
  color: #e9e2d6; font-weight: 600; font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav__list a:hover { background: var(--accent); color: #fff; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 14px 0; cursor: pointer; }
.nav__toggle span { width: 26px; height: 3px; background: #e9e2d6; border-radius: 2px; }

/* ==================================================================
   HERO
   ================================================================== */
.hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(28,22,15,0.9) 0%, rgba(28,22,15,0.55) 60%, rgba(28,22,15,0.35) 100%),
    url('images/hero-main.png') center/cover no-repeat;
}
.hero__inner { padding: 90px 20px 100px; }
.hero__content { max-width: 720px; }
.hero__eyebrow {
  display: inline-block;
  background: rgba(192, 114, 47, 0.22);
  border: 1px solid rgba(192, 114, 47, 0.6);
  color: #f4d3b3;
  padding: 6px 14px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 20px;
}
.hero__title { font-size: clamp(2rem, 5vw, 3.4rem); text-transform: uppercase; margin-bottom: 18px; text-wrap: balance; }
.hero__accent { color: var(--accent); }
.hero__subtitle { font-size: clamp(1rem, 2vw, 1.2rem); color: #ede6da; max-width: 620px; margin-bottom: 30px; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__actions .btn--outline { color: #fff; }
.hero__actions .btn--outline:hover { background: #fff; color: var(--ink); border-color: #fff; }

.hero__facts { display: flex; flex-wrap: wrap; gap: 32px; }
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font-family: 'Oswald', sans-serif; font-size: 2rem; color: var(--accent); }
.hero__facts span { font-size: 0.9rem; color: #d7cfc1; }

/* ==================================================================
   ОБЩЕЕ ДЛЯ СЕКЦИЙ
   ================================================================== */
.section { padding: 72px 0; }
.section__head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section__eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.82rem; margin-bottom: 10px; }
.section__title { font-size: clamp(1.6rem, 3.5vw, 2.5rem); text-transform: uppercase; margin-bottom: 14px; }
.section__lead { color: var(--ink-soft); font-size: 1.05rem; text-wrap: pretty; }

/* -------------------- ПРИМЕРЫ РАБОТ -------------------- */
.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.work-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.work-card:hover .work-card__media img { transform: scale(1.06); }
.work-card__tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent); color: #fff;
  font-size: 0.78rem; font-weight: 700;
  padding: 5px 12px; border-radius: 999px;
}
.work-card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.work-card__title { font-size: 1.25rem; }
.work-card__text { color: var(--ink-soft); font-size: 0.95rem; flex: 1; }
.work-card__btn { margin-top: 6px; align-self: flex-start; }

/* -------------------- УСЛУГИ -------------------- */
.services { background: var(--surface-2); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow);
}
.service__num { font-family: 'Oswald', sans-serif; font-size: 1.6rem; color: var(--accent); font-weight: 700; }
.service h3 { margin: 10px 0 8px; font-size: 1.2rem; }
.service p { color: var(--ink-soft); font-size: 0.95rem; }

/* -------------------- О КОМПАНИИ -------------------- */
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.about__content .section__title { text-align: left; }
.about__content .section__eyebrow { text-align: left; }
.about__content p { color: var(--ink-soft); margin-bottom: 16px; }

/* -------------------- ПРЕИМУЩЕСТВА -------------------- */
.advantages { background: var(--dark); color: #f1eadd; }
.advantages .section__title { color: #fff; }
.advantages__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.advantage {
  background: var(--dark-soft);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 28px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.advantage:hover { transform: translateY(-4px); border-color: rgba(192,114,47,0.6); }
.advantage__icon { width: 42px; height: 42px; fill: var(--accent); margin-bottom: 14px; }
.advantage h3 { color: #fff; font-size: 1.2rem; margin-bottom: 8px; }
.advantage p { color: #c7bdac; font-size: 0.95rem; }

/* -------------------- КОНТАКТЫ -------------------- */
.contacts__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: stretch; }
.contacts__info .section__title, .contacts__info .section__eyebrow { text-align: left; }
.contacts__lead { color: var(--ink-soft); margin-bottom: 24px; }
.contacts__list { display: grid; gap: 16px; margin-bottom: 26px; }
.contacts__list li { display: flex; flex-direction: column; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.contacts__label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-soft); margin-bottom: 4px; }
.contacts__value { font-family: 'Oswald', sans-serif; font-size: 1.2rem; }
a.contacts__value:hover { color: var(--accent); }
.contacts__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.contacts__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; border: 1px solid var(--border); }
.contacts__map iframe { display: block; width: 100%; height: 100%; min-height: 380px; }

/* ==================================================================
   ПОДВАЛ
   ================================================================== */
.footer { background: #181410; color: #cdc3b3; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  padding: 56px 20px 40px;
}
.logo--footer .logo__text { color: #fff; }
.footer__desc { margin: 16px 0 18px; font-size: 0.92rem; color: #a99e8d; }
.footer__social { display: flex; gap: 10px; }
.social {
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 10px; background: rgba(255,255,255,0.08); color: #e6ddce;
  transition: background 0.2s ease, transform 0.15s ease;
}
.social:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.footer__title { color: #fff; font-size: 1.05rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer__links li, .footer__contacts li { margin-bottom: 10px; font-size: 0.92rem; }
.footer__links a:hover, .footer__contacts a:hover { color: var(--accent); }
.footer__schedule li { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 0.92rem; border-bottom: 1px dashed rgba(255,255,255,0.1); padding-bottom: 6px; }

.footer__bottom { background: #100d0a; }
.footer__bottom-inner { padding: 20px; }
.footer__bottom p { font-size: 0.82rem; color: #8f8577; }
.footer__legal { margin-top: 6px; color: #746b5e; }

/* ==================================================================
   АДАПТИВ
   ================================================================== */
@media (max-width: 992px) {
  .works__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .advantages__grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner, .contacts__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header__top-inner { gap: 12px; }
  .header__address { order: 3; width: 100%; }
  .header__phone { margin-left: 0; }
  .header__cta { display: none; }

  .nav__inner { flex-wrap: wrap; }
  .nav__toggle { display: flex; margin-left: auto; }
  .nav__list {
    flex-direction: column; width: 100%;
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav__list--open { max-height: 400px; }
  .nav__list a { border-top: 1px solid rgba(255,255,255,0.08); }

  .hero__inner { padding: 60px 20px 70px; }
  .hero__facts { gap: 22px; }
  .section { padding: 52px 0; }
}

@media (max-width: 560px) {
  .works__grid, .services__grid, .advantages__grid, .footer__inner { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .header__phone-note { display: none; }
}
/* Контейнер для карты */
.contacts__map {
  position: relative;
  width: 100%;
  height: 500px; /* Высота карты на экране */
  border-radius: 12px;
  overflow: hidden; /* Обрезает всё, что вылезает за края */
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Сам iframe */
.contacts__map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% + 120px); /* Делаем iframe ВЫШЕ контейнера на 120px */
  border: none;
}