/* =========================================================================
   Probate Valuations - main.css
   Single-file stylesheet for speed.
   Palette: white background, near-black text, navy accent.
   Font: Inter (with system-font fallback).
   Mobile-first: base styles for phones, layered breakpoints upward.
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
    --pv-bg:            #ffffff;
    --pv-text:          #111418;
    --pv-text-soft:     #4a5568;
    --pv-border:        #e5e7eb;
    --pv-surface:       #f7f8fa;
    --pv-surface-dark:  #0a2540;     /* navy */
    --pv-accent:        #0a2540;     /* navy */
    --pv-accent-hover:  #082040;
    --pv-accent-soft:   #eaf0f7;
    --pv-success:       #0f7a3d;
    --pv-warn:          #b54708;
    --pv-radius:        8px;
    --pv-radius-lg:     14px;
    --pv-shadow:        0 1px 2px rgba(0,0,0,.04), 0 4px 12px rgba(10,37,64,.06);
    --pv-container:     1120px;
    --pv-font:          "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--pv-bg);
    color: var(--pv-text);
    font-family: var(--pv-font);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--pv-accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--pv-accent-hover); }

h1, h2, h3, h4 {
    font-family: var(--pv-font);
    color: var(--pv-text);
    line-height: 1.2;
    margin: 0 0 .5em;
    font-weight: 700;
    letter-spacing: -0.01em;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p  { margin: 0 0 1em; }

@media (min-width: 768px) {
    body { font-size: 18px; }
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.4rem; }
}
@media (min-width: 1024px) {
    h1 { font-size: 3.25rem; line-height: 1.1; }
    h2 { font-size: 2.25rem; }
}

/* ---------- Layout ---------- */
.pv-container {
    width: 100%;
    max-width: var(--pv-container);
    margin: 0 auto;
    padding: 0 20px;
}
@media (min-width: 768px) {
    .pv-container { padding: 0 32px; }
}

.pv-skip-link {
    position: absolute; top: -50px; left: 8px;
    background: var(--pv-accent); color: #fff; padding: 8px 12px;
    z-index: 1000; border-radius: var(--pv-radius);
}
.pv-skip-link:focus { top: 8px; }

/* ---------- Header ---------- */
.pv-site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.96);
    backdrop-filter: saturate(160%) blur(8px);
    -webkit-backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid var(--pv-border);
}
.pv-site-header__inner {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 64px;
    gap: 16px;
}
.pv-brand { text-decoration: none; color: var(--pv-text); display: flex; align-items: center; }
.pv-brand__name { font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }
.pv-brand img.custom-logo { max-height: 44px; width: auto; }

.pv-nav-toggle {
    display: inline-flex; flex-direction: column; gap: 4px;
    background: transparent; border: 0; cursor: pointer; padding: 10px;
    margin-right: -10px;
}
.pv-nav-toggle span {
    display: block; width: 22px; height: 2px; background: var(--pv-text); border-radius: 2px;
}
.pv-primary-nav { display: none; }

@media (min-width: 900px) {
    .pv-nav-toggle { display: none; }
    .pv-primary-nav { display: flex; align-items: center; gap: 28px; }
    .pv-primary-nav .pv-menu {
        display: flex; gap: 24px; list-style: none; margin: 0; padding: 0;
    }
    .pv-primary-nav .pv-menu a {
        color: var(--pv-text); text-decoration: none; font-weight: 500; font-size: 15px;     
    }
    .pv-primary-nav .pv-menu a:hover { color: var(--pv-accent); }
}

@media screen and (max-width: 768px) {
    span.pv-brand__name {
        display: none !important;
    }
}


/* ---------- MOBILE MENU ANIMATION ---------- */

@media (max-width: 899px) {

    .pv-primary-nav {
		display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        background: #fff;
        border-bottom: 1px solid var(--pv-border);

        padding: 0 20px;

        opacity: 0;
        visibility: hidden;

       
       transform: translateY(-100%);

     transition: transform 0.35s linear, opacity 0.2s linear;

        max-height: 0;
        overflow: hidden;

        z-index: 999;
    }

    /* MENU OPEN */
    .pv-nav-toggle[aria-expanded="true"] + .pv-primary-nav {
  
        opacity: 1;
        visibility: visible;

        transform: translateY(0) ;

        max-height: 550px;

        padding: 20px;
    }

    .pv-primary-nav .pv-menu {

        display: flex;
        flex-direction: column;

        margin: 0;
        padding: 0;

        list-style: none;
    }

    .pv-primary-nav .pv-menu a {

        text-decoration: none;
        color: var(--pv-text);

        font-weight: 500;
        font-size: 17px;

        padding: 12px 0;

        border-bottom: 1px solid var(--pv-border);

        display: block;

        opacity: 0;

        transform: translateY(-10px);

        transition: all 0.4s ease;
    }

    /* LINKS ANIMATION */
    .pv-nav-toggle[aria-expanded="true"] + .pv-primary-nav .pv-menu a {

        opacity: 1;

        transform: translateY(0);
    }

    /* CTA BUTTON */
    .pv-nav-cta {

        width: 100%;

        margin-top: 18px;

        text-align: center;
    }
}


/* ---------- Buttons ---------- */
.pv-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 22px;
    font-weight: 600; font-size: 16px; line-height: 1;
    border-radius: var(--pv-radius);
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
    min-height: 48px;            /* finger-friendly */
    white-space: nowrap;
}
.pv-btn--primary {
    background: var(--pv-accent); color: #fff;
}
.pv-btn--primary:hover { background: var(--pv-accent-hover); color: #fff; }
.pv-btn--ghost {
    background: transparent; color: var(--pv-accent); border-color: var(--pv-accent);
}
.pv-btn--ghost:hover { background: var(--pv-accent-soft); }
.pv-btn--block { display: flex; width: 100%; }
.pv-btn--lg { padding: 18px 28px; font-size: 18px; min-height: 56px; }
.pv-nav-cta { padding: 10px 16px; min-height: 40px; }

/* ---------- Hero ---------- */
.pv-hero {
    padding: 48px 0 32px;
    background: linear-gradient(180deg, var(--pv-surface) 0%, #fff 100%);
}
@media (min-width: 768px) {
    .pv-hero { padding: 80px 0 56px; }
}
.pv-hero__eyebrow {
    display: inline-block;
    background: var(--pv-accent-soft);
    color: var(--pv-accent);
    font-size: 14px; font-weight: 600;
    padding: 6px 12px; border-radius: 999px;
    margin-bottom: 16px;
}
.pv-hero h1 { margin: 0 0 16px; }
.pv-hero__lead {
    font-size: 1.1rem; color: var(--pv-text-soft);
    max-width: 620px; margin-bottom: 28px;
}
@media (min-width: 768px) {
    .pv-hero__lead { font-size: 1.25rem; }
}
.pv-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.pv-hero__trust {
    display: flex; flex-wrap: wrap; gap: 18px;
    color: var(--pv-text-soft); font-size: 14px;
}
.pv-hero__trust span::before {
    content: "✓"; color: var(--pv-success); margin-right: 6px; font-weight: 700;
}

/* ---------- Sections ---------- */
.pv-section { padding: 56px 0; }
@media (min-width: 768px) { .pv-section { padding: 80px 0; } }

.pv-section--alt { background: var(--pv-surface); }
.pv-section__head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.pv-section__head .pv-eyebrow {
    color: var(--pv-accent); font-weight: 600; font-size: 14px;
    text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px;
}
.pv-section__head p { color: var(--pv-text-soft); font-size: 1.05rem; margin: 8px 0 0; }

/* Cards grid */
.pv-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px)  { .pv-grid--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px)  { .pv-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px)  { .pv-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.pv-card {
    background: #fff;
    border: 1px solid var(--pv-border);
    border-radius: var(--pv-radius-lg);
    padding: 24px;
    box-shadow: var(--pv-shadow);
}
.pv-card h3 { margin-top: 0; }
.pv-card p { color: var(--pv-text-soft); margin-bottom: 0; }

.pv-step {
    display: flex; gap: 16px; align-items: flex-start;
}
.pv-step__num {
    flex: 0 0 auto;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--pv-accent); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 15px;
}
.pv-step h3 { margin: 4px 0 6px; font-size: 1.1rem; }
.pv-step p { color: var(--pv-text-soft); margin: 0; }

/* Pricing block */
.pv-pricing {
    max-width: 520px; margin: 0 auto;
    background: #fff;
    border: 1px solid var(--pv-border); border-radius: var(--pv-radius-lg);
    box-shadow: var(--pv-shadow);
    padding: 32px; text-align: center;
}
.pv-pricing__price {
    font-size: 3rem; font-weight: 700; color: var(--pv-text);
    line-height: 1; margin: 12px 0;
}
.pv-pricing__price small { font-size: 1rem; font-weight: 500; color: var(--pv-text-soft); }
.pv-pricing__includes {
    list-style: none; padding: 0; margin: 24px 0; text-align: left;
}
.pv-pricing__includes li {
    padding: 10px 0; border-bottom: 1px solid var(--pv-border);
}
.pv-pricing__includes li::before {
    content: "✓"; color: var(--pv-success); font-weight: 700; margin-right: 10px;
}
.pv-pricing__includes li:last-child { border-bottom: 0; }

/* FAQ */
.pv-faq { max-width: 960px; margin: 0 auto; }
.pv-faq details {
    background: #fff; border: 1px solid var(--pv-border); border-radius: var(--pv-radius);
    padding: 16px 20px; margin-bottom: 12px;
}
.pv-faq summary {
    cursor: pointer; font-weight: 600; list-style: none; outline: none;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.pv-faq summary::-webkit-details-marker { display: none; }
.pv-faq summary::after {
    content: "+"; font-weight: 400; font-size: 22px; color: var(--pv-accent);
}
.pv-faq details[open] summary::after { content: "−"; }
.pv-faq details[open] { border-color: var(--pv-accent); }
.pv-faq p { color: var(--pv-text-soft); margin: 12px 0 0; }

/* Trust strip */
.pv-trust-strip {
    background: var(--pv-surface);
    padding: 24px 0;
    border-top: 1px solid var(--pv-border);
    border-bottom: 1px solid var(--pv-border);
}
.pv-trust-strip__inner {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 32px;
    color: var(--pv-text-soft); font-size: 14px; font-weight: 500;
}
.pv-trust-strip__inner span::before {
    content: "•"; color: var(--pv-accent); margin-right: 8px;
}

/* ---------- Final CTA ---------- */
.pv-final-cta {
    background: var(--pv-accent); color: #fff;
    padding: 56px 0; text-align: center;
}
.pv-final-cta h2 { color: #fff; margin: 0 0 8px; }
.pv-final-cta p { color: rgba(255,255,255,.85); margin: 0 0 24px; }
.pv-final-cta .pv-btn--primary {
    background: #fff; color: var(--pv-accent);
}
.pv-final-cta .pv-btn--primary:hover { background: #f1f5f9; }

/* ---------- Footer ---------- */
.pv-site-footer {
    background: #0c1a2a; color: #cbd5e1;
    padding: 48px 0 16px;
}
.pv-site-footer a { color: #cbd5e1; text-decoration: none; }
.pv-site-footer a:hover { color: #fff; text-decoration: underline; }
.pv-site-footer__inner {
    display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 700px) { .pv-site-footer__inner { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.pv-footer-title { color: #fff; margin: 0 0 8px; font-size: 1.1rem; }
.pv-footer-subtitle { color: #fff; margin: 0 0 12px; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
.pv-footer-list { list-style: none; padding: 0; margin: 0; }
.pv-footer-list li { padding: 4px 0; }
.pv-footer-text { color: #94a3b8; }
.pv-footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
    margin-top: 32px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08);
    color: #94a3b8; font-size: 14px;
}
.pv-footer-menu { list-style: none; padding: 0; margin: 0; display: flex; gap: 16px; }

/* ---------- Sticky mobile CTA ---------- */
.pv-sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97);
    border-top: 1px solid var(--pv-border);
    z-index: 60;
    box-shadow: 0 -4px 16px rgba(0,0,0,.04);
}
@media (min-width: 768px) { .pv-sticky-cta { display: none; } }
/* Pad body so sticky CTA does not cover footer content on mobile */
@media (max-width: 767.98px) { body { padding-bottom: 80px; } }

/* ---------- Forms (submission + pay) ---------- */
.pv-form { max-width: 640px; margin: 0 auto; }
.pv-field { margin-bottom: 18px; }
.pv-field label {
    display: block; font-weight: 600; font-size: 15px;
    margin-bottom: 6px;
}
.pv-field .pv-hint {
    display: block; color: var(--pv-text-soft); font-size: 13px; margin-top: 4px;
}
.pv-input, .pv-textarea, .pv-select {
    width: 100%; padding: 14px 16px;
    font-size: 16px; font-family: inherit;
    border: 1px solid var(--pv-border); border-radius: var(--pv-radius);
    background: #fff; color: var(--pv-text);
    transition: border-color .15s ease, box-shadow .15s ease;
    -webkit-appearance: none;
}
.pv-input:focus, .pv-textarea:focus, .pv-select:focus {
    outline: none; border-color: var(--pv-accent);
    box-shadow: 0 0 0 3px var(--pv-accent-soft);
}
.pv-textarea { min-height: 120px; resize: vertical; }
.pv-file {
    display: block; padding: 14px; text-align: center;
    border: 2px dashed var(--pv-border); border-radius: var(--pv-radius);
    color: var(--pv-text-soft); cursor: pointer; background: var(--pv-surface);
}
.pv-file input { display: none; }
.pv-file:hover { border-color: var(--pv-accent); color: var(--pv-accent); }

.pv-notice {
    padding: 14px 16px; border-radius: var(--pv-radius); margin-bottom: 20px;
    background: var(--pv-accent-soft); color: var(--pv-accent);
    border: 1px solid #d6e0ec;
}
.pv-notice--success { background: #e6f6ec; color: #0f7a3d; border-color: #c2e6cd; }
.pv-notice--error { background: #fdecec; color: #9b1c1c; border-color: #f5c2c2; }

/* ---------- Status timeline (order tracking) ---------- */
.pv-timeline { list-style: none; padding: 0; margin: 24px 0; }
.pv-timeline li {
    position: relative; padding: 0 0 20px 32px; color: var(--pv-text-soft);
}
.pv-timeline li::before {
    content: ""; position: absolute; left: 8px; top: 18px; bottom: -4px;
    width: 2px; background: var(--pv-border);
}
.pv-timeline li:last-child::before { display: none; }
.pv-timeline li::after {
    content: ""; position: absolute; left: 0; top: 6px;
    width: 18px; height: 18px; border-radius: 50%;
    background: #fff; border: 2px solid var(--pv-border);
}
.pv-timeline li.is-done { color: var(--pv-text); }
.pv-timeline li.is-done::after { background: var(--pv-success); border-color: var(--pv-success); }
.pv-timeline li.is-current::after { background: var(--pv-accent); border-color: var(--pv-accent); box-shadow: 0 0 0 4px var(--pv-accent-soft); }
.pv-timeline strong { display: block; color: var(--pv-text); }

/* ---------- Page title ---------- */
.pv-page-header {
    padding: 48px 0 24px; background: var(--pv-surface);
    border-bottom: 1px solid var(--pv-border);
}
.pv-page-header h1 { margin: 0; }
.pv-page-header p { color: var(--pv-text-soft); margin: 8px 0 0; max-width: 640px; }

/* ---------- Utilities ---------- */
.pv-text-center { text-align: center; }
.pv-mt-0 { margin-top: 0; }
.pv-mt-2 { margin-top: 16px; }
.pv-mt-4 { margin-top: 32px; }
.pv-mb-0 { margin-bottom: 0; }
.pv-mb-2 { margin-bottom: 16px; }
.pv-mb-4 { margin-bottom: 32px; }
.pv-muted { color: var(--pv-text-soft); }
.pv-small { font-size: 14px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Print ---------- */
@media print {
    .pv-site-header, .pv-site-footer, .pv-sticky-cta, .pv-final-cta { display: none; }
    a { color: black; text-decoration: none; }
}


.pv-about-section-main{
    padding:80px 0 !important;
}

.pv-about-container-main{
    width:100% !important;
    max-width:1200px !important;
    margin:0 auto !important;
    padding:0 20px !important;
}

.pv-about-flex-wrapper{
    display:flex !important;
    align-items:center !important;
    gap:60px !important;
}

.pv-about-left-image{
    width:45% !important;
}

.pv-about-left-image img{
    width:100% !important;
    display:block !important;
    border-radius:20px !important;
    object-fit:cover !important;
}

.pv-about-right-content{
    width:55% !important;
}

.pv-about-heading-title{
    margin-top:0 !important;
    margin-bottom:20px !important;
}

.pv-about-text-content{
    margin-bottom:20px !important;
    line-height:1.7 !important;
}

.pv-about-description{
    margin-bottom:30px !important;
    line-height:1.7 !important;
}

.pv-about-button-wrapper{
    margin-top:30px !important;
}

/* Responsive */

@media(max-width:768px){

    .pv-about-flex-wrapper{
        flex-direction:column !important;
    }

    .pv-about-left-image,
    .pv-about-right-content{
        width:100% !important;
    }
}

.pv-form{
    max-width: 100% !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

    /* ============================================================
   AUTHORITY SECTION
   ============================================================ */

.pv-authority__stats{
    margin-top: 40px;
}

.pv-stat{
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 18px;
    padding: 32px 24px;
    text-align: center;
    transition: 0.3s ease;
}

.pv-stat:hover{
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.pv-stat__number{
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    color: #111827;
    margin-bottom: 12px;
}

.pv-stat__label{
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
}

.pv-authority__quals{
    margin-top: 35px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.pv-authority__quals span{
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 12px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

/* ============================================================
   LOCAL AREAS SECTION
   ============================================================ */

.pv-card--area{
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 28px 24px;
    transition: 0.3s ease;
    height: 100%;
}

.pv-card--area:hover{
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.pv-card--area h3{
    font-size: 22px;
    margin-bottom: 14px;
    color: #111827;
    line-height: 1.3;
}

.pv-card--area p{
    color: #6b7280;
    line-height: 1.7;
    font-size: 15px;
}

.pv-areas__note{
    margin-top: 35px;
    text-align: center;
}

.pv-areas__note p{
    font-size: 16px;
    color: #4b5563;
    line-height: 1.7;
}

.pv-areas__note a{
    color: #111827;
    font-weight: 600;
    text-decoration: none;
}

.pv-areas__note a:hover{
    text-decoration: underline;
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */

.pv-testimonial{
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 32px 28px;
    position: relative;
    transition: 0.3s ease;
    height: 100%;
}

.pv-testimonial:hover{
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.pv-testimonial__quote{
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.9;
    color: #374151;
    position: relative;
}

.pv-testimonial__quote::before{
    content: "“";
    font-size: 60px;
    line-height: 1;
    color: #d1d5db;
    position: absolute;
    top: -18px;
    left: -10px;
}

.pv-testimonial__author{
    border-top: 1px solid #e5e7eb;
    padding-top: 18px;
}

.pv-testimonial__author strong{
    display: block;
    font-size: 16px;
    color: #111827;
    margin-bottom: 4px;
}

.pv-testimonial__author span{
    font-size: 14px;
    color: #6b7280;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 991px){

    .pv-stat__number{
        font-size: 34px;
    }

    .pv-card--area h3{
        font-size: 20px;
    }

}

@media (max-width: 767px){

    .pv-authority__quals{
        justify-content: flex-start;
    }

    .pv-authority__quals span{
        width: 100%;
        border-radius: 12px;
    }

    .pv-testimonial,
    .pv-card--area,
    .pv-stat{
        padding: 24px 20px;
    }

    .pv-testimonial__quote{
        font-size: 15px;
    }

}
.pv-card.pv-card--area img {
    margin-bottom: 10px;
    border-radius: 8px;
}