/* =============================================
   LAMBERT LEGAL GROUP - STYLE SHEET
   ============================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: #f5f7fc;
    color: #1a2a3f;
    line-height: 1.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ====== HEADER ====== */
.header {
    background: #0a1f3a;
    padding: 16px 0;
    border-bottom: 4px solid #b8943c;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.header .logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header .logo .icon {
    font-size: 28px;
    color: #b8943c;
}

.header .logo h1 {
    font-family: 'Merriweather', serif;
    font-size: 22px;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.header .logo span {
    font-size: 12px;
    color: #b8943c;
    display: block;
    font-weight: 400;
    letter-spacing: 1px;
}

.header .nav {
    display: flex;
    gap: 28px;
    align-items: center;
    flex-wrap: wrap;
}

.header .nav a {
    color: #dce4ed;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s;
}

.header .nav a:hover,
.header .nav a.active {
    color: #b8943c;
}

.header .nav .btn-nav {
    background: #b8943c;
    color: #0a1f3a;
    padding: 8px 22px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 13px;
    transition: 0.2s;
}

.header .nav .btn-nav:hover {
    background: #d4ab4a;
    color: #0a1f3a;
}

/* ====== HERO ====== */
.hero {
    background: linear-gradient(135deg, #0a1f3a 0%, #142d4a 100%);
    padding: 70px 0 60px;
    text-align: center;
    border-bottom: 1px solid #e8edf4;
}

.hero h1 {
    font-family: 'Merriweather', serif;
    font-size: 38px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 18px;
    color: #bcc9db;
    max-width: 600px;
    margin: 0 auto 24px;
    line-height: 1.8;
}

.hero .badge {
    display: inline-block;
    background: #b8943c;
    color: #0a1f3a;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 20px;
    border-radius: 40px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ====== PAGE HERO ====== */
.page-hero {
    background: #0a1f3a;
    padding: 50px 0 40px;
    text-align: center;
}

.page-hero h1 {
    font-family: 'Merriweather', serif;
    font-size: 34px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 8px;
}

.page-hero p {
    font-size: 17px;
    color: #bcc9db;
}

/* ====== SECTION TITLE ====== */
.section-title {
    font-family: 'Merriweather', serif;
    font-size: 28px;
    color: #0a1f3a;
    text-align: center;
    margin-bottom: 8px;
}

.section-sub {
    text-align: center;
    color: #5a6d86;
    font-size: 15px;
    margin-bottom: 32px;
}

/* ====== PRACTICE AREAS ====== */
.practice {
    padding: 50px 0;
    background: #ffffff;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.practice-card {
    background: #f8fafd;
    padding: 28px 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e8edf4;
    transition: 0.2s;
}

.practice-card:hover {
    border-color: #b8943c;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.practice-card .icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.practice-card h3 {
    font-size: 18px;
    color: #0a1f3a;
    margin-bottom: 6px;
}

.practice-card p {
    font-size: 14px;
    color: #5a6d86;
}

.practice-card .learn-more {
    display: inline-block;
    margin-top: 8px;
    color: #b8943c;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
}

.practice-card .learn-more:hover {
    text-decoration: underline;
}

/* ====== PORTAL ====== */
.portal-main {
    padding: 50px 0 60px;
    background: #ffffff;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-bottom: 36px;
}

.portal-card {
    background: #f8fafd;
    border-radius: 12px;
    padding: 24px 28px;
    border: 1px solid #e8edf4;
    transition: 0.2s;
}

.portal-card:hover {
    border-color: #b8943c;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.portal-card .label {
    font-size: 11px;
    font-weight: 600;
    color: #5a6d86;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 4px;
}

.portal-card .value {
    font-size: 16px;
    font-weight: 600;
    color: #0a1f3a;
    margin-bottom: 8px;
}

.portal-card .status-badge {
    display: inline-block;
    background: #e6f4ea;
    color: #137333;
    font-size: 12px;
    padding: 2px 14px;
    border-radius: 40px;
    font-weight: 600;
}

.portal-card .status-badge.warning {
    background: #fff8e1;
    color: #8a6d00;
}

/* ====== CASE CHECK ====== */
.case-check {
    background: #f8fafd;
    border-radius: 12px;
    padding: 30px 32px;
    border: 1px solid #e8edf4;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
}

.case-check label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #0a1f3a;
    margin-bottom: 8px;
}

.case-check input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d5dce6;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 14px;
    background: #ffffff;
    font-family: 'Courier New', monospace;
}

.case-check input:focus {
    border-color: #b8943c;
    outline: none;
    box-shadow: 0 0 0 3px rgba(184,148,60,0.15);
}

.case-check .btn-check {
    background: #0a1f3a;
    color: #ffffff;
    padding: 12px 40px;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
}

.case-check .btn-check:hover {
    background: #142d4a;
    transform: translateY(-2px);
}

/* ====== EXAMPLE BOX ====== */
.example-box {
    background: #ffffff;
    border: 1px solid #e0e7f0;
    border-radius: 12px;
    padding: 24px 28px;
    max-width: 600px;
    margin: 0 auto 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.example-box .example-title {
    font-size: 14px;
    font-weight: 600;
    color: #0a1f3a;
    margin-bottom: 12px;
    border-bottom: 1px solid #e8edf4;
    padding-bottom: 8px;
}

.example-box .row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
    color: #1a2a3f;
}

.example-box .row .label {
    font-weight: 600;
    color: #3d5472;
}

.example-box .row .value {
    font-family: 'Courier New', monospace;
}

.example-box .status-active {
    color: #137333;
    font-weight: 600;
}

/* ====== SECURE ACCESS ====== */
.secure-access {
    background: #f0f4f8;
    border-radius: 12px;
    padding: 30px 32px;
    max-width: 700px;
    margin: 0 auto 20px;
    border: 1px solid #d5dce6;
    text-align: center;
}

.secure-access h3 {
    font-family: 'Merriweather', serif;
    font-size: 22px;
    color: #0a1f3a;
    margin-bottom: 12px;
}

.secure-access p {
    font-size: 14px;
    color: #3d5472;
    line-height: 1.8;
}

.secure-access .highlight {
    display: inline-block;
    background: #0a1f3a;
    color: #ffffff;
    padding: 4px 16px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 600;
    margin: 6px 0;
}

.secure-access .screenconnect-badge {
    display: inline-block;
    background: #b8943c;
    color: #0a1f3a;
    padding: 4px 18px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 700;
    margin: 10px 0 4px;
}

.secure-access .secure-icon {
    font-size: 48px;
    margin-bottom: 8px;
}

/* ====== DOCUMENT CARD ====== */
.doc-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 28px 32px;
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid #d5dce6;
    text-align: center;
}

.doc-card .doc-icon {
    font-size: 40px;
    color: #a01c2e;
    margin-bottom: 8px;
}

.doc-card .doc-name {
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: 700;
    color: #0a1f3a;
    margin-bottom: 6px;
}

.doc-card .doc-meta {
    font-size: 13px;
    color: #5a6d86;
    margin-bottom: 18px;
}

.doc-card .doc-meta span {
    margin: 0 12px;
}

.doc-card .btn-download {
    display: inline-block;
    background: #0a1f3a;
    color: #ffffff;
    padding: 14px 44px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: 0.2s;
    border: none;
    cursor: pointer;
}

.doc-card .btn-download:hover {
    background: #142d4a;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(10,31,58,0.2);
}

.doc-card .secure-note {
    font-size: 12px;
    color: #5a6d86;
    margin-top: 14px;
    line-height: 1.8;
    background: #f8fafd;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #e8edf4;
}

.doc-card .secure-note strong {
    color: #0a1f3a;
}

/* ====== CONTACT ====== */
.contact-main {
    padding: 44px 0 60px;
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    text-align: center;
    padding: 16px;
}

.contact-item .icon {
    font-size: 28px;
    color: #b8943c;
    margin-bottom: 8px;
}

.contact-item .label {
    font-size: 13px;
    font-weight: 600;
    color: #0a1f3a;
}

.contact-item .value {
    font-size: 14px;
    color: #5a6d86;
}

/* ====== CONTACT FORM ====== */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 16px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #0a1f3a;
    margin-bottom: 4px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d5dce6;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    background: #ffffff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #b8943c;
    outline: none;
    box-shadow: 0 0 0 3px rgba(184,148,60,0.15);
}

.contact-form textarea {
    height: 120px;
    resize: vertical;
}

.contact-form .btn-submit {
    background: #0a1f3a;
    color: #ffffff;
    padding: 12px 40px;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
}

.contact-form .btn-submit:hover {
    background: #142d4a;
}

/* ====== SERVICES LIST ====== */
.services-list {
    padding: 44px 0 60px;
    background: #ffffff;
}

.service-item {
    background: #f8fafd;
    padding: 24px 28px;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid #e8edf4;
}

.service-item h3 {
    font-size: 18px;
    color: #0a1f3a;
    margin-bottom: 4px;
}

.service-item p {
    font-size: 14px;
    color: #5a6d86;
}

/* ====== TEAM ====== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 0 60px;
}

.team-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    border: 1px solid #e8edf4;
    transition: 0.2s;
}

.team-card:hover {
    border-color: #b8943c;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.team-card .avatar {
    font-size: 64px;
    margin-bottom: 12px;
}

.team-card h3 {
    font-family: 'Merriweather', serif;
    font-size: 18px;
    color: #0a1f3a;
    margin-bottom: 4px;
}

.team-card .title {
    font-size: 13px;
    color: #b8943c;
    font-weight: 600;
    margin-bottom: 8px;
}

.team-card .bio {
    font-size: 13px;
    color: #5a6d86;
    line-height: 1.7;
}

/* ====== TESTIMONIALS ====== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 40px 0 60px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 28px 24px;
    border: 1px solid #e8edf4;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 48px;
    color: #b8943c;
    position: absolute;
    top: 8px;
    left: 16px;
    font-family: 'Merriweather', serif;
}

.testimonial-card .quote {
    font-size: 15px;
    color: #1a2a3f;
    line-height: 1.8;
    padding-left: 20px;
    margin-bottom: 12px;
}

.testimonial-card .client {
    font-weight: 600;
    color: #0a1f3a;
    border-top: 1px solid #e8edf4;
    padding-top: 10px;
}

.testimonial-card .client span {
    font-weight: 400;
    color: #5a6d86;
}

/* ====== POLICY PAGES ====== */
.policy-content,
.terms-content,
.accessibility-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0 60px;
}

.policy-content h2,
.terms-content h2,
.accessibility-content h2 {
    font-family: 'Merriweather', serif;
    color: #0a1f3a;
    font-size: 20px;
    margin: 28px 0 12px;
}

.policy-content p,
.terms-content p,
.accessibility-content p {
    color: #3d5472;
    line-height: 1.8;
    margin-bottom: 12px;
}

.policy-content ul,
.terms-content ul,
.accessibility-content ul {
    color: #3d5472;
    line-height: 1.8;
    padding-left: 24px;
    margin-bottom: 12px;
}

/* ====== ABOUT ====== */
.about-content {
    padding: 44px 0 60px;
    background: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.about-grid h2 {
    font-family: 'Merriweather', serif;
    font-size: 22px;
    color: #0a1f3a;
    margin-bottom: 12px;
}

.about-grid p {
    font-size: 15px;
    color: #3d5472;
    line-height: 1.8;
}

/* ====== FOOTER ====== */
.footer {
    background: #0a1f3a;
    padding: 28px 0 24px;
    border-top: 3px solid #b8943c;
}

.footer .container {
    text-align: center;
}

.footer .footer-logo {
    font-family: 'Merriweather', serif;
    font-size: 18px;
    color: #ffffff;
    font-weight: 700;
}

.footer .footer-logo span {
    color: #b8943c;
}

.footer .footer-links {
    margin: 12px 0 10px;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer .footer-links a {
    color: #bcc9db;
    text-decoration: none;
    font-size: 13px;
}

.footer .footer-links a:hover {
    color: #b8943c;
}

.footer .footer-bottom {
    font-size: 12px;
    color: #6a7d96;
    border-top: 1px solid #1a2f4a;
    padding-top: 14px;
    margin-top: 10px;
}

.footer .footer-bottom strong {
    color: #b8943c;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .header .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .portal-grid {
        grid-template-columns: 1fr;
    }

    .doc-card {
        padding: 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .practice-grid {
        grid-template-columns: 1fr 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .practice-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .header .logo h1 {
        font-size: 18px;
    }

    .page-hero h1 {
        font-size: 26px;
    }

    .hero h1 {
        font-size: 24px;
    }
}