:root {
    --asa-home-blue: #0A55C9;
    --asa-home-light: #EEF6FF;
    --asa-home-dark: #052B66;
    --asa-home-ink: #071C3A;
    --asa-home-copy: #3f5066;
    --asa-home-line: rgba(10, 85, 201, .13);
    --asa-home-shadow: 0 10px 28px rgba(5, 43, 102, .065);
    --asa-home-radius: 14px;
}

.asa-homepage-v2-page .entry-title,
.asa-homepage-v2-page .page-header { display: none !important; }
.asa-homepage-v2-page .site-main,
.asa-homepage-v2-page .content-area,
.asa-homepage-v2-page article.page,
.asa-homepage-v2-page .entry-content { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
.asa-homepage-v2-page { overflow-x: hidden; }
.asa-home-v2 { width: 100%; overflow: hidden; color: var(--asa-home-ink); background: #fff; font-family: Inter, "Helvetica Neue", Arial, sans-serif; }
.asa-home-v2 *, .asa-home-v2 *::before, .asa-home-v2 *::after { box-sizing: border-box; }
.asa-home-v2 a { color: inherit; text-decoration: none; }
.asa-home-wrap { width: min(1360px, calc(100% - 56px)); margin-inline: auto; }

.asa-home-hero { position: relative; min-height: 0; background: #eef6ff; }
.asa-home-slider { position: relative; width: min(1360px, calc(100% - 56px)); min-height: 0; margin-inline: auto; overflow: hidden; border-radius: 18px; }
.asa-home-slider { aspect-ratio: 16 / 9; }
.asa-home-slide { display: block; position: absolute; inset: 0; min-height: 0; opacity: 0; visibility: hidden; pointer-events: none; }
.asa-home-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.asa-home-slide .asa-home-hero-link, .asa-home-slide .asa-home-hero-visual { height: 100%; }
.asa-home-slide .asa-home-hero-image { height: 100%; min-height: 0; object-fit: contain; }
.asa-home-hero-grid { display: grid; grid-template-columns: minmax(0, 34fr) minmax(0, 66fr); gap: 28px; align-items: center; min-height: 500px; padding-block: 44px 54px; }
.asa-home-eyebrow { display: none; }
.asa-home-eyebrow { margin: 0 0 15px; color: var(--asa-home-blue); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.asa-home-hero h1 { max-width: 650px; margin: 0; color: var(--asa-home-ink); font-size: clamp(40px, 2.5vw, 44px); font-weight: 780; line-height: 1.08; letter-spacing: -.035em; }
.asa-home-hero-subtitle { max-width: 620px; margin: 20px 0 0; color: var(--asa-home-copy); font-size: 16px; line-height: 1.7; }
.asa-home-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.asa-home-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 12px 22px; border: 1px solid var(--asa-home-blue); border-radius: 8px; color: var(--asa-home-blue); font-size: 14px; font-weight: 750; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.asa-home-btn:hover, .asa-home-btn:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(10,85,201,.18); }
.asa-home-btn.is-primary { color: #fff; background: var(--asa-home-blue); }
.asa-home-btn.is-secondary { background: rgba(255,255,255,.72); }
.asa-home-btn.is-light { min-width: 164px; color: var(--asa-home-dark); background: #fff; border-color: #fff; }
.asa-home-hero-visual { display: block; position: relative; width: 100%; min-height: 0; overflow: hidden; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.asa-home-hero-link { display: block; width: 100%; min-width: 0; }
.asa-home-hero-image { display: block; width: 100%; height: auto; min-height: 0; object-fit: cover; object-position: center; }
.asa-home-slider-dots { position: absolute; z-index: 3; left: 50%; bottom: 18px; display: flex; gap: 8px; transform: translateX(-50%); }
.asa-home-dot { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; background: transparent; cursor: pointer; }
.asa-home-dot::before { content: ''; width: 9px; height: 9px; border-radius: 99px; background: rgba(10,85,201,.45); box-shadow: 0 0 0 2px rgba(255,255,255,.85); }
.asa-home-dot.is-active::before { width: 24px; background: var(--asa-home-blue); }
.asa-home-slider .asa-home-dot:hover, .asa-home-slider .asa-home-dot:focus, .asa-home-slider .asa-home-dot:active { background: transparent; border: 0; padding: 0; }
.asa-home-dot:focus-visible { outline: 2px solid var(--asa-home-blue); outline-offset: -2px; }
.asa-home-slider-dots { gap: 0; bottom: 0; max-width: 100%; }

.asa-home-section { padding: 34px 0; }
.asa-home-category-section { padding-top: 28px; padding-bottom: 34px; background: #f8fbff; }
.asa-home-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.asa-home-section-head h2 { margin: 0; color: var(--asa-home-ink); font-size: clamp(27px, 2.15vw, 34px); font-weight: 780; line-height: 1.2; letter-spacing: -.02em; }
.asa-home-section-head p { max-width: 780px; margin: 10px 0 0; color: var(--asa-home-copy); font-size: 16px; line-height: 1.65; }
.asa-home-section-head > a { flex: 0 0 auto; color: var(--asa-home-blue); font-size: 13px; font-weight: 750; }
.asa-home-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--asa-home-line); border-radius: var(--asa-home-radius); box-shadow: var(--asa-home-shadow); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.asa-home-card:hover, .asa-home-card:focus-visible { transform: translateY(-5px); border-color: rgba(10,85,201,.28); box-shadow: 0 22px 50px rgba(5,43,102,.13); }
.asa-home-card-body { position: relative; padding: 17px 18px 19px; }
.asa-home-card h3 { margin: 0; color: var(--asa-home-dark); font-size: 16px; font-weight: 760; line-height: 1.3; }
.asa-home-card p { margin: 7px 0 0; color: var(--asa-home-copy); font-size: 14px; line-height: 1.55; }
.asa-home-arrow { position: absolute; right: 17px; bottom: 15px; color: var(--asa-home-blue); font-size: 18px; }
.asa-home-card-cta { position: absolute; left: 18px; right: 18px; bottom: 15px; display: flex; justify-content: space-between; gap: 10px; color: var(--asa-home-blue); font-size: 14px; font-weight: 700; }
.asa-home-card-media, .asa-home-product-media, .asa-home-solution-media { overflow: hidden; background: #eef6ff; }
.asa-home-card-image { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.asa-home-card-image.is-contain { object-fit: contain; padding: 10px; }
.asa-home-card-image.is-cover { object-fit: cover; }
.asa-home-card:hover .asa-home-card-image.is-cover { transform: scale(1.025); }
.asa-home-card:hover .asa-home-card-image.is-contain { transform: translateY(-2px); }

.asa-home-category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); gap: 16px; }
.asa-home-category-card { min-height: 0; }
.asa-home-category-card .asa-home-card-media { aspect-ratio: 16 / 9; }
.asa-home-category-card .asa-home-card-body { min-height: 114px; padding-bottom: 36px; }

.asa-home-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.asa-home-product-card { min-height: 0; border-color: rgba(10, 85, 201, .16); border-radius: 18px; box-shadow: none; }
.asa-home-product-media { aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: clamp(12px, 1.2vw, 18px); background: #eef6ff; }
.asa-home-product-media .asa-home-card-image.is-contain { width: 100%; height: 100%; padding: 0; }
.asa-home-product-card .asa-home-card-body { min-height: 178px; padding: 24px 26px 52px; }
.asa-home-product-card h3 { font-size: clamp(18px, 1.35vw, 22px); line-height: 1.25; }
.asa-home-product-card p { margin-top: 10px; font-size: 16px; line-height: 1.5; }
.asa-home-product-card .asa-home-card-cta { left: 26px; right: 26px; bottom: 22px; font-size: 16px; }
.asa-home-featured-group { background: #fff; }
.asa-home-featured-group-inner { position: relative; }

.asa-home-solutions { background: linear-gradient(180deg, #fff, #f7fbff); }
.asa-home-solution-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); gap: 16px; }
.asa-home-solution-card { min-height: 0; }
.asa-home-solution-media { aspect-ratio: 16 / 9; }
.asa-home-solution-card .asa-home-card-body { min-height: 128px; padding-bottom: 38px; }

.asa-home-architecture { text-align: center; background: #f8fbff; }
.asa-home-architecture .asa-home-section-head { display: block; }
.asa-home-architecture-card { overflow: hidden; padding: 12px; background: #fff; border: 1px solid var(--asa-home-line); border-radius: 20px; box-shadow: var(--asa-home-shadow); }
.asa-home-architecture-image { display: block; width: 100%; max-height: 560px; object-fit: contain; border-radius: 13px; }

.asa-home-advantage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.asa-home-advantage-card { min-height: 188px; padding: 24px; }
.asa-home-advantage-card .dashicons { width: 44px; height: 44px; color: var(--asa-home-blue); font-size: 44px; }
.asa-home-advantage-card h3 { margin-top: 18px; }

.asa-home-resource-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.asa-home-resource-card { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 16px; min-height: 150px; padding: 24px 52px 24px 24px; align-items: start; }
.asa-home-resource-card .dashicons { width: 54px; height: 54px; color: var(--asa-home-blue); font-size: 54px; }

.asa-home-cta-section { padding-top: 30px; padding-bottom: 42px; }
.asa-home-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 36px 40px; color: #fff; background: radial-gradient(circle at 70% 50%, rgba(52,134,255,.28), transparent 28%), linear-gradient(125deg, #0758c9, #052b66 75%); border-radius: 14px; box-shadow: 0 16px 40px rgba(5,43,102,.18); }
.asa-home-cta h2 { margin: 0; color: #fff; font-size: clamp(28px, 2.65vw, 38px); font-weight: 780; letter-spacing: -.025em; }
.asa-home-cta p { margin: 8px 0 0; color: rgba(255,255,255,.82); font-size: 14px; }

@keyframes asaHomeFade { from { opacity: .2; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (min-width: 1201px) {
    .asa-home-hero h1 { white-space: nowrap; }
}

@media (max-width: 1100px) {
    .asa-home-slider { width: min(1100px, calc(100% - 48px)); }
    .asa-home-wrap { width: min(100% - 48px, 1100px); }
    .asa-home-hero-grid { grid-template-columns: minmax(0, 34fr) minmax(0, 66fr); gap: 24px; }
    .asa-home-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .asa-home-hero h1 { font-size: clamp(38px, 4.6vw, 48px); }
}

@media (max-width: 820px) {
    .asa-home-slider { width: calc(100% - 36px); }
    .asa-home-wrap { width: calc(100% - 36px); }
    .asa-home-hero, .asa-home-slider, .asa-home-slide { min-height: 0; }
    .asa-home-hero-grid { grid-template-columns: 1fr; gap: 28px; padding-block: 42px 68px; }
    .asa-home-hero-copy { order: 1; }
    .asa-home-hero-visual { order: 2; min-height: 320px; }
    .asa-home-hero-image { min-height: 320px; }
    .asa-home-section { padding: 32px 0; }
    .asa-home-category-grid, .asa-home-solution-grid, .asa-home-advantage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .asa-home-cta { align-items: flex-start; flex-direction: column; padding: 34px; }
}

@media (max-width: 767px) {
    .asa-home-slider { width: calc(100% - 28px); border-radius: 14px; }
    .asa-home-wrap { width: calc(100% - 28px); }
    .asa-home-hero-grid { padding-block: 34px 62px; }
    .asa-home-eyebrow { margin-bottom: 14px; font-size: 11px; }
    .asa-home-hero h1 { font-size: clamp(34px, 9.7vw, 42px); line-height: 1.08; }
    .asa-home-hero-subtitle { margin-top: 18px; font-size: 16px; line-height: 1.65; }
    .asa-home-hero-actions { display: grid; grid-template-columns: 1fr; margin-top: 25px; }
    .asa-home-btn { width: 100%; }
    .asa-home-hero-visual, .asa-home-hero-image { min-height: 0; }
    .asa-home-section-head { align-items: flex-start; flex-direction: column; gap: 12px; }
    .asa-home-section-head h2 { font-size: 27px; }
    .asa-home-category-grid, .asa-home-product-grid, .asa-home-solution-grid, .asa-home-advantage-grid, .asa-home-resource-grid { grid-template-columns: 1fr; }
    .asa-home-category-card, .asa-home-product-card, .asa-home-solution-card { min-height: 0; }
    .asa-home-product-media { aspect-ratio: 4 / 3; }
    .asa-home-product-card .asa-home-card-body { min-height: 160px; padding: 22px 22px 50px; }
    .asa-home-product-card .asa-home-card-cta { left: 22px; right: 22px; }
    .asa-home-solution-media { aspect-ratio: 16 / 9; }
    .asa-home-advantage-card { min-height: 0; }
    .asa-home-cta { padding: 30px 24px; border-radius: 16px; }
    .asa-home-cta .asa-home-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .asa-home-slide { transition: none; }
    .asa-home-card, .asa-home-card-image, .asa-home-btn { transition: none; }
}
