/* Site-wide interactive spacing — buttons, pills, and horizontal link rows */
:root {
    --etg-interactive-gap: 1rem;
    --etg-interactive-gap-lg: 1.75rem;
    --etg-interactive-min-height: 2.75rem;
}

/* Responsive CTA rows (hero + section footers) */
main [class*="flex-col"][class*="sm:flex-row"].justify-center,
.etg-action-row {
    gap: var(--etg-interactive-gap);
}
@media (min-width: 640px) {
    main [class*="flex-col"][class*="sm:flex-row"].justify-center,
    .etg-action-row {
        gap: var(--etg-interactive-gap-lg);
    }
}

/* Primary / outline pill buttons */
main a.bg-purple-600,
main a.border-2.border-white,
main a.border-2.border-purple-600,
main a.bg-white.text-purple-600.border-2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: var(--etg-interactive-min-height);
    box-sizing: border-box;
    padding-inline: max(1.25rem, 1em);
}

/* Footer / inline icon+label rows */
footer a.footer-link,
.mobile-footer-phone {
    gap: 0.5rem;
}

/* Structured comparison tables for AIO extraction — used on service + estimator pages */
.etg-aio-table-wrap {
    overflow-x: auto;
    margin: 2rem 0 0;
    border: 1px solid #e9d5ff;
    border-radius: 1rem;
    box-shadow: 0 10px 28px rgba(76, 29, 149, 0.07);
    background: #fff;
}
.etg-aio-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}
.etg-aio-table th,
.etg-aio-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #ede9fe;
}
.etg-aio-table thead th {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #fff;
    font-weight: 700;
}
.etg-aio-table tbody tr:nth-child(even) {
    background: #f5f3ff;
}
.etg-aio-table tbody tr:last-child td {
    border-bottom: 0;
}
.etg-aio-table caption {
    caption-side: bottom;
    padding: 0.75rem 1rem;
    color: #6b7280;
    font-size: 0.85rem;
    text-align: left;
}
@media (max-width: 640px) {
    .etg-aio-table th,
    .etg-aio-table td {
        padding: 0.7rem 0.75rem;
        font-size: 0.88rem;
    }
}
