/* ==========================================================================
   PAGES.CSS - Subpage Styles for CreditRapid IFN
   Minimalist documentation-style design (Stripe / Linear / Notion)
   Inherits CSS variables from style.css
   ========================================================================== */


/* ==========================================================================
   1. QUIZ / QUESTIONNAIRE MODAL
   ========================================================================== */

.quiz-modal {
  max-width: 640px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.quiz-header {
  background: var(--primary);
  padding: 28px 32px 24px;
  text-align: center;
  position: relative;
}

.quiz-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.quiz-header h2 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.2px;
}

.quiz-body {
  padding: 0;
}

/* Quiz Progress Bar */
.quiz-progress {
  height: 4px;
  background: #E5E7EB;
  position: relative;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 0 2px 2px 0;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.quiz-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 0;
  background: transparent;
}

/* Quiz Steps */
.quiz-step {
  display: none;
  padding: 32px;
  animation: quizFadeIn 0.35s ease;
}

.quiz-step.active {
  display: block;
}

@keyframes quizFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quiz-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 20px;
  line-height: 1.45;
}

.quiz-final-title {
  text-align: center;
  font-size: 1.2rem !important;
  margin-bottom: 18px !important;
  letter-spacing: -0.2px;
}

/* Quiz Options (Radio) */
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1.5px solid #E5E7EB;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 0.93rem;
  color: #374151;
  line-height: 1.45;
  background: #fff;
  position: relative;
}

.quiz-option:hover {
  border-color: var(--primary);
  background: #F9FAFB;
  transform: none;
}

.quiz-option input[type="radio"] {
  display: none;
}

.quiz-option-mark {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #D1D5DB;
  flex-shrink: 0;
  position: relative;
  transition: all 0.2s ease;
}

.quiz-option-mark::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: transparent;
  transition: all 0.2s ease;
}

.quiz-option input[type="radio"]:checked ~ .quiz-option-mark {
  border-color: var(--primary);
}

.quiz-option input[type="radio"]:checked ~ .quiz-option-mark::after {
  background: var(--primary);
}

.quiz-option:has(input:checked) {
  border-color: var(--primary);
  background: #F0F4FF;
  font-weight: 600;
  box-shadow: none;
}

/* Quiz Actions */
.quiz-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
}

.quiz-btn {
  padding: 12px 28px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.93rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0;
}

.quiz-next,
.quiz-submit {
  background: var(--primary);
  color: #fff;
  box-shadow: none;
}

.quiz-next:hover:not(:disabled),
.quiz-submit:hover {
  transform: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  opacity: 0.9;
}

.quiz-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.quiz-next i {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.quiz-next:hover:not(:disabled) i {
  transform: translateX(3px);
}

.quiz-back {
  background: #fff;
  color: #6B7280;
  border: 1.5px solid #E5E7EB;
}

.quiz-back:hover {
  border-color: #9CA3AF;
  color: #111827;
  background: #F9FAFB;
}

/* Quiz Recommendation Box */
.quiz-recommendation {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #ECFDF5;
  border: none;
  border-left: 3px solid #10B981;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 0.93rem;
  color: #065F46;
  line-height: 1.5;
}

.quiz-recommendation i {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.quiz-recommendation strong {
  color: #111827;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.88rem;
}

/* Quiz Contact Form */
.quiz-contact-form {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quiz-contact-form .form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}


/* ==========================================================================
   2. NAV DROPDOWN
   ========================================================================== */

.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-toggle i {
  font-size: 0.6rem;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: -16px;
  min-width: 220px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
  border: none;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  font-size: 0.88rem;
  color: #374151;
  transition: all 0.15s ease;
}

.dropdown-menu a:hover {
  background: #F9FAFB;
  color: var(--primary);
  padding-left: 22px;
}

.dropdown-menu a i {
  width: 16px;
  font-size: 0.82rem;
  color: var(--primary);
  opacity: 0.6;
}

.dropdown-menu a:hover i {
  opacity: 1;
}


/* ==========================================================================
   3. HEADER CTA
   ========================================================================== */

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 9px 24px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: all 0.2s ease;
  white-space: nowrap;
  letter-spacing: 0;
  box-shadow: none;
}

.header-cta:hover {
  transform: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #fff;
  opacity: 0.9;
}

.header-cta i {
  font-size: 0.78rem;
}


/* ==========================================================================
   4. COOKIE CONSENT
   ========================================================================== */

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #111827;
  z-index: 9999;
  padding: 18px 0;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  border-top: none;
}

.cookie-consent.active {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-text {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.cookie-text i {
  font-size: 1.3rem;
  color: var(--accent);
  flex-shrink: 0;
}

.cookie-text p {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-text a:hover {
  color: #FFB74D;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 9px 22px;
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  font-family: var(--font-heading);
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
  letter-spacing: 0;
}

.cookie-accept {
  background: var(--accent);
  color: #fff;
  box-shadow: none;
}

.cookie-accept:hover {
  background: var(--accent-hover);
  transform: none;
  box-shadow: none;
  opacity: 0.9;
}

.cookie-decline {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cookie-decline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}


/* ==========================================================================
   5. BREADCRUMB
   ========================================================================== */

.breadcrumb {
  background: #F9FAFB;
  padding: 12px 0;
  border-bottom: 1px solid #E5E7EB;
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.82rem;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9CA3AF;
}

.breadcrumb-list li:not(:last-child)::after {
  content: '\f054';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.5rem;
  color: #D1D5DB;
  opacity: 1;
}

.breadcrumb-list a {
  color: #6B7280;
  font-weight: 500;
  transition: color 0.15s ease;
}

.breadcrumb-list a:hover {
  color: var(--primary);
  text-decoration: none;
  text-underline-offset: 3px;
}


/* ==========================================================================
   6. PAGE HERO
   ========================================================================== */

.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 120px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-radius: 0;
  background: transparent;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0;
  border-radius: 0;
  background: transparent;
  pointer-events: none;
}

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

.page-hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-hero .page-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 600px;
  margin: 0 auto 20px;
  line-height: 1.65;
}

.page-hero .hero-badges {
  justify-content: center;
}


/* ==========================================================================
   7. CONTENT LAYOUT
   ========================================================================== */

.content-section {
  padding: 72px 0;
}

.content-section:nth-child(even) {
  background: #FAFAFA;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
  max-width: 780px;
  margin: 0 auto;
}

/* Content Main Typography */
.content-main {
  min-width: 0;
}

.content-main h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  margin-top: 48px;
  color: #111827;
  padding-bottom: 0;
  border-bottom: none;
  display: block;
  line-height: 1.35;
  letter-spacing: -0.2px;
}

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

.content-main h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 32px 0 12px;
  color: #1F2937;
  padding: 0;
  border-left: none;
  background: none;
  border-radius: 0;
  line-height: 1.4;
}

.content-main h4 {
  font-size: 1.02rem;
  font-weight: 700;
  margin: 24px 0 8px;
  color: #111827;
}

.content-main p {
  font-size: 0.94rem;
  line-height: 1.75;
  color: #4B5563;
  margin-bottom: 16px;
}

.content-main strong {
  color: #111827;
  font-weight: 700;
}

.content-main ul,
.content-main ol {
  margin: 14px 0;
  padding-left: 24px;
}

.content-main ul {
  list-style: none;
  padding-left: 0;
}

.content-main ul li {
  position: relative;
  padding-left: 20px;
}

.content-main ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Exclude styled lists from custom bullets */
.content-main ul.checklist li::before,
.content-main ul.offer-features li::before,
.content-main .checklist li::before,
.content-main .offer-features li::before,
.content-main .sidebar-links li::before,
.content-main .footer-social li::before {
  display: none;
}

.content-main .checklist li,
.content-main .offer-features li {
  padding-left: 0;
}

.content-main ol li {
  padding-left: 4px;
}

.content-main li {
  font-size: 0.94rem;
  line-height: 1.75;
  color: #4B5563;
  margin-bottom: 8px;
}

.content-main a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  border-bottom: none;
  transition: color 0.15s ease;
}

.content-main a:hover {
  color: var(--accent);
  border-bottom: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Content images */
.content-main img {
  border-radius: 8px;
  box-shadow: none;
  margin: 20px 0;
}

/* Blockquote */
.content-main blockquote {
  border-left: 3px solid #E5E7EB;
  background: #F9FAFB;
  padding: 18px 24px;
  margin: 24px 0;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: #4B5563;
  line-height: 1.7;
  font-size: 0.94rem;
}

/* Horizontal rule */
.content-main hr {
  border: none;
  height: 1px;
  background: #E5E7EB;
  margin: 40px 0;
}


/* ==========================================================================
   8. SIDEBAR (Hidden)
   ========================================================================== */

.sidebar {
  display: none;
}

.sidebar-widget {
  display: none;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: none;
}

.sidebar-widget h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-cta {
  display: none;
  background: var(--primary);
  color: #fff;
  border: none;
  text-align: center;
}

.sidebar-cta h3 {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.2);
  justify-content: center;
}

.sidebar-cta p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
  line-height: 1.6;
}

.sidebar-cta .btn-cta {
  background: var(--accent);
  box-shadow: none;
}

.sidebar-links {
  display: none;
}

.sidebar-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 0.88rem;
  color: #374151;
  border-bottom: 1px solid #F3F4F6;
  transition: color 0.15s ease;
}

.sidebar-links a:last-child {
  border-bottom: none;
}

.sidebar-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.sidebar-links a i {
  color: var(--primary);
  width: 18px;
  font-size: 0.82rem;
  flex-shrink: 0;
}


/* ==========================================================================
   9. INFO BOX / CALLOUT
   ========================================================================== */

.info-box {
  padding: 18px 22px;
  border-radius: 8px;
  margin: 24px 0;
  display: block;
  line-height: 1.7;
}

.info-box::before {
  display: none;
}

.info-box i {
  font-size: 0.9rem;
  margin-right: 6px;
}

.info-box p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.7;
}

.info-box strong {
  font-weight: 700;
  color: #111827;
}

/* Info variant */
.info-box.info {
  background: #EFF6FF;
  border: none;
  border-left: 3px solid #3B82F6;
}

.info-box.info::before {
  background: transparent;
}

.info-box.info i {
  color: #3B82F6;
}

/* Success variant */
.info-box.success {
  background: #ECFDF5;
  border: none;
  border-left: 3px solid #10B981;
}

.info-box.success::before {
  background: transparent;
}

.info-box.success i {
  color: #10B981;
}

/* Warning variant */
.info-box.warning {
  background: #FFFBEB;
  border: none;
  border-left: 3px solid #F59E0B;
}

.info-box.warning::before {
  background: transparent;
}

.info-box.warning i {
  color: #F59E0B;
}

/* Danger variant */
.info-box.danger {
  background: #FEF2F2;
  border: none;
  border-left: 3px solid #EF4444;
}

.info-box.danger::before {
  background: transparent;
}

.info-box.danger i {
  color: #EF4444;
}


/* ==========================================================================
   10. AUTHOR / EXPERT BOX (E-E-A-T)
   ========================================================================== */

.author-box {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  margin: 36px 0;
  position: relative;
  overflow: hidden;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.author-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: url('/favicon.svg') center/68% no-repeat #F0F4FF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid #E5E7EB;
}

/* Hide the icon inside avatar — favicon SVG is the background */
.author-avatar i {
  display: none;
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: #111827;
}

.author-info .author-role {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
  display: inline-block;
}

.author-info p {
  font-size: 0.84rem;
  color: #6B7280;
  line-height: 1.6;
  margin: 0;
}

.author-info p small {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  color: #9CA3AF;
}


/* ==========================================================================
   11. CHECKLIST
   ========================================================================== */

.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.checklist li {
  padding: 10px 0;
  font-size: 0.9rem;
  line-height: 1.75;
  color: #4B5563;
  border-bottom: 1px solid #F3F4F6;
}

.checklist li:last-child {
  border-bottom: none;
}

.checklist li i {
  font-size: 0.85rem;
  color: #10B981;
  margin-right: 8px;
}

.checklist li i.fa-times-circle,
.checklist li i.fa-times {
  color: #EF4444;
}

.checklist li strong {
  color: #111827;
  font-weight: 600;
}

.checklist li i.fa-check-circle,
.checklist li i.fa-check {
  color: #10B981;
}

.checklist li i.fa-times-circle,
.checklist li i.fa-times {
  color: #EF4444;
}


/* ==========================================================================
   12. TABLES
   ========================================================================== */

.table-responsive {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  box-shadow: none;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.data-table th {
  background: #F9FAFB;
  color: #374151;
  padding: 12px 16px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  position: static;
  top: auto;
  z-index: auto;
  border-bottom: 2px solid #E5E7EB;
}

.data-table th:first-child {
  border-radius: 0;
}

.data-table th:last-child {
  border-radius: 0;
}

.data-table td {
  padding: 10px 16px;
  border-bottom: 1px solid #F3F4F6;
  color: #374151;
  vertical-align: middle;
  font-size: 0.85rem;
}

/* IFN offer tables only: hide text name + br under logo */
.offers-table td:first-child br {
  display: none;
}

.offers-table td:first-child strong {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

.data-table tbody tr {
  transition: background-color 0.15s ease;
}

.data-table tbody tr:nth-child(even) {
  background: transparent;
}

.data-table tbody tr:hover {
  background: #F9FAFB;
}

.data-table tbody tr:nth-child(even):hover {
  background: #F9FAFB;
}

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

.data-table .highlight-cell {
  font-weight: 700;
  color: #10B981;
}

/* Table with logo images */
.data-table td img {
  width: 80px;
  height: 28px;
  object-fit: contain;
  vertical-align: middle;
}

/* ===== OFFERS TABLE (JS-rendered) ===== */
.offers-table {
  font-size: 0.88rem;
}

.offers-table th {
  background: var(--primary) !important;
  color: #fff !important;
  padding: 11px 16px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  border-bottom: none;
}

.offers-table td {
  padding: 14px 16px;
  white-space: nowrap;
}

.offers-table .td-ifn {
  width: 140px;
}

.offers-table .td-ifn img {
  width: 120px;
  height: 40px;
  object-fit: contain;
}

.offers-table .td-promo {
  font-size: 0.8rem;
  color: var(--success);
  font-weight: 600;
  white-space: normal;
  max-width: 140px;
}

.btn-table {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: var(--accent);
  color: #fff !important;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-heading);
  white-space: nowrap;
  text-decoration: none !important;
  border-bottom: none !important;
  transition: background 0.15s ease;
}

.btn-table:hover {
  background: var(--accent-hover);
  color: #fff !important;
  text-decoration: none !important;
}

.btn-table i {
  font-size: 0.65rem;
}

/* Alternating row tint */
.offers-table tbody tr:nth-child(even) {
  background: #F9FAFB;
}

.offers-table tbody tr:hover {
  background: #EFF6FF;
}

.data-table td a.btn-offer {
  padding: 7px 16px;
  font-size: 0.78rem;
  border-radius: 6px;
  white-space: nowrap;
  display: inline-flex;
  width: auto;
  margin: 0;
  text-decoration: none !important;
  border-bottom: none !important;
  background: var(--accent);
  color: #fff !important;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}


/* ==========================================================================
   13. COMPARISON CARDS
   ========================================================================== */

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 32px 0;
  max-width: none;
}

/* Checklist inside comparison card */
.comparison-card .checklist {
  margin: 0;
}

.comparison-card .checklist li {
  padding: 8px 0;
  font-size: 0.85rem;
  line-height: 1.6;
}

.comparison-card h3 {
  font-size: 1.05rem;
  padding: 16px 20px;
  margin: 0;
  border-bottom: 1px solid #F3F4F6;
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border-left: none;
}

.comparison-card .checklist {
  padding: 12px 20px;
}

.comparison-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: none;
  position: relative;
}

.comparison-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: transparent;
  opacity: 0;
  transition: none;
}

.comparison-card:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transform: none;
}

.comparison-card:hover::before {
  opacity: 0;
}

.comparison-card.featured {
  border-color: var(--accent);
  position: relative;
  box-shadow: none;
}

.comparison-card.featured::before {
  opacity: 0;
  background: transparent;
}

.comparison-card-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 4px 18px;
  border-radius: 0 0 6px 6px;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  z-index: 1;
}

.comparison-card-header {
  padding: 24px 20px 20px;
  text-align: center;
  background: #F9FAFB;
  border-bottom: 1px solid #E5E7EB;
}

.comparison-card-logo {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  box-shadow: none;
}

.comparison-card-header h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  font-weight: 700;
}

.comparison-card-header .subtitle {
  font-size: 0.82rem;
  color: #9CA3AF;
}

.comparison-card-body {
  padding: 20px;
}

.comparison-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #F3F4F6;
  font-size: 0.88rem;
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-row .label {
  color: #6B7280;
}

.comparison-row .value {
  font-weight: 700;
  color: #111827;
  font-family: var(--font-heading);
}

.comparison-row .value.green {
  color: #10B981;
}

.comparison-card-footer {
  padding: 0 20px 20px;
}


/* ==========================================================================
   14. CALCULATOR PAGE
   ========================================================================== */

.calc-container {
  max-width: 780px;
  margin: 0 auto;
}

.calc-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: none;
  overflow: hidden;
  margin-bottom: 28px;
  border: 1px solid #E5E7EB;
}

.calc-card-header {
  background: var(--primary);
  padding: 24px 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.calc-card-header::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-radius: 0;
  background: transparent;
  pointer-events: none;
}

.calc-card-header h2 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 4px;
  font-weight: 700;
  position: relative;
}

.calc-card-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  position: relative;
}

.calc-card-body {
  padding: 32px;
}

.calc-type-toggle {
  display: flex;
  background: #F3F4F6;
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 28px;
  border: none;
}

.calc-type-btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  background: none;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: #6B7280;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.calc-type-btn:hover {
  color: #111827;
}

.calc-type-btn.active {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.calc-result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}

.calc-result-item {
  text-align: center;
  padding: 20px 14px;
  background: #F9FAFB;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  transition: all 0.15s ease;
}

.calc-result-item:hover {
  border-color: var(--primary);
  background: #fff;
}

.calc-result-item .label {
  font-size: 0.75rem;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
}

.calc-result-item .value {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.2px;
}

.calc-result-item .value.accent {
  color: var(--accent);
}

/* Amortization Table */
.amortization-section {
  margin-top: 32px;
}

.amortization-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1.5px solid #E5E7EB;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  width: 100%;
  justify-content: center;
  transition: all 0.15s ease;
}

.amortization-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #F9FAFB;
}

.amortization-toggle i {
  transition: transform 0.2s ease;
}

.amortization-toggle.active i {
  transform: rotate(180deg);
}

.amortization-table-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.amortization-table-wrap.active {
  max-height: 2000px;
  margin-top: 16px;
}


/* ==========================================================================
   15. GUIDE / BLOG CARDS
   ========================================================================== */

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.guide-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  transition: all 0.2s ease;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

.guide-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border-color: #E5E7EB;
}

.guide-card-img {
  height: 140px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.guide-card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  background: transparent;
  pointer-events: none;
}

.guide-card-img i {
  font-size: 2.2rem;
  color: rgba(255, 255, 255, 0.2);
  z-index: 1;
}

.guide-card-img .guide-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  z-index: 2;
  box-shadow: none;
}

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

.guide-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.guide-card-body h3 a {
  color: #111827;
  text-decoration: none;
  border-bottom: none;
  transition: color 0.15s ease;
}

.guide-card-body h3 a:hover {
  color: var(--primary);
}

.guide-card-body p {
  font-size: 0.86rem;
  color: #6B7280;
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.guide-card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.75rem;
  color: #9CA3AF;
  padding-top: 12px;
  border-top: 1px solid #F3F4F6;
  margin-top: auto;
}

.guide-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.guide-card-meta i {
  color: #9CA3AF;
  opacity: 1;
  font-size: 0.72rem;
}


/* ==========================================================================
   16. CONTACT PAGE
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  margin-bottom: 12px;
  transition: all 0.15s ease;
}

.contact-info-card:hover {
  border-color: var(--primary);
  box-shadow: none;
  transform: none;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F3F4F6;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
  font-weight: 700;
}

.contact-info-card p {
  font-size: 0.88rem;
  color: #6B7280;
  margin: 0;
  line-height: 1.5;
}

.contact-form-card {
  background: #fff;
  border-radius: 12px;
  padding: 36px;
  box-shadow: none;
  border: 1px solid #E5E7EB;
}

.contact-form-card h2 {
  font-size: 1.4rem;
  margin-bottom: 4px;
  font-weight: 700;
}

.contact-form-card > p {
  color: #6B7280;
  margin-bottom: 24px;
  font-size: 0.93rem;
}

.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #E5E7EB;
  border-radius: 8px;
  font-size: 0.93rem;
  font-family: var(--font-body);
  color: #374151;
  background: #fff;
  transition: all 0.15s ease;
  outline: none;
  resize: vertical;
  min-height: 120px;
}

.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}


/* ==========================================================================
   17. LEGAL CONTENT
   ========================================================================== */

.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 0;
}

.legal-content h1 {
  font-size: 1.85rem;
  margin-bottom: 6px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.legal-content .legal-updated {
  font-size: 0.86rem;
  color: #9CA3AF;
  margin-bottom: 32px;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin: 40px 0 14px;
  padding-top: 24px;
  border-top: 1px solid #E5E7EB;
  font-weight: 700;
}

.legal-content h3 {
  font-size: 1.05rem;
  margin: 24px 0 10px;
  font-weight: 700;
}

.legal-content p {
  font-size: 0.94rem;
  line-height: 1.75;
  margin-bottom: 14px;
  color: #4B5563;
}

.legal-content ul {
  margin: 10px 0 18px;
  padding-left: 24px;
}

.legal-content li {
  font-size: 0.94rem;
  line-height: 1.75;
  margin-bottom: 4px;
}


/* ==========================================================================
   18. TIMELINE / STEPS
   ========================================================================== */

.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #E5E7EB;
  border-radius: 1px;
}

.timeline-item {
  position: relative;
  padding: 4px 0 4px 40px;
  margin-bottom: 24px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transition: none;
}

.timeline-item:hover {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.timeline-dot {
  position: absolute;
  left: 9px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 0;
  font-weight: 800;
  font-family: var(--font-heading);
  z-index: 1;
  box-shadow: none;
  border: 2px solid #fff;
}

.timeline-item h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: #111827;
  font-weight: 700;
}

.timeline-item p {
  font-size: 0.88rem;
  color: #6B7280;
  line-height: 1.65;
  margin: 0;
}


/* ==========================================================================
   19. FEATURE LIST
   ========================================================================== */

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.feature-item {
  padding: 20px;
  background: #F9FAFB;
  border-radius: 10px;
  border: 1px solid #E5E7EB;
  transition: all 0.15s ease;
}

.feature-item:hover {
  background: #F3F4F6;
  border-color: #D1D5DB;
}

/* Icon directly inside feature-item */
.feature-item > i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

/* Wrapper icon (if used) */
.feature-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-bottom: 12px;
}

.feature-item h3,
.feature-item h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
  font-weight: 700;
  color: #111827;
}

.feature-item p {
  font-size: 0.88rem;
  color: #6B7280;
  line-height: 1.6;
  margin: 0;
}


/* ==========================================================================
   20. CONTENT CTA SECTION
   ========================================================================== */

.content-cta {
  background: var(--primary);
  border-radius: 12px;
  padding: 40px;
  margin: 48px 0;
  text-align: center;
}

.content-cta::before,
.content-cta::after {
  display: none;
}

.content-cta .container {
  padding: 0;
  max-width: none;
  display: block !important;
}

.content-cta h2,
.content-cta h3 {
  color: #fff;
  font-size: 1.3rem;
  margin: 0 0 10px;
  font-weight: 700;
  border: none;
  padding: 0;
  background: none;
}

.content-cta p {
  color: rgba(255,255,255,0.8);
  margin: 0 0 24px;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 24px;
}

.content-cta div:last-child {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.content-cta .btn-cta {
  width: auto;
  white-space: nowrap;
  padding: 12px 28px;
  font-size: 0.9rem;
  background: var(--accent);
  border-radius: 8px;
}

.content-cta .btn-outline {
  white-space: nowrap;
  padding: 12px 28px;
  font-size: 0.9rem;
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}

.content-cta .btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}


/* ==========================================================================
   21. INLINE CTA
   ========================================================================== */

.inline-cta {
  background: var(--primary);
  border-radius: 12px;
  padding: 28px 32px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.inline-cta::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-radius: 0;
  background: transparent;
  pointer-events: none;
}

.inline-cta-text h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 4px;
  border: none;
  padding: 0;
  background: none;
  font-weight: 700;
}

.inline-cta-text p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.5;
}

.inline-cta .btn-cta {
  width: auto;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
}


/* ==========================================================================
   22. ABOUT PAGE
   ========================================================================== */

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.value-card {
  text-align: center;
  padding: 32px 24px;
  background: #F9FAFB;
  border-radius: 8px;
  border: none;
  transition: background 0.15s ease;
}

.value-card:hover {
  border-color: transparent;
  box-shadow: none;
  transform: none;
  background: #F3F4F6;
}

.value-card i {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 14px;
  display: block;
}

.value-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.value-card p {
  font-size: 0.88rem;
  color: #6B7280;
  line-height: 1.6;
  margin: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
}

.team-card {
  text-align: center;
  padding: 32px 24px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  transition: all 0.15s ease;
}

.team-card:hover {
  transform: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border-color: #D1D5DB;
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  box-shadow: none;
}

.team-card h3 {
  font-size: 1.05rem;
  margin-bottom: 2px;
  font-weight: 700;
}

.team-card .team-role {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 12px;
  display: inline-block;
}

.team-card p {
  font-size: 0.86rem;
  color: #6B7280;
  line-height: 1.55;
  margin: 0;
}


/* ==========================================================================
   23. FAQ STANDALONE PAGE
   ========================================================================== */

.faq-categories {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.faq-cat-btn {
  padding: 8px 20px;
  border: 1.5px solid #E5E7EB;
  background: #fff;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 600;
  color: #6B7280;
  cursor: pointer;
  transition: all 0.15s ease;
}

.faq-cat-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #fff;
}

.faq-cat-btn.active {
  border-color: var(--primary);
  color: #fff;
  background: var(--primary);
  box-shadow: none;
}


/* ==========================================================================
   24. FILTERS (Comparison Page)
   ========================================================================== */

.filter-bar {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  padding: 20px 24px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  margin-bottom: 28px;
  box-shadow: none;
}

.filter-bar .form-group {
  margin-bottom: 0;
  flex: 1;
  min-width: 180px;
}

.filter-bar label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  display: block;
  font-family: var(--font-heading);
}

.filter-bar select,
.filter-bar input {
  width: 100%;
  padding: 9px 14px;
  border: 1.5px solid #E5E7EB;
  border-radius: 6px;
  font-size: 0.88rem;
  font-family: var(--font-body);
  color: #374151;
  background: #F9FAFB;
  outline: none;
  transition: all 0.15s ease;
}

.filter-bar select:focus,
.filter-bar input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.06);
}


/* ==========================================================================
   25. PAGINATION
   ========================================================================== */

.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-heading);
  border: 1px solid #E5E7EB;
  color: #374151;
  transition: all 0.15s ease;
  background: #fff;
}

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

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


/* ==========================================================================
   26. RESPONSIVE - 1024px
   ========================================================================== */

@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

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

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


/* ==========================================================================
   27. RESPONSIVE - 768px
   ========================================================================== */

@media (max-width: 768px) {

  /* Hide header CTA on mobile */
  .header-cta {
    display: none !important;
  }

  /* Mobile nav dropdown */
  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0;
    display: none;
    min-width: auto;
    border-radius: 0;
    background: #F9FAFB;
  }

  .nav-dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown-toggle {
    padding: 16px 24px;
    border-bottom: 1px solid #F3F4F6;
    width: 100%;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: 500;
    color: #1F2937;
  }

  .dropdown-menu a {
    padding: 14px 24px 14px 44px;
    border-bottom: 1px solid #F3F4F6;
    font-size: 0.92rem;
    color: #4B5563;
  }

  .dropdown-menu a:last-child {
    border-bottom: none;
  }

  .dropdown-menu a i {
    width: 18px;
    color: var(--primary);
  }

  /* Page Hero */
  .page-hero {
    padding: 88px 0 36px;
  }

  .page-hero h1 {
    font-size: 1.6rem;
  }

  .page-hero .page-subtitle {
    font-size: 0.93rem;
  }

  /* Content */
  .content-section {
    padding: 48px 0;
  }

  .content-main h2 {
    font-size: 1.3rem;
    margin-top: 36px;
  }

  .content-main h3 {
    font-size: 1.05rem;
    margin-top: 24px;
    padding: 0;
  }

  .content-main p,
  .content-main li {
    font-size: 0.9rem;
  }

  /* Sidebar */
  .sidebar {
    display: none;
    margin-top: 0;
  }

  .sidebar-widget {
    padding: 18px;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-form-card {
    padding: 24px;
  }

  .contact-info-card {
    padding: 16px;
  }

  /* Features */
  .feature-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .feature-item {
    padding: 14px;
  }

  /* Calculator */
  .calc-result-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .calc-type-toggle {
    flex-direction: column;
    gap: 4px;
  }

  .calc-type-btn {
    padding: 10px;
    font-size: 0.85rem;
  }

  .calc-card-header {
    padding: 18px 22px;
  }

  .calc-card-body {
    padding: 22px;
  }

  /* Comparison */
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .comparison-card-body {
    padding: 16px;
  }

  .comparison-row {
    font-size: 0.84rem;
    padding: 8px 0;
  }

  .comparison-card-footer {
    padding: 0 16px 16px;
  }

  /* Filter */
  .filter-bar {
    flex-direction: column;
    padding: 16px;
    gap: 10px;
    align-items: stretch;
  }

  .filter-bar .form-group {
    width: 100%;
    min-width: auto;
  }

  .filter-bar select,
  .filter-bar input {
    font-size: 16px; /* Prevent iOS zoom */
  }

  /* Tables */
  .table-responsive {
    margin: 16px -14px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .data-table th,
  .data-table td {
    padding: 10px 12px;
    font-size: 0.8rem;
  }

  /* Info Box */
  .info-box {
    padding: 14px 16px;
    font-size: 0.86rem;
    gap: 10px;
  }

  .info-box i {
    font-size: 0.9rem;
  }

  /* Author Box */
  .author-box {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
    align-items: center;
  }

  .author-avatar {
    margin: 0 auto;
  }

  .author-info {
    text-align: center;
  }

  /* Guide Cards */
  .guide-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .guide-card-img {
    height: 120px;
  }

  .guide-card-body {
    padding: 16px;
  }

  /* Timeline */
  .timeline::before {
    left: 12px;
  }

  .timeline-item {
    padding: 2px 0 2px 36px;
    margin-bottom: 20px;
  }

  .timeline-item:hover {
    transform: none;
  }

  .timeline-dot {
    left: 6px;
    top: 4px;
    width: 12px;
    height: 12px;
    font-size: 0;
  }

  .timeline-item h4 {
    font-size: 0.93rem;
  }

  .timeline-item p {
    font-size: 0.84rem;
  }

  /* Checklist - already single column, no changes needed */

  /* Cookie */
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .cookie-text {
    flex-direction: column;
    gap: 8px;
  }

  .cookie-text p {
    font-size: 0.8rem;
  }

  .cookie-actions {
    width: 100%;
    justify-content: center;
  }

  .cookie-btn {
    flex: 1;
    padding: 9px 14px;
    font-size: 0.84rem;
  }

  /* Breadcrumb */
  .breadcrumb {
    padding: 10px 0;
  }

  .breadcrumb-list {
    font-size: 0.76rem;
  }

  /* Quiz */
  .quiz-modal {
    max-width: 100%;
    border-radius: 0;
    max-height: 100vh;
  }

  .quiz-header {
    padding: 20px 18px;
  }

  .quiz-header h2 {
    font-size: 1.05rem;
  }

  .quiz-step {
    padding: 20px 18px;
  }

  .quiz-step h3 {
    font-size: 0.98rem;
    margin-bottom: 16px;
  }

  .quiz-option {
    padding: 12px 14px;
    font-size: 0.88rem;
  }

  .quiz-option-mark {
    width: 18px;
    height: 18px;
  }

  .quiz-btn {
    padding: 10px 20px;
    font-size: 0.88rem;
  }

  .quiz-recommendation {
    padding: 14px 16px;
    font-size: 0.86rem;
  }

  /* About */
  .about-values,
  .team-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .value-card,
  .team-card {
    padding: 24px 20px;
  }

  /* Legal */
  .legal-content {
    padding: 36px 0;
  }

  .legal-content h1 {
    font-size: 1.45rem;
  }

  .legal-content h2 {
    font-size: 1.15rem;
    margin-top: 28px;
  }

  /* Old mobile dropdown removed — handled at top of this media query */

  /* Content CTA */
  .content-cta {
    padding: 28px 20px;
  }

  .content-cta div:last-child {
    flex-direction: column;
  }

  .content-cta .btn-cta,
  .content-cta .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .content-cta h3,
  .content-cta h2 {
    font-size: 1.15rem;
  }

  .content-cta p {
    font-size: 0.9rem;
  }

  /* Inline CTA */
  .inline-cta {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }

  .inline-cta .btn-cta {
    width: 100%;
    justify-content: center;
  }

  /* FAQ */
  .faq-categories {
    gap: 6px;
  }

  .faq-cat-btn {
    padding: 7px 16px;
    font-size: 0.8rem;
  }
}


/* ==========================================================================
   28. RESPONSIVE - 480px
   ========================================================================== */

@media (max-width: 480px) {
  .page-hero h1 {
    font-size: 1.3rem;
  }

  .page-hero .page-subtitle {
    font-size: 0.86rem;
  }

  .content-section {
    padding: 32px 0;
  }

  .content-main h2 {
    font-size: 1.15rem;
    margin-top: 28px;
    padding-bottom: 0;
  }

  .content-main h3 {
    font-size: 0.98rem;
    padding: 0;
  }

  .guide-card-img {
    height: 110px;
  }

  .contact-form-card {
    padding: 18px;
  }

  .comparison-card-header {
    padding: 18px 16px;
  }

  .quiz-options {
    gap: 6px;
  }

  .quiz-step {
    padding: 16px 14px;
  }

  .content-cta {
    padding: 24px 16px;
    margin: 32px 0;
  }

  .content-cta h3 {
    font-size: 1.05rem;
  }

  .inline-cta {
    padding: 20px 16px;
  }

  .calc-card-body {
    padding: 16px;
  }

  .calc-card-header {
    padding: 16px;
  }

  .author-box {
    padding: 16px 14px;
  }

  .timeline-item {
    padding: 2px 0 2px 32px;
  }

  .pagination a,
  .pagination span {
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
  }
}


/* ==========================================================================
   29. PRINT STYLES
   ========================================================================== */

@media print {
  .header,
  .footer,
  .cookie-consent,
  .breadcrumb,
  .header-cta,
  .btn-cta,
  .btn-offer,
  .sidebar-cta,
  .mobile-toggle,
  .content-cta,
  .inline-cta {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

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

  .content-section {
    padding: 20px 0;
  }

  .page-hero {
    background: #f5f5f5 !important;
    padding: 20px 0;
  }

  .page-hero h1 {
    color: #000;
    font-size: 18pt;
  }

  a {
    text-decoration: underline;
    color: #000;
  }

  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 0.8em;
    color: #666;
  }

  .info-box {
    border: 1px solid #ccc;
    box-shadow: none;
  }

  .data-table th {
    background: #e0e0e0 !important;
    color: #000;
  }

  .comparison-card,
  .guide-card,
  .feature-item,
  .timeline-item {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }
}
