:root {
  --ink: #16211f;
  --muted: #66716c;
  --paper: #f5f1eb;
  --surface: #fffdfa;
  --line: #e4d9cd;
  --emerald: #075d5b;
  --emerald-2: #0b7d78;
  --mist: #e4f2f0;
  --plum: #5b2434;
  --rose: #f6e7df;
  --amber: #c58b2d;
  --blue: #1d4768;
  --shadow: 0 24px 70px rgba(22, 33, 31, 0.14);
  --shadow-soft: 0 14px 34px rgba(22, 33, 31, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(11, 125, 120, 0.12), transparent 28%),
    radial-gradient(circle at 88% 4%, rgba(197, 139, 45, 0.13), transparent 24%),
    linear-gradient(180deg, #fffdf9 0%, var(--paper) 58%, #eee6dc 100%);
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.62;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(22, 33, 31, 0.08);
  background: rgba(255, 253, 250, 0.92);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 210px;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 210px;
  height: auto;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  color: var(--muted);
  font-size: 0.94rem;
}

nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

nav a:hover {
  color: var(--emerald);
  border-color: rgba(7, 93, 91, 0.14);
  background: var(--mist);
  box-shadow: 0 8px 18px rgba(7, 93, 91, 0.08);
  transform: translateY(-1px);
}

nav a.nav-primary {
  color: #fff;
  border-color: var(--emerald);
  background: linear-gradient(135deg, var(--emerald), var(--emerald-2));
  box-shadow: 0 12px 26px rgba(7, 93, 91, 0.18);
}

nav a.nav-primary:hover {
  color: #fff;
  background: linear-gradient(135deg, #064f4d, var(--emerald-2));
}

.hero {
  min-height: calc(74vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  align-items: start;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(34px, 5vw, 66px) clamp(22px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.story-card span,
.hero-panel span {
  margin: 0 0 12px;
  color: var(--emerald);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--plum);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.65rem, 5.2vw, 5rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  line-height: 1.04;
}

h3 {
  font-size: clamp(1.35rem, 2.3vw, 2.05rem);
  line-height: 1.1;
}

.hero-copy p:not(.eyebrow) {
  max-width: 660px;
  margin: 22px 0 0;
  color: #3c4642;
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
}

.hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-strip strong,
.filter-row strong {
  color: var(--emerald);
}

.hero-strip span,
.filter-row span {
  color: var(--muted);
}

.hero-strip span::after,
.filter-row span::after {
  content: "·";
  margin-left: 10px;
  color: var(--emerald);
}

.hero-strip span:last-child::after,
.filter-row span:last-child::after {
  content: "";
  margin-left: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button,
.story-card a,
.hero-panel a,
.submission-form button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.story-card a:hover,
.hero-panel a:hover,
.submission-form button:hover {
  transform: translateY(-2px);
}

.primary,
.submission-form button {
  border: 1px solid var(--emerald);
  color: #fff;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-2));
  box-shadow: 0 14px 30px rgba(7, 93, 91, 0.24);
}

.secondary,
.story-card a,
.hero-panel a {
  border: 1px solid rgba(7, 93, 91, 0.18);
  color: var(--emerald);
  background: var(--mist);
}

.hero-panel {
  overflow: hidden;
  border: 1px solid rgba(22, 33, 31, 0.08);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.92);
  box-shadow: var(--shadow);
}

.hero-image {
  margin: 0;
  align-self: start;
  margin-top: 6px;
  overflow: hidden;
  border: 1px solid rgba(22, 33, 31, 0.08);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.92);
  box-shadow: var(--shadow);
}

.hero-image img {
  display: block;
  width: 100%;
  height: clamp(340px, 48vh, 520px);
  padding: 14px;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(135deg, #fff7ec, #e8f2ef);
  transform: none;
}

.hero-image figcaption {
  padding: 16px 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.recommended img {
  display: block;
  width: 100%;
  height: 220px;
  padding: 16px;
  background: linear-gradient(135deg, #fff7ec, #e8f2ef);
  object-fit: contain;
}

.recommended div {
  padding: 24px;
}

.hero-panel span {
  display: block;
  padding: 22px 24px 0;
}

.hero-panel strong {
  display: block;
  color: var(--plum);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  line-height: 1.08;
}

.hero-panel p {
  margin: 14px 0 20px;
  color: var(--muted);
}

.dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 20px;
  padding: 0 clamp(22px, 7vw, 96px);
  margin-top: -34px;
  position: relative;
  z-index: 2;
}

.search-panel,
.status-panel {
  border: 1px solid rgba(22, 33, 31, 0.08);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.94);
  box-shadow: var(--shadow);
}

.search-panel {
  padding: 24px;
}

.search-panel h2 {
  max-width: 680px;
  font-size: clamp(1.65rem, 3vw, 2.8rem);
}

.search-panel p {
  max-width: 680px;
  color: var(--muted);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.94rem;
}

.status-panel {
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(7, 93, 91, 0.94), rgba(29, 71, 104, 0.92)),
    var(--emerald);
  color: #fff;
}

.status-panel strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.1;
}

.status-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.visual-story {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 0;
  margin: clamp(42px, 6vw, 76px) clamp(22px, 7vw, 96px) 0;
  overflow: hidden;
  border: 1px solid rgba(22, 33, 31, 0.08);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.92);
  box-shadow: var(--shadow);
}

.visual-story img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.visual-story div {
  display: grid;
  align-content: center;
  padding: clamp(28px, 5vw, 52px);
}

.visual-story p:not(.eyebrow) {
  color: var(--muted);
}

.metrics,
.section {
  padding: clamp(46px, 6vw, 86px) clamp(22px, 7vw, 96px);
}

.relatos-section {
  padding-top: clamp(28px, 4vw, 48px);
}

.image-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 0 clamp(22px, 7vw, 96px) clamp(46px, 6vw, 86px);
}

.image-band figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(22, 33, 31, 0.08);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.92);
  box-shadow: var(--shadow-soft);
}

.image-band img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 30%;
}

.image-band figcaption {
  padding: 18px 20px;
  color: var(--muted);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.metrics article,
.story-card,
.submission-form,
.policy-grid article,
.process-grid article,
.topic-grid article,
.faq-grid details {
  position: relative;
  border: 1px solid rgba(22, 33, 31, 0.08);
  border-radius: 8px;
  background: rgba(255, 253, 250, 0.9);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.metrics article:hover,
.story-card:hover,
.policy-grid article:hover,
.process-grid article:hover,
.topic-grid article:hover,
.faq-grid details:hover {
  transform: translateY(-4px);
  border-color: rgba(7, 93, 91, 0.22);
  box-shadow: var(--shadow);
}

.metrics article {
  min-height: 188px;
  padding: 26px;
  overflow: hidden;
}

.metrics article::after,
.policy-grid article::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--amber), var(--emerald));
}

.metrics span {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 50%;
  color: var(--plum);
  background: #fff1d7;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 900;
}

.metrics strong,
.policy-grid strong {
  display: block;
  color: var(--emerald);
  font-size: 1.08rem;
}

.metrics p,
.policy-grid p,
.story-card p,
.section-heading p {
  color: var(--muted);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 30px;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.75fr);
  gap: 24px;
}

.story-list {
  display: grid;
  gap: 22px;
}

.story-list .story-card.featured {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
}

.story-card {
  overflow: hidden;
}

.story-card.featured {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
}

.story-grid.compact .story-card.featured {
  display: block;
}

.story-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  padding: 18px;
  background: linear-gradient(135deg, #fff7ec, #e8f2ef);
  object-fit: contain;
}

.story-card div,
.story-card.empty {
  padding: 30px;
}

.story-card.featured div {
  display: grid;
  align-content: center;
}

.story-card p {
  margin: 18px 0 22px;
}

.story-card.empty {
  border-color: rgba(197, 139, 45, 0.28);
  background: linear-gradient(180deg, #fffdf9, #fff1d7);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.submission-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow);
}

.submission-form label {
  display: grid;
  gap: 8px;
  color: var(--plum);
  font-size: 0.95rem;
  font-weight: 850;
}

.submission-form input,
.submission-form select,
.submission-form textarea {
  width: 100%;
  border: 1px solid #d8c9ba;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(255, 253, 250, 0.92);
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.submission-form input[type="file"] {
  padding: 12px;
  color: var(--muted);
  background: #fff;
}

.submission-form small {
  color: var(--muted);
  font-weight: 500;
  line-height: 1.45;
}

.form-success {
  margin: 0;
  padding: 14px 16px;
  border-left: 5px solid var(--emerald);
  border-radius: 8px;
  color: var(--emerald);
  background: var(--mist);
  font-weight: 850;
}

.submission-form input:focus,
.submission-form select:focus,
.submission-form textarea:focus {
  outline: none;
  border-color: var(--emerald);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(7, 93, 91, 0.12);
}

.submission-form textarea {
  resize: vertical;
}

.submission-form .check {
  grid-template-columns: auto 1fr;
  align-items: start;
  color: var(--muted);
  font-weight: 500;
}

.submission-form .check input {
  width: auto;
  margin-top: 6px;
}

.submission-form button {
  justify-self: start;
  border: 0;
  font-size: 1rem;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-grid article {
  min-height: 230px;
  padding: 24px;
}

.process-grid span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--emerald), var(--blue));
  font-weight: 900;
}

.process-grid strong,
.topic-grid strong {
  display: block;
  color: var(--plum);
  font-size: 1.05rem;
}

.process-grid p,
.topic-grid p,
.faq-grid p {
  color: var(--muted);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.topic-grid article {
  min-height: 190px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.92), rgba(228, 242, 240, 0.58)),
    var(--surface);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-grid details {
  padding: 20px 22px;
}

.faq-grid summary {
  color: var(--emerald);
  font-weight: 900;
  cursor: pointer;
}

.faq-grid p {
  margin-bottom: 0;
}

.policy-grid article {
  min-height: 190px;
  padding: 26px;
  overflow: hidden;
}

.trust {
  padding-top: 20px;
}

.trust-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(26px, 5vw, 64px);
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(7, 93, 91, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(228, 242, 240, 0.92), rgba(255, 253, 250, 0.94)),
    var(--surface);
  box-shadow: var(--shadow);
}

.trust-card h2 {
  max-width: 620px;
}

.trust-card > div > p:not(.eyebrow) {
  color: var(--muted);
}

.trust-list {
  display: grid;
  gap: 14px;
}

.trust-list article {
  padding: 18px;
  border: 1px solid rgba(22, 33, 31, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.trust-list strong {
  display: block;
  color: var(--emerald);
}

.trust-list p {
  margin: 6px 0 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(22px, 7vw, 96px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255, 253, 250, 0.78);
}

.site-footer strong {
  color: var(--emerald);
}

@media (max-width: 980px) {
  .hero,
  .dashboard,
  .visual-story,
  .image-band,
  .story-card.featured,
  .story-list .story-card.featured,
  .story-grid,
  .split,
  .metrics,
  .process-grid,
  .topic-grid,
  .faq-grid,
  .policy-grid,
  .trust-card {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .recommended {
    max-width: 560px;
  }
}

@media (max-width: 680px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .brand img {
    width: 190px;
  }

  h1 {
    font-size: clamp(2.55rem, 11vw, 3.8rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard {
    margin-top: 0;
    padding-top: 22px;
  }

  .button {
    width: 100%;
  }
}
