
:root {
    --asa-primary: #1d4e89;
    --asa-primary-dark: #16314f;
    --asa-accent: #5f8fbe;
    --asa-accent-soft: #edf4fb;
    --asa-text-main: #1b2d42;
    --asa-text-sub: #617285;
    --asa-line: #d9e4ef;
    --asa-white: #ffffff;
    --asa-shadow-sm: 0 12px 28px rgba(22, 49, 79, 0.08);
    --asa-shadow-md: 0 20px 48px rgba(22, 49, 79, 0.14);
    --asa-radius-lg: 22px;
    --asa-radius-md: 16px;
    --asa-radius-pill: 999px;
}

body.asa-page {
    background: #ffffff;
    color: var(--asa-text-main);
}

.banner_area { position: relative; }
.banner_area .banner_inner .banner_content { margin-top: 85px; }
.banner_area .section-head-square {
    width: 200px;
    padding: 3rem 0 3rem 3rem;
}

.banner_area .section-head-square > .head-title,
.banner_area .banner_inner .banner_content h2,
.banner_area .head-title {
    width: 640px;
    font-size: 28px !important;
    line-height: 1.45 !important;
    font-weight: 700;
    letter-spacing: -0.2px;
    margin-bottom: 0;
}
.portfolio_details_area.asa-section {
    position: relative;
    padding: 90px 0 120px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fafe 52%, #ffffff 100%);
    overflow: hidden;
}
.portfolio_details_area.asa-section::before {
    content: "";
    position: absolute;
    top: -140px; right: -120px;
    width: 360px; height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(95,143,190,0.16) 0%, rgba(95,143,190,0) 72%);
    pointer-events: none;
}

.asa-hero { position: relative; z-index: 1; margin-bottom: 44px; text-align: center; }
.asa-kicker {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 8px 18px; margin-bottom: 18px;
    border-radius: var(--asa-radius-pill);
    background: var(--asa-accent-soft); color: var(--asa-primary);
    font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
}
.asa-hero-title {
    font-size: 42px; font-weight: 800; line-height: 1.25; letter-spacing: -0.03em;
    color: var(--asa-primary-dark); margin-bottom: 14px;
}
.asa-title-line {
    width: 60px; height: 4px; border-radius: var(--asa-radius-pill);
    margin: 0 auto 22px;
    background: linear-gradient(90deg, var(--asa-primary-dark), var(--asa-accent));
}
.asa-hero-desc {
    max-width: 920px; margin: 0 auto;
    font-size: 16px; line-height: 1.85; color: var(--asa-text-sub);
}
.asa-tab-nav {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
    margin: 34px 0 0;
}
.asa-tab-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 220px; padding: 12px 24px;
    border-radius: var(--asa-radius-pill);
    background: linear-gradient(135deg, var(--asa-primary), var(--asa-accent));
    color: #fff !important; font-size: 14px; font-weight: 700;
    box-shadow: 0 10px 24px rgba(31, 60, 136, 0.20);
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.asa-tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(31, 60, 136, 0.26);
}
.asa-section-block { position: relative; z-index: 1; margin-top: 64px; }
.asa-section-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 16px; margin-bottom: 24px;
}
.asa-section-head-left h2 {
    font-size: 30px; font-weight: 800; line-height: 1.3; letter-spacing: -0.03em;
    color: var(--asa-primary-dark); margin-bottom: 10px;
}
.asa-section-head-left p { margin: 0; font-size: 15px; line-height: 1.8; color: var(--asa-text-sub); }
.asa-section-chip {
    display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
    padding: 8px 16px; border-radius: var(--asa-radius-pill);
    border: 1px solid rgba(95, 143, 190, 0.22); background: #fff; color: var(--asa-primary);
    font-size: 13px; font-weight: 700;
}
.asa-highlight-grid, .asa-model-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
}
.asa-highlight-grid { margin-bottom: 58px; }
.asa-card, .asa-model-card {
    position: relative; border-radius: var(--asa-radius-lg);
    background: rgba(255,255,255,0.98); border: 1px solid var(--asa-line);
    box-shadow: var(--asa-shadow-sm); overflow: hidden;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.asa-card { padding: 30px 28px 28px; }
.asa-model-card { display:flex; flex-direction:column; height:100%; padding:30px 28px 28px; }
.asa-card::before, .asa-model-card::before {
    content:""; position:absolute; inset:0 0 auto 0; height:5px;
    background: linear-gradient(90deg, var(--asa-primary-dark), var(--asa-accent));
}
.asa-card:hover, .asa-model-card:hover {
    transform: translateY(-8px); box-shadow: var(--asa-shadow-md);
    border-color: rgba(95, 143, 190, 0.35);
}
.asa-card h3, .asa-model-card h3 {
    font-size: 24px; font-weight: 800; line-height: 1.35; letter-spacing: -0.02em;
    margin-bottom: 14px; color: var(--asa-primary-dark);
}
.asa-card p, .asa-model-card p {
    margin: 0; font-size: 15px; line-height: 1.82; color: var(--asa-text-sub);
}
.asa-model-tag {
    display:inline-flex; align-items:center; justify-content:center; align-self:flex-start;
    padding:7px 14px; margin-bottom: 16px; border-radius: var(--asa-radius-pill);
    background: var(--asa-accent-soft); color: var(--asa-primary);
    font-size:12px; font-weight:700; letter-spacing: .04em;
}
.asa-model-meta { list-style:none; padding:0; margin: 18px 0 22px; }
.asa-model-meta li {
    position:relative; padding-left:18px; margin-bottom:8px;
    font-size:14px; line-height:1.7; color: var(--asa-text-main);
}
.asa-model-meta li::before {
    content:""; position:absolute; left:0; top:9px; width:7px; height:7px;
    border-radius:50%; background: var(--asa-accent);
}
.asa-model-card .main_btn { align-self:flex-start; }
.main_btn.asa-btn, .main_btn.asa-btn-secondary, .main_btn.asa-btn-dark {
    min-width: 210px; padding: 0 28px; line-height: 48px;
    border-radius: var(--asa-radius-pill); font-size: 14px; font-weight: 700; text-align: center;
    box-shadow: 0 12px 28px rgba(22, 49, 79, 0.16);
    transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease;
}
.main_btn.asa-btn { background: linear-gradient(135deg, var(--asa-primary-dark), var(--asa-primary)); color:#fff !important; }
.main_btn.asa-btn-secondary { background: linear-gradient(135deg, var(--asa-primary), var(--asa-accent)); color:#fff !important; }
.main_btn.asa-btn-dark { background: linear-gradient(135deg, #233548, #486987); color:#fff !important; }
.main_btn.asa-btn:hover, .main_btn.asa-btn-secondary:hover, .main_btn.asa-btn-dark:hover {
    transform: translateY(-2px); box-shadow: 0 16px 32px rgba(22,49,79,.22); color:#fff !important; text-decoration:none; opacity:.98;
}
.asa-action-wrap {
    display:flex; flex-wrap:wrap; justify-content:center; gap:14px;
    margin: 34px 0 58px; position:relative; z-index:1;
}
.asa-spec-card {
    border-radius: 24px; border:1px solid var(--asa-line); background:#fff;
    box-shadow: var(--asa-shadow-sm); overflow:hidden;
}
.asa-spec-head {
    padding: 28px 30px 20px;
    background: linear-gradient(180deg, rgba(95,143,190,.12), rgba(95,143,190,.04));
    border-bottom: 1px solid var(--asa-line);
}
.asa-spec-head h3 {
    margin:0 0 8px; font-size:28px; font-weight:800; line-height:1.3; letter-spacing:-0.03em; color: var(--asa-primary-dark);
}
.asa-spec-head p { margin:0; font-size:14px; line-height:1.8; color: var(--asa-text-sub); }
.asa-table-wrap { width:100%; overflow-x:auto; }
.asa-spec-table { width:100%; min-width:980px; border-collapse:collapse; background:#fff; }
.asa-spec-table thead th {
    padding:16px 14px; background:#f6fafe; border-bottom:1px solid var(--asa-line);
    color: var(--asa-primary-dark); font-size:14px; font-weight:700; text-align:center; white-space:nowrap;
}
.asa-spec-table tbody td {
    padding:16px 14px; border-bottom:1px solid #edf3f8; color:#4c6074; font-size:14px; line-height:1.7;
    text-align:center; vertical-align:middle; background:#fff;
}
.asa-spec-table tbody tr:hover td { background:#fbfdff; }
.asa-spec-table tbody td:first-child { font-weight:700; color: var(--asa-text-main); background:#fcfdff; white-space:nowrap; }
.asa-note-box {
    margin-top: 18px; padding:20px 22px; border-radius: var(--asa-radius-md);
    background:#f8fbfe; border:1px solid var(--asa-line); color: var(--asa-text-sub); font-size:14px; line-height:1.8;
}
.asa-note-box strong { color: var(--asa-primary-dark); font-weight:700; }

@media (max-width:1199px) {
    .asa-highlight-grid, .asa-model-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width:991px) {
    .banner_area .section-head-square { width:200px; padding:2.5rem 0 2.5rem 2.5rem; }
    .banner_area .section-head-square > .head-title,
    .banner_area .banner_inner .banner_content h2,
    .banner_area .head-title { width:100%; font-size:24px !important; line-height:1.45 !important; }
    .portfolio_details_area.asa-section { padding:70px 0 90px; }
    .asa-hero-title { font-size:34px; }
    .asa-section-head { flex-direction:column; align-items:flex-start; }
    .asa-section-head-left h2 { font-size:26px; }
    .asa-spec-head { padding:24px 22px 18px; }
    .asa-spec-head h3 { font-size:24px; }
}
@media (max-width:767px) {
    .banner_area .section-head-square { width:160px; padding:2rem 0 2rem 2rem; margin:0 auto; }
    .banner_area .section-head-square > .head-title,
    .banner_area .banner_inner .banner_content h2,
    .banner_area .head-title { width:100%; font-size:20px !important; line-height:1.5 !important; }
    .portfolio_details_area.asa-section { padding:56px 0 72px; }
    .asa-kicker { margin-bottom:14px; }
    .asa-hero-title { font-size:28px; }
    .asa-hero-desc { font-size:15px; }
    .asa-highlight-grid, .asa-model-grid { grid-template-columns:1fr; gap:18px; }
    .asa-card, .asa-model-card { padding:24px 20px 22px; }
    .asa-card h3, .asa-model-card h3 { font-size:22px; }
    .asa-action-wrap { gap:12px; margin-bottom:42px; }
    .main_btn.asa-btn, .main_btn.asa-btn-secondary, .main_btn.asa-btn-dark { width:100%; min-width:auto; }
    .asa-tab-nav { gap:10px; }
    .asa-tab-btn { width:100%; min-width:auto; }
    .asa-spec-head { padding:20px 18px 16px; }
    .asa-spec-head h3 { font-size:21px; }
}

/* =========================
   ASA model product images
========================= */
.asa-model-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 116px;
    margin: 0 0 22px;
    padding: 8px 10px;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fbfe 0%, #ffffff 100%);
}

.asa-model-image img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 98px;
    object-fit: contain;
}

@media (max-width: 767px) {
    .asa-model-image {
        height: 104px;
        margin-bottom: 18px;
        padding: 6px 8px;
    }

    .asa-model-image img {
        max-height: 88px;
    }
}

/* =========================
   ASA C-Series featured layout
========================= */
.asa-c-layout {
    display: grid;
    gap: 28px;
}

.asa-c-featured {
    width: 100%;
}

.asa-c-featured .asa-model-card {
    min-height: 330px;
    padding: 34px 38px 32px;
    border-radius: 34px;
}

.asa-c-featured .asa-model-image {
    height: 126px;
    margin-bottom: 20px;
}

.asa-c-featured .asa-model-image img {
    max-height: 108px;
}

.asa-c-featured .asa-model-card h3 {
    font-size: 30px;
}

.asa-c-featured .asa-model-card p {
    max-width: 900px;
}

.asa-c-legacy-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.asa-c-legacy-grid .asa-model-card {
    min-height: 300px;
    border-radius: 26px;
    padding: 28px 24px 26px;
}

.asa-c-legacy-grid .asa-model-card h3 {
    font-size: 23px;
}

.asa-c-legacy-grid .asa-model-card p {
    font-size: 14px;
    line-height: 1.75;
}

.asa-c-legacy-grid .asa-model-meta li {
    font-size: 13px;
}

@media (max-width: 991px) {
    .asa-c-legacy-grid {
        grid-template-columns: 1fr;
    }

    .asa-c-featured .asa-model-card,
    .asa-c-legacy-grid .asa-model-card {
        min-height: auto;
    }
}

@media (max-width: 767px) {
    .asa-c-layout {
        gap: 20px;
    }

    .asa-c-featured .asa-model-card {
        padding: 28px 22px 24px;
        border-radius: 24px;
    }

    .asa-c-featured .asa-model-card h3 {
        font-size: 25px;
    }

    .asa-c-legacy-grid {
        gap: 18px;
    }

    .asa-c-legacy-grid .asa-model-card {
        border-radius: 22px;
        padding: 25px 21px 22px;
    }
}

/* ASA C30: text left, product image right */
.asa-c-featured .asa-c30-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 38%);
    align-items: center;
    gap: 42px;
}

.asa-c30-copy {
    min-width: 0;
}

.asa-c30-copy .asa-model-tag {
    margin-bottom: 22px;
}

.asa-c30-image {
    width: 100%;
    height: 230px !important;
    margin: 0 !important;
    padding: 24px 28px !important;
    background: linear-gradient(180deg, #f5f9fd 0%, #ffffff 100%);
}

.asa-c30-image img {
    max-width: 100%;
    max-height: 170px !important;
}

@media (max-width: 991px) {
    .asa-c-featured .asa-c30-card {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .asa-c30-image {
        order: -1;
        height: 170px !important;
    }

    .asa-c30-image img {
        max-height: 128px !important;
    }
}

@media (max-width: 767px) {
    .asa-c30-image {
        height: 145px !important;
        padding: 16px 18px !important;
    }

    .asa-c30-image img {
        max-height: 108px !important;
    }
}

.asa-c30-card > .asa-c30-copy,
.asa-c30-card > .asa-c30-image {
    position: relative;
    z-index: 1;
}

.asa-c30-card .asa-c30-image {
    align-self: stretch;
}
