/* =========================================================
   PSY PAGE
   Everything scoped to .psy-page

   Section IDs / Classes:
   psy-hero
   psy-stats
   psy-intro
   psy-help
   psy-conditions
   psy-approach
   psy-signs
   ========================================================= */

.psy-page {
    --g: #1f4d34;
    --m: #89C3AA;

    font: 400 15px / 1.5 'Inter', sans-serif;
    color: #1a1a1a;
    overflow: hidden;
    background: #fdf9e8;
}

.psy-page p {
    margin: 0;
}

.psy-page img {
    max-width: 100%;
    height: auto;
}


/* =========================================================
   SHARED STYLES
   ========================================================= */
.service-bg-9-main{
    margin-top: 30px;
}
.psy-h2 {
    font: 400 clamp(26px, 3.3vw, 40px) / 1.25 'Young Serif', serif;
    color: var(--g);
    margin: 0;
}

.psy-h2--left {
    text-align: left;
}

.psy-btn {
    display: inline-block;
    background: var(--g);
    color: #fff;
    font: 400 14px 'Young Serif', serif;
    padding: 11px 28px;
    border-radius: 5px;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
}

.psy-btn:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(31, 77, 52, 0.35);
}

.psy-btn--sm {
    width: 215px;
    padding: 9px 0;
    text-align: center;
}

.psy-line {
    border: 0;
    border-top: 1px solid var(--g);
    opacity: 1;
    margin: 30px 0 0;
}

.psy-line--short {
    max-width: 620px;
    margin: 60px auto 0;
}

.psy-page [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s, transform 0.8s;
    transition-delay: var(--d, 0s);
}

.psy-page [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}


/* =========================================================
   PSY HERO
   ========================================================= */

.psy-hero {
    position: relative;
    padding: clamp(90px, 10vw, 150px) 0 40px;
}
.psy-hero {
 background-image: url("/assets/images/Banner Bg.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center bottom;
}

.psy-hero__title {
    font: 700 clamp(28px, 4.2vw, 52px) / 1.1 'Inter', sans-serif;
    color: var(--g);
    margin: 0 0 18px;
    animation: psyIn 1s both;
}

.psy-hero__sub {
    font: 400 15px 'Young Serif', serif;
    color: var(--g);
    margin-bottom: 28px !important;
    animation: psyIn 1s 0.2s both;
}

.psy-hero .psy-btn {
    animation: psyIn 1s 0.4s both;
}

.psy-hero__more {
    display: block;
    width: max-content;
    margin: clamp(50px, 9vw, 110px) auto 0;
    font-size: 11px;
    line-height: 1.3;
    color: inherit;
    text-decoration: none;
}

.psy-hero__more svg {
    display: block;
    margin: 4px auto 0;
    animation: psyBounce 1.6s infinite;
}


/* =========================================================
   PSY STATS
   ========================================================= */

.psy-stats {
    max-width: 920px;
    margin: 0 auto;
    padding: 30px 15px 0;
}

.psy-stats__box {
    display: flex;
    justify-content: space-between;
    background: #fcf3dc;
    padding: 22px clamp(20px, 6vw, 60px);
    text-align: center;
}

.psy-stats__box > div {
    transition: transform 0.3s;
}

.psy-stats__box > div:hover {
    transform: scale(1.08);
}

.psy-stats strong {
    display: block;
    font: 400 26px 'Young Serif', serif;
    color: var(--g);
}

.psy-stats span {
    font: 400 11px 'Young Serif', serif;
    color: var(--g);
}


/* =========================================================
   PSY INTRO
   ========================================================= */

.psy-intro {
    padding: 60px 0 0;
}

.psy-intro__sub {
    font: 400 clamp(18px, 2.2vw, 24px) 'Young Serif', serif;
    color: var(--g);
    margin: 14px 0 8px;
}

.psy-intro__lead {
    font-size: 14px;
    margin-bottom: 6px;
}

.psy-intro__text {
    max-width: 760px;
    margin: 0 auto !important;
    font-size: 18px;
}

.psy-intro__imgs {
    display: flex;
    justify-content: center;
    gap: clamp(20px, 10vw, 170px);
    margin-top: 36px;
}

.psy-intro__imgs img {
    width: clamp(120px, 22vw, 200px);
    transition: transform 0.5s;
}

.psy-intro__imgs img:hover {
    transform: translateY(-8px) scale(1.04);
}


/* =========================================================
   PSY HELP
   ========================================================= */

.psy-help {
    padding: 40px 0 0;
}

.psy-help .container,
.psy-conditions .container,
.psy-approach .container {
    max-width: 900px;
}

.psy-text p + p {
    margin-top: 24px;
}

.bg-green {
    background: #89C3AA;
    border-radius: 22px;
    padding: 10px;
    margin: 20px auto;
}
/* =========================================================
   PSY CONDITIONS
   ========================================================= */

.psy-conditions {
    padding: 50px 0 70px;
}

.psy-map {
    position: relative;
    max-width: 725px;
    aspect-ratio: 725 / 560;
    margin: 0 auto;
}

.psy-map__lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #1a1a1a;
    stroke-width: 1;
}

.psy-dot {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 17.2%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--m);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5%;
    text-align: center;
    font: 400 clamp(6px, 1.15vw, 12px) / 1.3 'Young Serif', serif;
    transition: transform 0.3s, background 0.3s;
}

.psy-dot:hover {
    transform: translate(-50%, -50%) scale(1.12);
    background: #7ab99a;
    z-index: 2;
}

.psy-map__figure {
    position: absolute;
    left: 49.7%;
    top: 65%;
    width: 14%;
    transform: translate(-50%, -50%);
}

.psy-actions {
    display: flex;
    justify-content: space-between;
    max-width: 735px;
    margin: 10px auto 0;
}


/* =========================================================
   PSY APPROACH
   ========================================================= */

.psy-approach {
    padding: 70px 0 0;
    background: linear-gradient(
        #fdf9e8,
        #eef5ec 12%,
        #eef5ec 88%,
        #fdf9e8
    );
}

.psy-approach__head {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 30px;
    align-items: flex-end;
}

.psy-approach__head .psy-h2 {
    flex: 0 0 280px;
}

.psy-approach__head p {
    flex: 1 1 320px;
    font-weight: 500;
    font-size: 18px;
    text-align: justify;
}

.psy-steps {
    list-style: none;
    margin: 60px 0 0;
    padding: 0;
}

.psy-steps li {
    position: relative;
    width: 50%;
    min-height: 75px;
    margin-bottom: 30px;
    font-size: 18px;
    padding-left: 84px;
}

.psy-steps li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 46px;
    height: 52px;
    background: var(--g);
    clip-path: polygon(
        0 0,
        100% 50%,
        0 100%
    );
    transition: transform 0.3s;
}

.psy-steps li:hover::before {
    transform: translateX(6px);
}

.psy-steps li:nth-child(odd) {
    margin-left: calc(50% - 0px);
    padding-left: 84px;
}

.psy-steps li:nth-child(even) {
    text-align: right;
    padding: 0 84px 0 0;
}

.psy-steps li:nth-child(even)::before {
    left: auto;
    right: 0;
    clip-path: polygon(
        100% 0,
        0 50%,
        100% 100%
    );
}

.psy-steps li:nth-child(even):hover::before {
    transform: translateX(-6px);
}


/* =========================================================
   PSY SIGNS
   ========================================================= */

.psy-signs {
    padding: 70px 0 90px;
    background: #fffdf8;
}

.psy-signs__lead {
    margin: 14px 0 50px !important;
    font-size: 18px;
}

.psy-signs__grid {
    list-style: none;
    counter-reset: n;
    margin: 30px auto;
    padding: 0;
    max-width: 760px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 26px 18px;
    text-align: left;
}

.psy-signs__grid li {
    position: relative;
    counter-increment: n;
    background: var(--m);
    border-radius: 14px;
    padding: 38px 18px 22px;
    font-size: 18px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.psy-signs__grid li:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 22px rgba(31, 77, 52, 0.2);
}

.psy-signs__grid li::before {
    content: counter(n);
    position: absolute;
    top: -2px;
    left: -2px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--g);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 14px;
}

.psy-signs__grid li:nth-child(1) {
    grid-column: 5 / 8;
}

.psy-signs__grid li:nth-child(2) {
    grid-column: 9 / 12;
}

.psy-signs__grid li:nth-child(3) {
    grid-column: 1 / 4;
}

.psy-signs__grid li:nth-child(4) {
    grid-column: 7 / 12;
}

.psy-signs__grid li:nth-child(5) {
    grid-column: 2 / 5;
}

.psy-signs__grid li:nth-child(6) {
    grid-column: 9 / 12;
}

.psy-signs__grid li:nth-child(7) {
    grid-column: 2 / 5;
}

.psy-signs__figure {
    grid-column: 5 / 9;
    grid-row: 3 / 5;
    align-self: center;
    justify-self: center;
    width: 100%;
    max-width: 220px !important;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes psyIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
}

@keyframes psySway {
    from {
        transform: rotate(-1.5deg);
    }

    to {
        transform: rotate(2deg);
    }
}

@keyframes psyBounce {
    50% {
        transform: translateY(5px);
    }
}


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

@media (prefers-reduced-motion: reduce) {

    .psy-page * {
        animation: none !important;
        transition: none !important;
    }

    .psy-page [data-reveal] {
        opacity: 1;
        transform: none;
    }
}


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

@media (max-width: 767.98px) {

    .psy-map {
        aspect-ratio: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .psy-map__lines,
    .psy-map__figure {
        display: none;
    }

    .psy-dot {
        position: static;
        transform: none;
        width: 100%;
        max-width: 150px;
        margin: 0 auto !important;
        font-size: 11px;
        padding: 14px;
    }

    .psy-dot:hover {
        transform: scale(1.05);
    }

    .psy-actions {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        margin-top: 40px;
    }

    .psy-approach__head .psy-h2 {
        flex-basis: 100%;
    }

    .psy-steps li,
    .psy-steps li:nth-child(odd),
    .psy-steps li:nth-child(even) {
        width: 100%;
        margin: 0 0 36px;
        padding: 0 0 0 64px;
        text-align: left;
    }

    .psy-steps li::before,
    .psy-steps li:nth-child(even)::before {
        left: 0;
        right: auto;
        width: 36px;
        height: 42px;
        clip-path: polygon(
            0 0,
            100% 50%,
            0 100%
        );
    }

    .psy-signs__grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .psy-signs__figure {
        order: -1;
        max-width: 170px;
        margin: 0 auto;
    }
}
