/* ============================================
SERVICES & PRICING DEDICATED STYLESHEET
Extends style.css design tokens & palette
============================================ */

.services-hero {
padding-top: 80px;
padding-bottom: 70px;
}

.services-quick-badge {
background: var(--surface);
border: 1px solid var(--border);
}

.services-section {
border-top: 1px solid var(--border);
}

/* ============================================
DEVELOPMENT PACKAGES GRID & CARDS
============================================ */
.packages-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
margin-bottom: 60px;
align-items: stretch;
}

.package-card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 30px;
display: flex;
flex-direction: column;
justify-content: space-between;
position: relative;
transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.package-card:hover {
transform: translateY(-4px);
border-color: rgba(255, 255, 255, 0.2);
}

.package-card--featured {
background: linear-gradient(170deg, var(--surface) 0%, var(--surface-2) 100%);
border: 1px solid var(--glass-1);
box-shadow: 0 10px 30px -10px rgba(184, 50, 109, 0.25);
}

.package-card__badge {
display: inline-block;
font-family: var(--font-mono);
font-size: 11px;
text-transform: uppercase;
letter-spacing: 0.08em;
padding: 4px 10px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.06);
color: var(--text-muted);
margin-bottom: 14px;
}

.package-card__badge--highlight {
background: var(--glass-1);
color: #ffffff;
font-weight: 600;
}

.package-card__title {
font-size: 24px;
font-weight: 700;
margin-bottom: 8px;
}

.package-card__desc {
font-size: 14px;
color: var(--text-muted);
margin-bottom: 24px;
min-height: 42px;
}

.package-card__price {
display: flex;
align-items: baseline;
gap: 8px;
padding-bottom: 20px;
border-bottom: 1px solid var(--border);
margin-bottom: 24px;
}

.price-val {
font-family: var(--font-display);
font-size: 34px;
font-weight: 700;
color: var(--text);
letter-spacing: -0.02em;
}

.package-card--featured .price-val {
color: var(--diocese-2);
}

.price-period {
font-family: var(--font-mono);
font-size: 12px;
color: var(--text-faint);
}

.package-features {
list-style: none;
padding: 0;
margin: 0 0 28px;
display: flex;
flex-direction: column;
gap: 12px;
}

.package-features li {
font-size: 13.5px;
color: var(--text-muted);
line-height: 1.45;
position: relative;
padding-left: 18px;
}

.package-features li::before {
content: "•";
position: absolute;
left: 0;
color: var(--term);
font-size: 16px;
line-height: 1;
}

.package-features li strong {
color: var(--text);
}

/* ============================================
FEATURE COMPARISON TABLE
============================================ */
.table-wrapper {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 32px;
overflow-x: auto;
}

.table-title {
font-size: 20px;
font-weight: 600;
margin-bottom: 20px;
}

.comparison-table {
width: 100%;
border-collapse: collapse;
text-align: left;
font-size: 14px;
}

.comparison-table th,
.comparison-table td {
padding: 14px 16px;
border-bottom: 1px solid var(--border);
}

.comparison-table th {
font-family: var(--font-mono);
font-size: 12px;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--text-muted);
background: var(--surface-2);
}

.comparison-table tr:hover td {
background: rgba(255, 255, 255, 0.02);
}

.table-highlight {
font-family: var(--font-mono);
font-weight: 700;
color: var(--diocese-2);
}

.status-check {
color: var(--term);
font-weight: bold;
}

.status-cross {
color: var(--text-faint);
font-weight: bold;
}

/* ============================================
HOSTING & MAIL PLANS & BILLING TOGGLE
============================================ */
.billing-toggle-container {
display: flex;
align-items: center;
justify-content: center;
gap: 16px;
margin-bottom: 40px;
background: var(--surface);
padding: 14px 24px;
border-radius: 999px;
border: 1px solid var(--border);
width: fit-content;
margin-left: auto;
margin-right: auto;
}

.billing-toggle-label {
font-family: var(--font-mono);
font-size: 13px;
color: var(--text-muted);
display: flex;
align-items: center;
gap: 8px;
}

.discount-badge {
background: rgba(47, 220, 143, 0.15);
color: var(--term);
font-size: 11px;
padding: 3px 8px;
border-radius: 999px;
border: 1px solid rgba(47, 220, 143, 0.3);
}

.billing-toggle-switch {
width: 50px;
height: 26px;
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: 999px;
padding: 2px;
cursor: pointer;
position: relative;
transition: background 0.2s, border-color 0.2s;
}

.billing-toggle-switch[aria-checked="true"] {
background: var(--diocese-1);
border-color: var(--diocese-2);
}

.billing-toggle-knob {
display: block;
width: 20px;
height: 20px;
background: var(--text);
border-radius: 50%;
transition: transform 0.2s ease;
}

.billing-toggle-switch[aria-checked="true"] .billing-toggle-knob {
transform: translateX(24px);
background: var(--diocese-2);
}

.hosting-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
}

.hosting-card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 24px;
display: flex;
flex-direction: column;
}

.hosting-card--featured {
border-color: var(--term);
background: linear-gradient(180deg, var(--surface) 0%, rgba(47, 220, 143, 0.05) 100%);
}

.hosting-card__tag {
font-family: var(--font-mono);
font-size: 11px;
text-transform: uppercase;
color: var(--text-faint);
margin-bottom: 10px;
}

.hosting-card__tag--pop {
color: var(--term);
font-weight: 600;
}

.hosting-card__title {
font-size: 18px;
font-weight: 600;
margin-bottom: 8px;
}

.hosting-card__desc {
font-size: 13px;
color: var(--text-muted);
margin-bottom: 20px;
min-height: 40px;
}

.hosting-card__price {
display: flex;
align-items: baseline;
gap: 4px;
margin-bottom: 4px;
}

.hosting-card__price .price-currency {
font-family: var(--font-mono);
font-size: 16px;
color: var(--text-muted);
}

.hosting-card__price .price-amount {
font-family: var(--font-display);
font-size: 28px;
font-weight: 700;
color: var(--text);
}

.hosting-card__price .price-unit {
font-family: var(--font-mono);
font-size: 11.5px;
color: var(--text-faint);
}

.hosting-card__savings {
font-family: var(--font-mono);
font-size: 11px;
color: var(--term);
min-height: 18px;
margin-bottom: 18px;
}

.hosting-card__specs {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: 8px;
border-top: 1px solid var(--border);
padding-top: 16px;
font-size: 13px;
color: var(--text-muted);
}

.hosting-card__specs li strong {
color: var(--text);
}

/* ============================================
CUSTOM ENGINEERING SERVICES
============================================ */
.custom-services-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 24px;
}

.custom-service-card {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 28px;
display: flex;
flex-direction: column;
}

.custom-service-card__icon {
width: 44px;
height: 44px;
border-radius: 10px;
background: var(--surface-2);
border: 1px solid var(--border);
display: flex;
align-items: center;
justify-content: center;
color: var(--diocese-2);
margin-bottom: 16px;
}

.custom-service-card__title {
font-size: 20px;
font-weight: 600;
margin-bottom: 10px;
}

.custom-service-card__desc {
font-size: 14px;
color: var(--text-muted);
margin-bottom: 20px;
line-height: 1.5;
}

.custom-service-card__price {
font-family: var(--font-mono);
font-size: 12.5px;
color: var(--term);
margin-top: auto;
}

/* ============================================
INTERACTIVE COST CALCULATOR
============================================ */
.calc-wrapper {
display: grid;
grid-template-columns: 1.3fr 0.9fr;
gap: 32px;
align-items: start;
}

.calc-form {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 32px;
display: flex;
flex-direction: column;
gap: 28px;
}

.calc-group__title {
font-family: var(--font-mono);
font-size: 12.5px;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--text-muted);
display: block;
margin-bottom: 14px;
}

.calc-options {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 12px;
}

.calc-option {
cursor: pointer;
position: relative;
}

.calc-option input {
position: absolute;
opacity: 0;
width: 0;
height: 0;
}

.calc-option__box {
display: flex;
flex-direction: column;
gap: 4px;
padding: 14px;
background: var(--surface-2);
border: 1px solid var(--border);
border-radius: 8px;
transition: border-color 0.15s, background 0.15s;
}

.calc-option input:checked + .calc-option__box {
border-color: var(--diocese-2);
background: rgba(253, 211, 39, 0.06);
}

.calc-option input:focus-visible + .calc-option__box {
outline: 2px solid var(--diocese-2);
}

.calc-option__name {
font-size: 13.5px;
font-weight: 500;
color: var(--text);
}

.calc-option__cost {
font-family: var(--font-mono);
font-size: 12px;
color: var(--text-muted);
}

.calc-summary {
background: var(--surface);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 32px;
position: sticky;
top: 90px;
}

.calc-summary__title {
font-size: 20px;
font-weight: 600;
margin-bottom: 20px;
padding-bottom: 12px;
border-bottom: 1px solid var(--border);
}

.calc-summary__breakdown {
display: flex;
flex-direction: column;
gap: 16px;
margin-bottom: 20px;
}

.summary-row {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 14.5px;
color: var(--text-muted);
}

.summary-row strong {
font-family: var(--font-mono);
font-size: 18px;
color: var(--diocese-2);
}

.calc-summary__note {
font-size: 12px;
color: var(--text-faint);
margin-bottom: 24px;
line-height: 1.4;
}

/* ============================================
RESPONSIVE BREAKPOINTS FOR SERVICES
============================================ */
@media (max-width: 1024px) {
.packages-grid {
grid-template-columns: 1fr;
}
.hosting-grid {
grid-template-columns: repeat(2, 1fr);
}
.calc-wrapper {
grid-template-columns: 1fr;
}
.calc-summary {
position: static;
}
}

@media (max-width: 720px) {
.hosting-grid {
grid-template-columns: 1fr;
}
.custom-services-grid {
grid-template-columns: 1fr;
}
.calc-options {
grid-template-columns: 1fr;
}
.table-wrapper {
padding: 16px;
}
}