:root {
  --accent: #2fa0d2;
  --text: #111;
  --border: #7fc5df;
  --max: 980px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
}

.site-header {
  text-align: center;
  padding: 40px 20px 20px;
}

.brand-name {
  font-size: 48px;
  font-weight: 700;
}

.brand-subtitle {
  letter-spacing: 4px;
  font-size: 14px;
}

.hero {
  display: flex;
  justify-content: center;
}

.hero-img {
  width: min(var(--max), 100%);
  height: 400px;
  object-fit: cover;
}

.section {
  padding: 40px 20px 10px;
}

.section-title {
  text-align: center;
  color: var(--accent);
  font-size: 26px;
  font-weight: 700;
}

.map-wrap {
  display: flex;
  justify-content: center;
  padding: 20px;
}

.map-stage {
  width: min(var(--max), 100%);
}

#map {
  width: 100%;
  height: 520px;
}

.contact-form {
  width: min(760px, 100%);
  margin: 20px auto;
  display: grid;
  gap: 15px;
}

.input,
.textarea {
  width: 100%;
  padding: 14px;
  border: 2px solid var(--border);
  font-size: 14px;
}

.textarea {
  min-height: 150px;
}

.btn {
  width: 140px;
  margin: 0 auto;
  padding: 10px;
  border: none;
  background: var(--accent);
  color: white;
  font-weight: 700;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.3s ease, transform 0.1s ease;
}

.btn:hover {
  background: #2288b5;
}

.btn:active {
  transform: scale(0.97);
  background: #1a6e96;
}

.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.btn:disabled {
  background: #cfcfcf;
  cursor: not-allowed;
  transform: none;
}

.site-footer {
  text-align: center;
  padding: 30px 20px;
  font-size: 12px;
  color: #666;
}

.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.fade-in-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.form-success {
  color: #2e7d32;
  background: #f0faf0;
  border: 1px solid #a5d6a7;
  border-radius: 6px;
  padding: 12px 16px;
  margin-top: 12px;
  font-size: 0.95rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.form-error {
  color: #c62828;
  background: #fff5f5;
  border: 1px solid #ef9a9a;
  border-radius: 6px;
  padding: 12px 16px;
  margin-top: 12px;
  font-size: 0.95rem;
}