body.contact-page {
  font-family: "DM Sans", sans-serif;
  background: #ffffff;
  color: #0e0e0e;
}

.contact-page main {
  background: #ffffff;
}

.contact-page {
  --red: #E8152A;
  --red-dark: #B50D1E;
  --red-pale: #FFF0F1;
  --black: #0E0E0E;
  --gray: #6B6B6B;
  --gray-lt: #ADADAD;
  --border: #E8E8E8;
  --light: #F6F6F4;
  --white: #FFFFFF;
  --container: 1100px;
}

.contact-wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.contact-page-hero {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.contact-page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
}

.contact-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.contact-page-hero-inner {
  position: relative;
  z-index: 1;
  padding: 64px 24px 72px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.contact-page-hero-eyebrow {
  font-family: "Syne", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.contact-page-hero-headline {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.08;
  color: var(--white);
}

.contact-page-hero-headline em {
  font-style: italic;
  color: var(--red);
}

.contact-page-hero-right {
  flex-shrink: 0;
  text-align: right;
}

.contact-page-hero-sub {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.72;
  max-width: 300px;
  text-align: right;
}

.contact-section {
  padding: 80px 0;
  background: var(--white);
}

.contact-grid,
.bottom-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 32px;
  align-items: start;
}

.info-panel,
.diff-panel {
  background: var(--black);
  border-radius: 10px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}

.info-panel::before,
.diff-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
}

.info-panel::after {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 21, 42, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.diff-panel::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 21, 42, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.info-tag,
.diff-tag,
.faq-eyebrow {
  font-family: "Syne", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  position: relative;
  z-index: 1;
}

.info-tag {
  margin-bottom: 18px;
}

.info-headline,
.diff-headline,
.faq-headline,
.form-headline {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 900;
  color: var(--black);
}

.info-headline {
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.info-body,
.diff-item,
.faq-a-inner,
.form-sub {
  font-weight: 300;
}

.info-body {
  margin: 0 0 36px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.44);
  line-height: 1.72;
  position: relative;
  z-index: 1;
}

.info-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.info-row {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-left: 3px solid var(--red);
  border-radius: 0 6px 6px 0;
  padding: 16px 18px;
  transition: background 0.2s;
}

.info-row:hover {
  background: rgba(255, 255, 255, 0.08);
}

.info-row-title {
  font-family: "Syne", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-row-title i {
  color: var(--red);
  font-size: 11px;
}

.info-row-body {
  font-size: 12.5px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

.info-row-body a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.info-row-body a:hover {
  color: var(--red);
}

.form-panel,
.faq-panel {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
}

.form-panel {
  padding: 44px;
}

.form-headline {
  font-size: clamp(24px, 2.6vw, 36px);
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.form-sub {
  margin: 0 0 32px;
  font-size: 13.5px;
  color: var(--gray-lt);
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
}

.form-group-full {
  margin-bottom: 16px;
}

.form-label {
  font-family: "Syne", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
}

.form-label-optional {
  color: var(--gray-lt);
  font-size: 9px;
  text-transform: none;
  letter-spacing: 0;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 13px 16px;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--black);
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--gray-lt);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(232, 21, 42, 0.08);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: var(--gray-lt);
  pointer-events: none;
}

.btn-send {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--red);
  color: var(--white);
  font-family: "Syne", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 17px 32px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 8px 28px rgba(232, 21, 42, 0.22);
}

.btn-send:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(232, 21, 42, 0.32);
}

.contact-form-shell {
  position: relative;
}

.contact-submit-success {
  border: 1px solid rgba(47, 133, 90, 0.28);
  background: #eefaf2;
  padding: 28px 24px;
  text-align: center;
  animation: contactSuccessIn 0.36s ease both;
}

.contact-submit-success[hidden] {
  display: none !important;
}

.contact-submit-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d6f5e2;
  color: #1f8f57;
  font-size: 24px;
}

.contact-submit-success-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #1f8f57;
  line-height: 1.25;
}

.contact-submit-success-copy {
  margin: 10px auto 0;
  max-width: 480px;
  font-size: 14px;
  line-height: 1.7;
  color: #2f855a;
}

.contact-submit-again-btn {
  margin-top: 18px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #1f8f57;
  background: #ffffff;
  color: #1f8f57;
  font-family: "Syne", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.contact-submit-again-btn:hover {
  background: #1f8f57;
  color: #ffffff;
}

@keyframes contactSuccessIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.contact-status {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid rgba(47, 133, 90, 0.2);
  background: #eefaf2;
  color: #2f855a;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.contact-status:empty {
  display: none;
}

.contact-status.is-hiding {
  opacity: 0;
  transform: translateY(-8px);
}

.contact-status.is-error {
  border-color: rgba(176, 0, 32, 0.25);
  background: #fff2f4;
  color: #b00020;
}

.form-note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 11px;
  color: var(--gray-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.form-note i {
  font-size: 10px;
}

.contact-page .auth-field .form-error {
  margin-top: 8px;
  color: var(--red-dark);
  font-size: 12px;
  line-height: 1.5;
}

.contact-page .form-input.is-invalid,
.contact-page .form-select.is-invalid,
.contact-page .form-textarea.is-invalid {
  border-color: var(--red-dark);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(232, 21, 42, 0.08);
}

.bottom-section {
  padding: 0 0 80px;
  background: var(--white);
}

.diff-headline {
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -0.8px;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.diff-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.diff-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.diff-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.diff-item i {
  color: var(--red);
  font-size: 12px;
  margin-top: 4px;
  flex-shrink: 0;
}

.faq-panel {
  padding: 40px;
}

.faq-headline {
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 32px;
}

.faq-list {
  border-top: 1.5px solid var(--border);
}

.faq-item {
  border-bottom: 1.5px solid var(--border);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  user-select: none;
}

.faq-q-text {
  font-family: "Syne", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.4;
  transition: color 0.2s;
}

.faq-q:hover .faq-q-text {
  color: var(--red);
}

.faq-toggle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s, transform 0.3s;
}

.faq-toggle i {
  font-size: 11px;
  color: var(--black);
  transition: color 0.2s;
}

.faq-item.open .faq-toggle {
  background: var(--red);
  border-color: var(--red);
  transform: rotate(45deg);
}

.faq-item.open .faq-toggle i {
  color: var(--white);
}

.faq-item.open .faq-q-text {
  color: var(--red);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s ease, padding 0.3s ease;
}

.faq-item.open .faq-a {
  max-height: 200px;
}

.faq-a-inner {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.75;
  padding: 0 0 20px;
}

@media (max-width: 1040px) {
  .contact-page-hero-inner,
  .contact-grid,
  .bottom-grid {
    grid-template-columns: 1fr;
  }

  .contact-page-hero-inner {
    display: grid;
    padding: 54px 24px 60px;
  }

  .contact-page-hero-right,
  .contact-page-hero-sub {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .contact-section {
    padding: 56px 0;
  }

  .bottom-section {
    padding: 0 0 56px;
  }

  .info-panel,
  .diff-panel,
  .form-panel,
  .faq-panel {
    padding: 28px 22px;
  }

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

  .contact-page-hero-headline {
    font-size: clamp(30px, 11vw, 44px);
    letter-spacing: -1.4px;
  }
}

@media (max-width: 520px) {
  .contact-wrap {
    padding: 0 16px;
  }

  .contact-page-hero-inner {
    padding: 46px 16px 52px;
  }

  .btn-send {
    padding: 16px 22px;
  }
}

/* Square style for contact sections only (nav/footer excluded) */
.contact-page .contact-page-hero,
.contact-page .contact-page-hero *,
.contact-page .contact-page-hero *::before,
.contact-page .contact-page-hero *::after,
.contact-page .contact-section,
.contact-page .contact-section *,
.contact-page .contact-section *::before,
.contact-page .contact-section *::after,
.contact-page .bottom-section,
.contact-page .bottom-section *,
.contact-page .bottom-section *::before,
.contact-page .bottom-section *::after {
  border-radius: 0 !important;
}
