:root {
  --card-border: #d6d6d6;
  --text: #000;
  --muted: #8b8b8b;
  --footer: #bdbdbd;
  --ci: #0d5869;
  --ci-strong: #0b4a58;
  --ci-soft: #1a7086;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #f3f3f3;
  color: var(--text);
  font-family: "Roboto", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.contact-booking-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 0 18px;
}

.contact-booking-card {
  width: min(792px, calc(100vw - 40px));
  min-height: 496px;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
  position: relative;
  overflow: hidden;
}

.mode-layout {
  width: 100%;
  min-height: 496px;
  display: grid;
  grid-template-columns: minmax(0, 43%) minmax(0, 57%);
}

.mode-panel {
  padding: 26px 24px;
}

.mode-panel-left {
  position: relative;
  border-right: 1px solid #d8d8d8;
  display: flex;
  flex-direction: column;
  padding-bottom: 26px;
}

.mode-host-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mode-host-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e6ebf0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.mode-host-avatar img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  object-position: center;
  transform: translateY(-2px);
}

.mode-host-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 68px;
}

.mode-host-brand {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.mode-host-name {
  display: none;
}

.mode-session-title {
  margin: 28px 0 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #0d5869;
}

.mode-left-note {
  margin-top: 16px;
  max-width: 320px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.28;
  color: #2c2c2c;
}

.mode-left-question,
.mode-left-intro {
  margin: 0;
}

.mode-left-intro {
  margin-top: 14px;
}

.mode-left-bullet-title {
  margin: 12px 0 0;
}

.mode-left-list {
  margin: 8px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.in-card-footer-links {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  line-height: 1;
}

.in-card-footer-links a,
.contact-footer a {
  color: var(--footer);
  text-decoration: none;
}

.in-card-footer-links a:hover,
.contact-footer a:hover {
  color: #9d9d9d;
}

.mode-panel-right {
  min-height: 100%;
  padding-top: 22px;
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 16px;
  overflow: auto;
}

.support-info-wrap {
  width: min(360px, 100%);
  margin: 0 auto;
}

.contact-title {
  margin: 0 0 18px;
  text-align: left;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: #37383f;
}

.support-grid {
  display: grid;
  gap: 10px;
}

.support-item {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #e3e5e8;
  border-radius: 10px;
  background: #f7f8f9;
}

.support-item-label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: #6a6d73;
  text-transform: uppercase;
}

.support-item-value {
  margin-top: 5px;
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: #1f2329;
  text-decoration: underline;
}

.support-info-block {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #eceef0;
}

.support-info-block h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: #37383f;
}

.support-info-block p {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  color: #2d3138;
}

.support-info-block p + p {
  margin-top: 3px;
}

.support-path {
  display: inline-block;
  margin-top: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  background: #edf1f4;
  font-size: 13px;
  line-height: 1.25;
}

.submit-btn {
  margin-top: 16px;
  width: 100%;
  height: 42px;
  border: 1px solid var(--ci-strong);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ci), var(--ci-soft));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 150ms ease, box-shadow 150ms ease,
    background-color 150ms ease, border-color 150ms ease;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #0e6175, #1d7f97);
  border-color: #0a4653;
  box-shadow: 0 8px 16px rgba(11, 74, 88, 0.3);
  transform: translateY(-1px);
}

.submit-btn:active {
  transform: translateY(0);
}

.support-mail-btn {
  margin-bottom: 12px;
}

.contact-footer {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  line-height: 1;
}

.contact-footer-external {
  display: none;
}

@media (max-width: 860px) {
  .contact-booking-page {
    flex-direction: column;
    align-items: center;
    padding-top: 23px;
    gap: 10px;
  }

  .contact-booking-card {
    width: min(720px, calc(100vw - 20px));
    min-height: auto;
    border-radius: 20px;
    margin: 0 auto;
  }

  .mode-layout {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .mode-panel {
    padding: 28px 18px;
  }

  .mode-panel-left {
    border-right: 0;
    padding-bottom: 24px;
  }

  .mode-session-title {
    margin-top: 20px;
    font-size: clamp(22px, 6.4vw, 30px);
  }

  .mode-left-note {
    margin-top: 18px;
    font-size: clamp(16px, 4.3vw, 19px);
    max-width: 100%;
  }

  .in-card-footer-links {
    display: none;
  }

  .mode-panel-right {
    padding-top: 20px;
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 18px;
  }

  .support-info-wrap {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .contact-title {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: clamp(22px, 6vw, 24px);
  }

  .support-item-value {
    font-size: clamp(14px, 4.2vw, 16px);
  }

  .support-info-block h3 {
    font-size: clamp(14px, 4.2vw, 15px);
  }

  .support-info-block p {
    font-size: clamp(14px, 4.2vw, 15px);
  }

  .submit-btn {
    height: 42px;
    font-size: clamp(14px, 3.8vw, 15px);
  }

  .contact-footer-external {
    display: flex;
    width: min(720px, calc(100vw - 20px));
    justify-content: flex-start;
    align-items: center;
    gap: 22px;
    padding-left: 18px;
    margin: 2px auto 16px;
    font-size: 13px;
    line-height: 1;
  }

  .contact-footer-external a {
    white-space: nowrap;
  }
}
