.contact-page {
  --contact-accent: var(--brand-lime, #adf44d);
  --contact-accent-dk: var(--brand-lime, #adf44d);
  --contact-accent-ink: #0a141e;
  --contact-accent-soft: rgba(173, 244, 77, .12);
  --contact-accent-border: rgba(173, 244, 77, .22);
  color: #0f172a;
  background: #fff;
}

.contact-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0a1219 0%, var(--surface-dark, #1e2832) 52%, #24313d 100%);
  color: #fff;
  padding: 88px 24px 96px;
  text-align: center;
}

.contact-hero::before,
.contact-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
}

.contact-hero::before {
  top: -20%;
  left: -10%;
  width: 50%;
  height: 50%;
  background: rgba(134, 98, 246, .2);
}

.contact-hero::after {
  bottom: -10%;
  right: -10%;
  width: 50%;
  height: 50%;
  background: rgba(173, 244, 77, .07);
}

.contact-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
}

.contact-hero h1 {
  margin: 0 0 28px;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-family: var(--font-heading, 'TT Hoves Medium', sans-serif);
  font-weight: 800;
}

.contact-hero p {
  margin: 0 auto;
  max-width: 760px;
  font-size: clamp(.98rem, 2vw, 1.12rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, .88);
}

.contact-body {
  background: #fff;
  padding: 56px 24px 48px;
  margin-top: 0;
}

.contact-body__wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.contact-page__alert {
  margin: 0 0 24px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: .9rem;
  line-height: 1.5;
}

.contact-page__alert--success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}

.contact-page__alert--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.contact-cards {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 24px;
  align-items: stretch;
  padding-top: 8px;
}

.contact-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e8eaed;
  box-shadow: 0 12px 40px rgba(15, 23, 42, .06);
  padding: 34px 34px 36px;
}

.contact-card h2 {
  margin: 0 0 28px;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-family: var(--font-heading, 'TT Hoves Medium', sans-serif);
  font-weight: 500;
  color: #111827;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #d5dbe5;
  border-radius: 0;
  background: transparent;
  padding: 10px 0 12px;
  font-size: 16px;
  color: #0f172a;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-field textarea {
  resize: vertical;
  min-height: 88px;
  line-height: 1.55;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #94a3b8;
  opacity: 1;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-bottom-color: var(--contact-accent);
  box-shadow: 0 1px 0 0 var(--contact-accent);
}

.contact-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .78rem;
  line-height: 1.55;
  color: #64748b;
  cursor: pointer;
  user-select: none;
}

.contact-consent input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--contact-accent-dk);
  flex-shrink: 0;
}

.contact-consent a {
  color: var(--contact-accent-dk);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-submit {
  width: 100%;
  min-height: 54px;
  margin-top: 4px;
  border: 0;
  border-radius: var(--btn-radius, 4px);
  background: var(--contact-accent);
  color: var(--contact-accent-ink);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .01em;
  cursor: pointer;
  transition: background .18s ease, box-shadow .18s ease;
  box-shadow: none;
}

.contact-submit:hover:not(:disabled) {
  background: var(--contact-accent-dk);
  color: var(--contact-accent-ink);
  box-shadow: none;
}

.contact-submit:active:not(:disabled) {
  transform: none;
}

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

.contact-card--info {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  background: linear-gradient(160deg, #f8fdf2 0%, #f2fae6 100%);
  border-color: var(--contact-accent-border);
  box-shadow: 0 16px 44px rgba(173, 244, 77, .1);
}

.contact-card--info h2 {
  color: var(--contact-accent-ink);
}

.contact-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: grid;
  gap: 14px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(173, 244, 77, .18);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.contact-info-item:hover {
  border-color: rgba(173, 244, 77, .32);
  box-shadow: 0 8px 24px rgba(173, 244, 77, .1);
  transform: translateY(-1px);
}

.contact-info-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
  text-align: left;
}

.contact-info-label {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--contact-accent-ink);
}

.contact-info-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--btn-radius, 4px);
  background: var(--contact-accent);
  color: var(--contact-accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: none;
}

.contact-info-icon .ph-duotone {
  line-height: 1;
}

.contact-info-icon .ph-duotone .ph-fill {
  fill: var(--contact-accent-ink);
  opacity: .35;
}

.contact-info-copy a {
  color: #1e293b;
  font-size: .95rem;
  line-height: 1.6;
  font-weight: 600;
  text-decoration: none;
  transition: color .15s ease;
}

.contact-info-copy a:hover {
  color: var(--contact-accent-ink);
}

.contact-map {
  width: 100%;
  background: #fff;
  padding: 0 24px 72px;
}

.contact-map__wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.contact-map__frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--contact-accent-border);
  box-shadow: 0 16px 48px rgba(173, 244, 77, .12);
  background: linear-gradient(135deg, #f8fdf2 0%, #fff 100%);
  padding: 6px;
}

.contact-map__iframe {
  display: block;
  width: 100%;
  height: min(420px, 56vw);
  min-height: 280px;
  border: 0;
  border-radius: 14px;
}

@media (max-width: 960px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-card--info {
    padding-top: 30px;
    padding-bottom: 32px;
  }
}

@media (max-width: 520px) {
  .contact-hero {
    padding: 72px 20px 80px;
  }

  .contact-body {
    padding: 40px 16px 32px;
  }

  .contact-card {
    padding: 24px 20px 28px;
    border-radius: 14px;
  }

  .contact-card h2 {
    margin-bottom: 22px;
  }

  .contact-info-item {
    padding: 14px 16px;
  }

  .contact-map {
    padding: 0 16px 56px;
  }
}
