
/* ==========================================================
   TATTVIKASETU - PREMIUM SERVICE PACKAGES
   Homepage Cards + Package Details Page
   ========================================================== */

:root {
    --sp-navy: #15364c;
    --sp-navy-dark: #102d41;
    --sp-gold: #c78329;
    --sp-text: #17384f;
    --sp-muted: #647b8f;
    --sp-bg: #f6f8fa;
    --sp-border: #e6ebef;
}

/* ==========================================================
   1. HOMEPAGE PACKAGE SECTION
   ========================================================== */

.sp-section {
    padding: 90px 0;
    background: #f7f9fb;
}

.sp-section-head {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 45px;
}

.sp-eyebrow {
    display: block;
    color: var(--sp-gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.sp-section-head h2 {
    color: var(--sp-navy);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 15px;
}

.sp-section-head p {
    color: var(--sp-muted);
    font-size: 17px;
    line-height: 1.7;
}

/* ==========================================================
   2. THREE-COLUMN PACKAGE GRID
   ========================================================== */

.sp-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
    padding: 16px;
    background: #f0f3f6;
    border-radius: 25px;
}

/* ==========================================================
   3. PREMIUM PACKAGE CARD
   ========================================================== */

.sp-card {
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;

    background: #ffffff;
    border: 1px solid transparent;
    border-radius: 19px;

    box-shadow: 0 5px 20px rgba(15, 45, 65, 0.025);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.sp-card:hover {
    transform: translateY(-6px);
    border-color: #e5d0b2;
    box-shadow: 0 20px 42px rgba(15, 45, 65, 0.12);
}

/* ==========================================================
   4. PACKAGE IMAGE
   ========================================================== */

.sp-card-image {
    display: block;
    position: relative;
    height: 235px;
    margin: 10px 10px 0;
    overflow: hidden;
    border-radius: 17px;
    background: #e8eef2;
}

.sp-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sp-card:hover .sp-card-image img {
    transform: scale(1.045);
}

.sp-image-placeholder {
    height: 100%;
    display: grid;
    place-items: center;
    background: var(--sp-navy);
    color: #e7bd77;
    font-weight: 700;
    letter-spacing: 2px;
}

/* ==========================================================
   5. CARD CONTENT
   ========================================================== */

.sp-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    padding: 19px 18px 20px;
}

/* Package number */
.sp-card-kicker {
    display: block;
    margin-bottom: 12px;

    color: var(--sp-gold);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

/* Package title */
.sp-card h3 {
    color: var(--sp-navy);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.4;
    margin: 0 0 12px;
    overflow-wrap: break-word;
}

.sp-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

.sp-card h3 a:hover {
    color: var(--sp-gold);
}

/* Package subtitle - add this class in PHP markup */
.sp-card-subtitle {
    color: var(--sp-gold);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 16px;
}

/* Description */
.sp-card p {
    color: var(--sp-muted);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;
    margin: 0 0 14px;
}

/* Optional specific class for description */
.sp-card-description {
    border-top: 1px solid var(--sp-border);
    padding-top: 20px;
    margin-top: 3px;
}

/* ==========================================================
   6. DURATION / ENGAGEMENT HIGHLIGHT
   ========================================================== */

/*
   Supports new markup:
   .sp-card-duration
   .sp-card-duration-label
   .sp-card-duration-value
*/

.sp-card-duration {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;

    padding: 15px 13px;
    margin-top: auto;
    margin-bottom: 12px;

    background: #f1f4f6;
    border-radius: 12px;
}

.sp-card-duration-label {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #6b8093;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.sp-card-duration-label i,
.sp-card-duration-label svg {
    color: var(--sp-gold);
    font-size: 17px;
}

.sp-card-duration-value {
    color: var(--sp-navy);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

/* ==========================================================
   7. CARD FOOTER / CALL TO ACTION
   ========================================================== */

/*
   Existing markup:
   .sp-card-footer > span + a

   The duration text becomes a highlighted panel.
   The link becomes a full-width navy CTA.
*/

.sp-card-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;

    margin-top: auto;
    padding-top: 0;
    border-top: none;
}

/* Existing duration span */
.sp-card-footer > span {
    display: block;
    width: 100%;

    padding: 17px 15px;
    border-radius: 12px;
    background: #f1f4f6;

    color: var(--sp-navy);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.55;
}

/* CTA button */
.sp-card-footer > a,
.sp-card-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;

    width: 100%;
    min-height: 55px;
    padding: 15px 16px;

    border-radius: 11px;
    border: 1px solid var(--sp-navy);
    background: var(--sp-navy);

    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.sp-card-footer > a:hover,
.sp-card-cta:hover {
    background: var(--sp-gold);
    border-color: var(--sp-gold);
    color: #ffffff !important;
}

.sp-card-footer > a i,
.sp-card-cta i {
    transition: transform 0.25s ease;
}

.sp-card-footer > a:hover i,
.sp-card-cta:hover i {
    transform: translate(3px, -3px);
}

/* ==========================================================
   8. EMPTY STATE
   ========================================================== */

.sp-empty {
    text-align: center;
    padding: 45px 20px;
    color: var(--sp-muted);
}

/* ==========================================================
   9. PACKAGE LISTING / PAGE HERO
   ========================================================== */

.sp-page-hero {
    background: var(--sp-navy);
    padding: 125px 0 70px;
    color: #ffffff;
}

.sp-page-hero h1 {
    color: #ffffff;
    font-size: clamp(36px, 5vw, 58px);
}

.sp-page-hero p {
    color: #d6e0e7;
}

/* ==========================================================
   10. PACKAGE DETAILS HERO
   ========================================================== */

.sp-detail-hero {
    background: #133449;
    color: #ffffff;
    padding: 120px 0 65px;
}

.sp-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
}

.sp-detail-hero h1 {
    color: #ffffff;
    font-size: clamp(36px, 4.6vw, 60px);
    line-height: 1.12;
    margin: 18px 0;
}

.sp-detail-hero p {
    color: #e1eaf0;
    line-height: 1.75;
}

.sp-subtitle {
    font-size: 22px !important;
}

.sp-breadcrumb {
    font-size: 13px;
    color: #cbd8e0;
    margin-bottom: 36px;
}

.sp-breadcrumb a {
    color: #f0c486;
}

.sp-hero-photo {
    aspect-ratio: 5 / 4;
    background: #204c62;
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: #e8bd7d;
    font-size: 28px;
}

.sp-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    padding: 15px 24px;
    margin-top: 18px;

    background: #d8973d;
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: none;
    border-radius: 7px;
}

.sp-btn:hover {
    background: #bd7d29;
}

/* ==========================================================
   11. PACKAGE DETAILS CONTENT
   ========================================================== */

.sp-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 34px;
    padding-top: 70px;
    padding-bottom: 90px;
}

.sp-panel {
    background: #ffffff;
    border: 1px solid #e8edf1;
    border-radius: 16px;
    padding: 36px;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(20, 51, 74, 0.04);
}

.sp-panel h2 {
    color: var(--sp-navy);
    font-size: clamp(25px, 3vw, 34px);
    margin-bottom: 20px;
}

.sp-panel p,
.sp-rich {
    line-height: 1.8;
    color: #576b79;
    overflow-wrap: anywhere;
}

.sp-rich ul,
.sp-rich ol {
    padding-left: 22px;
}

.sp-rich li {
    margin-bottom: 9px;
}

/* ==========================================================
   12. PACKAGE BENEFITS
   ========================================================== */

.sp-benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.sp-benefit {
    background: #f7f9fb;
    border: 1px solid #e9edf1;
    border-radius: 12px;
    padding: 24px;
}

.sp-benefit-number {
    font-size: 13px;
    font-weight: 800;
    color: #ca8c38;
}

.sp-benefit h3 {
    font-size: 19px;
    color: var(--sp-navy);
    margin: 12px 0;
}

.sp-benefit .sp-rich {
    font-size: 15px;
}

/* ==========================================================
   13. DETAILS SIDEBAR
   ========================================================== */

.sp-detail-aside {
    align-self: start;
    position: sticky;
    top: 100px;
}

.sp-aside-card {
    background: #f6f8fa;
    border: 1px solid #e4ebef;
    border-radius: 16px;
    padding: 30px;
}

.sp-aside-card h2 {
    font-size: 26px;
    color: var(--sp-navy);
}

.sp-aside-card p {
    line-height: 1.7;
}

.sp-back {
    display: block;
    margin-top: 25px;
    color: #17384c;
    font-weight: 700;
}

.sp-secondary-image {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

/* ==========================================================
   14. PACKAGE HEADER DROPDOWN
   ========================================================== */

.sp-nav-item > ul {
    max-height: min(65vh, 540px);
    overflow-y: auto;
}

.sp-nav-item > ul a {
    white-space: normal !important;
}

/* ==========================================================
   15. ACCESSIBILITY
   ========================================================== */

.sp-page a:focus-visible,
.sp-section a:focus-visible,
.sp-nav-item a:focus-visible {
    outline: 3px solid #d8973d;
    outline-offset: 3px;
}

/* ==========================================================
   16. RESPONSIVE - TABLET
   ========================================================== */

@media (max-width: 991px) {

    .sp-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .sp-hero-grid,
    .sp-detail-layout {
        grid-template-columns: 1fr;
    }

    .sp-detail-aside {
        position: static;
    }

    .sp-detail-hero {
        padding-top: 100px;
    }

    .sp-card-image {
        height: 230px;
    }
}

/* ==========================================================
   17. RESPONSIVE - MOBILE
   ========================================================== */

@media (max-width: 640px) {

    .sp-section {
        padding: 60px 0;
    }

    .sp-section-head {
        margin-bottom: 30px;
    }

    .sp-grid,
    .sp-benefit-grid {
        grid-template-columns: 1fr;
    }

    .sp-grid {
        padding: 10px;
        gap: 15px;
        border-radius: 17px;
    }

    .sp-card {
        border-radius: 15px;
    }

    .sp-card-image {
        height: 220px;
        margin: 8px 8px 0;
        border-radius: 12px;
    }

    .sp-card-body {
        padding: 20px;
    }

    .sp-card h3 {
        font-size: 21px;
    }

    .sp-card-subtitle {
        font-size: 15px;
    }

    .sp-panel {
        padding: 23px;
    }

    .sp-detail-layout {
        padding-top: 35px;
        padding-bottom: 50px;
    }

    .sp-detail-hero {
        padding: 90px 0 45px;
    }

    .sp-hero-grid {
        gap: 25px;
    }

    .sp-breadcrumb {
        margin-bottom: 20px;
    }

    .sp-nav-item > ul {
        max-height: 60vh;
    }
}

/* ==========================================================
   18. REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
    .sp-card,
    .sp-card-image img,
    .sp-card-footer > a,
    .sp-card-cta {
        transition: none;
    }

    .sp-card:hover {
        transform: none;
    }

    .sp-card:hover .sp-card-image img {
        transform: none;
    }
}


/* ==========================================================
   TATTVIKASETU — PREMIUM PACKAGE DETAILS
   ========================================================== */

.sp-detail-premium {
    --sp-navy: #14344a;
    --sp-navy-deep: #102c40;
    --sp-gold: #d49a49;
    --sp-gold-dark: #bd7e2a;
    --sp-text: #17384d;
    --sp-muted: #697d8e;
    --sp-border: #e5eaee;
    --sp-bg: #f6f8fa;

    color: var(--sp-text);
    overflow: clip;
}

.sp-detail-premium *,
.sp-detail-premium *::before,
.sp-detail-premium *::after {
    box-sizing: border-box;
}

.sp-detail-premium a {
    text-decoration: none;
}

/* HERO */

.sp-premium-hero {
    position: relative;
    padding: 62px 0 96px;
    background:
        radial-gradient(
            circle at 88% 12%,
            rgba(87, 145, 176, .19),
            transparent 38%
        ),
        linear-gradient(135deg, #102b3e 0%, #173b53 100%);
    color: #fff;
}

.sp-premium-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    align-items: center;
    font-size: 13px;
    color: #b8cad7;
    margin-bottom: 52px;
}

.sp-premium-breadcrumb a {
    color: #e3b878;
}

.sp-premium-breadcrumb a:hover {
    color: #fff;
}

.sp-premium-breadcrumb span:last-child {
    color: #d9e5ed;
}

.sp-premium-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: clamp(35px, 5vw, 85px);
    align-items: center;
}

.sp-premium-hero-content {
    min-width: 0;
}

.sp-premium-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e6b16c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2.5px;
    margin-bottom: 23px;
}

.sp-premium-kicker-line {
    width: 28px;
    height: 2px;
    background: var(--sp-gold);
}

.sp-premium-hero h1 {
    color: #fff;
    font-size: clamp(38px, 4.4vw, 68px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.7px;
    margin: 0 0 22px;
    overflow-wrap: anywhere;
}

.sp-premium-subtitle {
    color: #e6b16c;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 650;
    line-height: 1.45;
    margin-bottom: 19px;
}

.sp-premium-tagline {
    max-width: 590px;
    color: #cbdbe5;
    font-size: 17px;
    line-height: 1.8;
    margin: 0;
}

.sp-premium-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 32px;
}

.sp-premium-button {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 16px 23px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.4;
    transition: background .2s ease, transform .2s ease;
}

.sp-premium-button:hover {
    transform: translateY(-2px);
}

.sp-premium-button-gold {
    color: #fff !important;
    background: var(--sp-gold);
}

.sp-premium-button-gold:hover {
    background: var(--sp-gold-dark);
}

.sp-premium-button-navy {
    color: #fff !important;
    background: var(--sp-navy);
}

.sp-premium-button-navy:hover {
    background: #24506a;
}

.sp-premium-text-link {
    color: #e9f1f6 !important;
    font-size: 14px;
    font-weight: 700;
}

.sp-premium-text-link span {
    margin-left: 7px;
}

.sp-premium-hero-note {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #a9c1d0;
    font-size: 12px;
    line-height: 1.6;
    margin-top: 38px;
}

.sp-premium-note-dot {
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    background: #e5b56e;
    border-radius: 50%;
}

.sp-premium-hero-visual {
    min-width: 0;
}

.sp-premium-image-frame {
    position: relative;
    aspect-ratio: 1.12 / 1;
    overflow: hidden;
    border: 7px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    background: #28516a;
    box-shadow: 0 25px 70px rgba(0, 0, 0, .19);
}

.sp-premium-image-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-premium-image-fallback {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    text-align: center;
    color: #fff;
}

.sp-premium-image-fallback span {
    font-size: 30px;
    font-weight: 800;
}

.sp-premium-image-fallback small {
    color: #e3b878;
}

.sp-premium-image-caption {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #c8dbe6;
    font-size: 12px;
    margin-top: 17px;
}

.sp-premium-caption-mark {
    color: #e5b16c;
    font-size: 19px;
}

/* SECTION HEADINGS */

.sp-premium-eyebrow {
    display: block;
    color: var(--sp-gold-dark);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 13px;
}

.sp-premium-summary-section {
    padding: 82px 0 88px;
    background: #fff;
}

.sp-premium-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 34px;
}

.sp-premium-section-heading h2 {
    color: var(--sp-navy);
    font-size: clamp(29px, 3.1vw, 42px);
    line-height: 1.2;
    letter-spacing: -.8px;
    margin: 0;
}

.sp-premium-section-heading > p {
    max-width: 330px;
    color: var(--sp-muted);
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
}

/* FOUR SUMMARY CARDS */

.sp-premium-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.sp-premium-summary-card {
    min-width: 0;
    padding: 27px 24px 29px;
    border: 1px solid var(--sp-border);
    border-radius: 17px;
    background: #f9fafb;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.sp-premium-summary-card:hover {
    transform: translateY(-5px);
    border-color: #e2c39c;
    box-shadow: 0 16px 38px rgba(18, 50, 72, .08);
}

.sp-premium-summary-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.sp-premium-summary-icon {
    display: grid;
    place-items: center;
    width: 47px;
    height: 47px;
    border-radius: 12px;
    color: #bc7e2b;
    background: #f6e9d7;
    font-size: 23px;
    line-height: 1;
}

.sp-premium-summary-number {
    color: #bac5cd;
    font-size: 12px;
    font-weight: 800;
}

.sp-premium-summary-card h3 {
    color: var(--sp-navy);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.4;
    margin: 0 0 14px;
}

.sp-premium-summary-content {
    color: #607588;
    font-size: 14px;
    line-height: 1.75;
}

/* CONTENT AREA */

.sp-premium-content-section {
    padding: 84px 0 100px;
    background: var(--sp-bg);
}

.sp-premium-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 335px;
    align-items: start;
    gap: 30px;
}

.sp-premium-main-column {
    min-width: 0;
}

.sp-premium-content-panel {
    padding: clamp(26px, 3vw, 42px);
    margin-bottom: 25px;
    border: 1px solid var(--sp-border);
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 8px 32px rgba(20, 52, 74, .035);
}

.sp-premium-panel-index {
    display: block;
    color: var(--sp-gold-dark);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 1.8px;
    margin-bottom: 15px;
}

.sp-premium-panel-heading {
    margin-bottom: 24px;
}

.sp-premium-panel-heading h2 {
    color: var(--sp-navy);
    font-size: clamp(25px, 2.8vw, 36px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.6px;
    margin: 0 0 12px;
}

.sp-premium-panel-heading p {
    color: var(--sp-muted);
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
}

.sp-premium-lead {
    color: #304e63;
    font-size: clamp(17px, 1.8vw, 20px);
    font-weight: 550;
    line-height: 1.8;
    margin-bottom: 22px;
}

.sp-premium-body-copy {
    color: #5e7384;
    font-size: 15px;
    line-height: 1.9;
}

/* RICH TEXT */

.sp-premium-rich {
    overflow-wrap: anywhere;
}

.sp-premium-rich p {
    margin: 0 0 14px;
}

.sp-premium-rich p:last-child {
    margin-bottom: 0;
}

.sp-premium-rich h2,
.sp-premium-rich h3,
.sp-premium-rich h4 {
    color: var(--sp-navy);
    line-height: 1.4;
    margin: 23px 0 12px;
}

.sp-premium-rich ul,
.sp-premium-rich ol {
    padding-left: 22px;
    margin: 14px 0;
}

.sp-premium-rich li {
    padding-left: 4px;
    margin-bottom: 10px;
}

.sp-premium-rich li::marker {
    color: var(--sp-gold-dark);
}

.sp-premium-rich strong,
.sp-premium-rich b {
    color: #24475d;
    font-weight: 800;
}

.sp-premium-rich blockquote {
    padding: 16px 20px;
    margin: 20px 0;
    border-left: 3px solid var(--sp-gold);
    border-radius: 0 9px 9px 0;
    background: #f8f9fa;
    color: #36566c;
}

/* SECONDARY IMAGE */

.sp-premium-media-panel {
    padding: 12px;
}

.sp-premium-media-panel img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 470px;
    object-fit: cover;
    border-radius: 12px;
}

/* SIDEBAR */

.sp-premium-sidebar {
    position: sticky;
    top: 105px;
}

.sp-premium-sidebar-card {
    position: relative;
    overflow: hidden;
    padding: 35px 28px;
    border: 1px solid #e4e9ed;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(20, 52, 74, .055);
}

.sp-premium-sidebar-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(
        90deg,
        #d49a49,
        #efc992
    );
}

.sp-premium-sidebar-card h2 {
    color: var(--sp-navy);
    font-size: 27px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 15px;
}

.sp-premium-sidebar-card > p {
    color: var(--sp-muted);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 26px;
}

.sp-premium-sidebar-fact {
    padding: 17px 0;
    border-top: 1px solid var(--sp-border);
}

.sp-premium-sidebar-fact > span {
    display: block;
    color: #a4783e;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 1.1px;
    margin-bottom: 9px;
}

.sp-premium-sidebar-fact .sp-premium-rich {
    color: var(--sp-navy);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.6;
}

.sp-premium-sidebar-card .sp-premium-button {
    display: flex;
    width: 100%;
    margin-top: 20px;
}

.sp-premium-back-link {
    display: block;
    margin-top: 22px;
    text-align: center;
    color: #6a7e8d !important;
    font-size: 13px;
    font-weight: 700;
}

/* BOTTOM CTA */

.sp-premium-bottom-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 38px;
    border-radius: 18px;
    background: var(--sp-navy);
    color: #fff;
}

.sp-premium-bottom-cta .sp-premium-eyebrow {
    color: #e8b977;
}

.sp-premium-bottom-cta h2 {
    max-width: 500px;
    color: #fff;
    font-size: clamp(24px, 2.6vw, 32px);
    line-height: 1.3;
    margin: 0 0 12px;
}

.sp-premium-bottom-cta p {
    max-width: 510px;
    color: #c6d7e1;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.sp-premium-bottom-cta .sp-premium-button {
    flex-shrink: 0;
}

/* ACCESSIBILITY */

.sp-detail-premium a:focus-visible {
    outline: 3px solid #e5b16c;
    outline-offset: 4px;
}

/* TABLET */

@media (max-width: 1199px) {
    .sp-premium-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sp-premium-content-grid {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 22px;
    }
}

@media (max-width: 991px) {
    .sp-premium-hero {
        padding: 42px 0 72px;
    }

    .sp-premium-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sp-premium-hero-visual {
        max-width: 700px;
    }

    .sp-premium-image-frame {
        aspect-ratio: 16 / 10;
    }

    .sp-premium-content-grid {
        grid-template-columns: 1fr;
    }

    .sp-premium-sidebar {
        position: static;
    }

    .sp-premium-sidebar-card {
        max-width: none;
    }

    .sp-premium-bottom-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* MOBILE */

@media (max-width: 640px) {
    .sp-premium-hero {
        padding: 28px 0 56px;
    }

    .sp-premium-breadcrumb {
        font-size: 11px;
        gap: 7px;
        margin-bottom: 34px;
    }

    .sp-premium-hero h1 {
        font-size: clamp(34px, 9vw, 46px);
        letter-spacing: -1px;
    }

    .sp-premium-subtitle {
        font-size: 18px;
    }

    .sp-premium-tagline {
        font-size: 15px;
    }

    .sp-premium-hero-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 20px;
    }

    .sp-premium-hero-actions .sp-premium-button {
        width: 100%;
    }

    .sp-premium-image-frame {
        aspect-ratio: 4 / 3;
        border-width: 4px;
        border-radius: 16px;
    }

    .sp-premium-summary-section {
        padding: 55px 0;
    }

    .sp-premium-section-heading {
        display: block;
        margin-bottom: 26px;
    }

    .sp-premium-section-heading > p {
        margin-top: 14px;
    }

    .sp-premium-summary-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .sp-premium-summary-card {
        padding: 23px;
    }

    .sp-premium-summary-top {
        margin-bottom: 16px;
    }

    .sp-premium-content-section {
        padding: 48px 0 65px;
    }

    .sp-premium-content-panel {
        padding: 23px 20px;
        border-radius: 15px;
    }

    .sp-premium-media-panel {
        padding: 9px;
    }

    .sp-premium-sidebar-card {
        padding: 29px 23px;
    }

    .sp-premium-bottom-cta {
        padding: 28px 23px;
    }

    .sp-premium-bottom-cta .sp-premium-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sp-detail-premium *,
    .sp-detail-premium *::before,
    .sp-detail-premium *::after {
        transition: none !important;
    }
}


/* Package page title: match Services details */

.sp-detail-v3 .sp-package-title-banner {
    position: relative;
}

.sp-detail-v3 .sp-package-title-banner h1 {
    color: #ffffff;
    font-size: clamp(34px, 4.5vw, 64px);
    font-weight: 800;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.sp-detail-v3 .sp-package-title-banner ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.sp-detail-v3 .sp-package-title-banner ul li {
    overflow-wrap: anywhere;
}

.sp-detail-v3 .sp-package-title-banner ul li a {
    text-decoration: none;
}

@media (max-width: 767px) {
    .sp-detail-v3 .sp-package-title-banner h1 {
        font-size: 34px;
    }
}

