:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-alt: #eef3f9;
  --text: #122033;
  --muted: #4e5d70;
  --brand: #0f5a8a;
  --brand-strong: #0b3f61;
  --border: #d4deea;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: linear-gradient(180deg, #f9fbfe 0%, var(--bg) 100%);
  overflow-x: hidden;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.hero {
  padding: 78px 0 56px;
  color: #fff;
  background: linear-gradient(130deg, var(--brand-strong), #164d72 55%, var(--brand));
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin: 0 0 8px;
  opacity: 0.9;
}

h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
}

.lead {
  margin: 16px 0 0;
  max-width: 760px;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(8, 24, 39, 0.16);
}

.btn.primary {
  background: #fff;
  color: var(--brand-strong);
  border-color: #fff;
}

.btn.dark {
  background: var(--brand-strong);
  color: #fff;
  border-color: var(--brand-strong);
}

.btn:disabled,
.submit-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.authors,
.meta {
  margin-top: 12px;
  font-size: 0.95rem;
  opacity: 0.95;
}

.section {
  padding: 52px 0;
}

.section h2 {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}

.alt {
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.checklist,
.pill-list {
  padding-left: 20px;
}

.cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 14px 30px rgba(15, 40, 68, 0.06);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.big {
  margin: 2px 0 8px;
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-strong);
}

.gallery {
  margin-top: 18px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(15, 40, 68, 0.05);
}

.team-photo {
  margin-top: 18px;
}

.team-photo img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

figure img {
  display: block;
  width: 100%;
  height: auto;
}

figcaption {
  padding: 10px 12px;
  font-size: 0.92rem;
  color: var(--muted);
}

.note {
  color: var(--muted);
}

.warning-note {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid #e9c46a;
  background: #fff8e1;
  border-radius: 8px;
  color: #7b5a05;
}

.action-box {
  margin-top: 18px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(15, 40, 68, 0.05);
}

.request-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  max-width: 760px;
}

.request-form label {
  font-weight: 600;
}

.request-form input,
.request-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  background: #fff;
}

.request-form input:focus,
.request-form textarea:focus {
  outline: 2px solid rgba(15, 90, 138, 0.18);
  border-color: var(--brand);
}

.checkbox-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  margin-top: 4px;
}

.checkbox-line input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

th,
td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

th {
  background: #e2ebf7;
}

.footer {
  padding: 26px 0 40px;
  background: #102133;
  color: #e8edf3;
}

.footer a {
  color: #b8daf6;
}

.small {
  margin-top: 6px;
  font-size: 0.9rem;
  opacity: 0.85;
}

a {
  color: var(--brand);
}

@media (max-width: 640px) {
  .container {
    width: min(100%, 92%);
  }

  .section {
    padding: 38px 0;
  }

  .hero {
    padding: 52px 0 36px;
  }

  .lead,
  .authors,
  .meta {
    font-size: 0.96rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .request-form .btn {
    width: 100%;
    text-align: center;
  }

  .cards,
  .gallery {
    grid-template-columns: 1fr;
  }

  .card,
  figure,
  .action-box {
    border-radius: 14px;
  }

  .team-photo img {
    max-height: 360px;
  }

  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
  }

  thead {
    display: none;
  }

  table {
    border: 0;
    background: transparent;
  }

  tr {
    margin-bottom: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(15, 40, 68, 0.05);
  }

  td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
  }

  td:last-child {
    border-bottom: 0;
  }
}
