*,
*::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: #ffffff;
  color: #222222;
  line-height: 1.6;
}

body.rtl {
  direction: rtl;
}

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

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

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

.narrow {
  max-width: 720px;
}

.top-strip {
  height: 28px;
  background-color: #dfd3c1;
}

/* HEADER */

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #f0f0f0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.logo-main {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  letter-spacing: 0.12em;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: flex;
  gap: 4px;
}

.lang-btn {
  border-radius: 999px;
  border: 1px solid #ccc4b8;
  background-color: #f5eee4;
  font-size: 11px;
  padding: 3px 8px;
  cursor: pointer;
}

.lang-btn.active {
  background-color: #222222;
  color: #ffffff;
  border-color: #222222;
}

.header-phone {
  font-size: 13px;
  color: #77716a;
}

/* HERO */

.hero {
  position: relative;
  height: 70vh;
  min-height: 420px;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.55));
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 48px;
}

.hero-text {
  max-width: 420px;
  color: #ffffff;
}

.hero-phone {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 30px;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.hero-subtitle {
  font-size: 16px;
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 14px;
  letter-spacing: 0.08em;
  cursor: pointer;
  border: 1px solid transparent;
  background-color: transparent;
}

.btn-outline-light {
  border-color: #ffffff;
  color: #ffffff;
}

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

.btn-outline-dark {
  border-color: #111111;
  color: #111111;
}

.btn-outline-dark:hover {
  background-color: #111111;
  color: #ffffff;
}

/* SECTIONS */

.section {
  padding: 56px 0;
}

.section-alt {
  background-color: #faf6f1;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  letter-spacing: 0.12em;
  text-align: center;
  margin-bottom: 22px;
}

.section-subtitle {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  text-align: center;
  margin-top: 18px;
  margin-bottom: 10px;
}

.section-text {
  font-size: 14px;
  color: #494340;
  text-align: center;
}

.full-image {
  margin-bottom: 22px;
  border-radius: 4px;
}

.split-image-top img {
  margin-bottom: 18px;
}

/* GALLERY */

.gallery-wrapper {
  position: relative;
}

.gallery-main img {
  border-radius: 4px;
}

.gallery-counter {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background-color: rgba(0,0,0,0.6);
  color: #ffffff;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
}

/* CONTACT */

.contact-intro {
  margin-bottom: 24px;
}

.contact-block {
  text-align: center;
  margin-bottom: 26px;
}

.contact-name {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  margin-bottom: 6px;
}

.contact-line {
  font-size: 14px;
  color: #59524c;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}

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

.contact-form input,
.contact-form textarea {
  border-radius: 3px;
  border: 1px solid #ccc4b8;
  padding: 8px 10px;
  font-size: 13px;
  font-family: inherit;
}

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

/* HOURS */

.hours-line {
  text-align: center;
  margin-bottom: 18px;
  font-size: 14px;
  color: #554e49;
}

.hours-time {
  margin-left: 8px;
  font-weight: 600;
}

/* SUBSCRIBE */

.subscribe {
  position: relative;
  padding: 70px 0;
  overflow: hidden;
}

.subscribe-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.subscribe-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.45);
}

.subscribe-content {
  position: relative;
  text-align: center;
}

.invert {
  color: #ffffff;
}

.subscribe-form {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.subscribe-form input {
  min-width: 220px;
  max-width: 320px;
  border-radius: 999px;
  padding: 8px 14px;
  border: 1px solid #ffffff;
  background-color: rgba(255,255,255,0.06);
  color: #ffffff;
  font-size: 13px;
}

.subscribe-form input::placeholder {
  color: #f5f0e9;
}

/* FOOTER */

.site-footer {
  background-color: #111111;
  color: #f2eee7;
  padding: 16px 0 20px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
}

.footer-powered {
  color: #b6aa9b;
}

/* RTL */

body.rtl .form-row {
  direction: rtl;
}

/* Адаптив */

@media (max-width: 768px) {
  .hero-content {
    align-items: flex-end;
    padding-bottom: 32px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .section {
    padding: 44px 0;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Панель переключения языков */
.lang-switch {
  position: fixed;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 8px;
  z-index: 999;
  font-family: inherit;
}

.lang-link {
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid #ffffff;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
}

.lang-link:hover {
  background: #ffffff;
  color: #000000;
}

/* Активный язык */
.lang-link.active {
  background: #ffffff;
  color: #000000;
  font-weight: 600;
}
