.am-roadside {
    --am-purple: #40206c;
    --am-purple-dark: #40206c;
    --am-teal: #29cbb4;
    --am-ink: #252334;
    --am-muted: #686878;
    --am-light: #f7f8fb;
    --am-border: #e9e6ef;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--am-ink);
    background: #fff;
    line-height: 1.7;
    overflow: hidden;
}
.am-roadside{
    margin-top: 2rem;
}
.am-roadside * {
    box-sizing: border-box;
}

.am-roadside .am-container {
    width: min(1300px, calc(100% - 48px));
    margin: 0 auto;
}

.am-roadside h2,
.am-roadside h3,
.am-roadside h4,
.am-roadside p {
    margin-top: 0;
}

.am-roadside h2 {
        font-family: 'Italiana', serif;
    font-size: clamp(70px, 8vw, 76px);
    font-weight: 400;
    line-height: .94;
    letter-spacing: 2px;
    margin: 0;
    text-transform: capitalize;
    margin-top: 3rem;
    color: #000;
}

.am-roadside .span_text {
    color: var(--am-teal);
        margin: 0 0 12px;
    font-size: 1rem;
    line-height: 3.35;
    letter-spacing: .45px;
    text-transform: uppercase;
    font-weight: 300;
}

.am-roadside p {
       margin: 0 0 13px;
    color: #000000;
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 300;
}

.am-roadside .am-eyebrow {
    display: inline-block;
    color: var(--am-purple);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 13px;
}

.am-roadside .am-eyebrow::before {
    content: "";
    display: inline-block;
    width: 25px;
    height: 3px;
    vertical-align: middle;
    margin: 0 10px 3px 0;
    background: var(--am-teal);
}

.am-roadside .am-heading {
    text-align: center;
    /* max-width: 720px; */
    margin: 0 auto 38px;
}

.am-roadside .am-heading>p {
    max-width: 580px;
    margin: 0 auto;
}

/* Main service cards */
.am-roadside .am-service-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    padding-bottom: 70px;
}

.am-roadside .am-service {
    padding: 23px 15px 20px;
    border: 1px solid var(--am-border);
    border-radius: 12px;
    background: #fff;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease,
        border-color .25s ease;
}

.am-roadside .am-service:hover,
.am-roadside .am-detail-card:hover {
    transform: translateY(-5px);
    border-color: #b9eee6;
    box-shadow: 0 12px 30px rgba(48, 19, 79, .09);
        background: #e6faf669;
}

.am-roadside .am-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin: 0 auto 15px;
    border-radius: 18px;
    background: #e6faf6;
    color: var(--am-purple);
    font-size: 27px;
        padding: 6px;
}

.am-roadside .am-service h3 {
    margin: 8px 0 16px;
    color: #29104f;
    letter-spacing: -.035em;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    font-size: 1.3rem;
    line-height: 29px;
}

.am-roadside .am-service p {
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* On-demand introduction */
.am-roadside .am-demand {
    padding: 65px 0;
    background: linear-gradient(120deg, #f1fbf9, #f8f5fc);
}

.am-roadside .am-demand-inner {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 55px;
}

.am-roadside .am-demand-copy h3 {
       color: var(--am-purple);
    font-size: 19px;
    margin-bottom: 18px;
    margin-top: 20px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

.am-roadside .am-demand-copy p {
    margin-bottom: 16px;
}

.am-roadside .am-demand-copy strong {
    color: var(--am-purple-dark);
}

.am-roadside .am-button {
  display: inline-flex;
    align-items: center;
    gap: 25px;
    margin-top: 7px;
    border-radius: 4px;
    background: var(--am-purple);
    text-decoration: none;
    transition: background .2s ease;
    color: #fff;
    padding: 13px 16px;
    border-radius: 6px;
    font-size: 12px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.am-roadside .am-button:hover {
    background: var(--am-purple-dark);
}

.am-roadside .am-button span {
    font-size: 20px;
}

/* CSS-created illustration; no extra image required */
.am-roadside .am-demand-visual {
    min-height: 340px;
    position: relative;
    display: grid;
    place-items: center;
}

.am-roadside .am-visual-circle {
    position: absolute;
    width: 290px;
    height: 290px;
    border-radius: 50%;
    background: #d8f6ef;
    border: 1px solid #b7eee4;
}

.am-roadside .am-visual-card {
    position: relative;
    z-index: 1;
    padding: 13px;
    background: #fff;
    border: 1px solid #e8e0f1;
    border-radius: 27px;
    box-shadow: 0 25px 60px #48216f20;
    transform: rotate(-5deg);
}

.am-roadside .am-phone {
    width: 190px;
    min-height: 270px;
    padding: 25px 16px 18px;
    border: 7px solid #282035;
    border-radius: 22px;
    background: linear-gradient(155deg, #fff, #f4effa);
    text-align: center;
}

.am-roadside .am-phone-speaker {
    width: 45px;
    height: 5px;
    border-radius: 10px;
    background: #282035;
    margin: -16px auto 15px;
}

.am-roadside .am-phone-logo {
    font-size: 19px;
    font-weight: 700;
    color: var(--am-purple);
}

.am-roadside .am-phone-logo span,
.am-roadside .am-cta-mark strong {
    color: var(--am-teal);
}

.am-roadside .am-phone-icon {
    width: 65px;
    height: 65px;
    display: grid;
    place-items: center;
    margin: 18px auto 8px;
    border-radius: 50%;
    background: #e3faf5;
    color: var(--am-purple);
    font-size: 35px;
}

.am-roadside .am-phone h4 {
    font-size: 13px;
    margin-bottom: 4px;
    color: var(--am-purple-dark);
}

.am-roadside .am-phone p {
    font-size: 10px;
    margin-bottom: 13px;
}

.am-roadside .am-phone-button {
    border-radius: 5px;
    padding: 8px 5px;
    background: var(--am-teal);
    color: #182b35;
    font-size: 11px;
    font-weight: 700;
}

.am-roadside .am-floating {
    position: absolute;
    z-index: 2;
    padding: 11px 15px;
    background: #fff;
    border: 1px solid var(--am-border);
    border-radius: 8px;
    box-shadow: 0 8px 25px #30134f12;
    font-size: 12px;
    font-weight: 700;
    color: var(--am-purple);
}

.am-roadside .am-float-one {
    top: 55px;
    right: 0;
}

.am-roadside .am-float-two {
    bottom: 50px;
    left: 0;
}

/* Detailed on-demand services */
.am-roadside .am-detail-section {
    padding-top: 68px;
    padding-bottom: 75px;
}

.am-roadside .am-heading-left {
    text-align: left;
    max-width: none;
}

.am-roadside .am-heading-left>p {
    margin: 0;
}

.am-roadside .am-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.am-roadside .am-detail-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 22px 19px;
    border: 1px solid var(--am-border);
    border-radius: 10px;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease,
        border-color .25s ease;
}

.am-roadside .am-detail-icon {
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #e3faf5;
    font-size: 22px;
    padding: 5px;
}

.am-roadside .am-detail-card h3 {
        color: #29104f;
    letter-spacing: -.035em;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    font-size: 1.3rem;
    line-height: 29px;
    margin-bottom: 8px;
}

.am-roadside .am-detail-card p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Benefits band */
.am-roadside .am-benefits {
    padding: 52px 0 57px;
    background: var(--am-purple-dark);
    color: #fff;
}

.am-roadside .am-benefit-heading {
    text-align: center;
    margin-bottom: 34px;
}

.am-roadside .am-benefit-heading .am-eyebrow {
    color: #bcefe6;
}

.am-roadside .am-benefit-heading h2 {
    color: #fff;
}

.am-roadside .am-benefit-heading h2 span {
    color: var(--am-teal);
}

.am-roadside .am-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 20px;
}

.am-roadside .am-benefit {
    text-align: center;
    padding: 10px;
}

.am-roadside .am-benefit>span {
    display: grid;
    place-items: center;
    width: 53px;
    height: 53px;
    margin: 0 auto 13px;
    border: 1px solid #ffffff35;
    border-radius: 50%;
    background: #ffffff0b;
    color: var(--am-teal);
    font-size: 27px;
}

.am-roadside .am-benefit h3 {
    max-width: 190px;
    margin: 0 auto;
    color: #fff;
    font-size: 13px;
    line-height: 1.55;
}

/* Closing message */
.am-roadside .am-final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    margin: 55px 0;
    padding: 40px 45px;
    border: 1px solid #e8e1f1;
    border-radius: 12px;
    background: linear-gradient(120deg, #f4fbfa, #faf7fd);
}

.am-roadside .am-final-cta>div:first-child {
    max-width: 740px;
}

.am-roadside .am-final-cta h2 {
    font-size: clamp(25px, 2.7vw, 34px);
}

.am-roadside .am-final-cta p {
    margin-bottom: 15px;
}

.am-roadside .am-final-cta h3 {
    font-size: 13px;
    line-height: 1.6;
    color: var(--am-purple);
    margin-bottom: 0;
}

.am-roadside .am-cta-mark {
    flex: 0 0 175px;
    text-align: center;
    padding: 24px 15px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--am-border);
    color: var(--am-purple);
    font-size: 27px;
    font-family: Georgia, serif;
}

.am-roadside .am-cta-mark small {
    display: block;
    margin-top: 10px;
    font-family: Arial, sans-serif;
    font-size: 8px;
    letter-spacing: 1px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1000px) {
    .am-roadside .am-service-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .am-roadside .am-demand-inner {
        gap: 25px;
    }

    .am-roadside .am-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .am-roadside .am-benefit-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.panel-copy{
        padding: 0px 4rem 4rem;
}
.am-icon img,.am-detail-icon img{
    width: 100%;
    height: 100%;
    }
@media (max-width: 650px) {
    .am-roadside .am-container {
        width: calc(100% - 32px);
    }
    .panel-copy{
        padding: 0px 1rem 1rem;
}
    .am-roadside h2{
            font-size: clamp(35px, 3vw, 61px);
    }

    .am-roadside .am-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding-bottom: 45px;
    }

    .am-roadside .am-service {
        padding: 18px 10px;
    }

    .am-roadside .am-icon {
        width: 48px;
        height: 48px;
        font-size: 23px;
    }
    

    .am-roadside .am-service h3 {
        font-size: 13px;
    }

    .am-roadside .am-service p {
        font-size: 11px;
    }

    .am-roadside .am-demand {
        padding: 0px;
    }
    .am-roadside p{
         font-size: 13px;
    }

    .am-roadside .am-demand-inner {
        grid-template-columns: 1fr;
    }

    .am-roadside .am-demand-visual {
        min-height: 320px;
    }

    .am-roadside .am-visual-circle {
        width: 245px;
        height: 245px;
    }

    .am-roadside .am-detail-section {
        padding-top: 45px;
        padding-bottom: 48px;
    }

    .am-roadside .am-detail-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .am-roadside .am-detail-card {
        padding: 18px 15px;
    }

    .am-roadside .am-benefit-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 17px 10px;
    }

    .am-roadside .am-benefits {
        padding: 40px 0;
    }

    .am-roadside .am-final-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 27px 22px;
        margin: 35px 0;
    }

    .am-roadside .am-cta-mark {
        align-self: center;
        width: 100%;
    }

    .am-roadside .am-float-one {
        right: -5px;
    }

    .am-roadside .am-float-two {
        left: -5px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .am-roadside *,
    .am-roadside *::before,
    .am-roadside *::after {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}