:root {
  --bg: #f5f1ea;
  --text: #1f2a2e;
  --muted: #5f6b67;
  --line: #2f5d50;
  --accent: #d17b49;
  --card: #fffdf9;
  --shadow: 0 12px 30px rgba(53, 44, 35, 0.12);
  --soft-blue: #efe5d6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(209, 123, 73, 0.08), transparent 30%),
    linear-gradient(180deg, #f8f3ec 0%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.5;
}

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

img {
  max-width: 100%;
}

.container {
  width: 1100px;
  max-width: 95%;
  margin: auto;
}

.site-header {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  background: var(--soft-blue);
  position: sticky;
  top: 0;
  z-index: 50;
  overflow: hidden;
}

.header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--line);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav a {
  font-size: 14px;
  color: var(--line);
  padding: 6px 0;
}

.header-hours {
  text-align: right;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.hero {
  position: relative;
  padding: 80px 0 100px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(248, 243, 236, 0.88), rgba(248, 243, 236, 0.58)),
    url("../../images/hero-favorit.webp") center/cover no-repeat;
  z-index: -1;
}

h1 {
  font-size: 48px;
  margin-bottom: 15px;
  color: #23373a;
}

h2 {
  color: #23373a;
  margin: 0 0 12px;
}

p {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 30px;
  margin-top: 20px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.btn-large {
  min-width: 260px;
  padding: 17px 34px;
  font-size: 16px;
}

.btn:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}

.hero-actions,
.price-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.section {
  padding: 70px 0;
  border-top: 1px solid rgba(23, 54, 93, 0.15);
  background: #fffdf9;
}

.section-soft {
  background: var(--soft-blue);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: var(--soft-blue);
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.adv-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.adv-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.wide-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  margin: 40px 0;
  border-radius: 20px;
  border: 1px solid var(--line);
  display: block;
}

.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.image-card {
  position: relative;
  min-height: 240px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
}

.image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(32, 47, 45, 0.82), rgba(32, 47, 45, 0.18));
}

.image-card-content {
  position: relative;
  z-index: 1;
  padding: 18px;
  color: #fff;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.35;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.category-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.category-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.category-card-content {
  padding: 16px;
}

.category-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #23373a;
}

.category-card p {
  margin: 0;
  font-size: 14px;
}

.price-banner {
  position: relative;
  min-height: 330px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: url("../../images/price-bg.webp") center/cover no-repeat;
}

.price-banner::before {
  content: "";
  position: absolute;
  inset: -10px;
  background: url("../../images/price-bg.webp") center/cover no-repeat;
  filter: blur(8px);
  transform: scale(1.08);
}

.price-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(37, 49, 46, 0.58);
}

.price-banner-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 34px;
  max-width: 640px;
  text-align: center;
}

.price-banner-content h3 {
  margin: 0 0 12px;
  font-size: 30px;
}

.price-value {
  font-size: 42px;
  font-weight: 700;
  margin: 10px 0 14px;
}

.price-banner-content p {
  color: #eef6ff;
  max-width: 560px;
}

.faq-section {
  background:
    linear-gradient(180deg, rgba(239, 229, 214, 0.92), rgba(245, 241, 234, 0.92));
}

.faq-sub {
  color: var(--muted);
  margin-bottom: 24px;
}

.faq-item {
  border-bottom: 1px solid rgba(23, 54, 93, 0.2);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 0;
  font-size: 18px;
  font-weight: 700;
  color: #23373a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question span:last-child {
  font-size: 24px;
  color: var(--accent);
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-answer {
  display: none;
  padding: 0 0 18px;
  color: var(--muted);
  max-width: 900px;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question span:last-child {
  transform: rotate(45deg);
}

.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  margin-top: 28px;
  align-items: stretch;
}

.contact-box,
.form-box {
  background: #fffdf9;
  padding: 35px;
  border-radius: 16px;
  border: 2px solid #d7b08c;
  box-shadow: var(--shadow);
}

.contact-box {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-top,
.contact-actions,
.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.contact-top,
.contact-actions {
  width: 100%;
  align-items: center;
  justify-content: center;
}

.contact-actions .btn,
.phone-under {
  margin-top: 0;
}

.contact-meta {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-meta li {
  margin: 0;
  color: var(--muted);
}

.contact-meta strong {
  color: #23373a;
  display: block;
  margin-bottom: 4px;
}

.contact-link {
  color: var(--line);
  font-weight: 600;
  word-break: break-word;
}

.messenger-choice {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(23, 54, 93, 0.16);
  border-radius: 14px;
  background: #f4ecdf;
}

.messenger-choice-title {
  margin: 0 0 12px;
  color: #23373a;
  font-weight: 700;
}

.messenger-options {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.checkbox-option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #17365d;
  font-weight: 600;
}

.checkbox-option input {
  width: 18px;
  height: 18px;
}

.form-box p {
  margin-top: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 14px;
  font-weight: 700;
  color: #0f2745;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(23, 54, 93, 0.25);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(58, 166, 255, 0.12);
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-submit {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

.form-submit .btn {
  margin-top: 0;
}

.form-hint {
  margin-top: 16px;
  font-size: 13px;
  color: #6a7f99;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 20px;
  text-align: center;
  font-size: 13px;
  color: #5f7693;
  margin-top: 40px;
  background: var(--soft-blue);
}

.footer-address {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #6f84a0;
}

@media (max-width: 1100px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .header-wrap,
  .header-left {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-hours {
    text-align: left;
    white-space: normal;
  }

  .grid,
  .cards-4,
  .contact,
  .category-grid,
  .contact-layout,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 34px;
    line-height: 1.15;
  }

  .hero {
    padding: 56px 0 72px;
  }

  .contact-box,
  .form-box,
  .price-banner-content {
    padding: 24px;
  }

  .wide-img {
    height: 240px;
  }
}
