.group-block { position: relative; padding-left: 110px; margin: 16px 0; }
.group-block .group-title { position: absolute; left: 0; top: 0; bottom: 0; width: 92px; display: flex; align-items: center; justify-content: center; writing-mode: vertical-rl; text-orientation: mixed; font-weight: 800; letter-spacing: 0.5px; }
.group-block.compliance .group-title { color: var(--group-compliance); border-left: 4px solid var(--group-compliance); }
.group-block.incentives .group-title { color: var(--group-incentives); border-left: 4px solid var(--group-incentives); }
.group-block.addons .group-title { color: var(--group-addons); border-left: 4px solid var(--group-addons); }
.tier-table.no-head .cell.head { display: none; }
@import url('../components/service-page-header.css');
@import url('../sections/services-page-shared.css');
@import url('../sections/carousel-unified.css');

:root {
  --page-primary: #116466;
  --page-primary-dark: #0c4b4c;
  --page-primary-light: #1a7e80;
  --ok: #16a34a;
  --no: #dc2626;
  --opt: #7c3aed;
  /* Group title colors */
  --group-compliance: #0f766e;
  --group-incentives: #2563eb;
  --group-addons: #9333ea;
  
  /* Card color palette (same as envelope consulting) */
  --card-green-mint: #e5f5ed;
  --card-blue-gray: #e5eaef;
  --card-blue-powder: #dde9f5;
  --card-green-sage: #e4ece7;
  --card-off-white: #f8f6f2;
  --card-lavender-pale: #eae5f0;
  --card-blue-sky: #e1effe;
  --card-green-muted: #d5e9cf;
  
  /* Shadow colors */
  --shadow-green-mint: rgba(106, 191, 123, 0.25);
  --shadow-blue-gray: rgba(96, 125, 139, 0.25);
  --shadow-blue-powder: rgba(33, 150, 243, 0.25);
  --shadow-green-sage: rgba(129, 199, 132, 0.25);
  --shadow-off-white: rgba(158, 158, 158, 0.25);
  --shadow-lavender-pale: rgba(171, 130, 186, 0.25);
  --shadow-blue-sky: rgba(66, 165, 245, 0.25);
  --shadow-green-muted: rgba(156, 204, 101, 0.25);
}

body[data-page="bundles"] .breadcrumb-container { margin-top: 20px; }

/* Section wrapper */
.bundles {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
  background-color: #ffffff;
}

/* Large-card carousel layout */
.bundle-carousel-container {
  /* full-bleed like energy modeling */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0 50px;
  box-sizing: border-box;
  overflow: hidden;
  margin-top: 40px;
}

.bundle-carousel {
  display: flex;
  gap: 2rem;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  padding: 1rem 1.5rem;
  scroll-behavior: smooth;
  /* Hide native scrollbar to avoid the thin scroll line under cards */
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

.bundle-carousel::-webkit-scrollbar { /* Chrome, Safari */
  display: none;
}

/* Disable snap while hover auto-scroll is running */
.bundle-carousel.hover-scrolling {
  scroll-snap-type: none;
}

.bundle-card {
  flex: 0 0 80%; /* show ~1 card and part of the next */
  max-width: 1000px;
  margin-right: 1.5rem;
  background: var(--card-off-white, #f8f6f2);
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: all 0.3s ease;
}

/* Apply envelope-style card colors */
.bundle-card:nth-child(4n+1) { background-color: var(--card-lavender-pale); }
.bundle-card:nth-child(4n+2) { background-color: var(--card-blue-powder); }
.bundle-card:nth-child(4n+3) { background-color: var(--card-green-mint); }
.bundle-card:nth-child(4n+4) { background-color: var(--card-blue-sky); }

/* Hover effects with colored shadows and subtle lift */
.bundle-card:hover {
  transform: translateY(-4px);
}

.bundle-card:nth-child(4n+1):hover { box-shadow: 0 12px 30px var(--shadow-lavender-pale); }
.bundle-card:nth-child(4n+2):hover { box-shadow: 0 12px 30px var(--shadow-blue-powder); }
.bundle-card:nth-child(4n+3):hover { box-shadow: 0 12px 30px var(--shadow-green-mint); }
.bundle-card:nth-child(4n+4):hover { box-shadow: 0 12px 30px var(--shadow-blue-sky); }

.bundle-card.open {
  box-shadow: 0 18px 40px rgba(16, 185, 129, 0.25);
}

.bundle-card.ghost {
  opacity: 0.35;
}

.bundle-media {
  /* no frame - clean image display */
  position: relative;
  width: 300px;
  height: 300px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bundle-media video,
.bundle-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.price-chip {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(16, 185, 129, 0.85);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: 700;
  border: 2px solid rgba(16, 185, 129, 0.95);
  transition: all 0.3s ease;
  box-shadow: 0 3px 12px rgba(16, 185, 129, 0.4);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.bundle-card:hover .price-chip {
  background: rgba(16, 185, 129, 1);
  border-color: rgba(16, 185, 129, 1);
  box-shadow: 0 5px 20px rgba(16, 185, 129, 0.6);
  transform: translateY(-3px) scale(1.05);
}

.bundle-content {
  padding: 24px 32px 24px 32px; /* similar to EM .card-inner */
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 2rem;
}

/* Normalize height when any card is open to avoid jumpy layout */
.bundle-card {
  --open-details-height: 0px;
}
.bundle-card .bundle-details { min-height: var(--open-details-height); }

.bundle-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bundle-content h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
  margin: 0 0 0.75rem 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #1f2937;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 12px;
}

.bundle-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--page-primary), transparent);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.bundle-card:hover .bundle-content h2 {
  color: var(--page-primary-dark);
}

.bundle-card:hover .bundle-content h2::after {
  width: 120px;
}

.bundle-content p {
  margin: 0 0 1rem 0;
  color: #4b5563;
  font-size: clamp(0.95rem, 1vw, 1.05rem);
  line-height: 1.6;
  font-weight: 400;
  transition: color 0.3s ease;
}

.bundle-card:hover .bundle-content p {
  color: #1f2937;
}

.tier-descriptions {
  margin: 1.5rem 0;
}

.tier-desc {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 25px;
  border-left: 4px solid #10b981;
}

.tier-desc:last-child {
  border-left-color: #3b82f6;
}

.tier-desc h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
}

.tier-desc p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
}

.bundle-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.bundle-actions .btn,
.bundle-actions .primary-btn,
.bundle-actions .secondary-btn {
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
}

.expand-toggle {
  background: transparent;
  color: var(--page-primary-dark);
  border: 2px solid var(--page-primary);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.expand-toggle:hover {
  background: var(--page-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17, 100, 102, 0.3);
}

.expand-toggle .chev {
  margin-left: 8px;
  transition: transform 0.25s ease;
}

.expand-toggle[aria-expanded="true"] {
  background: var(--page-primary);
  color: white;
}

.expand-toggle[aria-expanded="true"] .chev {
  transform: rotate(180deg);
}

.bundle-details {
  border-top: 1px solid rgba(0,0,0,0.06);
  background: inherit; /* follow card background */
  padding: 1rem 1.25rem 1.25rem 1.25rem;
}

/* Comparison matrix (5 columns): Name | Description | Tier 1 | Tier 2 | Category */
.tier-compare {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.table-header {
  display: grid;
  grid-template-columns: 60px 1fr 100px 140px;
  gap: 1rem;
  padding: 1rem;
  background: inherit;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px 16px 0 0;
  margin-bottom: 0;
}

.table-header .header-cell:first-child {
  grid-column: 2; /* Move Service header to second column */
}

.table-header .header-cell:nth-child(2) {
  grid-column: 3; /* Move Tier 1 to third column */
}

.table-header .header-cell:nth-child(3) {
  grid-column: 4; /* Move Tier 2 to fourth column */
}

.header-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: #1a1a1a;
  min-height: 80px;
  text-align: center;
}

.header-cell:first-child {
  justify-content: flex-start;
  text-align: left;
}

.header-cell:nth-child(2),
.header-cell:nth-child(3) {
  justify-content: center;
  text-align: center;
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-group {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1rem;
  margin-bottom: 0;
  border-radius: 16px;
  background: inherit;
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
}

.group-label {
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  text-align: center;
  padding: 1rem 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  width: 50px;
  line-height: 1.2;
  text-transform: none;
  letter-spacing: 0.5px;
  margin: 0.5rem;
  height: calc(100% - 1rem);
}

.group-label.green { 
  background: var(--group-compliance); 
  border: 1px solid var(--group-compliance); 
}

.group-label.blue { 
  background: var(--group-incentives); 
  border: 1px solid var(--group-incentives); 
}

.group-label.purple { 
  background: var(--group-addons); 
  border: 1px solid var(--group-addons); 
}

.group-services {
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 100px 140px;
  gap: 14px;
  align-items: center;
  min-height: 80px;
  padding: 12px 8px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.service-row .tier-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

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

.service-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tier-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.tier-cell.check,
.tier-cell.cross,
.tier-cell.optional {
  justify-content: center;
  text-align: center;
}


/* Mobile Responsiveness - Card Layout for Small Screens */
@media (max-width: 768px) {
  .bundle-content {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .bundle-media {
    width: 100%;
    height: 200px;
    align-self: center;
    max-width: 250px;
    order: -1; /* Move image to top */
  }
  
  .bundle-text {
    order: 1; /* Move text content below image */
  }
  
  .price-chip {
    bottom: 10px;
    right: 10px;
    padding: 6px 10px;
    font-size: 0.8rem;
  }
  
  .bundle-details {
    padding: 0.5rem;
  }
  
  .table-header {
    display: none; /* Hide header on mobile for cleaner layout */
  }
  
  .services-grid {
    gap: 1rem;
  }
  
  .service-group {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 25px;
    border: 2px solid;
  }
  
  .service-group .group-label.green {
    background: #10b981;
    color: white;
  }
  
  .service-group .group-label.blue {
    background: #3b82f6;
    color: white;
  }
  
  .service-group .group-label.purple {
    background: #8b5cf6;
    color: white;
  }
  
  /* Group background colors with high opacity */
  .service-group:has(.group-label.green) {
    background: rgba(16, 185, 129, 0.1); /* Light green background */
    border-color: #10b981; /* Green border */
  }
  
  .service-group:has(.group-label.blue) {
    background: rgba(59, 130, 246, 0.1); /* Light blue background */
    border-color: #3b82f6; /* Blue border */
  }
  
  .service-group:has(.group-label.purple) {
    background: rgba(139, 92, 246, 0.1); /* Light purple background */
    border-color: #8b5cf6; /* Purple border */
  }
  
  .group-label {
    writing-mode: horizontal-tb;
    transform: none;
    width: 100%;
    height: auto;
    padding: 1.5rem 1rem;
    font-size: 1.1rem;
    text-align: center;
    border-radius: 25px;
    margin: 0 0 1rem 0;
    order: -1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .group-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: white;
  }
  
  .tier-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .tier-badge.tier-1 {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
  }
  
  .tier-badge.tier-2 {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
  }
  
  .tier-badge.optional {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
  }
  
  .tier-description {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
  }
  
  /* Hide tier status on mobile for all groups */
  .tier-1-group .tier-status,
  .tier-2-group .tier-status,
  .addon-group .tier-status {
    display: none;
  }
  
  /* Visual tier relationship indicators */
  .tier-2-group .group-label::before {
    content: "✓";
    position: absolute;
    top: -8px;
    left: 20px;
    background: #10b981;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  
  .tier-2-group .group-label {
    position: relative;
  }
  
  .tier-2-group .tier-description::after {
    content: " (Tier 1 included)";
    font-size: 0.8rem;
    opacity: 0.8;
    font-style: italic;
  }
  
  /* Collapse tier descriptions behind accordions for smaller screens */
  .tier-collapsible {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    margin-bottom: 0.75rem;
    overflow: hidden;
  }
  .tier-collapsible summary {
    list-style: none;
    cursor: pointer;
    padding: 12px 16px;
    font-weight: 600;
    color: #1a1a1a;
  }
  .tier-collapsible summary::-webkit-details-marker { display: none; }
  .tier-collapsible[open] summary { border-bottom: 1px solid rgba(0,0,0,0.06); }
  .tier-collapsible-content { padding: 12px 16px; }
  
  .group-services {
    padding: 0;
  }
  
  .service-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: auto;
    padding: 1.25rem;
    background: white;
    border-radius: 25px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  
  /* Service row borders that match group colors */
  .service-group:has(.group-label.green) .service-row {
    border-left: 3px solid #10b981;
  }
  
  .service-group:has(.group-label.blue) .service-row {
    border-left: 3px solid #3b82f6;
  }
  
  .service-group:has(.group-label.purple) .service-row {
    border-left: 3px solid #8b5cf6;
  }
  
  .service-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
  
  .service-cell {
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }
  
  .item-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.25rem;
  }
  
  .item-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #6b7280;
    margin-bottom: 0.5rem;
  }
  
  .more-toggle {
    font-size: 0.85rem;
    color: #3b82f6;
    font-weight: 600;
  }
  
  
  .tier-cell.check .dot,
  .tier-cell.cross .dot {
    font-size: 1.2rem;
  }
  
  .tier-cell.optional .badge {
    font-size: 0.75rem;
    padding: 2px 8px;
  }
}

/* Desktop Layout - Original Table Design */
@media (min-width: 769px) {
  .service-row {
    display: grid;
    grid-template-columns: 60px 1fr 100px 140px; /* 60px for label, then 1fr for service, 100px for Tier 1, 140px for Tier 2 */
    gap: 1rem;
    min-height: 80px;
    padding: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    align-items: center;
  }
  
  .service-cell {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    grid-column: 2; /* Service content in second column */
  }
  
  .tier-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
  }
  
  /* Desktop group label styles */
  .group-label {
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    width: 60px;
    height: auto;
    padding: 1rem 0.5rem;
    font-size: 0.9rem;
    text-align: center;
    border-radius: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .service-group {
    grid-template-columns: 60px 1fr;
    gap: 1rem;
    margin-bottom: 0;
    padding: 0;
    background: transparent;
  }
  
  .group-services {
    padding: 0;
  }
  
  /* Hide mobile-specific elements on desktop */
  .tier-badge,
  .tier-description {
    display: none;
  }
  
  /* Show group titles on desktop */
  .group-title {
    display: block;
    color: white;
  }
  
  /* Show tier status on desktop */
  .tier-status {
    display: contents;
  }
  
  .tier-status-item {
    display: contents;
  }
  
  .tier-status-label {
    display: none;
  }
  
  /* Position tier cells in correct grid columns on desktop */
  .tier-status-item:first-child .tier-cell {
    grid-column: 3; /* First tier cell in third column */
  }
  
  .tier-status-item:last-child .tier-cell {
    grid-column: 4; /* Second tier cell in fourth column */
  }
}

@media (max-width: 480px) {
  .bundle-details {
    padding: 0.25rem;
  }
  
  .service-group {
    padding: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .group-label {
    padding: 0.75rem;
    font-size: 1rem;
  }
  
  .service-row {
    padding: 0.75rem;
  }
  
  .item-title {
    font-size: 0.95rem;
  }
  
  .item-desc {
    font-size: 0.85rem;
  }
  
  .tier-status {
    padding: 0.5rem;
  }
  
  .tier-status-label {
    font-size: 0.7rem;
  }
  
  .tier-cell.check .dot,
  .tier-cell.cross .dot {
    font-size: 1.1rem;
  }
  
  .tier-cell.optional .badge {
    font-size: 0.7rem;
    padding: 1px 6px;
  }
}

.group-title {
  margin: 16px 0 6px 0;
  font-weight: 700;
  font-size: 18px;
}
.group-title.compliance { color: var(--group-compliance); }
.group-title.incentives { color: var(--group-incentives); }
.group-title.addons { color: var(--group-addons); }

.policy-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eef2ff;
  color: #3730a3;
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.85rem;
  text-decoration: none;
}

.policy-link i { color: #6366f1; }

.policy-inline { display: inline-flex; gap: 8px; margin-left: 8px; }

.item-title { font-weight: 700; color: #111827; }
.item-desc { 
  display: none; /* Hidden by default */
  margin-top: 4px; 
  color: #374151; 
  font-size: 0.95rem; 
  line-height: 1.5; 
  margin-bottom: 8px;
  transition: display 0.3s ease;
}
.more-toggle { 
  margin-top: 0; 
  display: inline-flex; 
  align-items: center; 
  gap: 6px; 
  color: var(--page-primary); 
  font-weight: 600; 
  font-size: 0.9rem; 
  background: transparent; 
  border: 0; 
  cursor: pointer; 
  padding: 4px 0;
  transition: color 0.2s ease;
}
.more-toggle:hover {
  color: var(--page-primary-dark, #1e40af);
}
.more-toggle i { 
  font-size: 0.9rem; 
  transition: transform 0.2s ease;
}

.tier-cell.check .dot { color: var(--ok); background: transparent; display: inline-flex; width: auto; height: auto; align-items: center; justify-content: center; font-size: 1.35rem; }
.tier-cell.check .dot i { font-weight: 800; }
.tier-cell.cross .dot { color: #9ca3af; background: transparent; display: inline-flex; width: auto; height: auto; align-items: center; justify-content: center; font-size: 1.35rem; }
.tier-cell.cross .dot i { font-weight: 800; }
.tier-cell.optional .badge { color: #fff; background: var(--opt); border-radius: 999px; padding: 2px 8px; font-size: 0.8rem; }

.bundle-content[role="button"] {
  cursor: pointer;
}

.bundle-card:hover {
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.2);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* Carousel indicators (three dots) */
.bundle-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 10px 0 0 0;
}

.bundle-indicators .indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.bundle-indicators .indicator.active {
  background: #333;
  transform: scale(1.1);
}

/* Vertical tiers column + content */
.tiers-layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
}

.tiers-column {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tier-pill {
  border: 1px solid var(--gray-400, #ced4da);
  border-radius: 12px;
  padding: 0.6rem 0.75rem;
  cursor: pointer;
  background: #fafafa;
  text-align: center;
  user-select: none;
}

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

.tier-content {
  min-height: 240px;
}

.tier-panel h3 {
  margin: 0.25rem 0 0.5rem 0;
}

.matrix,
.deliverables,
.exclusions,
.city-alignment ul {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 1rem 0;
  display: grid;
  gap: 0.5rem;
}

.matrix li,
.deliverables li,
.exclusions li,
.city-alignment li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.75rem;
  align-items: start;
}

.matrix li i { color: #198754; }
.deliverables li::before { content: '•'; color: #999; }
.exclusions li::before { content: '–'; color: #999; }

.city-alignment h4 {
  margin: 0.5rem 0 0.25rem 0;
  color: var(--page-primary-dark);
}

/* Carousel nav overrides */
.bundle-prev,
.bundle-next {
  position: absolute;
  top: 200px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(17, 100, 102, 0.1);
  color: #0c4b4c;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(12, 75, 76, 0.15);
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.bundle-prev {
  left: 10px;
}

.bundle-next {
  right: 10px;
}

.bundle-prev:hover,
.bundle-next:hover { 
  background: rgba(17, 100, 102, 0.18);
  transform: scale(1.1);
}

/* Single accent for all rows to avoid color confusion */
.tier-table .row .cell:first-child { border-left: 4px solid var(--page-primary); padding-left: 16px; }

.tier-table .head.category { color: transparent; }

/* Requirement checklist block */
.req-checklist {
  margin-top: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.req-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 80px;
  gap: 10px;
  padding: 10px 12px;
  border-top: 1px solid #f3f4f6;
}

.req-row.head { background: #fafafa; font-weight: 600; }
.req-row .status { text-align: center; }
.req-row .status .dot { background: var(--ok); color: #fff; border-radius: 50%; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; }

/* Responsive */
@media (max-width: 1024px) {
  .bundle-card { flex-basis: 88%; }
}

@media (max-width: 768px) {
  .bundle-media { height: 240px; }
  .tiers-layout { grid-template-columns: 1fr; }
  .tiers-column { flex-direction: row; overflow-x: auto; }
  .tier-pill { flex: 0 0 auto; }
  .tier-table { grid-template-columns: 1fr 1fr 70px 70px 1fr; }
  .tier-table.four-col { grid-template-columns: 1fr 1fr 100px 140px; }
  .tier-table.three-col { grid-template-columns: 1fr 100px 140px; }
}

/* ===========================
   Bundle Benefits Section
   =========================== */

.bundle-benefits {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e7f3f0 100%);
  position: relative;
  overflow: hidden;
}

.bundle-benefits::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
}

.benefits-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.benefits-header {
  text-align: center;
  margin-bottom: 70px;
  animation: fadeInUp 0.8s ease-out;
}

.benefits-header h2 {
  font-size: 3rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 20px;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.benefits-subtitle {
  font-size: 1.25rem;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.benefit-card {
  background: #ffffff;
  border-radius: 50px;
  padding: 40px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.3);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: all 0.4s ease;
  position: relative;
}

.benefit-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 16px;
  opacity: 0.3;
  filter: blur(15px);
  z-index: -1;
  transition: all 0.4s ease;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1) rotate(5deg);
}

.benefit-card:hover .benefit-icon::after {
  opacity: 0.6;
  filter: blur(20px);
}

.benefit-icon i {
  font-size: 2rem;
  color: #ffffff;
}

.benefit-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.benefit-card p {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 25px;
}

.benefit-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.benefits-cta {
  background: linear-gradient(135deg, #116466 0%, #0c4b4c 100%);
  border-radius: 50px;
  padding: 50px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
  box-shadow: 0 10px 40px rgba(17, 100, 102, 0.3);
  position: relative;
  overflow: hidden;
}

.benefits-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  flex: 1;
}

.cta-content h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.cta-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: #ffffff;
  color: #116466;
  border: 2px solid #ffffff;
}

.btn-primary:hover {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.trust-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 30px 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #64748b;
  font-weight: 600;
  font-size: 0.95rem;
}

.trust-item i {
  color: #10b981;
  font-size: 1.2rem;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
  .bundle-benefits {
    padding: 60px 0;
  }

  .benefits-container {
    padding: 0 20px;
  }

  .benefits-header h2 {
    font-size: 2rem;
  }

  .benefits-subtitle {
    font-size: 1rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .benefit-card {
    padding: 30px 25px;
  }

  .benefit-icon {
    width: 60px;
    height: 60px;
  }

  .benefit-icon i {
    font-size: 1.5rem;
  }

  .benefit-card h3 {
    font-size: 1.3rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .benefits-cta {
    flex-direction: column;
    padding: 40px 30px;
    gap: 30px;
    text-align: center;
  }

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

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

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

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

  .trust-indicators {
    gap: 20px;
  }

  .trust-item {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .benefits-header h2 {
    font-size: 1.75rem;
  }

  .benefit-card {
    padding: 25px 20px;
  }

  .benefits-cta {
    padding: 30px 20px;
  }

  .trust-indicators {
    flex-direction: column;
    gap: 15px;
  }
}

/* Innovative Get Quote Button Styling */
.get-quote-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white !important;
    font-weight: 600;
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.get-quote-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.get-quote-btn:hover::before {
    left: 100%;
}

.get-quote-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.get-quote-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.get-quote-btn .btn-text {
    display: inline-block;
    transition: all 0.3s ease;
}

.get-quote-btn .btn-icon {
    display: inline-block;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.get-quote-btn:hover .btn-icon {
    opacity: 1;
    animation: pulse-calculator 0.8s ease-in-out infinite;
}

@keyframes pulse-calculator {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

/* Bundle card hover effect enhancement */
.bundle-card {
    position: relative;
    transition: all 0.4s ease;
}

.bundle-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    opacity: 0;
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15);
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.bundle-card:hover::after {
    opacity: 1;
}

/* Tertiary button styling for consistency */
.btn.tertiary-btn {
    background: transparent;
    border: 2px solid #e2e8f0;
    color: #64748b;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn.tertiary-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
}

/* Bundle actions responsive layout */
.bundle-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.bundle-actions .btn {
    flex: 1;
    min-width: 140px;
    text-align: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .bundle-actions {
        flex-direction: column;
    }
    
    .bundle-actions .btn {
        width: 100%;
        min-width: unset;
    }
}


