/* ============================================================
   WebGuy IT — Service Tiers Page
   chooser/assets/css/tiers.css
   ============================================================ */

/* --- Brand tokens ----------------------------------------- */
:root {
    --tier-blue:       #3498db;
    --tier-blue-dark:  #2471a3;
    --tier-green:      #34904A;
    --tier-green-dark: #26703a;
    --tier-gold:       #D8AC2F;
    --tier-gold-dark:  #b89028;
    --tier-navy:       #032841;
    --tier-navy-mid:   #054a78;
    --tier-offwhite:   #E6E7E2;
    --tier-dark-green: #202D10;
}

/* --- Page wrapper ----------------------------------------- */
.tiers-page {
    padding-top: 80px; /* clear fixed navbar */
}

/* --- Hero banner ------------------------------------------ */
.tiers-hero {
    background: linear-gradient(135deg, var(--tier-navy) 0%, var(--tier-navy-mid) 60%, var(--tier-green-dark) 100%);
    padding: 60px 0 50px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.tiers-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.tiers-hero .container {
    position: relative;
    z-index: 1;
}

.tiers-hero h1 {
    font-family: 'Expletus Sans', sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.tiers-hero .hero-lede {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.88);
    margin-bottom: 30px;
}

.tiers-hero .hero-lede a {
    color: var(--tier-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tiers-hero .hero-lede a:hover {
    color: #f0c94a;
}

.btn-tier-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 34px;
    background: var(--tier-gold);
    color: var(--tier-navy);
    font-family: 'Expletus Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    border: 2px solid transparent;
}

.btn-tier-cta:hover {
    background: #fff;
    color: var(--tier-navy);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0,0,0,0.3);
}

.btn-tier-cta i {
    transition: transform 0.3s ease;
}

.btn-tier-cta:hover i {
    transform: translateX(4px);
}

/* --- Section layout --------------------------------------- */
.tiers-section {
    padding: 60px 0;
}

.tiers-section.bg-light-section {
    background: var(--tier-offwhite);
}

.tiers-section-header {
    margin-bottom: 36px;
}

.tiers-section-header h2 {
    font-family: 'Expletus Sans', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--tier-navy);
    margin-bottom: 10px;
}

.tiers-section-header p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 680px;
}

.section-underline {
    width: 60px;
    height: 4px;
    border-radius: 2px;
    margin-bottom: 14px;
    background: var(--tier-green);
}

/* --- Accordion -------------------------------------------- */
.tiers-accordion .accordion-item {
    border: 1px solid #dee2e6;
    border-radius: 10px !important;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

/* Per-tier left border accent */
.tiers-accordion .accordion-item.tier-breakfix {
    border-left: 5px solid var(--tier-blue);
}

.tiers-accordion .accordion-item.tier-prepaid {
    border-left: 5px solid var(--tier-green);
}

.tiers-accordion .accordion-item.tier-msa {
    border-left: 5px solid var(--tier-gold);
}

/* Accordion header / button */
.tiers-accordion .accordion-button {
    font-family: 'Expletus Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--tier-navy);
    background: #fff;
    padding: 20px 24px;
    gap: 16px;
    box-shadow: none;
}

.tiers-accordion .accordion-button:not(.collapsed) {
    background: #fff;
    box-shadow: none;
    color: var(--tier-navy);
}

.tiers-accordion .accordion-button::after {
    flex-shrink: 0;
    margin-left: auto;
}

/* Tier icon badges on accordion header */
.tier-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 1.1rem;
    color: #fff;
}

.tier-badge.bf  { background: var(--tier-blue); }
.tier-badge.pp  { background: var(--tier-green); }
.tier-badge.msa { background: var(--tier-gold); color: var(--tier-navy); }

/* Accordion body */
.tiers-accordion .accordion-body {
    padding: 28px 28px 32px;
    background: #fff;
}

/* Tier tagline (blockquote) */
.tier-tagline {
    font-size: 1.05rem;
    font-style: italic;
    color: #555;
    border-left: 4px solid #ddd;
    padding: 10px 16px;
    margin-bottom: 22px;
    background: #f9f9f9;
    border-radius: 0 6px 6px 0;
}

.tier-tagline strong {
    color: var(--tier-navy);
}

/* Tier body text */
.tier-body p {
    font-size: 1rem;
    line-height: 1.75;
    color: #333;
    margin-bottom: 16px;
}

.tier-body a {
    color: var(--tier-green);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tier-body a:hover {
    color: var(--tier-green-dark);
}

/* Sub-headings inside accordion body */
.tier-body h4 {
    font-family: 'Expletus Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--tier-navy);
    margin: 24px 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tier-body h4 i {
    font-size: 0.95rem;
}

.tier-body h4.bf-accent  i { color: var(--tier-blue); }
.tier-body h4.pp-accent  i { color: var(--tier-green); }
.tier-body h4.msa-accent i { color: var(--tier-gold); }

/* Bullet lists */
.tier-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.tier-body ul li {
    padding: 5px 0 5px 26px;
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.tier-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.tier-breakfix .tier-body ul li::before  { background: var(--tier-blue); }
.tier-prepaid  .tier-body ul li::before  { background: var(--tier-green); }
.tier-msa      .tier-body ul li::before  { background: var(--tier-gold); }

/* Included list (checkmarks) */
.tier-body ul.included-list li::before {
    content: '✓';
    background: none;
    color: var(--tier-green);
    font-weight: 700;
    font-size: 0.95rem;
    top: 5px;
    width: auto;
    height: auto;
    border-radius: 0;
}

/* Inline note / CTA nudge */
.tier-inline-cta {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.92rem;
    color: #666;
    font-style: italic;
}

.tier-inline-cta a {
    color: var(--tier-green);
    font-style: normal;
    font-weight: 600;
}

/* Quarterly cap image */
.cap-image-wrap {
    margin: 24px 0 8px;
}

.cap-image-wrap img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.cap-image-caption {
    font-size: 0.88rem;
    color: #666;
    font-style: italic;
    text-align: center;
    margin-top: 10px;
    line-height: 1.5;
}

/* Quarterly cap explainer box */
.cap-explainer {
    background: #f4f8f5;
    border: 1px solid #c8dece;
    border-radius: 10px;
    padding: 22px 24px;
    margin: 20px 0;
}

.cap-explainer h5 {
    font-family: 'Expletus Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--tier-green-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cap-explainer p, .cap-explainer li {
    font-size: 0.96rem;
    color: #333;
    line-height: 1.7;
}

.cap-explainer ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
}

.cap-explainer ul li {
    padding: 4px 0 4px 24px;
    position: relative;
}

.cap-explainer ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--tier-green);
    font-size: 0.9rem;
}

/* Response time table inside MSA accordion */
.response-table {
    font-size: 0.93rem;
    margin-top: 4px;
}

/* --- Comparison Table ------------------------------------- */
.comparison-table thead th {
    background: var(--tier-navy);
    color: #fff;
    font-family: 'Expletus Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    border: none;
    padding: 14px 16px;
    white-space: nowrap;
}

.comparison-table thead th:first-child {
    background: #021e30;
}

/* Tier name header cells */
.comparison-table thead th.th-bf   { border-top: 4px solid var(--tier-blue); }
.comparison-table thead th.th-pp   { border-top: 4px solid var(--tier-green); }
.comparison-table thead th.th-msa  { border-top: 4px solid var(--tier-gold); }

.comparison-table tbody tr:nth-child(even) {
    background: #f7f8f9;
}

.comparison-table tbody td {
    padding: 12px 16px;
    font-size: 0.95rem;
    vertical-align: middle;
    border-color: #e5e7eb;
}

.comparison-table tbody td:first-child {
    font-weight: 600;
    color: var(--tier-navy);
    white-space: nowrap;
}

.comparison-table .check-yes {
    color: var(--tier-green);
    font-weight: 700;
    font-size: 1rem;
}

.comparison-table .check-no {
    color: #aaa;
}

.comparison-table .cell-bf  { color: var(--tier-blue-dark);  font-weight: 600; }
.comparison-table .cell-pp  { color: var(--tier-green-dark); font-weight: 600; }
.comparison-table .cell-msa { color: var(--tier-gold-dark);  font-weight: 600; }

.comparison-table tfoot td {
    font-size: 0.85rem;
    color: #777;
    font-style: italic;
    padding-top: 14px;
    border: none;
    border-top: 2px solid #dee2e6;
}

/* --- Closing CTA ------------------------------------------ */
.tiers-closing-cta {
    background: linear-gradient(135deg, var(--tier-green-dark) 0%, var(--tier-green) 60%, var(--tier-navy-mid) 100%);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tiers-closing-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.tiers-closing-cta .container {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.tiers-closing-cta h2 {
    font-family: 'Expletus Sans', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.tiers-closing-cta p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.7;
    margin-bottom: 30px;
}

/* --- Responsive ------------------------------------------- */
@media (max-width: 768px) {
    .tiers-hero h1 {
        font-size: 1.9rem;
    }

    .tiers-hero .hero-lede {
        font-size: 1rem;
    }

    .tiers-accordion .accordion-button {
        font-size: 1.05rem;
        padding: 16px 18px;
    }

    .tiers-accordion .accordion-body {
        padding: 20px 18px 24px;
    }

    .tiers-closing-cta h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .tiers-hero {
        padding: 40px 0 36px;
    }

    .tier-badge {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }
}
