html {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Source Sans 3", sans-serif;
    font-optical-sizing: auto;
    font-size: 1.1rem;
    font-weight: 500;
    color: #104C89;
    background: url(img/page-background-caravan-park.jpg) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    height: 100%
}

h1, h2, h3, h4, h5, h6, .header-call-us {
    font-weight: 700;
}

h2 {
    text-transform: uppercase;
}

input, select, textarea, label {
    font-family: "Source Sans 3", sans-serif;
}

.logo {
    width: 300px;
}

h2 {
    font-size: 1.6em;
    font-weight: 800;
    letter-spacing: -1px;
}

h3 {
    color: #f7ca38
}

main strong {
    color: #f7ca38;
}

h5 {
    font-size: 1.1em;
}

main h3 {
    margin-top: 1.5em
}

p {
    text-align: justify;
    line-height: 1.7em;
}

header {
    position: relative;
    padding: 1em 0;
    background: #104C89;
    color: #FFF;
    font-size: 0.8em;
}

header img {
    width: 300px;
    height: auto;
    margin-bottom: 5px;
}

.header-call-us {
    text-align: right;
    font-size: 1.3rem;
}

.header-call-us a {
    color: #f7ca38;
    text-decoration: none;
}

.hero {
    background: url(img/red-flags.jpg) no-repeat center top;
    background-size: cover;
    margin-right: calc(-.5 * var(--bs-gutter-x));
    margin-left: calc(-.5 * var(--bs-gutter-x));
}

.hero h1 {
    font-weight: 900;
    font-size: 5rem;
    line-height: 1;
    color: white;
    text-wrap: balance;
}

.hero h1 span {
    background-color: #fdc91d;
    display: inline-block;
    line-height: .9;
}

.hero p {
    font-size: 2em;
    font-weight: 700;
    margin: 1em 0;
    text-wrap: balance;
    line-height: 1.3;
    text-align: left;
}

.hero .row {
    padding: 3rem;
    backdrop-filter: blur(20px);
    background: linear-gradient(to top, #104C89D0 0%, #104C8950 100%);
}

.hero .btn-lg {
    font-size: 2.5em;
    font-weight: 900 !important;
    padding: 0.5em 1em;
    border-radius: 1rem;
    background-color: #f7ca38;
    color: #104C89;
}

.hero .btn-lg:hover {
    background: white;
    color: #104C89;
}

main>.container {
    background: #104c89;
    color: #FFF;
}

main {
    background: linear-gradient(to bottom, #FFFFFF80 20%, #DDDDDD80 100%) fixed;
    padding: 3em 1.5em 6em;
    overflow: hidden;
}

main>.container {
    border-radius: 2rem;
    overflow: hidden;
}

.form-group {
    margin-bottom: 1rem;
}

footer {
    padding: 1rem 0 12rem;
    background: #104C89;
    color: #FFF;
    font-size: 0.8em;
    display: block;
    width: 100%;
}

footer a {
    color: #f7ca38;
}

footer a:hover {
    color: #FFF;
    text-decoration: none;
}

.btn {
    text-transform: uppercase;
}

.btn-primary {
    background: #104C89;
    color: #FFF;
    border: none;
    font-weight: 800;
    padding-left: 1em;
    padding-right: 1em;
    white-space: normal;
    line-height: 1em;
    transition: all 0.3s;
}

.btn-primary:hover {
    transition: all 0.3s;
    background: linear-gradient(to top, #104C89 20%, #0F64A6 100%);
}

hr {
    margin: 1.5em 0 1.5em;
    border: 2px solid #eee;
}

.btn-cta {
    font-size: 1.4em !important;
    padding: 0.5em 1em;
    border-radius: 1rem;
    text-transform: uppercase;
    background: #f7ca38;
    color: #104C89;
    display: block;
    width: 100%;
}

.btn-cta:hover {
    background: white;
    color: #104C89;
}

.gdpr {
    font-size: 0.8em;
    text-wrap: balance;
}

.gdpr a {
    color: #f7ca38;
}

.cfc {
    font-size: 1.07em;
    line-height: 1.3;
    background-color: #00000020;
    margin: 3rem 0;
    padding: 2rem;
    border-radius: 1rem;
}

.cfc h2 {
    font-size: 1.5em;
    text-wrap: balance;
}

.overlay {
    z-index: 9998;
    background: rgba(17, 29, 62, .7);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    opacity: 0;
    transition: opacity .5s
}

.overlay.on {
    display: block;
    opacity: 1;
    transition: opacity .5s
}

.loading {
    position: fixed;
    top: calc(50% - 120px);
    left: calc(50% - 250px);
    border-radius: 150px;
    z-index: 9999;
    color: #FFF;
    text-align: center;
    font-size: 3em;
}

.please-wait {
    left: calc(50% - 140px);
}

.loading span {
    display: block;
    text-align: center;
    font-weight: bold;
    padding: 10px 0;
}

.loading-spinner {
    display: inline-block !important;
    width: 1em;
    height: 1em;
    padding: 0 !important;
    border: .12em solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: hpac-spin .8s linear infinite;
}

@keyframes hpac-spin {
    to {
        transform: rotate(360deg);
    }
}

.hpac-company-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

#chat-toggle svg {
    transform: translateY(0);
}

body.download .container {
    text-wrap: balance;
}

body.download footer {
    position: fixed;
    bottom: 0;
    left: 0;
}

.main-content {
    font-size: 1.2em;
    line-height: 1.2;
}

.main-content h2 {
    margin-top: 2rem;
}

.main-content h2,
.main-content h3 {
    text-wrap: balance;
}

.main-content li {
    line-height: 1.6;
    margin-bottom: .3rem;
}

/* Media Queries */

@media(max-width: 767px) {
    body {
        font-size: 1rem;
    }

    footer {
        position: relative;
        text-align: center;
    }

    footer .text-end {
        text-align: center !important;
    }

    h1, h2, h3, h4, h5 {
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5em;
        line-height: 1em;
    }

    .hero p {
        font-size: 1.3em;
        text-align: center;
        font-weight: 600;
    }

    .hero .btn-lg {
        font-size: 1.8em;
        padding: 0.6em;
        display: block;
        margin-bottom: 2rem;
    }

    header {
        text-align: center;
    }

    .header-call-us {
        text-align: center;
        font-size: 1.3em;
    }

    .header-call-us br {
        display: none;
    }

    .header-call-us a {
        display: inline-block;
        padding: 0 1em;
    }

    .btn-cta {
        padding: 0.6em 1em;
    }

    h4 {
        font-size: 1.2em;
        line-height: 1em;
        text-align: center;
    }

    .btn-primary {
        font-size: 1.2em;
    }

    main {
        padding: 0;
    }

    main>.container {
        border-radius: 0;
    }

    p {
        line-height: 1.4em;
    }

    .btn-cta {
        font-size: 1.3em !important;
        margin-top: 1em;
    }

}

/* Content-specific adaptations using the existing HPAC landing framework. */
html { scroll-behavior: smooth; }
.logo { max-width: 100%; height: auto; }
.hero h1 span { color: #104c89; }
.hero .hero-subtitle { color: #f7ca38; font-size: 2rem; }
.hero .hero-intro { color: white; font-size: 1.35rem; font-weight: 500; }
.hero .btn-lg { font-size: 1.65rem; line-height: 1.2; }
.content-cta { background: #f7ca38; color: #104c89; padding: 1rem 1.5rem; line-height: 1.3; }
.main-content h2, .selling-option, .faq-question { clear: both; }
.selling-option, .faq-question { margin-top: 2rem; font-size: 1.3em; }
.selling-image { float: left; max-width: 45%; height: auto; margin: .4rem 1.5rem 1rem 0; border-radius: .5rem; }
.phone-link { color: #f7ca38; }
#claim-form { scroll-margin-top: 1.5rem; }
@media (max-width: 767px) {
 .hero .row { padding: 2rem 1rem; }
 .hero .hero-subtitle { font-size: 1.5rem; }
 .hero .hero-intro { font-size: 1.15rem; }
 .hero .btn-lg { font-size: 1.25rem; }
 .selling-image { float: none; display: block; max-width: 100%; margin: 1rem auto; }
 .main-content p { text-align: left; }
 .cfc { padding: 1.5rem 1rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Generated caravan-sale photograph; keep the existing HPAC typography and CTA. */
.hero { background-image: url(img/hero-caravan-sale.jpg); background-position: center; }
.hero .row { backdrop-filter: none; background: linear-gradient(90deg, rgba(8, 40, 73, .94) 0%, rgba(8, 40, 73, .84) 48%, rgba(8, 40, 73, .35) 100%); }
@media (max-width: 767px) {
 .hero { background-position: 65% center; }
 .hero .row { background: rgba(8, 40, 73, .83); }
}
/* Give the article sections more breathing room without changing the hero. */
.main-content h2 { margin-top: 4rem; margin-bottom: 1.5rem; }
.main-content .selling-option { margin-top: 3rem; margin-bottom: 1.25rem; }
.main-content .faq-question { margin-top: 2.75rem; margin-bottom: 1rem; }
@media (max-width: 767px) {
 .main-content h2 { margin-top: 3rem; margin-bottom: 1.25rem; }
 .main-content .selling-option { margin-top: 2.5rem; }
 .main-content .faq-question { margin-top: 2.25rem; }
}