:root {
  --bg: #f2f6f3;
  --surface: #ffffff;
  --surface-soft: #e8f1ec;
  --primary: #245447;
  --primary-dark: #183a31;
  --accent: #7c5a3b;
  --text: #2a2a2a;
  --muted: #5f675f;
  --border: #d7e2db;
  --shadow: 0 10px 30px rgba(36, 84, 71, 0.08);
  --radius: 14px;
  --container: 1080px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(var(--container), 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(248, 245, 239, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
}

.brand-text {
  line-height: 1.1;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.7rem;
  color: var(--primary-dark);
  cursor: pointer;
}

.site-nav {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  font-weight: 600;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  font-size: 0.94rem;
}

.site-nav a.active,
.site-nav a:hover {
  background: var(--surface-soft);
  text-decoration: none;
}

.hero {
  padding: 4.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-media {
  display: block;
}

.hero-photo {
  width: 90%;
  height: 100%;
  margin: 0 auto;
  object-fit: cover;
}

.home-logo-large {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  display: block;
  object-fit: contain;
  background: var(--surface);
}

.bordered-logo {
  border: 3px solid var(--primary);
  border-radius: 18px;
  padding: 0.8rem;
  box-shadow: var(--shadow);
}

.apply-logo {
  margin: 1rem auto 1.25rem;
}

.hero-card {
  background: linear-gradient(145deg, #e8f1ec, #ffffff);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--primary);
}

.btn-secondary:hover {
  text-decoration: none;
  background: var(--surface-soft);
}

section {
  padding: 1.5rem 0;
}

.reduced-top-gap {
  padding-top: 1.5rem;
}

.section-title {
  font-size: clamp(1.4rem, 2vw, 2rem);
  margin: 0 0 0.8rem;
}

.section-intro {
  color: var(--muted);
  margin: 0 0 1.2rem;
}

.centered-heading {
  text-align: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
}

.card-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.card ul {
  padding-left: 1.15rem;
}

.card li {
  margin-bottom: 0.35rem;
}

.check-list {
  margin: 0.3rem 0 0.6rem;
  padding-left: 1.15rem;
}

.highlight {
  color: var(--accent);
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  border: 0;
  background: var(--surface);
  padding: 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
}

.faq-answer {
  padding: 0 1rem 1rem;
  color: var(--muted);
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.contact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

form {
  display: grid;
  gap: 0.8rem;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.65rem;
  border: 1px solid #cfc7ba;
  border-radius: 8px;
  font: inherit;
  background: #fff;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.note {
  font-size: 0.92rem;
  color: var(--muted);
}

.alert {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
}

.alert ul {
  margin: 0.4rem 0 0;
  padding-left: 1.15rem;
}

.alert-success {
  background: #e8f6ee;
  border-color: #b8dec7;
}

.alert-error {
  background: #fff1f1;
  border-color: #f0c3c3;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #e8f1ec;
  padding: 2rem 0;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
}

.small {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .hero-grid,
  .hero-media,
  .split,
  .footer-grid,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    display: none;
    flex-direction: column;
    padding: 1rem 4%;
  }

  .site-nav.open {
    display: flex;
  }

  .brand-text {
    font-size: 0.95rem;
  }
}
