/* =====================================================================
   CD&C  |  Services page
   File: addition/css/cdc-services-page.css

   Hand written, fully scoped to #cd-svc. Nothing here can reach the
   header, footer, or any other page. Does not touch cdc-about.css
   or cdc-services.css.
   ===================================================================== */

#cd-svc {
    --sv-green: #8b8f6b;
    --sv-green-dark: #747857;
    --sv-dark: #211c18;
    --sv-body: #5b5b55;
    --sv-card: #f5f5f2;
}


/* =====================================================================
   INNER PAGE HEADER
   The Renovast header is position:absolute with no background of its
   own, so on an inner page the banner slides underneath it. This gives
   it a white bar and starts the page below.  <body class="cdc-inner-page">
   ===================================================================== */
body.cdc-inner-page header.header-light:not(.smaller) {
    background: #ffffff !important;
}

body.cdc-inner-page header.header-light:not(.smaller) #mainmenu li a {
    color: #211c18 !important;
}

body.cdc-inner-page #cd-svc { padding-top: 110px; }

@media only screen and (max-width: 1199px) { body.cdc-inner-page #cd-svc { padding-top: 100px; } }
@media only screen and (max-width: 991px)  { body.cdc-inner-page #cd-svc { padding-top: 92px; } }
@media only screen and (max-width: 767px)  { body.cdc-inner-page #cd-svc { padding-top: 84px; } }


/* =====================================================================
   PAGE BANNER
   ===================================================================== */
#cd-svc .sv-banner {
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 100px 0;
    text-align: center;
}

#cd-svc .sv-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(12, 14, 12, .64);
}

#cd-svc .sv-banner .in { position: relative; z-index: 2; }

#cd-svc .sv-banner h1 {
    color: #fff;
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 14px;
}

#cd-svc .sv-crumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 15px;
}

#cd-svc .sv-crumb a { color: #fff; text-decoration: none; transition: color .3s ease; }
#cd-svc .sv-crumb a:hover { color: #b9c19a; }
#cd-svc .sv-crumb .sep { color: rgba(255, 255, 255, .55); }
#cd-svc .sv-crumb .now { color: #b9c19a; }


/* =====================================================================
   SECTION SHELL
   ===================================================================== */
#cd-svc .sv-area { padding: 100px 0; }
#cd-svc .sv-area.no-top { padding-top: 0; }

#cd-svc .sv-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

#cd-svc .sv-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 55px;
}

#cd-svc .sv-tag {
    display: inline-block;
    background: #eceade;
    color: var(--sv-green);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 9px 24px;
    border-radius: 100px;
    margin-bottom: 18px;
}

#cd-svc .sv-head h2 {
    font-size: 42px;
    line-height: 1.22;
    font-weight: 700;
    color: var(--sv-dark);
    margin: 0;
}


/* =====================================================================
   SERVICE CARDS   (Pentu layout: icon + title, text, read more, photo)
   ===================================================================== */
#cd-svc .sv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

#cd-svc .sv-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--sv-card);
    border-radius: 18px;
    padding: 36px 32px;
    text-decoration: none;
    transition: background .4s ease, transform .4s ease, box-shadow .4s ease;
}

#cd-svc .sv-card:hover {
    background: #fff;
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .10);
}

/* icon + title row */
#cd-svc .sv-top {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 24px;
}

#cd-svc .sv-ico {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--sv-green);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .4s ease;
}

#cd-svc .sv-ico svg {
    width: 30px;
    height: 30px;
    stroke: #fff;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#cd-svc .sv-card:hover .sv-ico { background: var(--sv-dark); }

#cd-svc .sv-card h3 {
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--sv-dark);
    margin: 0;
    transition: color .35s ease;
}

#cd-svc .sv-card:hover h3 { color: var(--sv-green); }

#cd-svc .sv-card p {
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--sv-body);
    margin: 0 0 22px;
    flex: 1 1 auto;
}

/* read more */
#cd-svc .sv-more {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 16px;
    font-weight: 600;
    color: var(--sv-dark);
    margin-bottom: 26px;
    transition: color .35s ease, gap .3s ease;
}

#cd-svc .sv-more svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .3s ease;
}

#cd-svc .sv-card:hover .sv-more { color: var(--sv-green); gap: 14px; }
#cd-svc .sv-card:hover .sv-more svg { transform: translateX(3px); }

/* photo */
#cd-svc .sv-shot {
    margin-top: auto;
    border-radius: 14px;
    overflow: hidden;
    line-height: 0;
}

#cd-svc .sv-shot img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}

#cd-svc .sv-card:hover .sv-shot img { transform: scale(1.06); }


/* =====================================================================
   CTA STRIP
   ===================================================================== */
#cd-svc .sv-cta {
    background: #eceade;
    border-radius: 22px;
    padding: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

#cd-svc .sv-cta h2 {
    font-size: 34px;
    line-height: 1.25;
    font-weight: 700;
    color: var(--sv-dark);
    margin: 0;
}

#cd-svc .sv-cta .sv-tag { margin-bottom: 14px; background: #fff; }

#cd-svc .sv-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--sv-green);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 34px;
    border-radius: 100px;
    text-decoration: none;
    white-space: nowrap;
    transition: all .35s ease;
}

#cd-svc .sv-btn svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .3s ease;
}

#cd-svc .sv-btn:hover {
    background: var(--sv-green-dark);
    color: #fff;
    transform: translateY(-2px);
}

#cd-svc .sv-btn:hover svg { transform: translateX(3px); }


/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media only screen and (max-width: 1199px) {
    #cd-svc .sv-grid { grid-template-columns: repeat(2, 1fr); }
    #cd-svc .sv-banner h1 { font-size: 40px; }
    #cd-svc .sv-head h2 { font-size: 36px; }
}

@media only screen and (max-width: 991px) {
    #cd-svc .sv-area { padding: 80px 0; }
    #cd-svc .sv-banner { padding: 78px 0; }
    #cd-svc .sv-cta { padding: 42px; }
    #cd-svc .sv-cta h2 { font-size: 29px; }
    #cd-svc .sv-shot img { height: 220px; }
}

@media only screen and (max-width: 767px) {
    #cd-svc .sv-area { padding: 60px 0; }
    #cd-svc .sv-wrap { padding: 0 20px; }

    #cd-svc .sv-banner { padding: 58px 0; }
    #cd-svc .sv-banner h1 { font-size: 31px; }
    #cd-svc .sv-crumb { font-size: 14px; }

    #cd-svc .sv-head { margin-bottom: 36px; }
    #cd-svc .sv-head h2 { font-size: 27px; }
    #cd-svc .sv-tag { font-size: 13px; padding: 8px 20px; }

    #cd-svc .sv-grid { grid-template-columns: 1fr; gap: 20px; }

    #cd-svc .sv-card { padding: 26px 22px; }
    #cd-svc .sv-top { gap: 16px; margin-bottom: 18px; }
    #cd-svc .sv-ico { width: 54px; height: 54px; border-radius: 14px; }
    #cd-svc .sv-ico svg { width: 25px; height: 25px; }
    #cd-svc .sv-card h3 { font-size: 20px; }
    #cd-svc .sv-card p { font-size: 15px; }
    #cd-svc .sv-more { margin-bottom: 20px; }
    #cd-svc .sv-shot img { height: 200px; }

    #cd-svc .sv-cta {
        padding: 30px 24px;
        text-align: center;
        justify-content: center;
    }
    #cd-svc .sv-cta h2 { font-size: 25px; }
    #cd-svc .sv-btn { width: 100%; justify-content: center; }
}