.contact-page {
  margin-top: -80px;
  --contact-accent: #4f46e5;
  --contact-accent-soft: #eef2ff;
  --contact-ink: #0f172a;
  --contact-muted: #64748b;
  --contact-border: #e2e8f0;
  --contact-card: #ffffff;
  --contact-hero-bg: #0f172a;
}

.contact-shell {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.contact-hero {
  position: relative;
  overflow: hidden;
  background: var(--contact-hero-bg);
  color: #fff;
  padding: 7.5rem 0 4rem;
}

.contact-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
}

.contact-hero-glow--a {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -80px;
  background: #6366f1;
}

.contact-hero-glow--b {
  width: 360px;
  height: 360px;
  bottom: -140px;
  right: -60px;
  background: #22d3ee;
}

.contact-page-header {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.contact-page [data-lucide],
.contact-page svg.lucide {
  width: 1.1em;
  height: 1.1em;
  stroke: currentColor;
  flex-shrink: 0;
}

.contact-page-eyebrow-icon,
.contact-page-eyebrow svg.lucide {
  width: 1rem;
  height: 1rem;
}

.contact-page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.875rem;
  font-weight: 700;
  color: #c7d2fe;
}

.contact-page-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
}

.contact-page-intro {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #cbd5e1;
  font-weight: 500;
}

.contact-shell--body {
  padding: 2.5rem 0 4rem;
}

.contact-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: start;
  }
}

.contact-form-card {
  background: var(--contact-card);
  border: 1px solid var(--contact-border);
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: 0 24px 48px -32px rgba(15, 23, 42, 0.35);
}

@media (min-width: 768px) {
  .contact-form-card {
    padding: 2rem 2.25rem;
  }
}

.contact-form-card-head {
  margin-bottom: 1.5rem;
}

.contact-form-card-title {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--contact-ink);
}

.contact-form-card-subtitle {
  margin: 0;
  color: var(--contact-muted);
  font-weight: 600;
}

.contact-form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .contact-form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.contact-field label {
  font-size: 0.9rem;
  font-weight: 800;
  color: #334155;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid var(--contact-border);
  border-radius: 0.85rem;
  padding: 0.8rem 1rem;
  font: inherit;
  background: #f8fafc;
  color: var(--contact-ink);
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--contact-accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.contact-field textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-recaptcha-wrap {
  display: flex;
  justify-content: center;
  margin: 0.25rem 0 1rem;
}

.contact-form-error {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-weight: 700;
  text-align: center;
}

.contact-form-error.hidden {
  display: none;
}

.contact-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: none;
  border-radius: 0.95rem;
  padding: 1rem 1.25rem;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  cursor: pointer;
  box-shadow: 0 12px 28px -12px rgba(79, 70, 229, 0.65);
  transition: transform 0.15s, opacity 0.15s, box-shadow 0.15s;
}

.contact-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px -12px rgba(79, 70, 229, 0.75);
}

.contact-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.contact-submit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-submit-icon svg.lucide {
  width: 1.15rem;
  height: 1.15rem;
}

.contact-submit-icon.hidden {
  display: none;
}

.contact-success {
  text-align: center;
  padding: 2rem 1rem 2.5rem;
}

.contact-success[hidden] {
  display: none !important;
}

.contact-success-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ecfdf5;
  color: #059669;
}

.contact-success-icon svg.lucide {
  width: 1.75rem;
  height: 1.75rem;
}

.contact-success-title {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--contact-ink);
}

.contact-success-text {
  margin: 0;
  color: var(--contact-muted);
  font-weight: 600;
  line-height: 1.6;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-grid {
  display: grid;
  gap: 0.85rem;
}

.contact-info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.15rem;
  border-radius: 1rem;
  background: var(--contact-card);
  border: 1px solid var(--contact-border);
}

.contact-info-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg.lucide {
  width: 1.2rem;
  height: 1.2rem;
}

.contact-info-icon--mail {
  background: #eef2ff;
  color: #4f46e5;
}

.contact-info-icon--phone {
  background: #ecfdf5;
  color: #059669;
}

.contact-info-icon--map {
  background: #fff7ed;
  color: #ea580c;
}

.contact-info-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 900;
  color: var(--contact-ink);
}

.contact-info-card a {
  color: var(--contact-accent);
  font-weight: 800;
  text-decoration: none;
}

.contact-info-card a:hover {
  text-decoration: underline;
}

.contact-info-card p,
.contact-info-card strong {
  margin: 0.2rem 0 0;
  display: block;
  color: var(--contact-muted);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
}

.contact-info-card strong {
  color: #334155;
}

.contact-trust-panel {
  padding: 1.25rem 1.35rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, #f8fafc, #eef2ff);
  border: 1px solid var(--contact-border);
}

.contact-trust-title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--contact-ink);
}

.contact-trust-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-trust-steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #334155;
  font-weight: 600;
  line-height: 1.5;
}

.contact-trust-step-num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--contact-accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
}

.contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.contact-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: var(--contact-card);
  border: 1px solid var(--contact-border);
  font-size: 0.8rem;
  font-weight: 800;
  color: #475569;
}

.contact-badges svg.lucide {
  color: var(--contact-accent);
  width: 0.95rem;
  height: 0.95rem;
}

.contact-page .site-contact-recaptcha {
  transform-origin: center;
}

.contact-submit .site-contact-btn-spinner {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: contact-spin 0.7s linear infinite;
}

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