/* ============================
   SHARED COMPONENTS
   ============================ */

/* Section tag label (uppercase small heading) */
.section-tag {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 5%;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin: 0 0 8px;
}

/* Section main title */
.section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 44px;
    color: var(--color-text);
    margin: 0;
}

/* Vertical divider */
.divider-vertical {
    width: 0;
    height: 100%;
    border: none;
    border-left: 1px solid #D2D2D2;
    margin: 0;
}

/* Card white with shadow */
.card-shadow {
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0px 8px 100px 0px #00000012;
}

/* Form input base */
.input-base {
    width: 100%;
    height: 52px;
    padding: 14px 21px;
    border: 1px solid #E3E3E3;
    border-radius: 14px;
    background: #F9FAFB;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text);
    outline: none;
    transition: border-color var(--transition-fast);
}

.input-base:focus {
    border-color: var(--color-primary);
}

.input-base::placeholder {
    color: #BBBBBB;
}

.textarea-base {
    width: 100%;
    min-height: 120px;
    padding: 14px 21px;
    border: 1px solid #E3E3E3;
    border-radius: 14px;
    background: #F9FAFB;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-text);
    outline: none;
    resize: vertical;
    transition: border-color var(--transition-fast);
}

.textarea-base:focus {
    border-color: var(--color-primary);
}

/* Button primary */
.btn-primary,
.btn-primary-red {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    min-width: 64px;
    padding: 0 24px;
    border: none;
    border-radius: 100px;
    background: var(--color-primary);
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition-fast), opacity var(--transition-fast);
    margin-top: 10px;
}

.btn-primary:hover,
.btn-primary-red:hover {
    background: var(--color-primary-hover);
    opacity: 0.95;
}

.btn-primary-red img {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
}

/* ============================
   TOAST NOTIFICATION STYLES
   ============================ */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    max-width: 420px;
    width: calc(100% - 48px);
}

.toast-item {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 12px 36px -4px rgba(0, 0, 0, 0.16), 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-item.toast-show {
    transform: translateX(0);
    opacity: 1;
}

.toast-item.toast-hide {
    transform: translateX(120%);
    opacity: 0;
}

.toast-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-item--success .toast-icon {
    background: #ECFDF5;
    color: #10B981;
}

.toast-item--error .toast-icon {
    background: #FEF2F2;
    color: #EF4444;
}

.toast-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toast-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 22px;
    color: #1E293B;
    margin: 0;
}

.toast-message {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #64748B;
    margin: 0;
}

.toast-close {
    background: none;
    border: none;
    padding: 4px;
    color: #94A3B8;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, background 0.2s ease;
}

.toast-close:hover {
    color: #1E293B;
    background: #F1F5F9;
}

/* ============================
   FLOATING SOCIAL MEDIA BAR
   ============================ */
.floating-social-bar {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 999;
}

.floating-social-item {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #00A7E1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 167, 225, 0.35);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
}

.floating-social-item:hover {
    transform: scale(1.14);
    box-shadow: 0 8px 24px rgba(0, 167, 225, 0.55);
    background: #0084B4;
}

.floating-social-item img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.floating-social-item.item-fb img.icon-fb-white {
    filter: brightness(0) invert(1);
}

@media (max-width: 767px) {
    .floating-social-bar {
        right: 14px;
        gap: 10px;
    }

    .floating-social-item {
        width: 42px;
        height: 42px;
    }

    .floating-social-item img {
        width: 20px;
        height: 20px;
    }
}

/* ============================
   GLOBAL CTA BANNER COMPONENT
   ============================ */
.garansi-cta-banner {
    position: relative;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    overflow: hidden;
    height: 600px;
    display: flex;
    align-items: center;
}

.garansi-cta-banner .site-container {
    height: 100%;
    display: flex;
    align-items: center;
    width: 100%;
}

.cta-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/img/garansi/bg-cta.webp') center 65% / cover no-repeat;
    z-index: 1;
}

.cta-overlay-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 849px;
    height: 100%;
    max-height: 668px;
    background: linear-gradient(270deg, rgba(67, 67, 67, 0) 0%, #434343 133.96%);
    opacity: 1;
    z-index: 2;
    pointer-events: none;
}

.cta-banner-content {
    max-width: 680px;
    position: relative;
    z-index: 3;
}

.cta-banner-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(28px, 3.2vw, 40px);
    line-height: 1.35;
    color: #FFFFFF;
    margin: 0 0 16px;
}

.cta-banner-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 28px;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 32px;
}

.cta-banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    background: #00A7E1;
    color: #FFFFFF !important;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 167, 225, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-banner-btn:hover {
    background: #0084B4;
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(0, 167, 225, 0.45);
}

@media (max-width: 1023px) {
    .cta-overlay-left {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .garansi-cta-banner {
        height: auto;
        min-height: 420px;
        padding: 60px 20px;
    }

    .cta-overlay-left {
        width: 100%;
        background: linear-gradient(180deg, rgba(67, 67, 67, 0.4) 0%, rgba(0, 0, 0, 0.85) 100%);
    }

    .cta-banner-content {
        max-width: 100%;
        text-align: left;
    }

    .cta-banner-title {
        font-size: 24px !important;
        line-height: 135% !important;
        margin-bottom: 12px;
    }

    .cta-banner-subtitle {
        font-size: 15px !important;
        line-height: 24px !important;
        margin-bottom: 24px;
    }

    .cta-banner-btn {
        display: inline-flex;
        width: auto;
        padding: 10px 28px;
        font-size: 15px !important;
    }
}
