/* =====================================================================
   Inner-page styles — page banners, breadcrumbs, blog, gallery, pricing
   tables, timeline/steps, testimonials, contact layout, 404, admin.
   Builds on top of style.css design tokens; loaded on every inner page.
   ===================================================================== */

/* PAGE BANNER (hero replacement for inner pages) */
.page-banner {
  position: relative;
  background: linear-gradient(120deg, rgba(10, 2, 4, 0.82) 0%, rgba(90, 10, 18, 0.82) 60%, rgba(215, 34, 47, 0.75) 100%),
    url('../images/hero/bannertow.jpg') center / cover no-repeat;
  background-blend-mode: multiply;
  padding: 56px 0 42px;
  color: #fff;
}

.page-banner .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb .sep {
  opacity: 0.5;
}

.breadcrumb .current {
  color: var(--accent);
  font-weight: 600;
}

.page-banner h1 {
  font-size: clamp(26px, 4.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
  max-width: 780px;
}

.page-banner p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  line-height: 1.7;
}

/* CENTERED SECTION HEAD */
.section-head-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.section-head-center .section-tag {
  display: block;
}

/* ICON FEATURE CARDS */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all 0.25s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.feature-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* STEPS / TIMELINE */
.steps-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step-card {
  position: relative;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 22px 22px;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.step-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-arrow {
  display: none;
}

@media(min-width: 769px) {
  .step-card:not(:last-child)::after {
    content: '›';
    position: absolute;
    top: 30px;
    right: -18px;
    font-size: 26px;
    font-weight: 700;
    color: var(--border);
    z-index: 2;
  }
}

/* PRICING / INVESTMENT PLAN CARDS */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.plan-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: all 0.25s;
  position: relative;
}

.plan-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

.plan-badge {
  position: absolute;
  top: -12px;
  right: 22px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.plan-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.plan-name {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 8px;
}

.plan-price {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.plan-price span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.plan-features {
  list-style: none;
  margin-bottom: 24px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text-dark);
  margin-bottom: 11px;
  line-height: 1.5;
}

.plan-features li svg {
  width: 16px;
  height: 16px;
  fill: #16a34a;
  flex-shrink: 0;
  margin-top: 2px;
}

/* COMPARISON TABLE */
.data-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  background: #fff;
}

table.data-table th {
  background: var(--secondary);
  color: #fff;
  text-align: left;
  padding: 14px 18px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

table.data-table td {
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border);
}

table.data-table tr:last-child td {
  border-bottom: none;
}

table.data-table tr:nth-child(even) td {
  background: var(--bg-light);
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 26px 16px 12px;
}

/* BLOG */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.blog-card-img {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.blog-card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 10px;
}

.blog-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 10px;
}

.blog-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}

.blog-readmore {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.blog-article {
  max-width: 800px;
  margin: 0 auto;
}

.blog-article .blog-meta {
  margin-bottom: 16px;
}

.blog-article h1 {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 20px;
}

.blog-article .cover {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}

.blog-article .cover img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.blog-article-body {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.9;
}

.blog-article-body h2 {
  font-size: 21px;
  font-weight: 700;
  margin: 32px 0 14px;
  color: var(--text-dark);
}

.blog-article-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 24px 0 10px;
  color: var(--text-dark);
}

.blog-article-body p {
  margin-bottom: 16px;
  color: var(--text-muted);
}

.blog-article-body ul,
.blog-article-body ol {
  margin: 0 0 16px 20px;
  color: var(--text-muted);
}

.blog-article-body li {
  margin-bottom: 8px;
}

.blog-article-body strong {
  color: var(--text-dark);
}

/* TESTIMONIALS */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testi-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 26px 24px;
  border: 1px solid var(--border);
}

.testi-stars {
  color: var(--accent);
  font-size: 14px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testi-card p {
  font-size: 13.5px;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 18px;
  font-style: italic;
}

.testi-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.testi-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark);
}

.testi-loc {
  font-size: 12px;
  color: var(--text-muted);
}

/* CONTACT PAGE */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
}

.contact-info-card {
  background: var(--secondary);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  margin-bottom: 18px;
}

.contact-info-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.map-embed iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

/* LEGAL PAGES */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 30px 0 12px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 14px;
}

.legal-content ul {
  margin: 0 0 14px 22px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.85;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 30px;
  display: inline-block;
  background: var(--bg-light);
  padding: 6px 14px;
  border-radius: 100px;
}

/* DISCLAIMER STRIP (shown near top of key pages) */
.notice-strip {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 12.5px;
  line-height: 1.7;
  padding: 12px 18px;
  border-radius: 8px;
  margin-bottom: 26px;
}

/* 404 PAGE */
.error-page {
  text-align: center;
  padding: 90px 0;
}

.error-code {
  font-size: clamp(70px, 14vw, 140px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.error-page h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 14px 0 10px;
}

.error-page p {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 26px;
}

/* GENERIC BADGE / TAG PILL */
.pill {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 100px;
  background: rgba(215, 34, 47, 0.1);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* PAGINATION */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.pagination a,
.pagination span {
  min-width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
}

.pagination a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.pagination .active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* RESPONSIVE (inner pages) */
@media(max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid,
  .blog-grid,
  .testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media(max-width: 768px) {
  .feature-grid,
  .steps-list,
  .plans-grid,
  .gallery-grid,
  .blog-grid,
  .testi-grid {
    grid-template-columns: 1fr;
  }

  .plan-card.featured {
    transform: none;
  }

  .page-banner {
    padding: 42px 0 32px;
  }
}
