/*-------------------------------------------------*/
/* CONTENT PAGES -------------------------------- */
/*-----------------------------------------------*/

:root {
    --orange: rgb(255, 103, 0);
    --orange-hover: rgb(255, 123, 34);
    --ink: #1a1a1a;
    --muted: #555555;
    --light: #f4f4f4;
    --line: #dddddd;
}

body {
    font-family: 'Cantarell', sans-serif;
    color: var(--ink);
    background: #ffffff;
}

.wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Sub-page header sits in the page flow instead of over a photo */
#header-page {
    position: relative;
    height: 3.4rem;
}

#header-page nav ul { z-index: 10; }

/* Hero call button is now a link, not a link inside a button */
a#hero-button {
    color: #f5f5f5;
    text-align: center;
    padding: 0 12px;
}

/*-------------------------------------------------*/
/* TEXT ----------------------------------------- */
/*-----------------------------------------------*/

.content {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.content p,
.content li {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink);
}

.content p { margin-bottom: 1rem; }

.content a:not(.btn):not(.card) {
    color: var(--orange);
    text-decoration: underline;
}

.content h2.section-title {
    display: block;
    font-size: 1.5rem;
    line-height: 1.25;
    color: var(--ink);
    margin: 2rem 0 1rem;
}

.content h2.section-title::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin-top: .5rem;
    background: var(--orange);
}

.content h3 {
    font-size: 1.15rem;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: .6rem;
}

.content strong { font-weight: bold; }

.small { font-size: .9rem !important; color: var(--muted) !important; }

/*-------------------------------------------------*/
/* PAGE HERO (sub pages) ------------------------ */
/*-----------------------------------------------*/

.page-hero {
    background: #111111 url("../img/hero-800.jpg") center / cover no-repeat;
    background-image: image-set(url("../img/hero-800.webp") type("image/webp"), url("../img/hero-800.jpg") type("image/jpeg"));
    box-shadow: inset 0 0 0 2000px rgba(0,0,0,.65);
    padding: 3rem 0;
}

.page-hero h1 {
    font-size: 2rem;
    line-height: 1.2;
    padding-bottom: .6rem;
}

.page-hero .lead {
    color: #e6e6e6;
    font-size: 1.1rem;
    line-height: 1.5;
}

/*-------------------------------------------------*/
/* TRUST STRIP ---------------------------------- */
/*-----------------------------------------------*/

.trust-strip {
    background: var(--orange);
    color: #ffffff;
    padding: 1.2rem 0;
}

.trust-strip ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    text-align: center;
}

.trust-strip strong {
    display: block;
    font-weight: bold;
    font-size: 1rem;
    line-height: 1.3;
}

.trust-strip span {
    display: block;
    font-size: .85rem;
    line-height: 1.4;
}

/*-------------------------------------------------*/
/* CARDS / LAYOUT ------------------------------- */
/*-----------------------------------------------*/

.cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.card {
    display: block;
    background: var(--light);
    border-top: 4px solid var(--orange);
    border-radius: 5px;
    padding: 1.4rem;
    transition: box-shadow .3s;
}

.card:hover { box-shadow: 0 8px 20px rgba(0,0,0,.15); }

.card-link {
    color: var(--orange);
    font-weight: bold;
    font-size: .95rem;
}

.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

.info-box {
    background: var(--light);
    border-left: 4px solid var(--orange);
    border-radius: 5px;
    padding: 1.4rem;
    margin-top: 2rem;
}

.info-box h3 { margin-top: .4rem; }

.reviews-callout {
    text-align: center;
    max-width: 760px;
    margin: 1rem auto;
}

.reviews-callout h2.section-title::after { margin-left: auto; margin-right: auto; }

.towns {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .2rem 1rem;
    margin-bottom: 1rem;
}

.towns li::before {
    content: "\2022";
    color: var(--orange);
    margin-right: .5rem;
}

.steps {
    padding-left: 1.4rem;
    margin-bottom: 1rem;
}

.steps li { margin-bottom: .6rem; }

.checks {
    list-style: none;
    margin-bottom: 1rem;
}

.checks li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: .4rem;
}

.checks li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--orange);
    font-weight: bold;
}

.checks.no li::before { content: "\2715"; color: #999999; }

.review {
    border-left: 4px solid var(--orange);
    padding: .5rem 0 .5rem 1rem;
    margin-bottom: 1.2rem;
}

.review cite { color: var(--muted); font-style: italic; }

.review-links {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

/*-------------------------------------------------*/
/* BUTTONS -------------------------------------- */
/*-----------------------------------------------*/

.btn {
    display: inline-block;
    padding: .8rem 1.4rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    font-style: italic;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: background .3s, box-shadow .3s;
}

.btn-orange { background: var(--orange); color: #ffffff; }
.btn-orange:hover { background: var(--orange-hover); box-shadow: 5px 5px 12px rgba(0,0,0,.35); }

.btn-outline { border: 2px solid #ffffff; color: #ffffff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }

.btn-outline-dark { border: 2px solid var(--ink); color: var(--ink); }
.btn-outline-dark:hover { border-color: var(--orange); color: var(--orange); }

/*-------------------------------------------------*/
/* CALL TO ACTION BAND -------------------------- */
/*-----------------------------------------------*/

.cta-band {
    background: #111111;
    color: #f5f5f5;
    text-align: center;
    padding: 2.5rem 0;
}

.cta-band p { line-height: 1.5; color: #d3d3d3; }

.cta-band .cta-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: .4rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
    margin-top: 1.2rem;
}

/*-------------------------------------------------*/
/* QUOTE FORM ----------------------------------- */
/*-----------------------------------------------*/

form.quote-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    font-style: normal;
    background: var(--light);
    box-shadow: none;
    padding: 1.4rem;
    margin-top: 2rem;
}

.quote-form label {
    font-weight: bold;
    margin: .8rem 0 .3rem;
}

.quote-form input,
.quote-form textarea {
    width: 100%;
    padding: .65rem;
    border: 1px solid #999999;
    border-radius: 4px;
    background: #ffffff;
    font-size: 1rem;
    line-height: 1.4;
}

.quote-form input:focus,
.quote-form textarea:focus { border-color: var(--orange); outline: 2px solid rgba(255,103,0,.25); }

.quote-form button { margin-top: 1.2rem; border: 0; }

.quote-form .hp { display: none; }

.big-phone {
    font-size: 1.5rem;
    font-weight: bold;
}

/*-------------------------------------------------*/
/* FOOTER TWEAKS -------------------------------- */
/*-----------------------------------------------*/

footer { padding-bottom: 1rem; }

#footer-nav-2 li:hover { text-decoration: none; }

/*-------------------------------------------------*/
/* PHONE MENU: show the sub pages when open ----- */
/*-----------------------------------------------*/

@media (max-width: 767px) {
    header nav ul { z-index: 10; }
    #toggle:checked ~ ul .submenu,
    #toggle:checked ~ ul .submenu-page {
        display: block;
        position: static;
        background: none;
        width: auto;
    }
    .submenu a,
    .submenu-page a {
        padding-left: 28px;
        font-size: .9rem;
    }
}

/*-------------------------------------------------*/
/* TABLET & DESKTOP ----------------------------- */
/*-----------------------------------------------*/

@media (min-width: 768px) {
    .trust-strip ul { grid-template-columns: repeat(4, 1fr); }
    .cards { grid-template-columns: repeat(3, 1fr); }
    .split { grid-template-columns: 3fr 2fr; gap: 2.5rem; }
    .page-hero,
    #idx-atf {
        background-image: url("../img/hero-1600.jpg");
        background-image: image-set(url("../img/hero-1600.webp") type("image/webp"), url("../img/hero-1600.jpg") type("image/jpeg"));
    }
    .page-hero { padding: 4.5rem 0; }
    .page-hero h1 { font-size: 2.6rem; }
    .towns { grid-template-columns: repeat(3, 1fr); }
    #footer-nav-3 { position: static; width: auto; justify-content: center; gap: 1rem; }
}
