:root {
  --primary: #004aad;
  --secondary: #f4f7f6;
  --text: #333;
  --white: #ffffff;
  --accent: #27ae60;

  --muted: #667085;
  --border: #dbe4ea;
  --surface-soft: #f8fbff;
  --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 18px 40px rgba(0, 74, 173, 0.08);
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, #f7f9fb 0%, var(--secondary) 100%);
  color: var(--text);
  line-height: 1.6;
  padding-top: 60px;
}

nav {
  background: var(--white);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  margin: 0 15px;
  font-size: 0.9rem;
  transition: color 0.25s ease, background 0.25s ease, transform 0.2s ease;
}

nav a:hover {
  color: var(--primary);
}

.nav-special {
  color: var(--accent) !important;
  border: 1px solid var(--accent);
  padding: 6px 12px;
  border-radius: 8px;
}

.nav-special:hover {
  background: var(--accent);
  color: var(--white) !important;
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px;
}

header {
  text-align: center;
  padding: 56px 20px 50px;
  background-color: var(--white);
  border-bottom: 1px solid #eee;
  border-radius: 0 0 24px 24px;
}

.logo-container {
  max-width: 420px;
  margin: 0 auto;
}

.logo-img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

header p {
  color: #666;
  font-size: 0.98rem;
  max-width: 620px;
  margin: 0 auto;
  font-weight: 500;
}

.content {
  margin-top: 40px;
}

.card {
  background: var(--white);
  padding: 30px;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

h2 {
  color: var(--primary);
  margin-bottom: 15px;
  border-left: 5px solid var(--primary);
  padding-left: 15px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.service-item {
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 12px;
  background-color: #fafafa;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 24px rgba(0, 74, 173, 0.08);
}

.service-special {
  border: 2px solid var(--accent);
  background-color: #f0fff4;
}

.form-section {
  background: var(--white);
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 760px;
}

.form-aside {
  background: linear-gradient(180deg, var(--primary) 0%, #003986 100%);
  color: var(--white);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 700;
}

.form-aside h3 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1.12;
}

.form-aside p {
  color: rgba(255, 255, 255, 0.92);
}

.benefits {
  display: grid;
  gap: 14px;
}

.benefit {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
}

.benefit strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.98rem;
}

.benefit span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
}

.aside-note {
  margin-top: auto;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.95);
}

.form-content {
  padding: 34px;
  background: var(--white);
}

.heading {
  margin-bottom: 24px;
}

.heading h1 {
  margin-bottom: 8px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--primary);
  line-height: 1.15;
}

.heading p {
  color: var(--muted);
  max-width: 640px;
}

form {
  display: grid;
  gap: 18px;
}

.row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #243b53;
}

.hint {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
  margin-left: 4px;
}

input,
select,
textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  background: var(--surface-soft);
  border-radius: var(--radius-md);
  padding: 14px 15px;
  font-size: 1rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.12s ease;
}

input::placeholder,
textarea::placeholder {
  color: #94a3b8;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 74, 173, 0.12);
  background: var(--white);
  transform: translateY(-1px);
}

textarea {
  resize: vertical;
  min-height: 130px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.check-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.check-card:hover {
  border-color: rgba(0, 74, 173, 0.4);
  background: var(--white);
}

.check-card input[type="radio"],
.check-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
  box-shadow: none;
  transform: none;
  padding: 0;
}

.check-copy strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 3px;
  color: #243b53;
}

.check-copy span {
  font-size: 0.9rem;
  color: var(--muted);
}

.upload {
  border: 1.5px dashed #b8c5d3;
  background: linear-gradient(180deg, #fbfdff 0%, #f7fafc 100%);
  padding: 18px;
  border-radius: var(--radius-md);
}

.upload input[type="file"] {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.footnote {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: -6px;
}

.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.privacy {
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 520px;
}

.btn,
.cta-button {
  appearance: none;
  border: none;
  border-radius: 14px;
  padding: 15px 24px;
  background: linear-gradient(180deg, var(--accent) 0%, #1f8d4d 100%);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  transition: transform 0.12s ease, filter 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 14px 26px rgba(39, 174, 96, 0.22);
}

.btn:hover,
.cta-button:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.btn:active,
.cta-button:active {
  transform: translateY(0);
}

.required {
  color: #c62828;
}

.hidden {
  display: none;
}

.iframe-container {
  position: relative;
  width: 100%;
  padding-top: 100%;
  height: 0;
  overflow: hidden;
  margin-top: 20px;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}

footer {
  text-align: center;
  padding: 40px;
  font-size: 0.9rem;
  color: #777;
}

@media (max-width: 980px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  nav a {
    font-size: 0.8rem;
    margin: 0 5px;
  }

  .container {
    padding: 14px;
  }

  header {
    padding: 42px 16px 36px;
  }

  .card,
  .form-content,
  .form-aside {
    padding: 22px 18px;
  }

  .row,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .cta-button {
    width: 100%;
  }
}
