:root {
  --bg: #18060d;
  --panel: #31111c;
  --panel-2: #261018;
  --panel-3: rgba(255, 255, 255, 0.025);
  --line: #5a2a3a;
  --line-strong: #7c4055;
  --text: #f5e8ec;
  --muted: #d2a7b5;
  --ruby-soft: #f28ca4;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  padding: 40px 24px;
  background:
    radial-gradient(circle at top, rgba(132, 23, 53, 0.22), transparent 35%),
    linear-gradient(180deg, #210912 0%, var(--bg) 100%);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
}

.page {
  width: min(1360px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.card {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.copy {
  padding: 60px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.eyebrow {
  margin: 0;
  color: var(--ruby-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(2.9rem, 5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

h2 {
  margin: 0;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.copy-block {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 34rem;
}

.lead,
.supporting {
  margin: 0;
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  line-height: 1.8;
  color: var(--muted);
}

.lead strong,
.supporting strong {
  color: var(--text);
  font-weight: 600;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 6px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
  cursor: pointer;
}

.cta-primary {
  color: #fff1f4;
  background: linear-gradient(90deg, #b73e5d 0%, #d85676 55%, #f06c8d 100%);
  border: 0;
}

.cta-secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}

.cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.cta:focus-visible,
.inline-link:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ruby-soft);
  outline-offset: 3px;
}

.contact {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.visual {
  min-height: 100%;
  background: var(--panel-2);
  border-left: 1px solid var(--line);
  overflow: hidden;
}

.visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 1.15s ease;
}

.card:hover .visual img {
  transform: scale(1.05);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 28px;
  padding: 44px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  scroll-margin-top: 24px;
}

.contact-section__intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 6px;
}

.section-copy {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  line-height: 1.8;
}

.inline-link {
  color: var(--text);
  text-decoration-color: rgba(242, 140, 164, 0.5);
  text-underline-offset: 0.2em;
}

.lead-form {
  padding: 28px;
  background: var(--panel-3);
  border: 1px solid rgba(242, 140, 164, 0.16);
  border-radius: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}

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

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(12, 4, 8, 0.28);
  color: var(--text);
  font: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: #ba8e9a;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--line-strong);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ruby-soft);
  background: rgba(12, 4, 8, 0.42);
  box-shadow: 0 0 0 4px rgba(242, 140, 164, 0.12);
}

.submit-button {
  margin-top: 22px;
  padding-inline: 24px;
}

@media (max-width: 1100px) {
  .card {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
    min-height: 700px;
  }

  .copy {
    padding: 48px 40px;
  }

  .contact-section {
    grid-template-columns: 1fr;
    padding: 36px;
  }
}

@media (max-width: 900px) {
  body {
    padding: 24px 16px 40px;
  }

  .page {
    gap: 20px;
  }

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

  .copy {
    padding: 32px 24px;
  }

  .copy-block {
    max-width: none;
  }

  .visual {
    border-left: 0;
    border-top: 1px solid var(--line);
    min-height: 420px;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta {
    width: 100%;
  }

  .contact-section {
    padding: 28px 20px;
  }

  .lead-form {
    padding: 20px;
  }

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

  .field-full {
    grid-column: auto;
  }
}
