:root {
  --home-bg: #f7f3ec;
  --home-text: #243240;
  --home-primary: #2d6a63;
  --home-primary-dark: #23534e;
  --home-gold: #b58a35;
  --home-muted: #5f6b78;
  --home-border: rgba(36, 50, 64, 0.12);
}

.home-hero {
  background: linear-gradient(180deg, #f8faf9 0%, #f1ede5 100%);
  padding-bottom: 3rem;
  overflow: hidden;
  position: relative;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.15);
}

.home-hero > * {
  position: relative;
  z-index: 1;
}

.home-intro {
  background: #fff;
  padding: 5.5rem 0 4.5rem;
}

.home-eyebrow {
  color: var(--home-primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.home-intro h1 {
  color: var(--home-text);
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.home-lead {
  color: var(--home-muted);
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 42rem;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.home-intro .btn,
.application-banner .btn {
  border-radius: 8px;
  font-weight: 700;
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
}

.home-hero .btn-primary,
.home-intro .btn-primary {
  background-color: var(--home-primary);
  border-color: var(--home-primary);
}

.home-hero .btn-primary:hover,
.home-intro .btn-primary:hover {
  background-color: var(--home-primary-dark);
  border-color: var(--home-primary-dark);
}

.home-hero .btn-outline-primary,
.home-intro .btn-outline-primary {
  color: var(--home-primary);
  border-color: var(--home-primary);
}

.home-intro .btn-outline-primary:hover {
  background-color: var(--home-primary);
  border-color: var(--home-primary);
  color: #fff;
}

.landing-image {
  width: 85%;
  max-width: 1024px;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.home-feature-image {
  width: 100%;
  aspect-ratio: 5 / 4;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(36, 50, 64, 0.14);
  display: block;
  object-fit: cover;
  object-position: center;
}

.application-banner {
  width: min(80%, 980px);
  margin: -38px auto 0;
  background: white;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,.12);
  padding: 22px;
  min-height: 115px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.application-banner-inside {
  width: 100%;
  background: white;
  border: 1px solid rgba(45, 106, 99, 0.12);
  border-radius: 8px;
  box-shadow: 0 14px 35px rgba(0,0,0,.10);
  padding: 20px 36px;
  min-height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.application-banner-inside .btn {
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
  margin-left: 2rem;
}

.application-banner h2 {
  align-items: center;
  color: var(--home-text);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  line-height: 1.25;
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 2rem);
  text-align: center;
}

.home-highlights {
  background: var(--home-bg);
  padding: 4.5rem 0;
}

.highlight-card {
  background: #fff;
  border: 1px solid var(--home-border);
  border-radius: 8px;
  height: 100%;
  padding: 2rem;
  box-shadow: 0 14px 34px rgba(36, 50, 64, 0.06);
}

.highlight-card i {
  align-items: center;
  background: rgba(45, 106, 99, 0.1);
  border-radius: 50%;
  color: var(--home-primary);
  display: inline-flex;
  font-size: 1.3rem;
  height: 3rem;
  justify-content: center;
  margin-bottom: 1.3rem;
  width: 3rem;
}

.highlight-card h2 {
  color: var(--home-text);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.highlight-card p {
  color: var(--home-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.home-family-section {
  background: #fff;
  padding: 5rem 0;
}

.home-family-section h2 {
  color: var(--home-text);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 1.2rem;
}

.home-family-section p {
  color: var(--home-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.home-logo-panel {
  background: #fff;
  border: 1px solid var(--home-border);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(36, 50, 64, 0.1);
  display: block;
  margin: 0 auto;
  max-width: 340px;
  padding: 2.4rem;
  width: 100%;
}

.home-info-list {
  border-top: 1px solid var(--home-border);
  margin: 1.6rem 0 1.4rem;
}

.home-info-list div {
  border-bottom: 1px solid var(--home-border);
  display: grid;
  gap: 1rem;
  grid-template-columns: 8rem 1fr;
  padding: 1rem 0;
}

.home-info-list strong {
  color: var(--home-text);
}

.home-info-list span {
  color: var(--home-muted);
}

.home-text-link {
  color: var(--home-primary);
  font-weight: 800;
  text-decoration: none;
}

.home-text-link:hover {
  color: var(--home-primary-dark);
  text-decoration: underline;
}

@media (max-width: 767px) {
  .home-intro {
    padding: 4rem 0 3.5rem;
  }

  .landing-image {
    width: 100%;
  }

  .application-banner {
    width: min(92%, 980px);
    padding: 14px;
  }

  .application-banner-inside {
    padding: 18px;
  }

  .application-banner-inside .btn {
    margin-left: 0;
    margin-top: 0.8rem;
    width: 100%;
  }

  .home-info-list div {
    gap: 0.25rem;
    grid-template-columns: 1fr;
  }
}
