/* R2M Hero Widget - dark premium R2M styling */
.r2m-hero-widget {
    --r2m-accent: #ff7900;
    --r2m-bg: #050505;
    --r2m-panel: rgba(255, 255, 255, 0.035);
    --r2m-border: rgba(255, 255, 255, 0.12);
    --r2m-muted: #c8c8c8;
    position: relative;
    overflow: hidden;
    /**background:
        radial-gradient(circle at 82% 42%, rgba(255, 121, 0, 0.14), transparent 34%),
        radial-gradient(circle at 18% 72%, rgba(255, 121, 0, 0.055), transparent 28%),
        linear-gradient(180deg, #050505 0%, #020202 100%);*/
    color: #fff;
    isolation: isolate;
}

.r2m-hero-widget::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 72px 72px;
    opacity: .18;
    pointer-events: none;
    z-index: -2;
}

.r2m-hero-widget::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,121,0,.55), rgba(255,255,255,.12), transparent);
    pointer-events: none;
}

.r2m-hero-container {
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

.r2m-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, .70fr) minmax(340px, 1.3fr);
    align-items: center;
    gap: 60px;
}

.r2m-hero__content {
    position: relative;
    z-index: 2;
}
.r2m-hero-heading span {color: #e57326};

.r2m-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--r2m-accent);
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.r2m-hero-eyebrow::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--r2m-accent);
    box-shadow: 0 0 18px rgba(255,121,0,.8);
}

.r2m-hero-widget .r2m-hero-heading {
    margin: 0 0 24px;
    max-width: 720px;
    color: #fff;
    font-size: clamp(42px, 5.2vw, 66px);
    line-height: .98;
    letter-spacing: -.045em;
    font-weight: 900;
}

.r2m-hero-widget .r2m-hero-heading strong,
.r2m-hero-widget .r2m-hero-heading em {
    color: var(--r2m-accent);
    font-style: normal;
}

.r2m-hero__content p {
    max-width: 560px;
    margin: 0 0 34px;
    color: var(--r2m-muted);
    font-size: clamp(16px, 1.25vw, 24px);
    line-height: 1.75;
    font-weight: 400;
}

.r2m-hero__buttons,
.r2m-hero__buttons-below .r2m-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
}

.r2m-hero__buttons-below {
    margin-top: 42px;
}

.r2m-hero-btn {
    --r2m-hero-btn-icon-gap: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--r2m-hero-btn-icon-gap);
    min-height: 48px;
    padding: 13px 22px;
    border: 1px solid var(--r2m-accent);
    border-radius: 7px;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform .22s ease, background-color .22s ease, border-color .22s ease, color .22s ease, box-shadow .22s ease;
    will-change: transform;
}

.r2m-hero-btn:hover,
.r2m-hero-btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255,121,0,.22);
}

.r2m-hero-btn--primary {
    color: #fff;
    background: var(--r2m-accent);
    border-color: var(--r2m-accent);
    box-shadow: 0 0 0 1px rgba(255,121,0,.14), 0 10px 30px rgba(255,121,0,.18);
}

.r2m-hero-btn--primary:hover,
.r2m-hero-btn--primary:focus {
    color: #fff;
    background: #e86f00;
    border-color: #e86f00;
}

.r2m-hero-btn--secondary {
    color: #fff;
    background: rgba(255,255,255,.025);
    border-color: rgba(255,121,0,.85);
}

.r2m-hero-btn--secondary:hover,
.r2m-hero-btn--secondary:focus {
    color: #fff;
    background: var(--r2m-accent);
    border-color: var(--r2m-accent);
}

.r2m-hero-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: transform .22s ease;
}

.r2m-hero-btn:hover .r2m-hero-btn-icon,
.r2m-hero-btn:focus .r2m-hero-btn-icon {
    transform: translateX(3px);
}

.r2m-hero-btn-icon svg,
.r2m-hero-btn-icon i {
    width: 1em;
    height: 1em;
    display: block;
}

.r2m-hero__visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    min-width: 0;
}

.r2m-hero__visual::before {
    content: "";
    position: absolute;
    inset: 7% 0 auto 0;
    height: 72%;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255,121,0,.2), transparent 64%);
    filter: blur(16px);
    opacity: .9;
    pointer-events: none;
    z-index: -1;
}

.r2m-hero__visual img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
    filter: drop-shadow(0 20px 45px rgba(0,0,0,.55));
}

.r2m-hero-map {
    position: relative;
    min-height: 340px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 50% 50%, rgba(255,121,0,.2), transparent 42%),
        linear-gradient(135deg, rgba(255,255,255,.055), rgba(255,255,255,.01));
    border: 1px solid rgba(255,255,255,.09);
    overflow: hidden;
}

.r2m-hero-map svg {
    position: absolute;
    inset: 8% 4%;
    width: 92%;
    height: 84%;
    fill: none;
    stroke: var(--r2m-accent);
    stroke-width: 2;
    filter: drop-shadow(0 0 10px rgba(255,121,0,.65));
}

.r2m-hero-map circle {
    fill: var(--r2m-accent);
}

.r2m-hero-map span {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--r2m-accent);
    box-shadow: 0 0 20px rgba(255,121,0,.9);
    opacity: .9;
}

.r2m-hero-map span:nth-child(1) { left: 12%; top: 64%; }
.r2m-hero-map span:nth-child(2) { left: 28%; top: 35%; }
.r2m-hero-map span:nth-child(3) { left: 52%; top: 50%; }
.r2m-hero-map span:nth-child(4) { right: 15%; top: 31%; }
.r2m-hero-map span:nth-child(5) { right: 8%; bottom: 24%; }

.r2m-hero--buttons-right .r2m-hero__visual .r2m-hero__buttons {
    width: 100%;
}

.r2m-hero--buttons-below .r2m-hero__content p {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .r2m-hero__grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .r2m-hero__content,
    .r2m-hero__content p,
    .r2m-hero-widget .r2m-hero-heading {
        max-width: none;
    }

    .r2m-hero__visual {
        max-width: 760px;
    }
}

@media (max-width: 767px) {
    .r2m-hero-container {
        width: min(100% - 28px, 1200px);
    }

    .r2m-hero-widget {
        text-align: left;
    }

    .r2m-hero-widget .r2m-hero-heading {
        font-size: clamp(38px, 12vw, 56px);
    }

    .r2m-hero__content p {
        font-size: 15px;
        line-height: 1.65;
    }

    .r2m-hero__buttons,
    .r2m-hero__buttons-below .r2m-hero__buttons {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .r2m-hero-btn {
        width: 100%;
    }

    .r2m-hero-map {
        min-height: 250px;
    }
}
