
/* =========================================
   Hooramco - Glass Railing Hero
========================================= */

.hr-glass-hero {
    position: relative;
    min-height: 760px;
    height: 100vh;
    height: 100svh;
    max-height: 1100px;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    align-items: center;
    background-color: #17232d;
    color: #fff;
    font-family: inherit;
}

.hr-glass-hero__background {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image: url('/images/categories/hand.jpg');
    background-position: center;
    background-size: cover;
    transform: scale(1.02);
    animation: hrGlassHeroReveal 1.2s ease-out both;
}

.hr-glass-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(
            90deg,
            rgba(9, 18, 27, 0.88) 0%,
            rgba(9, 18, 27, 0.68) 43%,
            rgba(9, 18, 27, 0.20) 100%
        ),
        linear-gradient(
            0deg,
            rgba(8, 16, 23, 0.55) 0%,
            transparent 35%
        );
}

.hr-glass-hero__container {
    position: relative;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 100px 40px 90px;
}

.hr-glass-hero__content {
    max-width: 720px;
    animation: hrGlassContentReveal 0.9s ease-out both;
}

.hr-glass-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
    color: #cc0000;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.hr-glass-hero__eyebrow span {
    display: inline-block;
    width: 32px;
    height: 1px;
    background: #cc0000;
}

.hr-glass-hero h1 {
    margin: 0 0 26px;
    color: #fff;
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -1px;
}

.hr-glass-hero__description {
    max-width: 610px;
    margin: 0;
    color: rgba(255, 255, 255, 0.83);
    font-size: 17px;
    font-weight: 400;
    line-height: 2.1;
}

.hr-glass-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 36px;
}

.hr-glass-btn {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 24px;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    text-decoration: none;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.hr-glass-btn--primary {
    color: #fff;
    background: #cc0000;
    border-color: #cc0000;
}

.hr-glass-btn--primary:hover {
    color: #fff;
    background: #cc0000;
    border-color: #cc0000;
}

.hr-glass-btn--outline {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.55);
}

.hr-glass-btn--outline:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

.hr-glass-hero__bottom {
    position: absolute;
    bottom: 38px;
    left: 40px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    letter-spacing: 1px;
}

.hr-glass-hero__bottom > span:first-child {
    color: #cc0000;
    font-size: 14px;
}

.hr-glass-hero__line {
    width: 54px;
    height: 1px;
    background: #cc0000;
}

.hr-glass-hero__scroll {
    position: absolute;
    right: 42px;
    bottom: 34px;
    display: flex;
    width: 28px;
    height: 44px;
    align-items: flex-start;
    justify-content: center;
    padding-top: 8px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 20px;
}

.hr-glass-hero__scroll span {
    width: 3px;
    height: 9px;
    border-radius: 3px;
    background: #fff;
    animation: hrGlassScroll 1.6s ease-in-out infinite;
}

@keyframes hrGlassHeroReveal {
    from {
        opacity: 0.65;
        transform: scale(1.06);
    }

    to {
        opacity: 1;
        transform: scale(1.02);
    }
}

@keyframes hrGlassContentReveal {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hrGlassScroll {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }

    70% {
        transform: translateY(12px);
        opacity: 0.25;
    }
}

/* RTL */

html[dir="rtl"] .hr-glass-hero__content {
    margin-left: auto;
    text-align: right;
}

html[dir="rtl"] .hr-glass-hero__bottom {
    right: 40px;
    left: auto;
}

html[dir="rtl"] .hr-glass-hero__scroll {
    left: 42px;
    right: auto;
}

html[dir="rtl"] .hr-glass-hero__eyebrow {
    letter-spacing: 0;
}

html[dir="rtl"] .hr-glass-btn {
    flex-direction: row-reverse;
}

/* Responsive */

@media (max-width: 767px) {
    .hr-glass-hero {
        min-height: 680px;
        height: 90svh;
        max-height: 900px;
    }

    .hr-glass-hero__background {
        background-position: 58% center;
    }

    .hr-glass-hero__overlay {
        background:
            linear-gradient(
                90deg,
                rgba(9, 18, 27, 0.82),
                rgba(9, 18, 27, 0.45)
            ),
            linear-gradient(
                0deg,
                rgba(8, 16, 23, 0.55),
                transparent 70%
            );
    }

    .hr-glass-hero__container {
        padding: 90px 24px 110px;
    }

    .hr-glass-hero__eyebrow {
        gap: 9px;
        margin-bottom: 20px;
        font-size: 11px;
    }

    .hr-glass-hero h1 {
        margin-bottom: 20px;
        font-size: clamp(32px, 8vw, 46px);
        line-height: 1.5;
        letter-spacing: 0;
    }

    .hr-glass-hero__description {
        font-size: 15px;
        line-height: 2;
    }

    .hr-glass-hero__actions {
        align-items: stretch;
        gap: 10px;
        margin-top: 28px;
    }

    .hr-glass-btn {
        min-height: 50px;
        padding: 11px 15px;
        font-size: 13px;
    }

    .hr-glass-hero__bottom {
        bottom: 28px;
        left: 24px;
        gap: 10px;
        font-size: 10px;
    }

    html[dir="rtl"] .hr-glass-hero__bottom {
        right: 24px;
        left: auto;
    }

    .hr-glass-hero__scroll {
        right: 24px;
        bottom: 22px;
        transform: scale(0.85);
    }

    html[dir="rtl"] .hr-glass-hero__scroll {
        right: auto;
        left: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hr-glass-hero__background,
    .hr-glass-hero__content,
    .hr-glass-hero__scroll span {
        animation: none;
    }
}

/* =========================================
   Hooramco - Railing Systems Grid
========================================= */

.hr-railing-systems {
    position: relative;
    padding: 110px 0 120px;
    overflow: hidden;
    background: #f6f7f8;
    color: #202a32;
}

.hr-railing-systems,
.hr-railing-systems * {
    box-sizing: border-box;
}

.hr-railing-systems__container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 30px;
}

.hr-railing-systems__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
    margin-bottom: 48px;
}

.hr-railing-systems__intro {
    max-width: 760px;
}

.hr-railing-systems__eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    color: #cc0000;
    font-size: 12px;
    letter-spacing: 2.2px;
    line-height: 1.6;
}

.hr-railing-systems__heading h2 {
    margin: 0 0 18px;
    color: #202a32;
    font-size: clamp(30px, 3.2vw, 44px);
    font-weight: 600;
    line-height: 1.5;
}

.hr-railing-systems__heading p {
    max-width: 690px;
    margin: 0;
    color: #69737c;
    font-size: 15px;
    line-height: 2;
}

.hr-railing-systems__count {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 13px;
    padding-bottom: 8px;
}

.hr-railing-systems__count > span {
    color: #cc0000;
    font-size: 44px;
    font-weight: 300;
    line-height: 1;
}

.hr-railing-systems__count small {
    max-width: 95px;
    color: #69737c;
    font-size: 11px;
    line-height: 1.8;
}

/* Grid */

.hr-railing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
}

.hr-railing-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e9ecef;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.hr-railing-card:hover {
    transform: translateY(-5px);
    border-color: rgb(204 0 0 / 0.13);
    box-shadow: 0 18px 42px rgba(25, 38, 49, 0.09);
}

.hr-railing-card__image-link {
    position: relative;
    display: block;
    height: 285px;
    overflow: hidden;
    background: #dce1e4;
    text-decoration: none;
}

.hr-railing-card__image-link::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(
        180deg,
        rgba(10, 20, 28, 0.22) 0%,
        transparent 35%,
        rgba(10, 20, 28, 0.42) 100%
    );
    pointer-events: none;
}

.hr-railing-card__image-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.hr-railing-card:hover .hr-railing-card__image-link img {
    transform: scale(1.055);
}

.hr-railing-card__number {
    position: absolute;
    z-index: 1;
    top: 18px;
    left: 18px;
    display: flex;
    width: 39px;
    height: 39px;
    align-items: center;
    justify-content: center;
    color: #202a32;
    background: #cc0000;
    font-size: 13px;
    font-weight: 600;
}

.hr-railing-card__image-label {
    position: absolute;
    z-index: 1;
    bottom: 20px;
    left: 20px;
    color: #fff;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.7px;
}

.hr-railing-card__arrow {
    position: absolute;
    z-index: 1;
    right: 18px;
    bottom: 15px;
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    font-size: 20px;
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease;
}

.hr-railing-card:hover .hr-railing-card__arrow {
    color: #202a32;
    background: #cc0000;
    border-color: #cc0000;
}

.hr-railing-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 27px 25px 28px;
}

.hr-railing-card__subtitle {
    display: block;
    margin-bottom: 12px;
    color: #cc0000;
    font-size: 11px;
    letter-spacing: 1.2px;
    line-height: 1.7;
}

.hr-railing-card__body h3 {
    width: 100%;
    margin: 0 0 13px;
    color: #202a32;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.hr-railing-card__body p {
    width: 100%;
    min-height: 84px;
    margin: 0 0 20px;
    color: #707a82;
    font-size: 13px;
    line-height: 2.1;
}

.hr-railing-card__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    color: #283640;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.8;
    text-decoration: none;
    transition: color 0.25s ease;
}

.hr-railing-card__link span {
    color: #cc0000;
    font-size: 18px;
    transition: transform 0.25s ease;
}

.hr-railing-card__link:hover {
    color: #cc0000;
}

.hr-railing-card__link:hover span {
    transform: translateX(4px);
}

/* RTL */

html[dir="rtl"] .hr-railing-systems__heading {
    text-align: right;
}

html[dir="rtl"] .hr-railing-systems__eyebrow,
html[dir="rtl"] .hr-railing-card__subtitle,
html[dir="rtl"] .hr-railing-card__image-label {
    letter-spacing: 0;
}

html[dir="rtl"] .hr-railing-card__body {
    align-items: flex-start;
    text-align: right;
}

html[dir="rtl"] .hr-railing-card__number {
    right: 18px;
    left: auto;
}

html[dir="rtl"] .hr-railing-card__image-label {
    right: 20px;
    left: auto;
}

html[dir="rtl"] .hr-railing-card__arrow {
    right: auto;
    left: 18px;
}

html[dir="rtl"] .hr-railing-card__link {
    flex-direction: row-reverse;
}

html[dir="rtl"] .hr-railing-card__link:hover span {
    transform: translateX(-4px);
}

/* Tablet */

@media (max-width: 991px) {
    .hr-railing-systems {
        padding: 85px 0 90px;
    }

    .hr-railing-systems__container {
        padding: 0 24px;
    }

    .hr-railing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .hr-railing-card__image-link {
        height: 260px;
    }

    .hr-railing-card__body {
        padding: 23px 20px 25px;
    }

    .hr-railing-card__body h3 {
        font-size: 19px;
    }

    .hr-railing-card__body p {
        min-height: 90px;
    }
}

/* Mobile */

@media (max-width: 575px) {
    .hr-railing-systems {
        padding: 68px 0 75px;
    }

    .hr-railing-systems__container {
        padding: 0 18px;
    }

    .hr-railing-systems__heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }

    .hr-railing-systems__heading h2 {
        margin-bottom: 12px;
        font-size: 29px;
        line-height: 1.7;
    }

    .hr-railing-systems__heading p {
        font-size: 13px;
        line-height: 2.1;
    }

    .hr-railing-systems__count {
        gap: 10px;
        padding: 0;
    }

    .hr-railing-systems__count > span {
        font-size: 34px;
    }

    .hr-railing-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .hr-railing-card__image-link {
        height: 260px;
    }

    .hr-railing-card__body {
        padding: 23px 20px 25px;
    }

    .hr-railing-card__body h3 {
        font-size: 20px;
    }

    .hr-railing-card__body p {
        min-height: 0;
        margin-bottom: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hr-railing-card,
    .hr-railing-card__image-link img,
    .hr-railing-card__arrow,
    .hr-railing-card__link span {
        transition: none;
    }
}

/* =========================================
   Railing Detail - Recessed System
========================================= */

.hr-railing-detail {
    position: relative;
    overflow: hidden;
    padding: 110px 0;
    background: #ffffff;
    color: #252b31;
}

.hr-railing-detail__container {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(40px, 7vw, 100px);
}

.hr-railing-detail__visual {
    min-width: 0;
}

.hr-railing-detail__image-wrap {
    position: relative;
    overflow: hidden;
    background: #e9edf0;
    aspect-ratio: 4 / 5;
}

.hr-railing-detail__image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.hr-railing-detail__image-wrap:hover img {
    transform: scale(1.035);
}

.hr-railing-detail__image-label {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    background: rgba(24, 31, 37, 0.88);
    color: #ffffff;
    font-size: 13px;
    backdrop-filter: blur(10px);
}

.hr-railing-detail__image-label > span:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    background: #cc0000;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.hr-railing-detail__visual-caption {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    color: #707982;
    font-size: 12px;
    line-height: 1.9;
}

.hr-railing-detail__caption-line {
    display: block;
    width: 36px;
    height: 1px;
    flex: 0 0 36px;
    background: #cc0000;
}

.hr-railing-detail__content {
    min-width: 0;
}

.hr-railing-detail__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    color: #8a9299;
    font-size: 12px;
    letter-spacing: 1.5px;
}

.hr-railing-detail__eyebrow > span:first-child {
    color: #cc0000;
    font-size: 14px;
}

.hr-railing-detail__content h2 {
    margin: 0 0 24px;
    color: #252b31;
    font-size: clamp(28px, 3.1vw, 43px);
    font-weight: 700;
    line-height: 1.55;
}

.hr-railing-detail__lead {
    margin: 0;
    color: #68727b;
    font-size: 15px;
    line-height: 2.2;
}

.hr-railing-detail__divider {
    width: 100%;
    height: 1px;
    margin: 30px 0;
    background: #e6e9eb;
}

.hr-railing-detail__content h3 {
    margin: 0 0 20px;
    color: #30373d;
    font-size: 17px;
    font-weight: 700;
}

.hr-railing-detail__features {
    display: flex;
    flex-direction: column;
    gap: 17px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hr-railing-detail__features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #626d76;
    font-size: 13px;
    line-height: 2;
}

.hr-railing-detail__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    margin-top: 2px;
    border: 1px solid rgb(204 0 0 / 0.45);
    color: #cc0000;
    font-size: 16px;
    line-height: 1;
}

.hr-railing-detail__note {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-top: 30px;
    padding: 18px;
    background: #f5f6f7;
    border-left: 3px solid #cc0000;
}

.hr-railing-detail__note-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    border: 1px solid #cc0000;
    border-radius: 50%;
    color: #cc0000;
    font-family: serif;
    font-size: 14px;
    font-style: italic;
}

.hr-railing-detail__note p {
    margin: 0;
    color: #68727b;
    font-size: 12px;
    line-height: 2.1;
}

.hr-railing-detail__note strong {
    color: #343b42;
}

.hr-railing-detail__cta {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    margin-top: 30px;
    padding: 14px 0;
    border-bottom: 1px solid #cc0000;
    color: #30373d;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.25s ease;
}

.hr-railing-detail__cta:hover {
    color: #cc0000;
}

.hr-railing-detail__cta-arrow {
    color: #cc0000;
    font-size: 19px;
    transition: transform 0.25s ease;
}

.hr-railing-detail__cta:hover .hr-railing-detail__cta-arrow {
    transform: translate(3px, -3px);
}

/* RTL support */

html[dir="rtl"] .hr-railing-detail__note {
    border-left: 0;
    border-right: 3px solid #cc0000;
}

html[dir="rtl"] .hr-railing-detail__cta-arrow {
    transform: scaleX(-1);
}

html[dir="rtl"] .hr-railing-detail__cta:hover
.hr-railing-detail__cta-arrow {
    transform: scaleX(-1) translate(3px, -3px);
}

/* Responsive */

@media (max-width: 991px) {
    .hr-railing-detail {
        padding: 80px 0;
    }

    .hr-railing-detail__container {
        gap: 35px;
    }

    .hr-railing-detail__content h2 {
        font-size: 30px;
    }

    .hr-railing-detail__lead {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .hr-railing-detail {
        padding: 60px 0;
    }

    .hr-railing-detail__container {
        width: min(560px, calc(100% - 32px));
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .hr-railing-detail__image-wrap {
        aspect-ratio: 4 / 4.5;
    }

    .hr-railing-detail__content h2 {
        margin-bottom: 18px;
        font-size: 28px;
    }

    .hr-railing-detail__divider {
        margin: 24px 0;
    }

    .hr-railing-detail__note {
        padding: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hr-railing-detail__image-wrap img,
    .hr-railing-detail__cta,
    .hr-railing-detail__cta-arrow {
        transition: none;
    }
}

/* Surface-mounted railing: alternate section layout */

.hr-railing-detail--surface {
    background: #f5f6f7;
}

.hr-railing-detail--surface .hr-railing-detail__container {
    direction: ltr;
}

.hr-railing-detail--surface .hr-railing-detail__visual,
.hr-railing-detail--surface .hr-railing-detail__content {
    direction: rtl;
}

.hr-railing-detail--surface .hr-railing-detail__content {
    grid-column: 1;
    grid-row: 1;
}

.hr-railing-detail--surface .hr-railing-detail__visual {
    grid-column: 2;
    grid-row: 1;
}

@media (max-width: 767px) {
    .hr-railing-detail--surface .hr-railing-detail__container {
        direction: inherit;
    }

    .hr-railing-detail--surface .hr-railing-detail__visual,
    .hr-railing-detail--surface .hr-railing-detail__content {
        grid-column: auto;
        grid-row: auto;
    }
}

/* Point-fixed railing */

.hr-railing-detail--point {
    background: #ffffff;
}

.hr-railing-detail--point .hr-railing-detail__image-wrap {
    background: #e9edf0;
}

.hr-railing-detail--point .hr-railing-detail__image-label > span:first-child {
    background: #cc0000;
}

/* Spigot-Mounted Glass Railing */
.hr-railing-detail--spigot {
    background: #f5f6f7;
}

.hr-railing-detail--spigot .hr-railing-detail__image-wrap {
    background: #e9edf0;
}

.hr-railing-detail--spigot .hr-railing-detail__image-label > span:first-child {
    background: #cc0000;
}

/* Cable Railing */
.hr-railing-detail--cable {
    background: #ffffff;
}

.hr-railing-detail--cable .hr-railing-detail__image-wrap {
    background: #e9edf0;
}

.hr-railing-detail--cable .hr-railing-detail__image-label > span:first-child {
    background: #cc0000;
}

/* Railing Systems Comparison */
.hr-railing-comparison {
    padding: 90px 24px;
    background: #f5f6f7;
    color: #252a30;
}

.hr-railing-comparison__container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

.hr-railing-comparison__header {
    max-width: 800px;
    margin: 0 auto 42px;
    text-align: center;
}

.hr-railing-comparison__eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #cc0000;
    font-size: 14px;
    letter-spacing: 0.4px;
}

.hr-railing-comparison__header h2 {
    margin: 0 0 18px;
    color: #252a30;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.6;
}

.hr-railing-comparison__header p {
    margin: 0;
    color: #69717a;
    font-size: 15px;
    line-height: 2;
}

.hr-railing-comparison__table-wrap {
    overflow-x: auto;
    border: 1px solid #e0e4e8;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(24, 36, 48, 0.05);
    -webkit-overflow-scrolling: touch;
}

.hr-railing-comparison__table {
    width: 100%;
    min-width: 780px;
    border-collapse: collapse;
    text-align: right;
    direction: rtl;
}

.hr-railing-comparison__table th,
.hr-railing-comparison__table td {
    padding: 20px 18px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
    font-size: 14px;
    line-height: 1.9;
}

.hr-railing-comparison__table thead th {
    background: #28333e;
    color: #fff;
    font-weight: 700;
    white-space: nowrap;
}

.hr-railing-comparison__table tbody th {
    min-width: 125px;
    color: #303943;
    font-weight: 700;
    white-space: nowrap;
}

.hr-railing-comparison__table tbody td {
    color: #606a74;
}

.hr-railing-comparison__table tbody tr:last-child th,
.hr-railing-comparison__table tbody tr:last-child td {
    border-bottom: 0;
}

.hr-railing-comparison__table tbody tr {
    transition: background-color 0.2s ease;
}

.hr-railing-comparison__table tbody tr:hover {
    background: #f8f9fa;
}

.hr-railing-comparison__note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 24px;
    padding: 20px 22px;
    border-right: 3px solid #cc0000;
    background: #fff;
}

.hr-railing-comparison__note-icon {
    display: flex;
    flex: 0 0 24px;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #edf0f2;
    color: #59636d;
    font-size: 14px;
    font-weight: 700;
}

.hr-railing-comparison__note p {
    margin: 0;
    color: #69717a;
    font-size: 13px;
    line-height: 2;
}

html[lang^="en"] .hr-railing-comparison__table,
html[lang^="ar"] .hr-railing-comparison__table {
    direction: rtl;
    text-align: center;
}

html[lang^="en"] .hr-railing-comparison__note,
html[lang^="ar"] .hr-railing-comparison__note {
    border-right: 0;
    border-right: 3px solid #cc0000;
}

@media (max-width: 767px) {
    .hr-railing-comparison {
        padding: 60px 16px;
    }

    .hr-railing-comparison__header {
        margin-bottom: 28px;
    }

    .hr-railing-comparison__table th,
    .hr-railing-comparison__table td {
        padding: 15px 13px;
        font-size: 13px;
    }

    .hr-railing-comparison__note {
        padding: 16px;
    }
}

/* Railing Design, Manufacturing & Installation Process */
.hr-railing-process {
    padding: 90px 24px;
    background: #ffffff;
    color: #252a30;
}

.hr-railing-process__container {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
}

.hr-railing-process__header {
    max-width: 800px;
    margin: 0 auto 55px;
    text-align: center;
}

.hr-railing-process__eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #cc0000;
    font-size: 14px;
}

.hr-railing-process__header h2 {
    margin: 0 0 18px;
    color: #252a30;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.6;
}

.hr-railing-process__header p {
    margin: 0;
    color: #69717a;
    font-size: 15px;
    line-height: 2;
}

.hr-railing-process__steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px;
}

.hr-railing-process__step {
    position: relative;
    min-width: 0;
    padding: 28px 20px;
    border: 1px solid #e7eaed;
    border-radius: 10px;
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hr-railing-process__step:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(24, 36, 48, 0.07);
}

.hr-railing-process__number {
    position: absolute;
    top: 18px;
    left: 18px;
    color: #777;
    font-size: 23px;
    font-weight: 700;
    line-height: 1;
}

.hr-railing-process__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 24px;
    border-radius: 10px;
    background: #f5f6f7;
    color: #cc0000;
    font-size: 26px;
}

.hr-railing-process__step h3 {
    margin: 0 0 14px;
    color: #303943;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.9;
}

.hr-railing-process__step p {
    margin: 0;
    color: #69717a;
    font-size: 13px;
    line-height: 2;
}

.hr-railing-process__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 32px;
    padding: 25px 28px;
    border-radius: 10px;
    background: #28333e;
}

.hr-railing-process__footer p {
    margin: 0;
    color: #e0e5e9;
    font-size: 14px;
    line-height: 2;
}

.hr-railing-process__cta {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 5px;
    background: #cc0000;
    color: #202830;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.hr-railing-process__cta:hover {
    background: #cc0000;
    color: #202830;
}

.hr-railing-process__cta span {
    font-size: 18px;
    line-height: 1;
}

html[lang^="en"] .hr-railing-process__number,
html[lang^="ar"] .hr-railing-process__number {
    right: 18px;
    left: auto;
}

html[lang^="en"] .hr-railing-process__footer,
html[lang^="ar"] .hr-railing-process__footer {
    direction: ltr;
}

@media (max-width: 1100px) {
    .hr-railing-process__steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .hr-railing-process {
        padding: 60px 16px;
    }

    .hr-railing-process__header {
        margin-bottom: 32px;
    }

    .hr-railing-process__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .hr-railing-process__step {
        padding: 22px 16px;
    }

    .hr-railing-process__footer {
        align-items: stretch;
        flex-direction: column;
        padding: 22px 18px;
    }

    .hr-railing-process__cta {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .hr-railing-process__steps {
        grid-template-columns: 1fr;
    }
}

/* Glass Railing Benefits */
.hr-railing-benefits {
    padding: 90px 24px;
    background: #ffffff;
    color: #252a30;
}

.hr-railing-benefits__container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

.hr-railing-benefits__intro {
    max-width: 820px;
    margin: 0 auto 48px;
    text-align: center;
}

.hr-railing-benefits__eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #cc0000;
    font-size: 14px;
}

.hr-railing-benefits__intro h2 {
    margin: 0 0 18px;
    color: #252a30;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.6;
}

.hr-railing-benefits__intro > p {
    margin: 0;
    color: #69717a;
    font-size: 15px;
    line-height: 2;
}

.hr-railing-benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.hr-railing-benefits__card {
    padding: 28px 24px;
    border: 1px solid #e4e8eb;
    border-radius: 10px;
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hr-railing-benefits__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(24, 36, 48, 0.06);
}

.hr-railing-benefits__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    border-radius: 10px;
    background: #f3eee5;
    color: #cc0000;
}

.hr-railing-benefits__icon svg {
    display: block;
    width: 34px;
    height: 34px;
}

.hr-railing-benefits__card h3 {
    margin: 0 0 12px;
    color: #303943;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.8;
}

.hr-railing-benefits__card p {
    margin: 0;
    color: #69717a;
    font-size: 13px;
    line-height: 2;
}

.hr-railing-benefits__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 30px;
    padding: 28px 30px;
    border-radius: 10px;
    background: #28333e;
}

.hr-railing-benefits__bottom h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.8;
}

.hr-railing-benefits__bottom p {
    margin: 0;
    color: #d4dbe1;
    font-size: 14px;
    line-height: 2;
}

.hr-railing-benefits__cta {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 5px;
    background: #cc0000;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.hr-railing-benefits__cta:hover {
    background: #ea2424;
    color: #ffffff;
}

.hr-railing-benefits__cta span {
    font-size: 18px;
    line-height: 1;
}

@media (max-width: 1100px) {
    .hr-railing-benefits__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .hr-railing-benefits {
        padding: 60px 16px;
    }

    .hr-railing-benefits__intro {
        margin-bottom: 32px;
    }

    .hr-railing-benefits__grid {
        gap: 14px;
    }

    .hr-railing-benefits__card {
        padding: 22px 18px;
    }

    .hr-railing-benefits__bottom {
        align-items: stretch;
        flex-direction: column;
        padding: 22px 18px;
    }

    .hr-railing-benefits__cta {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .hr-railing-benefits__grid {
        grid-template-columns: 1fr;
    }
}


/* Glass Railing CTA */
.hr-railing-cta {
    padding: 70px 0;
    background: #fff;
}

.hr-railing-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
    padding: 55px 65px;
    overflow: hidden;
    border-radius: 14px;
    background: #292e33;
    color: #fff;
}

.hr-railing-cta__content {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 690px;
}

.hr-railing-cta__eyebrow {
    display: inline-block;
    margin-bottom: 17px;
    color: #cc0000;
    font-size: 13px;
    letter-spacing: 2px;
}

.hr-railing-cta__content h2 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.8;
}

.hr-railing-cta__content > p {
    max-width: 610px;
    margin: 0;
    color: #d4dce3;
    font-size: 14px;
    line-height: 2.2;
}

.hr-railing-cta__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 30px;
}

.hr-railing-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 49px;
    padding: 13px 24px;
    border: 1px solid #cc0000;
    border-radius: 5px;
    background: #cc0000;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease;
}

.hr-railing-cta__button:hover {
    border-color: #fff;
    background: #fff;
    color: #cc0000;
}

.hr-railing-cta__button i {
    font-size: 17px;
    transition: transform .2s ease;
}

.hr-railing-cta__button:hover i {
    transform: translateX(-3px);
}

[dir="rtl"] .hr-railing-cta__button i {
    transform: scaleX(-1);
}

[dir="rtl"] .hr-railing-cta__button:hover i {
    transform: scaleX(-1) translateX(-3px);
}

.hr-railing-cta__caption {
    color: #c6d0d8;
    font-size: 12px;
    line-height: 1.9;
}

/* Decorative railing illustration */
.hr-railing-cta__decoration {
    position: relative;
    flex: 0 0 260px;
    width: 260px;
    height: 290px;
    margin-inline-end: 10px;
}

.hr-railing-cta__frame {
    position: absolute;
    border: 2px solid rgba(198, 165, 107, .75);
    transform: skewY(-8deg);
}

.hr-railing-cta__frame--outer {
    inset: 10px 20px 20px 10px;
}

.hr-railing-cta__frame--inner {
    inset: 30px 40px 40px 30px;
    border-color: rgba(255, 255, 255, .4);
}

.hr-railing-cta__glass {
    position: absolute;
    inset: 45px 55px 55px 45px;
    border: 1px solid rgba(255, 255, 255, .25);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, .16),
        rgba(139, 181, 202, .04)
    );
    transform: skewY(-8deg);
}

.hr-railing-cta__post {
    position: absolute;
    top: 65px;
    bottom: 65px;
    left: 50%;
    width: 5px;
    border-radius: 2px;
    background: linear-gradient(90deg, #9da8b0, #e1e5e8, #7d8992);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
    transform: translateX(-50%) skewY(-8deg);
}

.hr-railing-cta__label {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    color: #cc0000;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 991px) {
    .hr-railing-cta__inner {
        gap: 25px;
        padding: 45px;
    }

    .hr-railing-cta__decoration {
        flex-basis: 190px;
        width: 190px;
        height: 240px;
    }
}

@media (max-width: 767px) {
    .hr-railing-cta {
        padding: 45px 0;
    }

    .hr-railing-cta__inner {
        padding: 32px 24px;
        border-radius: 12px;
    }

    .hr-railing-cta__decoration {
        display: none;
    }

    .hr-railing-cta__content h2 {
        font-size: 25px;
    }

    .hr-railing-cta__actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .hr-railing-cta__button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hr-railing-cta__inner {
        padding: 28px 20px;
    }
}
/* Glass Railing Image Slider */

.hr-railing-slider {
    position: relative;
    overflow: hidden;
}

.hr-railing-slider__track {
    display: grid;
    width: 100%;
}

.hr-railing-slider__slide {
    grid-area: 1 / 1;
    min-width: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .35s ease, visibility .35s ease;
}

.hr-railing-slider__slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hr-railing-slider__slide img {
    display: block;
    width: 100%;
    height: auto;
}

/* Navigation buttons */
.hr-railing-slider__arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 50%;
    background: rgba(32, 42, 50, .78);
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.hr-railing-slider__arrow:hover,
.hr-railing-slider__arrow:focus-visible {
    border-color: #cc0000;
    background: #cc0000;
    color: #ffffff;
}

.hr-railing-slider__arrow--prev {
    left: 14px;
}

.hr-railing-slider__arrow--next {
    right: 14px;
}

.hr-railing-slider__arrow i {
    font-size: 17px;
    line-height: 1;
}

/* Image counter */
.hr-railing-slider__counter {
    position: absolute;
    z-index: 4;
    left: 30px;
    bottom: 38px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 4px;
    background: rgba(32, 42, 50, .8);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    direction: ltr;
    font-variant-numeric: tabular-nums;
}

.hr-railing-slider .hr-railing-detail__image-label {
    z-index: 3;
}

@media (max-width: 767px) {
    .hr-railing-slider__arrow {
        width: 36px;
        height: 36px;
    }

    .hr-railing-slider__arrow--prev {
        left: 10px;
    }

    .hr-railing-slider__arrow--next {
        right: 10px;
    }

    .hr-railing-slider__counter {
        left: 30px;
        bottom: 38px;
        padding: 6px 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hr-railing-slider__slide,
    .hr-railing-slider__arrow {
        transition: none;
    }
}

