/* ===== SUB-SERVICE PAGE SHARED STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@700;800&display=swap');

:root {
  --crimson: #C41230; --crimson-dark: #9B0E25; --crimson-light: #E8183A;
  --navy: #0A1628; --white: #FFFFFF; --off-white: #F8F8F8;
  --light-gray: #F2F3F5; --mid-gray: #8A8F99; --dark-gray: #3D3D3D;
  --gold: #C9A84C; --font-body: 'Inter', sans-serif; --font-display: 'Playfair Display', serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); color: var(--dark-gray); background: var(--white); overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section-pad { padding: 88px 0; }

[data-scroll] { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-scroll].visible { opacity: 1; transform: translateY(0); }

.section-eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--crimson); margin-bottom: 12px;
  position: relative; padding: 0 20px;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: ''; position: absolute; top: 50%; width: 28px; height: 1px; background: var(--crimson);
}
.section-eyebrow::before { right: 100%; margin-right: -16px; }
.section-eyebrow::after  { left: 100%; margin-left: -16px; }
.section-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--navy); line-height: 1.2; margin-bottom: 16px; }
.section-title-left { font-family: var(--font-display); font-size: clamp(1.6rem, 2.5vw, 2.2rem); color: var(--navy); line-height: 1.25; margin-bottom: 16px; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-subtitle { font-size: 1rem; line-height: 1.7; color: var(--mid-gray); }

/* ===== PAGE HERO ===== */
.page-hero { position: relative; min-height: 460px; display: flex; align-items: center; padding-top: 72px; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(10,22,40,0.92) 0%, rgba(10,22,40,0.55) 100%); }
.page-hero-container { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 60px 32px; width: 100%; }
.breadcrumb { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.5); font-size: 0.8rem; margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--crimson); }
.breadcrumb i { font-size: 0.6rem; }
.breadcrumb span { color: rgba(255,255,255,0.8); }
.hero-icon-wrap {
  width: 60px; height: 60px; background: rgba(196,18,48,0.2); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: white; margin-bottom: 18px;
  border: 1px solid rgba(196,18,48,0.4); animation: heroIconPulse 3s ease-in-out infinite;
}
@keyframes heroIconPulse { 0%,100%{box-shadow:0 0 0 0 rgba(196,18,48,0.3)} 50%{box-shadow:0 0 0 10px rgba(196,18,48,0)} }
.page-hero-container h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 3.6rem); color: white; line-height: 1.1; margin-bottom: 14px; max-width: 640px; }
.page-hero-container h1 span { color: var(--crimson); }
.page-hero-container p { font-size: 1.02rem; color: rgba(255,255,255,0.72); max-width: 520px; line-height: 1.7; margin-bottom: 28px; }
.btn-hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 28px; background: var(--crimson); color: white;
  text-decoration: none; font-size: 0.92rem; font-weight: 700; border-radius: 8px;
  box-shadow: 0 4px 20px rgba(196,18,48,0.4); transition: all 0.3s;
}
.btn-hero-cta:hover { background: var(--crimson-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(196,18,48,0.55); }
.btn-hero-cta i { transition: transform 0.3s; }
.btn-hero-cta:hover i { transform: translateX(5px); }

/* ===== OVERVIEW ===== */
.subservice-overview { background: white; }
.overview-inner { display: flex; align-items: center; gap: 72px; }
.overview-content { flex: 1; }
.overview-content p { font-size: 0.95rem; line-height: 1.8; color: var(--mid-gray); margin-bottom: 16px; }
.overview-highlights { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.oh-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; background: var(--off-white); border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.07); font-size: 0.83rem; font-weight: 600; color: var(--navy);
  transition: all 0.25s;
}
.oh-item:hover { border-color: var(--crimson); background: rgba(196,18,48,0.04); }
.oh-item i { color: var(--crimson); font-size: 0.8rem; }
.overview-visual { flex: 1; max-width: 460px; }
.overview-visual img { width: 100%; border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.14); display: block; height: 400px; object-fit: cover; }

/* ===== PRODUCTS ===== */
.products-section { background: var(--off-white); }
.products-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.product-card {
  flex: 1 1 calc(33.333% - 14px); min-width: 240px;
  background: white; border-radius: 16px; padding: 30px 24px;
  border: 1.5px solid rgba(0,0,0,0.07); display: flex; flex-direction: column;
  transition: all 0.35s ease; position: relative; overflow: hidden;
}
.product-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--crimson); transform: scaleX(0); transition: transform 0.35s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 14px 40px rgba(0,0,0,0.11); }
.product-card:hover::after { transform: scaleX(1); }
.product-card--featured { border-color: var(--gold); box-shadow: 0 4px 24px rgba(201,168,76,0.12); }
.product-card--featured::after { background: var(--gold); }
.product-badge {
  position: absolute; top: 14px; right: 14px; background: var(--gold); color: var(--navy);
  font-size: 0.62rem; font-weight: 800; padding: 3px 9px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: 0.07em;
}
.product-icon {
  width: 48px; height: 48px; background: rgba(196,18,48,0.08); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--crimson); margin-bottom: 16px; transition: all 0.3s;
}
.product-icon--gold { background: rgba(201,168,76,0.1); color: var(--gold); }
.product-card:hover .product-icon { background: var(--crimson); color: white; transform: rotate(-8deg); }
.product-card--featured:hover .product-icon { background: var(--gold); color: white; }
.product-card h3 { font-family: var(--font-display); font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; }
.product-card p { font-size: 0.87rem; line-height: 1.65; color: var(--mid-gray); margin-bottom: 16px; }
.product-features { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; flex: 1; }
.product-features li { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; color: var(--dark-gray); }
.product-features li i { color: #22c55e; font-size: 0.75rem; flex-shrink: 0; }
.product-fee { font-size: 0.78rem; color: var(--mid-gray); margin-bottom: 14px; font-style: italic; }
.btn-product {
  display: block; text-align: center; padding: 11px 20px;
  background: var(--crimson); color: white; text-decoration: none;
  font-size: 0.87rem; font-weight: 700; border-radius: 8px; transition: all 0.3s; margin-top: auto;
}
.btn-product:hover { background: var(--crimson-light); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(196,18,48,0.4); }
.btn-product--gold { background: var(--gold); color: var(--navy); }
.btn-product--gold:hover { background: #e8cc78; box-shadow: 0 4px 14px rgba(201,168,76,0.4); }

/* ===== HOW IT WORKS ===== */
.how-section { background: var(--navy); }
.how-section .section-eyebrow { color: var(--gold); }
.how-section .section-title { color: white; }
.steps-flex { display: flex; align-items: flex-start; justify-content: center; gap: 0; flex-wrap: wrap; }
.step-card {
  flex: 1 1 220px; max-width: 280px; text-align: center;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px; padding: 36px 24px; transition: all 0.35s;
}
.step-card:hover { background: rgba(255,255,255,0.09); transform: translateY(-4px); }
.step-num { font-family: var(--font-display); font-size: 3rem; font-weight: 800; color: rgba(196,18,48,0.2); line-height: 1; margin-bottom: 8px; }
.step-icon { width: 52px; height: 52px; background: rgba(196,18,48,0.12); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--crimson); margin: 0 auto 16px; transition: all 0.3s; }
.step-card:hover .step-icon { background: var(--crimson); color: white; transform: rotate(-8deg); }
.step-card h4 { font-size: 0.95rem; font-weight: 700; color: white; margin-bottom: 8px; }
.step-card p { font-size: 0.85rem; line-height: 1.65; color: rgba(255,255,255,0.55); }
.step-arrow { display: flex; align-items: center; color: rgba(255,255,255,0.15); font-size: 1rem; padding: 0 8px; padding-top: 60px; }

/* ===== BENEFITS GRID (used in some sub-pages) ===== */
.benefits-section { background: var(--off-white); }
.benefits-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.benefit-card {
  flex: 1 1 calc(33.333% - 14px); min-width: 220px;
  background: white; border-radius: 14px; padding: 28px 22px;
  border: 1px solid rgba(0,0,0,0.07); transition: all 0.3s;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(0,0,0,0.09); border-color: rgba(196,18,48,0.2); }
.benefit-icon { font-size: 1.4rem; color: var(--crimson); margin-bottom: 14px; display: block; transition: transform 0.4s; }
.benefit-card:hover .benefit-icon { transform: rotate(-8deg) scale(1.1); }
.benefit-card h4 { font-size: 0.93rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.benefit-card p { font-size: 0.85rem; line-height: 1.65; color: var(--mid-gray); }

/* ===== RATES TABLE (used in loans) ===== */
.rates-table-section { background: white; }
.rates-table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid rgba(0,0,0,0.08); }
.rates-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.rates-table th { background: var(--navy); color: rgba(255,255,255,0.8); padding: 14px 20px; text-align: left; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.rates-table td { padding: 13px 20px; border-bottom: 1px solid rgba(0,0,0,0.06); color: var(--dark-gray); }
.rates-table tr:hover td { background: rgba(196,18,48,0.02); }
.rates-table tr:last-child td { border-bottom: none; }
.rates-table .rate-highlight { color: var(--crimson); font-weight: 700; }

/* ===== ELIGIBILITY BOX ===== */
.eligibility-box {
  background: rgba(10,22,40,0.03); border: 1px solid rgba(10,22,40,0.1);
  border-radius: 14px; padding: 32px; margin-top: 32px;
}
.eligibility-box h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.eligibility-box h4 i { color: var(--crimson); }
.eligibility-box ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.eligibility-box li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.87rem; color: var(--mid-gray); line-height: 1.5; }
.eligibility-box li i { color: var(--crimson); font-size: 0.75rem; margin-top: 3px; flex-shrink: 0; }

/* ===== SUBSERVICE CTA ===== */
.subservice-cta { background: var(--crimson); }
.subservice-cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.subservice-cta h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 2rem); color: white; margin-bottom: 8px; }
.subservice-cta p { font-size: 0.93rem; color: rgba(255,255,255,0.75); line-height: 1.65; max-width: 460px; }
.cta-btns-row { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
.btn-cta-solid {
  padding: 13px 28px; background: white; color: var(--crimson);
  text-decoration: none; font-size: 0.9rem; font-weight: 700; border-radius: 8px; transition: all 0.3s; white-space: nowrap;
}
.btn-cta-solid:hover { background: var(--off-white); transform: translateY(-1px); box-shadow: 0 5px 18px rgba(0,0,0,0.15); }
.btn-cta-outlined {
  padding: 13px 28px; border: 2px solid rgba(255,255,255,0.5); color: white;
  text-decoration: none; font-size: 0.9rem; font-weight: 600; border-radius: 8px; transition: all 0.3s; white-space: nowrap;
}
.btn-cta-outlined:hover { border-color: white; background: rgba(255,255,255,0.1); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .overview-inner { flex-direction: column; gap: 48px; }
  .overview-visual { max-width: 100%; }
  .product-card { flex: 1 1 calc(50% - 10px); }
}
@media (max-width: 768px) {
  .section-pad { padding: 64px 0; }
  .container { padding: 0 20px; }
  .product-card { flex: 1 1 100%; }
  .step-arrow { display: none; }
  .step-card { flex: 1 1 100%; max-width: 100%; }
  .benefit-card { flex: 1 1 calc(50% - 10px); }
  .subservice-cta-inner { flex-direction: column; text-align: center; }
  .cta-btns-row { justify-content: center; }
}
@media (max-width: 480px) {
  .benefit-card { flex: 1 1 100%; }
}
