/* ── Tailor-Made Story: Editorial Redesign ──────────────── */

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

.jacana-tms-section::before {
    content: "";
    position: absolute;
    top: -10%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(219, 151, 81, 0.08), transparent 70%);
    pointer-events: none;
}

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

/* ── Asymmetric Layout ──────────────────────────────────── */
.jacana-tms-grid {
    display: grid;
    grid-template-columns: 42% 58%;
    gap: 80px;
    align-items: center;
}

/* ── Editorial Content ──────────────────────────────────── */
.jacana-tms-content {
    display: flex;
    flex-direction: column;
}

.jacana-tms-kicker {
    font-size: 24px;
    color: var(--jacana-dunes, #db9751);
    margin-bottom: 16px;
    line-height: 1;
}

.jacana-tms-heading {
    font-family: "Cormorant Garamond", "Palatino Linotype", serif;
    font-size: clamp(32px, 4vw, 56px);
    line-height: 1.05;
    color: var(--jacana-earth, #2d2416);
    margin: 0 0 28px;
    letter-spacing: -0.01em;
}

.jacana-tms-body {
    font-size: 18px;
    line-height: 1.75;
    color: rgba(45, 36, 22, 0.78);
    margin: 0 0 42px;
}

.jacana-tms-body p { margin-bottom: 20px; }
.jacana-tms-body p:last-child { margin-bottom: 0; }

.jacana-tms-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--jacana-dunes, #db9751), #c07a30);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 2px;
    align-self: flex-start;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 8px 24px rgba(192, 122, 48, 0.22);
}

.jacana-tms-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(192, 122, 48, 0.32);
    letter-spacing: 0.18em;
}

.jacana-tms-arrow {
    transition: transform 0.4s ease;
}

.jacana-tms-cta:hover .jacana-tms-arrow {
    transform: translateX(6px);
}

/* ── Visual Cluster (Overlapping Frames) ────────────────── */
.jacana-tms-visual-cluster {
    position: relative;
    height: 640px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(12, 1fr);
}

.jacana-tms-visual-main {
    grid-column: 1 / 10;
    grid-row: 2 / 11;
    z-index: 1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(45, 36, 22, 0.15);
}

.jacana-tms-visual-detail {
    grid-column: 7 / 13;
    grid-row: 1 / 7;
    z-index: 2;
    border-radius: 20px;
    overflow: hidden;
    border: 8px solid var(--jacana-savannah, #fffae4);
    box-shadow: 0 20px 40px rgba(45, 36, 22, 0.12);
    transform: translateY(-20px);
}

.jacana-tms-visual-lifestyle {
    grid-column: 8 / 12;
    grid-row: 7 / 12;
    z-index: 3;
    border-radius: 16px;
    overflow: hidden;
    border: 6px solid var(--jacana-savannah, #fffae4);
    box-shadow: 0 15px 30px rgba(45, 36, 22, 0.1);
    transform: translate(20px, 30px);
}

.jacana-tms-visual-cluster img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.jacana-tms-visual-cluster div:hover img {
    transform: scale(1.05);
}

/* ── Floating Feature Tags ──────────────────────────────── */
.jacana-tms-feature-tags {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
}

.jacana-tms-tag {
    position: absolute;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 14px 18px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 12px 30px rgba(45, 36, 22, 0.08);
    pointer-events: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 260px;
}

.jacana-tms-tag:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(45, 36, 22, 0.12);
    background: #fff;
}

.jacana-tms-tag:nth-child(1) { top: 15%; left: -10%; }
.jacana-tms-tag:nth-child(2) { bottom: 15%; right: -5%; }
.jacana-tms-tag:nth-child(3) { bottom: -5%; left: 20%; }

.jacana-tms-tag-bullet {
    width: 8px;
    height: 8px;
    background: var(--jacana-dunes, #db9751);
    border-radius: 50%;
    flex-shrink: 0;
}

.jacana-tms-tag-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.jacana-tms-tag-text strong {
    font-size: 13px;
    color: var(--jacana-earth, #2d2416);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.jacana-tms-tag-text span {
    font-size: 11px;
    line-height: 1.4;
    color: rgba(45, 36, 22, 0.6);
}

/* ── Trust Strip ────────────────────────────────────────── */
.jacana-tms-trust {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 100px;
}

.jacana-tms-trust-rule {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(219, 151, 81, 0.3), transparent);
}

.jacana-tms-trust p {
    font-family: "Cormorant Garamond", "Palatino Linotype", serif;
    font-style: italic;
    font-size: 20px;
    line-height: 1.4;
    color: rgba(45, 36, 22, 0.7);
    margin: 0;
    max-width: 600px;
    text-align: center;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
    .jacana-tms-grid { gap: 40px; }
    .jacana-tms-tag:nth-child(1) { left: 0; }
    .jacana-tms-tag:nth-child(2) { right: 0; }
}

@media (max-width: 960px) {
    .jacana-tms-grid {
        grid-template-columns: 1fr;
        gap: 64px;
    }

    .jacana-tms-content { text-align: center; align-items: center; }
    .jacana-tms-body { max-width: 640px; }
    .jacana-tms-cta { align-self: center; }

    .jacana-tms-visual-cluster { max-width: 600px; margin: 0 auto; }
}

@media (max-width: 640px) {
    .jacana-tms-section { padding: 80px 0 90px; }
    .jacana-tms-visual-cluster { height: 480px; }
    .jacana-tms-tag { 
        padding: 10px 14px; 
        gap: 10px;
        max-width: 200px;
    }
    .jacana-tms-tag:nth-child(3) { bottom: 0; left: 10%; }
    .jacana-tms-trust { margin-top: 64px; gap: 16px; }
    .jacana-tms-trust p { font-size: 16px; }
}
