/**
 * RubberSmart Homepage Styles
 * File: /wp-content/themes/project/css/homepage.css
 */


/* ============================================================
   PAGE WRAPPER
============================================================ */
#rs-homepage {
    background: #fff;
}


/* ============================================================
   HERO
============================================================ */
.rs-hero {
    background: #15171c;
    position: relative;
}

.rs-hero__track {
    position: relative;
    overflow: hidden;
    /* Height set by active slide */
}

.rs-hero__slide {
    position: absolute;
    inset: 0;
    background-image: var(--bg-desktop);
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity .8s ease;
    pointer-events: none;
}

.rs-hero__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

.rs-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 520px;
    /*max-width: 1400px;*/
    margin: 0 auto;
    padding: 60px 5%;
    gap: 60px;
}

.rs-hero__content {
    position: relative;
    z-index: 2;
}

.rs-hero__heading {
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    line-height: 1.02;
    margin: 0 0 20px 0;
}

.rs-hero__heading--highlight {
    color: #ffc200;
    display: block;
}

.rs-hero__sub {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    line-height: 1.65;
    margin: 0 0 32px 0;
    max-width: 460px;
}

.rs-hero__btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}



/* When parent has text-align:center, centre the buttons too */
[style*="text-align:center"] .rs-hero__btns,
[style*="margin-left:auto"][style*="margin-right:auto"] .rs-hero__btns {
    justify-content: center;
}

[style*="text-align:right"] .rs-hero__btns {
    justify-content: flex-end;
}

/* When parent has text-align:center, centre the buttons too */
[style*="text-align:center"] .rs-hero__btns,
[style*="margin-left:auto"][style*="margin-right:auto"] .rs-hero__btns {
    justify-content: center;
}

/* When parent has text-align:right, right-align the buttons too */
[style*="text-align:right"] .rs-hero__btns {
    justify-content: flex-end;
}

.rs-hero__btn {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.rs-hero__btn--primary {
    background: #ffc200;
    color: #15171c;
}

.rs-hero__btn--primary:hover {
    background: #e6ae00;
    color: #15171c;
    text-decoration: none;
}

.rs-hero__btn--ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.35);
}

.rs-hero__btn--ghost:hover {
    border-color: #fff;
    color: #fff;
    text-decoration: none;
}

.rs-hero__image {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rs-hero__image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}
.rs-hero__arrow {
    position: absolute;
    top: auto;
    bottom: 24px;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.4);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.2s ease;
    padding: 0;
}

.rs-hero:hover .rs-hero__arrow {
    opacity: 0.7;
}

.rs-hero:hover .rs-hero__arrow:hover {
    opacity: 1;
    background: rgba(0,0,0,0.7);
}

.rs-hero__arrow--prev {
    left: 24px;
}

.rs-hero__arrow--prev::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg) translate(2px, -2px);
}

.rs-hero__arrow--next {
    right: 24px;
}

.rs-hero__arrow--next::after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #fff;
    border-top: 2px solid #fff;
    transform: rotate(45deg) translate(-2px, 2px);
}

/* Full background layout - no right image, content positioned */
.rs-hero__inner--full {
    display: flex;
    align-items: center;
    min-height: 520px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 7% 60px 7%;
}

.rs-hero__inner--v-top    { align-items: flex-start; }
.rs-hero__inner--v-middle { align-items: center; }
.rs-hero__inner--v-bottom { align-items: flex-end; }

/* Content widths (set by ACF) - can be overridden per breakpoint */
.rs-hero__content--w-narrow { max-width: 440px; }
.rs-hero__content--w-wide   { max-width: 700px; }
.rs-hero__content--w-full   { max-width: 100%; }

.rs-hero__inner--full [style*="text-align:left"] .rs-hero__sub {
    padding-right: 10%;
}

.rs-hero__inner--full [style*="text-align:right"] .rs-hero__sub {
    padding-left: 10%;
}

/* Split layout - with right image */



/* ============================================================
   HERO OVERLAYS
============================================================ */
.rs-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* Dark gradient overlays - direction variants */
.rs-hero__overlay--dark-left-bottom {
    background: linear-gradient(135deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 60%);
}
.rs-hero__overlay--dark-left-center {
    background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 60%);
}
.rs-hero__overlay--dark-left-top {
    background: linear-gradient(225deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.75) 100%);
}
.rs-hero__overlay--dark-bottom {
    background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 60%);
}
.rs-hero__overlay--dark-full {
    background: rgba(0,0,0,0.5);
}
.rs-hero__overlay--dark-subtle {
    background: rgba(0,0,0,0.25);
}

/* White gradient overlays - direction variants */
.rs-hero__overlay--white-left-bottom {
    background: linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0) 60%);
}
.rs-hero__overlay--white-left-center {
    background: linear-gradient(90deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0) 60%);
}
.rs-hero__overlay--white-left-top {
    background: linear-gradient(225deg, rgba(255,255,255,0) 40%, rgba(255,255,255,0.85) 100%);
}
.rs-hero__overlay--white-bottom {
    background: linear-gradient(0deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0) 60%);
}
.rs-hero__overlay--white-full {
    background: rgba(255,255,255,0.6);
}
.rs-hero__overlay--white-subtle {
    background: rgba(255,255,255,0.3);
}

/* Yellow gradient overlays - direction variants */
.rs-hero__overlay--yellow-left-bottom {
    background: linear-gradient(135deg, rgba(252,176,64,0.8) 0%, rgba(252,176,64,0) 60%);
}
.rs-hero__overlay--yellow-left-center {
    background: linear-gradient(90deg, rgba(252,176,64,0.8) 0%, rgba(252,176,64,0) 60%);
}
.rs-hero__overlay--yellow-left-top {
    background: linear-gradient(225deg, rgba(252,176,64,0) 40%, rgba(252,176,64,0.8) 100%);
}
.rs-hero__overlay--yellow-bottom {
    background: linear-gradient(0deg, rgba(252,176,64,0.8) 0%, rgba(252,176,64,0) 60%);
}
.rs-hero__overlay--yellow-full {
    background: rgba(252,176,64,0.55);
}
.rs-hero__overlay--yellow-subtle {
    background: rgba(252,176,64,0.25);
}

/* Content sits above overlay */
.rs-hero__inner,
.rs-hero__inner--full {
    position: relative;
    z-index: 2;
}

/* Stats strip */
.rs-hero__stats {
    display: flex;
    align-items: center;
    padding: 18px 5%;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.rs-hero__stat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 48px 0 0;
}

.rs-hero__stat + .rs-hero__stat {
    padding-left: 48px;
    border-left: 1px solid rgba(255,255,255,0.12);
}

.rs-hero__stat-value {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rs-hero__stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}


/* ============================================================
   USP STRIP
============================================================ */
.rs-usp-strip {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.rs-usp-strip__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1400px;
    margin: 0 auto;
}

.rs-usp-strip__item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px 5%;
    border-right: 1px solid #eee;
}

.rs-usp-strip__item:last-child {
    border-right: none;
}

.rs-usp-strip__icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #f5f5f5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border: 1px solid #eee;
}

.rs-usp-strip__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rs-usp-strip__heading {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #15171c;
    margin-bottom: 3px;
}

.rs-usp-strip__body {
    font-size: 13px;
    color: #4f4f4f;
    margin: 0;
    line-height: 1.4;
}


/* USP Strip - shrink padding/text between 1100 and 640 to keep 3-across */
@media (max-width: 1100px) {
    .rs-usp-strip__item {
        gap: 12px;
        padding: 22px 4%;
    }

    .rs-usp-strip__heading {
        font-size: 14px;
    }

    .rs-usp-strip__body {
        font-size: 12px;
    }
}

@media (max-width: 900px) {
    .rs-usp-strip__item {
        gap: 10px;
        padding: 18px 3%;
    }

    .rs-usp-strip__icon {
        width: 40px;
        height: 40px;
    }

    .rs-usp-strip__heading {
        font-size: 13px;
    }

    .rs-usp-strip__body {
        font-size: 11px;
        line-height: 1.35;
    }
}

/* USP Strip - mobile: stack vertically */
@media (max-width: 640px) {
    .rs-usp-strip__grid {
        grid-template-columns: 1fr;
    }

    .rs-usp-strip__item {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 20px 5%;
        gap: 18px;
    }

    .rs-usp-strip__item:last-child {
        border-bottom: none;
    }

    .rs-usp-strip__icon {
        width: 44px;
        height: 44px;
    }

    .rs-usp-strip__heading {
        font-size: 15px;
    }

    .rs-usp-strip__body {
        font-size: 13px;
    }
}


/* ============================================================
   BROWSE BY APPLICATION
============================================================ */
.rs-browse {
    background: #f7f7f7;
    padding: 60px 5%;
}

.rs-browse__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.rs-browse__heading-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rs-browse__label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 600;
    color: #ffc200;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0;
    font-family: monospace;
}

.rs-browse__label-line {
    display: inline-block;
    width: 20px;
    height: 1px;
    background: #ffc200;
    flex-shrink: 0;
}

.rs-browse__heading {
    font-size: 28px;
    font-weight: 800;
    color: #15171c;
    margin: 0;
    line-height: 1.2;
}

.rs-browse__viewall {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #15171c;
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: opacity 0.2s ease;
}

.rs-browse__viewall:hover {
    opacity: 0.6;
    text-decoration: none;
}

/* gap:1px + background on grid = divider lines between cards */
.rs-browse__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    max-width: 1400px;
    margin: 0 auto;
    background: #e0e0e0;
}

.rs-browse__card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: #fff;
    padding: 20px;
    box-sizing: border-box;
    transition: background 0.2s ease;
}

.rs-browse__card:hover {
    background: #f9f9f9;
    text-decoration: none;
}

.rs-browse__card-code {
    display: block;
    font-size: 9px;
    font-weight: 600;
    color: rgba(0,0,0,0.3);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: monospace;
}

.rs-browse__card-count {
    display: none;
}

.rs-browse__card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f5f5f5;
    margin: 16px 0;
}

.rs-browse__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s cubic-bezier(0.2,0,0,1);
}

.rs-browse__card:hover .rs-browse__card-img img {
    transform: scale(1.03);
}

.rs-browse__card-name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #15171c;
    line-height: 1.3;
    margin: 0;
}


.rs-browse__card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rs-browse__card-arrow {
    opacity: 0;
    color: #999;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.rs-browse__card:hover .rs-browse__card-arrow {
    opacity: 1;
}


/* ============================================================
   CUSTOM SOLUTIONS
============================================================ */
.rs-solutions {
    background: #15171c;
}

.rs-solutions__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.rs-solutions__content {
    padding: 71px 10% 70px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rs-solutions__label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 700;
    color: #ffc200;;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 20px 0;
}

.rs-solutions__label-line {
    display: inline-block;
    width: 24px;
    height: 1px;
    background: #ffc200;;
    flex-shrink: 0;
}

.rs-solutions__heading {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin: 0 0 20px 0;
}

.rs-solutions__body {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin: 0 0 28px 0;
    max-width: 480px;
}

.rs-solutions__btn {
    display: inline-block;
    background: #ffc200;
    color: #15171c;
    font-size: 14px;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 4px;
    text-decoration: none;
    align-self: flex-start;
    margin-bottom: 40px;
}

.rs-solutions__btn:hover {
    background: #e6ae00;
    color: #15171c;
    text-decoration: none;
}

.rs-solutions__specs {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.rs-solutions__spec {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rs-solutions__spec-value {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.rs-solutions__spec-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.rs-solutions__image {
    position: relative;
    overflow: hidden;
    background: #1e2028;
}

.rs-solutions__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ============================================================
   NEWSLETTER
============================================================ */
.rs-newsletter {
    background: #f5f5f5;
    padding: 36px 5%;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
}

.rs-newsletter__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.rs-newsletter__heading {
    font-size: 26px;
    font-weight: 800;
    color: #15171c;
    margin: 0 0 8px 0;
    line-height: 30px;
}

.rs-newsletter__body {
    font-size: 14px;
    color: #4f4f4f;
    margin: 0;
    line-height: 1.55;
}

.rs-newsletter__form {
    display: flex;
    flex-shrink: 0;
    position: relative;
}

.rs-newsletter__input {
    width: 320px;
    padding: 13px 18px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 4px 0 0 4px;
    background: #fff;
    color: #15171c;
    outline: none;
}

.rs-newsletter__input:focus {
    border-color: #aaa;
}

.rs-newsletter__btn {
    background: #15171c;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 13px 22px;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    letter-spacing: 0.04em;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.rs-newsletter__btn:hover {
    background: #ffc200;
    color: #15171c;
}


/* ============================================================
   WHY RUBBERSMART
============================================================ */
.rs-why {
    background: #fff;
    padding: 60px 5%;
}

.rs-why__intro {
    max-width: 900px;
    margin: 0 0 50px 0;
    text-align: left;
}

.rs-why__label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    font-size: 12px;
    font-weight: 700;
    color: #ffc200;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 16px 0;
}

.rs-why__label-line {
    display: inline-block;
    width: 24px;
    height: 1px;
    background: #ffc200;
    flex-shrink: 0;
}

.rs-why__heading {
    font-size: 36px;
    font-weight: 800;
    color: #15171c;
    margin: 0 0 14px 0;
    line-height: 1.2;
}

.rs-why__body {
    font-size: 16px;
    color: #;
    line-height: 1.65;
    margin: 0;
}

.rs-why__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    /*max-width: 1400px; */
    margin: 0 auto;
    border: 1px solid #eee;
}

.rs-feature-card {
    background: #f7f7f7;
    border-radius: 0;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #eee;
}

.rs-feature-card:last-child {
    border-right: none;
}

.rs-feature-card__icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    background: rgba(255,194,0,0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.rs-feature-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rs-feature-card__title {
    font-size: 17px;
    font-weight: 700;
    color: #15171c;
    margin: 0 0 10px 0;
}

.rs-feature-card__body {
    font-size: 14px;
    color: #4f4f4f;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.rs-feature-card__stat {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.rs-feature-card__stat-value {
    font-size: 28px;
    font-weight: 800;
    color: #d0d0d0;
    line-height: 1;
}

.rs-feature-card__stat-label {
    font-size: 11px;
    font-weight: 700;
    color: #ccc;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}


/* ============================================================
   RESPONSIVE - TABLET (max 960px)
============================================================ */


@media (min-width: 1260px) {
.rs-why {
    background: #fff;
    padding: 60px 8%;
}

.rs-hero__inner--full {
    display: flex;
    align-items: center;
    min-height: 600px;
    margin: 0 auto;
}

}

@media (max-width: 960px) {

    .rs-hero__inner {
        grid-template-columns: 1fr;
        min-height: 400px;
        padding: 50px 5%;
        gap: 30px;
    }

    .rs-hero__image {
        display: none;
    }

    .rs-hero__heading {
        font-size: 40px;
    }

    .rs-hero__stats {
        flex-wrap: wrap;
        gap: 0;
    }

    .rs-browse__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .rs-solutions__inner {
        grid-template-columns: 1fr;
    }

    .rs-solutions__image {
        min-height: 340px;
    }

    .rs-solutions__content {
        padding: 50px 5%;
    }

    .rs-newsletter__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .rs-newsletter__heading {
        font-size: 21px;
        font-weight: 800;
        color: #15171c;
        margin: 0 0 8px 0;
        line-height: 30px;
        padding-bottom: 4%;
    }

    .rs-newsletter__input {
        width: 100%;
    }

    .rs-newsletter__form {
        width: 100%;
    }

    .rs-why__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rs-feature-card:nth-child(2) {
        border-right: none;
    }

    .rs-feature-card:nth-child(3) {
        border-top: 1px solid #eee;
        border-right: 1px solid #eee;
    }

    .rs-feature-card:nth-child(4) {
        border-top: 1px solid #eee;
        border-right: none;
    }

    .rs-why__heading {
        font-size: 28px;
    }
}


/* ============================================================
   RESPONSIVE - HERO PROGRESSIVE (max 900px and 768px)
============================================================ */
@media (max-width: 900px) {
    .rs-hero__content--w-narrow { max-width: 380px; }
    .rs-hero__content--w-wide   { max-width: 580px; }

    .rs-hero__heading { font-size: 44px; }
    .rs-hero__sub     { font-size: 15px; }
    .rs-hero__btn     { font-size: 13px; padding: 11px 22px; }
}

@media (max-width: 768px) {
    .rs-hero__content--w-narrow { max-width: 340px; }
    .rs-hero__content--w-wide   { max-width: 480px; }

    .rs-hero__heading { font-size: 38px; }
    .rs-hero__sub     { font-size: 14px; }
    .rs-hero__btn     { font-size: 12px; padding: 10px 20px; }
}


/* ============================================================
   RESPONSIVE - MOBILE (max 640px)
============================================================ */
@media (max-width: 640px) {

    /* Use mobile background image when set, fallback to desktop */
    .rs-hero__slide {
        background-image: var(--bg-mobile, var(--bg-desktop));
    }

    .rs-hero__inner {
        padding: 40px 5%;
        min-height: 360px;
    }

    /* Force all positioned hero content to top + centred regardless of desktop settings */
    .rs-hero__inner--full {
        min-height: 680px;
        padding: 50px 6%;
        align-items: flex-start !important;
    }

    .rs-hero__inner--full .rs-hero__content {
        max-width: 100% !important;
        margin: 0 auto !important;
        text-align: center !important;
    }

    .rs-hero__inner--full .rs-hero__sub {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100%;
    }

    .rs-hero__heading {
        font-size: 36px !important;
    }

    .rs-hero__sub {
        font-size: 13px;
        line-height: 1.4;
    }

    /* Force all buttons to centre on mobile regardless of desktop alignment */
    [style*="text-align:left"] .rs-hero__btns,
    [style*="text-align:right"] .rs-hero__btns,
    [style*="text-align:center"] .rs-hero__btns {
        justify-content: center;
    }

    .rs-hero__btns {
        flex-direction: column;
        align-items: center !important;
        width: 100%;
    }

    .rs-hero__btn {
        width: auto;
        max-width: none;
        font-size: 12px;
        padding: 9px 18px;
    }

    .rs-hero__stat {
        padding: 8px 16px 8px 0;
    }

    .rs-hero__stat + .rs-hero__stat {
        padding-left: 16px;
        border-left: none;
    }

    .rs-browse {
        padding: 40px 5%;
    }

    .rs-browse__grid {
      grid-template-columns: repeat(2, 1fr);
        gap: 1px;
    }

    .rs-browse__heading {
        font-size: 24px;
    }

    .rs-solutions__heading {
        font-size: 28px;
    }

    .rs-solutions__specs {
        flex-wrap: wrap;
        gap: 20px;
    }

    .rs-why {
        padding: 50px 5%;
    }

    .rs-why__grid {
        grid-template-columns: 1fr 1fr;
        border: none;
        gap: 1px;
        background: #eee;
    }

    .rs-feature-card {
        border-right: none;
        border-top: none;
    }

    .rs-why__heading {
        font-size: 24px;
    }

    .rs-feature-card {
        padding: 18px 16px;
    }

    .rs-feature-card__title {
        font-size: 15px;
    }

    .rs-feature-card__stat-value {
        font-size: 22px;
    }

    .rs-newsletter__input {
        width: 100%;
    }
}
@font-face {
    font-family: 'Space Grotesk';
    src: url('/wp-content/themes/project/fonts/SpaceGrotesk-Medium.eot');
    src: url('/wp-content/themes/project/fonts/SpaceGrotesk-Medium.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/project/fonts/SpaceGrotesk-Medium.woff2') format('woff2'),
        url('/wp-content/themes/project/fonts/SpaceGrotesk-Medium.woff') format('woff'),
        url('/wp-content/themes/project/fonts/SpaceGrotesk-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('/wp-content/themes/project/fonts/SpaceGrotesk-Bold.eot');
    src: url('/wp-content/themes/project/fonts/SpaceGrotesk-Bold.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/project/fonts/SpaceGrotesk-Bold.woff2') format('woff2'),
        url('/wp-content/themes/project/fonts/SpaceGrotesk-Bold.woff') format('woff'),
        url('/wp-content/themes/project/fonts/SpaceGrotesk-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('/wp-content/themes/project/fonts/SpaceGrotesk-Light.eot');
    src: url('/wp-content/themes/project/fonts/SpaceGrotesk-Light.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/project/fonts/SpaceGrotesk-Light.woff2') format('woff2'),
        url('/wp-content/themes/project/fonts/SpaceGrotesk-Light.woff') format('woff'),
        url('/wp-content/themes/project/fonts/SpaceGrotesk-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('/wp-content/themes/project/fonts/SpaceGrotesk-Regular.eot');
    src: url('/wp-content/themes/project/fonts/SpaceGrotesk-Regular.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/project/fonts/SpaceGrotesk-Regular.woff2') format('woff2'),
        url('/wp-content/themes/project/fonts/SpaceGrotesk-Regular.woff') format('woff'),
        url('/wp-content/themes/project/fonts/SpaceGrotesk-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('/wp-content/themes/project/fonts/SpaceGrotesk-SemiBold.eot');
    src: url('/wp-content/themes/project/fonts/SpaceGrotesk-SemiBold.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/project/fonts/SpaceGrotesk-SemiBold.woff2') format('woff2'),
        url('/wp-content/themes/project/fonts/SpaceGrotesk-SemiBold.woff') format('woff'),
        url('/wp-content/themes/project/fonts/SpaceGrotesk-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}


/* ============================================================
   APPLY SPACE GROTESK TO HOMEPAGE
============================================================ */

#rs-homepage,
#rs-homepage h1,
#rs-homepage h2,
#rs-homepage h3,
#rs-homepage button,
#rs-homepage h4,
#rs-homepage input {
    font-family: 'Space Grotesk', sans-serif;
}


/* ============================================================
   BIG SCREEN ADJUSTMENTS

   Tiered scaling for monitors above 1500px wide. Each tier adds
   to the previous (CSS cascade). Goals: bigger heading + sub,
   wider content column so text doesn't wrap awkwardly, and a
   taller hero so the proportions feel right on tall screens.
============================================================ */

/* TIER 1 — Larger laptops / standard desktop monitors (~1500-1799px) */
@media (min-width: 1500px) {

    .rs-hero__inner,
    .rs-hero__inner--full {
        max-width: 1500px;
        min-height: 620px;
        padding: 80px 6%;
    }

    .rs-hero__heading {
        font-size: 60px;
    }

    .rs-hero__sub {
        font-size: 17px;
        max-width: 540px;
    }

    .rs-hero__content--w-narrow { max-width: 520px; }
    .rs-hero__content--w-wide   { max-width: 800px; }

    .rs-hero__btn {
        font-size: 15px;
        padding: 14px 30px;
    }
}

/* TIER 2 — Large desktop / 27" iMac territory (~1800-2199px) */
@media (min-width: 1800px) {

    .rs-hero__inner,
    .rs-hero__inner--full {
        max-width: 1700px;
        min-height: 720px;
        padding: 100px 5%;
    }

    .rs-hero__heading {
        font-size: 72px;
        margin-bottom: 26px;
    }

    .rs-hero__sub {
        font-size: 19px;
        max-width: 620px;
        margin-bottom: 40px;
    }

    .rs-hero__content--w-narrow { max-width: 600px; }
    .rs-hero__content--w-wide   { max-width: 900px; }

    .rs-hero__btn {
        font-size: 16px;
        padding: 16px 34px;
    }

    .rs-hero__arrow {
        width: 50px;
        height: 50px;
        bottom: 36px;
    }

    .rs-hero__arrow--prev { left: 36px; }
    .rs-hero__arrow--next { right: 36px; }
}

/* TIER 3 — 4K / Ultrawide monitors (2200px+) */
@media (min-width: 2200px) {

    .rs-hero__inner,
    .rs-hero__inner--full {
        max-width: 1960px;
        min-height: 840px;
        padding: 120px 5%;
    }

    .rs-hero__heading {
        font-size: 88px;
        margin-bottom: 32px;
    }

    .rs-hero__sub {
        font-size: 22px;
        max-width: 720px;
        margin-bottom: 48px;
    }

    .rs-hero__content--w-narrow { max-width: 700px; }
    .rs-hero__content--w-wide   { max-width: 1080px; }

    .rs-hero__btn {
        font-size: 18px;
        padding: 18px 40px;
    }
}
