:root {
  color-scheme: light;
  font-family: 'Open Sans', sans-serif;
  background-color: #f2f7fb;
  color: #13324c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: inherit;
  background: radial-gradient(circle at top, #d8ecf7, #f2f7fb 40%);
  color: inherit;
}

.grecaptcha-badge {
  visibility: hidden !important;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 48px 24px 32px;
  max-width: 1080px;
  margin: 0 auto;
}

.hero {
  background: linear-gradient(145deg, rgba(37, 137, 189, 0.12), rgba(255, 255, 255, 0.85));
  border-radius: 28px;
  padding: 48px;
  display: flex;
  align-items: center;
  gap: 48px;
  box-shadow: 0 20px 40px rgba(19, 50, 76, 0.12);
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: clamp(2.25rem, 4vw, 3rem);
  margin: 8px 0 16px;
  color: #0f2a44;
}

.hero-content p {
  margin: 0 0 16px;
  line-height: 1.6;
  font-size: 1.05rem;
}

.hero-content .fine-print {
  font-size: 0.95rem;
  color: rgba(19, 50, 76, 0.72);
}

.hero-figure {
  flex: 0 0 260px;
}

.hero-figure img {
  width: 100%;
}

.eyebrow {
  display: inline-block;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: #2589bd;
}

.content {
  display: flex;
  flex-direction: column;
}

.card {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 16px 32px rgba(15, 42, 68, 0.12);
  border: 1px solid rgba(37, 137, 189, 0.08);
}

.card h2 {
  margin-top: 0;
  font-size: 1.75rem;
  color: #0f2a44;
}

.ticket-form {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

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

.field label {
  font-weight: 600;
  color: #0f2a44;
}

.required {
  color: #d1495b;
}

input,
textarea {
  font: inherit;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(15, 42, 68, 0.18);
  background: rgba(255, 255, 255, 0.92);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #2589bd;
  box-shadow: 0 0 0 4px rgba(37, 137, 189, 0.18);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.field-hint {
  margin: -4px 0 0;
  font-size: 0.85rem;
  color: rgba(15, 42, 68, 0.65);
}

.field-hint.invalid {
  color: #d1495b;
}

.field-error input {
  border-color: #d1495b;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.primary-button {
  border: none;
  border-radius: 999px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 1rem;
  color: #ffffff;
  background: linear-gradient(135deg, #2589bd, #1f6e99);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.primary-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(31, 110, 153, 0.28);
}

.primary-button:disabled {
  opacity: 0.7;
  cursor: progress;
}

.primary-button.success {
  background: linear-gradient(135deg, #1f9d6d, #178758);
}

.primary-button.error {
  background: linear-gradient(135deg, #d1495b, #b13c4b);
}

.icon-button {
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: rgba(15, 42, 68, 0.72);
}

.security-note {
  font-size: 0.85rem;
  color: rgba(15, 42, 68, 0.6);
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  padding: 24px 0 8px;
  color: rgba(15, 42, 68, 0.72);
}

.site-footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #2589bd;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 23, 36, 0.45);
  display: grid;
  place-items: center;
  z-index: 1000;
  padding: 16px;
}

.modal {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 18px 35px rgba(9, 23, 36, 0.22);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.modal h2 {
  margin: 0;
  font-size: 1.4rem;
  color: #0f2a44;
}

.modal p {
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 32px;
  }

  .hero-content {
    order: 2;
  }

  .hero-figure {
    order: 1;
    width: 220px;
  }

  .actions {
    width: 100%;
    align-items: stretch;
  }

  .primary-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 32px 16px;
  }

  .card {
    padding: 28px 20px;
  }

  .hero {
    padding: 32px 20px;
  }
}
