:root {
  --bg1: #7dded6;
  --bg2: #59cfe1;
  --bg3: #ffe0a8;
  --card: rgba(255, 248, 235, 0.92);
  --card-strong: rgba(255, 248, 235, 0.97);
  --text: #213234;
  --muted: #5e6d6f;
  --teal: #1ca9a3;
  --teal-dark: #148982;
  --coral: #f77662;
  --coral-dark: #ef624b;
  --border: rgba(39, 92, 90, 0.10);
  --shadow: 0 18px 45px rgba(20, 90, 88, 0.14);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.30), transparent 28%),
    radial-gradient(circle at bottom right, rgba(255,220,150,0.24), transparent 30%),
    linear-gradient(180deg, var(--bg2) 0%, var(--bg1) 42%, #70d9c9 100%);
  overflow-x: hidden;
}

.site-shell {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 60px;
  position: relative;
  z-index: 2;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.38;
  z-index: 0;
  pointer-events: none;
}

.orb-1 {
  width: 260px;
  height: 260px;
  top: 90px;
  left: -60px;
  background: rgba(255, 214, 102, 0.45);
}

.orb-2 {
  width: 340px;
  height: 340px;
  top: 240px;
  right: -80px;
  background: rgba(255, 255, 255, 0.24);
}

.orb-3 {
  width: 220px;
  height: 220px;
  bottom: 70px;
  left: 18%;
  background: rgba(255, 120, 98, 0.20);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}

.hero-text,
.hero-card {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
}

.hero-text {
  padding: 34px 30px;
  position: relative;
  overflow: hidden;
}

.hero-text::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 170px;
  height: 170px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,255,255,0.28), transparent 70%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.25);
  color: #fffef8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 8vw, 86px);
  line-height: 0.9;
  color: #fff9ea;
  text-shadow: 0 3px 10px rgba(63, 74, 75, 0.12);
}

.hero h2 {
  margin: 12px 0 14px;
  font-size: clamp(24px, 3vw, 34px);
  color: #114b4b;
}

.hero p {
  margin: 0;
  max-width: 620px;
  font-size: 18px;
  line-height: 1.65;
  color: #184243;
}

.hero-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.hero-mini {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.28);
}

.hero-mini strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.hero-mini p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 14px;
}

.hero-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  background: rgba(255,255,255,0.38);
  font-size: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px 22px 22px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.form-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(20, 90, 88, 0.18);
}

.form-card-wide {
  grid-column: 1 / -1;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(28,169,163,0.10);
  color: var(--teal-dark);
  font-weight: 800;
  font-size: 14px;
}

.card-emoji {
  font-size: 26px;
}

.form-card label {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.28;
  font-weight: 700;
}

.field-hint {
  margin: -2px 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.warning-text {
  margin: -4px 0 14px;
  color: #d25346;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.form-card input[type="text"],
.form-card textarea {
  width: 100%;
  border: 1px solid rgba(45, 116, 110, 0.12);
  background: rgba(255,255,255,0.92);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 16px;
  color: var(--text);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.form-card input[type="text"] {
  min-height: 54px;
}

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

.form-card input[type="text"]:focus,
.form-card textarea:focus {
  border-color: rgba(28,169,163,0.85);
  box-shadow: 0 0 0 4px rgba(28,169,163,0.12);
  transform: translateY(-1px);
}

.form-card input::placeholder,
.form-card textarea::placeholder {
  color: #a8a9aa;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.upload-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  border: 2px dashed rgba(28,169,163,0.30);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(255,255,255,0.55));
  cursor: pointer;
  text-align: center;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.upload-box:hover {
  transform: translateY(-2px);
  border-color: rgba(28,169,163,0.65);
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.64));
}

.upload-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.upload-title {
  font-size: 17px;
  font-weight: 700;
}

.upload-subtitle {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.photo-status {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-dark);
}

.submit-wrap {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 8px;
}

.submit-button {
  min-width: 280px;
  min-height: 58px;
  padding: 15px 28px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--coral), var(--coral-dark));
  color: white;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 14px 35px rgba(239, 98, 75, 0.26);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.submit-button:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 40px rgba(239, 98, 75, 0.32);
}

.submit-button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.form-error {
  min-height: 1.5em;
  margin-top: 12px;
  color: #9e3829;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

  .form-card-wide {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 20px, 1100px);
    padding-top: 20px;
  }

  .hero-text,
  .hero-card,
  .form-card {
    border-radius: 20px;
  }

  .hero-text {
    padding: 24px 20px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .hero h2 {
    font-size: 24px;
  }

  .hero p {
    font-size: 16px;
  }

  .form-card {
    padding: 20px 16px 18px;
  }

  .form-card label {
    font-size: 20px;
  }

  .submit-button {
    width: 100%;
  }
}
