/* ============================================================
   SMS PERSONNEL — alt-homepage.css
   All styles for page-labour-hire-dandenong.php
   Mirrors the alt-home prototype page exactly.

   Enqueue from functions.php:
   wp_enqueue_style( 'smsp-dandenong', $uri.'/assets/alt-homepage.css', ['smsp-main'], $v );

   Depends on main.css for: .section, .container, .container-wide,
   .ip-hl, .ip-hl-img, .ip-hl-body, .sc-ico, .learn-more, .btn,
   .testi-section, .tcard, .tc-*, .logos-strip, .logos-track-wrap,
   .logos-track, .logo-item, .sec-h, .sec-sub
============================================================ */

/* ── HERO ────────────────────────────────────────────────────
   Whole-image banner. Same pattern as ip-hero / sp-hero / ct-hero.
   Gray placeholder until image uploaded via Customizer.
─────────────────────────────────────────────────────────────*/
.ah-hero {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #b2b2b2;
    background-size: cover;
    background-position: center;
}
.ah-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        135deg,
        rgba(0,0,0,.04) 0px, rgba(0,0,0,.04) 1px,
        transparent 1px, transparent 28px
    );
    pointer-events: none;
}
.ah-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(14,14,14,.88) 30%,
        rgba(14,14,14,.55) 65%,
        rgba(14,14,14,.15) 100%
    );
}
.ah-hero-left {
    position: relative;
    z-index: 2;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
    width: 100%;
}
.ah-hero-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #4CAF50;
    margin-bottom: 16px;
}
.ah-hero h1 {
    font-size: clamp(28px, 3.5vw, 46px);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -.025em;
}
.ah-hero-sub {
    font-size: 15px;
    color: rgba(255,255,255,.65);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 480px;
}
.ah-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #4CAF50;
    color: #fff;
    padding: 14px 28px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
    box-shadow: 0 3px 12px rgba(76,175,80,.35);
}
.ah-hero-btn:hover {
    background: #388E3C;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76,175,80,.45);
}

/* ── HIGHLIGHT CARDS ─────────────────────────────────────────
   Wrapper + grid for the ip-hl component.
   ip-hl styles come from employers-page.css / main.css.
─────────────────────────────────────────────────────────────*/
.ah-stats-wrap {
    padding: 29px 60px;
    background: #fff;
    max-width: 1600px;
    margin: 0 auto;
}
.ah-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

/* ── WHY DANDENONG — 2-col split ─────────────────────────────*/
.ah-why {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #fff;
}
.ah-why-text {
    padding: 56px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ah-why-text h2 {
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 800;
    color: #111111;
    margin-bottom: 16px;
    line-height: 1.2;
}
.ah-why-text p {
    font-size: 14.5px;
    color: #555555;
    line-height: 1.8;
    margin-bottom: 14px;
}
.ah-why-text p:last-child { margin-bottom: 0; }
.ah-why-text strong { color: #111111; }
.ah-why-img {
    background: #b8b8b8;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    background-size: cover;
    background-position: center;
}
.ah-why-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        135deg,
        rgba(0,0,0,.03) 0px, rgba(0,0,0,.03) 1px,
        transparent 1px, transparent 24px
    );
}

/* ── INDUSTRY CARDS — dark image with text overlay ───────────
   Matches the live site layout: dark card, gradient overlay,
   text anchored to bottom-left.
─────────────────────────────────────────────────────────────*/
.ah-ind-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 28px;
}
.ah-ind-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    min-height: 350px;
    background: #3a3a3a;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}
.ah-ind-card:hover { transform: translateY(-4px); box-shadow: 0 6px 24px rgba(0,0,0,.13); }
.ah-ind-card-bg {
    position: absolute;
    inset: 0;
    background: #888;
    background-size: cover;
    background-position: center;
}
.ah-ind-card-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        135deg,
        rgba(0,0,0,.05) 0px, rgba(0,0,0,.05) 1px,
        transparent 1px, transparent 20px
    );
}
.ah-ind-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(0,0,0,.82) 0%,
        rgba(0,0,0,.45) 50%,
        rgba(0,0,0,.15) 100%
    );
    transition: background .2s;
}
.ah-ind-card:hover .ah-ind-card-overlay {
    background: linear-gradient(
        0deg,
        rgba(0,0,0,.88) 0%,
        rgba(0,0,0,.55) 50%,
        rgba(0,0,0,.25) 100%
    );
}
.ah-ind-card-content {
    position: relative;
    z-index: 2;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    min-height: 350px;
}
.ah-ind-card-content h3 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    line-height: 1.3;
}
.ah-ind-card-content p {
    font-size: 13px;
    color: rgba(255,255,255,.7);
    line-height: 1.5;
    margin-bottom: 10px;
}
.ah-ind-card-content .learn-more { color: #4CAF50; font-size: 12.5px; }

/* ── SERVICE CARDS — 3-col with bullet lists ─────────────────*/
.ah-svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
}
.ah-svc-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    background: #fff;
    transition: all .2s;
    position: relative;
    overflow: hidden;
}
.ah-svc-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: #4CAF50;
    transform: scaleX(0);
    transition: transform .35s;
}
.ah-svc-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,.13);
    border-color: transparent;
    transform: translateY(-3px);
}
.ah-svc-card:hover::after { transform: scaleX(1); }
.ah-svc-card .sc-ico { margin-bottom: 14px; transition: all .2s; }
.ah-svc-card:hover .sc-ico { background: #4CAF50; color: #fff; }
.ah-svc-card h3 { font-size: 15px; font-weight: 700; color: #111; margin-bottom: 8px; }
.ah-svc-card p  { font-size: 13px; color: #555; line-height: 1.65; margin-bottom: 12px; }
.ah-svc-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    font-size: 12.5px;
    color: #555;
    line-height: 1.7;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.ah-svc-bullets li { display: flex; align-items: center; gap: 7px; }
.ah-svc-bullets li::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #4CAF50;
    flex-shrink: 0;
}

/* ── LHA COMPLIANCE — 2-col ──────────────────────────────────*/
.ah-lha {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.ah-lha-text p { font-size: 14.5px; color: #555; line-height: 1.8; margin-bottom: 12px; }
.ah-lha-text strong { color: #111; }
/* LHA badge image placeholder (shown when no image uploaded) */
.ah-lha-badge-img {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    background: #c8c8c8;
    border-radius: 8px;
    padding: 20px 24px;
    margin-top: 8px;
    width: 180px;
    height: 80px;
    position: relative;
    overflow: hidden;
}
.ah-lha-badge-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        135deg,
        rgba(0,0,0,.03) 0px, rgba(0,0,0,.03) 1px,
        transparent 1px, transparent 18px
    );
}
.ah-lha-badge-img i {
    font-size: 20px;
    color: rgba(0,0,0,.25);
    position: relative;
    z-index: 1;
}
.ah-lha-badge-img span {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .07em;
    color: rgba(0,0,0,.35);
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}
/* LHA right-col image placeholder */
.ah-lha-img {
    background: #b8b8b8;
    min-height: 320px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.ah-lha-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        135deg,
        rgba(0,0,0,.03) 0px, rgba(0,0,0,.03) 1px,
        transparent 1px, transparent 24px
    );
}
.ah-lha-img i    { font-size: 48px; color: rgba(255,255,255,.3); position: relative; z-index: 1; }
.ah-lha-img span { font-size: 11px; font-weight: 600; letter-spacing: .07em; color: rgba(255,255,255,.35); text-transform: uppercase; position: relative; z-index: 1; }

/* ── SERVICE AREA CARDS ──────────────────────────────────────*/
.ah-area-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 28px;
}
.ah-area-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
}
.ah-area-card h3 { font-size: 14px; font-weight: 700; color: #111; margin-bottom: 6px; }
.ah-area-card p  { font-size: 13px; color: #555; line-height: 1.6; }

/* ── CONTACT SECTION — white bg, distinct from footer ────────*/
.ah-contact-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.ah-contact-info h2 {
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 800;
    color: #111111;
    margin-bottom: 10px;
    line-height: 1.2;
}
.ah-contact-info p { font-size: 15px; color: #555555; margin-bottom: 24px; }
.ah-contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}
.ah-contact-detail { display: flex; align-items: center; gap: 12px; }
.ah-contact-detail i {
    color: #4CAF50;
    font-size: 18px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}
.ah-contact-detail a,
.ah-contact-detail span {
    font-size: 16px;
    font-weight: 600;
    color: #111111;
    text-decoration: none;
}
.ah-contact-detail a:hover { color: #4CAF50; }
.ah-contact-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Static map */
.ah-contact-map {
    display: block;
    background: #b8b8b8;
    border-radius: 12px;
    min-height: 280px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    transition: box-shadow .2s, transform .2s;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.ah-contact-map:hover { box-shadow: 0 6px 20px rgba(0,0,0,.18); transform: translateY(-2px); }
.ah-contact-map::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        135deg,
        rgba(0,0,0,.03) 0px, rgba(0,0,0,.03) 1px,
        transparent 1px, transparent 20px
    );
}
.ah-contact-map > i {
    font-size: 40px;
    color: #4CAF50;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
}
.ah-contact-map-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255,255,255,.92);
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 11.5px;
    font-weight: 600;
    color: #111;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.ah-contact-map-badge i {
    font-size: 11px;
    color: #4CAF50;
    width: auto;
    position: static;
    transform: none;
}
.ah-contact-map:hover .ah-contact-map-badge { background: #fff; }

/* ── TABLET ≤ 1024px ─────────────────────────────────────────*/
@media (max-width: 1024px) {
    /* Hero */
    .ah-hero       { min-height: 360px; }
    .ah-hero-left  { padding: 0 28px; }

    /* Stats */
    .ah-stats-wrap { padding: 20px 28px; }
    .ah-stats      { grid-template-columns: repeat(2, 1fr); }

    /* Why */
    .ah-why        { grid-template-columns: 1fr; }
    .ah-why-text   { padding: 36px 28px; }
    .ah-why-img    { min-height: 260px; }

    /* Industries */
    .ah-ind-grid   { grid-template-columns: repeat(2, 1fr); }

    /* Services */
    .ah-svc-grid   { grid-template-columns: 1fr; }

    /* LHA */
    .ah-lha        { grid-template-columns: 1fr; gap: 28px; }
    .ah-lha-img    { min-height: 220px; }

    /* Areas */
    .ah-area-grid  { grid-template-columns: repeat(2, 1fr); }

    /* Contact */
    .ah-contact-strip { grid-template-columns: 1fr; }
}

/* ── MOBILE ≤ 768px ──────────────────────────────────────────*/
@media (max-width: 768px) {
    /* Hero */
    .ah-hero       { min-height: 300px; }
    .ah-hero-left  { padding: 0 16px; }
    .ah-hero h1    { font-size: clamp(22px, 7vw, 30px); }
    .ah-hero-sub   { font-size: 14px; }

    /* Stats */
    .ah-stats-wrap { padding: 16px; }
    .ah-stats      { grid-template-columns: 1fr; }

    /* Why */
    .ah-why        { grid-template-columns: 1fr; }
    .ah-why-text   { padding: 24px 16px; order: 2; }
    .ah-why-img    { min-height: 200px; order: 1; }

    /* Industries */
    .ah-ind-grid            { grid-template-columns: 1fr; }
    .ah-ind-card            { min-height: 280px; }
    .ah-ind-card-content    { min-height: 280px; }

    /* Services */
    .ah-svc-grid   { grid-template-columns: 1fr; }

    /* LHA */
    .ah-lha        { grid-template-columns: 1fr; gap: 20px; }
    .ah-lha-img    { min-height: 180px; }

    /* Areas */
    .ah-area-grid  { grid-template-columns: 1fr; }

    /* Contact */
    .ah-contact-strip { grid-template-columns: 1fr; }
    .ah-contact-btns  { flex-direction: column; }
    .ah-contact-btns .btn { width: 100%; justify-content: center; }
    .ah-contact-map    { min-height: 200px; }
}

/* ── SMALL MOBILE ≤ 480px ────────────────────────────────────*/
@media (max-width: 480px) {
    .ah-hero-left  { padding: 0 14px; }
    .ah-stats-wrap { padding: 12px 14px; }
    .ah-why-text   { padding: 20px 14px; }
    .ah-svc-card   { padding: 18px; }
    .ah-area-card  { padding: 16px; }
}
