/* ==========================================
   中华律师楼 - bestdivorcelawyerusa.com
   样式文件
   ========================================== */

/* CSS 变量 */
:root {
    --primary-color: #1a3a52;
    --secondary-color: #c9a961;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.15);
}

/* 通用样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

/* ==========================================
   顶部联系信息栏
   ========================================== */
.top-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.top-contact {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.top-contact a {
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-contact a:hover {
    color: var(--secondary-color);
}

.top-contact i {
    color: var(--secondary-color);
}

.language-switch a {
    color: rgba(255,255,255,0.7);
    margin-left: 10px;
}

.language-switch a:hover,
.language-switch a.active {
    color: var(--secondary-color);
}

/* ==========================================
   导航栏
   ========================================== */
.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none !important;
}

.logo-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.logo-text h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.logo-text span {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* ==========================================
   Hero 区域
   ========================================== */
.hero {
    position: relative;
    min-height: 600px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d5a7b 100%);
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 20px;
    width: 100%;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero h1 span {
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 15px;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255,255,255,0.15);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(5px);
}

.badge i {
    color: var(--secondary-color);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   按钮
   ========================================== */
.btn {
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: #b89851;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 169, 97, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

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

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

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

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ==========================================
   章节通用样式
   ========================================== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

/* ==========================================
   服务网格
   ========================================== */
.services-preview {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-card.featured {
    border: 2px solid var(--secondary-color);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-link {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.service-link:hover {
    gap: 10px;
}

/* ==========================================
   律师简介
   ========================================== */
.attorney-section {
    background-color: var(--bg-white);
}

.attorney-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: center;
}

.attorney-photo {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-hover);
}

.attorney-info h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.attorney-title {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.attorney-info p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.attorney-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ==========================================
   为什么选择我们
   ========================================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.why-card {
    text-align: center;
    padding: 30px 20px;
}

.why-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.why-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ==========================================
   办公室信息
   ========================================== */
.offices-section {
    background-color: var(--bg-light);
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.office-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.office-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.office-card h3 i {
    color: var(--secondary-color);
}

.office-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.office-item {
    display: flex;
    gap: 15px;
}

.office-item i {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-top: 3px;
}

.office-item h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.office-item p,
.office-item a {
    color: var(--text-light);
}

.office-item a:hover {
    color: var(--secondary-color);
}

/* ==========================================
   客户评价
   ========================================== */
.testimonials {
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.testimonial-rating {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.testimonial-text {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.author-info h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ==========================================
   联系表单区域
   ========================================== */
.contact-section {
    background-color: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

.contact-item p,
.contact-item a {
    color: var(--text-light);
}

.contact-item a:hover {
    color: var(--secondary-color);
}

/* 表单样式 */
.contact-form-wrapper {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    resize: vertical;
}

/* ==========================================
   CTA 区域
   ========================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d5a7b 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   页脚
   ========================================== */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-logo i {
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-col h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

.contact-list li {
    display: flex;
    align-items: start;
    gap: 10px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-list i {
    color: var(--secondary-color);
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.disclaimer {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-credit {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-credit p {
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-credit a {
    color: inherit;
    font-weight: 600;
}

.footer-credit a:hover {
    color: var(--secondary-color);
}

/* ==========================================
   页面头部
   ========================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d5a7b 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header h1 span {
    color: var(--secondary-color);
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.breadcrumb {
    margin-top: 20px;
    font-size: 0.95rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

/* ==========================================
   服务详情页
   ========================================== */
.service-detail {
    padding: 40px;
    background-color: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.service-detail h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-detail h3 i {
    color: var(--secondary-color);
}

.service-detail h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 15px;
}

.service-detail ul {
    list-style-position: inside;
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 20px;
}

.service-detail p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.service-list li {
    background-color: var(--bg-light);
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
}

.service-list li i {
    color: var(--secondary-color);
}

/* ==========================================
   案例页面
   ========================================== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.case-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.case-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d5a7b 100%);
    color: white;
    padding: 25px;
}

.case-type {
    background: var(--secondary-color);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.case-header h3 {
    font-size: 1.3rem;
}

.case-content {
    padding: 25px;
}

.case-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.case-result {
    background-color: var(--bg-light);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.case-result strong {
    color: var(--primary-color);
}

/* ==========================================
   博客页面
   ========================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2d5a7b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.blog-image i {
    font-size: 4rem;
    color: rgba(255,255,255,0.3);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.blog-content {
    padding: 30px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.blog-meta i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.blog-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.blog-content h3 a {
    color: inherit;
}

.blog-content h3 a:hover {
    color: var(--secondary-color);
}

.blog-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.read-more:hover {
    gap: 10px;
}

/* ==========================================
   博客文章页
   ========================================== */
.blog-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.article-meta {
    display: flex;
    gap: 25px;
    color: var(--text-light);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.article-meta i {
    color: var(--secondary-color);
    margin-right: 8px;
}

.article-content {
    color: var(--text-dark);
    line-height: 1.9;
}

.article-content h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 40px 0 20px;
}

.article-content h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin: 30px 0 15px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-highlight {
    background-color: var(--bg-light);
    padding: 25px 30px;
    border-left: 4px solid var(--secondary-color);
    margin: 30px 0;
    border-radius: 0 8px 8px 0;
}

.article-highlight h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-highlight h4 i {
    color: var(--secondary-color);
}

.article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.article-nav a {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-nav a:hover {
    color: var(--secondary-color);
}

/* ==========================================
   FAQ 页面
   ========================================== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: var(--bg-light);
}

.faq-question i {
    color: var(--secondary-color);
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 30px 25px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ==========================================
   响应式设计
   ========================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .attorney-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .attorney-photo {
        max-width: 350px;
        margin: 0 auto;
    }
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-white);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        gap: 0;
        transition: left 0.3s;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .top-bar .container {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-list li {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .attorney-stats {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .blog-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .top-contact {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}
