﻿/* =========================================
   OFFERS PAGE  —  offers.css
   Matches screenshot: hero + 2-col cards +
   FREE badge + yellow button + teal CTA bar
   ========================================= */

/* ── Variables ── */
:root{
    --primary:        #0759C1;
    --secondary:      #FF802C;
    --bg:             #FF802C;
    --grad-blue-1:    #015ACB;
    --grad-blue-2:    #014AA7;
    --grad-orange-1:  #FFECE0;
    --grad-orange-2:  #FF802C;
}

/* =========================================
   OFFERS PAGE – SITE #53
========================================= */
.op-container{
    max-width: 1200px;               /* standard 1200 zone */
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ---- Hero ---- */
.op-hero{
    width: 100%;
    height: 410px;
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
}

/* ---- Section + header ---- */
.op-section{
    padding: 60px 0 70px;
}
.op-section > .op-container > div:first-child h2{
    margin: 0 0 14px;
    color: #000;
    font-size: 35px;
    font-weight: 700;
    padding-left: 20px;
}
.op-section > .op-container > div:first-child p{
    margin: 0 0 45px;
    color: #000;
    font-size: 17px;
    padding-left: 20px;
}

/* ---- Offer rows (cards) ---- */
.op-section > .op-container > ul{
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.op-section > .op-container > ul > li{
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
    background: #fff;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,.05);
}
/* Even rows: image RIGHT */
.op-section > .op-container > ul > li:nth-child(even) figure{
    order: 2;
}

/* Designed image */
.op-section figure{
    margin: 0;
}
.op-section figure img{
    width: 100%;
    display: block;
}

/* ---- Text side ---- */
.op-section > .op-container > ul > li > div h2{
    margin: 0 0 12px;
    color: #000;
    font-size: 30px;
    font-weight: 700;
}
.op-section > .op-container > ul > li > div > p{
    margin: 0 0 12px;
    color: #000;
    font-size: 16px;
    line-height: 1.8;
}

/* Features list – plain lines */
.op-section > .op-container > ul > li > div > ul{
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
}
.op-section > .op-container > ul > li > div > ul > li{
    color: #000;
    font-size: 16px;
    margin-bottom: 8px;
}
.op-section > .op-container > ul > li > div > ul > li:last-child{
    margin-bottom: 0;
}
/* GET 20% OFF line */
.op-section > .op-container > ul > li > div > p:last-of-type{
    margin: 14px 0 16px;
    font-weight: 600;
}

/* ---- Call Now BUTTON ---- */
.op-section > .op-container > ul > li > div a{
    display: inline-block;
    background: var(--secondary);
    border: 2px solid var(--secondary);
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: .3s;
}
.op-section > .op-container > ul > li > div a:hover{
    background: white;
    border: 2px solid var(--primary);
    color: #000;
    transform: translateY(-2px);
}




/* =========================================
   RESPONSIVENESS
========================================= */
@media (max-width: 1440px){
.op-hero{ height: 300px; }
}
@media (max-width: 1024px){
    .op-hero{ height: 221px; }
    .op-section > .op-container > ul > li{ gap: 30px; }
}
@media (max-width: 900px){
    .op-section > .op-container > ul > li{
        grid-template-columns: 1fr;    /* stack */
        gap: 25px;
    }
    .op-section > .op-container > ul > li:nth-child(even) figure{
        order: 0;                      /* image always on top */
    }
}
@media (max-width: 820px){
    .op-hero{ height: 280px; }
}
@media (max-width: 786px){
    .op-hero{ height: 168px; }
    .op-section{ padding: 45px 0 55px; }
    .op-section > .op-container > div:first-child h2{ font-size: 26px; }
    .op-section > .op-container > ul > li{ padding: 20px; }
}
@media (max-width: 500px){
    .op-hero{ height: 120px; }
    .op-section > .op-container > ul > li > div h2{ font-size: 19px; }
}