.contact-page {
  min-width: 1220px;
}

.contact-page .contact-main {
  width: min(1280px, calc(100vw - 128px));
  margin: 0 auto;
  padding: 56px 0 140px;
}

.contact-page .contact-hero {
  position: relative;
  max-width: 980px;
  margin: 0 auto 120px;
  text-align: center;
}

.contact-page .contact-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -54px;
  width: min(1120px, 100vw - 180px);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent 0%, rgba(157, 28, 31, 0.08) 14%, rgba(157, 28, 31, 0.08) 86%, transparent 100%);
}

.contact-page .contact-hero-kicker,
.contact-page .contact-info-meta,
.contact-page .contact-form-shell-form label,
.contact-page .submit-label {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-page .contact-hero-kicker {
  margin: 0 0 18px;
  color: rgba(157, 28, 31, 0.82);
  font-weight: 700;
}

.contact-page .contact-hero h1 {
  margin: 0;
  font-family: "Playfair Display", var(--font-display);
  font-size: clamp(5rem, 4.5rem + 1vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  color: #1f1815;
}

.contact-page .contact-hero h1 span {
  color: var(--accent);
}

.contact-page .contact-hero-subtitle {
  margin: 24px 0 26px;
  font-family: "Playfair Display", var(--font-display);
  font-size: 1.9rem;
  line-height: 1.3;
  color: #a1a2a0;
  font-weight: 600;
}

.contact-page .contact-hero-lead {
  max-width: 930px;
  margin: 0 auto;
  font-size: 1.24rem;
  line-height: 1.86;
  color: #584643;
}

.contact-page .contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  margin-bottom: 96px;
}

.contact-page .contact-info-card {
  min-height: 336px;
  padding: 52px 56px;
  border: 1px solid rgba(141, 123, 110, 0.18);
  background: linear-gradient(180deg, rgba(243, 237, 226, 0.9), rgba(239, 232, 220, 0.72));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-page .contact-info-card:hover {
  transform: translateY(-5px);
  border-color: rgba(157, 28, 31, 0.34);
  box-shadow: 0 20px 40px rgba(101, 64, 44, 0.08);
}

.contact-page .contact-info-icon {
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 2rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.contact-page .contact-info-card:hover .contact-info-icon {
  transform: translateY(-2px) scale(1.04);
}

.contact-page .contact-info-card h2,
.contact-page .contact-info-card h3,
.contact-page .contact-form-heading h2 {
  margin: 0;
  font-family: "Playfair Display", var(--font-display);
  color: #1f1714;
}

.contact-page .contact-info-card h2 {
  font-size: 2.7rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.contact-page .contact-info-card h3 {
  margin-top: 8px;
  font-size: 2rem;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.contact-page .contact-info-link {
  margin-top: 18px;
  font-size: 2rem;
  line-height: 1.4;
  color: var(--accent);
  transition: color 0.3s ease, transform 0.3s ease;
}

.contact-page .contact-info-link:hover {
  color: #b83b31;
  text-decoration: underline;
}

.contact-page .contact-info-meta {
  margin: 22px 0 12px;
  color: #989894;
  font-weight: 700;
}

.contact-page .contact-phone-list p {
  margin: 10px 0;
  font-size: 1.5rem;
  line-height: 1.55;
  color: #5c4f49;
}

.contact-page .contact-phone-list a {
  color: #2c2521;
  font-weight: 700;
  transition: color 0.3s ease;
}

.contact-page .contact-phone-list a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.contact-page .contact-form-shell {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 58px 64px 64px;
  border: 1px solid rgba(142, 145, 143, 0.26);
  background: rgba(255, 254, 251, 0.84);
}

.contact-page .contact-form-decoration {
  position: absolute;
  top: 16px;
  right: 26px;
  color: rgba(157, 28, 31, 0.06);
  font-size: 5.6rem;
}

.contact-page .contact-form-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-page .contact-form-mark {
  color: var(--accent);
  font-size: 1.65rem;
}

.contact-page .contact-form-heading h2 {
  font-size: 3rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.contact-page .contact-form-heading h2 span {
  color: #8f8e8a;
}

.contact-page .contact-form-note {
  margin: 0 0 44px;
  padding-left: 26px;
  border-left: 2px solid rgba(157, 28, 31, 0.88);
  font-size: 1.16rem;
  line-height: 1.9;
  font-style: italic;
  color: #675854;
}

.contact-page .contact-form-shell-form {
  display: grid;
  gap: 38px;
}

.contact-page .form-row {
  display: grid;
  gap: 16px;
}

.contact-page .contact-form-shell-form label {
  color: #9a9a96;
  font-weight: 700;
}

.contact-page .contact-form-shell-form input,
.contact-page .contact-form-shell-form textarea {
  width: 100%;
  padding: 12px 0 14px;
  border: 0;
  border-bottom: 1px solid rgba(101, 119, 153, 0.55);
  background: transparent;
  font-family: var(--font-ui);
  font-size: 1.08rem;
  line-height: 1.75;
  color: #2e2826;
  resize: none;
  outline: none;
  transition: border-color 180ms ease, color 180ms ease;
}

.contact-page .contact-form-shell-form input::placeholder,
.contact-page .contact-form-shell-form textarea::placeholder {
  color: #8d8e8d;
}

.contact-page .contact-form-shell-form input:focus,
.contact-page .contact-form-shell-form textarea:focus {
  border-bottom-color: var(--accent);
}

.contact-page .form-row-textarea textarea {
  min-height: 170px;
}

.contact-page .form-counter {
  text-align: right;
  font-size: 0.95rem;
  color: #8f8f8b;
}

.contact-page .form-login-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9d1c1f;
  font-size: 1rem;
}

.contact-page .form-login-hint a {
  text-decoration: underline;
}

.contact-page .contact-submit-btn {
  width: fit-content;
  min-width: 316px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
  padding: 20px 34px;
  border: 0;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff9f5;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.contact-page .contact-submit-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(122, 48, 37, 0.14);
}

.contact-page .contact-submit-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.contact-page .submit-label {
  font-weight: 700;
}

.contact-page .notification {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 60;
  min-width: 320px;
  max-width: 440px;
  padding: 18px 22px;
  border: 1px solid rgba(141, 123, 110, 0.18);
  background: rgba(255, 251, 246, 0.96);
  color: #2c2521;
  box-shadow: 0 22px 46px rgba(74, 50, 37, 0.1);
  transform: translateY(24px);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
}

.contact-page .notification.show {
  transform: translateY(0);
  opacity: 1;
}

.contact-page .notification.success {
  border-left: 3px solid #476a57;
}

.contact-page .notification.error {
  border-left: 3px solid var(--accent);
}

.contact-page .notification i {
  margin-right: 10px;
}
