/* =========================================================
   CLOSING STATEMENT SECTION
========================================================= */

.closing-statement-section {
    position: relative;
    overflow: hidden;
    width: auto;
    padding: 0;
    isolation: isolate;

    /* Floating card spacing */
    margin: 0 40px 80px;

    /* Rounded card */
    border-radius: 24px;

    /* Thin luxury border */
    border: 1px solid rgba(201, 152, 77, 0.38);

    /* Premium subtle shadow */
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.10),
        0 28px 55px rgba(0, 0, 0, 0.14);

    /* Main dark luxury green background */
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(77, 102, 91, 0.14) 0%,
            rgba(22, 36, 31, 0) 30%
        ),
        radial-gradient(
            circle at 8% 55%,
            rgba(52, 77, 67, 0.18) 0%,
            rgba(15, 25, 21, 0) 38%
        ),
        linear-gradient(
            110deg,
            #0d1815 0%,
            #16231f 50%,
            #1a2924 100%
        );
}


/* =========================================================
   LEFT CURVED CONTOUR BACKGROUND
========================================================= */

.closing-statement-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background:
        radial-gradient(
            ellipse 52% 100% at -12% 45%,
            transparent 43%,
            rgba(255, 255, 255, 0.055) 43.2%,
            transparent 43.6%
        ),

        radial-gradient(
            ellipse 62% 115% at -12% 45%,
            transparent 43%,
            rgba(255, 255, 255, 0.045) 43.2%,
            transparent 43.6%
        ),

        radial-gradient(
            ellipse 72% 130% at -12% 45%,
            transparent 43%,
            rgba(255, 255, 255, 0.035) 43.2%,
            transparent 43.6%
        ),

        radial-gradient(
            ellipse 82% 145% at -12% 45%,
            transparent 43%,
            rgba(255, 255, 255, 0.025) 43.2%,
            transparent 43.6%
        );

    opacity: 0.8;
}


/* =========================================================
   RIGHT CURVED CONTOUR BACKGROUND
========================================================= */

.closing-statement-section::after {
    content: "";
    position: absolute;
    width: 650px;
    height: 650px;
    right: -320px;
    top: -420px;
    z-index: -1;
    pointer-events: none;
    opacity: 0.45;

    border-radius: 50%;

    background:
        repeating-radial-gradient(
            ellipse at center,
            transparent 0px,
            transparent 28px,
            rgba(255, 255, 255, 0.035) 29px,
            rgba(255, 255, 255, 0.035) 30px
        );
}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.closing-container {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1320px;
    min-height: 330px;

    margin: 0 auto;
    padding: 0 65px;

    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) 100px;

    column-gap: 55px;
    align-items: end;
}


/* =========================================================
   LEFT IMAGE AREA
========================================================= */

.closing-image-wrap {
    position: relative;

    width: 100%;
    height: 330px;

    display: flex;
    align-items: flex-end;
}


/* Outer arch border */

.closing-image-wrap::before {
    content: "";

    position: absolute;
    z-index: 1;

    left: -15px;
    top: 25px;

    width: 160px;
    height: 305px;

    border: 1px solid rgba(197, 148, 70, 0.45);

    border-radius: 100px 100px 0 0;

    pointer-events: none;
}


/* Main image */

.closing-image {
    position: relative;
    z-index: 2;

    width: 145px;
    height: 275px;

    margin-left: 8px;

    overflow: hidden;

    border: 2px solid #b98737;
    border-bottom: none;

    border-radius: 90px 90px 0 0;

    background: #27342f;
}


/* Image dark overlay */

.closing-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.20),
            rgba(0, 0, 0, 0.02)
        );

    pointer-events: none;
}


/* Image */

.closing-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;
}


/* =========================================================
   CONTENT
========================================================= */

.closing-content {
    position: relative;
    z-index: 2;

    padding: 48px 0 52px;
}


/* =========================================================
   SMALL CLOSING STATEMENT LABEL
========================================================= */

.closing-label {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 14px;
}


.closing-label span {
    color: #ffffff;

    font-size: 13px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 1.8px;

    line-height: 1;

    white-space: nowrap;
}


/* Gold line */

.closing-label-line {
    position: relative;

    width: 75px;
    height: 1px;

    background: #b8863b;
}


.closing-label-line::before {
    content: "";

    position: absolute;

    width: 4px;
    height: 4px;

    left: -2px;
    top: -1.5px;

    border-radius: 50%;

    background: #b8863b;
}


/* =========================================================
   MAIN HEADING
========================================================= */

.closing-content h2 {
    margin: 0 0 18px;

    color: #ffffff;

    font-family: "Playfair Display", serif;

    font-size: 42px;
    font-weight: 500;

    line-height: 1.18;

    letter-spacing: -0.4px;
}


.closing-content h2 span {
    color: #d3a65d;
}


/* =========================================================
   PARAGRAPH
========================================================= */

.closing-content p {
    max-width: 780px;

    margin: 0;

    color: rgba(255, 255, 255, 0.78);

    font-size: 15px;
    font-weight: 400;

    line-height: 1.85;
    letter-spacing: 1px;
}


.closing-content p strong {
    color: #ffffff;
    font-weight: 700;
}


/* =========================================================
   BOTTOM DECORATIVE LINE
========================================================= */

.closing-bottom-line {
    width: 470px;
    max-width: 100%;

    margin-top: 28px;

    display: flex;
    align-items: center;

    gap: 10px;
}


/* Lines */

.closing-bottom-line > span {
    flex: 1;

    height: 1px;

    background: rgba(211, 166, 93, 0.60);
}


/* Center icon */

.closing-bottom-line i {
    width: 30px;
    height: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 4px;
}


/* Diamonds */

.closing-bottom-line i::before,
.closing-bottom-line i::after {
    content: "";

    width: 5px;
    height: 5px;

    display: block;

    border: 1px solid #d3a65d;

    transform: rotate(45deg);
}


/* Hide unused b tags */

.closing-bottom-line i b {
    display: none;
}


/* =========================================================
   RIGHT DOT PATTERN
========================================================= */

.closing-dots {
    display: grid;

    grid-template-columns: repeat(4, 4px);

    gap: 11px;

    justify-content: end;

    padding-bottom: 85px;
}


.closing-dots span {
    width: 3px;
    height: 3px;

    display: block;

    border-radius: 50%;

    background: #c9984d;

    opacity: 0.85;
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1400px) {

    .closing-container {
        max-width: 1420px;
    }

    .closing-content h2 {
        font-size: 46px;
    }
}


/* =========================================================
   LAPTOP / TABLET
========================================================= */

@media (max-width: 1199px) {

    .closing-statement-section {
        margin: 0 30px 30px;
        border-radius: 22px;
    }

    .closing-container {
        padding: 0 40px;

        grid-template-columns: 165px minmax(0, 1fr) 60px;

        column-gap: 35px;
    }

    .closing-content h2 {
        font-size: 36px;
    }

    .closing-content p {
        font-size: 14px;
    }

    .closing-image {
        width: 125px;
        height: 245px;

        border-radius: 80px 80px 0 0;
    }

    .closing-image-wrap::before {
        width: 145px;
        height: 270px;
    }

    .closing-dots {
        grid-template-columns: repeat(3, 4px);
        gap: 9px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .closing-statement-section {
        margin: 0 25px 25px;
        border-radius: 20px;
    }

    .closing-container {
        grid-template-columns: 155px minmax(0, 1fr);

        min-height: auto;

        padding: 0 35px;

        column-gap: 30px;
    }

    .closing-dots {
        display: none;
    }

    .closing-image-wrap {
        height: 300px;
    }

    .closing-content {
        padding: 45px 0 45px;
    }

    .closing-content h2 {
        font-size: 34px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .closing-statement-section {
        width: auto;
        margin: 0 15px 25px;

        border-radius: 18px;

        box-shadow:
            0 10px 25px rgba(0, 0, 0, 0.10),
            0 20px 40px rgba(0, 0, 0, 0.12);
    }

    .closing-statement-section::after {
        display: none;
    }

    .closing-container {
        display: flex;
        flex-direction: column;

        align-items: center;

        padding: 45px 20px 0;

        text-align: center;
    }

    .closing-image-wrap {
        width: 100%;
        height: 265px;

        justify-content: center;
    }

    .closing-image-wrap::before {
        left: 50%;
        top: 0;

        transform: translateX(-58%);
    }

    .closing-image {
        width: 140px;
        height: 250px;

        margin-left: 0;
    }

    .closing-content {
        width: 100%;

        padding: 35px 0 45px;
    }

    .closing-label {
        justify-content: center;

        margin-bottom: 12px;
    }

    .closing-label span {
        font-size: 11px;

        letter-spacing: 1.5px;
    }

    .closing-content h2 {
        font-size: 30px;

        line-height: 1.25;
    }

    .closing-content p {
        max-width: 100%;

        font-size: 14px;

        line-height: 1.8;
    }

    .closing-bottom-line {
        width: 100%;

        margin: 25px auto 0;
    }

    .closing-dots {
        display: none;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .closing-statement-section {
        margin: 0 10px 20px;
        border-radius: 16px;
    }

    .closing-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .closing-content h2 {
        font-size: 26px;
    }

    .closing-image-wrap {
        height: 240px;
    }

    .closing-image {
        width: 125px;
        height: 225px;

        border-radius: 75px 75px 0 0;
    }

    .closing-image-wrap::before {
        width: 145px;
        height: 240px;
    }

    .closing-label-line {
        width: 45px;
    }
}