* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --bg: #050607;
  --bg2: #080a0c;
  --card: #0d1013;
  --gold: #d4a24c;
  --gold2: #f1c675;
  --text: #f5f0e6;
  --muted: #cfc7bb;
  --line: rgba(212, 162, 76, 0.28);
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
}
body.menu-open {
  overflow: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
.page-loader {
  position: fixed;
  inset: 0;
  background: #050607;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.7s;
}
.page-loader.hide {
  opacity: 0;
  visibility: hidden;
}
.loader-mark {
  width: 92px;
  height: 92px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 62px;
  box-shadow:
    0 0 40px rgba(212, 162, 76, 0.24),
    inset 0 0 25px rgba(212, 162, 76, 0.12);
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 118px;
  padding: 18px 4.5%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 42px;
  background: linear-gradient(180deg, rgba(5, 6, 7, 0.98), rgba(5, 6, 7, 0.91));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  z-index: 1000;
}
.brand {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 350px;
}
.logo {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 1px solid rgba(212, 162, 76, 0.78);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 60px;
  font-weight: 700;
  position: relative;
  box-shadow:
    0 0 32px rgba(212, 162, 76, 0.2),
    inset 0 0 25px rgba(212, 162, 76, 0.12);
}
.logo:before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px solid rgba(212, 162, 76, 0.35);
}
.logo:after {
  content: "✦";
  position: absolute;
  bottom: 6px;
  right: 10px;
  font-size: 16px;
  color: var(--gold2);
}
.brand h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 42px;
  letter-spacing: 14px;
  color: var(--gold);
  font-weight: 600;
}
.brand p {
  margin-top: 6px;
  font-size: 11px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 54px;
  white-space: nowrap;
}
.nav a {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #f1eadc;
  position: relative;
  transition: 0.3s;
}
.nav a:hover,
.langs a:hover {
  color: var(--gold);
}
.nav a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: 0.3s;
}
.nav a:hover:after {
  width: 100%;
}
.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  min-width: 380px;
}
.city-phone {
  color: #f0e7d8;
  font-size: 15px;
  white-space: nowrap;
}
.city-phone span {
  color: var(--gold);
}
.city-phone a {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
}
.city-phone a:hover {
  color: var(--gold);
}
.menu-toggle {
  display: none;
}
.langs {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}
.langs a {
  color: #eadfcb;
  font-size: 14px;
  letter-spacing: 1px;
}
.hero {
  min-height: 100vh;
  padding: 245px 6% 140px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(212, 162, 76, 0.15),
      transparent 25%
    ),
    linear-gradient(
      90deg,
      rgba(5, 6, 7, 0.96) 0%,
      rgba(5, 6, 7, 0.74) 43%,
      rgba(5, 6, 7, 0.35) 100%
    ),
    url("./polygraph.jpg");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  max-width: 980px;
}
.kicker {
  color: var(--gold);
  letter-spacing: 7px;
  text-transform: uppercase;
  font-size: 15px;
  margin-bottom: 34px;
}
.hero h2 {
  font-family: "Cormorant Garamond", serif;
  color: #eadcc4;
  font-size: 96px;
  line-height: 1.06;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 34px;
}
.hero p {
  color: #ded6c9;
  font-size: 22px;
  line-height: 2;
  max-width: 780px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 18px 34px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: 0.3s;
  min-width: 240px;
  background: rgba(212, 162, 76, 0.03);
}
.btn:hover {
  background: var(--gold);
  color: #050607;
}
.phone-link {
  color: var(--gold);
  font-size: 24px;
  letter-spacing: 2px;
  white-space: nowrap;
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
}
section.content {
  padding: 145px 7%;
  background: var(--bg2);
}
.text-block {
  max-width: 1080px;
  margin: 0 auto;
}
.text-block h1 {
  font-family: "Cormorant Garamond", serif;
  color: var(--gold);
  font-size: 66px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 70px;
}
.text-block h2 {
  font-family: "Cormorant Garamond", serif;
  color: var(--gold);
  font-size: 48px;
  margin: 64px 0 24px;
}
.text-block h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 36px;
  margin: 42px 0 18px;
  color: #eadcc4;
}
.text-block p,
.text-block li {
  color: var(--muted);
  font-size: 20px;
  line-height: 2.1;
  margin-bottom: 22px;
}
.text-block ul {
  margin-left: 30px;
  margin-bottom: 30px;
}
.text-block a {
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
}
.section-title {
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 66px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 72px;
}
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #070809;
}
.value {
  padding: 60px 44px;
  border-right: 1px solid var(--line);
}
.value:last-child {
  border-right: none;
}
.value-icon {
  font-size: 52px;
  color: var(--gold);
  margin-bottom: 24px;
}
.value h3 {
  font-family: "Cormorant Garamond", serif;
  color: #eadcc4;
  font-size: 25px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.value p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}
.grid-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.link-card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 34px;
  min-height: 220px;
  transition: 0.35s;
  position: relative;
  overflow: hidden;
}
.link-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 162, 76, 0.58);
}
.link-card h3 {
  font-family: "Cormorant Garamond", serif;
  color: var(--gold);
  font-size: 32px;
  margin-bottom: 16px;
}
.link-card p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 17px;
}
.about-lux {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 60px;
  align-items: start;
}
.about-photo {
  height: 560px;
  max-width: 420px;
  width: 100%;
  background: url("./diana.jpg") center 18% / cover no-repeat;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.about-text h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 70px;
  color: #eadcc4;
  margin-bottom: 18px;
  line-height: 1.05;
}
.about-text h3 {
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.about-text p {
  font-size: 20px;
  line-height: 2.05;
  color: var(--muted);
  margin-bottom: 22px;
}
.contact-box {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.contact-box a {
  display: block;
  margin: 18px 0;
}
.contact-phone {
  font-size: 42px;
  color: var(--gold);
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
  white-space: nowrap;
}
.contact-email {
  color: #eadfcb;
  font-size: 22px;
}
.whatsapp {
  display: inline-flex !important;
  width: auto;
  margin: 26px auto !important;
  border: 1px solid rgba(212, 162, 76, 0.45);
  color: var(--gold);
  padding: 16px 30px;
}
.form {
  margin-top: 45px;
  display: grid;
  gap: 18px;
}
.form input,
.form textarea {
  background: #050607;
  border: 1px solid rgba(212, 162, 76, 0.28);
  color: #fff;
  padding: 22px;
  font-size: 16px;
  font-family: inherit;
}
.form textarea {
  min-height: 190px;
  resize: none;
}
.form button {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 22px;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
}
.form button:hover {
  background: var(--gold);
  color: #050607;
}
footer {
  padding: 55px;
  text-align: center;
  background: #050607;
  color: #777;
  border-top: 1px solid rgba(212, 162, 76, 0.22);
}
.reveal {
  opacity: 0;
  transform: translateY(45px);
  transition: 1s;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
body[dir="rtl"] {
  text-align: right;
}
body[dir="rtl"] .text-block ul {
  margin-right: 30px;
  margin-left: 0;
}
body[dir="rtl"] .header-right {
  flex-direction: column;
}
body[dir="rtl"] .brand {
  text-align: right;
}
@media (max-width: 1500px) and (min-width: 901px) {
  .header {
    grid-template-columns: 1fr;
    gap: 18px;
    height: auto;
    padding: 22px 5%;
  }
  .brand,
  .header-right {
    justify-content: center;
    min-width: auto;
  }
  .nav {
    gap: 38px;
    flex-wrap: wrap;
  }
  .hero {
    padding-top: 300px;
  }
  section.content {
    padding-top: 280px;
  }
}
@media (max-width: 1500px) {
  .values {
    grid-template-columns: 1fr 1fr;
  }
  .grid-links {
    grid-template-columns: 1fr 1fr;
  }
  .about-lux {
    grid-template-columns: minmax(220px, 300px) 1fr;
    gap: 36px;
  }
  .about-photo {
    height: 460px;
    max-width: 300px;
  }
  .about-text h2 {
    font-size: 52px;
  }
  .about-text p {
    font-size: 18px;
    line-height: 1.85;
  }
}
.menu-backdrop {
  display: none;
}
@media (min-width: 901px) {
  .mobile-drawer {
    display: contents;
  }
  .menu-backdrop {
    display: none !important;
  }
}
@media (max-width: 900px) {
  .header {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    height: 68px;
    max-height: 72px;
    min-height: unset;
  }
  .brand {
    grid-column: 2;
    justify-self: center;
    flex: unset;
    min-width: 0;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    justify-content: center;
    text-align: center;
    width: auto;
    max-width: 100%;
  }
  .brand h1 {
    font-size: 19px;
    letter-spacing: 4px;
    white-space: nowrap;
  }
  .brand p {
    display: none;
  }
  .logo {
    width: 38px;
    height: 38px;
    font-size: 24px;
    flex-shrink: 0;
  }
  .logo:before {
    inset: 5px;
  }
  .logo:after {
    font-size: 8px;
    right: 4px;
    bottom: 3px;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 3;
    justify-self: end;
    flex-shrink: 0;
    background: transparent;
    border: 1px solid rgba(212, 162, 76, 0.45);
    color: var(--gold);
    font-size: 15px;
    line-height: 1;
    padding: 0;
    width: 36px;
    height: 36px;
    cursor: pointer;
    border-radius: 8px;
    font-family: inherit;
  }
  .mobile-drawer {
    display: none;
  }
  .menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2000;
    border: none;
    padding: 0;
    cursor: pointer;
  }
  body.menu-open .menu-backdrop {
    display: block;
  }
  body.menu-open .mobile-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: min(300px, 88vw);
    height: 100dvh;
    background: linear-gradient(180deg, #070809 0%, #050607 100%);
    border-right: 1px solid var(--line);
    z-index: 2001;
    padding: 88px 22px 28px;
    overflow-y: auto;
    gap: 0;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.45);
    animation: drawerIn 0.28s ease;
  }
  @keyframes drawerIn {
    from {
      transform: translateX(-100%);
    }
    to {
      transform: translateX(0);
    }
  }
  body.menu-open .nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    padding: 0;
    flex-wrap: nowrap;
    white-space: normal;
  }
  body.menu-open .nav a {
    font-size: 15px;
    letter-spacing: 1px;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid rgba(212, 162, 76, 0.12);
  }
  body.menu-open .nav a:after {
    display: none;
  }
  body.menu-open .header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    min-width: 0;
  }
  body.menu-open .city-phone a {
    font-size: 15px;
  }
  body.menu-open .langs {
    gap: 14px;
  }
  body.menu-open .langs a {
    font-size: 14px;
  }
  body[dir="rtl"] .brand {
    flex-direction: row-reverse;
    text-align: center;
    justify-content: center;
  }
  body[dir="rtl"] .menu-toggle {
    grid-column: 1;
    justify-self: start;
  }
  body[dir="rtl"].menu-open .mobile-drawer {
    left: auto;
    right: 0;
    border-right: none;
    border-left: 1px solid var(--line);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.45);
    animation: drawerInRtl 0.28s ease;
  }
  @keyframes drawerInRtl {
    from {
      transform: translateX(100%);
    }
    to {
      transform: translateX(0);
    }
  }
  .hero {
    padding: 88px 7% 70px;
  }
  .hero-inner {
    width: 100%;
    max-width: 100%;
  }
  .hero h2 {
    font-size: 34px;
    line-height: 1.12;
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
  }
  .hero p {
    font-size: 16px;
    line-height: 1.75;
    max-width: 100%;
  }
  .kicker {
    letter-spacing: 3px;
    font-size: 12px;
    white-space: normal;
    line-height: 1.5;
    max-width: 100%;
  }
  .values,
  .grid-links {
    grid-template-columns: 1fr;
  }
  .value {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .section-title,
  .text-block h1 {
    font-size: 44px;
  }
  section.content {
    padding: 100px 7% 70px;
  }
  .about-lux {
    grid-template-columns: minmax(150px, 220px) 1fr;
    gap: 22px;
  }
  .about-photo {
    height: 340px;
    max-width: 220px;
    border-radius: 12px;
  }
  .about-text h2 {
    font-size: 34px;
  }
  .about-text h3 {
    font-size: 14px;
    margin-bottom: 16px;
  }
  .about-text p {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 14px;
  }
}

@media (max-width: 400px) {
  .header {
    height: 64px;
    max-height: 68px;
    padding: 8px 10px;
    grid-template-columns: 36px 1fr 36px;
  }
  .brand h1 {
    font-size: 16px;
    letter-spacing: 3px;
  }
  .logo {
    width: 34px;
    height: 34px;
    font-size: 22px;
  }
  .menu-toggle {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
  body.menu-open .city-phone a {
    font-size: 14px;
  }
  .hero h2 {
    font-size: 32px;
  }
  .hero {
    padding: 82px 6% 64px;
  }
  section.content {
    padding: 92px 6% 64px;
  }
}

@media (max-width: 520px) {
  .about-lux {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about-photo {
    height: 380px;
    max-width: 280px;
    margin: 0 auto;
  }
  .about-text h2 {
    font-size: 40px;
    text-align: center;
  }
  .about-text h3 {
    text-align: center;
  }
}
.consultation-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 700px;
  margin: 60px auto;
}

.consultation-form input,
.consultation-form textarea {
  background: #111;
  border: 1px solid rgba(212, 163, 74, 0.4);
  color: #f5f5f5;
  padding: 18px;
  border-radius: 14px;
  font-size: 16px;
  outline: none;
}

.consultation-form textarea {
  min-height: 160px;
  resize: vertical;
}

.consultation-form button {
  background: linear-gradient(135deg, #d4a34a, #f3d27a);
  color: #111;
  border: none;
  padding: 18px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
}
html[lang="he"] input[type="tel"] {
  direction: rtl;
  text-align: right;
}
/* FIX HEADER WIDTH ON ALL LANGUAGES */
@media (min-width: 901px) {
.header {
  padding-left: 3%;
  padding-right: 3%;
  gap: 22px;
}

.nav {
  gap: 32px;
}

.nav a {
  font-size: 16px;
  letter-spacing: 1px;
}

.header-right {
  gap: 18px;
  min-width: auto;
}

.langs {
  gap: 12px;
}

.city-phone {
  font-size: 14px;
}
}

/* для средних экранов — меню переносится красиво */
@media (max-width: 1350px) and (min-width: 901px) {
  .header {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .brand,
  .header-right,
  .nav {
    justify-content: center;
  }

  .nav {
    flex-wrap: wrap;
    gap: 24px;
  }

  section.content {
    padding-top: 300px;
  }
}
