﻿/* =========================================================
   REAL ESTATE PAGE — SERVICES.CSS (Full)
   Naming: re-*
   Includes: Hero, Help, Steps, Assess, Budget, Insights, FAQ, Contact
========================================================= */

/* =========================== REAL ESTATE HERO (Frame 92) =========================== */
.re-hero {
    font-family: "Articulat CF", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    padding: 0;
}

/* Container becomes fluid, but matches 1880 width at 1920 screens */
.re-hero__container {
    max-width: 1880px;
    margin: 0 auto;
    padding: 0 20px; /* page has 20px left/right */
}

/* Main hero block */
.re-hero__grid {
    width: 100%;
    border-radius: 10px;
    padding: 60px;
    display: grid;
    grid-template-columns: minmax(0, 800px) minmax(0, 860px);
    justify-content: space-between;
    align-items: center;
    gap: 100px;
    background: linear-gradient(270deg, rgba(255,205,2,0.03) 0%, rgba(222,31,38,0.06) 100%);
    overflow: hidden;
}

/* ===========================
   LEFT
=========================== */
.re-hero__left {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.re-hero__top {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Pill */
.re-hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 45px;
    font-weight: 500;
    font-size: 15px;
    line-height: 1;
    white-space: nowrap;
    width: fit-content;
}

.re-hero__pill-icon {
    width: 18px;
    height: 18px;
    display: block;
    object-fit: contain;
}

.re-hero__pill--outline {
    padding: 14px 16px;
    border: 1px solid #DE1F26;
    color: #1C1C1C;
    background: transparent;
}

.re-hero__text {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.re-hero__title {
    margin: 0;
    font-weight: 500;
    font-size: 60px;
    line-height: 110%;
    letter-spacing: -0.02em;
    color: #1C1C1C;
}

.re-hero__subtitle {
    margin: 0;
    font-weight: 500;
    font-size: 20px;
    color: rgba(28,28,28,0.75);
    max-width: 800px;
}

/* Benefits */
.re-hero__benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 200px));
    gap: 20px;
}

.re-hero__benefit {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.re-hero__benefit-icon {
    width: 29px;
    height: 29px;
    border-radius: 8px;
    padding: 2px;
    border: 1px solid rgba(222,31,38,0.25);
    background: rgba(222,31,38,0.08);
    position: relative;
    flex: 0 0 auto;
}

    .re-hero__benefit-icon::after {
        content: "";
        position: absolute;
        left: 10px;
        top: 7px;
        width: 6px;
        height: 11px;
        border-right: 2px solid rgba(222,31,38,0.75);
        border-bottom: 2px solid rgba(222,31,38,0.75);
        transform: rotate(45deg);
    }

.re-hero__benefit-text {
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    color: #1C1C1C;
}

/* Actions */
.re-hero__actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.re-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 14px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    gap: 10px;
}

.re-hero__btn--primary {
    background: #DE1F26;
    border: 1px solid #DE1F26;
    color: #fff;
}

    .re-hero__btn--primary:hover {
        opacity: .92;
        color: #fff;
    }

.re-hero__btn--ghost {
    background: transparent;
    border: 1px solid rgba(28,28,28,0.25);
    color: #1C1C1C;
}

    .re-hero__btn--ghost:hover {
        opacity: .9;
        color: #1C1C1C;
    }

/* ===========================
   RIGHT
=========================== */
.re-hero__right {
    min-width: 0;
}

.re-hero__media {
    width: 100%;
    aspect-ratio: 860 / 760; /* keeps figma proportion without fixed width */
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background: #fff;
}

.re-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Glass tag */
.re-hero__pill--glass {
    padding: 14px 18px;
    border-radius: 45px;
    border: 1px solid #fff;
    background: rgba(0,0,0,0.10);
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
}

.re-hero__tag {
    position: absolute;
    top: 30px;
    left: 30px;
}

/* Info cards */
.re-hero__card {
    width: 322px;
    border-radius: 10px;
    padding: 18px;
    border: 1px solid #FAFAFA;
    background: #fff;
    box-shadow: -10px 10px 5px 0px rgba(0,0,0,0.05);
    position: absolute;
}

.re-hero__card-kicker {
    opacity: .5;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    color: #1C1C1C;
    margin-bottom: 10px;
}

.re-hero__card-value {
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    color: #1C1C1C;
}

/* Keep same figma positions on desktop */
.re-hero__card--budgets {
    top: -25px;
    right: 30px;
}

.re-hero__card--help {
    top: 67px;
    right: 30px;
}

/* Cities bar */
.re-hero__cities {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 30px;
    padding: 18px;
    border-radius: 10px;
    border: 1px solid #FAFAFA;
    background: #fff;
}

.re-hero__cities-value {
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    color: #1C1C1C;
}

/* ===========================
   HERO RESPONSIVE
=========================== */
@media (max-width: 1199.98px) {
    .re-hero__grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 28px;
    }

    .re-hero__media {
        aspect-ratio: 16 / 10;
        min-height: 420px;
    }

    /* Avoid overlap */
    .re-hero__card {
        width: min(322px, calc(100% - 32px));
        right: 16px;
    }

    .re-hero__tag {
        top: 16px;
        left: 16px;
    }

    .re-hero__card--budgets {
        top: 16px;
    }

    .re-hero__card--help {
        top: 110px;
    }

    .re-hero__cities {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }
}

@media (max-width: 575.98px) {
    .re-hero__grid {
        padding: 20px;
    }

    .re-hero__title {
        font-size: 40px;
    }

    .re-hero__subtitle {
        font-size: 16px;
    }

    .re-hero__benefits {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .re-hero__btn {
        width: 100%;
    }
}

/* =========================================================
   REUSABLE FILTER (Tabs / Pills)
========================================================= */
.re-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.re-filter__btn {
    height: 38px;
    padding: 8px 18px;
    border-radius: 5px;
    border: 1px solid rgba(28,28,28,.25);
    background: transparent;
    color: rgba(28,28,28,.85);
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

    .re-filter__btn:hover {
        border-color: rgba(28,28,28,.45);
    }

    .re-filter__btn.is-active,
    .re-filter__btn[aria-selected="true"] {
        background: #1C1C1C;
        border-color: #1C1C1C;
        color: #fff;
    }

    .re-filter__btn:focus-visible {
        outline: 2px solid rgba(222,31,38,.35);
        outline-offset: 3px;
    }

/* Pills variant (FAQ style) */
.re-filter--pills .re-filter__btn {
    height: 35px;
    padding: 8px 15px;
    border-radius: 45px;
    border-color: rgba(0,0,0,.15);
    background: #fff;
    /*color: rgba(0,0,0,.35);*/
}

    .re-filter--pills .re-filter__btn.is-active,
    .re-filter--pills .re-filter__btn[aria-selected="true"] {
        background: transparent;
        border-color: #DE1F26;
        color: #DE1F26;
    }

/* Mobile: horizontal scroll to avoid ugly wrap */
@media (max-width: 575.98px) {
    .re-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

        .re-filter::-webkit-scrollbar {
            display: none;
        }
}

/*-------------------------------------------------------*/
/* =========================== RE HELP (How Can We Help) =========================== */
.re-help {
    padding: 20px 0;
    font-family: "Articulat CF", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.re-help__container {
    max-width: 1880px;
    margin: 0 auto;
    padding: 0 20px;
}

.re-help__grid {
    display: grid;
    grid-template-columns: minmax(280px, 550px) 1fr;
    gap: 20px;
    align-items: start;
}

/* LEFT (Sticky) */
.re-help__side {
    position: relative;
}

.re-help__side-inner {
    position: sticky;
    top: 80px;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.re-help__intro {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.re-help__heading {
    margin: 0;
    font-weight: 500;
    font-size: 60px;
    line-height: 1;
    letter-spacing: -0.02em;
}

.re-help__heading-accent {
    color: #DE1F26;
}

.re-help__heading-muted {
    color: rgba(28,28,28,.20);
}

.re-help__subtext {
    margin: 0;
    max-width: 486px;
    font-weight: 500;
    font-size: 18px;
    line-height: 1;
    letter-spacing: -0.02em;
    color: rgba(28,28,28,.8);
}

/* RIGHT CARD */
.re-help__main {
    padding: 60px 0;
}

.re-help-card {
    background: #FAFAFA;
    border-radius: 15px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.re-help-card__top {
    display: grid;
    grid-template-columns: minmax(280px, 520px) 1fr;
    gap: 60px;
    align-items: start;
}

.re-help-card__content {
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-width: 0;
}

.re-help-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 45px;
    border: 1px solid #DE1F26;
    width: fit-content;
    font-size: 16px;
    line-height: 1.2;
    color: #1C1C1C;
}

.re-help-card__badge-strong {
    font-weight: 700;
    color: #DE1F26;
}

.re-help-card__title {
    margin: 0;
    font-weight: 500;
    font-size: 40px;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #1C1C1C;
}

.re-help-card__title-note {
    font-size: 18px;
    letter-spacing: -0.02em;
    color: #1C1C1C;
    margin-left: 6px;
}

.re-help-card__desc {
    margin: 0;
    font-weight: 500;
    font-size: 18px;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #1C1C1C;
}

.re-help-card__media {
    min-width: 0;
    display: flex;
    justify-content: flex-end;
}

.re-help-card__img {
    width: min(450px, 100%);
    aspect-ratio: 509 / 328;
    object-fit: contain;
    border-radius: 15px;
    display: block;
}

.re-help-card__divider {
    height: 1px;
    width: 100%;
    background: rgba(28,28,28,.10);
}

/* Features row */
.re-help-card__features {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 30px;
    align-items: start;
}

.re-help-feature {
    display: flex;
    gap: 25px;
    min-width: 0;
}

.re-help-feature__icon {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    background: #1C1C1C;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .re-help-feature__icon img {
        /*max-width: 38px;
        max-height: 38px;*/
        display: block;
    }

.re-help-feature__text {
    margin: 0;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    color: #1C1C1C;
}

/* Bottom row */
.re-help-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.re-help-card__bestfor {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.re-help-card__bestfor-label {
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    letter-spacing: -0.02em;
    color: rgba(28,28,28,.6);
}

.re-help-card__bestfor-value {
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #1C1C1C;
}

.re-help-card__cta {
    height: 44px;
    padding: 10px 30px;
    border-radius: 5px;
    background: #FECD07;
    color: #1C1C1C;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

    .re-help-card__cta:hover {
        opacity: .92;
        color: #1C1C1C;
    }

/* Responsive */
@media (max-width: 1199.98px) {
    .re-help__grid {
        grid-template-columns: 1fr;
    }

    .re-help__side-inner {
        position: relative;
        top: auto;
        padding: 40px 0 10px;
    }

    .re-help__main {
        padding: 20px 0 60px;
    }

    .re-help-card__top {
        grid-template-columns: 1fr;
    }

    .re-help-card__media {
        justify-content: flex-start;
    }

    .re-help-card__features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .re-help__heading {
        font-size: 40px;
    }

    .re-help-card {
        padding: 22px;
        gap: 14px;
    }

    .re-help-card__title {
        font-size: 28px;
    }

    .re-help-card__cta {
        width: 100%;
    }
}

/* =========================== RE STEPS (Frame 1321314090) =========================== */
.re-steps {
    padding: 60px 0;
    font-family: "Articulat CF", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.re-steps__container {
    max-width: 1880px;
    margin: 0 auto;
    padding: 0 20px;
}

.re-steps__title {
    margin: 0 0 20px;
    font-weight: 500;
    font-size: 30px;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #1C1C1C;
}

/* Stage */
.re-steps__stage {
    position: relative;
    padding-top: 100px;
    min-height: 380px;
}

/* Dashed path */
.re-steps__path {
    position: absolute;
    left: 0;
    top: 40px;
    width: 100%;
    height: 210px;
    pointer-events: none;
}

/* Bee */
.re-steps__bee {
    position: absolute;
    left: 18%;
    top: 120px;
    width: 44px;
    height: auto;
    pointer-events: none;
}

/* Logo right */
.re-steps__logo {
    position: absolute;
    right: 0;
    top: 160px;
    width: min(390px, 28vw);
    height: auto;
    pointer-events: none;
}

/* Steps grid */
.re-steps__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 20px;
    align-items: start;
    position: relative;
    z-index: 2;
    padding-right: clamp(0px, 22vw, 520px);
}

/* Each step card */
.re-step {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    padding: 0 10px;
}

.re-step__icon {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    background: #DE1F26;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .re-step__icon img {
        display: block;
        /*max-width: 38px;
        max-height: 38px;*/
    }

.re-step__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
}

.re-step__heading {
    margin: 0;
    font-weight: 500;
    font-size: 30px;
    line-height: 31px;
    letter-spacing: -0.02em;
    color: #1C1C1C;
}

.re-step__text {
    margin: 0;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    color: rgba(28,28,28,.85);
    max-width: 443px;
}

.re-step__meta {
    margin-top: 22px;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    color: rgba(28,28,28,.7);
}

/* Responsive */
@media (max-width: 1199.98px) {
    .re-steps__logo {
        position: static;
        width: min(390px, 100%);
        margin: 30px 0 0 auto;
        display: block;
    }

    .re-steps__grid {
        padding-right: 0;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .re-step {
        min-height: auto;
        padding: 0;
    }

    .re-steps__path,
    .re-steps__bee {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .re-steps__title {
        font-size: 22px;
    }

    .re-step__heading {
        font-size: 22px;
        line-height: 1.15;
    }
}

/* ==============================    RE ASSESS (Frame 120) ================================ */
.re-assess {
    background: #fff;
    padding: 0;
    font-family: "Articulat CF", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.re-assess__wrap {
    max-width: 1880px;
    margin: 0 auto;
    padding: 0 20px;
}

.re-assess__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: stretch;
    min-height: 850px;
}

/* Left image */
.re-assess__media {
    border-radius: 15px;
    overflow: hidden;
    min-height: 850px;
    background: #eee;
}

.re-assess__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Right card */
.re-assess__card {
    border-radius: 15px;
    background: #FAFAFA;
    padding: 60px;
    min-height: 850px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.re-assess__content {
    width: 100%;
    max-width: 500px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.re-assess__title {
    margin: 0;
    font-weight: 500;
    font-size: 60px;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #1C1C1C;
}

.re-assess__title-accent {
    color: #DE1F26;
}

.re-assess__text {
    margin: 0;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: rgba(28, 28, 28, 0.8);
}

.re-assess__btn {
    width: fit-content;
    margin: 8px auto 0;
    height: 50px;
    padding: 14px 30px;
    border-radius: 5px;
    background: #DE1F26;
    border: 1px solid #DE1F26;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity .2s ease, transform .2s ease;
}

    .re-assess__btn:hover {
        opacity: .92;
        transform: translateY(-1px);
    }

    .re-assess__btn:focus-visible {
        outline: 2px solid rgba(222, 31, 38, .35);
        outline-offset: 3px;
    }

/* Responsive */
@media (max-width: 991.98px) {
    .re-assess__grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .re-assess__media,
    .re-assess__card {
        min-height: auto;
    }

    .re-assess__media {
        height: 360px;
    }

    .re-assess__card {
        padding: 28px;
    }

    .re-assess__title {
        font-size: 44px;
    }
}

@media (max-width: 575.98px) {
    .re-assess__wrap {
        padding: 0 16px;
    }

    .re-assess__media {
        height: 300px;
    }

    .re-assess__title {
        font-size: 34px;
    }

    .re-assess__text {
        font-size: 16px;
    }

    .re-assess__btn {
        width: 100%;
    }
}

/* ===============================    RE BUDGET CALCULATOR (Frame 1321314093) ================================ */
.re-budget {
    padding: 60px 0;
}

.re-budget__wrap {
    max-width: 1880px;
    margin: 0 auto;
    padding: 0 20px;
}

.re-budget__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 20px;
}

.re-budget__title {
    font-size: 60px;
    line-height: 1;
    letter-spacing: -0.02em;
    font-weight: 500;
    margin: 0;
}

    .re-budget__title span {
        color: #DE1F26;
    }

.re-budget__subtitle {
    max-width: 420px;
    font-size: 16px;
    opacity: .6;
    margin: 8px 0 0;
    color: rgba(28,28,28,.8);
}

.re-budget__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Left */
.re-budget__form {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    border: 1px solid rgba(0,0,0,.06);
}

.re-budget__form-title {
    font-size: 24px;
    margin: 0 0 30px;
    font-weight: 500;
    color: #1C1C1C;
}

.re-budget__field {
    margin-bottom: 26px;
}

.re-budget__field-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    gap: 10px;
}

.re-budget__field label {
    font-weight: 500;
    color: #1C1C1C;
}

.re-budget__field strong {
    font-weight: 600;
    color: #1C1C1C;
}

.re-budget__field input[type="range"] {
    width: 100%;
    accent-color: #DE1F26;
}

.re-budget__range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    opacity: .5;
    margin-top: 4px;
    color: rgba(28,28,28,.8);
}

/* Right */
.re-budget__result {
    background: linear-gradient(180deg, #1c1c1c, #121212);
    border-radius: 15px;
    padding: 40px;
    color: #fff;
}

.re-budget__result-title {
    font-size: 24px;
    margin: 0 0 20px;
    font-weight: 500;
}

.re-budget__highlight {
    background: #DE1F26;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    display: grid;
    gap: 10px;
}

    .re-budget__highlight strong {
        font-size: 56px;
        line-height: 1;
    }

    .re-budget__highlight small {
        font-size: 14px;
        opacity: .9;
    }

    .re-budget__highlight span {
        font-size: 13px;
        opacity: .9;
    }

/* Breakdown */
.re-budget__breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 30px;
    margin-bottom: 30px;
}

    .re-budget__breakdown span {
        font-size: 14px;
        opacity: .7;
    }

    .re-budget__breakdown strong {
        font-size: 18px;
    }

/* CTA */
.re-budget__cta {
    display: inline-flex;
    padding: 14px 30px;
    border-radius: 5px;
    background: #FECD07;
    color: #000;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 16px;
    justify-content: center;
    align-items: center;
    min-width: 260px;
}

    .re-budget__cta:hover {
        opacity: .9;
        color: #000;
    }

.re-budget__note {
    font-size: 13px;
    opacity: .6;
    margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .re-budget__grid {
        grid-template-columns: 1fr;
    }

    .re-budget__header {
        flex-direction: column;
    }

    .re-budget__title {
        font-size: 42px;
    }
}

@media (max-width: 575px) {
    .re-budget__title {
        font-size: 32px;
    }

    .re-budget__highlight strong {
        font-size: 42px;
    }

    .re-budget__cta {
        width: 100%;
        min-width: 0;
    }
}

/* =============================== RE INSIGHTS (Frame 151)  ================================ */
.re-block {
    padding: 30px 0;
}

.re-block__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.re-block__title {
    margin: 0;
    font-weight: 500;
    font-size: 30px;
    line-height: 1;
    letter-spacing: -0.02em;
    color: rgba(28,28,28,.75);
}


.re-block__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 5px;
    background: #DE1F26;
    border: 1px solid #DE1F26;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
}

    .re-block__cta:hover {
        opacity: .92;
        color: #fff;
    }


.block-card {
    text-decoration: none;
}

    .block-card::after {
        content: "Read more →";
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-left: 12px;
        font-size: 14px;
        font-weight: 500;
        color: rgba(0,0,0,0.55);
        transform: translateX(0);
        transition: transform .25s ease, color .25s ease;
    }

    .block-card .card-title {
        margin: 0 0 12px;
        font-weight: 500;
        font-size: 30px;
        line-height: 1.4;
        letter-spacing: -0.02em;
        /*color: #000000;*/
        transition: color 0.2s ease, text-decoration-color 0.2s ease;
    }

    .block-card .card-text {
        margin: 0 0 12px;
        font-weight: 500;
        font-size: 16px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

@media (hover:hover) {
    /*.block-card:hover {
        border: 1px solid rgb(222 31 38);
    }*/

    .block-card:hover .card-title {
        color: var(--brand-red);
        text-decoration: underline;
        text-underline-offset: 4px;
        text-decoration-color: var(--brand-red);
    }

    .block-card:hover::after {
        color: #DE1F26;
        transform: translateX(6px);
    }
}


@media (max-width: 575.98px) {
    .re-block__head {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =============================== RE FAQ (Frame 1321314092) ================================ */
.re-faq {
    padding: 30px 0;
    font-family: "Articulat CF", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.re-faq__wrap {
    max-width: 1880px;
    margin: 0 auto;
    padding: 0 20px;
}

.re-faq__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.re-faq__head-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.re-faq__title {
    margin: 0;
    font-weight: 500;
    font-size: 60px;
    line-height: 1;
    letter-spacing: -0.02em;
}

.re-faq__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 10px 30px;
    border-radius: 5px;
    background: #DE1F26;
    border: 1px solid #DE1F26;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    white-space: nowrap;
}

    .re-faq__cta:hover {
        opacity: .92;
        color: #fff;
    }

.re-faq__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.re-faq__item {
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.06);
    background: #FAFAFA;
}

    .re-faq__item > summary {
        list-style: none;
    }

        .re-faq__item > summary::-webkit-details-marker {
            display: none;
        }

.re-faq__summary {
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
}

.re-faq__q {
    font-weight: 500;
    font-size: 24px;
    line-height: 1.2;
    color: #1C1C1C;
}

/* Plus / minus icon */
.re-faq__icon {
    width: 18px;
    height: 18px;
    position: relative;
    flex: 0 0 18px;
}

    .re-faq__icon::before,
    .re-faq__icon::after {
        content: "";
        position: absolute;
        inset: 0;
        margin: auto;
        width: 18px;
        height: 2px;
        background: #1C1C1C;
        border-radius: 2px;
    }

    .re-faq__icon::after {
        width: 2px;
        height: 18px;
    }

.re-faq__body {
    padding: 0 30px 30px 30px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.3;
    color: rgba(28,28,28,.85);
}

.re-faq__item[open] {
    background: rgba(222, 31, 38, 0.10);
    border-color: rgba(222, 31, 38, 0.20);
}

    .re-faq__item[open] .re-faq__icon::after {
        display: none;
    }

@media (max-width: 991.98px) {
    .re-faq__title {
        font-size: 44px;
    }

    .re-faq__summary {
        padding: 22px;
    }

    .re-faq__q {
        font-size: 18px;
    }

    .re-faq__body {
        padding: 0 22px 22px 22px;
    }
}

@media (max-width: 575.98px) {
    .re-faq__head {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =============================== RE CONTACT (Frame 173) ================================ */
.re-contact {
    padding: 30px 0;
    font-family: "Articulat CF", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.re-contact__wrap {
    max-width: 1880px;
    margin: 0 auto;
    padding: 0 20px;
}

.re-contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

/* Left */
.re-contact__left {
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.re-contact__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    padding: 8px 16px;
    border-radius: 45px;
    border: 1px solid #DE1F26;
    color: #DE1F26;
    font-weight: 500;
    font-size: 16px;
    width: fit-content;
}

.re-contact__title {
    margin: 0;
    font-weight: 500;
    font-size: 60px;
    line-height: 1;
    letter-spacing: -0.02em;
}

.re-contact__text {
    margin: 0;
    max-width: 560px;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: rgba(0,0,0,.35);
}

.re-contact__note {
    margin: 0;
    /*max-width: 560px;*/
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    color: rgba(0,0,0,.62);
}

/* Right */
.re-contact__right {
    background: #ffffff;
    border: 1px solid rgba(147, 168, 172, .45);
    border-radius: 18px;
    padding: 26px 24px 22px;
    box-shadow: 0 18px 34px rgba(28, 28, 28, .10);
}

/* Form */
.re-contact__form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.re-contact__field {
    width: 100%;
}

.re-contact__input,
.re-contact__select,
.re-contact__textarea {
    width: 100%;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.20);
    background: #fff;
    padding: 14px 16px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;
    outline: none;
}

.re-contact__select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, rgba(0,0,0,.55) 50%), linear-gradient(135deg, rgba(0,0,0,.55) 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 44px;
}

.re-contact__textarea {
    resize: none;
    min-height: 180px;
    padding-top: 16px;
}

    .re-contact__input:focus,
    .re-contact__select:focus,
    .re-contact__textarea:focus {
        border-color: rgba(222, 31, 38, .55);
        box-shadow: 0 0 0 3px rgba(222, 31, 38, .10);
    }

/* Checkbox */
.re-contact__check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(0,0,0,0.75);
    margin-top: 6px;
}

    .re-contact__check input {
        margin-top: 2px;
        width: 18px;
        height: 18px;
        accent-color: #DE1F26;
    }

/* Button */
.re-contact__btn {
    margin-top: 8px;
    width: 224px;
    max-width: 100%;
    height: 50px;
    border-radius: 5px;
    border: 1px solid #DE1F26;
    background: #DE1F26;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
}

    .re-contact__btn:hover {
        opacity: .92;
    }

.re-contact__privacy {
    margin: 18px 0 0;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.3;
    color: rgba(0,0,0,0.65);
}

/* Responsive */
@media (max-width: 991.98px) {
    .re-contact__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .re-contact__left {
        padding: 0;
    }

    .re-contact__right {
        padding: 28px;
    }

    .re-contact__title {
        font-size: 40px;
    }
}

@media (max-width: 575.98px) {
    .re-contact__title {
        font-size: 34px;
    }

    .re-contact__btn {
        width: 100%;
    }
}


/* =================== -------------------------- =================== */




/* =========================== Translation – Mini Panels (cards shown in screenshot) =========================== */

.tr-mini-panels {
    padding: 40px 0;
}

.tr-mini-panels__wrap {
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

/* Shared card */
.tr-panel {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(28,28,28,.10);
    box-shadow: 0 12px 30px rgba(15,23,42,.06);
}

.tr-panel--white {
    background: #fff;
    padding: 22px 22px 18px;
}

.tr-panel--soft {
    background: rgba(254,205,7,.16); /* brand yellow soft */
    padding: 18px;
}

/* Top card typography */
.tr-panel__kicker {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
    font-weight: 600;
    color: rgba(28,28,28,.65);
    margin-bottom: 10px;
}

.tr-panel__title {
    margin: 0 0 8px;
    font-weight: 600;
    color: #1C1C1C;
}

.tr-panel__desc {
    margin: 0 0 12px;
    font-weight: 500;
    color: rgba(28,28,28,.72);
}

.tr-panel__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-weight: 600;
    color: rgba(28,28,28,.60);
}

/* Lower card: docs */
.tr-panel__subhead {
    margin: 0 0 10px;
    font-weight: 700;
    color: #1C1C1C;
}

.tr-doc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 22px;
}

.tr-doc-item {
    display: grid;
    gap: 2px;
}

.tr-doc-title {
    font-weight: 700;
    color: rgba(28,28,28,.85);
}

.tr-doc-sub {
    font-weight: 500;
    color: rgba(28,28,28,.55);
}

/* Right badge */
.tr-accept-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(147,168,172,.35);
    background: rgba(147,168,172,.16); /* brand blue soft */
    font-weight: 700;
    color: rgba(28,28,28,.85);
    margin-bottom: 10px;
}

    .tr-accept-badge i {
        font-size: 22px;
        color: #1C1C1C;
    }

.tr-accept-note {
    font-size: 14px;
    font-weight: 500;
    color: rgba(28,28,28,.60);
    line-height: 1.35;
}

/* Responsive */
@media (max-width: 767.98px) {
    .tr-mini-panels {
        padding: 26px 0;
    }

    .tr-mini-panels__wrap {
        max-width: 100%;
    }

    .tr-panel--white {
        padding: 18px;
    }

    .tr-panel--soft {
        padding: 16px;
    }

    .tr-doc-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================== Translation – WHY CHOOSE US (cards grid)  =========================== */

.tr-why {
    padding: 60px 0;
    /*background: radial-gradient(circle at top left, #fff7e6 0, #f9fafb 55%, #eef2ff 100%);*/
}

.tr-why__head {
    margin-bottom: 22px;
}

.tr-why__kicker {
    text-transform: uppercase;
    letter-spacing: .14em;
    /*font-size: 12px;*/
    font-weight: 700;
    color: #1C1C1C;
    opacity: .85;
    margin-bottom: 10px;
}

.tr-why__title {
    margin: 0 0 10px;
    font-weight: 700;
    /*font-size: clamp(22px, 2.2vw, 28px);*/
    letter-spacing: -0.02em;
    color: #1C1C1C;
}

.tr-why__sub {
    margin: 0;
    font-weight: 500;
    /*font-size: 14px;*/
    line-height: 1.6;
    color: rgba(28,28,28,.65);
}

/* Grid */
.tr-why__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.tr-why-card {
    border-radius: 18px;
    border: 1px solid rgba(28,28,28,.10);
    background: #fff;
    padding: 18px 18px 16px;
    box-shadow: 0 14px 34px rgba(15,23,42,.06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

@media (hover:hover) {
    .tr-why-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 45px rgba(15,23,42,.10);
        border-color: rgba(147,168,172,.45); /* brand blue */
        background: radial-gradient(circle at top left, color-mix(in srgb, var(--brand-red) 18%, transparent) 0, #f9fafb 55%, #eef2ff 100%);
    }
}

/* Icon chip */
.tr-why-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(147,168,172,.35);
    background: rgba(147,168,172,.18);
    margin-bottom: 12px;
}

    .tr-why-card__icon i {
        font-size: 16px;
        color: #1C1C1C;
    }

/* Text */
.tr-why-card__title {
    margin: 0 0 8px;
    font-weight: 700;
    /*font-size: 14px;*/
    color: #1C1C1C;
}

.tr-why-card__text {
    margin: 0;
    font-weight: 500;
    /*font-size: 13px;*/
    line-height: 1.6;
    color: rgba(28,28,28,.65);
}

/* Responsive */
@media (max-width: 991.98px) {
    .tr-why__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .tr-why {
        padding: 38px 0;
    }

    .tr-why__grid {
        grid-template-columns: 1fr;
    }
}


/* ===========================  Translation – USE CASES (pill section wrapper) =========================== */
.tr-usecases {
    padding: 50px 0;
    background: radial-gradient(circle at top left, #fff7e6 0, #f9fafb 55%, #eef2ff 100%);
}

    .tr-usecases .re-block__title {
        color: rgba(28, 28, 28, 0.85);
    }

    .tr-usecases .re-filter {
        margin-top: 16px;
    }

.re-filter li {
    margin-top: 5px;
}

/* Mobile tuning */
@media (max-width: 575.98px) {
    .tr-usecases {
        padding: 36px 0;
    }
}
