:root {
  --ink: #123027;
  --muted: #587167;
  --green: #0f6f33;
  --green-dark: #074d25;
  --orange: #f47a13;
  --gold: #f9a719;
  --paper: #fbfcfa;
  --line: #dfe7e1;
  --shadow: 0 22px 80px rgba(18, 48, 39, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background:
    linear-gradient(130deg, rgba(15, 111, 51, 0.1), rgba(244, 122, 19, 0.08)),
    var(--paper);
}

a {
  color: inherit;
}

.page-shell {
  min-height: 100vh;
}

.hero {
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  padding: 28px clamp(20px, 5vw, 72px) 56px;
}

.topbar {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  width: 78px;
  height: 78px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-actions a {
  min-height: 40px;
  padding: 11px 16px;
  border: 1px solid rgba(15, 111, 51, 0.2);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.72);
}

.hero-grid {
  width: 100%;
  max-width: 1180px;
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
}

.hero-copy {
  padding: 42px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 790px;
  font-size: clamp(3.1rem, 8vw, 7.4rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.lead {
  max-width: 630px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.62;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  box-shadow: 0 14px 36px rgba(15, 111, 51, 0.26);
}

.button.secondary {
  color: var(--ink);
  border: 1px solid var(--line);
  background: white;
}

.logo-panel {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 111, 51, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.logo-panel img {
  width: min(86%, 520px);
  height: auto;
  display: block;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto 56px;
  padding: 32px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.08;
}

.contact-intro p:not(.eyebrow) {
  max-width: 420px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.contact-document {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(15, 111, 51, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)),
    var(--paper);
  box-shadow: var(--shadow);
}

.form-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.form-header img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.form-header span {
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.form-header strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.25;
}

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

label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cdd9d2;
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  background: white;
}

textarea {
  min-height: 148px;
  resize: vertical;
  line-height: 1.5;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(249, 167, 25, 0.32);
  border-color: var(--orange);
}

.field-error {
  border-color: #ba1a1a;
  outline: 3px solid rgba(186, 26, 26, 0.18);
}

.submit-button {
  width: 100%;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
}

.captcha-wrap {
  min-height: 78px;
  margin: 8px 0 18px;
  overflow-x: auto;
}

.form-result {
  margin-top: 22px;
  padding: 20px;
  border: 1px solid rgba(15, 111, 51, 0.2);
  border-radius: 8px;
  background: #f5faf6;
}

.result-title {
  margin: 0 0 6px;
  color: var(--green-dark);
  font-size: 1.05rem;
  font-weight: 900;
}

.result-note {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.55;
}

.result-note a {
  color: var(--green-dark);
  font-weight: 800;
}

.form-result pre {
  max-height: 320px;
  overflow: auto;
  white-space: pre-wrap;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: 0.92rem/1.5 "Courier New", monospace;
  background: white;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.copy-button {
  border: 1px solid rgba(15, 111, 51, 0.26);
  color: var(--green-dark);
  background: white;
  cursor: pointer;
}

.response-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.response-card {
  width: min(100%, 620px);
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(15, 111, 51, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  text-align: center;
}

.response-card img {
  width: 116px;
  height: 116px;
  object-fit: contain;
  margin-bottom: 18px;
}

.response-card h1 {
  max-width: none;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
}

.response-card p:not(.eyebrow) {
  max-width: 460px;
  margin: 20px auto 28px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.response-card.error {
  border-color: rgba(186, 26, 26, 0.24);
}

.admin-page {
  min-height: 100vh;
  padding: clamp(20px, 5vw, 56px);
}

.admin-card {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(15, 111, 51, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.admin-card.wide {
  width: min(100%, 1080px);
}

.admin-card h1 {
  max-width: none;
  font-size: clamp(2.2rem, 6vw, 4rem);
}

.admin-muted {
  color: var(--muted);
  font-weight: 700;
}

.inquiry-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.inquiry-item {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.inquiry-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.inquiry-meta strong {
  font-size: 1.18rem;
}

.inquiry-meta span {
  color: var(--muted);
  font-size: 0.9rem;
}

.inquiry-item dl {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 10px 18px;
  margin: 16px 0 0;
}

.inquiry-item dt {
  color: var(--green-dark);
  font-weight: 900;
}

.inquiry-item dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.message-block {
  white-space: normal;
  line-height: 1.55;
}

@media (max-width: 840px) {
  .hero {
    min-height: auto;
    padding-bottom: 36px;
  }

  .hero-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    margin: 34px auto 0;
  }

  .logo-panel {
    max-width: 440px;
    order: -1;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .inquiry-item dl {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .topbar {
    align-items: flex-start;
  }

  .brand-mark {
    width: 64px;
    height: 64px;
  }

  .nav-actions a,
  .button {
    width: 100%;
  }

  .nav-actions {
    width: min(190px, 48vw);
  }
}
.screen-reader-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
