/* ============================================================
   SeaBox — статическая версия сайта
   Палитра и шрифты соответствуют основной версии
   ============================================================ */

:root {
  --background: #faf6ee;
  --foreground: #34291d;
  --card: #fffdf7;
  --primary: #b4532a;
  --primary-hover: #9a4522;
  --primary-foreground: #fdf7ee;
  --secondary: #efe4d0;
  --secondary-hover: #e7d8bd;
  --secondary-foreground: #503e28;
  --muted: #f2eadb;
  --muted-foreground: #7c6a52;
  --accent: #f6e4c4;
  --border: #e4d5bc;
  --input: #e4d5bc;
  --ring: #c06a3f;
  --destructive: #b3261e;
  --brand-blue: #1d4e89;
  --brand-red: #c8102e;
  --radius: 0.55rem;
  --font-body: "PT Serif", Georgia, serif;
  --font-display: "Playfair Display", Georgia, serif;
  --shadow-sm: 0 1px 2px rgba(80, 60, 30, 0.06);
  --shadow-md: 0 6px 20px rgba(80, 60, 30, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; }

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

a { color: inherit; }

::selection { background: #ecd9b8; color: #34291d; }

.container { max-width: 1152px; margin: 0 auto; padding: 0 1rem; }

.icon { flex-shrink: 0; }

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0.625rem 1.25rem;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-lg { padding: 0.8rem 1.5rem; font-size: 16px; }
.btn-sm { padding: 0.4rem 0.9rem; font-size: 14px; }

.btn-primary { background: var(--primary); color: var(--primary-foreground); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-hover); }

.btn-outline { border-color: var(--border); background: transparent; color: var(--foreground); }
.btn-outline:hover { background: var(--accent); }

.btn-secondary { background: var(--secondary); color: var(--secondary-foreground); }
.btn-secondary:hover { background: var(--secondary-hover); }

.btn-ghost { background: transparent; color: var(--muted-foreground); padding: 0.25rem 0.5rem; height: auto; }
.btn-ghost:hover { background: var(--accent); color: var(--foreground); }

.btn:disabled { opacity: 0.6; cursor: default; }

/* ---------- Шапка ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s;
}

.site-header.scrolled { box-shadow: 0 2px 16px rgba(80, 60, 30, 0.1); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 64px;
}

.logo { display: inline-flex; align-items: center; gap: 0.625rem; text-decoration: none; }
.logo-text {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.logo-text .sea { color: var(--brand-blue); }
.logo-text .box { color: var(--brand-red); }
.site-footer .logo-text .sea { color: #6fa3dc; }

.main-nav { display: none; align-items: center; gap: 1.5rem; }
.main-nav a {
  font-size: 15px;
  font-weight: 700;
  color: rgba(52, 41, 29, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--primary); }

.header-contacts { display: none; align-items: center; gap: 1rem; }
.header-phone { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; text-decoration: none; }
.header-phone .cap { font-size: 12px; color: var(--muted-foreground); }
.header-phone .num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-blue);
  transition: color 0.2s;
}
.header-phone:hover .num { color: var(--primary); }

.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
}

/* Мобильное меню */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--background);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 16px 32px rgba(80, 60, 30, 0.14);
}
.mobile-menu.open { display: block; }
.mobile-menu nav { display: grid; gap: 0.125rem; padding: 0.5rem 1rem; }
.mobile-menu nav a {
  padding: 0.625rem 0.75rem;
  border-radius: 0.375rem;
  font-weight: 700;
  color: rgba(52, 41, 29, 0.85);
  text-decoration: none;
}
.mobile-menu nav a:hover { background: var(--accent); }
.menu-extra { border-top: 1px solid var(--border); margin-top: 0.5rem; padding: 0.75rem 1rem 1rem; display: grid; gap: 0.75rem; }
.mobile-phone { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--brand-blue); text-decoration: none; }

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

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, #f6ebd5, #faf6ee 55%, var(--background));
}

.hero-circle { position: absolute; border-radius: 50%; filter: blur(48px); pointer-events: none; }
.hero-circle.c1 { right: -8rem; top: -8rem; width: 24rem; height: 24rem; background: rgba(240, 217, 180, 0.5); }
.hero-circle.c2 { left: -10rem; top: 45%; width: 20rem; height: 20rem; background: rgba(243, 221, 192, 0.4); }

.hero-grid {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 999px;
  padding: 0.375rem 1rem;
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary-foreground);
  box-shadow: var(--shadow-sm);
}
.hero-badge .icon { color: var(--primary); }

.hero h1 {
  margin-top: 1.25rem;
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.12;
}
.hero h1 .accent { color: var(--primary); }

.hero-lead {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: 17px;
  color: var(--muted-foreground);
}

.hero-actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero-checks {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.5rem 1.5rem;
  list-style: none;
}
.hero-checks li { display: flex; align-items: center; gap: 0.5rem; font-size: 14px; font-weight: 700; color: rgba(52, 41, 29, 0.85); }
.hero-checks .icon { color: var(--primary); }

.hero-photo { position: relative; }
.hero-photo-frame {
  overflow: hidden;
  border-radius: 0.75rem;
  border: 4px solid var(--card);
  box-shadow: 0 18px 50px rgba(90, 60, 25, 0.18);
}
.hero-photo-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.float-card {
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--card);
  padding: 0.75rem 1rem;
  box-shadow: 0 10px 30px rgba(80, 60, 30, 0.18);
}
.float-card .t { font-family: var(--font-display); font-size: 14px; font-weight: 700; }
.float-card .s { font-size: 12px; color: var(--muted-foreground); margin-top: 0.125rem; }
.float-card.storage { left: 1rem; bottom: -1.25rem; max-width: 240px; }
.float-card.buy { top: -1rem; right: 1rem; background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; }
.float-card.buy .cap { font-size: 12px; opacity: 0.8; }

.facts { position: relative; border-top: 1px solid #e8d9bf; border-bottom: 1px solid #e8d9bf; background: rgba(244, 234, 214, 0.6); }
.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.fact-value { font-family: var(--font-display); font-size: clamp(22px, 3vw, 28px); font-weight: 700; color: var(--primary); }
.fact-label { margin-top: 0.125rem; font-size: 14px; color: var(--muted-foreground); }

/* ---------- Секции ---------- */

.section { padding: 4rem 0; scroll-margin-top: 5.5rem; }
.section.tinted { border-top: 1px solid #e8d9bf; border-bottom: 1px solid #e8d9bf; background: rgba(244, 234, 214, 0.4); }

.section-head { max-width: 42rem; margin: 0 auto 2.75rem; text-align: center; }
.section-head .eyebrow {
  margin-bottom: 0.5rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
}
.section-head h2 { font-size: clamp(28px, 4vw, 36px); line-height: 1.2; }
.section-head .sub { margin-top: 0.75rem; color: var(--muted-foreground); }

/* ---------- Каталог ---------- */

.grid-catalog { display: grid; gap: 1.25rem; }

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s;
}
.card:hover { box-shadow: var(--shadow-md); }

.card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--muted); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.card:hover .card-img img { transform: scale(1.05); }

.card-badge {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  background: var(--brand-red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.card-body { display: flex; flex-direction: column; flex: 1; padding: 1rem; }
.card-body h3 { font-size: 18px; line-height: 1.35; }
.card-tagline { margin-top: 0.25rem; font-size: 14px; color: var(--muted-foreground); }
.card-desc {
  margin-top: 0.5rem;
  font-size: 14px;
  color: rgba(52, 41, 29, 0.75);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-specs {
  margin: 0.75rem 0 1rem;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  display: grid;
  gap: 0.375rem;
  font-size: 14px;
}
.spec-row { display: flex; justify-content: space-between; gap: 0.75rem; }
.spec-row dt { color: var(--muted-foreground); flex-shrink: 0; }
.spec-row dd { font-weight: 700; text-align: right; }

.card-foot {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.card-price { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--primary); }

.catalog-note { margin-top: 2rem; text-align: center; font-size: 14px; color: var(--muted-foreground); }
.catalog-note a { color: var(--primary); font-weight: 700; text-decoration: none; }
.catalog-note a:hover { text-decoration: underline; }

/* ---------- Услуги ---------- */

.grid-services { display: grid; gap: 1.25rem; }

.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s;
}
.service-card:hover { box-shadow: var(--shadow-md); }
.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.service-card h3 { margin-top: 1rem; font-size: 20px; line-height: 1.35; }
.service-card p { margin-top: 0.5rem; font-size: 15px; line-height: 1.65; color: var(--muted-foreground); }

.cta-banner {
  margin-top: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: linear-gradient(to right, #f6e8cf, #f9f1e2);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.cta-banner h3 { font-size: 20px; }
.cta-banner p { margin-top: 0.25rem; font-size: 14px; color: var(--muted-foreground); }

/* ---------- Галерея ---------- */

.grid-gallery { display: grid; gap: 1rem; }

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
}
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
}

/* ---------- Порядок работы ---------- */

.steps { display: grid; gap: 2rem; list-style: none; }
.step { position: relative; }
.step-num {
  width: 3rem;
  height: 3rem;
  border: 2px solid var(--primary);
  border-radius: 50%;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}
.step h3 { margin-top: 1rem; font-size: 20px; }
.step p { margin-top: 0.5rem; font-size: 15px; line-height: 1.65; color: var(--muted-foreground); }

/* ---------- О компании ---------- */

.about-grid { display: grid; gap: 2.5rem; align-items: start; }
.about-text p { line-height: 1.7; color: rgba(52, 41, 29, 0.85); }
.about-text p + p { margin-top: 1rem; }
.about-pills { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 999px;
  padding: 0.375rem 0.875rem;
  font-size: 14px;
  font-weight: 700;
}

.adv-grid { display: grid; gap: 0.75rem; }
.adv-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background: var(--card);
  padding: 0.875rem;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  box-shadow: var(--shadow-sm);
}
.adv-item .icon { color: var(--primary); margin-top: 0.125rem; }

/* ---------- Контакты ---------- */

.contacts-grid { display: grid; gap: 2rem; }
.contact-cards { display: grid; gap: 1rem; }

.contact-card {
  display: flex;
  gap: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.contact-card > .icon { color: var(--primary); margin-top: 0.125rem; }
.contact-card h3 { font-size: 18px; }
.contact-card .txt { margin-top: 0.25rem; line-height: 1.6; color: var(--muted-foreground); }

.coords-row { margin-top: 0.5rem; display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.coords-row code { background: var(--muted); padding: 0.25rem 0.5rem; border-radius: 0.25rem; font-size: 12px; font-family: monospace; }

.contact-phone {
  display: inline-block;
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-blue);
  text-decoration: none;
}
.contact-phone:hover { color: var(--primary); }
.contact-mail { display: inline-block; margin-top: 0.25rem; font-weight: 700; color: var(--brand-blue); text-decoration: none; }
.contact-mail:hover { color: var(--primary); }
.hours { margin-top: 0.25rem; display: flex; align-items: center; gap: 0.375rem; font-size: 14px; color: var(--muted-foreground); }

.route-buttons { margin-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }

.map-frame { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Подвал ---------- */

.site-footer { background: #2b2114; color: #e9dcc6; }
.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.footer-about p { margin-top: 1rem; max-width: 20rem; font-size: 14px; line-height: 1.6; color: #c9b795; }
.site-footer h3 { font-size: 18px; color: #fff; }
.footer-nav ul, .footer-contacts ul { margin-top: 0.75rem; display: grid; gap: 0.5rem; font-size: 14px; list-style: none; }
.footer-nav a { color: #c9b795; text-decoration: none; transition: color 0.2s; }
.footer-nav a:hover { color: #fff; }
.footer-contacts li { display: flex; align-items: flex-start; gap: 0.5rem; color: #c9b795; }
.footer-contacts .icon { margin-top: 0.125rem; }
.footer-contacts a { text-decoration: none; }
.footer-contacts a.phone { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; color: #fff; }
.footer-contacts a.phone:hover { color: #f3d9a9; }
.footer-contacts a.mail:hover { color: #fff; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom-inner {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
  color: #b3a382;
  text-align: center;
}

/* ---------- Модальное окно заявки ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(30, 22, 12, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  overflow-y: auto;
}
.modal-overlay.open { display: flex; }

.modal {
  position: relative;
  width: 100%;
  max-width: 28rem;
  margin-top: 6vh;
  margin-bottom: 6vh;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(40, 25, 10, 0.35);
  padding: 1.5rem;
  animation: modal-in 0.25s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0.375rem;
  background: transparent;
  color: var(--muted-foreground);
  cursor: pointer;
}
.modal-close:hover { background: var(--accent); color: var(--foreground); }

.modal h2 { font-size: 24px; padding-right: 2rem; }
.modal-sub { margin-top: 0.25rem; font-size: 14px; color: var(--muted-foreground); }

.form-group { margin-top: 1rem; display: grid; gap: 0.375rem; }
.form-group label { font-size: 14px; font-weight: 700; }
.req { color: var(--destructive); }

input[type="text"],
input[type="tel"],
select,
textarea {
  width: 100%;
  border: 1px solid var(--input);
  background: #fffdf7;
  border-radius: 0.5rem;
  padding: 0.625rem 0.75rem;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--foreground);
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 3px rgba(192, 106, 63, 0.18);
}
textarea { resize: vertical; min-height: 84px; }

.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 2.25rem; }
.select-wrap .arrow {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  pointer-events: none;
  color: var(--muted-foreground);
}

.form-error { display: none; margin-top: 0.75rem; font-size: 14px; color: var(--destructive); }
.form-error.show { display: block; }

.btn-submit { width: 100%; margin-top: 1.25rem; }
.consent { margin-top: 0.75rem; text-align: center; font-size: 12px; color: var(--muted-foreground); }

.honey { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

.form-success { display: none; text-align: center; padding: 1.5rem 0 0.75rem; }
.form-success.show { display: block; }
.success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #e8f3e4;
  color: #3d7a33;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-success h3 { font-size: 20px; }
.form-success p { margin-top: 0.5rem; font-size: 14px; color: var(--muted-foreground); }

/* ---------- Лайтбокс ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem;
  background: rgba(20, 14, 8, 0.88);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 76vh; border-radius: 0.5rem; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox-caption {
  position: absolute;
  bottom: 1.1rem;
  left: 1.25rem;
  right: 1.25rem;
  text-align: center;
  color: #e9dcc6;
  font-size: 14px;
}

/* ---------- Уведомление ---------- */

.toast {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 200;
  display: none;
  max-width: 320px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  box-shadow: 0 12px 32px rgba(60, 40, 15, 0.25);
  padding: 0.875rem 1.125rem;
  font-size: 14px;
  font-weight: 700;
}
.toast.show { display: block; animation: toast-in 0.25s ease; }
.toast.success { border-left: 4px solid #3d7a33; }
.toast.error { border-left: 4px solid var(--destructive); }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Анимация появления ---------- */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Адаптив ---------- */

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
  .hero-grid { padding-top: 4rem; padding-bottom: 4rem; }
  .hero-checks { grid-template-columns: repeat(2, 1fr); }
  .grid-catalog { grid-template-columns: repeat(2, 1fr); }
  .grid-gallery { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 768px) {
  .section { padding: 5rem 0; }
  .header-contacts { display: flex; }
  .burger { display: none; }
  .facts-grid { grid-template-columns: repeat(4, 1fr); }
  .grid-services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .step.has-line::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 1.5rem;
    width: 100%;
    border-top: 2px dashed #e0cba6;
  }
  .cta-banner { flex-direction: row; justify-content: space-between; text-align: left; }
  .footer-grid { grid-template-columns: 1.3fr 0.8fr 1.2fr; }
}

@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; padding-top: 5rem; padding-bottom: 5rem; }
  .grid-catalog { grid-template-columns: repeat(4, 1fr); }
  .grid-services { grid-template-columns: repeat(3, 1fr); }
  .grid-gallery { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1.1fr 0.9fr; }
  .contacts-grid { grid-template-columns: 0.9fr 1.1fr; }
  .map-frame iframe { height: 560px; }
}
