:root {
  --cream: #fbf5ef;
  --cream-soft: #f7ede4;
  --rose: #c1836e;
  --rose-dark: #a96d59;
  --rose-pale: #f3ded4;
  --rose-pale-2: #f6e6de;
  --ink: #2b2019;
  --ink-soft: #5c5049;
  --line: #ecdccf;
  --black: #1b1613;
  --white: #ffffff;
  --radius-lg: 20px;
  --radius-md: 14px;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-script: "Dancing Script", cursive;
  --font-logo: "Great Vibes", cursive;
  --font-sans: "Poppins", "Segoe UI", sans-serif;
  --edge-gap: max(0px, calc((100vw - 1200px) / 2));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

main {
  position: relative;
  display: block;
}

main::before,
main::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
  z-index: 5;
  pointer-events: none;
}

main::before { left: var(--edge-gap); }
main::after { right: var(--edge-gap); }

@media (max-width: 720px) {
  main::before,
  main::after { display: none; }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

a { color: inherit; text-decoration: none; }
svg { width: 1em; height: 1em; display: block; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 245, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.container.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: nowrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  min-width: 0;
}

.logo-diamond {
  width: 37px;
  height: 37px;
  color: var(--rose);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  min-width: 0;
}

.logo-script {
  font-family: var(--font-logo);
  font-weight: 400;
  font-size: 2.1rem;
  color: var(--ink);
  white-space: nowrap;
}

.logo-sub {
  display: none;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--rose-dark);
  font-weight: 500;
  margin-top: 2px;
}

.q-letter {
  position: relative;
  display: inline-block;
}

.tiara-icon {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 15px;
  height: auto;
  margin-bottom: 1px;
  pointer-events: none;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--rose-dark); }

.lang-switch {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  background: var(--white);
  flex-shrink: 0;
}

.lang-icon {
  width: 15px;
  height: 15px;
  color: var(--rose-dark);
  margin: 0 6px 0 8px;
  flex-shrink: 0;
}

.lang-btn {
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  padding: 7px 13px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-btn:hover { color: var(--ink); }

.lang-btn.active {
  background: var(--rose);
  color: var(--white);
}

.lang-switch-mobile {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 1.5px solid transparent;
}

.btn svg { width: 16px; height: 16px; }

.btn-primary {
  background: var(--rose);
  color: var(--white);
  box-shadow: 0 8px 20px -8px rgba(169, 109, 89, 0.6);
}

.btn-primary:hover { background: var(--rose-dark); transform: translateY(-1px); }

.btn-outline {
  border-color: var(--rose);
  color: var(--rose-dark);
  background: transparent;
}

.btn-outline:hover { background: var(--rose-pale-2); }

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

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 40px;
}

.hero-text,
.hero-image {
  min-width: 0;
}

.hero-divider {
  position: absolute;
  left: var(--edge-gap);
  right: var(--edge-gap);
  height: 1px;
  background: var(--line);
  pointer-events: none;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 32px 0 calc(var(--edge-gap) + 32px);
}

.hero-text h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 4.6rem;
  line-height: 0.95;
  margin: 0 0 6px;
  color: var(--ink);
}

.hero-text h1 .script {
  display: block;
  font-family: var(--font-script);
  font-weight: 600;
  font-style: normal;
  font-size: 2.9rem;
  color: var(--rose);
  line-height: 1.2;
  margin-top: 4px;
}

.hero-text p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin: 24px 0 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-text .hero-phone-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.hero-phone-line svg {
  width: 15px;
  height: 15px;
  color: var(--rose);
}

.hero-phone-line a {
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--rose);
}

.hero-image {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-right: var(--edge-gap);
}

.hero-photo {
  display: block;
  width: calc(0.54 * ((100vw - 40px) / 2));
  aspect-ratio: 11 / 10;
  height: var(--hero-photo-height, auto);
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Services ---------- */

.services.container {
  padding: 24px 32px 100px;
  text-align: center;
}

.services h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  letter-spacing: 0.04em;
  margin: 0 0 6px;
}

.services h2 .dash {
  width: 46px;
  height: 1px;
  background: var(--rose);
  display: inline-block;
}

.section-diamond {
  display: block;
  width: 37px;
  height: 37px;
  margin: 0 auto 32px;
  color: var(--rose);
}

.section-diamond svg {
  width: 100%;
  height: 100%;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 34px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  flex: 1 1 240px;
  max-width: 264px;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -20px rgba(43, 32, 25, 0.35);
  border-color: var(--rose);
}

.service-icon {
  height: 77px;
  width: auto;
}

.service-card h3 {
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
  font-weight: 600;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}

/* ---------- FAQ + Gallery ---------- */

.faq-gallery.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  padding: 24px 32px 96px;
  align-items: start;
}

.faq-col,
.gallery-col {
  min-width: 0;
}

.faq-col h2 {
  font-family: var(--font-serif);
  font-size: 2.88rem;
  margin: 0 0 29px;
  text-align: center;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.acc-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 19px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--ink);
}

.acc-icon {
  width: 24px;
  height: 24px;
  color: var(--rose);
  flex-shrink: 0;
}

.acc-trigger span:not(.chevron):not(.acc-icon) {
  flex: 1;
  min-width: 0;
}

.chevron {
  width: 19px;
  height: 19px;
  color: var(--ink-soft);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.acc-item.open .chevron { transform: rotate(90deg); }

.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.acc-panel p {
  margin: 0;
  padding: 0 24px 22px 65px;
  font-size: 1.03rem;
  color: var(--ink-soft);
}

.acc-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 24px 24px 65px;
}

.acc-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 19px;
  border-radius: 999px;
  font-size: 0.91rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--white);
  transition: opacity 0.15s ease;
}

.acc-cta svg { width: 18px; height: 18px; }
.acc-cta:hover { opacity: 0.88; }

.acc-cta.whatsapp { background: #3fbf60; }
.acc-cta.instagram { background: linear-gradient(135deg, #f9ce34, #ee2a7b 55%, #6228d7); }
.acc-cta.phone { background: var(--rose); }

/* ---------- Gallery ---------- */

.gallery-mosaic {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.gallery-slot {
  position: relative;
  border-radius: var(--radius-md);
  border: 1.5px dashed var(--rose);
  background-color: var(--rose-pale-2);
  background-size: cover;
  background-position: center;
  color: var(--rose-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  overflow: hidden;
  transition: opacity 0.3s ease;
}

.gallery-slot.small {
  width: 92px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
}

.gallery-slot.big {
  width: 344px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
}

.gallery-slot.fading { opacity: 0; }
.gallery-slot.has-image { border-style: solid; }

.gallery-slot svg {
  width: 18px;
  height: 18px;
  opacity: 0.6;
}

.gallery-slot span {
  font-size: 0.57rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.gallery-slot.big svg {
  width: 44px;
  height: 44px;
}

.gallery-slot.big span {
  font-size: 1.19rem;
}

/* ---------- Quick Contact ---------- */

.quick-contact-section {
  background: var(--rose-pale-2);
  padding: 36px 0;
}

.quick-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: stretch;
  max-width: 820px;
}

.contact-block h3 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 12px;
  font-weight: 600;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s ease;
}

.contact-row:last-child { border-bottom: none; }
.contact-row:hover { background: var(--cream-soft); }

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}

.contact-icon svg { width: 19px; height: 19px; }

.contact-icon.whatsapp { background: #3fbf60; }
.contact-icon.instagram { background: linear-gradient(135deg, #f9ce34, #ee2a7b 55%, #6228d7); }
.contact-icon.phone { background: var(--rose); }

.contact-text {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.contact-text strong {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.quote {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 24px 24px;
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--rose-dark);
  text-align: center;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}


.quote-author {
  display: block;
  margin-top: 10px;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

html[lang="ru"] .hero-text h1 .script {
  font-family: "Marck Script", cursive;
}

/* ---------- Map ---------- */

.map-section {
  padding: 60px 0 90px;
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 360px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--cream-soft);
  border-top: 1px solid var(--line);
}

.footer-top.container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 44px 32px;
}

.footer-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.footer-item svg {
  width: 26px;
  height: 26px;
  color: var(--rose);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-item strong {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-item span {
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.footer-bottom {
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer-bottom svg {
  width: 14px;
  height: 14px;
  color: var(--rose);
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-text { padding: 0 32px 32px; }
  .hero-text h1 { font-size: 3.4rem; }
  .hero-text h1 .script { font-size: 2.2rem; }
  .hero-image {
    order: -1;
    min-height: 220px;
    padding: 0;
    justify-content: center;
  }
  .hero-photo {
    width: 100%;
    height: 100%;
    border-radius: 0;
    box-shadow: none;
  }
  .service-card { flex-basis: 45%; }
  .faq-gallery.container { grid-template-columns: 1fr; }
  .gallery-mosaic { max-width: 420px; margin: 0 auto; }
  .quick-contact-grid { grid-template-columns: 1fr; gap: 24px; max-width: 420px; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .container.header-inner { position: relative; }
  .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin-right: 0;
  }
  .logo-diamond { display: none; }
  .nav-toggle { margin-left: auto; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 32px; width: 100%; }
  .nav-toggle { display: flex; }
  .lang-switch { display: none; }
  .lang-switch-mobile {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px 4px;
    margin-top: 4px;
    border-top: 1px solid var(--line);
  }
  .lang-switch-mobile .lang-btn {
    border: 1.5px solid var(--line);
    padding: 8px 16px;
  }
  .lang-switch-mobile .lang-btn.active {
    border-color: var(--rose);
  }
  .service-card { flex-basis: 100%; max-width: 340px; }
  .footer-top.container { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 2.6rem; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { padding: 13px 20px; font-size: 0.72rem; }
  .services h2 { font-size: 1.9rem; gap: 12px; }
  .services h2 .dash { width: 26px; }
  .faq-col h2 { font-size: 1.9rem; text-align: center; }
  .acc-trigger { font-size: 0.82rem; padding: 14px 16px; gap: 12px; }
  .acc-icon { width: 18px; height: 18px; }
  .chevron { width: 14px; height: 14px; }
  .acc-panel p { font-size: 0.85rem; padding: 0 16px 16px 46px; }
  .acc-cta-row { padding: 0 16px 16px 46px; gap: 8px; }
  .acc-cta { padding: 8px 14px; font-size: 0.74rem; }
  .gallery-col { margin-bottom: 24px; }
  .map-frame { height: 260px; }
}

@media (max-width: 480px) {
  .container.header-inner { gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .logo { gap: 8px; }
  .logo-diamond { width: 40px; height: 40px; }
  .logo-script { font-size: 1.6rem; }
  .lang-icon { display: none; }
  .lang-btn { padding: 6px 9px; font-size: 0.66rem; }
  .hero-phone-line { flex-wrap: wrap; }
}
