.web-home-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 16, 14, 0.72);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s var(--ease, ease), visibility 0.22s;
}

.web-home-contact-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.web-home-contact-modal__panel {
  position: relative;
  width: min(100%, 520px);
  max-height: min(88vh, 640px);
  overflow: auto;
  padding: 28px 28px 24px;
  border: 1px solid var(--line-dark, rgba(210, 239, 229, 0.12));
  border-radius: var(--radius, 16px);
  background: linear-gradient(165deg, #132820 0%, var(--ink-850, #0c1c18) 42%, #0a1714 100%);
  box-shadow: var(--shadow, 0 24px 80px rgba(1, 14, 10, 0.16));
  color: var(--text-dark, #eaf2ee);
  transform: translateY(10px) scale(0.98);
  transition: transform 0.22s var(--ease, ease);
}

.web-home-contact-modal.is-open .web-home-contact-modal__panel {
  transform: none;
}

.web-home-contact-modal__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(420px 180px at 88% 0%, rgba(57, 201, 141, 0.14), transparent 70%);
}

.web-home-contact-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(200, 246, 223, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  color: #c9d7d2;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s var(--ease, ease), color 0.2s var(--ease, ease);
}

.web-home-contact-modal__close:hover {
  border-color: rgba(57, 201, 141, 0.45);
  color: var(--accent, #39c98d);
}

.web-home-contact-modal__eyebrow {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--accent, #39c98d);
  font: 500 0.68rem/1 var(--font-tech, monospace);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.web-home-contact-modal__eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.web-home-contact-modal__title {
  position: relative;
  margin: 0 0 22px;
  color: #edf5f1;
  font: 600 clamp(1.35rem, 2vw + 1rem, 1.75rem)/1.2 var(--font-tech, monospace);
  letter-spacing: -0.02em;
}

.web-home-contact-modal__list {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.web-home-contact-modal__item {
  padding: 14px 0;
  border-bottom: 1px solid rgba(200, 246, 223, 0.08);
}

.web-home-contact-modal__label {
  display: block;
  margin-bottom: 6px;
  color: #8fa59a;
  font-size: 0.76rem;
}

.web-home-contact-modal__value {
  color: #eaf2ee;
  font-size: 0.92rem;
  line-height: 1.65;
}

.web-home-contact-modal__link {
  color: var(--accent-pale, #c8f6df);
  text-decoration: none;
  transition: color 0.2s var(--ease, ease);
}

.web-home-contact-modal__link:hover {
  color: var(--accent, #39c98d);
  text-decoration: underline;
}

.web-home-contact-modal__sep {
  margin: 0 8px;
  color: #5f7469;
}

body.web-home-contact-open {
  overflow: hidden;
}

[data-contact-modal] > span[aria-hidden="true"] {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .web-home-contact-modal,
  .web-home-contact-modal__panel {
    transition: none;
  }
}

@media (max-width: 620px) {
  .web-home-contact-modal {
    padding: 16px;
    align-items: flex-end;
  }

  .web-home-contact-modal__panel {
    width: 100%;
    max-height: 86vh;
    padding: 24px 20px 20px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
}
