/* Moved out of style.css; enqueued right after it by artinfo_enqueue_section_styles()
   in inc/core/enqueue.php, so the cascade order is unchanged. */

/* ============================================================
   SERVICE V2 (templates/service-v2.php)
   Promotion packages page. Scoped with the `ails-` prefix; colour
   tokens come from ail-ui.css (--ail-*) with literal fallbacks.
   ============================================================ */

.ails {
    --ails-black: var(--ail-black, #141414);
    --ails-yellow: var(--ail-yellow, #FFBB00);
    --ails-yellow-dark: var(--ail-yellow-dark, #DE9E00);
    --ails-bg: var(--ail-bg, #F6F6F3);
    --ails-white: var(--ail-white, #FFFFFF);
    --ails-ink: var(--ail-ink, #161616);
    --ails-muted: var(--ail-muted, #6B6B6B);
    --ails-muted-2: var(--ail-muted-2, #9A9A9A);
    --ails-line: var(--ail-line, #E7E5DF);
    --ails-calm-bg: var(--ail-calm-bg, #F1F0EC);
    --ails-shadow: var(--ail-shadow, 0 12px 28px -16px rgba(20, 20, 20, .18));
    --ails-shadow-hover: var(--ail-shadow-hover, 0 20px 40px -18px rgba(20, 20, 20, .28));
    --ails-font: var(--ail-font, 'Inter', 'Poppins', sans-serif);
    --ails-display: var(--ail-display, 'Plus Jakarta Sans', 'Poppins', sans-serif);

    background: var(--ails-white);
    color: var(--ails-ink);
    font-family: var(--ails-font);
    line-height: 1.55;
}

.ails h1,
.ails h2,
.ails h3 {
    font-family: var(--ails-display);
    margin: 0;
}

.ails p {
    margin: 0;
}

.ails a {
    text-decoration: none;
    color: inherit;
}

.ails .ails-wrap {
    max-width: 1180px;
}

@media (prefers-reduced-motion: reduce) {
    .ails * {
        animation: none !important;
        transition: none !important;
    }
}

/* ---------- HERO ---------- */
.ails-hero {
    background: var(--ails-black);
    color: var(--ails-white);
    padding: 64px 0 66px;
    text-align: center;
}

.ails-hero-eyebrow {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, .3);
    color: var(--ails-white);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.ails-hero h1 {
    font-size: clamp(30px, 4.6vw, 46px);
    font-weight: 800;
    line-height: 1.16;
    margin: 0 auto 18px;
    max-width: 720px;
}

.ails .ails-accent {
    color: var(--ails-yellow);
}

.ails-hero-sub {
    font-size: 15.5px;
    color: rgba(255, 255, 255, .65);
    max-width: 540px;
    margin: 0 auto 30px!important;
}

.ails .ails-btn-yellow {
    display: inline-block;
    background: var(--ails-yellow);
    color: var(--ails-black);
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 14.5px;
    font-weight: 700;
    border: none;
    transition: .2s;
}

.ails .ails-btn-yellow:hover {
    background: var(--ails-yellow-dark);
}

/* ---------- STATS ---------- */
.ails-stats {
    background: var(--ails-bg);
    border-bottom: 1px solid var(--ails-line);
}

.ails-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-top: 34px;
    padding-bottom: 34px;
}

.ails-stat {
    text-align: center;
    border-left: 1px solid var(--ails-line);
    padding: 0 12px;
}

.ails-stat:first-child {
    border-left: none;
}

.ails-stat-num {
    font-family: var(--ails-display);
    font-weight: 800;
    font-size: 27px;
}

.ails-stat-lbl {
    font-size: 11.5px;
    color: var(--ails-muted);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-top: 5px;
    font-weight: 600;
}

@media (max-width: 700px) {
    .ails-stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ails-stat {
        border-left: none;
        border-top: 1px solid var(--ails-line);
        padding-top: 16px;
    }

    .ails-stat:first-child {
        border-top: none;
        padding-top: 0;
    }
}

/* ---------- PACKAGES ---------- */
.ails-packages {
    padding: 70px 0 20px;
}

.ails-packages .ails-section-head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 44px;
}

.ails-packages .ails-section-head h2 {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 800;
    margin-bottom: 10px;
}

.ails-packages .ails-section-head p {
    font-size: 14.5px;
    color: var(--ails-muted);
}

.ails-pkg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

@media (max-width: 991px) {
    .ails-pkg-grid {
        grid-template-columns: 1fr;
    }
}

.ails-pkg-card {
    background: var(--ails-white);
    border: 1.5px solid var(--ails-line);
    border-radius: 16px;
    padding: 28px 26px;
    box-shadow: var(--ails-shadow);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ails-pkg-highlight {
    border-color: var(--ails-black);
    border-width: 2px;
    box-shadow: var(--ails-shadow-hover);
}

.ails-pkg-flag {
    position: absolute;
    top: -1px;
    right: -1px;
    background: var(--ails-yellow);
    color: var(--ails-black);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 0 0 0 10px;
}

.ails-pkg-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: var(--ails-calm-bg);
    border: 1px solid var(--ails-line);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.ails-pkg-icon svg {
    width: 20px;
    height: 20px;
    color: var(--ails-ink);
}

/* mini preview strips */
.ails-preview {
    border: 1px solid var(--ails-line);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 16px;
    background: var(--ails-bg);
}

.ails-preview-carousel {
    display: flex;
    gap: 5px;
}

.ails-preview-carousel div {
    flex: 1;
    height: 34px;
    border-radius: 5px;
    background: var(--ails-white);
    border: 1px solid var(--ails-line);
}

.ails-preview-dots {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-top: 8px;
}

.ails-preview-dots span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ails-line);
}

.ails-preview-dots span:first-child {
    background: var(--ails-yellow-dark);
}

.ails-preview-article .ails-pl {
    height: 8px;
    background: var(--ails-white);
    border: 1px solid var(--ails-line);
    border-radius: 3px;
    margin-bottom: 6px;
}

.ails-preview-article .ails-pl:first-child {
    width: 60%;
    height: 10px;
}

.ails-preview-article .ails-pl:last-child {
    margin-bottom: 0;
    width: 80%;
}

.ails-preview-mail {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ails-preview-mail svg {
    width: 26px;
    height: 26px;
    color: var(--ails-muted-2);
    flex-shrink: 0;
}

.ails-pm-lines {
    flex: 1;
}

.ails-preview-mail .ails-pl {
    height: 7px;
    background: var(--ails-white);
    border: 1px solid var(--ails-line);
    border-radius: 3px;
    margin-bottom: 5px;
    width: 100%;
}

.ails-preview-mail .ails-pl:last-child {
    margin-bottom: 0;
    width: 65%;
}

.ails-pkg-card h3 {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 8px;
}

.ails-pkg-desc {
    font-size: 13.5px;
    color: var(--ails-muted);
    margin-bottom: 16px;
}

.ails-pkg-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 0 0 20px;
    flex: 1;
}

.ails-pkg-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13.5px;
    color: var(--ails-ink);
}

.ails-pkg-list svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--ails-yellow-dark);
}

.ails-pkg-note {
    font-size: 12px;
    color: var(--ails-muted-2);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ails-pkg-note svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.ails-pkg-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.ails-pkg-price {
    font-family: var(--ails-display);
    font-weight: 800;
    font-size: 26px;
}

.ails .ails-pkg-cta {
    background: var(--ails-black);
    color: var(--ails-white);
    border: none;
    padding: 12px 20px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 700;
    transition: .2s;
    white-space: nowrap;
    display: inline-block;
}

.ails .ails-pkg-cta:hover {
    background: var(--ails-yellow);
    color: var(--ails-black);
}

/* ---------- BUNDLE ---------- */
.ails-bundle {
    padding: 36px 0 70px;
}

.ails-bundle-card {
    background: var(--ails-black);
    color: var(--ails-white);
    border-radius: 18px;
    padding: 38px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.ails-bundle-flag {
    position: absolute;
    top: 0;
    right: 24px;
    background: var(--ails-yellow);
    color: var(--ails-black);
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 6px 14px;
    border-radius: 0 0 8px 8px;
}

.ails-bundle-left h3 {
    font-size: 23px;
    font-weight: 800;
    margin-bottom: 8px;
}

.ails-bundle-left p {
    font-size: 14px;
    color: rgba(255, 255, 255, .65);
    max-width: 440px;
}

.ails-bundle-services {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.ails-bundle-tag {
    font-size: 12px;
    font-weight: 600;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    padding: 5px 12px;
    border-radius: 14px;
}

.ails-bundle-right {
    text-align: right;
    flex-shrink: 0;
}

.ails-bundle-was {
    font-size: 13px;
    color: rgba(255, 255, 255, .5);
    text-decoration: line-through;
}

.ails-bundle-now {
    font-family: var(--ails-display);
    font-weight: 800;
    font-size: 34px;
    color: var(--ails-yellow);
}

.ails-bundle-save {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .6);
    margin-bottom: 14px;
}

.ails .ails-bundle-cta {
    display: inline-block;
    background: var(--ails-yellow);
    color: var(--ails-black);
    padding: 13px 26px;
    border-radius: 9px;
    font-weight: 700;
    font-size: 14px;
    border: none;
    transition: .2s;
}

.ails .ails-bundle-cta:hover {
    background: var(--ails-white);
}

@media (max-width: 767px) {
    .ails-bundle-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 32px 24px;
    }

    .ails-bundle-right {
        text-align: left;
    }
}

/* ---------- CUSTOM CTA ---------- */
.ails-custom-cta {
    background: var(--ails-yellow);
    padding: 56px 0;
    text-align: center;
}

.ails-custom-cta h2 {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 800;
    margin-bottom: 10px;
}

.ails-custom-cta p {
    font-size: 14.5px;
    color: rgba(20, 20, 20, .72);
    margin-bottom: 24px;
}

.ails-custom-cta a,
.ails-custom-cta button {
    display: inline-block;
    background: var(--ails-black);
    color: var(--ails-white);
    padding: 14px 28px;
    border-radius: 9px;
    font-weight: 700;
    font-size: 14px;
    border: none;
    transition: .2s;
}

.ails-custom-cta a:hover,
.ails-custom-cta button:hover {
    background: var(--ails-white);
    color: var(--ails-black);
}
