/* ═══════════════════════════════════════════════════════════
   Shared inner-page styles — Super Cement Articles
   Light theme · Manrope · blue #1b2d58 / sky-blue #0ca6dd pair
   ═══════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --accent: #0ca6dd;
    --accent-deep: #0b88b6;
    --blue: #1b2d58;
    --blue-2: #364f8a;
    --muted: #5a6478;
    --line: #e6e9f0;
    --bg: #eceef2;
}

body {
    font-family: 'Manrope', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--blue);
    padding-top: 92px;
}

.wrap {
    max-width: 1460px;
    margin: 0 auto;
    padding: 0 40px;
}

section {
    padding: 70px 0;
}

.eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 14px;
}

h1,
h2,
h3 {
    font-weight: 800;
    line-height: 1.15;
    color: var(--blue);
}

/* Page hero strip */
.page-hero {
    background: linear-gradient(120deg, #ffffff 0%, #eef1f8 100%);
    border-bottom: 1px solid var(--line);
    padding: 90px 0 70px;
}

.page-hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    max-width: 860px;
}

.page-hero h1 span {
    color: var(--accent);
}

.page-hero p {
    margin-top: 18px;
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 680px;
    line-height: 1.7;
}

/* Two-column split */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.split h2 {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    margin-bottom: 16px;
}

.split p {
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 14px;
}

/* Cards grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card-grid.two {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 30px 32px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 16px 40px rgba(27, 45, 88, 0.1);
}

.card .tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #fff;
    background: var(--accent);
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 14px;
    margin-right: 6px;
}

.card .tag.navy {
    background: var(--blue-2);
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.card p {
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.65;
}

/* Stats band */
.stats-band {
    background: linear-gradient(120deg, var(--blue) 0%, var(--blue-2) 100%);
}

.stats-band .wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stats-band b {
    display: block;
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--accent);
}

.stats-band span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #c9d2e8;
}

/* Chips */
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chips span {
    padding: 7px 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    color: var(--blue-2);
}

/* Alt (white) section */
.alt {
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

/* Section heading row */
.sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.sec-head h2 {
    font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.sec-head p {
    color: var(--muted);
    max-width: 460px;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    background: var(--blue);
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.btn:hover {
    background: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(12, 166, 221, 0.35);
}

/* CTA strip */
.cta-strip {
    background: linear-gradient(120deg, var(--blue) 0%, var(--blue-2) 100%);
    border-radius: 24px;
    padding: 56px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.cta-strip h2 {
    color: #fff;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    max-width: 620px;
}

.cta-strip p {
    color: #c9d2e8;
    margin-top: 8px;
}

.cta-strip .btn {
    background: var(--accent);
}

.cta-strip .btn:hover {
    background: #fff;
    color: var(--blue);
}

/* Timeline (about page) */
.timeline {
    position: relative;
    padding-left: 34px;
    border-left: 2px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.timeline .t-item {
    position: relative;
}

.timeline .t-item::before {
    content: '';
    position: absolute;
    left: -41px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--accent);
}

.timeline b {
    display: block;
    font-size: 1.05rem;
    color: var(--blue);
    margin-bottom: 4px;
}

.timeline p {
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1000px) {
    .wrap { padding: 0 24px; }
    .split { grid-template-columns: 1fr; gap: 36px; }
    .card-grid, .card-grid.two { grid-template-columns: 1fr; }
    .stats-band .wrap { grid-template-columns: repeat(2, 1fr); }
    .cta-strip { padding: 40px 28px; }
}

/* ═══════════════════════════════════════════
   Scroll-reveal micro-animations
   Add class "reveal" to any element; reveal.js
   toggles "is-visible" when it scrolls into view.
   Stagger children with data-reveal-stagger.
   ═══════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.reveal.from-left  { transform: translateX(-32px); }
.reveal.from-right { transform: translateX(32px); }
.reveal.zoom       { transform: scale(0.94); }
.reveal.from-left.is-visible,
.reveal.from-right.is-visible,
.reveal.zoom.is-visible { transform: none; }

/* Staggered children (cards in a grid) */
[data-reveal-stagger] > * {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-reveal-stagger].is-visible > * {
    opacity: 1;
    transform: none;
}

[data-reveal-stagger].is-visible > *:nth-child(1) { transition-delay: 0.00s; }
[data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: 0.08s; }
[data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: 0.16s; }
[data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: 0.24s; }
[data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: 0.32s; }
[data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: 0.40s; }

/* Count-up numbers keep layout stable */
.stats-band b[data-count] { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
    .reveal, [data-reveal-stagger] > * {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ── Placeholder thumbnails (swap with real photos later) ──
   Concrete/blue-toned gradients with a faint grain so blog and
   card thumbs read as intentional, not broken, before real
   photography is dropped in. */
.thumb-ph {
    background-color: #2b3a5c;
    background-image:
        linear-gradient(135deg, rgba(12,166,221,0.28), rgba(27,45,88,0.9)),
        repeating-linear-gradient(115deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 8px);
    position: relative;
}
.thumb-ph.c1 { background-image: linear-gradient(135deg, rgba(12,166,221,0.45), rgba(27,45,88,0.95)); }
.thumb-ph.c2 { background-image: linear-gradient(135deg, rgba(54,79,138,0.6), rgba(12,120,170,0.9)); }
.thumb-ph.c3 { background-image: linear-gradient(135deg, rgba(27,45,88,0.95), rgba(12,166,221,0.5)); }
.thumb-ph.c4 { background-image: linear-gradient(135deg, rgba(11,136,182,0.85), rgba(27,45,88,0.9)); }
.thumb-ph.c5 { background-image: linear-gradient(135deg, rgba(27,45,88,0.9), rgba(54,79,138,0.8)); }
.thumb-ph.c6 { background-image: linear-gradient(135deg, rgba(12,166,221,0.55), rgba(40,58,92,0.95)); }
.thumb-ph::after {
    content: attr(data-label);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.9);
    text-align: center;
    padding: 20px;
}

/* ── Media card (photo + text) ─────────────── */
.media-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.media-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 16px 40px rgba(27, 45, 88, 0.1);
}

.media-card .thumb {
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
    position: relative;
}

.media-card .thumb .chip {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    background: var(--accent);
    padding: 5px 12px;
    border-radius: 12px;
}

.media-card .body {
    padding: 24px 26px 28px;
}

.media-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.media-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

.media-card .meta {
    margin-top: 16px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--accent);
}

/* ── Logo wall (clients) ───────────────────── */
.logo-wall {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.logo-wall .logo {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    aspect-ratio: 3 / 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.4px;
    color: var(--blue-2);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.logo-wall .logo:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 12px 30px rgba(27, 45, 88, 0.1);
}

@media (max-width: 1000px) {
    .logo-wall { grid-template-columns: repeat(2, 1fr); }
    .card-grid .media-card { grid-column: auto; }
}
