/* Hide the global quick sidebar on this page */
.quick-sidebar {
    display: none !important;
}

.succession-page {
    padding-top: 140px;
    /* Header height */
    padding-bottom: 0;
    background-color: #f8f9fa;
    overflow: hidden;
}

.succession-hero {
    padding: 80px 0;
}

.page-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: #111;
    letter-spacing: -1px;
}

.intro-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-shadow: 0 30px 60px rgba(0, 51, 102, 0.08);
    min-height: 500px;
    position: relative;
}

.intro-content {
    flex: 1;
    padding: 80px;
    z-index: 2;
}

.intro-title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 40px;
    color: #1a1a1a;
    letter-spacing: -1.5px;
}

.intro-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 6px;
    background: linear-gradient(90deg, var(--primary, #de1f7f), #f14d9e);
    margin-top: 15px;
    border-radius: 3px;
}

.desc-group {
    margin-bottom: 30px;
}

.intro-desc {
    font-size: 20px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 10px;
    word-break: keep-all;
}

.intro-desc strong {
    color: var(--primary, #003366);
    font-weight: 700;
}

.highlight {
    color: var(--accent, #E6003D);
    font-weight: 700;
    position: relative;
}

.intro-desc-sub {
    font-size: 17px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.intro-desc-sub::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: #de1f7f;
    border-radius: 50%;
    opacity: 0.3;
}

.intro-image {
    flex: 1.2;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-right: 40px;
}

.image-wrapper {
    width: 100%;
    height: 80%;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.8s ease;
}

.intro-card:hover .image-wrapper {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent, rgba(255, 255, 255, 0.1));
    pointer-events: none;
}

@media (max-width: 1200px) {
    .intro-content {
        padding: 60px;
    }

    .intro-title {
        font-size: 32px;
    }

    .intro-desc {
        font-size: 18px;
    }
}

@media (max-width: 992px) {
    .intro-card {
        flex-direction: column;
    }

    .intro-content {
        padding: 60px 40px;
        text-align: center;
    }

    .intro-title::after {
        margin: 15px auto 0;
    }

    .intro-desc-sub {
        padding-left: 0;
    }

    .intro-desc-sub::before {
        display: none;
    }

    .intro-image {
        width: 100%;
        height: 350px;
    }

    .image-overlay {
        background: linear-gradient(to bottom, #fff, transparent 30%);
    }
}

.succession-advantages {
    padding: 100px 0;
    background-color: #fff;
}

.section-header-alt {
    text-align: center;
    margin-bottom: 70px;
}

.section-title-main {
    font-size: 38px;
    font-weight: 800;
    color: #111;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.advantage-card {
    position: relative;
    padding-top: 20px;
}

.card-tag {
    position: absolute;
    top: 0;
    left: 30px;
    background: var(--primary, #de1f7f);
    color: #fff;
    padding: 8px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(222, 31, 127, 0.2);
}

.advantage-card.receiver .card-tag {
    background: var(--accent, #E6003D);
    box-shadow: 0 5px 15px rgba(230, 0, 61, 0.2);
}

.card-inner {
    background: #f8faff;
    border-radius: 30px;
    padding: 60px 40px 40px;
    height: 100%;
    border: 1px solid #edf2f7;
    transition: all 0.4s ease;
}

.advantage-card.receiver .card-inner {
    background: #fff9fa;
    border: 1px solid #ffeef1;
}

.advantage-card:hover .card-inner {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.benefit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
}

.benefit-item:last-child {
    margin-bottom: 0;
}

.benefit-icon {
    width: 54px;
    height: 54px;
    background: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary, #de1f7f);
    box-shadow: 0 8px 20px rgba(222, 31, 127, 0.08);
    flex-shrink: 0;
}

.advantage-card.receiver .benefit-icon {
    color: var(--accent, #E6003D);
    box-shadow: 0 8px 20px rgba(230, 0, 61, 0.08);
}

.benefit-text h4 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.benefit-text p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    word-break: keep-all;
}

@media (max-width: 992px) {
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

.succession-why {
    padding: 100px 0;
    background-color: #fcfcfc;
}

.brand-text {
    color: var(--primary, #de1f7f);
    font-weight: 800;
}

.section-tag {
    font-size: 16px;
    color: #888;
    margin-bottom: 10px;
}

.section-desc-group {
    margin-top: 20px;
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.why-item {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.why-item:hover {
    transform: translateY(-10px);
}

.why-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-text {
    padding: 20px;
    text-align: center;
    background: #fff;
}

.why-text p {
    font-size: 17px;
    font-weight: 700;
    color: #333;
    word-break: keep-all;
}

@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

.sticky-inquiry-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    background: rgba(17, 17, 17, 0.85);
    /* Dark Glass */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 15px 0;
    z-index: 2000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        transform: translate(-50%, 100px);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

.sticky-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.sticky-info {
    flex-shrink: 0;
}

.sticky-tag {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary, #de1f7f);
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.sticky-title {
    font-size: 18px;
    color: #fff;
    font-weight: 500;
}

.sticky-title strong {
    font-weight: 800;
    color: #fff;
}

.sticky-form {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
}

.sticky-inputs {
    flex: 1;
    display: flex;
    gap: 10px;
}

.sticky-input-group {
    flex: 1;
}

.sticky-input-group input,
.sticky-input-group select {
    width: 100%;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0 15px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
    -webkit-appearance: none;
    appearance: none;
}

.sticky-input-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
}

.sticky-input-group input:focus,
.sticky-input-group select:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary, #de1f7f);
}

.sticky-input-group select option {
    background: #111;
    color: #fff;
}

.sticky-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.sticky-options {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sticky-check {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    white-space: nowrap;
}

.sticky-check input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary, #de1f7f);
}

.btn-sticky-submit {
    background: var(--primary, #de1f7f);
    color: #fff;
    border: none;
    padding: 0 25px;
    height: 50px;
    border-radius: 15px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(222, 31, 127, 0.3);
    white-space: nowrap;
}

.btn-sticky-submit:hover {
    transform: scale(1.05);
    background: #f14d9e;
    box-shadow: 0 15px 30px rgba(222, 31, 127, 0.4);
}

.succession-process {
    padding: 100px 0;
    background-color: #f8faff;
}

.process-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
    position: relative;
}

.process-path {
    background: #fff;
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: 0 20px 50px rgba(0, 51, 102, 0.05);
    border: 1px solid #edf2f7;
}

.path-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f4f8;
}

.path-icon {
    width: 44px;
    height: 44px;
    background: var(--primary, #de1f7f);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(222, 31, 127, 0.2);
}

.buyer-path .path-icon {
    background: #002b5c;
    box-shadow: 0 8px 16px rgba(0, 43, 92, 0.2);
}

.path-header h4 {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a1a;
}

.path-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
}

/* Connecting line */
.path-steps::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(to bottom, #f0f4f8, #f0f4f8);
    z-index: 1;
}

.step-card {
    display: flex;
    gap: 20px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateX(10px);
}

.step-num {
    width: 42px;
    height: 42px;
    background: #fff;
    border: 2px solid #edf2f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: #888;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.step-card:hover .step-num {
    border-color: var(--primary, #de1f7f);
    color: var(--primary, #de1f7f);
    background: #fff;
}

.buyer-path .step-card:hover .step-num {
    border-color: #002b5c;
    color: #002b5c;
}

.step-info h5 {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 5px;
}

.step-info p {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    word-break: keep-all;
}

@media (max-width: 1024px) {
    .succession-page { padding-top: 120px; }
    .intro-card { min-height: auto; }
    .intro-content { padding: 50px 30px; }
    .intro-title { font-size: 28px; }
    .advantages-grid { grid-template-columns: 1fr; gap: 30px; }
    .process-container { grid-template-columns: 1fr !important; gap: 30px; }
}

@media (max-width: 768px) {
    .succession-page { padding-top: 100px; }
    .page-title { font-size: 28px; margin-bottom: 40px; }
    .hero-section { padding: 40px 0; }
    
    .intro-card { border-radius: 24px; }
    .intro-content { padding: 40px 20px; text-align: left; }
    .intro-title { font-size: 24px; margin-bottom: 20px; }
    .intro-title::after { margin: 15px 0 0; }
    .intro-desc { font-size: 16px; }
    .intro-desc-sub { font-size: 14px; padding-left: 15px; }
    
    .intro-image { height: 250px; padding: 0 20px 20px; }
    .image-wrapper { height: 100%; border-radius: 20px; }
    
    .section-title-main { font-size: 26px; }
    .section-subtitle { font-size: 15px; }
    
    .advantage-card { padding-top: 15px; }
    .card-inner { padding: 40px 20px 20px; border-radius: 20px; }
    .benefit-icon { width: 44px; height: 44px; border-radius: 12px; }
    .benefit-text h4 { font-size: 18px; }
    .benefit-text p { font-size: 14px; }

    /* Sticky Bar Mobile (Redesign) */
    .sticky-inquiry-bar {
        bottom: 0 !important;
        width: 100%;
        border-radius: 20px 20px 0 0;
        padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
        left: 0;
        transform: none !important;
    }
    .sticky-wrapper { gap: 15px; }
    .sticky-info { display: flex; flex-direction: column; }
    .sticky-tag { font-size: 9px; }
    .sticky-title { display: block; font-size: 15px; font-weight: 700; white-space: nowrap; }
    .sticky-form { flex: 1; justify-content: flex-end; }
    .sticky-inputs, .sticky-options .sticky-check { display: none; }
    .btn-sticky-submit { 
        flex: 1;
        height: 52px;
        padding: 0 25px;
        font-size: 16px;
        border-radius: 15px;
    }
    .btn-sticky-submit span { display: block; }
    
    .process-path { padding: 30px 20px; border-radius: 20px; width: 100% !important; }
    .path-header { margin-bottom: 25px; }
    .path-header h4 { font-size: 18px; }
    .step-info h5 { font-size: 16px; }
    .step-info p { font-size: 13px; }

    .why-grid { gap: 15px; margin-top: 30px; }
    .why-text p { font-size: 15px; }
}

@media (max-width: 480px) {
    .page-title { font-size: 24px; }
    .intro-title { font-size: 22px; }
    .section-title-main { font-size: 22px; }
    .sticky-title { font-size: 14px; }
    .btn-sticky-submit { max-width: 120px; }
}
