/* =========================================================
   ULTRALINK UK — Cyber Essentials Readiness
   cyber-essentials-readiness.css · Premium SaaS
   ========================================================= */

[class*="cer-"] { min-width: 0; }

.cer-btn-primary {
    background: linear-gradient(135deg, #00703c, #005a30);
    color: #fff !important;
    box-shadow: 0 10px 32px rgba(0,112,60,.28);
}
.cer-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0,112,60,.38);
}
.cer-btn-outline {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.24);
    color: #fff !important;
}
.cer-btn-outline:hover {
    background: rgba(255,255,255,.14);
    transform: translateY(-2px);
}
.cer-btn-light {
    background: #fff;
    color: #0a1628;
    box-shadow: 0 10px 32px rgba(0,0,0,.14);
}
.cer-btn-light:hover { transform: translateY(-3px); }

/* Hero */
.cer-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #051018 0%, #0a1628 40%, #0c2238 75%, #0e2844 100%);
    padding: calc(var(--header-h) + var(--hero-y)) 0 var(--hero-y);
    color: #fff;
}
.cer-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.cer-hero-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 45% at 82% 18%, rgba(0,112,60,.24), transparent 58%),
        radial-gradient(ellipse 40% 38% at 8% 82%, rgba(18,99,251,.14), transparent 52%);
}
.cer-hero-grid {
    position: absolute;
    inset: 0;
    opacity: .06;
    background-image:
        linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 75% 65% at 70% 35%, #000, transparent);
}
.cer-hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(32px, 5vw, 56px);
    align-items: center;
}
.cer-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,112,60,.14);
    border: 1px solid rgba(0,176,96,.32);
    border-radius: 50px;
    padding: 7px 16px 7px 10px;
    margin-bottom: clamp(16px, 2.5vw, 22px);
}
.cer-hero-badge i {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, #00b060, #00703c);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: .85rem;
}
.cer-hero-badge span {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #5ee4a0;
}
.cer-hero-copy h1 {
    font-family: var(--font-head);
    font-size: clamp(1.75rem, 3.6vw, 2.85rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.025em;
    margin-bottom: clamp(14px, 2vw, 20px);
    color: #fff;
}
.cer-hero-lead {
    font-size: clamp(.9rem, 1.5vw, 1.05rem);
    line-height: 1.75;
    color: rgba(255,255,255,.72);
    margin-bottom: 12px;
    max-width: 560px;
}
.cer-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: clamp(20px, 3vw, 28px);
}

/* Badge visual */
.cer-badge-visual {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 24px;
    padding: clamp(24px, 3.5vw, 32px);
    backdrop-filter: blur(12px);
    box-shadow: 0 24px 64px rgba(0,0,0,.28);
    text-align: center;
}
.cer-badge-seal {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(145deg, #00703c, #00b060);
    display: grid;
    place-items: center;
    box-shadow: 0 0 48px rgba(0,176,96,.35), 0 12px 32px rgba(0,0,0,.25);
    border: 3px solid rgba(255,255,255,.2);
}
.cer-badge-seal i { font-size: 2.8rem; color: #fff; }
.cer-badge-visual h3 {
    margin: 0 0 8px;
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}
.cer-badge-visual p {
    margin: 0 0 18px;
    font-size: .82rem;
    line-height: 1.55;
    color: rgba(255,255,255,.62);
}
.cer-badge-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.cer-badge-pills span {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 5px 12px;
    border-radius: 50px;
    background: rgba(0,176,96,.14);
    border: 1px solid rgba(0,176,96,.28);
    color: #5ee4a0;
}

/* Stats */
.cer-impact {
    padding: var(--section-y) 0;
    background: linear-gradient(180deg, #fff 0%, #f0faf5 100%);
}
.cer-impact .section-head { text-align: center; margin-bottom: 40px; }
.cer-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(14px, 2.2vw, 20px);
    max-width: min(1120px, 100%);
    margin: 0 auto;
}
.cer-stat {
    flex: 1 1 min(100%, 300px);
    max-width: calc(33.333% - 14px);
    padding: clamp(24px, 3vw, 30px);
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}
.cer-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.cer-stat-value {
    margin: 0 0 10px;
    font-family: var(--font-head);
    font-size: clamp(2.2rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1;
    color: #00703c;
}
.cer-stat-text {
    margin: 0;
    font-size: .88rem;
    line-height: 1.65;
    color: var(--muted);
}
.cer-stat-source {
    margin: 24px auto 0;
    text-align: center;
    font-size: .78rem;
    color: var(--muted);
    font-style: italic;
}

/* Comparison table */
.cer-compare {
    padding: var(--section-y) 0;
    background: var(--bg-soft);
}
.cer-table-wrap {
    margin-top: 40px;
    overflow-x: auto;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-sm);
}
.cer-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: .88rem;
}
.cer-table thead th {
    padding: 16px 20px;
    text-align: left;
    font-family: var(--font-head);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    background: linear-gradient(135deg, #0a1628, #0c2238);
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.cer-table thead th:nth-child(2) { background: linear-gradient(135deg, #00703c, #005a30); }
.cer-table thead th:nth-child(3) { background: linear-gradient(135deg, #1263fb, #0d4fc7); }
.cer-table tbody tr { border-bottom: 1px solid var(--line); transition: background .15s ease; }
.cer-table tbody tr:last-child { border-bottom: none; }
.cer-table tbody tr:hover { background: rgba(0,112,60,.04); }
.cer-table td {
    padding: 16px 20px;
    vertical-align: top;
    line-height: 1.55;
    color: var(--ink);
}
.cer-table td:first-child {
    font-weight: 600;
    color: var(--navy);
    background: rgba(0,0,0,.02);
    width: 28%;
}
.cer-compare-foot {
    margin-top: 24px;
    text-align: center;
    max-width: 820px;
    margin-inline: auto;
    color: var(--muted);
    line-height: 1.75;
}
.cer-section-cta {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

/* Controls (5 pillars) */
.cer-readiness {
    padding: var(--section-y) 0;
    background: #fff;
}
.cer-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}
.cer-control {
    flex: 1 1 min(100%, 340px);
    max-width: calc(50% - 8px);
    padding: clamp(22px, 3vw, 28px);
    border-radius: 18px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-top: 4px solid #00703c;
    transition: transform .25s ease, box-shadow .25s ease;
}
.cer-control:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.cer-control:nth-child(5) {
    flex-basis: 100%;
    max-width: min(560px, 100%);
}
.cer-control h3 {
    margin: 0 0 10px;
    font-family: var(--font-head);
    font-size: .98rem;
    font-weight: 700;
    color: var(--ink);
}
.cer-control p {
    margin: 0;
    font-size: .86rem;
    line-height: 1.65;
    color: var(--muted);
}
.cer-readiness-foot {
    margin-top: 28px;
    text-align: center;
    max-width: 760px;
    margin-inline: auto;
    color: var(--muted);
    line-height: 1.75;
}

/* Blockers */
.cer-blockers {
    padding: var(--section-y) 0;
    background: var(--bg-soft);
}
.cer-blockers-shell {
    margin-top: 36px;
    padding: clamp(24px, 4vw, 36px);
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}
.cer-blockers-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.cer-blocker {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    font-size: .86rem;
    line-height: 1.5;
    color: var(--ink);
}
.cer-blocker i { color: #00703c; margin-top: 3px; flex-shrink: 0; }
.cer-blockers-note {
    margin-top: 20px;
    padding: 18px 20px;
    border-radius: 14px;
    background: rgba(255,193,7,.08);
    border: 1px solid rgba(255,193,7,.25);
    font-size: .86rem;
    line-height: 1.65;
    color: var(--ink);
}
.cer-blockers-foot {
    margin-top: 20px;
    text-align: center;
    color: var(--muted);
    line-height: 1.75;
}

/* Process — horizontal 5-step journey */
.cer-process {
    padding: var(--section-y) 0;
    background:
        radial-gradient(ellipse 60% 55% at 8% 0%, rgba(0,112,60,.08), transparent 58%),
        radial-gradient(ellipse 50% 45% at 92% 100%, rgba(10,22,40,.06), transparent 55%),
        linear-gradient(180deg, #f6fbf8 0%, #fff 100%);
}
.cer-process-track {
    list-style: none;
    margin: 44px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(10px, 1.5vw, 14px);
    position: relative;
}
.cer-process-track::before {
    content: '';
    position: absolute;
    top: 46px;
    left: 7%;
    right: 7%;
    height: 2px;
    background: linear-gradient(
        90deg,
        rgba(0,112,60,.12) 0%,
        rgba(0,176,96,.42) 50%,
        rgba(0,112,60,.12) 100%
    );
    z-index: 0;
}
.cer-process-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    min-height: 100%;
    padding: clamp(18px, 2.2vw, 22px) clamp(12px, 1.6vw, 16px) clamp(16px, 2vw, 20px);
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(0,112,60,.1);
    box-shadow:
        0 1px 2px rgba(10,22,40,.04),
        0 10px 28px rgba(10,22,40,.06);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.cer-process-step:hover {
    transform: translateY(-4px);
    border-color: rgba(0,112,60,.24);
    box-shadow:
        0 4px 8px rgba(10,22,40,.05),
        0 18px 40px rgba(0,112,60,.12);
}
.cer-process-num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--font-head);
    font-size: .8rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #00703c, #00b060);
    box-shadow: 0 8px 18px rgba(0,112,60,.28);
    border: 3px solid #fff;
}
.cer-process-step:nth-child(even) .cer-process-num {
    background: linear-gradient(135deg, #0a1628, #00703c);
}
.cer-process-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(0,112,60,.1), rgba(0,176,96,.06));
    border: 1px solid rgba(0,112,60,.14);
    color: #00703c;
    font-size: 1rem;
}
.cer-process-step h3 {
    margin: 0;
    font-family: var(--font-head);
    font-size: clamp(.88rem, 1.25vw, .96rem);
    font-weight: 750;
    line-height: 1.35;
    color: var(--ink);
}
.cer-process-step p {
    margin: 0;
    font-size: .82rem;
    line-height: 1.58;
    color: var(--muted);
}
.cer-process-callout {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: clamp(28px, 4vw, 36px);
    padding: clamp(18px, 2.5vw, 22px) clamp(20px, 3vw, 28px);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0,112,60,.06), rgba(10,22,40,.03));
    border: 1px solid rgba(0,112,60,.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
    max-width: 920px;
    margin-inline: auto;
}
.cer-process-callout-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #00703c, #00b060);
    color: #fff;
    font-size: 1.05rem;
    box-shadow: 0 8px 20px rgba(0,112,60,.22);
}
.cer-process-callout p {
    margin: 0;
    padding-top: 2px;
    font-size: .92rem;
    line-height: 1.75;
    color: var(--muted);
}

/* Why */
.cer-why {
    padding: var(--section-y) 0;
    background: var(--bg-soft);
}
.cer-why-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 36px;
}
.cer-why-item {
    flex: 1 1 min(100%, 300px);
    max-width: calc(33.333% - 12px);
    display: flex;
    gap: 12px;
    padding: 18px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--line);
    transition: transform .2s ease, box-shadow .2s ease;
}
.cer-why-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}
.cer-why-item i {
    color: #00703c;
    margin-top: 3px;
    flex-shrink: 0;
}
.cer-why-item p {
    margin: 0;
    font-size: .86rem;
    line-height: 1.55;
    color: var(--ink);
    font-weight: 500;
}
.cer-why-foot {
    margin-top: 24px;
    text-align: center;
    max-width: 720px;
    margin-inline: auto;
    color: var(--muted);
    line-height: 1.75;
}

/* Cost */
.cer-cost {
    padding: var(--section-y) 0;
    background: #fff;
}
.cer-cost-panel {
    max-width: min(760px, 100%);
    margin: 32px auto 0;
    padding: clamp(24px, 3.5vw, 32px);
    border-radius: 20px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
}
.cer-cost-panel h3 {
    margin: 0 0 14px;
    font-family: var(--font-head);
    font-size: .95rem;
    font-weight: 700;
    color: var(--ink);
}
.cer-check-list {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: grid;
    gap: 10px;
}
.cer-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: .9rem;
    line-height: 1.55;
    color: var(--ink);
}
.cer-check-list li i { color: #00703c; margin-top: 4px; flex-shrink: 0; }
.cer-cost-note {
    font-size: .88rem;
    line-height: 1.65;
    color: var(--muted);
    margin-bottom: 12px;
}
.cer-cost-note:last-child { margin-bottom: 0; }
.cer-timescale {
    margin-top: 40px;
    padding: clamp(24px, 3.5vw, 32px);
    border-radius: 20px;
    background: linear-gradient(135deg, #0a1628, #0c2238);
    color: #fff;
    max-width: min(820px, 100%);
    margin-inline: auto;
}
.cer-timescale h3 {
    margin: 0 0 16px;
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}
.cer-timescale p {
    margin: 0 0 12px;
    font-size: .9rem;
    line-height: 1.7;
    color: rgba(255,255,255,.72);
}
.cer-timescale p:last-child { margin-bottom: 0; }

/* CTA band */
.cer-cta-band {
    padding: var(--section-y) 0;
    background: linear-gradient(135deg, #051018, #0a1628);
    position: relative;
    overflow: hidden;
}
.cer-cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 280px at 50% 50%, rgba(0,176,96,.14), transparent);
    pointer-events: none;
}
.cer-cta-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}
.cer-cta-inner h2 {
    font-family: var(--font-head);
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}
.cer-cta-inner p {
    font-size: .98rem;
    color: rgba(255,255,255,.62);
    line-height: 1.75;
    margin-bottom: 28px;
}
.cer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.cer-faq.section.faq { background: var(--bg-soft); }

@media (max-width: 1024px) {
    .cer-hero-layout { grid-template-columns: 1fr; }
    .cer-badge-visual { max-width: 420px; margin: 0 auto; }
    .cer-stat { max-width: calc(50% - 10px); }
    .cer-control { max-width: 100%; }
    .cer-control:nth-child(5) { max-width: 100%; }
    .cer-process-track::before { display: none; }
    .cer-process-track {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .cer-process-step:nth-child(4) { grid-column: 2; }
    .cer-why-item { max-width: calc(50% - 10px); }
    .cer-blockers-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .cer-process-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .cer-process-step:nth-child(4) { grid-column: auto; }
    .cer-process-step:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 420px;
        width: 100%;
        justify-self: center;
    }
}

@media (max-width: 768px) {
    .cer-stat,
    .cer-why-item { max-width: 100%; }
    .cer-process-track {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 32px;
    }
    .cer-process-step,
    .cer-process-step:nth-child(4),
    .cer-process-step:last-child:nth-child(odd) {
        grid-column: auto;
        max-width: none;
        display: grid;
        grid-template-columns: 44px 1fr;
        grid-template-rows: auto auto;
        gap: 6px 14px;
        align-items: start;
        text-align: left;
        padding: 18px 18px 18px 16px;
    }
    .cer-process-num {
        grid-column: 1;
        grid-row: 1;
        width: 36px;
        height: 36px;
        font-size: .74rem;
        border-width: 2px;
        margin: 0;
    }
    .cer-process-icon {
        grid-column: 1;
        grid-row: 2;
        width: 36px;
        height: 36px;
        font-size: .85rem;
        border-radius: 10px;
    }
    .cer-process-step h3 {
        grid-column: 2;
        grid-row: 1;
        font-size: .94rem;
        align-self: center;
    }
    .cer-process-step p {
        grid-column: 2;
        grid-row: 2;
    }
    .cer-process-callout {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (hover: none) {
    .cer-stat:hover,
    .cer-control:hover,
    .cer-why-item:hover,
    .cer-process-step:hover { transform: none; }
}
