/* ==========================================================================
   Block: Tools & Technology
   Global block — used on all service detail pages.
   Default style: dark navy background (matches the technology callout visual weight).
   ========================================================================== */

.tools-tech-block {
    background: var(--intero-navy, #121036);
    padding: var(--section-padding-y, 80px) var(--section-padding-x, 24px);
    position: relative;
    overflow: hidden;
}

/* Light style variant */
.tools-tech-block.is-style-light {
    background: var(--intero-white, #ffffff);
}

.tools-tech-block.is-style-light .tools-tech__headline,
.tools-tech-block.is-style-light .tools-tech__sub,
.tools-tech-block.is-style-light .tools-tech__card-name,
.tools-tech-block.is-style-light .tools-tech__card-desc {
    color: var(--intero-navy, #121036);
}

/* Teal accent style variant */
.tools-tech-block.is-style-teal {
    background: linear-gradient(135deg, #0d0c2b 0%, #0a3d3a 100%);
}

/* Subtle teal arc decoration (top-right) */
.tools-tech-block::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    border: 2px solid rgba(46, 196, 182, 0.12);
    pointer-events: none;
}

.tools-tech-block::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 1px solid rgba(46, 196, 182, 0.08);
    pointer-events: none;
}

/* Inner container */
.tools-tech__inner {
    max-width: var(--intero-max-width, 1200px);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ── Section Header ─────────────────────────────────────────────────────── */
.tools-tech__header {
    text-align: center;
    margin-bottom: 56px;
}

.tools-tech__headline {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    color: var(--intero-white, #ffffff);
    margin: 12px 0 16px;
    line-height: 1.15;
}

.tools-tech__sub {
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
    max-width: 680px;
    margin: 0 auto;
}

/* ── Tool Cards Grid ────────────────────────────────────────────────────── */
.tools-tech__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 56px;
}

.tools-tech__card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(46, 196, 182, 0.18);
    border-radius: 12px;
    padding: 28px 24px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.tools-tech__card:hover {
    background: rgba(46, 196, 182, 0.08);
    border-color: rgba(46, 196, 182, 0.4);
}

/* Light variant card */
.tools-tech-block.is-style-light .tools-tech__card {
    background: var(--intero-light-grey, #f7f8fc);
    border-color: rgba(18, 16, 54, 0.1);
}

.tools-tech-block.is-style-light .tools-tech__card:hover {
    border-color: var(--color-secondary);
    background: rgba(46, 196, 182, 0.05);
}

.tools-tech__card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
}

/* Logo */
.tools-tech__logo {
    height: 36px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.tools-tech-block.is-style-light .tools-tech__logo {
    filter: none;
    opacity: 1;
}

/* Logo placeholder (when no image uploaded) */
.tools-tech__logo-placeholder {
    background: rgba(46, 196, 182, 0.15);
    border-radius: 6px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
}

.tools-tech__logo-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--intero-teal, #2ec4b6);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* Category badge */
.tools-tech__badge {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    background: rgba(46, 196, 182, 0.15);
    color: var(--intero-teal, #2ec4b6);
    border: 1px solid rgba(46, 196, 182, 0.3);
}

.tools-tech__badge--paid,
.tools-tech__badge--social {
    background: rgba(232, 75, 26, 0.12);
    color: var(--intero-orange, #e84b1a);
    border-color: rgba(232, 75, 26, 0.25);
}

.tools-tech__badge--analytics,
.tools-tech__badge--reporting {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.15);
}

.tools-tech__card-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--intero-white, #ffffff);
    margin: 0 0 8px;
}

.tools-tech__card-desc {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

/* ── Proprietary Callout Panel ──────────────────────────────────────────── */
.tools-tech__callout {
    background: linear-gradient(135deg, rgba(46, 196, 182, 0.12) 0%, rgba(46, 196, 182, 0.04) 100%);
    border: 1px solid rgba(46, 196, 182, 0.3);
    border-radius: 16px;
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
}

.tools-tech__callout-headline {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    color: var(--intero-white, #ffffff);
    margin: 0 0 16px;
    line-height: 1.2;
}

.tools-tech__callout-body {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 28px;
    max-width: 560px;
}

/* Visual side of callout */
.tools-tech__callout-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    min-width: 160px;
}

.tools-tech__callout-icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.tools-tech__callout-icon {
    width: 36px;
    height: 36px;
    background: rgba(46, 196, 182, 0.15);
    border: 1px solid rgba(46, 196, 182, 0.25);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: rgba(46, 196, 182, 0.4);
}

.tools-tech__callout-stat {
    text-align: center;
}

.tools-tech__callout-stat-value {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--intero-teal, #2ec4b6);
    line-height: 1;
}

.tools-tech__callout-stat-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .tools-tech__callout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .tools-tech__callout-visual {
        flex-direction: row;
        justify-content: flex-start;
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .tools-tech-block {
        padding: 56px 20px;
    }
    .tools-tech__grid {
        grid-template-columns: 1fr;
    }
    .tools-tech__callout {
        padding: 32px 24px;
    }
    .tools-tech__callout-visual {
        display: none;
    }
}
