header {
    .first-p {
        font-size: 28px;
        margin: 4px 0;
    }
}

h1,
h2.contact-title {
    color: #c45c8b;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: var(--spacing-m);
    line-height: 1.4;
    position: relative;

    &::after {
        content: "";
        display: block;
        width: 80px;
        height: 3px;
        background-color: #c45c8b;
        margin: 0.8rem auto 0;
        border-radius: 2px;
    }

    @media (width <=768px) {
        font-size: 1.5rem;

        &::after {
            width: 50px;
            height: 2px;
        }
    }
}

.trainer-contact {
    max-width: 960px;
    margin: var(--spacing-l) auto 0;
    padding: var(--spacing-l) 14px;
    background-color: #f9f9f9;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;

    .contact-title {
        font-size: 2rem;
        font-weight: bold;
        margin-bottom: var(--spacing-l);
    }

    .contact-cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        margin-top: var(--spacing-l);

        .contact-card {
            background-color: #fff;
            border-radius: 1rem;
            padding: 1.5rem;
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, background-color 0.3s ease;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            text-decoration: none;
            color: inherit;

            &:hover {
                transform: translateY(-6px);
                background-color: #fef9fb;
            }

            i {
                font-size: 2.5rem;
                margin-bottom: 0.75rem;
                transition: transform 0.3s ease;
            }

            &.instagram i {
                color: #e4405f;
            }

            &.x i {
                color: #000;
            }

            &.youtube i {
                color: #ff0000;
            }

            &.email i {
                color: #000000;
            }

            &.phone i {
                color: #28b48d;
            }

            &.line i {
                color: #06c755;
            }

            span {
                display: block;
                font-size: 1.1rem;
                font-weight: bold;
                color: #555;
                margin-bottom: 0.5rem;
            }

            a,
            div {
                font-size: 1rem;
                font-weight: bold;
                color: #f79c42;
                transition: color 0.3s ease;

                &:hover {
                    color: #f45d6e;
                    text-decoration: underline;
                }
            }
        }
    }

    @media (width <=768px) {
        .contact-cards {
            grid-template-columns: 1fr;
            gap: 1rem;
        }

        .contact-card {
            padding: 1.2rem;
        }
    }
}

.cta-area {
    margin: 4rem auto 0;
    max-width: 960px;
    padding: 3rem 1.5rem;
    background: linear-gradient(135deg, #c2f0e0, #f5fdf8);
    border-radius: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;

    &::before {
        content: '';
        position: absolute;
        top: -20%;
        right: -20%;
        width: 200px;
        height: 200px;
        background: radial-gradient(circle, rgba(72, 239, 192, 0.25), transparent);
        z-index: 0;
        border-radius: 50%;
    }

    .cta-message {
        font-size: 1.2rem;
        font-weight: 600;
        color: #2e7d5f;
        margin-bottom: 1rem;
        z-index: 1;
        position: relative;
    }

    .cta-button {
        display: inline-block;
        font-weight: bold;
        padding: 0.85rem 2.5rem;
        font-size: 1.05rem;
        border-radius: 2rem;
        text-decoration: none;
        transition: all 0.3s ease;
        z-index: 1;
        position: relative;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

        &.cta-primary {
            background-color: #28b48d;
            color: #fff;

            &:hover {
                background-color: #21a07d;
                transform: scale(1.05);
            }

            &:active {
                transform: scale(0.97);
            }
        }

        &.cta-secondary {
            background-color: #c45c8b;
            color: #fff;

            &:hover {
                background-color: #b24a79;
                transform: scale(1.05);
            }

            &:active {
                transform: scale(0.97);
            }
        }
    }

    @media (width <=768px) {
        padding: 2rem 1rem;

        .cta-message {
            font-size: 1.05rem;
        }

        .cta-button {
            font-size: 1rem;
            padding: 0.75rem 2rem;
        }
    }

    @media (width <=480px) {
        .cta-button {
            display: block;
            width: 100%;
            max-width: 320px;
            margin: 0.75rem auto;
        }
    }
}