﻿body {
  font-family: 'Arial', sans-serif;
  background: #f7f9fc;
  color: #333;
}

.navbar-custom {
  background-color: #2d6a4f;
}

.navbar-custom .nav-link,
.navbar-custom .navbar-brand {
  color: #fff;
  transition: color 0.3s;
}

.navbar-custom .nav-link:hover {
  color: #FFD700;
}

.hero-section {
  background: linear-gradient(135deg, #d9f0e1, #f7f9fc);
  padding: 80px 20px 40px 20px;
  text-align: center;
}

.hero-home {
  padding: 96px 0 78px;
  text-align: left;
}

.hero-home h1 {
  max-width: 11ch;
  margin-bottom: 1rem;
}

.hero-tag {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(45, 106, 79, 0.12);
  color: #1b4332;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 52ch;
  color: #4b5b54;
}

.hero-actions {
  margin-top: 1.75rem;
}

.hero-secondary-btn {
  border-width: 2px;
  color: #1b4332;
  font-weight: 700;
}

.hero-secondary-btn:hover {
  background-color: #d9f0e1;
  color: #1b4332;
  border-color: #2d6a4f;
}

.hero-summary {
  border-radius: 24px;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
}

.hero-summary-grid {
  display: grid;
  gap: 1rem;
}

.hero-summary-item {
  padding: 1rem;
  border-radius: 18px;
  background: #f7fbf8;
  border: 1px solid rgba(45, 106, 79, 0.08);
}

.hero-summary-item strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #1b4332;
}

.hero-summary-item span {
  color: #5b655f;
  line-height: 1.6;
}

.hero-section h1 {
  color: #2d6a4f;
  font-size: 3rem;
  font-weight: bold;
}

.hero-section p {
  color: #555;
  font-size: 1.25rem;
  margin-top: 20px;
}

.feature-card {
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.feature-card h2 {
  color: #2d6a4f;
  font-weight: bold;
}

.feature-card p {
  color: #555;
}

.section-intro {
  max-width: 760px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: #2d6a4f;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading {
  color: #1b4332;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
}

.section-copy {
  color: #5c6761;
  line-height: 1.7;
}

.calculator-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 0;
}

.calculator-card h3 {
  margin: 0;
  color: #1b4332;
  font-size: 1.4rem;
}

.calculator-card p {
  margin: 0;
  line-height: 1.7;
}

.tool-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(45, 106, 79, 0.12);
  color: #2d6a4f;
  font-size: 1.5rem;
}

.section-soft {
  background: linear-gradient(180deg, rgba(217, 240, 225, 0.45), rgba(247, 249, 252, 0));
}

.benefit-card,
.tip-card {
  padding: 1.35rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(45, 106, 79, 0.08);
  box-shadow: 0 10px 30px rgba(27, 67, 50, 0.06);
}

.benefit-step {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: #d86f2f;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.benefit-card h3,
.tip-card strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #1b4332;
}

.benefit-card p,
.tip-card span {
  margin: 0;
  color: #5c6761;
  line-height: 1.7;
}

.btn-primary-custom {
  background-color: #429972 !important;
  border: none;
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  padding: 12px 24px;
  transition: background 0.3s;
}

.btn-primary-custom:hover {
  background-color: #1b4332 !important;
}

:root {
  --footer-surface: #ffffff;
  --footer-muted: #5d6a70;
  --footer-primary-dark: #1f4138;
  --footer-accent: #d86f2f;
}

.site-footer {
  margin-top: auto;
  background:
    radial-gradient(circle at center, rgba(242, 213, 152, 0.18), transparent 55%),
    linear-gradient(180deg, #f7f4ee, #f0eadb);
  border-top: 1px solid rgba(47, 93, 80, 0.12);
  padding: 3.5rem 0;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
}

.footer-logo-link {
  flex-shrink: 0;
}

.footer-logo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 28px;
  background: var(--footer-surface);
  padding: 0.75rem;
  box-shadow: 0 18px 40px rgba(31, 65, 56, 0.14);
}

.footer-copy {
  display: grid;
  gap: 0.45rem;
  justify-items: center;
}

.site-footer h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 2.45rem);
  color: var(--footer-primary-dark);
}

.site-footer p {
  margin: 0;
  color: var(--footer-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.footer-company {
  color: var(--footer-accent);
  font-weight: 800;
}

.hero-ownership {
  font-size: 0.95rem;
  color: #1b4332;
  margin-top: 1.1rem;
}

.dti-result {
  padding: 1.25rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(217, 240, 225, 0.8), rgba(247, 249, 252, 0.95));
}

.result-label {
  display: block;
  margin-bottom: 0.5rem;
  color: #4f5d57;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dti-result strong {
  color: #1b4332;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1;
}

.result-note {
  color: #5c6761;
  line-height: 1.7;
}

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

.result-stat {
  padding: 1rem;
  border-radius: 18px;
  background: #f8fbf9;
  border: 1px solid rgba(45, 106, 79, 0.08);
}

.result-stat span {
  display: block;
  margin-bottom: 0.35rem;
  color: #5c6761;
  font-size: 0.92rem;
}

.result-stat strong {
  color: #1b4332;
  font-size: 1.15rem;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-weight: 700;
}

.status-good {
  background: rgba(45, 106, 79, 0.12);
  color: #1b4332;
}

.status-watch {
  background: rgba(216, 111, 47, 0.15);
  color: #8a451c;
}

.status-alert {
  background: rgba(183, 38, 55, 0.14);
  color: #8d2030;
}

@media (max-width: 991.98px) {
  .hero-home {
    padding: 76px 0 62px;
    text-align: center;
  }

  .hero-home h1,
  .hero-lead {
    max-width: none;
  }

  .hero-actions {
    justify-content: center;
  }

  .site-footer {
    padding: 2.75rem 0;
  }

  .footer-brand {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: right;
    gap: 1.25rem;
  }

  .footer-copy {
    flex: 1;
    justify-items: end;
  }

  .footer-logo {
    width: 104px;
    height: 104px;
    border-radius: 24px;
  }

  .site-footer h2 {
    font-size: clamp(1.65rem, 5vw, 2rem);
    line-height: 1.05;
  }

  .site-footer p {
    font-size: 0.96rem;
    line-height: 1.5;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 64px 16px 36px;
  }

  .hero-home {
    padding: 68px 0 50px;
  }

  .hero-actions .btn {
    width: 100%;
  }

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

  .footer-brand {
    align-items: center;
    gap: 0.9rem;
  }

  .footer-logo {
    width: 86px;
    height: 86px;
    padding: 0.55rem;
    border-radius: 20px;
  }

  .site-footer h2 {
    font-size: clamp(1.2rem, 4.4vw, 1.55rem);
    line-height: 1.1;
  }

  .footer-copy {
    gap: 0.3rem;
  }

  .site-footer p {
    font-size: 0.88rem;
    line-height: 1.35;
  }
}

/* =====================
   MODALS
   ===================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none; /* hidden by default */
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.modal.show {
  display: flex; /* only visible when "show" is toggled */
}

.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 320px;
  max-width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
}

