:root {
    --core-e-charcoal: #15191d;
    --core-e-black: #0a0c0f;
    --core-e-blue: #477895;
    --core-e-orange: #f47b20;
    --core-e-yellow: #dce53a;
    --core-e-white: #ffffff;
    --core-e-mist: #f4f6f7;
    --core-e-border: #dfe5e8;
}

.core-e-home,
.core-e-page {
    color: var(--core-e-charcoal);
}

.core-e-hero {
    min-height: clamp(620px, 78vh, 820px);
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: clamp(24px, 4vw, 70px);
    align-items: center;
    padding: clamp(48px, 7vw, 92px) max(24px, calc((100vw - 1180px) / 2));
    background:
        linear-gradient(95deg, rgba(244, 246, 247, 0.92) 0%, rgba(244, 246, 247, 0.74) 42%, rgba(19, 23, 27, 0.92) 43%, rgba(11, 13, 16, 0.96) 100%),
        radial-gradient(circle at 16% 10%, rgba(244, 123, 32, 0.16), transparent 32%),
        url("../images/core-e-hero-background.jpg") center / cover no-repeat;
    overflow: hidden;
}

.core-e-hero-media img {
    width: min(760px, 100%);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(12, 16, 19, 0.24);
}

.core-e-hero-panel {
    color: var(--core-e-white);
    background: rgba(15, 18, 22, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: clamp(28px, 4vw, 54px);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.core-e-eyebrow {
    margin: 0 0 12px;
    color: var(--core-e-orange);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.core-e-hero h1,
.core-e-simple-hero h1,
.core-e-contact-grid h1 {
    margin: 0;
    font-size: clamp(2.5rem, 5vw, 5.6rem);
    line-height: 0.96;
    letter-spacing: 0;
    text-transform: uppercase;
}

.core-e-lead {
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 700;
}

.core-e-button-row,
.core-e-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 24px;
}

.core-e-btn,
.core-e-card-actions a,
.core-e-form button,
.core-e-loop-enquire {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid transparent;
    padding: 12px 18px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.core-e-btn:hover,
.core-e-card-actions a:hover,
.core-e-form button:hover,
.core-e-loop-enquire:hover {
    transform: translateY(-1px);
}

.core-e-btn-primary,
.core-e-form button,
.core-e-card-actions a:last-child,
.core-e-loop-enquire {
    background: var(--core-e-orange);
    color: var(--core-e-black);
}

.core-e-btn-dark {
    background: var(--core-e-black);
    color: var(--core-e-white);
    border-color: rgba(255, 255, 255, 0.12);
}

.core-e-btn-ghost,
.core-e-card-actions a:first-child {
    background: transparent;
    color: inherit;
    border-color: currentColor;
}

.core-e-intro,
.core-e-products,
.core-e-why,
.core-e-band,
.core-e-simple-hero,
.core-e-contact-grid,
.core-e-product-sections {
    padding: clamp(46px, 6vw, 84px) max(24px, calc((100vw - 1180px) / 2));
}

.core-e-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    gap: clamp(20px, 4vw, 64px);
    align-items: end;
    background: var(--core-e-white);
}

.core-e-intro h2,
.core-e-products h2,
.core-e-why h2,
.core-e-band h2,
.core-e-section-wrap h2 {
    margin: 0 0 16px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
    letter-spacing: 0;
}

.core-e-product-grid,
.core-e-icon-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.core-e-product-card,
.core-e-icon-grid article,
.core-e-product-enquiry,
.core-e-form,
.core-e-spec-table,
.core-e-video-placeholder {
    border-radius: 8px;
    border: 1px solid var(--core-e-border);
    background: var(--core-e-white);
    box-shadow: 0 18px 45px rgba(17, 24, 31, 0.08);
}

.core-e-products {
    background:
        linear-gradient(180deg, rgba(244, 246, 247, 0.9), rgba(244, 246, 247, 0.98)),
        url("../images/core-e-product-band.jpg") center / cover no-repeat;
}

.core-e-product-card {
    overflow: hidden;
}

.core-e-card-image {
    display: block;
    background: var(--core-e-mist);
}

.core-e-card-image img,
.core-e-product-card img {
    width: 100%;
    aspect-ratio: 1.18 / 1;
    object-fit: cover;
    display: block;
}

.core-e-product-card > div {
    padding: 22px;
}

.core-e-product-card h3,
.core-e-icon-grid h3 {
    margin: 0 0 10px;
    font-size: 1.22rem;
}

.core-e-price-label {
    display: inline-block;
    color: var(--core-e-orange);
    font-weight: 800;
}

.core-e-icon-grid article {
    padding: 24px;
}

.core-e-icon-grid span {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-bottom: 18px;
    background: linear-gradient(135deg, var(--core-e-blue), var(--core-e-orange));
}

.core-e-band {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    background: var(--core-e-charcoal);
    color: var(--core-e-white);
}

.core-e-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1fr);
    gap: clamp(24px, 5vw, 72px);
    align-items: start;
}

.core-e-form {
    padding: 24px;
}

.core-e-form label {
    display: grid;
    gap: 7px;
    margin-bottom: 14px;
    font-weight: 700;
}

.core-e-form input,
.core-e-form select,
.core-e-form textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--core-e-border);
    border-radius: 6px;
    padding: 10px 12px;
    font: inherit;
}

.core-e-hidden-field {
    position: absolute;
    left: -9999px;
}

.core-e-form-success {
    margin-bottom: 16px;
    border-radius: 6px;
    padding: 14px 16px;
    background: #eaf8ec;
    color: #145123;
    font-weight: 700;
}

.core-e-product-enquiry {
    padding: 20px;
    margin-top: 20px;
}

.core-e-product-sections {
    clear: both;
    background: var(--core-e-mist);
}

.core-e-section-wrap {
    margin-bottom: 26px;
}

.core-e-spec-table {
    display: grid;
    overflow: hidden;
}

.core-e-spec-table div {
    display: grid;
    grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1fr);
    gap: 18px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--core-e-border);
}

.core-e-spec-table div:last-child {
    border-bottom: 0;
}

.core-e-check-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.core-e-check-list li {
    border-radius: 6px;
    background: var(--core-e-white);
    padding: 14px 16px;
    border-left: 4px solid var(--core-e-orange);
}

.core-e-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
    gap: 28px;
    align-items: center;
    border-radius: 8px;
    background: var(--core-e-white);
    padding: clamp(22px, 4vw, 42px);
}

.core-e-utility-panel {
    color: var(--core-e-white);
    background:
        linear-gradient(90deg, rgba(12, 15, 18, 0.86), rgba(12, 15, 18, 0.38)),
        url("../images/core-e-utility-background.jpg") center / cover no-repeat;
}

.core-e-split img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.core-e-video-placeholder {
    display: grid;
    min-height: 220px;
    place-items: center;
    color: #5a646b;
    font-weight: 800;
}

.core-e-video-embed iframe,
.core-e-video-file {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 8px;
}

.core-e-final-cta {
    border-radius: 8px;
    background: var(--core-e-charcoal);
    color: var(--core-e-white);
    padding: clamp(26px, 4vw, 44px);
}

@media (max-width: 900px) {
    .core-e-hero,
    .core-e-intro,
    .core-e-contact-grid,
    .core-e-split {
        grid-template-columns: 1fr;
    }

    .core-e-hero {
        background: linear-gradient(180deg, #f6f8f9 0%, #f6f8f9 50%, #12161a 50%, #090b0e 100%);
    }

    .core-e-product-grid,
    .core-e-icon-grid,
    .core-e-check-list {
        grid-template-columns: 1fr;
    }

    .core-e-band {
        display: block;
    }
}

@media (max-width: 520px) {
    .core-e-button-row,
    .core-e-card-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .core-e-btn,
    .core-e-card-actions a {
        width: 100%;
    }

    .core-e-spec-table div {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}
