/* ==========================================================================
   /year-end-property-valuation-dubai (2026-11-11): the page's own sections, laid
   out on the frv service layout (includes/frv-service-page.php, 'raw' blocks).
   Prefix .yev-. Light and ruled, in the theme's vocabulary: hairline grids,
   line icons in the brand blue, white cards on the mist band that lift on hover.
   ========================================================================== */

.yev {
    --yev-brand: #0b2dbe;
    --yev-brand-700: #0a27a3;
    --yev-ink: #0b1533;
    --yev-body: #5b6478;
    --yev-muted: #8a93a6;
    --yev-line: #e3e8f2;
    --yev-mist: #f5f7fc;
}

.yev .yev-h2 {
    margin: 0;
    font-size: clamp(28px, 2.7vw, 42px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -.025em;
    color: var(--yev-ink);
    text-wrap: balance;
}

.yev .yev-sub {
    margin: 14px 0 0;
    font-size: clamp(16px, 1.15vw, 18px);
    line-height: 1.5;
    color: var(--yev-ink);
}

.yev .yev-p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--yev-body);
}

.yev .yev-p + .yev-p {
    margin-top: 14px;
}

.yev .yev-ico {
    display: block;
    width: 28px;
    height: 28px;
    color: var(--yev-brand);
}

/* the shared head row: heading left, copy right, on the frv 5/6 split */
.yev-head {
    display: grid;
    gap: 18px 64px;
    align-items: end;
    margin-bottom: clamp(32px, 3.4vw, 48px);
}

@media (min-width: 1024px) {
    .yev-head {
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    }
}

/* ---------------------------------------------------------------- 1. credibility strip */
.yev-strip {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--yev-line);
    background: #fff;
}

.yev-strip::before,
.yev-strip::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    width: 80px;
    pointer-events: none;
}

.yev-strip::before {
    left: 0;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
}

.yev-strip::after {
    right: 0;
    background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0));
}

.yev-strip__track {
    display: flex;
    width: max-content;
    animation: yevTicker 46s linear infinite;
}

.yev-strip:hover .yev-strip__track {
    animation-play-state: paused;
}

.yev-strip__set {
    display: flex;
    align-items: center;
    flex: none;
    margin: 0;
    padding: 0;
    list-style: none;
}

.yev-strip__item {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 22px 36px;
    white-space: nowrap;
}

.yev-strip__item + .yev-strip__item {
    border-left: 1px solid var(--yev-line);
}

.yev-strip__num {
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.02em;
    color: var(--yev-brand);
}

.yev-strip__label {
    font-size: 14px;
    line-height: 1.3;
    color: var(--yev-body);
}

.yev-strip__logo {
    align-items: center;
}

.yev-strip__logo img {
    display: block;
    width: auto;
    height: 34px;
}

@keyframes yevTicker {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

/* ---------------------------------------------------------------- intro lead line */
.yev .yev-lead {
    margin: 0 0 16px;
    font-size: clamp(17px, 1.25vw, 20px);
    line-height: 1.5;
    color: var(--yev-ink);
}

/* ---------------------------------------------------------------- 2. why it matters + benefits */
.yev-why__intro .yev-p {
    max-width: 44em;
}

.yev-why__subhead {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0 0 22px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--yev-ink);
}

.yev-why__subhead::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: var(--yev-line);
}

.yev-cards {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 640px) {
    .yev-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .yev-cards--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .yev-cards--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.yev-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 100%;
    padding: 26px 24px 28px;
    border: 1px solid var(--yev-line);
    background: #fff;
    transition: box-shadow .35s ease, border-color .35s ease, transform .35s ease;
}

.yev-card::before {
    content: "";
    position: absolute;
    left: -1px;
    right: -1px;
    top: -1px;
    height: 2px;
    background: var(--yev-brand);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}

.yev-card:hover {
    border-color: #d2dbee;
    box-shadow: 0 22px 44px -30px rgba(10, 33, 82, .35);
    transform: translateY(-2px);
}

.yev-card:hover::before {
    transform: scaleX(1);
}

.yev-card .yev-ico {
    margin-bottom: 10px;
}

.yev-card__title {
    margin: 0;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -.01em;
    color: var(--yev-ink);
}

.yev-card__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--yev-body);
}

/* ---------------------------------------------------------------- 3. checklist */
.yev-check {
    display: grid;
    gap: 40px;
}

@media (min-width: 1100px) {
    .yev-check {
        grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
        gap: 64px;
        align-items: stretch;
    }
}

.yev-check__head {
    margin-bottom: 30px;
}

.yev-steps {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--yev-line);
}

@media (min-width: 640px) {
    .yev-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 40px;
    }
}

.yev-step {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 4px 14px;
    padding: 22px 0;
    border-bottom: 1px solid var(--yev-line);
}

.yev-step__num {
    grid-row: 1 / 3;
    padding-top: 3px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .06em;
    color: var(--yev-brand);
}

.yev-step__title {
    margin: 0;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--yev-ink);
}

.yev-step__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--yev-body);
}

.yev-provide {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--yev-line);
    background: #fff;
}

.yev-provide__img {
    position: relative;
    aspect-ratio: 16 / 10;
    margin: 0;
    overflow: hidden;
}

.yev-provide__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yev-provide__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 18px;
    padding: 28px;
}

.yev-provide__title {
    margin: 0;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -.01em;
    color: var(--yev-ink);
}

.yev-ticks {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.yev-ticks li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.45;
    color: var(--yev-ink);
}

.yev-ticks svg {
    flex: none;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    color: var(--yev-brand);
}

.yev-provide .frv-actions {
    margin-top: auto;
    padding-top: 6px;
}

/* ---------------------------------------------------------------- 4. why Reliant */
.yev-grid {
    display: grid;
    gap: 1px;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid var(--yev-line);
    background: var(--yev-line);
}

@media (min-width: 640px) {
    .yev-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .yev-grid--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .yev-grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.yev-cell {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 30px 28px 32px;
    background: #fff;
    transition: background-color .35s ease;
}

.yev-cell:hover {
    background: var(--yev-mist);
}

.yev-cell .yev-ico {
    margin-bottom: 12px;
}

.yev-cell__title {
    margin: 0;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -.01em;
    color: var(--yev-ink);
}

.yev-cell__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--yev-body);
}

/* the figure cells read their number first */
.yev-cell__fig {
    font-size: clamp(28px, 2.4vw, 36px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.03em;
    color: var(--yev-brand);
}

.yev-awards {
    display: grid;
    gap: 16px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 640px) {
    .yev-awards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .yev-awards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.yev-award {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid var(--yev-line);
    background: #fff;
}

.yev-award__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 64px;
    height: 56px;
}

.yev-award__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.yev-award__text {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.yev-award__title {
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--yev-ink);
}

.yev-award__sub {
    font-size: 12.5px;
    line-height: 1.35;
    color: var(--yev-muted);
}

/* ---------------------------------------------------------------- 6. approach */
.yev-approach {
    display: grid;
    gap: 40px;
}

@media (min-width: 1100px) {
    .yev-approach {
        grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
        gap: 64px;
        align-items: stretch;
    }
}

.yev-approach__media {
    position: relative;
    min-height: 320px;
    margin: 0;
    overflow: hidden;
}

.yev-approach__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yev-approach__copy {
    margin: 22px 0 34px;
}

.yev-approach__label {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--yev-ink);
}

.yev-approach__label::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: var(--yev-line);
}

.yev-expect {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 640px) {
    .yev-expect {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 40px;
    }
}

.yev-expect li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 4px 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--yev-line);
}

.yev-expect .yev-ico {
    grid-row: 1 / 3;
    width: 22px;
    height: 22px;
    margin-top: 1px;
}

.yev-expect__title {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--yev-ink);
}

.yev-expect__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--yev-body);
}

/* the closing statement under the approach */
.yev-statement {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 40px;
    margin-top: clamp(40px, 4vw, 56px);
    padding-top: clamp(28px, 3vw, 40px);
    border-top: 1px solid var(--yev-line);
}

.yev-statement__text {
    margin: 0;
    max-width: 24em;
    font-size: clamp(24px, 2.2vw, 34px);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -.02em;
    color: var(--yev-ink);
    text-wrap: balance;
}

.yev-statement__text span {
    color: var(--yev-brand);
}

/* ---------------------------------------------------------------- 7. enquiry form */
.yev-form {
    display: grid;
    gap: 36px;
}

@media (min-width: 1100px) {
    .yev-form {
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        gap: 64px;
        align-items: start;
    }
}

.yev-form__contacts {
    display: grid;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--yev-line);
}

.yev-form__contacts li {
    border-bottom: 1px solid var(--yev-line);
}

.yev-form__contacts a,
.yev-form__contacts span.yev-form__row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    color: var(--yev-ink);
    font-size: 15.5px;
    line-height: 1.4;
    text-decoration: none;
}

.yev-form__contacts a:hover {
    color: var(--yev-brand);
}

.yev-form__contacts svg {
    flex: none;
    width: 20px;
    height: 20px;
    color: var(--yev-brand);
}

.yev-form__contacts small {
    display: block;
    font-size: 12px;
    color: var(--yev-muted);
}

.yev-form__card {
    padding: clamp(22px, 2.6vw, 36px);
    border: 1px solid var(--yev-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 60px -40px rgba(10, 33, 82, .35);
}

.yev-form__title {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -.01em;
    color: var(--yev-ink);
}

.yev-form__intro {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--yev-body);
}

.yev-fields {
    display: grid;
    gap: 10px;
}

@media (min-width: 576px) {
    .yev-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.yev-field {
    position: relative;
    min-width: 0;
    margin: 0;
}

.yev-field--wide {
    grid-column: 1 / -1;
}

.yev-field label {
    position: absolute;
    top: 9px;
    left: 14px;
    right: 34px;
    z-index: 1;
    overflow: hidden;
    margin: 0;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--yev-muted);
    pointer-events: none;
}

.yev-field label span {
    color: var(--yev-brand);
}

.yev-field:focus-within label {
    color: var(--yev-brand);
}

.yev-input {
    display: block;
    width: 100%;
    height: 54px;
    margin: 0;
    padding: 23px 14px 7px;
    border: 1px solid #dfe5f0;
    border-radius: 10px;
    background: #f7f9fc;
    box-shadow: none;
    font-size: 15px;
    line-height: 1.4;
    color: var(--yev-ink);
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.yev-input::placeholder {
    color: #a7afbf;
    opacity: 1;
}

.yev-input:hover {
    border-color: #c9d2e3;
}

.yev-input:focus {
    outline: none;
    border-color: var(--yev-brand);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(11, 45, 190, .12);
}

select.yev-input {
    padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6478' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px 14px;
    cursor: pointer;
}

select.yev-input:invalid {
    color: #a7afbf;
}

select.yev-input option {
    color: var(--yev-ink);
}

textarea.yev-input {
    height: 96px;
    padding-top: 26px;
    resize: vertical;
}

.yev-form__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 20px;
    margin-top: 16px;
}

.yev-form__foot .g-recaptcha {
    min-height: 78px;
}

.yev-form__note {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 14px 0 0;
    font-size: 13px;
    color: var(--yev-muted);
}

.yev-form__note svg {
    flex: none;
    width: 14px;
    height: 14px;
    color: var(--yev-brand);
}

/* ---------------------------------------------------------------- phones */
@media (max-width: 639px) {
    .yev-strip__item {
        padding: 16px 24px;
    }

    .yev-strip__num {
        font-size: 18px;
    }

    .yev-strip__label {
        font-size: 13px;
    }

    .yev-strip__logo img {
        height: 28px;
    }

    .yev-card {
        padding: 22px 20px 24px;
    }

    .yev-cell {
        padding: 24px 20px 26px;
    }

    .yev-provide__body {
        padding: 22px 20px 24px;
    }

    .yev-approach__media {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .yev-form__foot .g-recaptcha {
        transform: scale(.9);
        transform-origin: 0 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .yev-strip__track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: auto;
    }

    .yev-strip__set[aria-hidden="true"] {
        display: none;
    }

    .yev-card,
    .yev-card::before,
    .yev-cell,
    .yev-input {
        transition: none;
    }
}

/* ---------------------------------------------------------------- fixes (2026-11-11, v2) */
/* a hyphenated word stays on one line inside a balanced heading (inline-block, see site-workflow notes) */
.yev .yev-nb {
    display: inline-block;
    white-space: nowrap;
}

/* the services index: these are not steps, so no 01-05 */
section[aria-labelledby="yevServicesTitle"] .vpa-mx__num {
    display: none;
}

/* intro: photo beside the copy, two key facts on hairlines under it */
.yev-intro {
    display: grid;
    gap: 36px;
    align-items: center;
}

@media (min-width: 1024px) {
    .yev-intro {
        grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
        gap: 64px;
    }
}

.yev-intro__media {
    position: relative;
    aspect-ratio: 4 / 3;
    margin: 0;
    overflow: hidden;
}

.yev-intro__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yev-intro__copy {
    margin: 20px 0 0;
}

.yev-intro__facts {
    display: grid;
    margin: 26px 0 0;
    border-top: 1px solid var(--yev-line);
}

@media (min-width: 640px) {
    .yev-intro__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 32px;
    }
}

.yev-intro__facts div {
    padding: 16px 0;
    border-bottom: 1px solid var(--yev-line);
}

.yev-intro__facts dt {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--yev-brand);
}

.yev-intro__facts dd {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--yev-body);
}

/* phones: the card grids read as compact ruled rows (icon left, title and line right) instead of
   tall stacked cards, so the page stays short */
@media (max-width: 639px) {
    .yev-cards,
    .yev-grid {
        gap: 0;
        border: 0;
        border-top: 1px solid var(--yev-line);
        background: none;
    }

    .yev-card,
    .yev-cell {
        display: grid;
        grid-template-columns: 24px minmax(0, 1fr);
        gap: 3px 14px;
        min-height: 0;
        padding: 16px 0;
        border: 0;
        border-bottom: 1px solid var(--yev-line);
        background: none;
        box-shadow: none;
        transform: none;
    }

    .yev-card::before {
        display: none;
    }

    .yev-card:hover,
    .yev-cell:hover {
        background: none;
        box-shadow: none;
        transform: none;
    }

    .yev-card .yev-ico,
    .yev-cell .yev-ico {
        grid-row: 1 / 3;
        width: 22px;
        height: 22px;
        margin: 1px 0 0;
    }

    .yev-card__title,
    .yev-cell__title {
        font-size: 15.5px;
    }

    .yev-card__text,
    .yev-cell__text {
        font-size: 13.5px;
        line-height: 1.5;
    }

    .yev-awards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .yev-award {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px;
    }

    .yev-award__logo {
        width: 48px;
        height: 44px;
    }

    .yev-why__subhead {
        margin-bottom: 6px;
    }
}

/* inline link to the supporting article */
.yev .yev-link {
    font-weight: 500;
    color: var(--yev-brand);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.yev .yev-link:hover {
    text-decoration-thickness: 2px;
}
