:root {
  --accent: #b30000;
  --bg: #fdfdfd;
  --text: #111;
  --gray-light: #888;
  --white: #fff;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 1rem;
  background-color: var(--bg);
  color: var(--text);
  font-family: system-ui, sans-serif;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--accent);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.topbar a.home-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.topbar a.home-link svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
  flex-shrink: 0;
}

.socials-topbar {
  display: flex;
  gap: 1rem;
}

.socials-topbar a svg {
  width: 20px;
  height: 20px;
  fill: var(--white);
  display: block;
}

header {
  text-align: center;
  margin-bottom: 0.5rem;
}

.logo {
  width: 84px;
  height: auto;
  margin-bottom: 0.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

h1 {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.1;
  margin: 0;
}

.hotline {
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  margin: 1rem 0;
}

/* Buttons below hotline */
.btn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  max-width: 400px;
  margin: 0 auto 1rem;
}

.btn {
  background-color: var(--accent);
  color: white;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(179, 0, 0, 0.5);
  cursor: pointer;
  display: inline-block;
}

.btn:hover {
  background-color: #8f0000;
}

.btn-outline-active {
  background-color: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  font-weight: 800;
  text-align: center;
  border-radius: 8px;
  padding: 0.75rem;
  cursor: default;
  user-select: none;
}

/* Social media icons below buttons */
.socials {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1rem;
}

.socials img {
  width: 28px;
  height: 28px;
}

/* Form styling */
form {
  border: 2px solid var(--accent);
  border-radius: 16px;
  padding: 24px;
  max-width: 600px;
  margin: 0 auto 2rem auto;
  background: white;
}

form h2 {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 1rem;
  text-align: center;
}

label {
  display: block;
  font-weight: 700;
  margin: 1rem 0 0.5rem 0;
  color: var(--text);
}

input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  resize: vertical;
}

textarea {
  min-height: 60px;
}

input[type="file"] {
  margin-top: 0.5rem;
}

.radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.radio-group label {
  font-weight: 600;
  color: var(--text);
}

button[type="submit"] {
  margin-top: 1rem;
  padding: 12px;
  background-color: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

button[type="submit"]:hover {
  background-color: #8f0000;
}

.captcha-wrapper {
  margin-top: 1rem;
}

.footer-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
  margin: 1.5rem 0;
  user-select: none;
}
