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

:root {
  --bg: #f8f6f2;
  --surface: #ffffff;
  --text: #1a1a1a;
  --muted: #7a746d;
  --line: rgba(26, 26, 26, 0.08);
  --line-strong: rgba(26, 26, 26, 0.14);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 18px 42px rgba(0, 0, 0, 0.08);
  --success-bg: #f3f7f1;
  --success-line: #cfdcc8;
  --error-bg: #fbf2f1;
  --error-line: #e2c7c2;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

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

/* TOP BAR */
.topbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 30px 50px;
  gap: 30px;
}

.top-menu {
  display: flex;
  gap: 28px;
  align-items: baseline;
  flex-wrap: wrap;
}

.top-menu a {
  text-decoration: none;
  color: #5d5656;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  transition: opacity 0.2s ease;
}

.top-menu a:hover {
  opacity: 0.7;
}

.lang-switch {
  display: flex;
  gap: 20px;
  align-items: baseline;
}

.lang-switch a {
  text-decoration: none;
  color: #5a5555;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.logo-img {
  width: 300px;
  height: auto;
  display: block;
}

/* HERO */
.hero {
  flex: 1;
  max-width: 1100px;
  width: 100%;
  margin: 60px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
  padding: 0 40px 40px;
}

.image-box {
  width: 540px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}

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

.image-caption {
  margin-top: 12px;
  text-align: center;
  font-size: 18px;
  color: #5d5656;
  letter-spacing: 1px;
  font-family: Georgia, "Times New Roman", serif;
}

/* MAIN MENU */
.menu {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.menu a {
  text-decoration: none;
  color: #5d5656;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 56px;
  font-weight: 300;
  letter-spacing: 1px;
  line-height: 1.05;
  transition: opacity 0.2s ease;
}

.menu a:hover {
  opacity: 0.7;
}

/* FOOTER */
.footer {
  padding: 80px 0 40px;
  text-align: center;
}

.footer-text {
  color: #8b0000 !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
}

/* CONTACT PAGE */
.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 28px 120px;
}

.intro {
  max-width: 760px;
  margin: 0 auto 72px;
  text-align: center;
}

.intro-kicker {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.intro-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.5vw, 60px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
}

.intro-text {
  margin: 22px auto 0;
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.85;
  color: #5c5751;
}

.intro-text a {
  border-bottom: 1px solid rgba(26, 26, 26, 0.16);
  transition: opacity 0.2s ease;
}

.intro-text a:hover {
  opacity: 0.7;
}

.divider {
  width: 90px;
  height: 1px;
  margin: 28px auto 0;
  background: var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 32px;
  align-items: start;
}

.contact-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.contact-side-card {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.portrait-block {
  margin: 0;
  width: 100%;
  max-width: 360px;
}

.portrait-image {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  background: #f2efe9;
}

.contact-side-section {
  padding-top: 4px;
}

.contact-label {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-heading {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
}

.contact-heading-small {
  font-size: 24px;
}

.contact-text,
.contact-link,
.contact-list li,
label,
input,
textarea,
button {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.9;
  color: #4f4a45;
}

.contact-link {
  display: inline-block;
  border-bottom: 1px solid rgba(26, 26, 26, 0.16);
  transition: opacity 0.2s ease;
}

.contact-link:hover {
  opacity: 0.7;
}

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

.contact-list li+li {
  margin-top: 14px;
}

.contact-note {
  margin: 0 0 26px;
  padding: 16px 18px;
  font-size: 16px;
  line-height: 1.9;
  color: #615c56;
  background: #faf8f5;
  border: 1px solid var(--line);
  font-family: Georgia, "Times New Roman", serif;
}

.status {
  display: none;
  margin: 0 0 22px;
  padding: 14px 16px;
  border: 1px solid;
  font-size: 15px;
  line-height: 1.7;
  font-family: Georgia, "Times New Roman", serif;
}

.status.show {
  display: block;
}

.status.success {
  background: var(--success-bg);
  border-color: var(--success-line);
  color: #4e6443;
}

.status.error {
  background: var(--error-bg);
  border-color: var(--error-line);
  color: #7a4d45;
}

.error-list {
  margin: 0;
  padding-left: 18px;
}

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

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

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

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  border-color: rgba(26, 26, 26, 0.34);
  box-shadow: 0 0 0 4px rgba(26, 26, 26, 0.04);
}

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

.captcha-row {
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 14px;
  align-items: end;
}

.captcha-box {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #faf8f5;
  color: #615c56;
  font-family: Georgia, "Times New Roman", serif;
}

.actions {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.submit-btn {
  appearance: none;
  border: 1px solid rgba(26, 26, 26, 0.16);
  background: transparent;
  color: var(--text);
  padding: 12px 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.submit-btn:hover {
  background: var(--text);
  color: #fff;
  transform: translateY(-1px);
}

.small-note {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 1.8;
  color: #7a746d;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* TABLET */
@media (max-width: 1200px) {
  .menu a {
    font-size: 44px;
  }

  .image-box {
    width: 440px;
  }

  .logo-img {
    width: 180px;
    height: auto;
    display: block;
  }
}

/* MOBILE + TABLET */
@media (max-width: 900px) {
  .topbar {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 20px;
  }

  .top-menu {
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .top-menu a {
    font-size: 16px;
  }

  .lang-switch {
    justify-content: center;
    align-items: center;
  }

  .lang-switch a {
    font-size: 18px;
  }

  .hero {
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
    padding: 0 24px 30px;
  }

  .image-box {
    width: 100%;
    max-width: 420px;
  }

  .menu {
    align-items: center;
    text-align: center;
  }

  .menu a {
    font-size: 38px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-side-card {
    gap: 24px;
  }

  .portrait-block {
    max-width: 320px;
  }
}

@media (max-width: 768px) {
  .page {
    padding: 44px 18px 90px;
  }

  .contact-card {
    padding: 24px;
  }

  .contact-heading {
    font-size: 24px;
  }

  .contact-heading-small {
    font-size: 22px;
  }

  .form-grid,
  .captcha-row {
    grid-template-columns: 1fr;
  }

  .portrait-block {
    max-width: 100%;
  }
}
@media (min-width: 901px) {
  .top-menu {
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  }
}