/* ============================================================
   aceweld — Homepage Styles v2
   ============================================================ */

/* ─── Shared Section Utilities ────────────────────────────── */
.aceweld-section { padding: 3rem 0; }
.aceweld-section--alt { background: #f8fafc; }
.aceweld-section--dark { background: var(--aceweld-navy); color: #f3f4f6; }

.aceweld-section-head { margin-bottom: 3rem; }
.aceweld-section-head--center { text-align: center; }
.aceweld-section-head--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.aceweld-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.9rem;
    background: rgba(232, 92, 13, 0.08);
    color: var(--aceweld-orange);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 2px;
    border-left: 3px solid var(--aceweld-orange);
    margin-bottom: 0.9rem;
}

.aceweld-section-title {
    font-family: var(--aceweld-heading-font);
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: 700;
    color: var(--aceweld-navy);
    margin: 0 0 0.65rem;
    line-height: 1.15;
}

.aceweld-section-subtitle {
    font-size: 1.0625rem;
    color: var(--aceweld-muted);
    margin: 0;
    max-width: 600px;
    line-height: 1.7;
}
.aceweld-section-head--center .aceweld-section-subtitle { margin-inline: auto; }

.aceweld-section-head__more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--aceweld-blue);
    border: 1.5px solid var(--aceweld-blue);
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}
.aceweld-section-head__more:hover {
    background: var(--aceweld-blue);
    color: #fff;
    text-decoration: none;
}
.aceweld-section-cta { text-align: center; margin-top: 2.5rem; }

/* Shared button */
.aceweld-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.85rem;
    background: var(--aceweld-blue);
    color: #fff;
    font-family: var(--aceweld-heading-font);
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.aceweld-btn:hover, .aceweld-btn:focus-visible {
    background: var(--aceweld-navy-dark);
    text-decoration: none;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 45, 75, 0.2);
}
.aceweld-btn--orange { background: var(--aceweld-orange); }
.aceweld-btn--orange:hover {
    background: #c9490a;
    box-shadow: 0 8px 20px rgba(232, 92, 13, 0.28);
}

/* ─── Hero Slider ──────────────────────────────────────────── */
.aceweld-hero {
    position: relative;
    overflow: hidden;
    background: var(--aceweld-navy-dark);
}
/* 16:6 desktop ≈ 37.5% | 8:5 mobile = 62.5% */
.aceweld-hero__ratio {
    position: relative;
    width: 100%;
    padding-top: 37.5%;
}
@media (max-width: 767px) {
    .aceweld-hero__ratio { padding-top: 62.5%; }
}

.aceweld-hero__track {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.aceweld-hero__slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%; height: 100%;
    overflow: hidden;
}
.aceweld-hero__picture {
    position: absolute; inset: 0;
    display: block; width: 100%; height: 100%;
}
.aceweld-hero__picture img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
.aceweld-hero__picture--placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #0d1a2e 0%, #1a2b4b 50%, #0d1a2e 100%);
}
.aceweld-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        105deg,
        rgba(8, 16, 36, 0.82) 0%,
        rgba(8, 16, 36, 0.5) 50%,
        rgba(8, 16, 36, 0.1) 100%
    );
    z-index: 1;
}
.aceweld-hero__content {
    position: absolute; inset: 0;
    display: flex; align-items: center;
    z-index: 2;
}
.aceweld-hero__content--left  { justify-content: flex-start; }
.aceweld-hero__content--center { justify-content: center; }
.aceweld-hero__content--right  { justify-content: flex-end; }
.aceweld-hero__content--center .aceweld-hero__text,
.aceweld-hero__content--right  .aceweld-hero__text { text-align: center; }
.aceweld-hero__content--right  .aceweld-hero__text { text-align: right; }
.aceweld-hero__content--center .aceweld-hero__title-bar { margin-left: auto; margin-right: auto; }
.aceweld-hero__content--right  .aceweld-hero__title-bar { margin-left: auto; margin-right: 0; }
.aceweld-hero__text {
    max-width: 680px;
    padding: 1rem 0;
    color: #fff;
}
.aceweld-hero__title {
    font-family: var(--aceweld-heading-font);
    font-size: clamp(1.875rem, 3.75vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 0.5rem;
    text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.aceweld-hero__title-bar {
    display: block;
    width: 56px; height: 4px;
    background: var(--aceweld-orange);
    border-radius: 2px;
    margin: 0.85rem 0 1.1rem;
}
.aceweld-hero__desc {
    font-size: clamp(0.9375rem, 1.6vw, 1.125rem);
    line-height: 1.7;
    margin: 0 0 2.25rem;
    opacity: 0.88;
}
.aceweld-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2.25rem;
    background: var(--aceweld-orange);
    color: #fff;
    font-family: var(--aceweld-heading-font);
    font-weight: 700;
    font-size: .9375rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background .2s, transform .15s, box-shadow .2s;
}
.aceweld-hero__btn:hover, .aceweld-hero__btn:focus-visible {
    background: #c9490a;
    text-decoration: none;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232,92,13,.5);
}

/* Arrows */
.aceweld-hero__arrow {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    z-index: 5;
    width: 52px; height: 52px;
    border: 2px solid rgba(255,255,255,.35);
    background: rgba(0,0,0,.22);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s, border-color .2s, transform .2s;
    backdrop-filter: blur(6px);
}
.aceweld-hero__arrow--prev { left: 1.75rem; }
.aceweld-hero__arrow--next { right: 1.75rem; }
.aceweld-hero__arrow:hover {
    background: rgba(232,92,13,.75);
    border-color: var(--aceweld-orange);
    transform: translateY(-50%) scale(1.05);
}
@media (max-width: 767px) {
    .aceweld-hero__arrow { width: 40px; height: 40px; }
    .aceweld-hero__arrow--prev { left: .75rem; }
    .aceweld-hero__arrow--next { right: .75rem; }
}

/* Dots */
.aceweld-hero__dots {
    position: absolute;
    bottom: 1.5rem; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: .5rem;
    z-index: 5;
}
.aceweld-hero__dot {
    width: 8px; height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,.4);
    border: none; cursor: pointer; padding: 0;
    transition: background .25s, width .3s;
}
.aceweld-hero__dot.is-active {
    background: var(--aceweld-orange);
    width: 24px;
}
.aceweld-hero__dot:hover { background: rgba(255,255,255,.7); }

/* ─── Product Categories ────────────────────────────────────── */
.aceweld-cats { background: #fff; }
.aceweld-cats__slider-wrap { position: relative; }

/* ── List — Desktop: static grid ── */
.aceweld-cats__list {
    display: grid;
    grid-template-columns: repeat(var(--cat-count, 3), 1fr);
    list-style: none;
    margin: 0; padding: 0;
    border-radius: 4px;
    overflow: hidden;
}

.aceweld-cat-col:last-child { border-right: none; }

.aceweld-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 1.25rem 2rem;
    height: 100%;
    box-sizing: border-box;
}

/* ── Icon circle (matches Shopify media--circle) ── */
.aceweld-cat-card__img-wrap {
    width: 33%;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}
.aceweld-cat-card__img-circle {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
}
.aceweld-cat-card__img-circle img,
.aceweld-cat-card__img-circle svg {
    width: 100%; height: 100%;
    object-fit: contain;
    display: block;
}
.aceweld-cat-card__img-circle svg {
    padding: 12%;
}

/* ── Text block ── */
.aceweld-cat-card__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}
.aceweld-cat-card__title {
    font-family: var(--aceweld-heading-font);
    font-size: 1rem; font-weight: 700;
    color: var(--aceweld-navy);
    margin: 0 0 .65rem;
    line-height: 1.3;
}
.aceweld-cat-card__desc {
    font-size: .875rem;
    color: var(--aceweld-muted);
    line-height: 1.65;
    margin: 0 0 1.25rem;
    flex: 1;
}
.aceweld-cat-card__desc p { margin: 0; }

/* ── "Learn More →" link (matches Shopify .link.animate-arrow) ── */
.aceweld-cat-card__link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .875rem; font-weight: 600;
    color: var(--aceweld-orange);
    text-decoration: none;
    margin-top: auto;
    transition: gap .2s;
}
.aceweld-cat-card__link:hover { gap: .65rem; }
.aceweld-cat-card__arrow {
    display: inline-flex;
    align-items: center;
    transition: transform .2s;
}
.aceweld-cat-card__link:hover .aceweld-cat-card__arrow { transform: translateX(3px); }

/* ── Slider nav buttons — hidden on desktop (≥990px) ── */
.aceweld-cats__slider-btns {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.125rem;
}
.aceweld-cats__slider-btn {
    width: 34px; height: 34px;
    border: 1px solid var(--aceweld-border);
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--aceweld-navy);
    padding: 0;
    transition: border-color .2s, color .2s;
}
.aceweld-cats__slider-btn:hover { border-color: var(--aceweld-orange); color: var(--aceweld-orange); }
.aceweld-cats__slider-btn:disabled { opacity: .35; cursor: default; }

/* Rotate caret SVG to point left/right */
.aceweld-cats__slider-btn--prev .aceweld-cats__caret { transform: rotate(90deg); }
.aceweld-cats__slider-btn--next .aceweld-cats__caret { transform: rotate(-90deg); }

.aceweld-cats__slider-counter {
    font-size: .875rem; font-weight: 500;
    color: var(--aceweld-muted);
    min-width: 2.5rem; text-align: center;
}

/* ── Tablet & Mobile (<990px): switch to horizontal scroll slider ── */
@media (max-width: 989px) {
    .aceweld-cats__list {
        display: flex;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scrollbar-width: none;
        border-left: none; border-right: none;
        border-radius: 0;
        margin: 0 calc(-1 * var(--aceweld-gutter, 1.25rem));
        padding: 0 var(--aceweld-gutter, 1.25rem);
        /* Peek: last visible item shows ~10% of next item */
        gap: 0;
    }
    .aceweld-cats__list::-webkit-scrollbar { display: none; }

    .aceweld-cat-col {
        flex: 0 0 calc(50% - 1px);
        min-width: calc(50% - 1px);
        scroll-snap-align: start;
        border-right: 1px solid var(--aceweld-border);
        border-top: none; border-bottom: none;
    }
    .aceweld-cat-col:last-child { border-right: 1px solid var(--aceweld-border); }

    .aceweld-cat-card__img-wrap { width: 40%; }

    .aceweld-cats__slider-btns { display: flex; }
}

/* ─── Company Introduction ──────────────────────────────────── */
.aceweld-about { background: #fff; }

.aceweld-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: center;
}
@media (max-width: 900px) { .aceweld-about__grid { grid-template-columns: 1fr; gap: 2.5rem; } }

.aceweld-about__title {
    font-family: var(--aceweld-heading-font);
    font-size: clamp(1.5rem, 2.5vw, 2.125rem);
    font-weight: 700; color: var(--aceweld-navy);
    margin: .5rem 0 1.5rem; line-height: 1.2;
}
.aceweld-about__text {
    color: var(--aceweld-muted);
    line-height: 1.8; margin-bottom: 2.25rem;
    font-size: .9375rem;
}
.aceweld-about__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin-bottom: 2.5rem;
    border: 1px solid var(--aceweld-border);
    border-radius: 10px;
    overflow: hidden;
}
.aceweld-stat {
    padding: 1.25rem 1.5rem;
    border-right: 1px solid var(--aceweld-border);
    border-bottom: 1px solid var(--aceweld-border);
}
.aceweld-stat:nth-child(even) { border-right: none; }
.aceweld-stat:nth-last-child(-n+2) { border-bottom: none; }

.aceweld-stat__number {
    display: block;
    font-family: var(--aceweld-heading-font);
    font-size: 2rem; font-weight: 800;
    color: var(--aceweld-orange); line-height: 1;
    margin-bottom: .3rem;
}
.aceweld-stat__label { font-size: .8125rem; color: var(--aceweld-muted); line-height: 1.35; font-weight: 500; }

.aceweld-about__image-wrap {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,.13);
    position: relative;
}
.aceweld-about__image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    pointer-events: none;
}
.aceweld-about__image { width: 100%; height: auto; display: block; }
.aceweld-about__image--placeholder {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    aspect-ratio: 4/3;
    background: #e8edf2;
    color: var(--aceweld-muted);
    gap: .75rem; font-size: .875rem;
}

/* ─── Production Environment (after company intro) ─────────── */
.aceweld-prodenv {
    background: #fff;
    border-top: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;
}
.aceweld-prodenv__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
    align-items: center;
}
@media (max-width: 900px) {
    .aceweld-prodenv__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .aceweld-prodenv__content { order: 2; }
    .aceweld-prodenv__media { order: 1; }
}
.aceweld-prodenv__player {
    position: relative;
    width: 100%;
    min-height: clamp(12.5rem, 32vw, 26rem);
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(145deg, #1e3058 0%, #0f1a2e 100%);
    aspect-ratio: 16 / 9;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
}
.aceweld-prodenv__media {
    min-width: 0;
}
.aceweld-prodenv__play {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 1.5rem;
    border: none;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    font: inherit;
}
.aceweld-prodenv__play:hover,
.aceweld-prodenv__play:focus-visible {
    background: rgba(0, 0, 0, 0.35);
    outline: none;
}
.aceweld-prodenv__play:active {
    transform: scale(0.99);
}
.aceweld-prodenv__play-text {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
}
.aceweld-prodenv__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #0f172a;
}
.aceweld-prodenv__title {
    font-family: var(--aceweld-heading-font);
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 700;
    color: var(--aceweld-navy);
    margin: 0 0 1.25rem;
    line-height: 1.3;
}
.aceweld-prodenv__text {
    color: var(--aceweld-muted);
    font-size: 0.9375rem;
    line-height: 1.8;
}
.aceweld-prodenv__text p {
    margin: 0 0 1rem;
}
.aceweld-prodenv__text p:last-child {
    margin-bottom: 0;
}

/* ─── Advantages ────────────────────────────────────────────── */
/* Reuses .aceweld-cats__list / .aceweld-cat-col / .aceweld-cat-card classes.
   Only section-level overrides needed here. */
.aceweld-adv { background: #f8fafc; }
.aceweld-adv__slider-wrap { position: relative; }

/* Hide "Learn More" link if present in adv items */
.aceweld-adv .aceweld-cat-card__link { display: none; }

/* ─── Hot Products ──────────────────────────────────────────── */
.aceweld-products { background: #fff; }

.aceweld-products__title {
    font-family: var(--aceweld-heading-font);
    font-size: 1.75rem; font-weight: 700;
    color: var(--aceweld-navy);
    margin: 0 0 1.25rem;
}

/* Tabs */
.aceweld-products__tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    border-bottom: 2px solid var(--aceweld-border);
    margin-bottom: 1.75rem;
}
.aceweld-products__tabs::-webkit-scrollbar { display: none; }

.aceweld-products__tab {
    flex-shrink: 0;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    padding: .6875rem 1.25rem;
    font-size: .8rem; font-weight: 600;
    letter-spacing: .06em;
    color: #64748b;
    cursor: pointer;
    white-space: nowrap;
    transition: color .2s, border-color .2s;
}
.aceweld-products__tab:hover { color: var(--aceweld-navy); }
.aceweld-products__tab.is-active {
    color: var(--aceweld-navy);
    border-bottom-color: var(--aceweld-navy);
}

/* Panel */
.aceweld-products__panel { display: none; }
.aceweld-products__panel.is-active { display: block; }

/* Product carousel */
.aceweld-products__grid {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0 0 4px;
}
.aceweld-products__grid::-webkit-scrollbar { display: none; }

.aceweld-product-item {
    flex: 0 0 calc((100% - 3.75rem) / 4); /* 4 visible, 3 gaps */
    scroll-snap-align: start;
}
@media (max-width: 989px) {
    .aceweld-product-item { flex: 0 0 calc((100% - 2.5rem) / 3); } /* 3 visible */
}
@media (max-width: 767px) {
    .aceweld-product-item { flex: 0 0 calc((100% - 1.25rem) / 2); } /* 2 visible */
}

/* Product card */
.aceweld-product-card {
    display: flex; flex-direction: column; height: 100%;
    text-decoration: none; color: inherit;
    border: 1px solid var(--aceweld-border);
    border-radius: 8px; overflow: hidden;
    background: #fff;
    transition: box-shadow .25s, transform .25s;
}
.aceweld-product-card:hover {  transform: translateY(-4px); }

.aceweld-product-card__thumb {
    position: relative;
    padding-top: 100%;
    background: #f1f5f9;
    overflow: hidden;
}
.aceweld-product-card__thumb img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .45s;
}
.aceweld-product-card:hover .aceweld-product-card__thumb img { transform: scale(1.07); }

.aceweld-product-card__thumb::after {
    content: 'View Details';
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(20, 31, 51, .6);
    color: #fff;
    font-size: .8125rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
    opacity: 0;
    transition: opacity .25s;
}
.aceweld-product-card:hover .aceweld-product-card__thumb::after { opacity: 1; }

.aceweld-product-card__nothumb {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
}
.aceweld-product-card__body {
    padding: .875rem 1rem 1rem;
    flex: 1; display: flex; flex-direction: column;
}
.aceweld-product-card__title {
    font-family: var(--aceweld-heading-font);
    font-size: .875rem; font-weight: 600;
    color: var(--aceweld-navy);
    margin: 0 0 .375rem; line-height: 1.35;
}
.aceweld-product-card__cat {
    font-size: .75rem; font-weight: 500;
    color: #64748b;
    text-transform: uppercase; letter-spacing: .04em;
    margin-top: auto;
}

/* Carousel nav */
.aceweld-products__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.25rem;
}
.aceweld-products__nav-btn {
    width: 36px; height: 36px;
    border: 1px solid var(--aceweld-border);
    border-radius: 50%;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--aceweld-navy);
    transition: background .2s, border-color .2s, color .2s;
}
.aceweld-products__nav-btn:hover:not(:disabled) {
    background: var(--aceweld-navy);
    border-color: var(--aceweld-navy);
    color: #fff;
}
.aceweld-products__nav-btn:disabled { opacity: .35; cursor: default; }
.aceweld-products__nav-btn--prev svg { transform: rotate(90deg); }
.aceweld-products__nav-btn--next svg { transform: rotate(-90deg); }
.aceweld-products__nav-counter {
    font-size: .875rem; color: #64748b;
    min-width: 3rem; text-align: center;
}

/* ─── News & Blog ───────────────────────────────────────────── */
.aceweld-news { background: #fff; }

/* Centered section title with red accent bar */
.aceweld-news__title {
    font-family: var(--aceweld-heading-font);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--aceweld-navy);
    margin: 0 0 .5rem;
}
.aceweld-news__title::after {
    content: '';
    display: block;
    width: 2.5rem; height: 3px;
    background: var(--aceweld-orange);
    border-radius: 2px;
    margin: .5rem auto 0;
}

/* 2-column grid at all screen widths */
.aceweld-news__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

/* Horizontal card: image left, content right */
.aceweld-news-card {
    display: flex;
    flex-direction: row;
    border: 1px solid var(--aceweld-border);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .25s;
}
.aceweld-news-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.09); }

.aceweld-news-card__thumb {
    flex: 0 0 38%;
    overflow: hidden;
    display: block;
    text-decoration: none;
    background: #f1f5f9;
    position: relative;
}
.aceweld-news-card__thumb img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .45s;
}
.aceweld-news-card:hover .aceweld-news-card__thumb img { transform: scale(1.05); }
.aceweld-news-card__nothumb {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
}

.aceweld-news-card__body {
    flex: 1; min-width: 0;
    padding: 1.125rem 1.25rem;
    display: flex; flex-direction: column;
}
.aceweld-news-card__title {
    font-family: var(--aceweld-heading-font);
    font-size: 1.0625rem; font-weight: 700;
    color: var(--aceweld-navy);
    margin: 0 0 .5rem; line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.aceweld-news-card__title a { color: inherit; text-decoration: none; }
.aceweld-news-card__title a:hover { color: var(--aceweld-orange); }
.aceweld-news-card__date {
    font-size: .75rem; font-weight: 600;
    color: var(--aceweld-muted);
    text-transform: uppercase; letter-spacing: .05em;
    margin-bottom: .625rem;
}
.aceweld-news-card__excerpt {
    font-size: .84375rem; color: var(--aceweld-muted);
    line-height: 1.6; margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mobile: image on top, keep 2 columns */
@media (max-width: 767px) {
    .aceweld-news-card { flex-direction: column; }
    .aceweld-news-card__thumb {
        flex: none;
        height: 150px;
    }
    .aceweld-news-card__body { padding: .875rem 1rem; }
    .aceweld-news-card__title { font-size: .9375rem; }
    .aceweld-news-card__excerpt { -webkit-line-clamp: 2; }
}

/* "View All" footer link */
.aceweld-news__footer {
    text-align: center;
    margin-top: 2rem;
}
.aceweld-news__more {
    display: inline-flex; align-items: center; gap: .3rem;
    font-size: .875rem; font-weight: 700;
    color: var(--aceweld-navy); text-decoration: none;
    border: 1.5px solid var(--aceweld-navy);
    border-radius: 8px;
    padding: .6rem 1.5rem;
    transition: background .2s, color .2s;
}
.aceweld-news__more:hover {
    background: var(--aceweld-navy); color: #fff;
}

/* ─── Contact ───────────────────────────────────────────────── */
.aceweld-contact {
    padding: 5.5rem 0;
    background: #f8fafc;
    position: relative; overflow: hidden;
}
.aceweld-contact::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 72% 60%, rgba(232,92,13,.06) 0%, transparent 50%);
    pointer-events: none;
}
.aceweld-contact .aceweld-section-title { color: #1e3058; }
.aceweld-contact .aceweld-section-subtitle { color: var(--aceweld-muted); }
.aceweld-contact .aceweld-section-head { position: relative; z-index: 1; }

.aceweld-contact__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative; z-index: 1;
}
@media (max-width: 900px) { .aceweld-contact__grid { grid-template-columns: 1fr; gap: 3rem; } }

/* Form */
.aceweld-contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.aceweld-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
@media (max-width: 600px) { .aceweld-form__row { grid-template-columns: 1fr; } }
.aceweld-form__group { display: flex; flex-direction: column; gap: .4rem; }
.aceweld-form__group label {
    font-size: .8rem; font-weight: 600;
    color: var(--aceweld-muted);
    text-transform: uppercase; letter-spacing: .06em;
}
.aceweld-form__group input,
.aceweld-form__group textarea {
    padding: .8rem 1.1rem;
    border: 1.5px solid var(--aceweld-border);
    border-radius: 6px;
    background: #fff;
    color: var(--aceweld-text);
    font: inherit; font-size: .9375rem;
    transition: border-color .2s, background .2s;
}
.aceweld-form__group input::placeholder,
.aceweld-form__group textarea::placeholder { color: #94a3b8; }
.aceweld-form__group input:focus,
.aceweld-form__group textarea:focus {
    outline: none;
    border-color: #1e3058;
    background: #fff;
}
.aceweld-form__group textarea { resize: vertical; min-height: 130px; }
.aceweld-form__actions { display: flex; }
.aceweld-form__submit {
    display: inline-flex; align-items: center; gap: .6rem;
    padding: .9rem 2.25rem;
    background: #e85c0d; color: #fff;
    border: none; border-radius: 6px;
    font: inherit; font-family: var(--aceweld-heading-font);
    font-size: .9375rem; font-weight: 700;
    cursor: pointer;
    transition: background .2s, transform .15s, box-shadow .2s;
}
.aceweld-form__submit:hover { background: #c9490a; transform: translateY(-2px); color:#fff; /*! box-shadow: 0 8px 24px rgba(232,92,13,.48); */ }
.aceweld-form__submit:disabled { opacity: .65; cursor: not-allowed; transform: none; box-shadow: none; }

.aceweld-form__feedback {
    padding: .9rem 1.1rem; border-radius: 6px; font-size: .9rem;
}
.aceweld-form__feedback--success {
    background: rgba(34,197,94,.1); color: #16a34a;
    border: 1px solid rgba(34,197,94,.3);
}
.aceweld-form__feedback--error {
    background: rgba(239,68,68,.1); color: #dc2626;
    border: 1px solid rgba(239,68,68,.3);
}

/* Contact Info */
.aceweld-contact__info-title {
    font-family: var(--aceweld-heading-font);
    font-size: 1.125rem; font-weight: 700;
    color: #1e3058; margin: 0 0 1.75rem;
}
.aceweld-contact__info-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.aceweld-contact__info-item { display: flex; gap: 1rem; align-items: flex-start; }
.aceweld-contact__info-icon {
    width: 44px; height: 44px;
    flex-shrink: 0;
    background: rgba(30,48,88,.07);
    border: 1px solid rgba(30,48,88,.15);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #1e3058;
}
.aceweld-contact__info-text strong {
    display: block; font-size: .75rem; font-weight: 600;
    color: var(--aceweld-muted);
    text-transform: uppercase; letter-spacing: .06em;
    margin-bottom: .25rem;
}
.aceweld-contact__info-text span,
.aceweld-contact__info-text a { font-size: .9375rem; color: var(--aceweld-text); }
.aceweld-contact__info-text a:hover { color: #e85c0d; text-decoration: none; }

.aceweld-contact__delivery {
    margin-top: 2rem;
    padding: 1.35rem 1.5rem;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--aceweld-border);
    display: flex; flex-wrap: wrap; gap: 1.5rem;
}
.aceweld-delivery-item { display: flex; align-items: center; gap: .75rem; }
.aceweld-delivery-item svg { color: #1e3058; flex-shrink: 0; }
.aceweld-delivery-item strong { display: block; font-size: .875rem; font-weight: 700; color: var(--aceweld-text); }
.aceweld-delivery-item span { font-size: .8125rem; color: var(--aceweld-muted); }
