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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  background: linear-gradient(180deg, #f0f4ff 0%, #f8fafc 100%);
  color: #1e293b;
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 24px;
}

header {
  text-align: center;
  margin-bottom: 48px;
}

.logo {
  max-width: 380px;
  height: auto;
  display: inline-block;
}

.content-row {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.content-col {
  flex: 1;
}

.content-col--image {
  flex: 0 0 45%;
  position: sticky;
  top: 24px;
}

.featured-image {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.15);
}

.content-col--form h1 {
  font-size: 1.5rem;
  color: #1a1a2e;
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.subtitle {
  font-size: 1.05rem;
  color: #475569;
  margin-bottom: 28px;
  line-height: 1.5;
}

.form-wrapper {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  margin-bottom: 24px;
  border: 1px solid #e2e8f0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #0f172a;
  font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #f8fafc;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  background: #fff;
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

button {
  background: #0f172a;
  color: #fff;
  border: none;
  padding: 13px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  width: 100%;
}

button:hover {
  background: #1e293b;
}

button:active {
  transform: scale(0.98);
}

.footer {
  text-align: center;
  padding: 32px 0 16px;
}

.footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2563eb;
  font-weight: 500;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background 0.2s;
}

.footer a:hover {
  background: rgba(37, 99, 235, 0.06);
  text-decoration: none;
}

.alert {
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-weight: 500;
  font-size: 0.925rem;
  line-height: 1.5;
}

.alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.btn-back {
  display: block;
  padding: 13px 28px;
  background: #0f172a;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  width: 100%;
  text-align: center;
}

.btn-back:hover {
  background: #1e293b;
}

.btn-back:active {
  transform: scale(0.98);
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

@media (max-width: 768px) {
  .container {
    padding: 28px 16px;
  }

  .content-row {
    flex-direction: column;
    gap: 32px;
  }

  .content-col--image {
    flex: 0 0 auto;
    position: static;
  }

  .content-col--image {
    display: none;
  }

  .logo {
    max-width: 260px;
  }

  .form-wrapper {
    padding: 24px;
  }

  .content-col--form h1 {
    font-size: 1.35rem;
  }
}
