/* ==========================================================================
   Pascale Law Firm — Design System
   Palette matches the firm's real logo (navy + black "PL" mark), elevated
   with a brass accent for a more premium legal-services feel.
   ========================================================================== */

:root {
    --primary:      #0b5183;   /* deep navy-blue — headers, primary CTAs */
    --primary-alt:  #105e96;   /* lighter navy-blue — gradients, links */
    --accent:       #b8935a;   /* muted brass/gold — CTAs, trust signals */
    --accent-dark:  #9a7a45;
    --bg:           #ffffff;
    --bg-alt:       #f7f5f1;   /* warm off-white for section alternation */
    --text-dark:    #1a2733;
    --fog:          #6b7c8c;   /* muted secondary text */
    --border-light: rgba(11,81,131,0.12);
}

body, p, li, a, input, textarea, select {
    font-family: 'Inter', sans-serif;
}
/* Firm requested a larger baseline for readability — their audience skews older. */
body, p, li, input, textarea, select {
    font-size: 16px !important;
    line-height: 1.65;
}
h1, h2, h3, h4, .site-eyebrow-font {
    font-family: 'Cormorant Garamond', serif;
}

/* ---- Eyebrow / hero text helpers used by code modules ---- */
.site-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}
.site-hero-h1 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1.12;
    color: #ffffff;
}
.site-accent { color: var(--accent); }
.site-section-h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    color: var(--primary);
}

/* ---- Buttons (used inside code modules) ---- */
.site-hero-btns, .site-btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.site-btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.site-btn-primary {
    background: var(--accent);
    color: #ffffff;
}
.site-btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.site-btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255,255,255,0.55);
}
.site-btn-secondary:hover { border-color: #ffffff; transform: translateY(-2px); }

/* ---- Stat counters (code module) ---- */
.site-stat { text-align: center; padding: 20px; }
.site-stat-num {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 2.8rem;
    color: var(--accent);
}
.site-stat-label {
    display: block;
    font-size: 1rem;
    color: var(--fog);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: 6px;
}

/* ---- Attorney-advertising disclaimer footer strip ---- */
.pascale-ad-disclaimer {
    background: var(--primary);
    color: rgba(255,255,255,0.72);
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    padding: 20px 24px;
}
.pascale-ad-disclaimer a { color: rgba(255,255,255,0.9); }

/* ---- Mobile sticky CTA bar ---- */
.pascale-mobile-cta {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    background: var(--primary);
    padding: 10px 12px;
    gap: 10px;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.18);
}
.pascale-mobile-cta a {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
}
.pascale-mcta-call { background: rgba(255,255,255,0.12); color: #fff; }
.pascale-mcta-btn { background: var(--accent); color: #fff; }
@media (max-width: 767px) {
    .pascale-mobile-cta { display: flex; }
    body { padding-bottom: 62px; }
}

/* ---- Scroll reveal ---- */
.pascale-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1);
}
.pascale-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---- Divi section gradient overlay on primary navy backgrounds ---- */
.et_pb_section[style*="background-color: #0b5183"],
.et_pb_section[style*="background-color:#0b5183"] {
    background-image:
        radial-gradient(ellipse 80% 55% at 50% -5%, rgba(184,147,90,0.14) 0%, transparent 65%),
        radial-gradient(ellipse 45% 35% at 95% 100%, rgba(16,94,150,0.18) 0%, transparent 60%)
        !important;
    background-color: #0b5183 !important;
}

/* ---- Ninja Forms restyle ---- */
.nf-form-cont {
    background: var(--bg);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(11,81,131,0.12);
    padding: 40px 36px;
}
.nf-field-label label {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
}
.nf-field-element input,
.nf-field-element textarea,
.nf-field-element select {
    border: 1.5px solid var(--border-light);
    border-radius: 8px;
    padding: 14px 16px;
    transition: border-color .2s, box-shadow .2s;
}
.nf-field-element input:focus,
.nf-field-element textarea:focus,
.nf-field-element select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(184,147,90,0.16);
    outline: none;
}
.nf-field-element input[type="submit"] {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 16px 32px;
    width: 100%;
    cursor: pointer;
    transition: background-color .2s;
}
.nf-field-element input[type="submit"]:hover { background: var(--accent-dark); }
.nf-error .nf-field-element input,
.nf-error .nf-field-element textarea { border-color: #e53e3e; box-shadow: 0 0 0 3px rgba(229,62,62,0.12); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
