/* =====================================================================
   Victorian Publishing House — Footer + Home Testimonial + CTA-form redesign
   Loaded last (after service.css) so it owns these components.
   Uses brand tokens from header-premium.css (--vp-*).
   Contrast rule: gold text only on dark bg; copper/green on light.
   ===================================================================== */

/* ============================ FOOTER ================================= */

footer.vp-footer {
    position: relative;
    padding: 0 !important;
    background: linear-gradient(165deg, #1d2713 0%, #29361a 55%, #19210f 100%);
    color: #e9e2cf;
    overflow: hidden;
}

/* gold hairline + soft glow across the very top */
footer.vp-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--vp-gold-deep), var(--vp-gold-light), var(--vp-gold-deep), transparent);
    opacity: .9;
}

/* faint editorial motif bottom-right */
footer.vp-footer .vpf-motif {
    position: absolute;
    right: -40px;
    bottom: -50px;
    font-size: 260px;
    line-height: 1;
    color: rgba(201, 162, 75, .05);
    pointer-events: none;
    z-index: 0;
}

.vp-footer-main {
    position: relative;
    z-index: 1;
    padding: 78px 0 46px;
}

/* ---- brand column ---- */
.vpf-brand-col .vpf-logo {
    display: inline-block;
    margin-bottom: 22px;
}

.vpf-brand-col .vpf-logo img {
    max-width: 260px;
    height: auto;
}

.vpf-about {
    color: rgba(233, 226, 207, .78);
    font-size: 15px;
    line-height: 1.85;
    max-width: 420px;
    margin-bottom: 26px;
}

.vpf-social {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.vpf-social-label {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 600;
    color: var(--vp-gold-light);
}

.vpf-social ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.vpf-social ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    color: var(--vp-gold-light);
    border: 1px solid rgba(201, 162, 75, .45);
    background: rgba(201, 162, 75, .06);
    transition: .3s ease;
    font-size: 15px;
}

.vpf-social ul li a:hover {
    background: linear-gradient(135deg, var(--vp-gold), var(--vp-gold-deep));
    border-color: var(--vp-gold);
    color: #1d2713;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(201, 162, 75, .28);
}

/* ---- column titles ---- */
.vpf-col-title {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 19px;
    font-weight: 600;
    color: #fdfaf3;
    margin-bottom: 26px;
    padding-bottom: 14px;
    position: relative;
}

.vpf-col-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 46px;
    background: linear-gradient(90deg, var(--vp-gold-light), var(--vp-gold-deep));
    border-radius: 2px;
}

/* ---- link lists ---- */
.vpf-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vpf-links li {
    margin-bottom: 13px;
}

.vpf-links li a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(233, 226, 207, .72);
    font-size: 15px;
    text-decoration: none;
    transition: .28s ease;
}

.vpf-links li a i {
    font-size: 10px;
    color: var(--vp-gold-deep);
    transition: .28s ease;
}

.vpf-links li a:hover {
    color: var(--vp-gold-light);
    transform: translateX(5px);
}

.vpf-links li a:hover i {
    color: var(--vp-gold-light);
}

/* ---- contact column ---- */
.vpf-contact {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
}

.vpf-contact li {
    margin-bottom: 20px;
}

.vpf-contact li a {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #e9e2cf;
}

.vpf-contact-ic {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    width: 46px;
    border-radius: 50%;
    background: rgba(201, 162, 75, .1);
    border: 1px solid rgba(201, 162, 75, .4);
    color: var(--vp-gold-light);
    font-size: 17px;
    transition: .3s ease;
}

.vpf-contact li a:hover .vpf-contact-ic {
    background: linear-gradient(135deg, var(--vp-gold), var(--vp-gold-deep));
    color: #1d2713;
    box-shadow: 0 8px 18px rgba(201, 162, 75, .25);
}

.vpf-contact-text small {
    display: block;
    font-size: 12px;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: rgba(233, 226, 207, .55);
    margin-bottom: 2px;
}

.vpf-contact-text span {
    display: block;
    font-size: 15.5px;
    font-weight: 500;
    color: #fdfaf3;
    line-height: 1.4;
}

.vpf-payment {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(253, 250, 243, .94);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
}

.vpf-payment img {
    max-width: 280px;
    height: auto;
    display: block;
}

/* ---- bottom bar ---- */
.vp-footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(201, 162, 75, .22);
    background: rgba(0, 0, 0, .18);
    padding: 20px 0;
}

.vpf-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.vpf-bottom-inner p {
    margin: 0;
    font-size: 14px;
    color: rgba(233, 226, 207, .65);
}

.vpf-legal {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.vpf-legal li a {
    color: rgba(233, 226, 207, .7);
    font-size: 14px;
    text-decoration: none;
    transition: .25s ease;
    position: relative;
}

.vpf-legal li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 1px;
    width: 0;
    background: var(--vp-gold-light);
    transition: width .28s ease;
}

.vpf-legal li a:hover {
    color: var(--vp-gold-light);
}

.vpf-legal li a:hover::after {
    width: 100%;
}

@media (max-width: 991px) {
    .vp-footer-main { padding: 56px 0 34px; }
    footer.vp-footer .vpf-motif { font-size: 180px; }
}

@media (max-width: 575px) {
    .vp-footer-main { padding: 46px 0 28px; }
    .vpf-bottom-inner { flex-direction: column; text-align: center; }
    .vpf-legal { gap: 18px; }
    .vpf-about { margin-bottom: 22px; }
    .vpf-payment img { max-width: 240px; }
}

/* ======================= HOME TESTIMONIALS ========================== */

.testimonial-sec {
    position: relative;
    background:
        radial-gradient(circle at 12% 18%, rgba(201, 162, 75, .08), transparent 42%),
        radial-gradient(circle at 88% 82%, rgba(41, 54, 26, .06), transparent 45%),
        var(--vp-ivory);
    overflow: hidden;
}

/* oversized decorative quote glyph */
.testimonial-sec::before {
    content: "\201C";
    position: absolute;
    top: -30px;
    left: 3%;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 320px;
    line-height: 1;
    color: rgba(180, 108, 41, .08);
    pointer-events: none;
}

.testimonial-sec .testi-heading {
    position: relative;
    z-index: 1;
    max-width: 880px;
}

/* ---- left: client image frame ---- */
.testimonial-sec .book-slide {
    position: relative;
    z-index: 1;
}

.testimonial-sec .testi-pad {
    padding: 14px;
}

.testimonial-sec .testi-pad img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 24px 50px rgba(41, 54, 26, .22);
    border: 4px solid #fff;
    outline: 1px solid rgba(201, 162, 75, .35);
    outline-offset: 6px;
}

/* ---- right: premium quote card ---- */
.testimonial-sec .testimonial {
    position: relative;
    z-index: 1;
    padding-left: 18px;
}

.vpt-card {
    position: relative;
    background: #fff;
    border-radius: 18px;
    padding: 40px 38px 34px !important;
    box-shadow: 0 22px 48px rgba(41, 54, 26, .12);
    border: 1px solid rgba(201, 162, 75, .22);
    overflow: hidden;
}

/* gold accent bar down the left edge */
.vpt-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 26px;
    bottom: 26px;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--vp-gold-light), var(--vp-gold-deep));
}

.vpt-quote {
    position: absolute;
    top: 26px;
    right: 32px;
    font-size: 50px;
    line-height: 1;
    color: rgba(180, 108, 41, .16);
}

.vpt-stars {
    display: inline-flex;
    gap: 4px;
    color: var(--vp-gold);
    font-size: 16px;
    margin-bottom: 18px;
}

.vpt-card .testi-para {
    margin: 0 0 26px !important;
}

.vpt-title {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: .3px;
    color: var(--vp-green);
    margin-bottom: 12px;
}

.vpt-card .testi-para p {
    color: #4e4636;
    font-size: 15.5px;
    line-height: 1.85;
    margin-bottom: 12px;
}

.vpt-card .testi-para p:last-child {
    margin-bottom: 0;
}

/* author block */
.vpt-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 22px;
    border-top: 1px solid rgba(41, 54, 26, .1);
}

.vpt-avatar {
    flex: 0 0 auto;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Oswald', sans-serif;
    font-size: 21px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--vp-gold), var(--vp-gold-deep));
    box-shadow: 0 6px 16px rgba(201, 162, 75, .35);
    overflow: hidden;
}

.vpt-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.vpt-author-meta {
    flex: 1 1 auto;
}

.vpt-name {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--vp-green);
    margin: 0;
    line-height: 1.2;
}

.vpt-loc {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0 0;
    font-size: 13.5px;
    color: #6f6149;
}

.vpt-loc i {
    color: var(--vp-copper);
    font-size: 12px;
}

.vpt-verified {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--vp-green);
    background: rgba(41, 54, 26, .07);
    border: 1px solid rgba(41, 54, 26, .12);
    padding: 6px 12px;
    border-radius: 30px;
}

.vpt-verified i {
    color: var(--vp-gold-deep);
}

@media (max-width: 991px) {
    .testimonial-sec .testimonial { padding-left: 0; margin-top: 8px; }
    .vpt-card { padding: 32px 26px 28px !important; }
    .testimonial-sec::before { font-size: 220px; }
}

@media (max-width: 575px) {
    .vpt-card { padding: 26px 20px 24px !important; }
    .vpt-quote { font-size: 38px; right: 22px; }
    .vpt-author { flex-wrap: wrap; gap: 12px; }
    .vpt-verified { order: 3; }
}

/* ==================== CTA FORM + PROCESS TIMELINE =================== */
/* "Are You Ready" / "Next Bestseller" enquiry form + how-it-works steps.
   New vpcf- classes fully own this section (old .service-form /
   .process-step markup retired in includes/sec-cta-form.php). */

.vpcf-section {
    position: relative;
    padding: 92px 0;
    background:
        radial-gradient(circle at 86% 14%, rgba(201, 162, 75, .08), transparent 40%),
        radial-gradient(circle at 8% 90%, rgba(41, 54, 26, .05), transparent 42%),
        var(--vp-ivory);
    overflow: hidden;
}

/* ---- left: dark form card ---- */
.vpcf-card {
    position: relative;
    background: linear-gradient(160deg, #29361a 0%, #1d2713 68%, #161e0d 100%);
    border-radius: 22px;
    padding: 46px 44px;
    box-shadow: 0 30px 70px rgba(20, 30, 15, .32);
    border: 1px solid rgba(201, 162, 75, .25);
    overflow: hidden;
}

.vpcf-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--vp-gold-deep), var(--vp-gold-light), var(--vp-gold-deep));
}

.vpcf-feather {
    position: absolute;
    right: -34px;
    bottom: -46px;
    font-size: 240px;
    line-height: 1;
    color: rgba(201, 162, 75, .06);
    transform: rotate(-18deg);
    pointer-events: none;
}

.vpcf-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 600;
    color: var(--vp-gold-light);
    margin-bottom: 14px;
}

.vpcf-title {
    position: relative;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 40px;
    font-weight: 700;
    color: #fdfaf3;
    line-height: 1.06;
    margin: 0 0 14px;
}

.vpcf-title em {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 600;
    text-transform: none;
    color: var(--vp-gold-light);
}

.vpcf-lead {
    position: relative;
    color: rgba(233, 226, 207, .8);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 26px;
    max-width: 520px;
}

/* form fields inside the dark card */
.vpcf-card .form-control {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(201, 162, 75, .28);
    border-radius: 10px;
    padding: 13px 16px;
    color: #fff;
    font-weight: 500;
    box-shadow: none;
    transition: .25s ease;
}

.vpcf-card .form-control::placeholder {
    color: rgba(255, 255, 255, .55);
    font-weight: 400;
}

.vpcf-card .form-control:focus {
    background: rgba(255, 255, 255, .1);
    border-color: var(--vp-gold);
    box-shadow: 0 0 0 3px rgba(201, 162, 75, .18);
    color: #fff;
}

.vpcf-card .form-group { margin-bottom: 14px; }
.vpcf-card .btn-container { margin-top: 8px; }

/* ---- right: process timeline ---- */
.vpcf-steps-head { margin-bottom: 32px; }

.vpcf-eyebrow--copper {
    color: var(--vp-copper);
    margin-bottom: 8px;
}

.vpcf-steps-title {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-size: 30px;
    font-weight: 700;
    color: var(--vp-green);
    margin: 0;
    line-height: 1.12;
}

.vpcf-steps-title em {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 600;
    text-transform: none;
    color: var(--vp-gold-deep);
}

.vpcf-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.vpcf-steps::before {
    content: "";
    position: absolute;
    left: 25px;
    top: 22px;
    bottom: 30px;
    width: 2px;
    background: linear-gradient(180deg, var(--vp-gold) 0%, var(--vp-copper) 100%);
    opacity: .45;
}

.vpcf-step {
    position: relative;
    display: flex;
    gap: 20px;
    padding-bottom: 28px;
}

.vpcf-step:last-child { padding-bottom: 0; }

.vpcf-step-num {
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
    height: 52px;
    width: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--vp-copper), var(--vp-gold-deep));
    box-shadow: 0 8px 18px rgba(180, 108, 41, .3);
    border: 3px solid var(--vp-ivory);
    transition: .3s ease;
}

.vpcf-step:hover .vpcf-step-num {
    background: linear-gradient(135deg, var(--vp-gold-light), var(--vp-gold-deep));
    transform: translateY(-2px) scale(1.05);
}

.vpcf-step-body { padding-top: 5px; }

.vpcf-step-body h4 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-size: 19px;
    font-weight: 600;
    color: #9a531d;
    margin: 0 0 5px;
}

.vpcf-step-body p {
    color: #5c5443;
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 991px) {
    .vpcf-section { padding: 58px 0; }
    .vpcf-card { padding: 34px 28px; }
    .vpcf-title { font-size: 32px; }
    .vpcf-steps-title { font-size: 25px; }
    .vpcf-steps-head { margin-top: 6px; }
}

@media (max-width: 575px) {
    .vpcf-card { padding: 28px 20px; }
    .vpcf-title { font-size: 27px; }
    .vpcf-step { gap: 14px; }
    .vpcf-step-num { height: 46px; width: 46px; font-size: 18px; }
    .vpcf-steps::before { left: 22px; }
}

/* ====================== QUOTE / CONSULT MODAL ====================== */
/* Premium two-panel popup (#exampleModal). New vpm- classes own it;
   old peach .modal-content / .form-wrap / .pop-img styling overridden. */

#exampleModal .modal-dialog {
    max-width: 960px !important;
    width: calc(100% - 1.5rem);
    margin: 1.75rem auto !important;
}

#exampleModal .modal-content {
    background: #fff !important;
    padding: 0 !important;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 90px rgba(20, 30, 15, .45);
}

/* close button (top-right, over both panels) */
#exampleModal .vpm-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 20;
    height: 38px;
    width: 38px;
    border-radius: 50%;
    opacity: 1;
    background-color: rgba(255, 255, 255, .92);
    background-size: 32%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
    margin: 0 !important;
    transition: .25s ease;
}
#exampleModal .vpm-close:hover {
    background-color: var(--vp-gold-light);
    transform: rotate(90deg);
}

.vpm-grid {
    display: grid;
    grid-template-columns: 4.6fr 7fr;
}

/* ---- left: offer / value panel ---- */
.vpm-aside {
    position: relative;
    padding: 46px 38px;
    background: linear-gradient(160deg, #29361a 0%, #1d2713 70%, #161e0d 100%);
    color: #e9e2cf;
    overflow: hidden;
}
.vpm-aside-glow {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 162, 75, .18), transparent 70%);
    pointer-events: none;
}
.vpm-logo {
    position: relative;
    max-width: 180px;
    height: auto;
    margin-bottom: 24px;
}
.vpm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--vp-gold-light);
    margin-bottom: 12px;
}
.vpm-aside-title {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.12;
    color: #fdfaf3;
    margin: 0 0 22px;
}
.vpm-aside-title em {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 600;
    text-transform: none;
    color: var(--vp-gold-light);
}
.vpm-points {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}
.vpm-points li {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    color: rgba(233, 226, 207, .85);
    font-size: 14.5px;
    line-height: 1.5;
    margin-bottom: 14px;
}
.vpm-points li i {
    color: var(--vp-gold-light);
    font-size: 15px;
    margin-top: 2px;
    flex: 0 0 auto;
}
.vpm-badge img {
    max-width: 128px;
    height: auto;
}

/* ---- right: form panel ---- */
.vpm-form {
    padding: 44px 42px;
}
.vpm-form-head {
    margin-bottom: 22px;
}
.vpm-form-title {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: .4px;
    font-size: 25px;
    font-weight: 700;
    color: var(--vp-green);
    line-height: 1.18;
    margin: 0;
}
.vpm-form-head p {
    color: #6b6150;
    font-size: 14.5px;
    margin: 9px 0 0;
}

/* form fields inside the modal (light) */
.vpm-form .form-control {
    width: 100%;
    background: #fbf9f4;
    border: 1px solid rgba(201, 162, 75, .3);
    border-radius: 10px;
    padding: 12px 15px;
    color: #2b2517;
    font-size: 15px;
    box-shadow: none;
    margin: 0;
    transition: .25s ease;
}
.vpm-form .form-control::placeholder { color: #9a9075; }
.vpm-form .form-control:focus {
    background: #fff;
    border-color: var(--vp-gold);
    box-shadow: 0 0 0 3px rgba(201, 162, 75, .16);
    color: #2b2517;
}
.vpm-form .form-group { margin-bottom: 14px; }
.vpm-form .btn-container { margin-top: 6px; }
.vpm-form .theme-btn1 {
    width: 100%;
    justify-content: center;
    text-align: center;
}

@media (max-width: 767px) {
    #exampleModal .modal-dialog { margin: 1rem auto !important; }
    .vpm-grid { grid-template-columns: 1fr; }
    .vpm-aside { padding: 30px 26px 26px; }
    .vpm-aside .vpm-points,
    .vpm-aside .vpm-badge { display: none; }
    .vpm-logo { margin-bottom: 16px; max-width: 150px; }
    .vpm-aside-title { font-size: 22px; margin-bottom: 0; }
    .vpm-form { padding: 28px 24px; }
    .vpm-form-title { font-size: 22px; }
}
