:root {
  --bg-main: #ffffff;
  --bg-alt: #faf6f1;
  --text-main: #222222;
  --text-muted: #555555;
  --accent: #c9864a;
  --accent-dark: #a66a32;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 14px 35px rgba(0,0,0,0.18);
}

/* СБРОС */

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

html, body {
  height: 100%;
}

body {
  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

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

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

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

section {
  padding: 64px 0;
}

.ltr-number {
  direction: ltr;
  unicode-bidi: bidi-override;
  display: inline-block;
}

/* HERO */

header.hero {
  position: relative;
  height: 85vh;
  min-height: 520px;
  overflow: hidden;
  color: #fff;
}

.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(82%) contrast(108%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.45),
    rgba(0,0,0,0.15)
  );
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 20px 48px;
}

.hero-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  gap: 12px;
}

.hero-phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.4);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.hero-content {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  text-shadow: 0 3px 8px rgba(0,0,0,0.7);
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.45;
  font-weight: 300;
  margin-bottom: 24px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* КНОПКИ */

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #fff;
}

.btn-primary {
  background: #ffffff;
  color: #222;
  border-color: #fff;
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
}

.btn-primary:hover {
  background: #f3f3f3;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.85);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
}

/* НАВИГАЦИЯ */

.main-nav {
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 10;
}

.main-nav-inner {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 10px 0;
  font-size: 14px;
}

.nav-link {
  cursor: pointer;
  color: #555;
}

.nav-link:hover {
  color: var(--accent);
}

/* ЗАГОЛОВКИ СЕКЦИЙ */

.section-title {
  font-size: 26px;
  margin-bottom: 10px;
  text-align: center;
}

.section-subtitle {
  font-size: 15px;
  text-align: center;
  max-width: 650px;
  margin: 0 auto 24px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ABOUT */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.about-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px 24px 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid #f1e2d3;
}

.about-text-main {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.about-list li {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}

.about-list-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 7px;
  flex-shrink: 0;
}

.about-extra {
  font-size: 13px;
  color: #8a6a45;
  background: #fff5e9;
  border-radius: 999px;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

/* SERVICES */

.section-alt {
  background-color: var(--bg-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 18px 18px 16px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
  border: 1px solid #f0e1d4;
  font-size: 14px;
}

.service-title {
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 15px;
}

.service-text {
  color: var(--text-muted);
  line-height: 1.6;
}

/* REVIEWS */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.review-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
  border: 1px solid #f0e1d4;
  font-size: 14px;
}

.review-name {
  font-weight: 700;
  margin-bottom: 4px;
}

.review-city {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.review-text {
  font-size: 13px;
  line-height: 1.6;
}

/* CONTACT */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: flex-start;
}

.contact-info-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid #f1e2d3;
  font-size: 14px;
}

.contact-info-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  align-items: center;
}

.contact-badge {
  background: #fff5e9;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}

.contact-form-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid #f1e2d3;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}

label {
  font-weight: 600;
}

input[type="text"],
input[type="tel"],
input[type="date"],
textarea {
  border-radius: 10px;
  border: 1px solid #ddd0c1;
  padding: 9px 10px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #fcfcfb;
}

textarea {
  resize: vertical;
  min-height: 90px;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(201,134,74,0.2);
  background: #ffffff;
}

.form-footer {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}

.form-note {
  font-size: 12px;
  color: var(--text-muted);
}

.form-success {
  display: none;
  margin-top: 10px;
  font-size: 13px;
  color: #1b8c3f;
}

.form-error {
  display: none;
  margin-top: 10px;
  font-size: 13px;
  color: #c0392b;
}

.btn-submit {
  border: none;
  padding: 11px 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

.btn-submit:hover {
  background: var(--accent-dark);
}

/* FOOTER */

footer {
  border-top: 1px solid #eee3d7;
  padding: 18px 0 24px;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25d366;
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
}

/* ЦЕНТРАЛЬНЫЙ ЛОГОТИП СВЕРХУ */

.center-logo {
  position: absolute;         /* всегда прилипает к верху экрана */
  top: 12px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 9999;
  pointer-events: none;    /* клики проходят сквозь логотип */
}

.center-logo img {
  width: 260px;            /* сделай меньше/больше, если нужно */
  max-width: 80vw;
  height: auto;
  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.35));
    margin-left: 40px;  
}

/* АДАПТИВ */

@media (max-width: 900px) {
  header.hero {
    height: auto;
    min-height: 540px;
  }

  .hero-overlay {
    padding-top: 80px;     /* чтобы текст не залезал под логотип */
    padding-bottom: 22px;
  }

  .about-layout,
  .services-grid,
  .reviews-grid,
  .contact-layout {
    grid-template-columns: minmax(0,1fr);
  }

  .services-grid,
  .reviews-grid {
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 24px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  section {
    padding: 52px 0;
  }
  .about-card,
  .contact-form-card,
  .contact-info-card {
    padding: 18px 16px 16px;
  }
  .form-grid {
    grid-template-columns: minmax(0,1fr);
  }
}
