
/* ==========================================
   BRIGHT DIAMONDS - CUSTOM JEWELLERY
========================================== */

.custom-jewellery-section {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: var(--custom-section-min-height);
    padding: var(--custom-section-padding) 0;
    overflow: hidden;
    background: var(--primary-color);
}

/* Background image */

.custom-jewellery-background {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("../../images/cta.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Primary colour and contrast overlay */

.custom-jewellery-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            90deg,
            rgba(0, 27, 40, 0.22),
            rgba(0, 27, 40, 0.08),
            rgba(0, 27, 40, 0.22)
        ),
        rgba(
            var(--custom-overlay-color),
            var(--custom-overlay-opacity)
        );
    pointer-events: none;
}

/* Content */

.custom-jewellery-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    color: var(--custom-text-color);
}

/* Diamond icon */

.custom-jewellery-icon {
    margin-bottom: 10px;
    color: var(--custom-accent-color);
    font-size: 27px;
    line-height: 1;
}

/* Eyebrow */

.custom-jewellery-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--custom-text-color);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    line-height: 1.5;
    text-transform: uppercase;
}

/* Heading */

.custom-jewellery-title {
    margin: 0;
    color: var(--custom-text-color);
    font-family: var(--font-heading);
    font-size: clamp(34px, 3.7vw, 58px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.5px;
    text-wrap: balance;
}

.custom-jewellery-title span {
    display: block;
    color: var(--custom-accent-color);
    font-style: italic;
}

/* Underline */

.custom-jewellery-divider {
    width: 65px;
    height: 2px;
    margin: 18px auto;
    background: var(--custom-accent-color);
}

/* Description */

.custom-jewellery-description {
    max-width: 700px;
    margin: 0 auto 24px;
    color: var(--custom-text-color);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.75;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* Process steps */

.custom-jewellery-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 27px;
}

.custom-jewellery-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 30px;
    background: rgba(0, 31, 46, 0.18);
    color: var(--custom-text-color);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
}

.custom-jewellery-steps > i {
    color: var(--custom-accent-color);
    font-size: 11px;
}

/* CTA button */

.custom-jewellery-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 13px 25px;
    border: 1px solid var(--custom-button-background);
    background: var(--custom-button-background);
    color: var(--custom-button-text);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.custom-jewellery-cta:hover {
    transform: translateY(-3px);
    background: var(--custom-accent-color);
    border-color: var(--custom-accent-color);
    color: var(--custom-button-text);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.custom-jewellery-cta .fa-whatsapp {
    font-size: 19px;
}

.custom-jewellery-cta .fa-arrow-up-right-from-square {
    font-size: 11px;
}

/* Tablet */

@media (max-width: 991px) {
    .custom-jewellery-section {
        min-height: 420px;
        padding: 48px 0;
    }

    .custom-jewellery-content {
        max-width: 760px;
    }

    .custom-jewellery-title {
        font-size: clamp(36px, 5vw, 50px);
    }
}

/* Mobile */

@media (max-width: 767px) {
    .custom-jewellery-section {
        min-height: 0;
        padding: 48px 0;
    }

    .custom-jewellery-content {
        max-width: 100%;
        padding: 0 8px;
    }

    .custom-jewellery-icon {
        font-size: 25px;
        margin-bottom: 12px;
    }

    .custom-jewellery-eyebrow {
        font-size: 10px;
        letter-spacing: 2px;
        margin-bottom: 12px;
    }

    .custom-jewellery-title {
        font-size: clamp(31px, 8vw, 42px);
        line-height: 1.16;
    }

    .custom-jewellery-divider {
        margin: 17px auto;
        width: 55px;
    }

    .custom-jewellery-description {
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: 22px;
    }

    .custom-jewellery-steps {
        gap: 8px;
        margin-bottom: 25px;
    }

    .custom-jewellery-step {
        padding: 8px 12px;
        font-size: 10px;
        white-space: normal;
    }

    .custom-jewellery-steps > i {
        font-size: 9px;
    }

    .custom-jewellery-cta {
        padding: 13px 20px;
        font-size: 12px;
    }
}

/* Small mobile */

@media (max-width: 390px) {
    .custom-jewellery-section {
        padding: 42px 0;
    }

    .custom-jewellery-title {
        font-size: 30px;
    }

    .custom-jewellery-steps {
        flex-direction: column;
    }

    .custom-jewellery-steps > i {
        transform: rotate(90deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .custom-jewellery-cta {
        transition: none;
    }
}
