@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;600;700&family=Oswald:wght@400;600&display=swap');

:root {
  color-scheme: light;
  --accent: rgb(255 123 70);
  --ink: #1f1f24;
  --muted: #6a6a75;
  --surface: #ffffff;
  --surface-alt: #f8f4f0;
  --stroke: #e6ded6;
  --shadow: 0 20px 40px rgba(28, 24, 20, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top, #f8e8d9 0%, #f6f2ee 40%, #f1f4f7 100%);
  min-height: 100vh;
}

.app {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 18px 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin-top: -4px;
  margin-bottom: -4px;
}

.logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 6px;
}

.eyebrow {
  margin: 0 0 1px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 0;
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  line-height: 1.1;
}

.subtitle {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.card {
  background: var(--surface);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.map {
  height: 260px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--stroke);
}

.button {
  border: none;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.button.primary {
  background: var(--surface-alt);
  color: var(--ink);
}

.button.accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 32px rgba(255, 123, 70, 0.35);
}

.button.success {
  background: linear-gradient(135deg, #1f9c59, #2ecc71);
  color: #fff;
  box-shadow: 0 16px 32px rgba(30, 160, 90, 0.35);
}

.button:active {
  transform: translateY(2px);
}

.button-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
}

.coords {
  font-size: 13px;
  color: var(--muted);
}

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

.label {
  font-size: 13px;
  color: var(--muted);
}

input[type='text'],
input[type='tel'],
textarea {
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
}

textarea {
  min-height: 54px;
  resize: vertical;
  line-height: 1.4;
}

input:focus {
  outline: 2px solid rgba(255, 123, 70, 0.35);
  border-color: rgba(255, 123, 70, 0.6);
}

.file {
  border: 2px dashed var(--stroke);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  background: #fffaf6;
  cursor: pointer;
}

.file input {
  display: none;
}

.preview-meta {
  font-size: 12px;
  color: var(--muted);
}

.preview {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.preview img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  flex: 0 0 auto;
}

.captcha {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  overflow: hidden;
  width: 100%;
}

.captcha-inner {
  transform-origin: top center;
  display: inline-block;
}

.captcha-inner iframe,
.captcha-inner > div {
  max-width: 100%;
}

.captcha-inner iframe {
  width: 100%;
}

.card {
  overflow: hidden;
}

.submit {
  position: sticky;
  bottom: 16px;
}

.status {
  font-size: 13px;
  color: var(--muted);
}

.footer {
  text-align: center;
  padding: 14px 14px;
  color: var(--muted);
  font-size: 12px;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.footer-logo {
  width: 54px;
  height: auto;
  display: block;
}

.footer-title {
  font-family: inherit;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.4;
}

.footer-accent {
  color: var(--accent);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.footer a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.footer a:hover {
  color: #e45a35;
}

.status.error {
  color: #c0392b;
}

.status.success {
  color: #2c7a4b;
}

@media (min-width: 720px) {
  .app {
    padding: 32px 24px 80px;
  }

  .map {
    height: 320px;
  }
}
