/* ── Main Services Grid — premium card layout ─────────────── */

.jacana-msg-section {
    background: var(--jacana-savannah, #fffae4);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.jacana-msg-section::before {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(219, 151, 81, 0.09), transparent 70%);
    pointer-events: none;
}

.jacana-msg-section::after {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(157, 203, 223, 0.1), transparent 70%);
    pointer-events: none;
}

.jacana-msg-inner {
    max-width: var(--max-width, 1180px);
    margin: 0 auto;
    padding: 0 var(--content-pad, 40px);
    position: relative;
    z-index: 1;
}

/* ── Section header ──────────────────────────────────────── */
.jacana-msg-header {
    text-align: center;
    margin-bottom: 64px;
}

.jacana-msg-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.34em;
    font-size: 10px;
    font-weight: 700;
    color: var(--jacana-dunes, #db9751);
    margin-bottom: 16px;
}

.jacana-msg-kicker::before,
.jacana-msg-kicker::after {
    content: "";
    display: block;
    width: 22px;
    height: 1px;
    background: var(--jacana-dunes, #db9751);
    flex-shrink: 0;
}

.jacana-msg-header h2 {
    color: var(--jacana-earth, #2d2416);
    font-size: clamp(28px, 3.2vw, 46px);
    line-height: 1.1;
    margin-bottom: 16px;
}

.jacana-msg-intro {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(45, 36, 22, 0.62);
    max-width: 560px;
    margin: 0 auto;
}

/* ── Grid ────────────────────────────────────────────────── */
.jacana-msg-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* ── Card ────────────────────────────────────────────────── */
.jacana-msg-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(45, 36, 22, 0.08);
    box-shadow: 0 4px 24px rgba(45, 36, 22, 0.07);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.32s ease, transform 0.32s ease;
}

.jacana-msg-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 48px rgba(45, 36, 22, 0.13);
}

/* ── Image ───────────────────────────────────────────────── */
.jacana-msg-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 8;
    flex-shrink: 0;
}

.jacana-msg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.55s ease, filter 0.4s ease;
    filter: saturate(0.9) brightness(0.97);
}

.jacana-msg-card:hover .jacana-msg-image {
    transform: scale(1.04);
    filter: saturate(1.0) brightness(1.0);
}

.jacana-msg-image-stripe {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        var(--oshi-pink, #e6007e)      0px, var(--oshi-pink, #e6007e)      7px,
        var(--oshi-black, #000)         7px, var(--oshi-black, #000)         9px,
        var(--oshi-red, #cc0000)        9px, var(--oshi-red, #cc0000)       14px,
        var(--oshi-dark-pink, #800040) 14px, var(--oshi-dark-pink, #800040) 18px,
        var(--oshi-black, #000)        18px, var(--oshi-black, #000)        20px
    );
    opacity: 0;
    transform: scaleX(0.94);
    transition: opacity 0.32s ease, transform 0.32s ease;
    z-index: 2;
}

.jacana-msg-card:hover .jacana-msg-image-stripe {
    opacity: 1;
    transform: scaleX(1);
}

/* ── Body ────────────────────────────────────────────────── */
.jacana-msg-body {
    padding: 32px 32px 36px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* ── Top row: numeral + badge ────────────────────────────── */
.jacana-msg-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 14px;
}

.jacana-msg-numeral {
    font-family: "Cormorant Garamond", "Cormorant", Georgia, serif;
    font-size: 52px;
    font-style: italic;
    font-weight: 300;
    color: rgba(219, 151, 81, 0.2);
    line-height: 1;
    letter-spacing: -0.02em;
    transition: color 0.32s ease;
}

.jacana-msg-card:hover .jacana-msg-numeral {
    color: rgba(219, 151, 81, 0.38);
}

.jacana-msg-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: rgba(157, 203, 223, 0.18);
    color: #4a7a93;
    border: 1px solid rgba(157, 203, 223, 0.4);
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 6px;
}

/* ── Title ───────────────────────────────────────────────── */
.jacana-msg-title {
    font-size: clamp(17px, 1.6vw, 21px);
    font-weight: 700;
    color: var(--jacana-earth, #2d2416);
    line-height: 1.25;
    margin: 0;
}

.jacana-msg-title::after {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    background: var(--jacana-dunes, #db9751);
    margin-top: 12px;
    border-radius: 1px;
    transition: width 0.32s ease;
}

.jacana-msg-card:hover .jacana-msg-title::after {
    width: 48px;
}

/* ── Description ─────────────────────────────────────────── */
.jacana-msg-description {
    font-size: 14.5px;
    line-height: 1.7;
    color: rgba(45, 36, 22, 0.68);
    margin: 16px 0 0;
}

/* ── Features ────────────────────────────────────────────── */
.jacana-msg-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.jacana-msg-features li {
    position: relative;
    padding-left: 18px;
    font-size: 13px;
    color: rgba(45, 36, 22, 0.76);
    line-height: 1.45;
}

.jacana-msg-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--jacana-dunes, #db9751);
    opacity: 0.7;
}

/* ── Actions ─────────────────────────────────────────────── */
.jacana-msg-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 24px;
}

/* Primary CTA */
.jacana-msg-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 8px;
    background: linear-gradient(130deg, var(--jacana-dunes, #db9751) 0%, #c07a30 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(219, 151, 81, 0.28);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
    white-space: nowrap;
}

.jacana-msg-cta:hover {
    transform: translateY(-2px);
    background: linear-gradient(130deg, #e8a45e 0%, #cc8535 100%);
    box-shadow: 0 8px 24px rgba(219, 151, 81, 0.4);
    color: #fff;
}

.jacana-msg-cta:focus-visible {
    outline: 3px solid var(--jacana-sky, #9dcbdf);
    outline-offset: 3px;
}

.jacana-msg-arrow {
    transition: transform 0.22s ease;
    display: inline-block;
}

.jacana-msg-cta:hover .jacana-msg-arrow {
    transform: translateX(4px);
}

/* Chat CTA */
.jacana-msg-chat {
    background: none;
    border: 1.5px solid rgba(45, 36, 22, 0.18);
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(45, 36, 22, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: border-color 0.22s ease, color 0.22s ease, background 0.22s ease;
    white-space: nowrap;
    font-family: inherit;
}

.jacana-msg-chat:hover {
    border-color: var(--jacana-dunes, #db9751);
    color: var(--jacana-earth, #2d2416);
    background: rgba(219, 151, 81, 0.06);
}

.jacana-msg-chat:focus-visible {
    outline: 3px solid var(--jacana-sky, #9dcbdf);
    outline-offset: 3px;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 960px) {
    .jacana-msg-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 540px) {
    .jacana-msg-section { padding: 72px 0; }
    .jacana-msg-header { margin-bottom: 48px; }
    .jacana-msg-body { padding: 24px 20px 28px; }
    .jacana-msg-numeral { font-size: 40px; }
    .jacana-msg-actions { flex-direction: column; align-items: stretch; }
    .jacana-msg-cta { justify-content: center; }
    .jacana-msg-chat { text-align: center; }
}
