/* Hero */
.hero {
  background: var(--bg-light);
}

.hero-container {
  padding: 64px 24px 72px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
}

.hero-content {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.eyebrow {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1 {
  margin: 0;
  font-size: 52px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.hero-subtitle {
  margin: 0;
  font-size: 20px;
  color: var(--text-body);
  max-width: 30ch;
}

.hero-benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
}

.hero-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-badge {
  align-self: flex-start;
  display: flex;
  align-items: baseline;
  gap: 8px;
  background: var(--success-bg);
  color: var(--success-text);
  border-radius: 12px;
  padding: 12px 18px;
}

.price-badge-label {
  font-size: 15px;
  font-weight: 600;
}

.price-badge-amount {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* Map + form */
.hero-visual {
  flex: 1 1 480px;
  min-width: 0;
  position: relative;
  min-height: 580px;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 96px 24px 24px;
  box-sizing: border-box;
  box-shadow: 0 1px 2px rgba(11, 42, 74, 0.06),
    0 12px 40px rgba(11, 42, 74, 0.1);
}

.hero-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 6px 20px rgba(11, 42, 74, 0.12);
}

.map-badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.map-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.map-badge-title {
  font-size: 13px;
  font-weight: 700;
}

.map-badge-subtitle {
  font-size: 12px;
  color: var(--text-subtle);
}

/* Contact form */
.contact-form {
  position: relative;
  width: 100%;
  max-width: 380px;
  background: var(--white);
  border-radius: 20px;
  padding: 28px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 12px 40px rgba(11, 42, 74, 0.16);
}

.contact-form-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-form-header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.contact-form-header p {
  margin: 0;
  font-size: 14px;
  color: var(--text-subtle);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.form-field input {
  font: inherit;
  font-weight: 400;
  font-size: 15px;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--input-border);
  border-radius: 10px;
  color: var(--navy);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-body);
}

.form-consent a {
  text-decoration: none;
  font-weight: 600;
}

.form-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--accent);
}

.form-submit {
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  background: var(--accent);
  border: 0;
  border-radius: 12px;
  height: 50px;
  cursor: pointer;
}

/* Form states (js/contactForm.js) */
.form-field input[aria-invalid="true"] {
  border-color: var(--error-text);
  box-shadow: 0 0 0 1px var(--error-text);
}

.form-consent input[aria-invalid="true"] {
  outline: 2px solid var(--error-text);
  outline-offset: 2px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-message {
  margin: 0;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}

.form-message-success {
  background: var(--success-bg);
  color: var(--success-text);
}

.form-message-error {
  background: var(--error-bg);
  color: var(--error-text);
}

.form-submit:disabled {
  cursor: progress;
  opacity: 0.8;
}

.form-submit.is-loading::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 10px;
  vertical-align: -3px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: form-spin 0.8s linear infinite;
}

@keyframes form-spin {
  to {
    transform: rotate(360deg);
  }
}
