/* =========================================================
   CRAWFORD & PIERCE
   COMPLETE WEBSITE STYLES
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: #f5f3ee;
    color: #151515;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2.5px;
    white-space: nowrap;
}

.logo span {
    color: #a88b54;
    margin: 0 4px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.navigation {
    display: flex;
    align-items: center;
    gap: 35px;
}

.navigation a {
    font-size: 14px;
    position: relative;
    transition: opacity 0.3s ease;
}

.navigation a:hover {
    opacity: 0.55;
}

.navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: #a88b54;
    transition: width 0.3s ease;
}

.navigation a:hover::after {
    width: 100%;
}


/* =========================================================
   HEADER BUTTON
========================================================= */

.header-button {
    background: #151515;
    color: white;
    padding: 14px 22px;
    font-size: 13px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.header-button:hover {
    background: #a88b54;
    color: white;
}


/* =========================================================
   LANGUAGE SWITCHER
========================================================= */

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    margin-right: 25px;
    white-space: nowrap;
}

.language-switcher span {
    color: #999;
    font-size: 11px;
}

.language-btn {
    border: none;
    background: transparent;
    padding: 0;
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #777;
    cursor: pointer;
    transition: color 0.3s ease;
}

.language-btn:hover,
.language-btn.active {
    color: #a88b54;
}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-button {
    display: none;
    background: transparent;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #151515;
    padding: 5px;
    z-index: 1100;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(245, 243, 238, 0.98) 0%,
            rgba(245, 243, 238, 0.94) 40%,
            rgba(245, 243, 238, 0.68) 68%,
            rgba(245, 243, 238, 0.30) 100%
        );

    overflow: hidden;
}

.hero-container {
    padding-top: 100px;
    position: relative;
    z-index: 5;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 6;
}


/* =========================================================
   HERO IMAGE
========================================================= */

.hero-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 45%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(245, 243, 238, 0.30),
            rgba(0, 0, 0, 0.12)
        );
}


/* =========================================================
   EYEBROW
========================================================= */

.eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    margin-bottom: 30px;
}


/* =========================================================
   HERO TITLE
========================================================= */

.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(58px, 8vw, 120px);
    line-height: 0.9;
    font-weight: 400;
    letter-spacing: -5px;
}

.hero h1 span {
    color: #a88b54;
}


/* =========================================================
   HERO DESCRIPTION
========================================================= */

.hero-description {
    max-width: 570px;
    margin-top: 40px;
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}


/* =========================================================
   BUTTONS
========================================================= */

.hero-buttons {
    display: flex;
    gap: 18px;
    margin-top: 40px;
    align-items: center;
}

.button {
    display: inline-block;
    padding: 15px 24px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.button:hover {
    transform: translateY(-2px);
}

.button-dark {
    background: #151515;
    color: white;
}

.button-dark:hover {
    background: #a88b54;
}

.button-light {
    background: white;
    color: #151515;
}

.button-light:hover {
    background: #a88b54;
    color: white;
}

.button-outline {
    border: 1px solid #151515;
}

.button-outline:hover {
    background: #151515;
    color: white;
}


/* =========================================================
   INTRO
========================================================= */

.intro {
    background: white;
    padding: 130px 0;
}

.intro-container {
    display: grid;
    grid-template-columns: 25% 75%;
}

.intro-left {
    grid-column: 1 / -1;
}

.intro-left > p:not(.eyebrow) {
    max-width: 650px;
    margin-top: 35px;
    font-size: 16px;
    line-height: 1.9;
    color: #555;
}

.intro h2 {
    max-width: 900px;
    font-family: "Playfair Display", serif;
    font-size: clamp(48px, 6vw, 78px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -2px;
}

.intro h2 span {
    color: #a88b54;
}

.text-link {
    display: inline-block;
    margin-top: 30px;
    font-weight: 600;
    border-bottom: 1px solid #151515;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.text-link:hover {
    color: #a88b54;
    border-bottom-color: #a88b54;
}


/* =========================================================
   ABOUT
========================================================= */

.about {
    background: #171717;
    color: white;
    padding: 140px 0;
}

.about-content {
    max-width: 850px;
}

.about h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(50px, 7vw, 90px);
    font-weight: 400;
    line-height: 1;
}

.about h2 span {
    color: #a88b54;
}

.about-content > p:not(.eyebrow) {
    max-width: 650px;
    margin-top: 30px;
    color: #b9b9b9;
    font-size: 17px;
}

.about .button {
    margin-top: 35px;
}


/* =========================================================
   STATS
========================================================= */

.stats {
    background: #a88b54;
    padding: 70px 0;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat {
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.4);
}

.stat:last-child {
    border-right: none;
}

.stat h3 {
    font-family: "Playfair Display", serif;
    font-size: 48px;
    font-weight: 400;
    color: white;
}

.stat p {
    color: white;
    font-size: 12px;
    letter-spacing: 0.5px;
    margin-top: 8px;
}


/* =========================================================
   PRACTICE AREAS
========================================================= */

.practice {
    padding: 120px 0;
}

.practice-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 70px;
}

.practice h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(45px, 6vw, 78px);
    font-weight: 400;
    line-height: 0.95;
}

.practice h2 span {
    color: #a88b54;
}

.practice-intro {
    max-width: 350px;
    color: #666;
}


/* =========================================================
   PRACTICE CARDS
========================================================= */

.practice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: #d6d2c9;
}

.practice-card {
    background: #f5f3ee;
    min-height: 300px;
    padding: 45px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    cursor: pointer;
}

.practice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.card-number {
    font-size: 12px;
    color: #a88b54;
    margin-bottom: 55px;
}

.practice-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 23px;
    transition: color 0.3s ease;
}

.practice-card:hover h3 {
    color: #a88b54;
}

.practice-card p {
    max-width: 450px;
    color: #666;
    margin-top: 15px;
    font-size: 15px;
    line-height: 1.7;
}

.practice-card a {
    display: inline-block;
    margin-top: 25px;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.practice-card a:hover {
    color: #a88b54;
}


/* =========================================================
   PRACTICE DETAILS
========================================================= */

.practice-detail {
    background: #f5f3ee;
    padding: 110px 0;
    border-top: 1px solid #d6d2c9;
}

.practice-detail .container {
    max-width: 850px;
}

.practice-detail h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(40px, 5vw, 65px);
    font-weight: 400;
    line-height: 1.05;
    margin-top: 10px;
}

.practice-detail h2 span {
    color: #a88b54;
}

.practice-detail p:not(.eyebrow) {
    max-width: 650px;
    margin-top: 25px;
    color: #666;
    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   NEW LEGAL SERVICE SECTIONS
========================================================= */

.legal-services {
    background: white;
    padding: 120px 0;
}

.legal-services-heading {
    max-width: 850px;
    margin-bottom: 65px;
}

.legal-services-heading h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(45px, 6vw, 75px);
    font-weight: 400;
    line-height: 1;
}

.legal-services-heading h2 span {
    color: #a88b54;
}

.legal-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: #d6d2c9;
}

.legal-service-card {
    background: #f5f3ee;
    padding: 45px;
    min-height: 330px;
    transition: all 0.3s ease;
}

.legal-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.legal-service-card .card-number {
    margin-bottom: 40px;
}

.legal-service-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 28px;
    font-weight: 400;
}

.legal-service-card p {
    color: #666;
    margin-top: 18px;
    max-width: 500px;
    line-height: 1.8;
}

.legal-service-card a {
    display: inline-block;
    margin-top: 25px;
    font-size: 13px;
    font-weight: 600;
}


/* =========================================================
   ROMANCE SCAM SECTION
========================================================= */

.romance-scam {
    background: #171717;
    color: white;
    padding: 130px 0;
}

.romance-scam-container {
    max-width: 850px;
}

.romance-scam h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(45px, 6vw, 75px);
    font-weight: 400;
    line-height: 1.05;
}

.romance-scam h2 span {
    color: #a88b54;
}

.romance-scam p:not(.eyebrow) {
    max-width: 650px;
    color: #b9b9b9;
    margin-top: 30px;
    font-size: 17px;
    line-height: 1.8;
}

.romance-scam .button {
    margin-top: 35px;
}


/* =========================================================
   PROCESS
========================================================= */

.process {
    background: white;
    padding: 120px 0;
}

.process-heading {
    max-width: 800px;
}

.process h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(45px, 6vw, 78px);
    font-weight: 400;
    line-height: 1;
}

.process h2 span {
    color: #a88b54;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-top: 80px;
}

.process-item {
    border-top: 1px solid #bbb;
    padding-top: 25px;
}

.process-item span {
    color: #a88b54;
    font-size: 13px;
}

.process-item h3 {
    font-family: "Playfair Display", serif;
    font-size: 26px;
    font-weight: 400;
    margin-top: 35px;
}

.process-item p {
    color: #666;
    margin-top: 15px;
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   TESTIMONIAL
========================================================= */

.testimonial {
    background: #dedbd2;
    padding: 140px 0;
}

.testimonial-container {
    max-width: 1000px;
}

.testimonial blockquote {
    font-family: "Playfair Display", serif;
    font-size: clamp(35px, 5vw, 65px);
    line-height: 1.15;
    font-weight: 400;
}

.client-name {
    margin-top: 35px;
    font-size: 13px;
    font-weight: 600;
}


/* =========================================================
   REVIEWS
========================================================= */

.reviews {
    background: white;
    padding: 110px 0;
    text-align: center;
}

.reviews-container {
    max-width: 850px;
    margin: 0 auto;
}

.reviews h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(45px, 6vw, 70px);
    font-weight: 400;
}

.reviews h2 span {
    color: #a88b54;
}

.reviews p:not(.eyebrow) {
    color: #666;
    margin: 25px auto 35px;
    max-width: 650px;
}


/* =========================================================
   FREE ASSESSMENT
========================================================= */

.assessment {
    background: #a88b54;
    color: white;
    padding: 110px 0;
}

.assessment-container {
    max-width: 850px;
}

.assessment h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(45px, 6vw, 75px);
    font-weight: 400;
    line-height: 1;
}

.assessment h2 span {
    color: white;
}

.assessment p:not(.eyebrow) {
    max-width: 650px;
    margin-top: 25px;
    font-size: 17px;
    line-height: 1.8;
}

.assessment .button {
    margin-top: 35px;
    background: #151515;
    color: white;
}

.assessment .button:hover {
    background: white;
    color: #151515;
}


/* =========================================================
   FAQ
========================================================= */

.faq {
    background: #f5f3ee;
    padding: 120px 0;
}

.faq-container {
    max-width: 950px;
}

.faq h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(45px, 6vw, 75px);
    font-weight: 400;
    margin-bottom: 60px;
}

.faq h2 span {
    color: #a88b54;
}

.faq-item {
    border-top: 1px solid #c9c5bc;
}

.faq-item:last-child {
    border-bottom: 1px solid #c9c5bc;
}

.faq-question {
    width: 100%;
    padding: 25px 0;
    border: none;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.faq-question span:last-child {
    color: #a88b54;
    font-size: 20px;
}

.faq-answer {
    display: none;
    padding: 0 40px 25px 0;
    color: #666;
    max-width: 750px;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    display: block;
}


/* =========================================================
   CONTACT
========================================================= */

.contact {
    padding: 140px 0;
    background: #f5f3ee;
}

.contact-container {
    max-width: 900px;
}

.contact h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(45px, 6vw, 78px);
    font-weight: 400;
    line-height: 1;
}

.contact h2 span {
    color: #a88b54;
}

.contact-container > p:not(.eyebrow) {
    margin: 30px 0;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    max-width: 650px;
}

.contact-button {
    transition: all 0.3s ease;
}

.contact-button:hover {
    background: #a88b54;
    color: white;
    transform: translateY(-2px);
}


/* =========================================================
   CONTACT DETAILS
========================================================= */

.contact-details {
    display: flex;
    gap: 80px;
    margin-top: 70px;
    padding-top: 35px;
    border-top: 1px solid #d6d2c9;
}

.contact-detail {
    min-width: 250px;
}

.contact-detail .eyebrow {
    margin-bottom: 12px;
}

.contact-detail a {
    color: #151515;
    font-size: 15px;
    line-height: 1.7;
    transition: color 0.3s ease;
}

.contact-detail a:hover {
    color: #a88b54;
}

.map-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 12px !important;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.map-link:hover {
    color: #a88b54;
}

.contact-detail p:not(.eyebrow) {
    margin: 0;
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   LEGAL PAGES
========================================================= */

.legal-page {
    background: #f5f3ee;
    padding: 150px 0 110px;
}

.legal-page-container {
    max-width: 900px;
}

.legal-page h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 400;
    line-height: 1;
}

.legal-page h1 span {
    color: #a88b54;
}

.legal-page h2 {
    font-family: "Playfair Display", serif;
    font-size: 32px;
    font-weight: 400;
    margin-top: 50px;
}

.legal-page p {
    color: #555;
    font-size: 16px;
    line-height: 1.9;
    margin-top: 18px;
}

.legal-page ul {
    margin: 20px 0 0 25px;
    color: #555;
}

.legal-page li {
    margin-bottom: 10px;
}


/* =========================================================
   CHAT SYSTEM
========================================================= */

/*
   IMPORTANT:
   Only ONE .chat-button should exist in HTML.
   This CSS keeps it fixed above all page content.
*/

.chat-button {
    position: fixed !important;
    right: 25px;
    bottom: 25px;

    width: 62px;
    height: 62px;

    border-radius: 50%;
    border: none;

    background: #151515;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 25px;

    cursor: pointer;

    z-index: 99999 !important;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.20);

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.chat-button:hover {
    transform: translateY(-4px);
    background: #a88b54;
}


/* =========================================================
   CHAT WINDOW
========================================================= */

.chat-box {
    position: fixed !important;

    right: 25px;
    bottom: 100px;

    width: 350px;
    max-width: calc(100vw - 30px);

    background: white;

    border: 1px solid #ddd;

    box-shadow:
        0 20px 60px rgba(0,0,0,0.18);

    z-index: 99998 !important;

    display: none;

    overflow: hidden;
}

.chat-box.open {
    display: block;
}


/* =========================================================
   CHAT HEADER
========================================================= */

.chat-header {
    background: #151515;
    color: white;

    padding: 18px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header h3 {
    font-size: 15px;
    font-weight: 600;
}

.chat-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}


/* =========================================================
   CHAT BODY
========================================================= */

.chat-body {
    padding: 20px;
    height: 300px;
    overflow-y: auto;
    background: #f8f7f4;
}

.chat-message {
    max-width: 85%;
    padding: 12px 15px;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.6;
}

.chat-message.bot {
    background: white;
    border: 1px solid #e4e1da;
}

.chat-message.user {
    background: #151515;
    color: white;
    margin-left: auto;
}


/* =========================================================
   CHAT INPUT
========================================================= */

.chat-input-area {
    display: flex;
    border-top: 1px solid #ddd;
    background: white;
}

.chat-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 15px;
    font-size: 13px;
}

.chat-send {
    border: none;
    background: #a88b54;
    color: white;
    padding: 0 18px;
    cursor: pointer;
    font-weight: 600;
}

.chat-send:hover {
    background: #151515;
}


/* =========================================================
   FLOATING TEXT
========================================================= */

.floating-text {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    opacity: 0.08;

    font-family: "Playfair Display", serif;
    font-size: 80px;

    animation: floatingText 12s ease-in-out infinite;
}

@keyframes floatingText {

    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }

}


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

.footer {
    background: #151515;
    color: white;
    padding: 70px 0 30px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
}

.footer-logo {
    color: white;
    font-size: 14px;
    letter-spacing: 2.5px;
}

.footer-description {
    color: #888;
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #aaa;
    font-size: 12px;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    border-top: 1px solid #333;
    margin-top: 60px;
    padding-top: 25px;
}

.copyright p {
    color: #666;
    font-size: 12px;
}


/* =========================================================
   ARABIC RTL
========================================================= */

html[dir="rtl"] {
    direction: rtl;
}

html[dir="rtl"] body {
    font-family:
        "Noto Naskh Arabic",
        "DM Sans",
        sans-serif;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3 {
    font-family:
        "Noto Naskh Arabic",
        serif;

    letter-spacing: 0;
}

html[dir="rtl"] .navigation {
    direction: rtl;
}

html[dir="rtl"] .language-switcher {
    direction: rtl;
}

html[dir="rtl"] .hero-content,
html[dir="rtl"] .intro,
html[dir="rtl"] .practice,
html[dir="rtl"] .process,
html[dir="rtl"] .contact,
html[dir="rtl"] .footer,
html[dir="rtl"] .faq {
    text-align: right;
}

html[dir="rtl"] .hero-buttons {
    justify-content: flex-start;
}

html[dir="rtl"] .practice-card,
html[dir="rtl"] .process-item,
html[dir="rtl"] .legal-service-card {
    text-align: right;
}

html[dir="rtl"] .contact-details {
    flex-direction: row-reverse;
}

html[dir="rtl"] .faq-question {
    text-align: right;
}

html[dir="rtl"] .faq-answer {
    padding-left: 40px;
    padding-right: 0;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .navigation {
        gap: 20px;
    }

    .language-switcher {
        margin-right: 15px;
        gap: 5px;
    }

    .header-button {
        padding: 12px 16px;
    }

    .hero-image {
        width: 48%;
    }

    .intro-container {
        grid-template-columns: 1fr;
    }

    .process-grid {
        gap: 35px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    /* HEADER */

    .header {
        padding: 18px 0;
    }

    .header-container {
        position: relative;
    }

    .navigation {
        display: none;
    }

    .navigation.mobile-open {
        display: flex;

        flex-direction: column;
        align-items: flex-start;

        position: absolute;

        top: 60px;
        right: 0;

        width: 220px;

        background: white;

        padding: 25px;

        gap: 20px;

        box-shadow:
            0 15px 40px rgba(0,0,0,0.12);

        z-index: 10000;
    }

    .menu-button {
        display: block;
    }

    .header-button {
        display: none;
    }

    .language-switcher {
        margin-left: auto;
        margin-right: 12px;
        gap: 4px;
    }

    .language-switcher span {
        font-size: 8px;
    }

    .language-btn {
        font-size: 9px;
        padding: 2px;
    }


    /* HERO */

    .hero {
        min-height: auto;
        padding: 130px 0 0;

        background:
            linear-gradient(
                180deg,
                #f5f3ee 0%,
                #f5f3ee 60%,
                #e8e5dd 100%
            );
    }

    .hero-container {
        padding-top: 0;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 58px;
        letter-spacing: -2px;
        line-height: 0.95;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.7;
        margin-top: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-top: 30px;
    }

    .hero-image {
        position: relative;
        width: 100%;
        height: 350px;
        margin-top: 55px;
        z-index: 1;
    }


    /* INTRO */

    .intro {
        padding: 90px 0;
    }

    .intro-container {
        grid-template-columns: 1fr;
    }

    .intro h2 {
        font-size: 48px;
    }

    .intro-left {
        margin-top: 0;
    }


    /* ABOUT */

    .about {
        padding: 90px 0;
    }

    .about h2 {
        font-size: 50px;
    }


    /* STATS */

    .stats {
        padding: 55px 0;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 0;
    }

    .stat:nth-child(2) {
        border-right: none;
    }

    .stat h3 {
        font-size: 40px;
    }


    /* PRACTICE */

    .practice {
        padding: 90px 0;
    }

    .practice-heading {
        display: block;
        margin-bottom: 45px;
    }

    .practice-intro {
        margin-top: 30px;
    }

    .practice-grid {
        grid-template-columns: 1fr;
    }

    .practice-card {
        min-height: auto;
        padding: 35px;
    }


    /* LEGAL SERVICES */

    .legal-services {
        padding: 90px 0;
    }

    .legal-services-grid {
        grid-template-columns: 1fr;
    }

    .legal-service-card {
        min-height: auto;
        padding: 35px;
    }


    /* PRACTICE DETAILS */

    .practice-detail {
        padding: 80px 0;
    }

    .practice-detail h2 {
        font-size: 42px;
    }

    .practice-detail p:not(.eyebrow) {
        font-size: 15px;
        line-height: 1.7;
    }


    /* ROMANCE SCAM */

    .romance-scam {
        padding: 90px 0;
    }

    .romance-scam h2 {
        font-size: 48px;
    }


    /* PROCESS */

    .process {
        padding: 90px 0;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 50px;
    }

    .process-item h3 {
        font-size: 24px;
    }


    /* TESTIMONIAL */

    .testimonial {
        padding: 90px 0;
    }

    .testimonial blockquote {
        font-size: 38px;
    }


    /* REVIEWS */

    .reviews {
        padding: 90px 0;
    }


    /* ASSESSMENT */

    .assessment {
        padding: 90px 0;
    }

    .assessment h2 {
        font-size: 48px;
    }


    /* FAQ */

    .faq {
        padding: 90px 0;
    }

    .faq h2 {
        font-size: 48px;
    }

    .faq-question {
        font-size: 15px;
        padding: 22px 0;
    }


    /* CONTACT */

    .contact {
        padding: 90px 0;
    }

    .contact h2 {
        font-size: 48px;
        letter-spacing: -1px;
    }

    .contact-container > p:not(.eyebrow) {
        font-size: 15px;
        line-height: 1.7;
    }

    .contact-details {
        flex-direction: column;
        gap: 35px;
        margin-top: 55px;
    }

    .contact-detail {
        min-width: 0;
    }


    /* LEGAL */

    .legal-page {
        padding: 120px 0 80px;
    }

    .legal-page h1 {
        font-size: 50px;
    }

    .legal-page h2 {
        font-size: 28px;
    }


    /* CHAT */

    .chat-button {
        width: 58px;
        height: 58px;

        right: 18px;
        bottom: 18px;

        font-size: 23px;
    }

    .chat-box {
        right: 15px;
        bottom: 88px;

        width: calc(100vw - 30px);
        max-width: 360px;
    }


    /* FOOTER */

    .footer {
        padding: 60px 0 25px;
    }

    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 20px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .container {
        width: 92%;
    }

    .logo {
        font-size: 11px;
        letter-spacing: 1.7px;
    }

    .language-switcher {
        gap: 3px;
        margin-right: 6px;
    }

    .language-btn {
        font-size: 8px;
        padding: 1px;
    }

    .language-switcher span {
        font-size: 7px;
    }

    .menu-button {
        font-size: 23px;
    }

    .hero h1 {
        font-size: 50px;
    }

    .intro h2 {
        font-size: 42px;
    }

    .about h2 {
        font-size: 45px;
    }

    .practice h2 {
        font-size: 45px;
    }

    .practice-detail h2 {
        font-size: 38px;
    }

    .romance-scam h2 {
        font-size: 42px;
    }

    .assessment h2 {
        font-size: 42px;
    }

    .contact h2 {
        font-size: 42px;
    }

    .testimonial blockquote {
        font-size: 32px;
    }

    .chat-box {
        right: 10px;
        bottom: 85px;
        width: calc(100vw - 20px);
    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

button:focus-visible,
a:focus-visible {
    outline: 2px solid #a88b54;
    outline-offset: 3px;
}


/* =========================================================
   REDUCE MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}

/* =========================================
   CHATBOX
========================================= */

.chat-button {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: #151515;
    color: #ffffff;
    cursor: pointer;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.chat-button:hover {
    background: #a88b54;
}

/* CHAT WINDOW */

.chat-box {
    position: fixed;
    right: 25px;
    bottom: 95px;
    width: 350px;
    max-width: calc(100vw - 40px);
    height: 480px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    z-index: 100000;
    display: none;
    overflow: hidden;
    flex-direction: column;
}

/* When JavaScript opens it */

.chat-box.chat-open {
    display: flex;
}

/* CHAT HEADER */

.chat-header {
    background: #151515;
    color: #ffffff;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header h3 {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
}

.chat-close {
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
}

/* CHAT BODY */

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f5f3ee;
}

.chat-message {
    background: #ffffff;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
}

/* CHAT INPUT */

.chat-input {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: #ffffff;
    border-top: 1px solid #ddd;
}

.chat-input input {
    flex: 1;
    border: 1px solid #ddd;
    padding: 12px;
    outline: none;
    font-family: inherit;
}

.chat-input button {
    border: none;
    background: #151515;
    color: #ffffff;
    padding: 0 18px;
    cursor: pointer;
}

.chat-input button:hover {
    background: #a88b54;
}

/* MOBILE */

@media (max-width: 600px) {

    .chat-box {
        right: 15px;
        bottom: 85px;
        width: calc(100vw - 30px);
        height: 450px;
    }

    .chat-button {
        right: 15px;
        bottom: 15px;
    }
}


/* =========================================================
   EXPANDED PRACTICE AREA DETAILS
   Shared layout for all 8 practice areas
========================================================= */

.practice-detail {
    scroll-margin-top: 95px;
}

.practice-detail .container {
    max-width: 1120px;
}

.practice-detail-header {
    max-width: 850px;
}

.practice-detail-header > p:not(.eyebrow) {
    max-width: 700px;
}


/* Alternate backgrounds to separate the eight legal areas */

#litigation,
#family-law,
#tax-law,
#estate-planning {
    background: #ffffff;
}


/* =========================================================
   PRACTICE SERVICE GRID
========================================================= */

.practice-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: 70px;
    background: #d6d2c9;
    border: 1px solid #d6d2c9;
}

.practice-service-item {
    min-height: 285px;
    padding: 42px;
    background: #ffffff;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

#litigation .practice-service-item,
#family-law .practice-service-item,
#tax-law .practice-service-item,
#estate-planning .practice-service-item {
    background: #f5f3ee;
}

.practice-service-item:hover {
    position: relative;
    z-index: 2;
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.07);
}

.practice-service-item > span {
    display: inline-block;
    margin-bottom: 48px;
    color: #a88b54;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.practice-service-item h3 {
    font-family: "Playfair Display", serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.2;
}

.practice-detail .practice-service-item p {
    max-width: 440px;
    margin-top: 16px;
    color: #666;
    font-size: 15px;
    line-height: 1.75;
}


/* =========================================================
   PRACTICE CONSULTATION CTA
========================================================= */

.practice-consultation {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 55px;
    align-items: center;
    margin-top: 1px;
    padding: 48px 50px;
    background: #171717;
    color: #ffffff;
}

.practice-consultation .eyebrow {
    color: #a88b54;
}

.practice-consultation h3 {
    max-width: 680px;
    margin-top: 10px;
    font-family: "Playfair Display", serif;
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 400;
    line-height: 1.1;
}

.practice-detail .practice-consultation p:not(.eyebrow) {
    max-width: 650px;
    margin-top: 16px;
    color: #b9b9b9;
    font-size: 15px;
    line-height: 1.75;
}

.practice-consultation .button {
    margin: 0;
    white-space: nowrap;
    align-self: center;
}

.practice-consultation .button-dark {
    background: #a88b54;
    border-color: #a88b54;
    color: #ffffff;
}

.practice-consultation .button-dark:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #151515;
}


/* =========================================================
   ROMANCE SCAM & FRAUD RECOVERY
   Slight visual emphasis without changing the site identity
========================================================= */

.romance-recovery .practice-services {
    border-color: rgba(168, 139, 84, 0.55);
}

.romance-recovery .practice-consultation {
    border-top: 3px solid #a88b54;
}


/* =========================================================
   RTL SUPPORT FOR EXPANDED PRACTICE AREAS
========================================================= */

html[dir="rtl"] .practice-detail,
html[dir="rtl"] .practice-detail-header,
html[dir="rtl"] .practice-service-item,
html[dir="rtl"] .practice-consultation {
    text-align: right;
}

html[dir="rtl"] .practice-consultation {
    direction: rtl;
}


/* =========================================================
   EXPANDED PRACTICE AREA RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .practice-detail .container {
        max-width: 90%;
    }

    .practice-services {
        margin-top: 55px;
    }

    .practice-service-item {
        min-height: 260px;
        padding: 35px;
    }

    .practice-consultation {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 42px 38px;
    }

    .practice-consultation .button {
        justify-self: start;
    }

    html[dir="rtl"] .practice-consultation .button {
        justify-self: end;
    }
}


@media (max-width: 650px) {

    .practice-detail {
        padding: 80px 0;
    }

    .practice-detail .container {
        max-width: 90%;
    }

    .practice-detail h2 {
        font-size: 40px;
    }

    .practice-detail-header > p:not(.eyebrow) {
        font-size: 15px;
        line-height: 1.7;
    }

    .practice-services {
        grid-template-columns: 1fr;
        margin-top: 45px;
    }

    .practice-service-item {
        min-height: auto;
        padding: 32px 28px;
    }

    .practice-service-item > span {
        margin-bottom: 32px;
    }

    .practice-service-item h3 {
        font-size: 23px;
    }

    .practice-detail .practice-service-item p {
        font-size: 14px;
        line-height: 1.7;
    }

    .practice-consultation {
        padding: 36px 28px;
    }

    .practice-consultation h3 {
        font-size: 30px;
    }

    .practice-consultation .button {
        width: 100%;
        justify-content: center;
        text-align: center;
        white-space: normal;
    }
}


@media (max-width: 420px) {

    .practice-detail h2 {
        font-size: 36px;
    }

    .practice-service-item {
        padding: 28px 24px;
    }

    .practice-consultation {
        padding: 32px 24px;
    }

    .practice-consultation h3 {
        font-size: 27px;
    }
}
/* =========================================================
   NEW FAQ / FREE ASSESSMENT / MAIL CONTACT SYSTEM
   Scoped additions for the updated Crawford & Pierce HTML
========================================================= */

#faq,
#assessment,
#contact {
    scroll-margin-top: 100px;
}


/* =========================================================
   NAVIGATION EMPHASIS
========================================================= */

.navigation .nav-assessment {
    color: #a88b54;
    font-weight: 600;
}

.navigation .nav-assessment:hover {
    opacity: 1;
}


/* =========================================================
   UPDATED FAQ SECTION
========================================================= */

.faq-section {
    background: #f5f3ee;
    padding: 120px 0;
}

.faq-section .faq-container {
    width: 90%;
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 90px;
    align-items: start;
}

.faq-section .faq-intro {
    position: sticky;
    top: 120px;
}

.faq-section .faq-intro h2 {
    margin-top: 12px;
    font-family: "Playfair Display", serif;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 400;
    line-height: 1.04;
}

.faq-section .faq-intro h2 span {
    color: #a88b54;
}

.faq-section .faq-intro > p:not(.eyebrow) {
    max-width: 540px;
    margin-top: 24px;
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

.faq-section .faq-intro .button {
    margin-top: 30px;
}

.faq-section .faq-list {
    border-top: 1px solid #d6d2c9;
}

.faq-section .faq-item {
    border-bottom: 1px solid #d6d2c9;
}

.faq-section .faq-question {
    width: 100%;
    padding: 28px 0;
    border: 0;
    background: transparent;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 25px;
    align-items: center;
    color: #151515;
    text-align: left;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    cursor: pointer;
}

.faq-section .faq-question:hover {
    color: #7a633b;
}

.faq-section .faq-icon {
    width: 32px;
    height: 32px;
    border: 1px solid #d6d2c9;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #a88b54;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.faq-section .faq-question.open .faq-icon {
    background: #151515;
    border-color: #151515;
    color: #ffffff;
}

.faq-section .faq-answer {
    display: block;
    max-width: none;
    padding: 0 58px 28px 0;
    color: inherit;
}

.faq-section .faq-answer[hidden] {
    display: none;
}

.faq-section .faq-answer p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   UPDATED FREE ASSESSMENT SECTION
========================================================= */

.assessment-section {
    background: #171717;
    color: #ffffff;
    padding: 120px 0;
}

.assessment-section .assessment-layout {
    width: 90%;
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 85px;
    align-items: start;
}

.assessment-section .assessment-copy {
    position: sticky;
    top: 120px;
}

.assessment-section .assessment-copy .eyebrow {
    color: #a88b54;
}

.assessment-section .assessment-copy h2 {
    margin-top: 12px;
    font-family: "Playfair Display", serif;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 400;
    line-height: 1.04;
}

.assessment-section .assessment-copy h2 span {
    color: #a88b54;
}

.assessment-section .assessment-copy > p:not(.eyebrow) {
    max-width: 520px;
    margin-top: 24px;
    color: #b9b9b9;
    font-size: 16px;
    line-height: 1.8;
}

.assessment-note {
    margin-top: 36px;
    padding: 24px;
    border: 1px solid rgba(168, 139, 84, 0.45);
    background: rgba(255, 255, 255, 0.035);
}

.assessment-note strong {
    display: block;
    color: #ffffff;
    font-size: 13px;
    letter-spacing: 0.4px;
}

.assessment-note p {
    margin-top: 8px;
    color: #aaaaaa;
    font-size: 13px;
    line-height: 1.7;
}

.assessment-form {
    padding: 42px;
    background: #ffffff;
    color: #151515;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.assessment-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.assessment-form .form-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.assessment-form .form-field-full {
    grid-column: 1 / -1;
}

.assessment-form .form-field > span {
    font-size: 13px;
    font-weight: 600;
}

.assessment-form .form-field small {
    font-weight: 400;
    color: #777777;
}

.assessment-form .form-field input,
.assessment-form .form-field select,
.assessment-form .form-field textarea {
    width: 100%;
    border: 1px solid #d6d2c9;
    border-radius: 0;
    background: #ffffff;
    color: #151515;
    padding: 14px 15px;
    font: inherit;
    font-size: 14px;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.assessment-form .form-field textarea {
    min-height: 150px;
    resize: vertical;
}

.assessment-form .form-field input:focus,
.assessment-form .form-field select:focus,
.assessment-form .form-field textarea:focus {
    border-color: #a88b54;
    box-shadow: 0 0 0 3px rgba(168, 139, 84, 0.12);
}

.assessment-form .field-help {
    color: #777777;
    font-size: 11px;
    line-height: 1.55;
}

.assessment-consent {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin-top: 25px;
    color: #666666;
    font-size: 12px;
    line-height: 1.65;
    cursor: pointer;
}

.assessment-consent input {
    margin-top: 3px;
    accent-color: #a88b54;
}

.assessment-status {
    min-height: 20px;
    margin-top: 18px;
    color: #7a633b;
    font-size: 12px;
    line-height: 1.5;
}

.assessment-submit {
    width: 100%;
    margin-top: 6px;
    border: 0;
    justify-content: center;
    text-align: center;
}


/* =========================================================
   FLOATING MAIL CONTACT
========================================================= */

.mail-launcher {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 62px;
    height: 62px;
    border: 0;
    border-radius: 50%;
    background: #151515;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100002;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.mail-launcher:hover {
    transform: translateY(-4px);
    background: #a88b54;
}

.mail-launcher svg {
    width: 27px;
    height: 27px;
    fill: currentColor;
}

.mail-panel {
    position: fixed;
    right: 24px;
    bottom: 98px;
    width: 390px;
    max-width: calc(100vw - 32px);
    background: #ffffff;
    color: #151515;
    border: 1px solid #d6d2c9;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
    z-index: 100001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.98);
    transform-origin: bottom right;
    transition:
        opacity 0.22s ease,
        transform 0.22s ease,
        visibility 0.22s ease;
}

.mail-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.mail-panel-header {
    padding: 22px 22px 20px;
    background: #151515;
    color: #ffffff;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.mail-panel-kicker {
    color: #a88b54;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.4px;
}

.mail-panel-header h3 {
    margin-top: 5px;
    font-family: "Playfair Display", serif;
    font-size: 26px;
    font-weight: 400;
}

.mail-panel-close {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    font-size: 23px;
    line-height: 1;
}

.mail-panel-close:hover {
    border-color: #a88b54;
    color: #a88b54;
}

.mail-panel-body {
    padding: 22px;
}

.mail-panel-body > p {
    margin-bottom: 18px;
    color: #666666;
    font-size: 13px;
    line-height: 1.65;
}

.mail-option {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid #e3e0d9;
    color: #151515;
    text-decoration: none;
}

.mail-option:last-child {
    border-bottom: 1px solid #e3e0d9;
}

.mail-option-icon {
    width: 36px;
    height: 36px;
    border: 1px solid #d6d2c9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a88b54;
    font-size: 10px;
    font-weight: 600;
}

.mail-option strong,
.mail-option small {
    display: block;
}

.mail-option strong {
    font-size: 13px;
}

.mail-option small {
    margin-top: 3px;
    color: #777777;
    font-size: 11px;
    line-height: 1.5;
}

.mail-option:hover strong,
.mail-option-primary strong {
    color: #a88b54;
}

.mail-panel-footer {
    padding: 14px 22px;
    background: #f5f3ee;
    color: #777777;
    font-size: 10px;
    line-height: 1.55;
}


/* =========================================================
   UPDATED FOOTER LEGAL LINKS
========================================================= */

.footer-links a[href$="privacy.html"],
.footer-links a[href$="disclaimer.html"],
.footer-links a[href$="terms.html"] {
    color: #8f8f8f;
}

.footer-links a[href$="privacy.html"]:hover,
.footer-links a[href$="disclaimer.html"]:hover,
.footer-links a[href$="terms.html"]:hover {
    color: #ffffff;
}


/* =========================================================
   RTL SUPPORT FOR NEW SECTIONS
========================================================= */

html[dir="rtl"] .faq-section,
html[dir="rtl"] .assessment-section,
html[dir="rtl"] .mail-panel {
    text-align: right;
}

html[dir="rtl"] .faq-section .faq-question {
    text-align: right;
}

html[dir="rtl"] .faq-section .faq-answer {
    padding-right: 0;
    padding-left: 58px;
}

html[dir="rtl"] .assessment-consent {
    grid-template-columns: minmax(0, 1fr) 18px;
}

html[dir="rtl"] .assessment-consent input {
    order: 2;
}

html[dir="rtl"] .mail-launcher,
html[dir="rtl"] .mail-panel {
    right: auto;
    left: 24px;
}

html[dir="rtl"] .mail-panel {
    transform-origin: bottom left;
}

html[dir="rtl"] .mail-option {
    grid-template-columns: minmax(0, 1fr) 40px;
}

html[dir="rtl"] .mail-option-icon {
    order: 2;
}


/* =========================================================
   RESPONSIVE - NEW SECTIONS
========================================================= */

@media (max-width: 1000px) {

    .navigation {
        gap: 18px;
    }

    .navigation a {
        font-size: 13px;
    }

}


@media (max-width: 900px) {

    .faq-section .faq-container,
    .assessment-section .assessment-layout {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .faq-section .faq-intro,
    .assessment-section .assessment-copy {
        position: static;
    }

}


@media (max-width: 800px) {

    .navigation.mobile-open {
        width: min(290px, calc(100vw - 30px));
    }

    .navigation.mobile-open .nav-assessment {
        color: #a88b54;
    }

}


@media (max-width: 650px) {

    .faq-section,
    .assessment-section {
        padding: 80px 0;
    }

    .faq-section .faq-container,
    .assessment-section .assessment-layout {
        width: 90%;
        gap: 42px;
    }

    .faq-section .faq-intro h2,
    .assessment-section .assessment-copy h2 {
        font-size: 40px;
    }

    .faq-section .faq-question {
        padding: 22px 0;
        grid-template-columns: minmax(0, 1fr) 32px;
        gap: 15px;
        font-size: 15px;
    }

    .faq-section .faq-answer,
    html[dir="rtl"] .faq-section .faq-answer {
        padding: 0 0 22px;
    }

    .assessment-form {
        padding: 30px 24px;
    }

    .assessment-form .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .assessment-form .form-field-full {
        grid-column: auto;
    }

    .assessment-consent,
    html[dir="rtl"] .assessment-consent {
        grid-template-columns: 18px minmax(0, 1fr);
    }

    html[dir="rtl"] .assessment-consent input {
        order: initial;
    }

    .mail-launcher {
        right: 15px;
        bottom: 15px;
        width: 58px;
        height: 58px;
    }

    .mail-panel {
        right: 15px;
        bottom: 84px;
        width: calc(100vw - 30px);
        max-width: none;
    }

    html[dir="rtl"] .mail-launcher,
    html[dir="rtl"] .mail-panel {
        right: auto;
        left: 15px;
    }

}


@media (max-width: 420px) {

    .faq-section .faq-intro h2,
    .assessment-section .assessment-copy h2 {
        font-size: 36px;
    }

    .assessment-form {
        padding: 26px 20px;
    }

    .mail-panel-header,
    .mail-panel-body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .mail-panel-header h3 {
        font-size: 24px;
    }

}


/* =========================================================
   ACCESSIBILITY / MOTION FOR NEW COMPONENTS
========================================================= */

.mail-launcher:focus-visible,
.mail-panel-close:focus-visible,
.faq-section .faq-question:focus-visible,
.assessment-form input:focus-visible,
.assessment-form select:focus-visible,
.assessment-form textarea:focus-visible {
    outline: 2px solid #a88b54;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    .mail-launcher,
    .mail-panel,
    .faq-section .faq-icon {
        transition: none !important;
    }

}


/* Live-chat option uses a button so it can launch the operator widget. */
button.mail-option {
    width: 100%;
    border-right: 0;
    border-left: 0;
    border-bottom: 0;
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.live-chat-option .mail-option-icon {
    font-size: 8px;
    letter-spacing: 0.4px;
}

html[dir="rtl"] button.mail-option {
    text-align: right;
}

/* =========================================================
   CRAWFORD & PIERCE CUSTOM CHAT
========================================================= */

.cp-chat-panel {
    width: 410px;
    overflow: hidden;
    border-radius: 18px;
}

.cp-chat-header {
    padding-bottom: 18px;
}

.cp-chat-status {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    color: #d6d2c9;
    font-size: 10px;
    letter-spacing: 0.2px;
}

.cp-chat-status span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #57c785;
    box-shadow: 0 0 0 4px rgba(87, 199, 133, 0.12);
}

.chat-launcher-pulse {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #57c785;
    border: 2px solid #151515;
}

.cp-chat-profile {
    padding: 24px;
    background: #fff;
}

.cp-chat-profile > p {
    margin-bottom: 16px;
    color: #555;
    font-size: 13px;
    line-height: 1.65;
}

.cp-chat-profile-grid {
    display: grid;
    gap: 10px;
}

.cp-chat-profile input,
.cp-chat-compose textarea {
    width: 100%;
    border: 1px solid #d6d2c9;
    background: #faf9f6;
    color: #151515;
    font: inherit;
}

.cp-chat-profile input {
    height: 44px;
    padding: 0 13px;
}

.cp-chat-profile input:focus,
.cp-chat-compose textarea:focus {
    outline: 2px solid rgba(168, 139, 84, 0.25);
    border-color: #a88b54;
}

.cp-chat-profile button {
    width: 100%;
    margin-top: 12px;
    border: 0;
    background: #151515;
    color: #fff;
    padding: 13px 16px;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cp-chat-profile button:hover {
    background: #a88b54;
}

.cp-chat-app[hidden] {
    display: none !important;
}

.cp-chat-app {
    display: grid;
    grid-template-rows: minmax(260px, 1fr) auto auto auto;
    background: #f5f3ee;
}

.cp-chat-messages {
    min-height: 310px;
    max-height: 420px;
    overflow-y: auto;
    padding: 20px 18px 12px;
    scroll-behavior: smooth;
}

.cp-chat-message {
    display: flex;
    margin-bottom: 12px;
}

.cp-chat-message.visitor {
    justify-content: flex-end;
}

.cp-chat-message-bubble {
    max-width: 82%;
    padding: 11px 13px;
    border-radius: 16px;
    font-size: 12px;
    line-height: 1.55;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    white-space: pre-wrap;
    word-break: break-word;
}

.cp-chat-message.bot .cp-chat-message-bubble,
.cp-chat-message.agent .cp-chat-message-bubble {
    background: #fff;
    border: 1px solid #e2ded5;
    border-bottom-left-radius: 5px;
}

.cp-chat-message.visitor .cp-chat-message-bubble {
    background: #151515;
    color: #fff;
    border-bottom-right-radius: 5px;
}

.cp-chat-message-label {
    display: block;
    margin-bottom: 3px;
    color: #a88b54;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cp-chat-message-time {
    display: block;
    margin-top: 5px;
    color: #999;
    font-size: 9px;
}

.cp-chat-quick {
    display: flex;
    gap: 7px;
    padding: 10px 14px 6px;
    overflow-x: auto;
}

.cp-chat-quick button {
    flex: 0 0 auto;
    border: 1px solid #c9c3b6;
    border-radius: 999px;
    background: #fff;
    padding: 7px 10px;
    font: inherit;
    font-size: 10px;
    cursor: pointer;
}

.cp-chat-quick button:hover {
    border-color: #a88b54;
    color: #a88b54;
}

.cp-chat-compose {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 8px;
    padding: 10px 14px 12px;
}

.cp-chat-compose textarea {
    resize: none;
    min-height: 44px;
    max-height: 110px;
    padding: 11px 12px;
    border-radius: 12px;
}

.cp-chat-compose button {
    align-self: end;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: #a88b54;
    color: #fff;
    padding: 0 15px;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.cp-chat-compose button:hover {
    background: #151515;
}

.cp-chat-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
    padding: 0 14px 12px;
    font-size: 10px;
}

.cp-chat-actions a {
    color: #777;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cp-chat-typing {
    display: inline-flex;
    gap: 3px;
    align-items: center;
}

.cp-chat-typing i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #999;
    animation: cpTyping 1s infinite ease-in-out;
}

.cp-chat-typing i:nth-child(2) { animation-delay: 0.15s; }
.cp-chat-typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes cpTyping {
    0%, 70%, 100% { transform: translateY(0); opacity: 0.45; }
    35% { transform: translateY(-3px); opacity: 1; }
}

@media (max-width: 650px) {
    .cp-chat-panel {
        width: calc(100vw - 30px);
        max-height: calc(100vh - 110px);
    }

    .cp-chat-messages {
        min-height: 260px;
        max-height: calc(100vh - 390px);
    }
}
