/* Law Firm Demo Styles */

/* Demo Banner (reuse from restaurant) */
.demo-banner {
    background: linear-gradient(135deg, #e11d48, #dc2626);
    color: white;
    padding: 0.75rem 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.demo-banner__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 0 1rem;
}

.demo-banner__text {
    font-weight: 600;
    font-size: 0.9rem;
}

.demo-banner__link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.demo-banner__link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Law Firm Color Palette */
:root {
    --law-primary: #1e40af;
    --law-primary-light: #3b82f6;
    --law-secondary: #991b1b;
    --law-accent: #d97706;
    --law-bg: #f8fafc;
    --law-white: #ffffff;
    --law-text: #1e293b;
    --law-text-light: #64748b;
    --law-border: #e2e8f0;
    --law-gold: #fbbf24;
}

/* Container */
.law-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header & Navigation */
.law-header {
    background: var(--law-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 48px; /* Below demo banner */
    z-index: 999;
}

.law-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.law-nav__brand {
    display: flex;
    flex-direction: column;
}

.law-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--law-primary);
    margin: 0;
    font-family: 'Georgia', serif;
}

.law-tagline {
    font-size: 0.9rem;
    color: var(--law-secondary);
    font-style: italic;
    font-weight: 500;
    margin-top: -0.25rem;
}

.law-nav__menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.law-nav__link {
    color: var(--law-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.law-nav__link:hover {
    color: var(--law-primary);
}

/* Buttons */
.law-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}

.law-btn--primary {
    background: var(--law-primary);
    color: white;
}

.law-btn--primary:hover {
    background: var(--law-primary-light);
    transform: translateY(-1px);
}

.law-btn--outline {
    background: transparent;
    color: var(--law-primary);
    border: 2px solid var(--law-primary);
}

.law-btn--outline:hover {
    background: var(--law-primary);
    color: white;
}

.law-btn--large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.law-btn--full {
    width: 100%;
}

/* Hero Section */
.law-hero {
    background: linear-gradient(135deg, var(--law-bg) 0%, #e0f2fe 100%);
    padding: 4rem 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.law-hero__content {
    max-width: 500px;
}

.law-hero__title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--law-primary);
    margin: 0 0 1rem 0;
    line-height: 1.1;
    font-family: 'Georgia', serif;
}

.law-hero__subtitle {
    font-size: 1.2rem;
    color: var(--law-text-light);
    margin: 0 0 2rem 0;
    line-height: 1.5;
}

.law-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.law-hero__stat {
    text-align: center;
    padding: 1rem;
    background: var(--law-white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.law-hero__stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--law-secondary);
    margin-bottom: 0.25rem;
}

.law-hero__stat-label {
    font-size: 0.8rem;
    color: var(--law-text-light);
    font-weight: 500;
}

.law-hero__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.law-hero__image {
    position: relative;
}

.law-hero__img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Trust Bar */
.law-trust {
    background: var(--law-white);
    padding: 2rem 0;
    border-top: 1px solid var(--law-border);
    border-bottom: 1px solid var(--law-border);
}

.law-trust__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.law-trust__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
}

.law-trust__icon {
    font-size: 1.5rem;
}

.law-trust__text {
    font-weight: 600;
    color: var(--law-text);
}

/* Services Section */
.law-services {
    padding: 5rem 0;
    background: var(--law-bg);
}

.law-section__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--law-primary);
    text-align: center;
    margin: 0 0 1rem 0;
    font-family: 'Georgia', serif;
}

.law-section__subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--law-text-light);
    margin: 0 0 3rem 0;
}

.law-services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.law-service {
    background: var(--law-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.law-service:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.law-service__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.law-service__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--law-primary);
    margin: 0 0 1rem 0;
}

.law-service__description {
    color: var(--law-text-light);
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
}

.law-service__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.law-service__list li {
    padding: 0.25rem 0;
    color: var(--law-text);
    position: relative;
    padding-left: 1rem;
}

.law-service__list li::before {
    content: "•";
    color: var(--law-primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.law-service__link {
    color: var(--law-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.law-service__link:hover {
    color: var(--law-primary-light);
    text-decoration: underline;
}

/* Attorneys Section */
.law-attorneys {
    padding: 5rem 0;
    background: var(--law-white);
}

.law-attorneys__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.law-attorney {
    text-align: center;
    padding: 2rem;
    background: var(--law-bg);
    border-radius: 12px;
    transition: transform 0.2s ease;
}

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

.law-attorney__image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--law-primary), var(--law-primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.law-attorney__name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--law-primary);
    margin: 0 0 0.5rem 0;
}

.law-attorney__title {
    color: var(--law-secondary);
    font-weight: 600;
    margin: 0 0 1rem 0;
}

.law-attorney__description {
    color: var(--law-text-light);
    margin: 0 0 1.5rem 0;
    line-height: 1.5;
}

.law-attorney__credentials {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.law-credential {
    background: var(--law-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--law-primary);
    border: 1px solid var(--law-border);
}

/* Testimonials */
.law-testimonials {
    padding: 5rem 0;
    background: var(--law-bg);
}

.law-testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.law-testimonial {
    background: var(--law-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.law-testimonial__rating {
    margin-bottom: 1rem;
}

.law-star {
    color: var(--law-gold);
    font-size: 1.2rem;
}

.law-testimonial__text {
    font-style: italic;
    color: var(--law-text);
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
    font-size: 1.1rem;
}

.law-testimonial__author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.law-testimonial__author strong {
    color: var(--law-primary);
    font-weight: 600;
}

.law-testimonial__author span {
    color: var(--law-text-light);
    font-size: 0.9rem;
}

/* Consultation Section */
.law-consultation {
    padding: 5rem 0;
    background: var(--law-primary);
    color: white;
}

.law-consultation .law-section__title {
    color: white;
}

.law-consultation__subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin: 0 0 3rem 0;
    opacity: 0.9;
}

.law-consultation__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.law-consultation__info-title {
    font-size: 1.5rem;
    margin: 0 0 1.5rem 0;
    color: var(--law-gold);
}

.law-consultation__benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.law-consultation__benefits li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

.law-consultation__contact {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.law-consultation__contact h4 {
    margin: 0 0 1rem 0;
    color: var(--law-gold);
}

.law-consultation__phone {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.law-consultation__phone:hover {
    color: var(--law-gold);
}

.law-consultation__hours {
    margin: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

.law-consultation__form {
    background: var(--law-white);
    padding: 2rem;
    border-radius: 12px;
    color: var(--law-text);
}

.law-consultation__form-title {
    color: var(--law-primary);
    margin: 0 0 1.5rem 0;
    font-size: 1.3rem;
}

.law-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.law-form__group {
    margin-bottom: 1rem;
}

.law-form__input,
.law-form__textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--law-border);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
    font-family: inherit;
}

.law-form__input:focus,
.law-form__textarea:focus {
    outline: none;
    border-color: var(--law-primary);
}

.law-form__textarea {
    resize: vertical;
    min-height: 100px;
}

.law-form__checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.law-form__checkbox input {
    width: 1.2rem;
    height: 1.2rem;
}

.law-form__disclaimer {
    text-align: center;
    margin: 1rem 0 0 0;
    color: var(--law-text-light);
}

/* Location Section */
.law-location {
    padding: 5rem 0;
    background: var(--law-bg);
}

.law-location__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.law-location__item {
    margin-bottom: 2rem;
}

.law-location__title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--law-primary);
    margin: 0 0 0.5rem 0;
}

.law-location__detail {
    color: var(--law-text);
    margin: 0;
    line-height: 1.5;
}

.law-location__link {
    color: var(--law-primary);
    text-decoration: none;
    font-weight: 600;
}

.law-location__link:hover {
    text-decoration: underline;
}

.law-hours {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.law-hours__item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--law-border);
}

.law-location__map {
    background: linear-gradient(135deg, var(--law-primary), var(--law-primary-light));
    border-radius: 12px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.law-map-placeholder p:first-child {
    font-size: 3rem;
    margin: 0 0 1rem 0;
}

.law-map-placeholder p:last-child {
    margin: 0;
    opacity: 0.8;
}

/* Footer */
.law-footer {
    background: var(--law-text);
    color: white;
    padding: 3rem 0 1rem 0;
}

.law-footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.law-footer__brand .law-logo {
    color: white;
    font-size: 1.5rem;
}

.law-footer__tagline {
    color: rgba(255, 255, 255, 0.8);
    margin: 0.5rem 0 1rem 0;
}

.law-footer__disclaimer {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

.law-footer__heading {
    color: var(--law-gold);
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
}

.law-footer__link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.law-footer__link:hover {
    color: white;
}

.law-footer__contact-item {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 0.5rem 0;
}

.law-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.law-footer__demo {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.9rem;
}

.law-footer__demo-link {
    color: var(--law-gold);
    text-decoration: none;
    font-weight: 600;
}

.law-footer__demo-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .demo-banner__content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .law-nav {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .law-nav__menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .law-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .law-hero__title {
        font-size: 2.5rem;
    }
    
    .law-hero__stats {
        grid-template-columns: 1fr;
    }
    
    .law-hero__buttons {
        justify-content: center;
    }
    
    .law-trust__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .law-services__grid {
        grid-template-columns: 1fr;
    }
    
    .law-attorneys__grid {
        grid-template-columns: 1fr;
    }
    
    .law-testimonials__grid {
        grid-template-columns: 1fr;
    }
    
    .law-consultation__grid,
    .law-location__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .law-form__row {
        grid-template-columns: 1fr;
    }
    
    .law-footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}