@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #7f1d1d; /* deep red */
    --accent: #b91c1c; /* red accent */
    --neutral-900: #171717;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
}

h1, h2, h3, .heading-serif {
    font-family: 'Cormorant Garamond', Georgia, serif;
    letter-spacing: -0.02em;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #525252;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background-color: #450a0a;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--neutral-900);
}

/* Custom Table for PI Page */
.law-table {
    width: 100%;
    border-collapse: collapse;
}

.law-table th {
    text-align: left;
    padding: 1rem;
    background: #f5f5f5;
    border-bottom: 2px solid #e5e5e5;
}

.law-table td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid #eee;
}

/* Transitions & Micro-interactions */
.group:hover .group-hover\:translate-y-0 {
    transform: translateY(0);
}

.group:hover .group-hover\:opacity-100 {
    opacity: 1;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade {
    animation: fadeIn 0.8s ease forwards;
}

/* ------------------------------------------------------------------
   Motion + polish (reveal animations, parallax, micro-elevation)
   ------------------------------------------------------------------ */

/* Hero overlay without changing the HTML structure */
.hero-overlay {
    position: relative;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    /* Subtle vignette + gradient for better text contrast */
    background:
        radial-gradient(90% 80% at 10% 20%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.00) 55%),
        linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 35%, rgba(0,0,0,0.65) 100%);
}

.parallax-media {
    will-change: transform;
    transform: translate3d(0, 0, 0) scale(1.03);
}

/* IntersectionObserver-driven reveal */
.reveal,
[data-animate] {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(2px);
    transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
                transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
                filter 700ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform, filter;
}

.reveal.in-view,
[data-animate].in-view {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Variants */
[data-animate="fade-in"] {
    transform: none;
}

[data-animate="zoom"] {
    transform: scale(0.985);
}

[data-animate="slide-left"] {
    transform: translateX(18px);
}

[data-animate="slide-right"] {
    transform: translateX(-18px);
}

/* Testimonial cards */
.testimonial-card {
    border: 1px solid #f0f0f0;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 1px 0 rgba(0,0,0,0.02);
    transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: #e7e7e7;
    box-shadow: 0 20px 40px -30px rgba(0,0,0,0.35);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }
    .reveal,
    [data-animate],
    .parallax-media,
    .btn-primary,
    .btn-secondary,
    #mobile-menu {
        transition: none !important;
        animation: none !important;
        transform: none !important;
        filter: none !important;
    }
}

/* Mobile Menu Transition */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

/* Ensure images cover properly in placeholders */
.aspect-\[3\/4\], .aspect-\[4\/5\] {
    background-size: cover;
    background-position: center;
}



.hero-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
}

.practice-mini-card {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem;
    background: #fafafa;
    border: 1px solid #ececec;
    border-radius: 0.9rem;
}

.icon-panel {
    padding: 1.75rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1rem;
    background: rgba(255,255,255,0.03);
}

.icon-wrap {
    width: 3rem;
    height: 3rem;
    border-radius: 0.85rem;
    background: rgba(185,28,28,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card,
.detail-card,
.quote-card,
.team-card {
    background: white;
    border: 1px solid #e9e9e9;
    border-radius: 1.1rem;
    padding: 1.6rem;
    box-shadow: 0 8px 30px -26px rgba(0,0,0,0.3);
}

.service-card h3,
.detail-card h3,
.quote-card h3,
.team-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #171717;
    margin-bottom: 0.65rem;
}

.service-card p,
.detail-card p,
.quote-card p,
.team-card p {
    color: #5a5a5a;
    line-height: 1.65;
}

.service-card-lg {
    padding: 2rem;
}

.contact-mini {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.1rem;
    border-radius: 0.95rem;
    background: white;
    border: 1px solid #ececec;
    color: #3f3f46;
}

.contact-mini svg {
    width: 1.2rem;
    height: 1.2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.team-card {
    text-align: center;
    padding-top: 2rem;
}

.team-portrait {
    width: 5.5rem;
    height: 5.5rem;
    margin: 0 auto 1.25rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #7f1d1d, #b91c1c);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.team-role {
    color: #7f1d1d !important;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.form-label {
    display: block;
    margin-bottom: 0.55rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: #262626;
}

.form-input {
    width: 100%;
    background: white;
    border: 1px solid #d4d4d8;
    border-radius: 0.85rem;
    padding: 0.9rem 1rem;
    color: #171717;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    border-color: #b91c1c;
    box-shadow: 0 0 0 4px rgba(185,28,28,0.12);
}

footer a:hover {
    color: white;
}


.attorney-photo-shell {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 1rem;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(23,23,23,0.05), rgba(23,23,23,0.18));
    border: 1px solid #e7e5e4;
}

.attorney-photo-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(23,23,23,0.04) 0%, rgba(23,23,23,0.18) 100%),
      url('assets/hero-pattern.svg') center/cover no-repeat;
    opacity: 0.30;
}

.attorney-photo-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem;
    text-align: center;
}

.attorney-monogram {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #7f1d1d, #b91c1c 48%, #ea580c);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 0.08em;
    box-shadow: 0 18px 30px -20px rgba(0,0,0,0.55);
}

.attorney-photo-note {
    font-size: 0.82rem;
    line-height: 1.5;
    color: #3f3f46;
    max-width: 20rem;
}

.team-grid-card {
    background: white;
    border: 1px solid #e9e9e9;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 14px 34px -30px rgba(0,0,0,0.3);
}

.team-grid-card .copy {
    padding: 1.4rem 1.4rem 1.6rem;
}

.team-grid-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #171717;
}

.team-grid-card p {
    color: #57534e;
    line-height: 1.65;
}

.team-source-link {
    font-size: 0.8rem;
    color: #7f1d1d;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.office-card {
    background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
    border: 1px solid #e7e5e4;
    border-radius: 1.1rem;
    padding: 1.4rem;
    box-shadow: 0 10px 28px -28px rgba(0,0,0,0.32);
}

.kpi-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.kpi-box {
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    border-radius: 1rem;
    padding: 1.1rem 1rem;
}

.kpi-box strong {
    display: block;
    color: white;
    font-size: 1.55rem;
    line-height: 1;
    margin-bottom: 0.3rem;
}

.kpi-box span {
    display: block;
    color: rgba(255,255,255,0.78);
    font-size: 0.82rem;
    line-height: 1.45;
}

.timeline-card {
    background: white;
    border: 1px solid #e8e5e1;
    border-radius: 1rem;
    padding: 1.4rem;
    position: relative;
}

.timeline-step {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    border: 1px solid #b91c1c;
    color: #7f1d1d;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
}

.payment-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 600;
}

.notice-box {
    border-radius: 1rem;
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #7f1d1d;
    padding: 1rem 1.1rem;
}

.faq-item {
    background: white;
    border: 1px solid #ebe7e2;
    border-radius: 1rem;
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
    padding: 1.1rem 1.2rem;
    font-weight: 700;
    color: #171717;
}

.faq-content {
    padding: 0 1.2rem 1.2rem;
    color: #57534e;
    line-height: 1.65;
}

.faq-icon {
    transition: transform 0.25s ease;
}

.inline-source {
    font-size: 0.78rem;
    color: #78716c;
}

@media (max-width: 900px) {
    .kpi-strip {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 640px) {
    .kpi-strip {
        grid-template-columns: 1fr;
    }
}


/* Real team photography */
.attorney-photo-shell::before {
    display: none;
}

.team-photo-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    display: block;
    transition: transform 300ms ease;
}

.team-grid-card:hover .team-photo-img,
.team-card:hover .team-card-headshot {
    transform: scale(1.035);
}

.support-photo-shell {
    aspect-ratio: 4 / 5;
}

.team-band {
    overflow: hidden;
    border-radius: 1.25rem;
    border: 1px solid #e5e5e5;
    box-shadow: 0 16px 42px -34px rgba(0,0,0,0.45);
    margin-bottom: 1.5rem;
    background: #171717;
}

.team-band img {
    width: 100%;
    height: clamp(260px, 38vw, 430px);
    object-fit: cover;
    object-position: center 36%;
    display: block;
    opacity: 0.96;
}

.team-card-headshot {
    width: 5.75rem;
    height: 5.75rem;
    border-radius: 999px;
    object-fit: cover;
    object-position: center 18%;
    display: block;
    margin: 0 auto 1.1rem;
    border: 3px solid #fff;
    box-shadow: 0 12px 28px -20px rgba(0,0,0,0.55);
    transition: transform 300ms ease;
}

.team-hero-image {
    object-position: center 30%;
}


.team-card-duo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin: 0 auto 1.1rem;
}

.team-card-duo img {
    width: 5.75rem;
    height: 5.75rem;
    border-radius: 999px;
    object-fit: cover;
    object-position: center 18%;
    border: 3px solid #fff;
    box-shadow: 0 12px 28px -20px rgba(0,0,0,0.55);
    transition: transform 300ms ease;
}

.team-card-duo img + img {
    margin-left: -1.25rem;
}

.team-card:hover .team-card-duo img:first-child {
    transform: translateX(-2px) scale(1.03);
}

.team-card:hover .team-card-duo img:last-child {
    transform: translateX(2px) scale(1.03);
}


/* Final firm build refinements */
.bg-white\/92 { background-color: rgba(255,255,255,0.92); }
.service-card.block, .detail-card.block { text-decoration: none; }
.service-card:hover, .detail-card:hover, .office-card:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -34px rgba(0,0,0,0.45); }
.service-card, .detail-card, .office-card { transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.btn-secondary.w-full { display: inline-flex; justify-content: center; }
.hidden { display: none; }
@media (max-width: 640px) { .team-photo-img { object-position: center 16%; } }

/* ------------------------------------------------------------------
   Enhanced homepage system: richer red / black / charcoal palette
   ------------------------------------------------------------------ */
.premium-hero {
    background: linear-gradient(135deg, #080808 0%, #18120f 42%, #3b0b0b 100%);
}

.hero-layers {
    background-image: url("assets/hero/albertville-guntersville-hero.jpg");
    background-size: cover;
    background-position: center center;
    transform: scale(1.02);
}

.hero-layers::before,
.hero-layers::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-layers::before {
    background:
        linear-gradient(90deg, rgba(4,4,4,0.84) 0%, rgba(10,10,10,0.42) 34%, rgba(10,10,10,0.30) 60%, rgba(0,0,0,0.62) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.38) 100%);
}

.hero-layers::after {
    background:
        radial-gradient(circle at 78% 24%, rgba(255, 196, 111, 0.20), transparent 24%),
        radial-gradient(circle at 18% 18%, rgba(153, 27, 27, 0.22), transparent 28%);
}

.eyebrow-pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.08);
    color: #fecaca;
    font-size: 0.76rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}


.hero-local-note {
    margin-top: 1rem;
    max-width: 42rem;
    color: rgba(245, 245, 244, 0.86);
    font-size: 0.98rem;
    line-height: 1.7;
}

.hero-photo-stack {
    position: relative;
    min-height: 620px;
}

.hero-photo-main {
    position: absolute;
    inset: 0 0 5rem 2rem;
    border-radius: 2rem;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 38px 90px -42px rgba(0,0,0,0.92);
}

.hero-photo-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.94) contrast(1.03) brightness(0.9);
}

.hero-photo-main::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.48), rgba(0,0,0,0.04) 45%);
}

.hero-office-card,
.hero-badge-card {
    position: absolute;
    background: rgba(14, 14, 14, 0.88);
    border: 1px solid rgba(255,255,255,0.16);
    color: white;
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 60px -34px rgba(0,0,0,0.8);
}

.hero-office-card {
    left: 0;
    bottom: 1.5rem;
    width: min(26rem, 88%);
    padding: 1.4rem;
    border-radius: 1.25rem;
}

.hero-badge-card {
    right: 1.5rem;
    top: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
}

.hero-proof {
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.075);
    border-radius: 1rem;
    padding: 0.95rem 1rem;
    backdrop-filter: blur(10px);
}

.hero-proof strong {
    display: block;
    font-size: 1.18rem;
    line-height: 1;
    color: white;
}

.hero-proof span {
    display: block;
    margin-top: 0.35rem;
    color: rgba(255,255,255,0.72);
    font-size: 0.78rem;
    line-height: 1.3;
}

.rich-strip {
    background: linear-gradient(90deg, #111111 0%, #2b0d0d 48%, #111111 100%);
    color: white;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.strip-item {
    border: 1px solid rgba(255,255,255,0.12);
    background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
    border-radius: 1.15rem;
    padding: 1.25rem;
}

.strip-item span {
    display: block;
    color: #fecaca;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    margin-bottom: 0.7rem;
}

.strip-item strong {
    display: block;
    color: white;
    font-size: 1.05rem;
    margin-bottom: 0.45rem;
}

.strip-item p {
    color: rgba(255,255,255,0.72);
    font-size: 0.88rem;
    line-height: 1.55;
}

.check-row {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: #3f3f46;
    padding: 1rem 1.1rem;
    border: 1px solid #ede7df;
    border-radius: 1rem;
    background: linear-gradient(180deg, #fff 0%, #fbfaf8 100%);
}

.check-row svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #991b1b;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.matter-panel {
    border-radius: 1.75rem;
    padding: 1.25rem;
    background:
        radial-gradient(circle at 82% 0%, rgba(248, 113, 113, 0.18), transparent 34%),
        linear-gradient(135deg, #151515 0%, #3a0d0d 100%);
    border: 1px solid rgba(127, 29, 29, 0.36);
    box-shadow: 0 32px 70px -52px rgba(0,0,0,0.85);
}

.matter-panel-top {
    border-radius: 1.25rem;
    padding: 2rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    margin-bottom: 1rem;
}

.matter-panel-top h3 {
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1;
    font-weight: 800;
    margin: 0.75rem 0 1rem;
}

.matter-panel-top p {
    color: rgba(255,255,255,0.74);
    line-height: 1.7;
}

.matter-pill {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 8rem;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 1rem;
    color: white;
    background: rgba(255,255,255,0.055);
    transition: transform 220ms ease, background 220ms ease;
}

.matter-pill:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

.matter-pill svg {
    width: 1.4rem;
    height: 1.4rem;
    color: #fecaca;
}

.matter-pill span {
    font-weight: 800;
}

.practice-rich-bg {
    background:
        radial-gradient(circle at 10% 8%, rgba(153, 27, 27, 0.08), transparent 28%),
        linear-gradient(180deg, #faf7f2 0%, #fff 52%, #f6f3ee 100%);
}

.feature-practice-card {
    display: block;
    min-height: 17rem;
    padding: 1.75rem;
    border-radius: 1.35rem;
    background: white;
    border: 1px solid #e8e1d7;
    box-shadow: 0 18px 42px -36px rgba(0,0,0,0.45);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.feature-practice-card:hover,
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 58px -42px rgba(0,0,0,0.55);
}

.feature-practice-card span {
    display: inline-flex;
    padding: 0.38rem 0.62rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #991b1b;
    background: #fee2e2;
    margin-bottom: 1.2rem;
}

.feature-practice-card h3 {
    color: #171717;
    font-size: 1.55rem;
    font-weight: 800;
    margin-bottom: 0.85rem;
}

.feature-practice-card p {
    color: #57534e;
    line-height: 1.7;
}

.feature-practice-card.priority {
    background: linear-gradient(135deg, #170f0f 0%, #641414 100%);
    border-color: rgba(127,29,29,0.45);
}

.feature-practice-card.priority h3,
.feature-practice-card.priority p {
    color: white;
}

.feature-practice-card.priority p {
    color: rgba(255,255,255,0.74);
}

.team-home-photo {
    filter: saturate(0.95) contrast(1.03);
    object-position: center 34%;
}

.team-photo-caption {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    padding: 1rem 1.15rem;
    border-radius: 1rem;
    background: rgba(15,15,15,0.82);
    color: white;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
}

.team-photo-caption span {
    display: block;
    color: #fecaca;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.team-photo-caption strong {
    display: block;
    margin-top: 0.25rem;
    font-size: 1.1rem;
}

.mini-person {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.8rem;
    border-radius: 1rem;
    border: 1px solid #ece5dc;
    background: #fff;
}

.mini-person img {
    width: 4rem;
    height: 4rem;
    border-radius: 0.85rem;
    object-fit: cover;
    object-position: center 18%;
}

.mini-person strong,
.mini-person span {
    display: block;
}

.mini-person strong {
    color: #171717;
    font-weight: 800;
}

.mini-person span {
    color: #78716c;
    font-size: 0.82rem;
    margin-top: 0.15rem;
}

.office-section {
    background:
        radial-gradient(circle at 80% 20%, rgba(185, 28, 28, 0.30), transparent 31%),
        linear-gradient(135deg, #111 0%, #1c1917 45%, #450a0a 100%);
}

.office-rich-card {
    padding: 1.6rem;
    min-height: 17rem;
    border-radius: 1.25rem;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.13);
    box-shadow: 0 20px 55px -42px rgba(0,0,0,0.8);
}

.office-rich-card svg {
    color: #fecaca;
    width: 1.8rem;
    height: 1.8rem;
    margin-bottom: 1.3rem;
}

.office-rich-card h3 {
    font-weight: 800;
    font-size: 1.35rem;
    margin-bottom: 0.85rem;
}

.office-rich-card p {
    color: rgba(255,255,255,0.74);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.office-rich-card a {
    color: #fecaca;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.language-card,
.payment-card {
    border-radius: 1.5rem;
    min-height: 100%;
    padding: 2rem;
    border: 1px solid #ebe4da;
}

.language-card {
    background: linear-gradient(180deg, #fff 0%, #fbf8f4 100%);
}

.payment-card {
    background:
        radial-gradient(circle at 88% 10%, rgba(248, 113, 113, 0.22), transparent 36%),
        linear-gradient(135deg, #151515 0%, #3a0d0d 100%);
    border-color: rgba(127,29,29,0.35);
}

.translator-mini {
    background: white;
    border: 1px solid #eee7dd;
    border-radius: 1rem;
    padding: 0.85rem;
}

.translator-mini img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 0.85rem;
    object-fit: cover;
    object-position: center 18%;
    margin-bottom: 0.85rem;
}

.translator-mini strong,
.translator-mini span {
    display: block;
}

.translator-mini strong {
    color: #171717;
    font-size: 0.92rem;
    font-weight: 800;
}

.translator-mini span {
    color: #78716c;
    font-size: 0.78rem;
    line-height: 1.35;
    margin-top: 0.25rem;
}

.payment-token {
    display: inline-flex;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    color: white;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    font-weight: 700;
    font-size: 0.88rem;
}

.faq-preview-bg {
    background:
        radial-gradient(circle at 12% 0%, rgba(153,27,27,0.06), transparent 28%),
        #fbfaf8;
}

.faq-preview-item {
    padding: 1.35rem 1.45rem;
    border-radius: 1.1rem;
    border: 1px solid #e9e2d8;
    background: white;
    box-shadow: 0 16px 38px -34px rgba(0,0,0,0.42);
}

.faq-preview-item h3 {
    font-weight: 800;
    color: #171717;
    margin-bottom: 0.4rem;
}

.faq-preview-item p {
    color: #57534e;
    line-height: 1.65;
}

.final-cta {
    background:
        radial-gradient(circle at 50% 0%, rgba(185,28,28,0.40), transparent 42%),
        linear-gradient(135deg, #0b0b0b 0%, #2b0b0b 50%, #0b0b0b 100%);
}

@media (max-width: 1024px) {
    
.hero-local-note {
    margin-top: 1rem;
    max-width: 42rem;
    color: rgba(245, 245, 244, 0.86);
    font-size: 0.98rem;
    line-height: 1.7;
}

.hero-photo-stack {
        min-height: 520px;
    }
    .hero-photo-main {
        inset: 0 0 4rem 0;
    }
}

@media (max-width: 640px) {
    
.hero-local-note {
    margin-top: 1rem;
    max-width: 42rem;
    color: rgba(245, 245, 244, 0.86);
    font-size: 0.98rem;
    line-height: 1.7;
}

.hero-photo-stack {
        min-height: 420px;
    }
    .hero-office-card {
        width: calc(100% - 1rem);
        left: 0.5rem;
        bottom: 0.5rem;
    }
    .hero-badge-card {
        top: 1rem;
        right: 1rem;
    }
    .team-home-photo {
        height: 420px !important;
    }
}

@media (max-width: 768px) { .hero-layers { background-position: 58% center; } .hero-office-card { width: min(22rem, 92%); } .hero-local-note { font-size: 0.92rem; } }


.area-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(245,245,244,0.96));
    border: 1px solid rgba(214,211,209,0.8);
    border-radius: 1.5rem;
    padding: 1.65rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.06);
}
.area-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111827;
    margin: 0.7rem 0 0.45rem;
}
.area-card p {
    color: #57534e;
    line-height: 1.65;
}
.area-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #991b1b;
    background: rgba(254, 226, 226, 0.72);
    border: 1px solid rgba(248, 113, 113, 0.22);
    padding: 0.42rem 0.72rem;
    border-radius: 9999px;
    font-weight: 700;
}



/* ------------------------------------------------------------------
   V5 premium motion layer: subtle, calm, legal-site appropriate
   ------------------------------------------------------------------ */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

.premium-hero { perspective: 1200px; }
.hero-layers {
    transform: translate3d(0, var(--hero-shift-y, 0px), 0) scale(var(--hero-scale, 1.045));
    transform-origin: center;
    background-position: calc(50% + var(--hero-shift-x, 0px)) calc(50% + var(--hero-shift-y-bg, 0px));
    transition: transform 120ms linear, background-position 120ms linear;
    will-change: transform, background-position;
}
.hero-photo-main,
.team-card-headshot,
.team-card-duo,
.mini-person,
.translator-mini,
.service-card,
.feature-practice-card,
.detail-card,
.office-card,
.office-rich-card,
.area-card,
.timeline-card,
.faq-item,
.matter-panel,
.language-card,
.payment-card,
.hero-office-card,
.hero-badge-card {
    will-change: transform, box-shadow;
}

.motion-ready {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 420ms cubic-bezier(.16,1,.3,1),
                box-shadow 420ms cubic-bezier(.16,1,.3,1),
                border-color 420ms cubic-bezier(.16,1,.3,1),
                background 420ms cubic-bezier(.16,1,.3,1);
    overflow: hidden;
}
.motion-ready::before {
    content: '';
    position: absolute;
    inset: -1px;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(185, 28, 28, 0.14), transparent 45%);
    transition: opacity 360ms ease;
    z-index: 0;
}
.motion-ready > * { position: relative; z-index: 1; }
.motion-ready:hover::before { opacity: 1; }
.motion-ready:hover {
    border-color: rgba(185, 28, 28, 0.32) !important;
    box-shadow: 0 28px 70px -42px rgba(18, 18, 18, 0.62), 0 0 0 1px rgba(185, 28, 28, 0.04);
}
.motion-ready:hover .icon-wrap,
.motion-ready:hover svg {
    transform: translate3d(2px, -2px, 0);
}
.icon-wrap, .motion-ready svg { transition: transform 360ms cubic-bezier(.16,1,.3,1); }

.motion-photo {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}
.motion-photo img,
.team-card-headshot,
.team-card-duo img,
.mini-person img,
.translator-mini img {
    transition: transform 780ms cubic-bezier(.16,1,.3,1), filter 780ms cubic-bezier(.16,1,.3,1);
    will-change: transform, filter;
}
.motion-photo:hover img,
.team-card:hover .team-card-headshot,
.team-card:hover .team-card-duo img,
.mini-person:hover img,
.translator-mini:hover img {
    transform: scale(1.045);
    filter: saturate(1.06) contrast(1.04);
}
.motion-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.12) 38%, transparent 62%);
    transform: translateX(-120%);
    transition: transform 900ms cubic-bezier(.16,1,.3,1);
}
.motion-photo:hover::after { transform: translateX(120%); }

.float-card { animation: gentleFloat 7s ease-in-out infinite; }
.float-card-delayed { animation-delay: -2.8s; }
@keyframes gentleFloat {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -8px, 0); }
}

.btn-primary, .btn-secondary {
    position: relative;
    overflow: hidden;
}
.btn-primary::after, .btn-secondary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.22) 45%, transparent 70%);
    transform: translateX(-130%);
    transition: transform 700ms cubic-bezier(.16,1,.3,1);
}
.btn-primary:hover::after, .btn-secondary:hover::after { transform: translateX(130%); }
.btn-primary > *, .btn-secondary > * { position: relative; z-index: 1; }

.faq-item:hover .faq-trigger span,
.nav-link:hover {
    letter-spacing: 0.005em;
}
.faq-item:hover { transform: translateY(-2px); }

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
    .motion-ready,
    .motion-ready:hover,
    .hero-layers,
    .float-card,
    .float-card-delayed {
        transform: none !important;
        animation: none !important;
    }
    .motion-ready::before,
    .btn-primary::after,
    .btn-secondary::after,
    .motion-photo::after { display: none !important; }
}


/* ------------------------------------------------------------------
   V6 polish: less template, stronger legal feel, clearer contrast
   ------------------------------------------------------------------ */
:root {
    --ink: #15110f;
    --paper: #fbf8f2;
    --paper-2: #f2eadf;
    --deep-red: #7a1515;
    --red: #991b1b;
    --charcoal: #171717;
}

body {
    font-family: 'Source Sans 3', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #fbf8f2;
}

h1, h2, h3, .heading-serif, .hero-title-v6 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    letter-spacing: -0.035em;
}

nav {
    box-shadow: 0 1px 0 rgba(23, 23, 23, 0.04);
}

.btn-primary, .btn-secondary {
    border-radius: 0.72rem;
    min-height: 3.05rem;
}

.bg-white .btn-secondary,
.bg-stone-50 .btn-secondary,
.bg-neutral-50 .btn-secondary,
.practice-rich-bg .btn-secondary,
.faq-preview-bg .btn-secondary {
    color: var(--deep-red);
    border-color: rgba(127, 29, 29, 0.38);
    background: rgba(255,255,255,0.86);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.45);
}
.bg-white .btn-secondary:hover,
.bg-stone-50 .btn-secondary:hover,
.bg-neutral-50 .btn-secondary:hover,
.practice-rich-bg .btn-secondary:hover,
.faq-preview-bg .btn-secondary:hover {
    background: #fff;
    color: #450a0a;
    border-color: rgba(127, 29, 29, 0.66);
}

/* Compact first screen: CTAs visible on arrival */
.v6-hero.premium-hero {
    min-height: calc(100svh - 80px) !important;
    padding-top: 5rem !important;
}
.v6-hero .hero-inner {
    padding-top: clamp(2.1rem, 4vh, 4rem);
    padding-bottom: clamp(2rem, 4vh, 3.4rem);
}
.hero-title-v6 {
    font-size: clamp(2.85rem, 5.2vw, 5.45rem);
    line-height: 0.98;
    font-weight: 700;
    max-width: 11ch;
    margin: 1.1rem 0 1.3rem;
    text-wrap: balance;
}
.hero-subtitle-v6 {
    font-size: clamp(1.05rem, 1.55vw, 1.25rem);
    line-height: 1.58;
    color: rgba(245,245,244,0.86);
    max-width: 39rem;
}
.hero-cta-row { margin-top: 1.6rem; }
.hero-proof-row { margin-top: 1.45rem; max-width: 43rem; }

.hero-layers::before {
    background:
        linear-gradient(90deg, rgba(6, 5, 5, 0.88) 0%, rgba(10,10,10,0.55) 36%, rgba(10,10,10,0.30) 72%, rgba(0,0,0,0.60) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.42) 100%);
}

.v6-hero-visual {
    position: relative;
    min-height: min(520px, 58vh);
}
.v6-county-card {
    position: absolute;
    inset: 3% 2% 5% 8%;
    border-radius: 2rem;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 40px 90px -48px rgba(0,0,0,0.85);
    transform: translate3d(0, var(--parallax-y, 0px), 0);
    transition: transform 420ms cubic-bezier(.16,1,.3,1), box-shadow 420ms cubic-bezier(.16,1,.3,1);
}
.v6-county-card:hover { transform: translate3d(0, calc(var(--parallax-y, 0px) - 8px), 0); }
.county-image {
    position: absolute;
    inset: 0;
    background: url('assets/hero/albertville-guntersville-hero.jpg') center/cover no-repeat;
    filter: saturate(0.88) contrast(1.04) brightness(0.72);
    transform: scale(1.055);
    transition: transform 1100ms cubic-bezier(.16,1,.3,1), filter 800ms ease;
}
.v6-county-card:hover .county-image { transform: scale(1.095); filter: saturate(1.03) contrast(1.07) brightness(0.78); }
.county-card-content {
    position: absolute;
    left: 1.35rem;
    right: 1.35rem;
    bottom: 1.35rem;
    padding: 1.25rem;
    border-radius: 1.25rem;
    background: rgba(18, 16, 15, 0.82);
    color: white;
    border: 1px solid rgba(255,255,255,0.14);
    backdrop-filter: blur(14px);
}
.county-card-content span {
    display: block;
    color: #fecaca;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}
.county-card-content strong {
    display: block;
    color: white;
    font-size: 1.35rem;
    line-height: 1.1;
    margin-bottom: 0.55rem;
}
.county-card-content p {
    color: rgba(245,245,244,0.76);
    line-height: 1.55;
    font-size: 0.96rem;
}
.v6-floating-card {
    position: absolute;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    width: min(25rem, 82%);
    padding: 1rem 1.1rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 26px 70px -40px rgba(0,0,0,0.85);
    backdrop-filter: blur(16px);
    transform: translate3d(0, var(--parallax-y, 0px), 0);
    transition: transform 420ms cubic-bezier(.16,1,.3,1), box-shadow 420ms cubic-bezier(.16,1,.3,1), border-color 420ms ease;
    overflow: hidden;
}
.v6-floating-card::after, .v6-county-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.15) 45%, transparent 64%);
    transform: translateX(-120%);
    transition: transform 900ms cubic-bezier(.16,1,.3,1);
}
.v6-floating-card:hover::after, .v6-county-card:hover::after { transform: translateX(120%); }
.v6-floating-card:hover { transform: translate3d(0, calc(var(--parallax-y, 0px) - 7px), 0); border-color: rgba(254,202,202,0.36); }
.v6-floating-card strong, .v6-floating-card span { display: block; }
.v6-floating-card strong { line-height: 1.18; font-size: 1.02rem; }
.v6-floating-card span { margin-top: 0.25rem; font-size: 0.86rem; line-height: 1.35; }
.v6-card-red { top: 0; right: 0; background: rgba(89, 12, 12, 0.88); color: white; }
.v6-card-red span { color: rgba(255,255,255,0.75); }
.v6-card-light { left: 0; bottom: 0.7rem; background: rgba(255,255,255,0.92); color: #1c1917; border-color: rgba(120,113,108,0.22); }
.v6-card-light svg { color: var(--deep-red); }
.v6-card-light span { color: #57534e; }

/* Stronger, Galan-inspired but still sober interactions */
.v6-depth, .strip-item, .feature-practice-card, .office-rich-card, .area-card, .timeline-card, .faq-preview-item, .language-card, .payment-card, .team-card, .mini-person, .translator-mini, .detail-card, .office-card, .service-card {
    backface-visibility: hidden;
}
.strip-item:hover, .feature-practice-card:hover, .office-rich-card:hover, .area-card:hover, .timeline-card:hover, .faq-preview-item:hover, .language-card:hover, .payment-card:hover, .detail-card:hover, .office-card:hover, .service-card:hover {
    transform: translateY(-7px) scale(1.01);
    box-shadow: 0 34px 86px -52px rgba(18, 18, 18, 0.70);
}
.feature-practice-card, .office-rich-card, .area-card, .timeline-card, .faq-preview-item, .language-card, .payment-card, .detail-card, .office-card, .service-card, .strip-item {
    transition: transform 520ms cubic-bezier(.16,1,.3,1), box-shadow 520ms cubic-bezier(.16,1,.3,1), border-color 520ms cubic-bezier(.16,1,.3,1), background 520ms ease;
}
.feature-practice-card::after, .office-rich-card::after, .area-card::after, .timeline-card::after, .faq-preview-item::after, .language-card::after, .payment-card::after, .detail-card::after, .office-card::after, .service-card::after, .strip-item::after {
    content:'';
    position:absolute;
    inset:0;
    pointer-events:none;
    opacity:0;
    background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(185,28,28,0.16), transparent 55%);
    transition: opacity 420ms ease;
}
.feature-practice-card:hover::after, .office-rich-card:hover::after, .area-card:hover::after, .timeline-card:hover::after, .faq-preview-item:hover::after, .language-card:hover::after, .payment-card:hover::after, .detail-card:hover::after, .office-card:hover::after, .service-card:hover::after, .strip-item:hover::after { opacity: 1; }

.reveal, [data-animate] {
    transform: translateY(22px);
    filter: blur(5px);
    transition-duration: 900ms;
}
[data-animate="fade-up"].in-view { transform: translateY(0); }

.parallax-media {
    transform: translate3d(0, var(--page-hero-y, 0px), 0) scale(1.08);
    transition: transform 80ms linear;
}
.hero-overlay { isolation: isolate; }
.hero-overlay > .relative, .hero-overlay > div:not(:first-child) { position: relative; z-index: 1; }
.hero-overlay::after { z-index: 0; }

/* Button magnet polish */
.magnetic-btn { will-change: transform; }
.btn-primary:hover, .btn-secondary:hover { box-shadow: 0 18px 40px -28px rgba(0,0,0,0.65); }

@media (max-width: 1024px) {
    .v6-hero.premium-hero { min-height: auto !important; }
    .v6-hero-visual { min-height: 430px; margin-top: 0.5rem; }
    .hero-title-v6 { max-width: 13ch; }
}
@media (max-width: 768px) {
    .hero-title-v6 { font-size: clamp(2.45rem, 12vw, 4rem); max-width: 12ch; }
    .hero-subtitle-v6 { font-size: 1.04rem; }
    .v6-hero-visual { min-height: 360px; }
    .v6-county-card { inset: 4% 0 8% 0; }
    .v6-floating-card { width: 88%; }
    .v6-card-red { top: 0.2rem; right: 0.4rem; }
    .v6-card-light { left: 0.4rem; bottom: 0; }
    .hero-proof-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-height: 820px) and (min-width: 1024px) {
    .hero-title-v6 { font-size: clamp(2.8rem, 4.7vw, 4.75rem); margin-bottom: 1rem; }
    .hero-subtitle-v6 { font-size: 1.05rem; max-width: 36rem; }
    .hero-proof-row { margin-top: 1rem; }
    .v6-hero-visual { min-height: 465px; }
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
    .v6-depth, .v6-depth:hover, .parallax-media { transform: none !important; }
    .v6-floating-card::after, .v6-county-card::after { display: none !important; }
}


/* =========================
   V7 Premium Legal Redesign
   ========================= */
:root {
    --charcoal: #151312;
    --charcoal-2: #211d1b;
    --oxblood: #6f1414;
    --red-deep: #7f1d1d;
    --red-ink: #991b1b;
    --ivory: #f7f2ea;
    --warm-stone: #e7ded2;
    --ink: #171312;
}
body { background: var(--ivory); color: var(--ink); }
nav { box-shadow: 0 12px 34px rgba(23,19,18,0.05); }
.nav-link { letter-spacing: .02em; }
.btn-primary, .btn-secondary { border-radius: 999px; font-weight: 700; letter-spacing: .01em; }
.btn-primary { background: linear-gradient(135deg, #7f1d1d, #541010); box-shadow: 0 16px 34px rgba(69,10,10,.20); }
.btn-primary:hover { background: linear-gradient(135deg, #991b1b, #450a0a); box-shadow: 0 22px 44px rgba(69,10,10,.26); }
.btn-secondary { color: #fff; border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.06); }
.bg-white .btn-secondary, .bg-stone-50 .btn-secondary, .bg-neutral-50 .btn-secondary, .practice-rich-bg .btn-secondary, .faq-preview-bg .btn-secondary {
    color: var(--red-deep); border-color: rgba(127,29,29,.28); background: rgba(255,255,255,.70);
}
.bg-white .btn-secondary:hover, .bg-stone-50 .btn-secondary:hover, .bg-neutral-50 .btn-secondary:hover, .practice-rich-bg .btn-secondary:hover, .faq-preview-bg .btn-secondary:hover {
    color: #fff; background: var(--red-deep); border-color: var(--red-deep);
}

.v7-hero.premium-hero {
    min-height: min(840px, calc(100vh - 0px));
    padding-top: 7.2rem;
    padding-bottom: 4.3rem;
    background: var(--charcoal);
    isolation: isolate;
}
.v7-hero .hero-inner { transform: translateZ(0); }
.v7-hero-bg {
    background:
        radial-gradient(circle at 12% 22%, rgba(127,29,29,.35), transparent 35%),
        linear-gradient(90deg, rgba(18,15,14,.98) 0%, rgba(18,15,14,.86) 34%, rgba(18,15,14,.58) 62%, rgba(18,15,14,.86) 100%),
        url('assets/hero/albertville-guntersville-hero.jpg') center/cover no-repeat;
    transform: translate3d(var(--hero-shift-x,0), calc(var(--hero-shift-y,0px) + var(--hero-shift-y-bg,0px)), 0) scale(var(--hero-scale,1.055));
    filter: saturate(.92) contrast(1.08) brightness(.72);
    will-change: transform;
}
.v7-hero::after {
    content:'';
    position:absolute; inset:auto 0 0 0; height:32%;
    background: linear-gradient(0deg, rgba(21,19,18,.95), transparent);
    z-index:1; pointer-events:none;
}
.v7-hero-grain {
    position:absolute; inset:0; z-index:1; pointer-events:none;
    background-image: radial-gradient(rgba(255,255,255,.16) .45px, transparent .45px);
    background-size: 4px 4px; opacity:.10; mix-blend-mode: overlay;
}
.v7-eyebrow {
    border-color: rgba(231,222,210,.28);
    background: rgba(255,255,255,.06);
    color: #f8eee8;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.v7-hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(4.3rem, 7.2vw, 7.6rem);
    line-height: .86;
    letter-spacing: -.055em;
    font-weight: 700;
    max-width: 820px;
    margin: 1.25rem 0 1.35rem;
    text-wrap: balance;
}
.v7-hero-subtitle {
    max-width: 740px;
    color: rgba(255,255,255,.82);
    font-size: clamp(1.05rem, 1.45vw, 1.24rem);
    line-height: 1.72;
}
.v7-cta-row { margin-top: 1.75rem; }
.v7-primary-cta, .v7-secondary-cta { min-width: 215px; }
.v7-trust-bar {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    max-width: 830px;
}
.v7-trust-bar span {
    display: inline-flex; align-items:center;
    padding: .58rem .82rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(255,255,255,.055);
    color: rgba(255,255,255,.78);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .02em;
    backdrop-filter: blur(10px);
}
.v7-legal-panel {
    position: relative;
    border-radius: 2rem;
    padding: clamp(1.5rem, 3vw, 2.2rem);
    background:
      linear-gradient(140deg, rgba(247,242,234,.96), rgba(231,222,210,.86)),
      radial-gradient(circle at 85% 0%, rgba(127,29,29,.22), transparent 40%);
    border: 1px solid rgba(255,255,255,.48);
    box-shadow: 0 40px 90px rgba(0,0,0,.35);
    color: var(--ink);
    overflow:hidden;
    transform-style: preserve-3d;
}
.v7-legal-panel::before {
    content:''; position:absolute; inset:0; pointer-events:none;
    background:
      linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent),
      repeating-linear-gradient(90deg, rgba(127,29,29,.055) 0 1px, transparent 1px 78px);
    transform: translateX(-130%);
    opacity:.4;
    transition: transform .9s cubic-bezier(.19,1,.22,1);
}
.v7-legal-panel:hover::before { transform: translateX(130%); }
.v7-panel-mark {
    width: 54px; height:54px; display:grid; place-items:center; border-radius:999px;
    background: var(--charcoal); color:#fff; margin-bottom: 1.4rem;
    box-shadow: 0 18px 38px rgba(21,19,18,.24);
}
.v7-panel-kicker { font-size:.73rem; letter-spacing:.26em; text-transform:uppercase; font-weight:800; color:var(--red-deep); margin-bottom:.75rem; }
.v7-legal-panel h2 { font-size: clamp(2.15rem, 3.2vw, 3.4rem); line-height:.92; color: var(--ink); margin-bottom: 1.35rem; }
.v7-priority-list { display:grid; gap:.8rem; }
.v7-priority-item {
    position:relative; display:grid; grid-template-columns:auto 1fr; gap:.7rem 1rem; align-items:start;
    padding: 1rem 1.05rem; border-radius:1.15rem; text-decoration:none;
    background: rgba(255,255,255,.60); border:1px solid rgba(127,29,29,.12);
    color: var(--ink); box-shadow: 0 12px 34px rgba(21,19,18,.06);
    transition: transform .34s ease, border-color .34s ease, box-shadow .34s ease, background .34s ease;
}
.v7-priority-item span { font-size:.75rem; letter-spacing:.18em; color: var(--red-deep); font-weight:800; padding-top:.2rem; }
.v7-priority-item strong { display:block; font-size:1.02rem; color: var(--ink); }
.v7-priority-item small { grid-column:2; color:#6b625c; line-height:1.45; }
.v7-priority-item:hover { transform: translate3d(0, calc(var(--parallax-y,0px) - 6px), 0); border-color: rgba(127,29,29,.35); background: rgba(255,255,255,.88); box-shadow: 0 20px 48px rgba(21,19,18,.13); }
.v7-panel-footer { margin-top:1.15rem; padding-top:1.05rem; border-top:1px solid rgba(127,29,29,.14); display:flex; gap:.55rem; align-items:center; color:#5b504a; font-size:.9rem; font-weight:700; }

.rich-strip { background: #181514; border-top:1px solid rgba(255,255,255,.08); border-bottom:1px solid rgba(255,255,255,.08); }
.strip-item { background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09); color: rgba(255,255,255,.78); overflow:hidden; }
.strip-item strong { color:#fff; }
.strip-item span { color:#d4b2a7; }
.strip-item::before, .feature-practice-card::before, .service-card::before, .office-rich-card::before, .area-card::before, .timeline-card::before, .detail-card::before, .team-grid-card::before, .office-card::before, .faq-item::before, .matter-panel::before, .language-card::before, .payment-card::before, .mini-person::before, .translator-mini::before {
    content:''; position:absolute; inset:0; pointer-events:none;
    background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(127,29,29,.14), transparent 42%);
    opacity:0; transition: opacity .28s ease;
}
.strip-item:hover::before, .feature-practice-card:hover::before, .service-card:hover::before, .office-rich-card:hover::before, .area-card:hover::before, .timeline-card:hover::before, .detail-card:hover::before, .team-grid-card:hover::before, .office-card:hover::before, .faq-item:hover::before, .matter-panel:hover::before, .language-card:hover::before, .payment-card:hover::before, .mini-person:hover::before, .translator-mini:hover::before { opacity:1; }
.strip-item, .feature-practice-card, .service-card, .office-rich-card, .area-card, .timeline-card, .detail-card, .team-grid-card, .office-card, .faq-item, .matter-panel, .language-card, .payment-card, .mini-person, .translator-mini { position:relative; overflow:hidden; }
.feature-practice-card, .service-card, .area-card, .timeline-card, .detail-card, .office-card { border-radius: 1.35rem; }
.service-card:hover, .detail-card:hover, .area-card:hover, .timeline-card:hover, .office-card:hover { transform: translateY(-7px); }
.practice-rich-bg, .faq-preview-bg { background: linear-gradient(180deg, var(--ivory), #fffaf3); }
.matter-panel { background: linear-gradient(145deg, #211d1b, #111); border-radius: 1.65rem; }
.matter-panel-top p:first-child { color:#e2b9b0 !important; }
.matter-pill { border-radius: 1rem; }
.team-home-photo { filter: contrast(1.03) saturate(.93); transform-origin:center; transition: transform .75s cubic-bezier(.19,1,.22,1), filter .4s ease; }
.relative:hover .team-home-photo { transform: scale(1.025); filter: contrast(1.05) saturate(.98); }
.team-photo-caption { backdrop-filter: blur(16px); }
.office-section { background: radial-gradient(circle at 80% 8%, rgba(127,29,29,.28), transparent 34%), linear-gradient(135deg, #171312, #0e0d0d 72%); }
.office-rich-card, .payment-card { background: rgba(255,255,255,.065); border:1px solid rgba(255,255,255,.12); backdrop-filter: blur(12px); }
.office-rich-card:hover, .payment-card:hover { border-color: rgba(255,255,255,.24); transform: translateY(-6px); }

.hero-overlay { background: linear-gradient(135deg, #171312, #2a1715); }
.hero-overlay .parallax-media { opacity:.42 !important; filter:saturate(.7) contrast(1.1) brightness(.68); transform: translate3d(0, var(--page-hero-y,0px), 0) scale(1.08); }
.hero-overlay::after {
    content:''; position:absolute; inset:0; pointer-events:none;
    background: radial-gradient(circle at 18% 20%, rgba(127,29,29,.26), transparent 34%), linear-gradient(90deg, rgba(16,14,13,.88), rgba(16,14,13,.60));
}
.hero-overlay > div { position:relative; z-index:2; }

.team-grid-card, .team-card { border-radius: 1.4rem; transition: transform .34s ease, box-shadow .34s ease, border-color .34s ease; }
.team-grid-card:hover, .team-card:hover { transform: translateY(-7px); box-shadow: 0 26px 64px rgba(21,19,18,.12); }
.team-photo-img { transition: transform .75s cubic-bezier(.19,1,.22,1), filter .36s ease; filter: saturate(.92) contrast(1.02); }
.team-grid-card:hover .team-photo-img, .team-card:hover .team-photo-img { transform: scale(1.045); filter: saturate(1) contrast(1.04); }

.motion-ready { will-change: transform; transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease, background-color .32s ease; }
.reveal { transition-duration: .86s !important; }
[data-animate="fade-up"].is-visible { transform: translateY(0); opacity:1; }

@media (max-width: 1180px) {
    .v7-hero-title { font-size: clamp(3.6rem, 8vw, 6rem); }
    .v7-hero.premium-hero { min-height: auto; }
}
@media (max-width: 1023px) {
    .v7-hero.premium-hero { padding-top: 7rem; padding-bottom: 4rem; }
    .v7-legal-panel { margin-top: .6rem; }
}
@media (max-width: 640px) {
    .v7-hero-title { font-size: clamp(3.35rem, 17vw, 4.8rem); letter-spacing:-.045em; }
    .v7-hero-subtitle { font-size: 1rem; line-height:1.62; }
    .v7-trust-bar span { font-size:.72rem; padding:.5rem .68rem; }
    .v7-legal-panel { padding:1.25rem; border-radius:1.45rem; }
    .v7-priority-item { grid-template-columns:1fr; }
    .v7-priority-item small { grid-column:1; }
    .v7-cta-row .btn-primary, .v7-cta-row .btn-secondary { width:100%; }
}
@media (prefers-reduced-motion: reduce) {
    .v7-hero-bg, .v7-priority-item, .motion-ready, .team-photo-img, .team-home-photo { transform:none !important; transition:none !important; }
}


/* =========================
   V8: local-photo hero + contrast corrections
   ========================= */
.v8-hero.premium-hero {
    min-height: min(860px, 100vh);
    padding-top: 8.2rem;
    padding-bottom: 4.8rem;
    background: #151312;
    isolation: isolate;
}
.v8-hero-bg {
    background:
        radial-gradient(circle at 16% 24%, rgba(127,29,29,.38), transparent 32%),
        linear-gradient(90deg, rgba(10,9,8,.96) 0%, rgba(16,13,12,.86) 34%, rgba(16,13,12,.48) 64%, rgba(16,13,12,.64) 100%),
        url('assets/hero/albertville-guntersville-hero.jpg') center center/cover no-repeat;
    transform: translate3d(var(--hero-shift-x,0), calc(var(--hero-shift-y,0px) + var(--hero-shift-y-bg,0px)), 0) scale(var(--hero-scale,1.065));
    filter: saturate(.98) contrast(1.12) brightness(.82);
    will-change: transform;
}
.v8-hero::after {
    content:'';
    position:absolute;
    inset:auto 0 0 0;
    height:38%;
    background: linear-gradient(0deg, rgba(21,19,18,.96), rgba(21,19,18,.18), transparent);
    z-index:1;
    pointer-events:none;
}
.v8-hero-grain {
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
    background-image: radial-gradient(rgba(255,255,255,.14) .45px, transparent .45px);
    background-size: 4px 4px;
    opacity:.11;
    mix-blend-mode: overlay;
}
.v8-hero-content {
    max-width: 950px;
    padding-top: 1rem;
}
.v8-eyebrow {
    border-color: rgba(231,222,210,.30);
    background: rgba(255,255,255,.07);
    color: #f8eee8;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.13);
}
.v8-hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(4.1rem, 7.4vw, 7.8rem);
    line-height: .88;
    letter-spacing: -.055em;
    font-weight: 700;
    max-width: 920px;
    margin: 1.15rem 0 1.35rem;
    text-wrap: balance;
    text-shadow: 0 24px 55px rgba(0,0,0,.38);
}
.v8-hero-subtitle {
    max-width: 760px;
    color: rgba(255,255,255,.86);
    font-size: clamp(1.08rem, 1.45vw, 1.26rem);
    line-height: 1.74;
    text-shadow: 0 10px 34px rgba(0,0,0,.32);
}
.v8-cta-row { margin-top: 1.8rem; }
.v8-primary-cta, .v8-secondary-cta { min-width: 215px; }
.v8-secondary-cta {
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.44);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.v8-secondary-cta:hover {
    background: rgba(255,255,255,.94);
    color: #171312;
    border-color: rgba(255,255,255,.94);
}
.v8-proof-row {
    margin-top: 1.35rem;
    max-width: 780px;
}
.v8-proof-row .hero-proof {
    background: rgba(255,255,255,.075);
    border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(12px);
    border-radius: 1rem;
    padding: 1rem 1.05rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.v8-proof-row .hero-proof strong { color: #fff; }
.v8-proof-row .hero-proof span { color: rgba(255,255,255,.72); }

/* Inner-page photo headers: use real imagery instead of the abstract red SVG pattern. */
.hero-overlay .parallax-media {
    opacity:.58 !important;
    filter:saturate(.86) contrast(1.12) brightness(.58) !important;
    transform: translate3d(0, var(--page-hero-y,0px), 0) scale(1.08);
}
.hero-overlay::after {
    background:
        radial-gradient(circle at 18% 20%, rgba(127,29,29,.28), transparent 34%),
        linear-gradient(90deg, rgba(10,9,8,.92), rgba(16,14,13,.66) 52%, rgba(16,14,13,.42));
}

/* Payment block hard contrast fix: prevents white text on white/glass background. */
.payment-card.payment-panel-dark,
.bg-white .payment-card.payment-panel-dark,
.bg-stone-50 .payment-card.payment-panel-dark,
.bg-neutral-50 .payment-card.payment-panel-dark {
    background:
        radial-gradient(circle at 88% 12%, rgba(248,113,113,.24), transparent 34%),
        linear-gradient(135deg, #171312 0%, #270f0d 54%, #4b1010 100%) !important;
    color:#fff !important;
    border-color: rgba(127,29,29,.38) !important;
    box-shadow: 0 26px 70px rgba(21,19,18,.18);
}
.payment-card.payment-panel-dark span,
.payment-card.payment-panel-dark h2,
.payment-card.payment-panel-dark p,
.payment-card.payment-panel-dark .payment-token {
    color:#fff !important;
}
.payment-card.payment-panel-dark p { color: rgba(255,255,255,.76) !important; }
.payment-card.payment-panel-dark .payment-token {
    background: rgba(255,255,255,.10) !important;
    border: 1px solid rgba(255,255,255,.18) !important;
}
.payment-card.payment-panel-dark .text-red-200 { color: #fecaca !important; }

@media (max-width: 1023px) {
    .v8-hero.premium-hero { min-height:auto; padding-top: 7.2rem; padding-bottom: 4.4rem; }
    .v8-hero-content { max-width: 100%; }
}
@media (max-width: 640px) {
    .v8-hero-title { font-size: clamp(3.35rem, 17vw, 4.85rem); letter-spacing:-.048em; }
    .v8-hero-subtitle { font-size: 1rem; line-height:1.62; }
    .v8-cta-row .btn-primary, .v8-cta-row .btn-secondary { width:100%; }
    .v8-proof-row .hero-proof { padding:.86rem .9rem; }
}
@media (prefers-reduced-motion: reduce) {
    .v8-hero-bg { transform:none !important; transition:none !important; }
}


/* =========================
   V9: hero visibility + lawyer-first polish
   ========================= */
body, p, li, a, button, input, textarea, select { letter-spacing: normal; }
.eyebrow-pill, nav span, .nav-link, [class*="tracking-"] { letter-spacing: inherit; }

.v8-hero.premium-hero {
    min-height: calc(100svh - 80px);
    padding-top: clamp(5.9rem, 9vh, 7.2rem);
    padding-bottom: clamp(2.7rem, 5vh, 3.6rem);
}
.v8-hero-bg {
    background:
        linear-gradient(90deg, rgba(9,8,7,.86) 0%, rgba(12,10,9,.64) 35%, rgba(12,10,9,.28) 66%, rgba(12,10,9,.46) 100%),
        linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.30) 100%),
        url('assets/hero/albertville-guntersville-hero.jpg') center center/cover no-repeat;
    filter: saturate(1.02) contrast(1.08) brightness(.92);
    transform: translate3d(var(--hero-shift-x,0), calc(var(--hero-shift-y,0px) + var(--hero-shift-y-bg,0px)), 0) scale(var(--hero-scale,1.045));
}
.v8-hero::after { height: 22%; background: linear-gradient(0deg, rgba(21,19,18,.72), transparent); }
.v8-hero-content { max-width: 840px; padding-top: 0; }
.v8-hero-title {
    font-size: clamp(3.35rem, 6.4vw, 6.45rem);
    line-height: .94;
    max-width: 830px;
    margin: .95rem 0 1.05rem;
}
.v8-hero-subtitle {
    max-width: 700px;
    font-size: clamp(1rem, 1.22vw, 1.14rem);
    line-height: 1.62;
}
.v8-cta-row { margin-top: 1.35rem; }
.v8-proof-row { margin-top: 1.05rem; }
.v8-proof-row .hero-proof { padding: .82rem .92rem; }
.v8-primary-cta, .v8-secondary-cta { min-width: 205px; }

.practice-rich-bg .service-card {
    min-height: 232px;
    padding: 1.55rem 1.55rem 1.35rem;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    background: rgba(255,255,255,.94);
    border-color: #e8dfd2;
}
.practice-rich-bg .service-card h3 {
    font-family: 'Source Sans 3', Inter, system-ui, sans-serif;
    font-size: 1.08rem;
    letter-spacing: normal;
    margin-bottom: .5rem;
}
.practice-rich-bg .service-card p {
    font-size: .98rem;
    line-height: 1.58;
}
.practice-rich-bg .icon-wrap {
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1.1rem !important;
}
.card-link {
    display: inline-flex;
    margin-top: auto;
    padding-top: 1rem;
    color: #7f1d1d;
    font-weight: 800;
    font-size: .86rem;
}
.practice-rich-bg .service-card:hover .card-link { color: #450a0a; }
.feature-practice-card.priority {
    background: rgba(255,255,255,.94) !important;
    color: #171717 !important;
    border-color: #e8dfd2 !important;
}
.feature-practice-card.priority h3,
.feature-practice-card.priority p { color: inherit !important; }

.payment-card.payment-panel-dark h2 { color: #fff !important; }
.payment-card.payment-panel-dark p { color: rgba(255,255,255,.80) !important; }

@media (max-height: 820px) and (min-width:1024px) {
    .v8-hero.premium-hero { padding-top: 5.4rem; padding-bottom: 2.5rem; }
    .v8-hero-title { font-size: clamp(3.05rem, 5.6vw, 5.55rem); margin-bottom: .9rem; }
    .v8-hero-subtitle { font-size: 1rem; line-height:1.55; max-width: 650px; }
    .v8-cta-row { margin-top: 1.1rem; }
    .v8-proof-row { margin-top: .85rem; }
}
@media (max-width: 640px) {
    .v8-hero.premium-hero { padding-top: 6.3rem; padding-bottom: 3.2rem; }
    .v8-hero-title { font-size: clamp(2.9rem, 14vw, 4.1rem); line-height: .98; }
    .v8-hero-subtitle { font-size: .98rem; }
}


/* =========================
   V10: hero spacing + full-photo cleanup
   ========================= */
.v8-hero.premium-hero.hero-static {
    min-height: calc(100svh - 80px);
    padding-top: clamp(8.7rem, 14vh, 10.4rem);
    padding-bottom: clamp(4.4rem, 8vh, 6.2rem);
    align-items: center;
}
.v8-hero.hero-static .hero-inner {
    display: flex;
    align-items: center;
    min-height: inherit;
}
.v8-hero.hero-static .v8-hero-bg {
    background:
        linear-gradient(rgba(12,10,9,.54), rgba(12,10,9,.54)),
        url('assets/hero/albertville-guntersville-hero.jpg') center center / cover no-repeat !important;
    filter: saturate(1.01) contrast(1.03) brightness(.98) !important;
    transform: none !important;
    background-position: center center !important;
    will-change: auto;
}
.v8-hero.hero-static::after { display: none !important; }
.v8-hero.hero-static .v8-hero-grain { opacity: .05; }
.v8-hero.hero-static .v8-hero-content {
    max-width: 820px;
    padding-top: 0;
    margin-top: 1.2rem;
}
.v8-hero.hero-static .v8-eyebrow { margin-bottom: .55rem; }
.v8-hero.hero-static .v8-hero-title {
    font-size: clamp(3.8rem, 6.6vw, 6.7rem);
    line-height: .92;
    margin: 1rem 0 1.2rem;
    max-width: 760px;
}
.v8-hero.hero-static .v8-hero-subtitle {
    max-width: 700px;
    font-size: clamp(1.02rem, 1.22vw, 1.15rem);
    line-height: 1.68;
}
.v8-hero.hero-static .v8-cta-row { margin-top: 1.55rem; }
.v8-hero.hero-static .v8-proof-row {
    margin-top: 1.2rem;
    max-width: 860px;
}
.v8-hero.hero-static .v8-proof-row .hero-proof {
    background: rgba(15, 12, 11, .52);
    border-color: rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
}
@media (max-width: 1023px) {
    .v8-hero.premium-hero.hero-static {
        padding-top: 8rem;
        padding-bottom: 4.2rem;
        min-height: auto;
    }
    .v8-hero.hero-static .v8-hero-content { margin-top: .3rem; }
}
@media (max-width: 640px) {
    .v8-hero.premium-hero.hero-static {
        padding-top: 7.55rem;
        padding-bottom: 3.5rem;
    }
    .v8-hero.hero-static .v8-hero-title {
        font-size: clamp(3.1rem, 15.5vw, 4.7rem);
        max-width: 10.5ch;
    }
    .v8-hero.hero-static .v8-hero-subtitle {
        font-size: .995rem;
        line-height: 1.6;
    }
    .v8-hero.hero-static .v8-proof-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* V11 final polish: longer proof labels and calmer home intake card. */
.v8-proof-row .hero-proof strong {
    font-size: clamp(1.1rem, 1.4vw, 1.35rem);
    line-height: 1.05;
}
.v8-proof-row .hero-proof span {
    font-size: .86rem;
    line-height: 1.25;
}
@media (min-width: 1024px) {
    .v8-proof-row {
        grid-template-columns: .7fr .8fr 1.05fr 1.25fr;
    }
}
@media (max-width: 640px) {
    .v8-proof-row .hero-proof strong { font-size: 1.02rem; }
    .v8-proof-row .hero-proof span { font-size: .78rem; }
}


/* Language toggle */
.language-toggle{display:inline-flex;align-items:center;gap:.35rem;border:1px solid rgba(127,29,29,.18);border-radius:999px;padding:.32rem .55rem;background:rgba(255,255,255,.78);box-shadow:0 10px 24px rgba(17,24,39,.05);font-size:.78rem;font-weight:800;letter-spacing:.08em;color:#7f1d1d;line-height:1;}
.language-toggle .lang-choice{color:#7f1d1d;text-decoration:none;opacity:.58;transition:opacity .18s ease,color .18s ease;}
.language-toggle .lang-choice:hover,.language-toggle .lang-choice.active{opacity:1;color:#991b1b;}
.language-toggle .lang-separator{opacity:.28;color:#7f1d1d;}
.mobile-language-row{display:flex;align-items:center;}
.mobile-language-row .language-toggle{width:max-content;}
@media (max-width: 767px){.language-toggle{font-size:.82rem;padding:.42rem .68rem;}}


/* V19: statewide hero copy fit + above-the-fold CTA correction */
@media (min-width: 1024px) {
    .v8-hero.premium-hero.hero-static {
        padding-top: clamp(6.4rem, 10vh, 8.1rem);
        padding-bottom: clamp(3.2rem, 5.5vh, 4.4rem);
    }
    .v8-hero.hero-static .v8-hero-content {
        max-width: 900px;
        margin-top: .45rem;
    }
    .v8-hero.hero-static .v8-hero-title {
        font-size: clamp(3.45rem, 5.35vw, 5.75rem);
        line-height: .93;
        margin: .75rem 0 .95rem;
        max-width: 900px;
    }
    .v8-hero.hero-static .v8-hero-subtitle {
        max-width: 720px;
        font-size: clamp(1rem, 1.12vw, 1.11rem);
        line-height: 1.58;
    }
    .v8-hero.hero-static .v8-cta-row { margin-top: 1.15rem; }
    .v8-hero.hero-static .v8-proof-row { margin-top: .9rem; }
}
@media (min-width: 1280px) {
    .v8-hero.hero-static .v8-hero-title { max-width: 960px; }
}
@media (max-width: 640px) {
    .v8-hero.hero-static .v8-hero-title {
        font-size: clamp(2.8rem, 13.2vw, 4.05rem);
        max-width: 11.5ch;
    }
}
