.pha-footer-agency,
        .pha-footer-agency * {
            box-sizing: border-box;
            font-family: inherit !important;
        }

        .pha-footer-agency {
            position: relative;
            left: 50%;
            right: 50%;
            width: 100vw;
            max-width: 100vw;
            margin-left: -50vw;
            margin-right: -50vw;
            overflow: hidden;
            background: #424242;
            color: #ffffff;
            padding: 60px 20px 150px;
            border-top: 1px solid rgba(255,255,255,0.08);
        }

        .pha-footer-agency::before {
            content: "";
            position: absolute;
            inset: 0;
            pointer-events: none;
            opacity: 0.10;
            background-image:
                linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
            background-size: 46px 46px;
            z-index: 0;
        }

        .pha-footer-agency-inner {
            position: relative;
            z-index: 2;
            width: min(1320px, calc(100vw - 40px));
            margin: 0 auto;
        }

        .pha-footer-agency-inner::after {
            content: "YAREP";
            position: absolute;
            right: -10px;
            bottom: -30px;
            font-size: clamp(56px, 10vw, 144px);
            line-height: 1;
            font-weight: 800;
            letter-spacing: -0.06em;
            color: rgba(255,255,255,0.05);
            pointer-events: none;
            white-space: nowrap;
            z-index: 0;
        }

        .pha-footer-agency-top {
            display: grid;
            grid-template-columns: 360px minmax(0, 1fr);
            gap: 28px;
            margin-bottom: 28px;
            position: relative;
            z-index: 2;
        }

        .pha-footer-brand-block,
        .pha-footer-agency-cta,
        .pha-footer-col {
            border: 1px solid rgba(255,255,255,0.12);
            background: rgba(255,255,255,0.045);
            border-radius: 20px;
            backdrop-filter: blur(2px);
        }

        .pha-footer-brand-block {
            padding: 24px;
        }

        .pha-footer-logo-card {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: #ffffff;
            border-radius: 12px;
            padding: 14px 16px;
            margin-bottom: 18px;
            max-width: 260px;
            text-decoration: none !important;
        }

        .pha-footer-logo {
            display: block;
            max-width: 225px;
            height: auto;
        }

        .pha-footer-brand-block p {
            color: rgba(255,255,255,0.78);
            font-size: 14px;
            line-height: 1.8;
            margin: 0 0 18px;
        }

        .pha-footer-badges {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .pha-footer-badges span {
            min-height: 31px;
            display: inline-flex;
            align-items: center;
            padding: 0 12px;
            border-radius: 999px;
            background: rgba(255,255,255,0.05);
            border: 1px solid rgba(255,255,255,0.14);
            color: rgba(255,255,255,0.88);
            font-size: 11px;
            font-weight: 700;
        }

        .pha-footer-agency-cta {
            position: relative;
            padding: 32px 30px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            overflow: hidden;
        }

        .pha-footer-agency-cta::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            width: 5px;
            height: 100%;
            background: #FDFBB8;
        }

        .pha-footer-kicker {
            display: inline-flex;
            width: fit-content;
            margin-bottom: 10px;
            color: #FDFBB8;
            font-size: 12px;
            font-weight: 800;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }

        .pha-footer-agency-cta h3 {
            color: #ffffff;
            font-size: clamp(28px, 3.2vw, 44px);
            line-height: 1.08;
            letter-spacing: -0.035em;
            margin: 0 0 14px;
            max-width: 720px;
            font-weight: 800;
        }

        .pha-footer-agency-cta p {
            color: rgba(255,255,255,0.74);
            font-size: 15px;
            line-height: 1.75;
            max-width: 620px;
            margin: 0 0 22px;
        }

        .pha-footer-cta-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .pha-footer-btn {
            min-height: 44px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0 18px;
            border-radius: 12px;
            font-size: 13px;
            font-weight: 800;
            text-decoration: none !important;
            transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
        }

.pha-footer-btn.primary,
.pha-footer-btn.primary:link,
.pha-footer-btn.primary:visited {
    background: #FDFBB8 !important;
    color: #303030 !important;
    -webkit-text-fill-color: #303030 !important;
    border: 1px solid #FDFBB8 !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

.pha-footer-btn.primary:hover,
.pha-footer-btn.primary:focus,
.pha-footer-btn.primary:active {
    background: #e9465c !important;
    border-color: #e9465c !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    transform: translateY(-2px);
}

.pha-footer-btn.secondary,
.pha-footer-btn.secondary:link,
.pha-footer-btn.secondary:visited {
    background: transparent !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.22) !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

.pha-footer-btn.secondary:hover,
.pha-footer-btn.secondary:focus,
.pha-footer-btn.secondary:active {
    background: #FDFBB8 !important;
    border-color: #FDFBB8 !important;
    color: #303030 !important;
    -webkit-text-fill-color: #303030 !important;
    transform: translateY(-2px);
}

        .pha-footer-agency-links {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 20px;
            padding-top: 28px;
            border-top: 1px solid rgba(255,255,255,0.14);
            position: relative;
            z-index: 2;
        }

        .pha-footer-col {
            min-width: 0;
            padding: 18px;
            position: relative;
            z-index: 2;
        }

        .pha-footer-col h4 {
            color: #ffffff;
            font-size: 15px;
            font-weight: 800;
            margin: 0 0 18px;
            padding-bottom: 12px;
            position: relative;
        }

        .pha-footer-col h4::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 42px;
            height: 3px;
            border-radius: 99px;
            background: linear-gradient(90deg, #e9465c 0%, #FDFBB8 100%);
        }

        .pha-footer-col a {
            display: flex;
            align-items: center;
            width: fit-content;
            color: rgba(255,255,255,0.76) !important;
            font-size: 13px;
            line-height: 1.5;
            text-decoration: none !important;
            margin-bottom: 11px;
            transition: color 0.2s ease, transform 0.2s ease;
        }

        .pha-footer-col a::before {
            content: "";
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: #FDFBB8;
            margin-right: 9px;
            opacity: 0.95;
        }

        .pha-footer-col a:hover {
            color: #ffffff !important;
            transform: translateX(4px);
        }

        .pha-footer-newsletter p {
            color: rgba(255,255,255,0.74);
            font-size: 13px;
            line-height: 1.7;
            margin: 0 0 14px;
        }

        .pha-footer-form {
            display: flex;
            align-items: center;
            height: 44px;
            background: #ffffff;
            border-radius: 12px;
            overflow: hidden;
            margin-bottom: 8px;
            border: 1px solid rgba(255,255,255,0.18);
        }

        .pha-footer-form input {
            width: 100%;
            min-width: 0;
            height: 44px;
            border: 0 !important;
            background: #ffffff !important;
            color: #424242 !important;
            padding: 0 14px !important;
            outline: 0 !important;
            box-shadow: none !important;
            font-size: 13px;
            font-family: inherit !important;
        }

        .pha-footer-form input::placeholder {
            color: rgba(66,66,66,0.45);
        }

.pha-footer-form button,
.pha-footer-form button[type="submit"] {
    min-width: 86px;
    height: 44px;
    border: 0 !important;
    border-radius: 0 !important;
    background: #FDFBB8 !important;
    color: #303030 !important;
    -webkit-text-fill-color: #303030 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    font-size: 14px;
    font-weight: 900;
    padding: 0 18px;
    opacity: 1 !important;
    visibility: visible !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

.pha-footer-form button:hover,
.pha-footer-form button:focus,
.pha-footer-form button:active {
    background: #e9465c !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
}
        .pha-footer-form.is-subscribed {
            background: rgba(253,251,184,0.98);
            border-color: #FDFBB8;
        }

        .pha-footer-form.is-subscribed input {
            background: rgba(253,251,184,0.98) !important;
            color: #303030 !important;
            font-weight: 800;
        }

.pha-footer-form.is-subscribed button,
.pha-footer-form.is-subscribed button[type="submit"] {
    background: #e9465c !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
}

        .pha-footer-form-message {
            min-height: 18px;
            color: #FDFBB8;
            font-size: 12px;
            line-height: 1.4;
            font-weight: 700;
        }

        .pha-footer-curvebar {
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            min-height: 128px;
            z-index: 3;
            pointer-events: none;
            display: flex;
            align-items: flex-end;
            padding: 0 20px 24px;
        }

        .pha-footer-curvebar-bg {
            position: absolute;
            left: -10%;
            right: -10%;
            bottom: 0;
            height: 160px;
            background:
                radial-gradient(circle at 25% 22%, rgba(255,255,255,0.10), transparent 30%),
                linear-gradient(135deg, #e9465c 0%, #d9364d 54%, #bd2038 100%);
            border-radius: 50% 50% 0 0 / 100% 100% 0 0;
            z-index: 1;
        }

        .pha-footer-curvebar-inner {
            position: relative;
            z-index: 3;
            width: min(1320px, calc(100vw - 40px));
            margin: 0 auto;
            min-height: 54px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
            color: #ffffff;
            font-size: 13px;
            pointer-events: auto;
            padding: 13px 16px;
            border-radius: 16px;
            background: rgba(255,255,255,0.08);
            border: 1px solid rgba(255,255,255,0.12);
            backdrop-filter: blur(3px);
        }

        .pha-footer-copy {
            font-weight: 700;
            color: #ffffff;
        }

        .pha-footer-bottom-links {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            justify-content: flex-end;
            gap: 18px;
        }

        .pha-footer-bottom-links a {
            color: #ffffff !important;
            text-decoration: none !important;
            font-weight: 800;
        }

        .pha-footer-bottom-links a:hover {
            color: #FDFBB8 !important;
        }

        @media (max-width: 1024px) {
            .pha-footer-agency-top {
                grid-template-columns: 1fr;
            }

            .pha-footer-agency-links {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 640px) {
            .pha-footer-agency {
                padding: 38px 14px 170px;
            }

            .pha-footer-agency-inner {
                width: min(100%, calc(100vw - 28px));
            }

            .pha-footer-agency-inner::after {
                font-size: 72px;
                right: -6px;
                bottom: 10px;
            }

            .pha-footer-brand-block,
            .pha-footer-agency-cta,
            .pha-footer-col {
                border-radius: 14px;
            }

            .pha-footer-brand-block {
                padding: 18px;
            }

            .pha-footer-agency-cta {
                padding: 24px 20px;
            }

            .pha-footer-agency-links {
                grid-template-columns: 1fr;
                gap: 14px;
            }

            .pha-footer-logo-card {
                max-width: 100%;
            }

            .pha-footer-logo {
                max-width: 210px;
            }

            .pha-footer-form {
                height: 46px;
            }

            .pha-footer-form input,
            .pha-footer-form button {
                height: 46px;
            }

            .pha-footer-form button {
                min-width: 74px;
                padding: 0 14px;
            }

            .pha-footer-curvebar {
                min-height: 155px;
                padding: 0 14px 18px;
            }

            .pha-footer-curvebar-bg {
                height: 190px;
                bottom: 0;
            }

            .pha-footer-curvebar-inner {
                width: min(100%, calc(100vw - 28px));
                flex-direction: column;
                text-align: center;
                justify-content: center;
                gap: 10px;
                padding: 14px 12px;
                border-radius: 14px;
            }

            .pha-footer-bottom-links {
                justify-content: center;
                gap: 14px;
            }
        }

.pha-footer-agency .yarep-footer-contact{margin-top:28px;padding-top:20px;border-top:1px solid rgba(255,255,255,.18);overflow-wrap:anywhere}
.pha-footer-agency .yarep-footer-contact p{margin:6px 0}

.pha-footer-logo-card { flex-direction:column; }
.pha-footer-logo-card .yarep-company-name { display:block; margin-top:6px; max-width:225px; text-align:center; color:#303030; font-size:11px; font-weight:500; line-height:1.35; overflow-wrap:anywhere; }
