/* Base */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: #12352b;
  background:
    radial-gradient(1200px 800px at 50% -10%, rgba(39,195,111,0.18) 0%, transparent 60%),
    radial-gradient(900px 700px at 0% 10%, rgba(10,143,70,0.10) 0%, transparent 55%),
    #ffffff;
  display: flex;
  flex-direction: column;
}

/* Container */
.wrap {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  text-align: center;
  padding: 54px 0 14px;
}
.hero {
  display: grid;
  justify-items: center;
  gap: 12px;
}
.logo {
  width: clamp(220px, 42vw, 460px);
  height: auto;
  filter: drop-shadow(0 14px 28px rgba(10, 143, 70, 0.18));
}
.site-header p {
  margin: 0;
  max-width: 860px;
  color: rgba(18,53,43,0.86);
  font-size: 1.03rem;
  line-height: 1.65;
}

/* Main */
.content {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 10px 16px 44px;
}

/* Card */
.card {
  width: min(760px, 100%);
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(14, 122, 68, 0.10);
  border-radius: 22px;
  padding: 30px clamp(18px, 4vw, 40px);
  box-shadow:
    0 18px 40px rgba(10, 143, 70, 0.10),
    0 1px 0 rgba(255,255,255,0.8) inset;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(600px 260px at 30% 0%, rgba(39,195,111,0.14), transparent 60%);
  pointer-events: none;
}
.card > * { position: relative; }

.card h2 {
  margin: 0 0 16px;
  font-size: 1.35rem;
  color: #0a8f46;
  letter-spacing: 0.2px;
}

/* Contacts list */
.contacts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.contacts li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  align-items: start;
  line-height: 1.55;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.contacts strong {
  color: rgba(16,49,38,0.85);
  font-weight: 800;
}
.contacts a {
  color: #0a8f46;
  text-decoration: none;
  border-bottom: 1px solid rgba(10, 143, 70, 0.25);
}
.contacts a:hover { filter: brightness(0.92); }

/* Button */
.actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-start;
}
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(10, 143, 70, 0.10), rgba(39, 195, 111, 0.10));
  border: 1px solid rgba(10, 143, 70, 0.18);
  color: #0a8f46;
  text-decoration: none;
  font-weight: 800;
  transition: transform .08s ease, filter .2s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 22px rgba(10, 143, 70, 0.10);
}
.btn-link::after {
  content: "→";
  font-weight: 900;
}
.btn-link:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(10, 143, 70, 0.14);
}
.btn-link:active { transform: translateY(0); }

/* Footer */
.site-footer {
  text-align: center;
  padding: 16px 12px 18px;
  font-size: 0.92rem;
  color: rgba(58,92,80,0.92);
  border-top: 1px solid rgba(14, 122, 68, 0.10);
  background: rgba(255,255,255,0.66);
  backdrop-filter: blur(8px);
}

/* Responsive */
@media (max-width: 640px) {
  .contacts li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .actions { justify-content: stretch; }
  .btn-link { width: 100%; justify-content: center; }
}

@media (max-width: 380px) {
  .site-header { padding: 44px 0 12px; }
  .card { padding: 24px 16px; border-radius: 18px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
