/* =========================================================
   ROOT
========================================================= */

.dn-about-section {
    --dn-orange: #F29022;
    --dn-blue: #3482A7;
    --dn-green: #4E9A80;
    --dn-dark: #17263D;
    --dn-text: #53625F;
    --dn-light: #F7FAFB;

    position: relative;
    width: 100%;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 72% 45%,
            rgba(52,130,167,.08),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #ffffff 55%,
            #f7fafb 100%
        );

    padding: 100px 30px 110px;
    isolation: isolate;
}


/* =========================================================
   BACKGROUND DECORATION
========================================================= */

.dn-about-grid {
    position: absolute;
    width: 520px;
    height: 520px;
    right: -170px;
    top: 40px;

    background-image:
        linear-gradient(
            rgba(52,130,167,.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(52,130,167,.045) 1px,
            transparent 1px
        );

    background-size: 34px 34px;

    mask-image: radial-gradient(
        circle,
        black 0%,
        transparent 70%
    );

    pointer-events: none;
}


.dn-about-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
}

.dn-orb-1 {
    width: 260px;
    height: 260px;
    right: 16%;
    top: 18%;
    background: rgba(242,144,34,.055);
}

.dn-orb-2 {
    width: 220px;
    height: 220px;
    left: -130px;
    bottom: -100px;
    background: rgba(52,130,167,.06);
}


/* =========================================================
   CONTAINER
========================================================= */

.dn-about-container {
    position: relative;
    z-index: 2;

    max-width: 1380px;
    margin: 0 auto;

    display: grid;
    grid-template-columns:
        minmax(0, .94fr)
        minmax(500px, 1.06fr);

    align-items: center;
    gap: 70px;
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.dn-about-content {
    position: relative;
    z-index: 5;
}


.dn-about-eyebrow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;

    margin-bottom: 24px;

    font-family:
        Inter,
        Arial,
        sans-serif;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;

    color: var(--dn-orange);
}


.dn-eyebrow-star {
    font-size: 17px;
    line-height: 1;
}


.dn-about-eyebrow i {
    width: 35px;
    height: 1px;
    background: #d9dfdc;
    margin: 0 5px;
}


.dn-about-eyebrow strong {
    color: #4d5c57;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
}


/* =========================================================
   TITLE
========================================================= */

.dn-about-title {
    margin: 0;

    color: var(--dn-orange);

    font-family:
        Inter,
        Arial,
        sans-serif;

    font-size: clamp(55px, 5.2vw, 86px);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.055em;
}


.dn-about-title span {
    display: block;
}


.dn-title-line {
    width: 72px;
    height: 5px;

    margin-top: 25px;

    border-radius: 50px;

    background:
        linear-gradient(
            90deg,
            var(--dn-orange),
            #f7d875
        );
}


.dn-title-line span {
    display: block;
    width: 24px;
    height: 100%;
    margin-left: 48px;

    background: #fff;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.dn-about-description {
    max-width: 650px;

    margin: 27px 0 0;

    color: var(--dn-text);

    font-family:
        Inter,
        Arial,
        sans-serif;

    font-size: 18px;
    line-height: 1.75;
    font-weight: 450;
}


/* =========================================================
   BOTTOM AREA
========================================================= */

.dn-about-bottom {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 42px;

    margin-top: 42px;
}


/* =========================================================
   BUTTON
========================================================= */

.dn-about-button {
    position: relative;

    min-width: 178px;
    height: 62px;

    padding: 0 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 17px;

    border-radius: 100px;

    background: var(--dn-dark);
    color: #fff;

    text-decoration: none;

    font-family:
        Inter,
        Arial,
        sans-serif;

    font-size: 16px;
    font-weight: 750;

    box-shadow:
        0 16px 30px rgba(23,38,61,.14);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}


.dn-about-button b {
    color: var(--dn-orange);
    font-size: 21px;
    line-height: 1;

    transition: transform .3s ease;
}


.dn-about-button:hover {
    color: #fff;
    background: var(--dn-blue);

    transform: translateY(-4px);

    box-shadow:
        0 20px 40px rgba(52,130,167,.22);
}


.dn-about-button:hover b {
    transform: translate(4px,-4px);
}


/* =========================================================
   PHONE
========================================================= */

.dn-phone-block {
    display: flex;
    align-items: center;
    gap: 15px;
}


.dn-phone-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    color: var(--dn-green);

    background: rgba(78,154,128,.09);

    border-radius: 50%;
}


.dn-phone-icon svg {
    width: 20px;
    height: 20px;
}


.dn-phone-block small {
    display: block;

    margin-bottom: 6px;

    color: #59645f;

    font-family:
        Inter,
        Arial,
        sans-serif;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}


.dn-phone-number {
    display: flex;
    align-items: center;
    gap: 7px;

    white-space: nowrap;

    font-family:
        Inter,
        Arial,
        sans-serif;

    font-size: 18px;
    font-weight: 800;
}


.dn-phone-number a {
    color: var(--dn-blue);
    text-decoration: none;

    transition: color .25s ease;
}


.dn-phone-number a:hover {
    color: var(--dn-orange);
}


.dn-phone-number span {
    color: #aab2af;
}


/* =========================================================
   RIGHT VISUAL
========================================================= */

.dn-about-visual {
    position: relative;

    min-height: 570px;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   MAIN ABSTRACT SHAPE
========================================================= */

.dn-visual-shape {
    position: relative;

    width: min(470px, 72%);
    aspect-ratio: .82;

    border-radius:
        48%
        52%
        47%
        53%
        /
        35%
        39%
        61%
        65%;

    background:
        radial-gradient(
            circle at 42% 38%,
            #71B59D 0%,
            #4E9A80 35%,
            #367E69 100%
        );

    transform: rotate(-3deg);

    box-shadow:
        25px 35px 80px rgba(52,130,167,.13);

    overflow: hidden;
}


.dn-visual-shape::before {
    content: "";

    position: absolute;
    inset: 10%;

    border-radius: 50%;

    border:
        1px solid rgba(242,144,34,.18);

    box-shadow:
        inset 0 0 0 28px rgba(255,255,255,.025),
        inset 0 0 0 62px rgba(255,255,255,.025);
}


.dn-visual-shape::after {
    content: "";

    position: absolute;

    width: 170%;
    height: 45%;

    left: -35%;
    bottom: 0;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.04),
            rgba(255,255,255,.00)
        );

    transform: rotate(-8deg);
}


/* =========================================================
   LOGO CIRCLE
========================================================= */

.dn-logo-circle {
    position: absolute;

    width: 285px;
    aspect-ratio: 1;

    top: 50%;
    left: 50%;

    transform:
        translate(-50%,-50%)
        rotate(3deg);

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    background:
        radial-gradient(
            circle,
            #253653 0%,
            #17263D 70%
        );

    border:
        2px solid var(--dn-orange);

    box-shadow:
        0 0 0 12px rgba(242,144,34,.07),
        0 0 0 26px rgba(255,255,255,.025),
        0 25px 55px rgba(23,38,61,.25);
}


.dn-logo-circle::before {
    content: "";

    position: absolute;
    inset: 17px;

    border-radius: 50%;

    border:
        1px dashed rgba(242,144,34,.75);
}


.dn-logo-circle::after {
    content: "";

    position: absolute;
    inset: 30px;

    border-radius: 50%;

    border:
        1px solid rgba(242,144,34,.25);
}


.dn-logo-small {
    position: relative;
    z-index: 2;

    color: var(--dn-orange);

    font-family:
        Inter,
        Arial,
        sans-serif;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: .21em;

    margin-top: -8px;
}


.dn-logo-small.bottom {
    margin-top: 10px;
    font-size: 7px;
    letter-spacing: .16em;
}


.dn-logo-main {
    position: relative;
    z-index: 2;

    margin-top: 13px;

    color: #fff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 72px;
    font-weight: 700;
    line-height: .8;
    letter-spacing: -.08em;
}


.dn-logo-line {
    position: relative;
    z-index: 2;

    width: 70px;
    height: 2px;

    margin-top: 13px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--dn-orange),
            transparent
        );
}


.dn-logo-name {
    position: relative;
    z-index: 2;

    margin-top: 9px;

    color: #d7bd6b;

    font-family:
        Inter,
        Arial,
        sans-serif;

    font-size: 9px;
    letter-spacing: .2em;
    font-weight: 700;
}


/* =========================================================
   FLOATING CARDS
========================================================= */

.dn-floating-card {
    position: absolute;
    z-index: 10;

    background:
        rgba(255,255,255,.94);

    border:
        1px solid rgba(23,38,61,.055);

    box-shadow:
        0 24px 55px rgba(23,38,61,.11);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border-radius: 20px;
}


/* =========================================================
   FAMILIES CARD
========================================================= */

.dn-families-card {
    top: 32px;
    right: 2%;

    min-width: 255px;
    min-height: 82px;

    display: flex;
    align-items: center;
    gap: 15px;

    padding: 15px 22px;
}


.dn-avatar-stack {
    display: flex;
    align-items: center;
}


.dn-avatar {
    width: 39px;
    height: 39px;

    display: grid;
    place-items: center;

    margin-left: -8px;

    border: 3px solid #fff;
    border-radius: 50%;

    font-family:
        Inter,
        Arial,
        sans-serif;

    font-size: 12px;
    font-weight: 900;
}


.dn-avatar:first-child {
    margin-left: 0;
}


.dn-avatar.green {
    color: #fff;
    background: #26705A;
}


.dn-avatar.yellow {
    color: #233047;
    background: #F2C226;
}


.dn-avatar.dark {
    color: #fff;
    background: #233047;
}


.dn-families-card small {
    color: #4e5e59;

    font-family:
        Inter,
        Arial,
        sans-serif;

    font-size: 13px;
    font-weight: 650;
}


/* =========================================================
   RATING CARD
========================================================= */

.dn-rating-card {
    left: 3%;
    bottom: 34px;

    width: 285px;

    padding: 23px 25px;
}


.dn-rating-row {
    display: flex;
    align-items: center;
    gap: 13px;
}


.dn-stars {
    color: #F3B700;

    font-size: 17px;
    letter-spacing: 2px;
}


.dn-rating-row strong {
    color: #54708C;

    font-family:
        Georgia,
        serif;

    font-size: 21px;
}


.dn-rating-card p {
    margin: 13px 0 0;

    color: #53625F;

    font-family:
        Inter,
        Arial,
        sans-serif;

    font-size: 13px;
    line-height: 1.65;
}


/* =========================================================
   DECORATIVE ELEMENTS
========================================================= */

.dn-moon {
    position: absolute;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    background: #F8D66F;
}


.dn-moon::after {
    content: "";

    position: absolute;

    width: 38px;
    height: 38px;

    top: -7px;
    left: -9px;

    border-radius: 50%;

    background: #fff;
}


.dn-moon-one {
    top: 115px;
    left: 10%;
}


.dn-moon-two {
    right: 8%;
    bottom: 95px;
}


.dn-dot {
    position: absolute;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--dn-orange);
}


.dn-dot-one {
    top: 19%;
    right: 13%;
}


.dn-dot-two {
    bottom: 13%;
    left: 18%;

    width: 5px;
    height: 5px;

    background: var(--dn-blue);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .dn-about-section {
        padding:
            80px
            25px
            90px;
    }

    .dn-about-container {
        grid-template-columns:
            minmax(0, .9fr)
            minmax(400px, 1fr);

        gap: 30px;
    }

    .dn-about-description {
        font-size: 16px;
    }

    .dn-about-visual {
        min-height: 500px;
    }

    .dn-visual-shape {
        width: 390px;
    }

    .dn-logo-circle {
        width: 245px;
    }

    .dn-families-card {
        right: 0;
        top: 20px;
    }

    .dn-rating-card {
        left: 0;
        bottom: 20px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    .dn-about-section {
        padding:
            65px
            20px
            70px;
    }

    .dn-about-container {
        display: flex;
        flex-direction: column;

        gap: 45px;
    }

    .dn-about-content {
        width: 100%;
        text-align: left;
    }

    .dn-about-eyebrow {
        gap: 8px;
        font-size: 11px;
    }

    .dn-about-eyebrow strong {
        font-size: 11px;
    }

    .dn-about-title {
        font-size: clamp(48px, 13vw, 70px);
    }

    .dn-about-description {
        max-width: 100%;

        font-size: 16px;
        line-height: 1.7;
    }

    .dn-about-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;

        margin-top: 32px;
    }

    .dn-about-visual {
        width: 100%;
        min-height: 490px;
    }

    .dn-visual-shape {
        width: 310px;
    }

    .dn-logo-circle {
        width: 210px;
    }

    .dn-logo-main {
        font-size: 58px;
    }

    .dn-families-card {
        top: 0;
        right: 2%;

        min-width: 215px;
        min-height: 68px;

        padding: 11px 15px;

        border-radius: 16px;
    }

    .dn-avatar {
        width: 32px;
        height: 32px;
    }

    .dn-families-card small {
        font-size: 11px;
    }

    .dn-rating-card {
        left: 2%;
        bottom: 0;

        width: 245px;

        padding: 17px 18px;

        border-radius: 16px;
    }

    .dn-rating-card p {
        font-size: 11px;
    }

    .dn-stars {
        font-size: 14px;
    }

    .dn-rating-row strong {
        font-size: 18px;
    }

    .dn-moon-one {
        left: 4%;
        top: 80px;
        transform: scale(.7);
    }

    .dn-moon-two {
        right: 4%;
        bottom: 70px;
        transform: scale(.7);
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .dn-about-section {
        padding:
            52px
            16px
            60px;
    }

    .dn-about-eyebrow {
        display: grid;
        grid-template-columns:
            auto auto;
        gap: 7px 9px;
    }

    .dn-about-eyebrow i {
        display: none;
    }

    .dn-about-eyebrow strong {
        grid-column: 2;
        grid-row: 1;
    }

    .dn-about-title {
        font-size: 48px;
        letter-spacing: -.06em;
    }

    .dn-title-line {
        margin-top: 20px;
    }

    .dn-about-description {
        font-size: 15px;
        line-height: 1.72;
    }

    .dn-about-button {
        width: 100%;
        height: 58px;
    }

    .dn-phone-block {
        width: 100%;
    }

    .dn-phone-number {
        flex-wrap: wrap;
        font-size: 16px;
    }

    .dn-about-visual {
        min-height: 400px;
    }

    .dn-visual-shape {
        width: 265px;
    }

    .dn-logo-circle {
        width: 180px;
    }

    .dn-logo-main {
        font-size: 50px;
    }

    .dn-logo-small {
        font-size: 7px;
    }

    .dn-logo-name {
        font-size: 7px;
    }

    .dn-families-card {
        min-width: 190px;

        transform:
            scale(.88);

        transform-origin:
            top right;
    }

    .dn-rating-card {
        width: 215px;

        transform:
            scale(.9);

        transform-origin:
            bottom left;
    }
}


/* =========================================================
   ACCESSIBILITY / REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: no-preference) {

    .dn-visual-shape {
        animation:
            dnFloatShape
            7s
            ease-in-out
            infinite;
    }

    .dn-families-card {
        animation:
            dnFloatTop
            6s
            ease-in-out
            infinite;
    }

    .dn-rating-card {
        animation:
            dnFloatBottom
            6.5s
            ease-in-out
            infinite;
    }
}


@keyframes dnFloatShape {

    0%,100% {
        transform:
            rotate(-3deg)
            translateY(0);
    }

    50% {
        transform:
            rotate(-1deg)
            translateY(-10px);
    }
}


@keyframes dnFloatTop {

    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}


@keyframes dnFloatBottom {

    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(7px);
    }
}
