/* ============================================================
   Home landing — matches template.jpg
   Navy hero + dashboard, light features/pricing, navy footer
   ============================================================ */

/* ---------- Hero (per-page background via --hero-img) ---------- */

.tpl-hero {
  position: relative;
  padding: 96px 24px 150px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(6, 26, 72, 0.55) 0%, rgba(6, 26, 72, 0.78) 60%, rgba(6, 26, 72, 0.96) 100%) center / cover no-repeat,
    var(--hero-img, url('/images/home_hero.jpg')) center 30% / cover no-repeat;
  overflow: hidden;
}

.tpl-hero h1 {
  font-size: clamp(2rem, 5.2vw, 3.3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 900px;
  margin: 0 auto 20px;
  text-shadow: 0 4px 24px rgba(3, 12, 36, 0.55);
}

.tpl-hero p {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 720px;
  margin: 0 auto 34px;
}

.tpl-hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.btn--cyan {
  background: var(--accent-grad, linear-gradient(92deg, #17b5ab, #25c6e8));
  color: #041434;
  font-weight: 800;
  min-width: 220px;
  box-shadow: 0 12px 30px rgba(37, 198, 232, 0.35);
}

.btn--cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(37, 198, 232, 0.5);
}

.btn--outline {
  border: 1.5px solid var(--cyan);
  color: var(--cyan);
  font-weight: 700;
  min-width: 220px;
  background: rgba(6, 26, 72, 0.35);
}

.btn--outline:hover {
  background: rgba(37, 198, 232, 0.12);
  transform: translateY(-2px);
}

/* ---------- Live Agent Dashboard card ---------- */

.tpl-dashwrap {
  background: var(--light-bg);
  padding-bottom: 40px;
}

.tpl-dash {
  position: relative;
  margin-top: -110px;
  background: linear-gradient(160deg, #0a1f4d 0%, #071634 100%);
  border: 1px solid rgba(37, 198, 232, 0.22);
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(3, 12, 36, 0.35);
  padding: 26px 26px 18px;
  color: var(--text);
}

.tpl-dash__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.tpl-dash__head img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.tpl-dash__head .title {
  font-weight: 700;
  color: var(--accent2, var(--cyan));
}

.tpl-dash__live {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

.tpl-dash__live .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
}

.tpl-dash__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tpl-dash__stats--4 {
  grid-template-columns: repeat(4, 1fr);
}

.dash-stat {
  background: rgba(20, 45, 100, 0.6);
  border: 1px solid rgba(37, 198, 232, 0.16);
  border-radius: 14px;
  padding: 18px 20px;
}

.dash-stat .label {
  color: var(--accent2, var(--cyan));
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.dash-stat .value {
  font-size: 2.1rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
}

.dash-stat .delta {
  font-size: 0.82rem;
  color: var(--muted);
}

.tpl-dash__activity {
  text-align: center;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(210, 226, 245, 0.1);
  font-size: 0.85rem;
  color: var(--muted);
}

.tpl-dash__activity b {
  color: var(--accent2, var(--cyan));
  font-weight: 700;
}

/* ---------- Features (light band) ---------- */

.tpl-features {
  background: var(--light-bg);
  padding: 40px 0 80px;
}

.tpl-features .section-head h2 {
  color: #0b1b3a;
}

.tpl-features .eyebrow {
  color: var(--accent2, var(--teal));
}

.feature-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.feature-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--light-edge);
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 6px 18px rgba(11, 27, 58, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feature-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(11, 27, 58, 0.12);
}

.feature-row img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
}

.feature-row h3 {
  color: #0b1b3a;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.feature-row p {
  color: #33415c;
  font-size: 0.95rem;
  margin: 0;
}

/* icon grid — showcases every service image */
.icon-grid {
  max-width: 980px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.icon-tile {
  background: #ffffff;
  border: 1px solid var(--light-edge);
  border-radius: 14px;
  padding: 20px 14px;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.icon-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(11, 27, 58, 0.12);
}

.icon-tile img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  margin: 0 auto 12px;
}

.icon-tile span {
  display: block;
  color: #0b1b3a;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ---------- Pricing (light band) ---------- */

.tpl-pricing {
  background: var(--light-bg);
  padding: 20px 0 90px;
}

.tpl-pricing .section-head h2 {
  color: #0b1b3a;
}

.price-grid {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--light-edge);
  border-radius: 18px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 26px rgba(11, 27, 58, 0.08);
}

.price-card--pop {
  border: 2px solid var(--cyan);
  box-shadow: 0 18px 40px rgba(37, 198, 232, 0.22);
}

.price-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--cyan);
  color: #041434;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
}

.price-card h3 {
  color: #0b1b3a;
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.price-card .amount {
  color: #0b1b3a;
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
}

.price-card .per {
  color: #33415c;
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.price-card ul {
  list-style: none;
  margin: 0 0 26px;
  flex: 1;
}

.price-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #26324b;
  font-size: 0.94rem;
  margin-bottom: 12px;
}

.price-card li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 900;
}

.price-card .btn {
  width: 100%;
}

/* ---------- Shared page pattern: compact hero ---------- */

.tpl-hero--sm {
  padding: 88px 24px 150px;
}

.tpl-hero--sm .breadcrumb {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.tpl-hero__trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.tpl-hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tpl-hero__trust b {
  color: var(--cyan);
  font-weight: 800;
}

/* ---------- Check rows (white rows on light, no image) ---------- */

.feature-row--check {
  grid-template-columns: 40px 1fr;
}

.check-bullet {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-grad, linear-gradient(92deg, #17b5ab, #25c6e8));
  color: #041434;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

/* ---------- Steps on light ---------- */

.steps-light {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-light {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--light-edge);
  border-radius: 14px;
  padding: 28px 22px 24px;
  box-shadow: 0 6px 18px rgba(11, 27, 58, 0.06);
}

.step-light__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-grad, linear-gradient(92deg, #17b5ab, #25c6e8));
  color: #041434;
  font-weight: 900;
  margin-bottom: 14px;
}

.step-light h3 {
  color: #0b1b3a;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.step-light p {
  color: #33415c;
  font-size: 0.92rem;
  margin: 0;
}

.step-light .when {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent2, var(--teal));
}

/* ---------- Quotes on light ---------- */

.quotes-light {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.quote-light {
  background: #ffffff;
  border: 1px solid var(--light-edge);
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 6px 18px rgba(11, 27, 58, 0.06);
}

.quote-light p {
  color: #26324b;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.quote-light__who {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote-light__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: #041434;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.quote-light__who b {
  display: block;
  color: #0b1b3a;
  font-size: 0.92rem;
}

.quote-light__who span {
  color: #33415c;
  font-size: 0.8rem;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 820px;
  margin: 0 auto;
}

.faq details {
  background: #ffffff;
  border: 1px solid var(--light-edge);
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 12px;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: #0b1b3a;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  color: var(--teal);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

.faq details[open] summary::after {
  content: '–';
}

.faq details p {
  margin-top: 12px;
  color: #33415c;
  font-size: 0.94rem;
}

/* ---------- Use-case cards on light (service pages) ---------- */

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

.use-card {
  background: #ffffff;
  border: 1px solid var(--light-edge);
  border-radius: 14px;
  padding: 26px 22px;
  box-shadow: 0 6px 18px rgba(11, 27, 58, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.use-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(11, 27, 58, 0.12);
}

.use-card img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 14px;
}

.use-card h3 {
  color: #0b1b3a;
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.use-card p {
  color: #33415c;
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 720px) {
  .tpl-dash__stats,
  .tpl-dash__stats--4 {
    grid-template-columns: 1fr;
  }
  .icon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .price-grid {
    grid-template-columns: 1fr;
  }
  .feature-row {
    grid-template-columns: 52px 1fr;
  }
  .feature-row img {
    width: 52px;
    height: 52px;
  }
  .steps-light,
  .quotes-light,
  .use-cards {
    grid-template-columns: 1fr;
  }
}
